@podlite/markdown 0.0.25 → 0.0.27

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/lib/index.cjs CHANGED
@@ -1,40 +1,58 @@
1
- var Eh=Object.create;var hs=Object.defineProperty;var _h=Object.getOwnPropertyDescriptor;var Sh=Object.getOwnPropertyNames;var Ph=Object.getPrototypeOf,Fh=Object.prototype.hasOwnProperty;var me=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jf=(t,r)=>{for(var e in r)hs(t,e,{get:r[e],enumerable:!0})},Bf=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Sh(r))!Fh.call(t,s)&&s!==e&&hs(t,s,{get:()=>r[s],enumerable:!(i=_h(r,s))||i.enumerable});return t};var Ir=(t,r,e)=>(e=t!=null?Eh(Ph(t)):{},Bf(r||!t||!t.__esModule?hs(e,"default",{value:t,enumerable:!0}):e,t)),Th=t=>Bf(hs({},"__esModule",{value:!0}),t);var za=me(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.getRules=Ui.isJSONType=void 0;var Ih=["string","number","integer","boolean","null","object","array"],Oh=new Set(Ih);function qh(t){return typeof t=="string"&&Oh.has(t)}Ui.isJSONType=qh;function Nh(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}Ui.getRules=Nh});var Ma=me(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.shouldUseRule=Un.shouldUseGroup=Un.schemaHasRulesForType=void 0;function Dh({schema:t,self:r},e){let i=r.RULES.types[e];return i&&i!==!0&&zf(t,i)}Un.schemaHasRulesForType=Dh;function zf(t,r){return r.rules.some(e=>Mf(t,e))}Un.shouldUseGroup=zf;function Mf(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(i=>t[i]!==void 0))}Un.shouldUseRule=Mf});var gs=me(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.getProperty=lt.safeStringify=lt.stringify=lt.strConcat=lt.addCodeArg=lt.str=lt._=lt.nil=lt._Code=lt.Name=lt.IDENTIFIER=lt._CodeOrName=void 0;var xo=class{};lt._CodeOrName=xo;lt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var ci=class extends xo{constructor(r){if(super(),!lt.IDENTIFIER.test(r))throw new Error("CodeGen: name must be a valid identifier");this.str=r}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};lt.Name=ci;var hn=class extends xo{constructor(r){super(),this._items=typeof r=="string"?[r]:r}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let r=this._items[0];return r===""||r==='""'}get str(){var r;return(r=this._str)!==null&&r!==void 0?r:this._str=this._items.reduce((e,i)=>`${e}${i}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,i)=>(i instanceof ci&&(e[i.str]=(e[i.str]||0)+1),e),{})}};lt._Code=hn;lt.nil=new hn("");function Vf(t,...r){let e=[t[0]],i=0;for(;i<r.length;)Ua(e,r[i]),e.push(t[++i]);return new hn(e)}lt._=Vf;var Va=new hn("+");function Uf(t,...r){let e=[Co(t[0])],i=0;for(;i<r.length;)e.push(Va),Ua(e,r[i]),e.push(Va,Co(t[++i]));return Rh(e),new hn(e)}lt.str=Uf;function Ua(t,r){r instanceof hn?t.push(...r._items):r instanceof ci?t.push(r):t.push(Bh(r))}lt.addCodeArg=Ua;function Rh(t){let r=1;for(;r<t.length-1;){if(t[r]===Va){let e=Lh(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function Lh(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof ci||t[t.length-1]!=='"'?void 0:typeof r!="string"?`${t.slice(0,-1)}${r}"`:r[0]==='"'?t.slice(0,-1)+r.slice(1):void 0;if(typeof r=="string"&&r[0]==='"'&&!(t instanceof ci))return`"${t}${r.slice(1)}`}function jh(t,r){return r.emptyStr()?t:t.emptyStr()?r:Uf`${t}${r}`}lt.strConcat=jh;function Bh(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Co(Array.isArray(t)?t.join(","):t)}function zh(t){return new hn(Co(t))}lt.stringify=zh;function Co(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}lt.safeStringify=Co;function Mh(t){return typeof t=="string"&&lt.IDENTIFIER.test(t)?new hn(`.${t}`):Vf`[${t}]`}lt.getProperty=Mh});var Wa=me(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.ValueScope=pr.ValueScopeName=pr.Scope=pr.varKinds=pr.UsedValueState=void 0;var xr=gs(),Ha=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},Ga;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Ga=pr.UsedValueState||(pr.UsedValueState={}));pr.varKinds={const:new xr.Name("const"),let:new xr.Name("let"),var:new xr.Name("var")};var ys=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof xr.Name?r:this.name(r)}name(r){return new xr.Name(this._newName(r))}_newName(r){let e=this._names[r]||this._nameGroup(r);return`${r}${e.index++}`}_nameGroup(r){var e,i;if(((i=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||i===void 0?void 0:i.has(r))||this._prefixes&&!this._prefixes.has(r))throw new Error(`CodeGen: prefix "${r}" is not allowed in this scope`);return this._names[r]={prefix:r,index:0}}};pr.Scope=ys;var $s=class extends xr.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:i}){this.value=r,this.scopePath=xr._`.${new xr.Name(e)}[${i}]`}};pr.ValueScopeName=$s;var Vh=xr._`\n`,Ka=class extends ys{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?Vh:xr.nil}}get(){return this._scope}name(r){return new $s(r,this._newName(r))}value(r,e){var i;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let s=this.toName(r),{prefix:a}=s,l=(i=e.key)!==null&&i!==void 0?i:e.ref,f=this._values[a];if(f){let d=f.get(l);if(d)return d}else f=this._values[a]=new Map;f.set(l,s);let c=this._scope[a]||(this._scope[a]=[]),m=c.length;return c[m]=e.ref,s.setValue(e,{property:a,itemIndex:m}),s}getValue(r,e){let i=this._values[r];if(!!i)return i.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,i=>{if(i.scopePath===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return xr._`${r}${i.scopePath}`})}scopeCode(r=this._values,e,i){return this._reduceValues(r,s=>{if(s.value===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return s.value.code},e,i)}_reduceValues(r,e,i={},s){let a=xr.nil;for(let l in r){let f=r[l];if(!f)continue;let c=i[l]=i[l]||new Map;f.forEach(m=>{if(c.has(m))return;c.set(m,Ga.Started);let d=e(m);if(d){let b=this.opts.es5?pr.varKinds.var:pr.varKinds.const;a=xr._`${a}${b} ${m} = ${d};${this.opts._n}`}else if(d=s==null?void 0:s(m))a=xr._`${a}${d}${this.opts._n}`;else throw new Ha(m);c.set(m,Ga.Completed)})}return a}};pr.ValueScope=Ka});var Ne=me(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.or=De.and=De.not=De.CodeGen=De.operators=De.varKinds=De.ValueScopeName=De.ValueScope=De.Scope=De.Name=De.stringify=De.getProperty=De.nil=De.strConcat=De.str=De._=void 0;var Ve=gs(),Qr=Wa(),mi=gs();Object.defineProperty(De,"_",{enumerable:!0,get:function(){return mi._}});Object.defineProperty(De,"str",{enumerable:!0,get:function(){return mi.str}});Object.defineProperty(De,"strConcat",{enumerable:!0,get:function(){return mi.strConcat}});Object.defineProperty(De,"nil",{enumerable:!0,get:function(){return mi.nil}});Object.defineProperty(De,"getProperty",{enumerable:!0,get:function(){return mi.getProperty}});Object.defineProperty(De,"stringify",{enumerable:!0,get:function(){return mi.stringify}});Object.defineProperty(De,"Name",{enumerable:!0,get:function(){return mi.Name}});var ws=Wa();Object.defineProperty(De,"Scope",{enumerable:!0,get:function(){return ws.Scope}});Object.defineProperty(De,"ValueScope",{enumerable:!0,get:function(){return ws.ValueScope}});Object.defineProperty(De,"ValueScopeName",{enumerable:!0,get:function(){return ws.ValueScopeName}});Object.defineProperty(De,"varKinds",{enumerable:!0,get:function(){return ws.varKinds}});De.operators={GT:new Ve._Code(">"),GTE:new Ve._Code(">="),LT:new Ve._Code("<"),LTE:new Ve._Code("<="),EQ:new Ve._Code("==="),NEQ:new Ve._Code("!=="),NOT:new Ve._Code("!"),OR:new Ve._Code("||"),AND:new Ve._Code("&&"),ADD:new Ve._Code("+")};var qn=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},Za=class extends qn{constructor(r,e,i){super(),this.varKind=r,this.name=e,this.rhs=i}render({es5:r,_n:e}){let i=r?Qr.varKinds.var:this.varKind,s=this.rhs===void 0?"":` = ${this.rhs}`;return`${i} ${this.name}${s};`+e}optimizeNames(r,e){if(!!r[this.name.str])return this.rhs&&(this.rhs=Gi(this.rhs,r,e)),this}get names(){return this.rhs instanceof Ve._CodeOrName?this.rhs.names:{}}},bs=class extends qn{constructor(r,e,i){super(),this.lhs=r,this.rhs=e,this.sideEffects=i}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Ve.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=Gi(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Ve.Name?{}:{...this.lhs.names};return ks(r,this.rhs)}},Ja=class extends bs{constructor(r,e,i,s){super(r,i,s),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},Qa=class extends qn{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},Ya=class extends qn{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},Xa=class extends qn{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},el=class extends qn{constructor(r){super(),this.code=r}render({_n:r}){return`${this.code};`+r}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(r,e){return this.code=Gi(this.code,r,e),this}get names(){return this.code instanceof Ve._CodeOrName?this.code.names:{}}},Ao=class extends qn{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,i)=>e+i.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let i=r[e].optimizeNodes();Array.isArray(i)?r.splice(e,1,...i):i?r[e]=i:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:i}=this,s=i.length;for(;s--;){let a=i[s];a.optimizeNames(r,e)||(Uh(r,a.names),i.splice(s,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>di(r,e.names),{})}},Nn=class extends Ao{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},tl=class extends Ao{},Hi=class extends Nn{};Hi.kind="else";var Yr=class extends Nn{constructor(r,e){super(e),this.condition=r}render(r){let e=`if(${this.condition})`+super.render(r);return this.else&&(e+="else "+this.else.render(r)),e}optimizeNodes(){super.optimizeNodes();let r=this.condition;if(r===!0)return this.nodes;let e=this.else;if(e){let i=e.optimizeNodes();e=this.else=Array.isArray(i)?new Hi(i):i}if(e)return r===!1?e instanceof Yr?e:e.nodes:this.nodes.length?this:new Yr(Hf(r),e instanceof Yr?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var i;if(this.else=(i=this.else)===null||i===void 0?void 0:i.optimizeNames(r,e),!!(super.optimizeNames(r,e)||this.else))return this.condition=Gi(this.condition,r,e),this}get names(){let r=super.names;return ks(r,this.condition),this.else&&di(r,this.else.names),r}};Yr.kind="if";var pi=class extends Nn{};pi.kind="for";var rl=class extends pi{constructor(r){super(),this.iteration=r}render(r){return`for(${this.iteration})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iteration=Gi(this.iteration,r,e),this}get names(){return di(super.names,this.iteration.names)}},nl=class extends pi{constructor(r,e,i,s){super(),this.varKind=r,this.name=e,this.from=i,this.to=s}render(r){let e=r.es5?Qr.varKinds.var:this.varKind,{name:i,from:s,to:a}=this;return`for(${e} ${i}=${s}; ${i}<${a}; ${i}++)`+super.render(r)}get names(){let r=ks(super.names,this.from);return ks(r,this.to)}},vs=class extends pi{constructor(r,e,i,s){super(),this.loop=r,this.varKind=e,this.name=i,this.iterable=s}render(r){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iterable=Gi(this.iterable,r,e),this}get names(){return di(super.names,this.iterable.names)}},Eo=class extends Nn{constructor(r,e,i){super(),this.name=r,this.args=e,this.async=i}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};Eo.kind="func";var _o=class extends Ao{render(r){return"return "+super.render(r)}};_o.kind="return";var il=class extends Nn{render(r){let e="try"+super.render(r);return this.catch&&(e+=this.catch.render(r)),this.finally&&(e+=this.finally.render(r)),e}optimizeNodes(){var r,e;return super.optimizeNodes(),(r=this.catch)===null||r===void 0||r.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(r,e){var i,s;return super.optimizeNames(r,e),(i=this.catch)===null||i===void 0||i.optimizeNames(r,e),(s=this.finally)===null||s===void 0||s.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&di(r,this.catch.names),this.finally&&di(r,this.finally.names),r}},So=class extends Nn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};So.kind="catch";var Po=class extends Nn{render(r){return"finally"+super.render(r)}};Po.kind="finally";var ol=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
- `:""},this._extScope=r,this._scope=new Qr.Scope({parent:r}),this._nodes=[new tl]}toString(){return this._root.render(this.opts)}name(r){return this._scope.name(r)}scopeName(r){return this._extScope.name(r)}scopeValue(r,e){let i=this._extScope.value(r,e);return(this._values[i.prefix]||(this._values[i.prefix]=new Set)).add(i),i}getScopeValue(r,e){return this._extScope.getValue(r,e)}scopeRefs(r){return this._extScope.scopeRefs(r,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(r,e,i,s){let a=this._scope.toName(e);return i!==void 0&&s&&(this._constants[a.str]=i),this._leafNode(new Za(r,a,i)),a}const(r,e,i){return this._def(Qr.varKinds.const,r,e,i)}let(r,e,i){return this._def(Qr.varKinds.let,r,e,i)}var(r,e,i){return this._def(Qr.varKinds.var,r,e,i)}assign(r,e,i){return this._leafNode(new bs(r,e,i))}add(r,e){return this._leafNode(new Ja(r,De.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Ve.nil&&this._leafNode(new el(r)),this}object(...r){let e=["{"];for(let[i,s]of r)e.length>1&&e.push(","),e.push(i),(i!==s||this.opts.es5)&&(e.push(":"),Ve.addCodeArg(e,s));return e.push("}"),new Ve._Code(e)}if(r,e,i){if(this._blockNode(new Yr(r)),e&&i)this.code(e).else().code(i).endIf();else if(e)this.code(e).endIf();else if(i)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(r){return this._elseNode(new Yr(r))}else(){return this._elseNode(new Hi)}endIf(){return this._endBlockNode(Yr,Hi)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new rl(r),e)}forRange(r,e,i,s,a=this.opts.es5?Qr.varKinds.var:Qr.varKinds.let){let l=this._scope.toName(r);return this._for(new nl(a,l,e,i),()=>s(l))}forOf(r,e,i,s=Qr.varKinds.const){let a=this._scope.toName(r);if(this.opts.es5){let l=e instanceof Ve.Name?e:this.var("_arr",e);return this.forRange("_i",0,Ve._`${l}.length`,f=>{this.var(a,Ve._`${l}[${f}]`),i(a)})}return this._for(new vs("of",s,a,e),()=>i(a))}forIn(r,e,i,s=this.opts.es5?Qr.varKinds.var:Qr.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Ve._`Object.keys(${e})`,i);let a=this._scope.toName(r);return this._for(new vs("in",s,a,e),()=>i(a))}endFor(){return this._endBlockNode(pi)}label(r){return this._leafNode(new Qa(r))}break(r){return this._leafNode(new Ya(r))}return(r){let e=new _o;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_o)}try(r,e,i){if(!e&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let s=new il;if(this._blockNode(s),this.code(r),e){let a=this.name("e");this._currNode=s.catch=new So(a),e(a)}return i&&(this._currNode=s.finally=new Po,this.code(i)),this._endBlockNode(So,Po)}throw(r){return this._leafNode(new Xa(r))}block(r,e){return this._blockStarts.push(this._nodes.length),r&&this.code(r).endBlock(e),this}endBlock(r){let e=this._blockStarts.pop();if(e===void 0)throw new Error("CodeGen: not in self-balancing block");let i=this._nodes.length-e;if(i<0||r!==void 0&&i!==r)throw new Error(`CodeGen: wrong number of nodes: ${i} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Ve.nil,i,s){return this._blockNode(new Eo(r,e,i)),s&&this.code(s).endFunc(),this}endFunc(){return this._endBlockNode(Eo)}optimize(r=1){for(;r-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(r){return this._currNode.nodes.push(r),this}_blockNode(r){this._currNode.nodes.push(r),this._nodes.push(r)}_endBlockNode(r,e){let i=this._currNode;if(i instanceof r||e&&i instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${r.kind}/${e.kind}`:r.kind}"`)}_elseNode(r){let e=this._currNode;if(!(e instanceof Yr))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=r,this}get _root(){return this._nodes[0]}get _currNode(){let r=this._nodes;return r[r.length-1]}set _currNode(r){let e=this._nodes;e[e.length-1]=r}};De.CodeGen=ol;function di(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function ks(t,r){return r instanceof Ve._CodeOrName?di(t,r.names):t}function Gi(t,r,e){if(t instanceof Ve.Name)return i(t);if(!s(t))return t;return new Ve._Code(t._items.reduce((a,l)=>(l instanceof Ve.Name&&(l=i(l)),l instanceof Ve._Code?a.push(...l._items):a.push(l),a),[]));function i(a){let l=e[a.str];return l===void 0||r[a.str]!==1?a:(delete r[a.str],l)}function s(a){return a instanceof Ve._Code&&a._items.some(l=>l instanceof Ve.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function Uh(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function Hf(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Ve._`!${sl(t)}`}De.not=Hf;var Hh=Gf(De.operators.AND);function Gh(...t){return t.reduce(Hh)}De.and=Gh;var Kh=Gf(De.operators.OR);function Wh(...t){return t.reduce(Kh)}De.or=Wh;function Gf(t){return(r,e)=>r===Ve.nil?e:e===Ve.nil?r:Ve._`${sl(r)} ${t} ${sl(e)}`}function sl(t){return t instanceof Ve.Name?t:Ve._`(${t})`}});var Xr=me(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var tr=Ne(),Zh={data:new tr.Name("data"),valCxt:new tr.Name("valCxt"),dataPath:new tr.Name("dataPath"),parentData:new tr.Name("parentData"),parentDataProperty:new tr.Name("parentDataProperty"),rootData:new tr.Name("rootData"),dynamicAnchors:new tr.Name("dynamicAnchors"),vErrors:new tr.Name("vErrors"),errors:new tr.Name("errors"),this:new tr.Name("this"),self:new tr.Name("self"),scope:new tr.Name("scope"),json:new tr.Name("json"),jsonPos:new tr.Name("jsonPos"),jsonLen:new tr.Name("jsonLen"),jsonPart:new tr.Name("jsonPart")};al.default=Zh});var Fo=me(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.extendErrors=rr.resetErrorsCount=rr.reportExtraError=rr.reportError=rr.keyword$DataError=rr.keywordError=void 0;var Ue=Ne(),nr=Xr();rr.keywordError={message:({keyword:t})=>Ue.str`should pass "${t}" keyword validation`};rr.keyword$DataError={message:({keyword:t,schemaType:r})=>r?Ue.str`"${t}" keyword must be ${r} ($data)`:Ue.str`"${t}" keyword is invalid ($data)`};function Jh(t,r=rr.keywordError,e){let{it:i}=t,{gen:s,compositeRule:a,allErrors:l}=i,f=Zf(t,r);e??(a||l)?Kf(s,f):Wf(i,Ue._`[${f}]`)}rr.reportError=Jh;function Qh(t,r=rr.keywordError){let{it:e}=t,{gen:i,compositeRule:s,allErrors:a}=e,l=Zf(t,r);Kf(i,l),s||a||Wf(e,nr.default.vErrors)}rr.reportExtraError=Qh;function Yh(t,r){t.assign(nr.default.errors,r),t.if(Ue._`${nr.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(Ue._`${nr.default.vErrors}.length`,r),()=>t.assign(nr.default.vErrors,null)))}rr.resetErrorsCount=Yh;function Xh({gen:t,keyword:r,schemaValue:e,data:i,errsCount:s,it:a}){if(s===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",s,nr.default.errors,f=>{t.const(l,Ue._`${nr.default.vErrors}[${f}]`),t.if(Ue._`${l}.dataPath === undefined`,()=>t.assign(Ue._`${l}.dataPath`,Ue.strConcat(nr.default.dataPath,a.errorPath))),t.assign(Ue._`${l}.schemaPath`,Ue.str`${a.errSchemaPath}/${r}`),a.opts.verbose&&(t.assign(Ue._`${l}.schema`,e),t.assign(Ue._`${l}.data`,i))})}rr.extendErrors=Xh;function Kf(t,r){let e=t.const("err",r);t.if(Ue._`${nr.default.vErrors} === null`,()=>t.assign(nr.default.vErrors,Ue._`[${e}]`),Ue._`${nr.default.vErrors}.push(${e})`),t.code(Ue._`${nr.default.errors}++`)}function Wf(t,r){let{gen:e,validateName:i,schemaEnv:s}=t;s.$async?e.throw(Ue._`new ${t.ValidationError}(${r})`):(e.assign(Ue._`${i}.errors`,r),e.return(!1))}var gn={keyword:new Ue.Name("keyword"),schemaPath:new Ue.Name("schemaPath"),params:new Ue.Name("params"),propertyName:new Ue.Name("propertyName"),message:new Ue.Name("message"),schema:new Ue.Name("schema"),parentSchema:new Ue.Name("parentSchema"),instancePath:new Ue.Name("instancePath")};function Zf(t,r){let{createErrors:e,opts:i}=t.it;return e===!1?Ue._`{}`:(i.jtd&&!i.ajvErrors?eg:tg)(t,r)}function eg(t,{message:r}){let{gen:e,keyword:i,it:s}=t,{errorPath:a,errSchemaPath:l,opts:f}=s,c=[[gn.instancePath,Ue.strConcat(nr.default.dataPath,a)],[gn.schemaPath,Ue.str`${l}/${i}`]];return f.messages&&c.push([gn.message,typeof r=="function"?r(t):r]),e.object(...c)}function tg(t,r){let{gen:e,keyword:i,data:s,schemaValue:a,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:m,errSchemaPath:d,propertyName:b,opts:x}=l,{params:k,message:E}=r,I=[[gn.keyword,i],[nr.default.dataPath,Ue.strConcat(nr.default.dataPath,m)],[gn.schemaPath,Ue.str`${d}/${i}`],[gn.params,typeof k=="function"?k(t):k||Ue._`{}`]];return b&&I.push([gn.propertyName,b]),x.messages&&I.push([gn.message,typeof E=="function"?E(t):E]),x.verbose&&I.push([gn.schema,a],[gn.parentSchema,Ue._`${f}${c}`],[nr.default.data,s]),e.object(...I)}});var Qf=me(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.boolOrEmptySchema=Ki.topBoolOrEmptySchema=void 0;var rg=Fo(),ng=Ne(),ig=Xr(),og={message:"boolean schema is false"};function sg(t){let{gen:r,schema:e,validateName:i}=t;e===!1?Jf(t,!1):typeof e=="object"&&e.$async===!0?r.return(ig.default.data):(r.assign(ng._`${i}.errors`,null),r.return(!0))}Ki.topBoolOrEmptySchema=sg;function ag(t,r){let{gen:e,schema:i}=t;i===!1?(e.var(r,!1),Jf(t)):e.var(r,!0)}Ki.boolOrEmptySchema=ag;function Jf(t,r){let{gen:e,data:i}=t,s={gen:e,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};rg.reportError(s,og,r)}});var Xf=me(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.assignDefaults=void 0;var Wi=Ne(),lg=Or();function ug(t,r){let{properties:e,items:i}=t.schema;if(r==="object"&&e)for(let s in e)Yf(t,s,e[s].default);else r==="array"&&Array.isArray(i)&&i.forEach((s,a)=>Yf(t,a,s.default))}xs.assignDefaults=ug;function Yf(t,r,e){let{gen:i,compositeRule:s,data:a,opts:l}=t;if(e===void 0)return;let f=Wi._`${a}${Wi.getProperty(r)}`;if(s){lg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=Wi._`${f} === undefined`;l.useDefaults==="empty"&&(c=Wi._`${c} || ${f} === null || ${f} === ""`),i.if(c,Wi._`${f} = ${Wi.stringify(e)}`)}});var gi=me(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.applySubschema=hi.Type=void 0;var fg=Or(),ec=Et(),ir=Ne(),tc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(tc=hi.Type||(hi.Type={}));function cg(t,r,e){let i=pg(t,r);dg(i,t,r),mg(i,r);let s={...t,...i,items:void 0,props:void 0};return fg.subschemaCode(s,e),s}hi.applySubschema=cg;function pg(t,{keyword:r,schemaProp:e,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:l}){if(r!==void 0&&i!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(r!==void 0){let f=t.schema[r];return e===void 0?{schema:f,schemaPath:ir._`${t.schemaPath}${ir.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:ir._`${t.schemaPath}${ir.getProperty(r)}${ir.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${ec.escapeFragment(e)}`}}if(i!==void 0){if(s===void 0||a===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:l,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}function dg(t,r,{dataProp:e,dataPropType:i,data:s,dataTypes:a,propertyName:l}){if(s!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:f}=r;if(e!==void 0){let{errorPath:m,dataPathArr:d,opts:b}=r,x=f.let("data",ir._`${r.data}${ir.getProperty(e)}`,!0);c(x),t.errorPath=ir.str`${m}${hg(e,i,b.jsPropertySyntax)}`,t.parentDataProperty=ir._`${e}`,t.dataPathArr=[...d,t.parentDataProperty]}if(s!==void 0){let m=s instanceof ir.Name?s:f.let("data",s,!0);c(m),l!==void 0&&(t.propertyName=l)}a&&(t.dataTypes=a);function c(m){t.data=m,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,m]}}function mg(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:i,createErrors:s,allErrors:a}){i!==void 0&&(t.compositeRule=i),s!==void 0&&(t.createErrors=s),a!==void 0&&(t.allErrors=a),t.jtdDiscriminator=r,t.jtdMetadata=e}function hg(t,r,e){if(t instanceof ir.Name){let i=r===tc.Num;return e?i?ir._`"[" + ${t} + "]"`:ir._`"['" + ${t} + "']"`:i?ir._`"/" + ${t}`:ir._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?ir.getProperty(t).toString():"/"+ec.escapeJsonPointer(t)}});var en=me(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.validateUnion=ut.validateArray=ut.usePattern=ut.callValidateCode=ut.schemaProperties=ut.allSchemaProperties=ut.noPropertyInData=ut.propertyInData=ut.isOwnProperty=ut.hasPropFunc=ut.reportMissingProp=ut.checkMissingProp=ut.checkReportMissingProp=void 0;var wt=Ne(),rc=Et(),gg=gi(),Hn=Xr();function yg(t,r){let{gen:e,data:i,it:s}=t;e.if(ul(e,i,r,s.opts.ownProperties),()=>{t.setParams({missingProperty:wt._`${r}`},!0),t.error()})}ut.checkReportMissingProp=yg;function $g({gen:t,data:r,it:{opts:e}},i,s){return wt.or(...i.map(a=>wt.and(ul(t,r,a,e.ownProperties),wt._`${s} = ${a}`)))}ut.checkMissingProp=$g;function bg(t,r){t.setParams({missingProperty:r},!0),t.error()}ut.reportMissingProp=bg;function nc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:wt._`Object.prototype.hasOwnProperty`})}ut.hasPropFunc=nc;function ll(t,r,e){return wt._`${nc(t)}.call(${r}, ${e})`}ut.isOwnProperty=ll;function vg(t,r,e,i){let s=wt._`${r}${wt.getProperty(e)} !== undefined`;return i?wt._`${s} && ${ll(t,r,e)}`:s}ut.propertyInData=vg;function ul(t,r,e,i){let s=wt._`${r}${wt.getProperty(e)} === undefined`;return i?wt.or(s,wt.not(ll(t,r,e))):s}ut.noPropertyInData=ul;function ic(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}ut.allSchemaProperties=ic;function kg(t,r){return ic(r).filter(e=>!rc.alwaysValidSchema(t,r[e]))}ut.schemaProperties=kg;function wg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:i,schemaPath:s,errorPath:a},it:l},f,c,m){let d=m?wt._`${t}, ${r}, ${i}${s}`:r,b=[[Hn.default.dataPath,wt.strConcat(Hn.default.dataPath,a)],[Hn.default.parentData,l.parentData],[Hn.default.parentDataProperty,l.parentDataProperty],[Hn.default.rootData,Hn.default.rootData]];l.opts.dynamicRef&&b.push([Hn.default.dynamicAnchors,Hn.default.dynamicAnchors]);let x=wt._`${d}, ${e.object(...b)}`;return c!==wt.nil?wt._`${f}.call(${c}, ${x})`:wt._`${f}(${x})`}ut.callValidateCode=wg;function xg(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:wt._`new RegExp(${r}, "u")`})}ut.usePattern=xg;function Cg(t){let{gen:r,data:e,keyword:i,it:s}=t,a=r.name("valid");if(s.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(a,!0),l(()=>r.break()),a;function l(f){let c=r.const("len",wt._`${e}.length`);r.forRange("i",0,c,m=>{t.subschema({keyword:i,dataProp:m,dataPropType:gg.Type.Num},a),r.if(wt.not(a),f)})}}ut.validateArray=Cg;function Ag(t){let{gen:r,schema:e,keyword:i,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>rc.alwaysValidSchema(s,c))&&!s.opts.unevaluated)return;let l=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((c,m)=>{let d=t.subschema({keyword:i,schemaProp:m,compositeRule:!0},f);r.assign(l,wt._`${l} || ${f}`),t.mergeValidEvaluated(d,f)||r.if(wt.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}ut.validateUnion=Ag});var lc=me(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.keywordCode=void 0;var Eg=To(),_g=Fo(),Sg=en(),dr=Ne(),yi=Xr();function Pg(t,r,e,i){let s=new Eg.default(t,e,r);"code"in e?e.code(s,i):s.$data&&e.validate?oc(s,e):"macro"in e?Fg(s,e):(e.compile||e.validate)&&oc(s,e)}Cs.keywordCode=Pg;function Fg(t,r){let{gen:e,keyword:i,schema:s,parentSchema:a,it:l}=t,f=r.macro.call(l.self,s,a,l),c=ac(e,i,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let m=e.name("valid");t.subschema({schema:f,schemaPath:dr.nil,errSchemaPath:`${l.errSchemaPath}/${i}`,topSchemaRef:c,compositeRule:!0},m),t.pass(m,()=>t.error(!0))}function oc(t,r){var e;let{gen:i,keyword:s,schema:a,parentSchema:l,$data:f,it:c}=t;Ig(c,r);let m=!f&&r.compile?r.compile.call(c.self,a,l,c):r.validate,d=ac(i,s,m),b=i.let("valid");t.block$data(b,x),t.ok((e=r.valid)!==null&&e!==void 0?e:b);function x(){if(r.errors===!1)I(),r.modifying&&sc(t),N(()=>t.error());else{let M=r.async?k():E();r.modifying&&sc(t),N(()=>Tg(t,M))}}function k(){let M=i.let("ruleErrs",null);return i.try(()=>I(dr._`await `),Y=>i.assign(b,!1).if(dr._`${Y} instanceof ${c.ValidationError}`,()=>i.assign(M,dr._`${Y}.errors`),()=>i.throw(Y))),M}function E(){let M=dr._`${d}.errors`;return i.assign(M,null),I(dr.nil),M}function I(M=r.async?dr._`await `:dr.nil){let Y=c.opts.passContext?yi.default.this:yi.default.self,se=!("compile"in r&&!f||r.schema===!1);i.assign(b,dr._`${M}${Sg.callValidateCode(t,d,Y,se)}`,r.modifying)}function N(M){var Y;i.if(dr.not((Y=r.valid)!==null&&Y!==void 0?Y:b),M)}}function sc(t){let{gen:r,data:e,it:i}=t;r.if(i.parentData,()=>r.assign(e,dr._`${i.parentData}[${i.parentDataProperty}]`))}function Tg(t,r){let{gen:e}=t;e.if(dr._`Array.isArray(${r})`,()=>{e.assign(yi.default.vErrors,dr._`${yi.default.vErrors} === null ? ${r} : ${yi.default.vErrors}.concat(${r})`).assign(yi.default.errors,dr._`${yi.default.vErrors}.length`),_g.extendErrors(t)},()=>t.error())}function Ig({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function ac(t,r,e){if(e===void 0)throw new Error(`keyword "${r}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:dr.stringify(e)})}});var dc=me(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.schemaKeywords=void 0;var fl=Ma(),uc=Zi(),Og=Xf(),pc=lc(),qg=Et(),Ng=Or(),Dg=Ne(),Rg=Xr();function Lg(t,r,e,i){let{gen:s,schema:a,data:l,allErrors:f,opts:c,self:m}=t,{RULES:d}=m;if(a.$ref&&(c.ignoreKeywordsWithRef||!qg.schemaHasRulesButRef(a,d))){s.block(()=>pc.keywordCode(t,"$ref",d.all.$ref.definition));return}c.jtd||jg(t,r),s.block(()=>{for(let x of d.rules)b(x);b(d.post)});function b(x){!fl.shouldUseGroup(a,x)||(x.type?(s.if(uc.checkDataType(x.type,l,c.strict)),fc(t,x),r.length===1&&r[0]===x.type&&e&&(s.else(),uc.reportTypeError(t)),s.endIf()):fc(t,x),f||s.if(Dg._`${Rg.default.errors} === ${i||0}`))}}As.schemaKeywords=Lg;function fc(t,r){let{gen:e,schema:i,opts:{useDefaults:s}}=t;s&&Og.assignDefaults(t,r.type),e.block(()=>{for(let a of r.rules)fl.shouldUseRule(i,a)&&pc.keywordCode(t,a.keyword,a.definition,r.type)})}function jg(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(Bg(t,r),t.opts.allowUnionTypes||zg(t,r),Mg(t,t.dataTypes))}function Bg(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{cc(t.dataTypes,e)||cl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>cc(r,e))}}function zg(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&cl(t,"use allowUnionTypes to allow union type keyword")}function Mg(t,r){let e=t.self.RULES.all;for(let i in e){let s=e[i];if(typeof s=="object"&&fl.shouldUseRule(t.schema,s)){let{type:a}=s.definition;a.length&&!a.some(l=>Vg(r,l))&&cl(t,`missing type "${a.join(",")}" for keyword "${i}"`)}}}function Vg(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function cc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function cl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Ng.checkStrictMode(t,r,t.opts.strictTypes)}});var Io=me((Q0,mc)=>{"use strict";mc.exports=function t(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var i,s,a;if(Array.isArray(r)){if(i=r.length,i!=e.length)return!1;for(s=i;s--!==0;)if(!t(r[s],e[s]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===e.toString();if(a=Object.keys(r),i=a.length,i!==Object.keys(e).length)return!1;for(s=i;s--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[s]))return!1;for(s=i;s--!==0;){var l=a[s];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var gc=me((Y0,hc)=>{"use strict";var Gn=hc.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var i=typeof e=="function"?e:e.pre||function(){},s=e.post||function(){};Es(r,i,s,t,"",t)};Gn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Gn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Gn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Gn.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Es(t,r,e,i,s,a,l,f,c,m){if(i&&typeof i=="object"&&!Array.isArray(i)){r(i,s,a,l,f,c,m);for(var d in i){var b=i[d];if(Array.isArray(b)){if(d in Gn.arrayKeywords)for(var x=0;x<b.length;x++)Es(t,r,e,b[x],s+"/"+d+"/"+x,a,s,d,i,x)}else if(d in Gn.propsKeywords){if(b&&typeof b=="object")for(var k in b)Es(t,r,e,b[k],s+"/"+d+"/"+Ug(k),a,s,d,i,k)}else(d in Gn.keywords||t.allKeys&&!(d in Gn.skipKeywords))&&Es(t,r,e,b,s+"/"+d,a,s,d,i)}e(i,s,a,l,f,c,m)}}function Ug(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var pl=me((_s,yc)=>{(function(t,r){typeof _s=="object"&&typeof yc<"u"?r(_s):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(_s,function(t){"use strict";function r(){for(var z=arguments.length,O=Array(z),G=0;G<z;G++)O[G]=arguments[G];if(O.length>1){O[0]=O[0].slice(0,-1);for(var ee=O.length-1,te=1;te<ee;++te)O[te]=O[te].slice(1,-1);return O[ee]=O[ee].slice(1),O.join("")}else return O[0]}function e(z){return"(?:"+z+")"}function i(z){return z===void 0?"undefined":z===null?"null":Object.prototype.toString.call(z).split(" ").pop().split("]").shift().toLowerCase()}function s(z){return z.toUpperCase()}function a(z){return z!=null?z instanceof Array?z:typeof z.length!="number"||z.split||z.setInterval||z.call?[z]:Array.prototype.slice.call(z):[]}function l(z,O){var G=z;if(O)for(var ee in O)G[ee]=O[ee];return G}function f(z){var O="[A-Za-z]",G="[\\x0D]",ee="[0-9]",te="[\\x22]",pe=r(ee,"[A-Fa-f]"),Ae="[\\x0A]",Oe="[\\x20]",je=e(e("%[EFef]"+pe+"%"+pe+pe+"%"+pe+pe)+"|"+e("%[89A-Fa-f]"+pe+"%"+pe+pe)+"|"+e("%"+pe+pe)),ht="[\\:\\/\\?\\#\\[\\]\\@]",Se="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",rt=r(ht,Se),kt=z?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",at=z?"[\\uE000-\\uF8FF]":"[]",qe=r(O,ee,"[\\-\\.\\_\\~]",kt),dt=e(O+r(O,ee,"[\\+\\-\\.]")+"*"),Ze=e(e(je+"|"+r(qe,Se,"[\\:]"))+"*"),Dr=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("[1-9]"+ee)+"|"+ee),Rt=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("0?[1-9]"+ee)+"|0?0?"+ee),Ut=e(Rt+"\\."+Rt+"\\."+Rt+"\\."+Rt),Je=e(pe+"{1,4}"),Lt=e(e(Je+"\\:"+Je)+"|"+Ut),Jt=e(e(Je+"\\:")+"{6}"+Lt),$r=e("\\:\\:"+e(Je+"\\:")+"{5}"+Lt),Rr=e(e(Je)+"?\\:\\:"+e(Je+"\\:")+"{4}"+Lt),br=e(e(e(Je+"\\:")+"{0,1}"+Je)+"?\\:\\:"+e(Je+"\\:")+"{3}"+Lt),ln=e(e(e(Je+"\\:")+"{0,2}"+Je)+"?\\:\\:"+e(Je+"\\:")+"{2}"+Lt),En=e(e(e(Je+"\\:")+"{0,3}"+Je)+"?\\:\\:"+Je+"\\:"+Lt),_n=e(e(e(Je+"\\:")+"{0,4}"+Je)+"?\\:\\:"+Lt),Gr=e(e(e(Je+"\\:")+"{0,5}"+Je)+"?\\:\\:"+Je),Kr=e(e(e(Je+"\\:")+"{0,6}"+Je)+"?\\:\\:"),vr=e([Jt,$r,Rr,br,ln,En,_n,Gr,Kr].join("|")),o=e(e(qe+"|"+je)+"+"),ue=e(vr+"\\%25"+o),kr=e(vr+e("\\%25|\\%(?!"+pe+"{2})")+o),ur=e("[vV]"+pe+"+\\."+r(qe,Se,"[\\:]")+"+"),zn=e("\\["+e(kr+"|"+vr+"|"+ur)+"\\]"),w=e(e(je+"|"+r(qe,Se))+"*"),Lr=e(zn+"|"+Ut+"(?!"+w+")|"+w),fr=e(ee+"*"),mo=e(e(Ze+"@")+"?"+Lr+e("\\:"+fr)+"?"),Sn=e(je+"|"+r(qe,Se,"[\\:\\@]")),ho=e(Sn+"*"),Qe=e(Sn+"+"),Pr=e(e(je+"|"+r(qe,Se,"[\\@]"))+"+"),Fr=e(e("\\/"+ho)+"*"),un=e("\\/"+e(Qe+Fr)+"?"),ni=e(Pr+Fr),Pn=e(Qe+Fr),cr="(?!"+Sn+")",Z=e(Fr+"|"+un+"|"+ni+"|"+Pn+"|"+cr),Wr=e(e(Sn+"|"+r("[\\/\\?]",at))+"*"),fn=e(e(Sn+"|[\\/\\?]")+"*"),ii=e(e("\\/\\/"+mo+Fr)+"|"+un+"|"+Pn+"|"+cr),Fn=e(dt+"\\:"+ii+e("\\?"+Wr)+"?"+e("\\#"+fn)+"?"),go=e(e("\\/\\/"+mo+Fr)+"|"+un+"|"+ni+"|"+cr),rs=e(go+e("\\?"+Wr)+"?"+e("\\#"+fn)+"?"),Di=e(Fn+"|"+rs),Zr=e(dt+"\\:"+ii+e("\\?"+Wr)+"?"),yo="^("+dt+")\\:"+e(e("\\/\\/("+e("("+Ze+")@")+"?("+Lr+")"+e("\\:("+fr+")")+"?)")+"?("+Fr+"|"+un+"|"+Pn+"|"+cr+")")+e("\\?("+Wr+")")+"?"+e("\\#("+fn+")")+"?$",ns="^(){0}"+e(e("\\/\\/("+e("("+Ze+")@")+"?("+Lr+")"+e("\\:("+fr+")")+"?)")+"?("+Fr+"|"+un+"|"+ni+"|"+cr+")")+e("\\?("+Wr+")")+"?"+e("\\#("+fn+")")+"?$",$o="^("+dt+")\\:"+e(e("\\/\\/("+e("("+Ze+")@")+"?("+Lr+")"+e("\\:("+fr+")")+"?)")+"?("+Fr+"|"+un+"|"+Pn+"|"+cr+")")+e("\\?("+Wr+")")+"?$",bo="^"+e("\\#("+fn+")")+"?$",vo="^"+e("("+Ze+")@")+"?("+Lr+")"+e("\\:("+fr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",O,ee,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",qe,Se),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",qe,Se),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",qe,Se),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",qe,Se),"g"),NOT_QUERY:new RegExp(r("[^\\%]",qe,Se,"[\\:\\@\\/\\?]",at),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",qe,Se,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",qe,Se),"g"),UNRESERVED:new RegExp(qe,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",qe,rt),"g"),PCT_ENCODED:new RegExp(je,"g"),IPV4ADDRESS:new RegExp("^("+Ut+")$"),IPV6ADDRESS:new RegExp("^\\[?("+vr+")"+e(e("\\%25|\\%(?!"+pe+"{2})")+"("+o+")")+"?\\]?$")}}var c=f(!1),m=f(!0),d=function(){function z(O,G){var ee=[],te=!0,pe=!1,Ae=void 0;try{for(var Oe=O[Symbol.iterator](),je;!(te=(je=Oe.next()).done)&&(ee.push(je.value),!(G&&ee.length===G));te=!0);}catch(ht){pe=!0,Ae=ht}finally{try{!te&&Oe.return&&Oe.return()}finally{if(pe)throw Ae}}return ee}return function(O,G){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return z(O,G);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b=function(z){if(Array.isArray(z)){for(var O=0,G=Array(z.length);O<z.length;O++)G[O]=z[O];return G}else return Array.from(z)},x=2147483647,k=36,E=1,I=26,N=38,M=700,Y=72,se=128,$e="-",he=/^xn--/,ne=/[^\0-\x7E]/,be=/[\x2E\u3002\uFF0E\uFF61]/g,xe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=k-E,Le=Math.floor,Ee=String.fromCharCode;function _e(z){throw new RangeError(xe[z])}function de(z,O){for(var G=[],ee=z.length;ee--;)G[ee]=O(z[ee]);return G}function Ce(z,O){var G=z.split("@"),ee="";G.length>1&&(ee=G[0]+"@",z=G[1]),z=z.replace(be,".");var te=z.split("."),pe=de(te,O).join(".");return ee+pe}function it(z){for(var O=[],G=0,ee=z.length;G<ee;){var te=z.charCodeAt(G++);if(te>=55296&&te<=56319&&G<ee){var pe=z.charCodeAt(G++);(pe&64512)==56320?O.push(((te&1023)<<10)+(pe&1023)+65536):(O.push(te),G--)}else O.push(te)}return O}var X=function(O){return String.fromCodePoint.apply(String,b(O))},xt=function(O){return O-48<10?O-22:O-65<26?O-65:O-97<26?O-97:k},We=function(O,G){return O+22+75*(O<26)-((G!=0)<<5)},yt=function(O,G,ee){var te=0;for(O=ee?Le(O/M):O>>1,O+=Le(O/G);O>ke*I>>1;te+=k)O=Le(O/ke);return Le(te+(ke+1)*O/(O+N))},et=function(O){var G=[],ee=O.length,te=0,pe=se,Ae=Y,Oe=O.lastIndexOf($e);Oe<0&&(Oe=0);for(var je=0;je<Oe;++je)O.charCodeAt(je)>=128&&_e("not-basic"),G.push(O.charCodeAt(je));for(var ht=Oe>0?Oe+1:0;ht<ee;){for(var Se=te,rt=1,kt=k;;kt+=k){ht>=ee&&_e("invalid-input");var at=xt(O.charCodeAt(ht++));(at>=k||at>Le((x-te)/rt))&&_e("overflow"),te+=at*rt;var qe=kt<=Ae?E:kt>=Ae+I?I:kt-Ae;if(at<qe)break;var dt=k-qe;rt>Le(x/dt)&&_e("overflow"),rt*=dt}var Ze=G.length+1;Ae=yt(te-Se,Ze,Se==0),Le(te/Ze)>x-pe&&_e("overflow"),pe+=Le(te/Ze),te%=Ze,G.splice(te++,0,pe)}return String.fromCodePoint.apply(String,G)},B=function(O){var G=[];O=it(O);var ee=O.length,te=se,pe=0,Ae=Y,Oe=!0,je=!1,ht=void 0;try{for(var Se=O[Symbol.iterator](),rt;!(Oe=(rt=Se.next()).done);Oe=!0){var kt=rt.value;kt<128&&G.push(Ee(kt))}}catch(kr){je=!0,ht=kr}finally{try{!Oe&&Se.return&&Se.return()}finally{if(je)throw ht}}var at=G.length,qe=at;for(at&&G.push($e);qe<ee;){var dt=x,Ze=!0,Dr=!1,Rt=void 0;try{for(var Ut=O[Symbol.iterator](),Je;!(Ze=(Je=Ut.next()).done);Ze=!0){var Lt=Je.value;Lt>=te&&Lt<dt&&(dt=Lt)}}catch(kr){Dr=!0,Rt=kr}finally{try{!Ze&&Ut.return&&Ut.return()}finally{if(Dr)throw Rt}}var Jt=qe+1;dt-te>Le((x-pe)/Jt)&&_e("overflow"),pe+=(dt-te)*Jt,te=dt;var $r=!0,Rr=!1,br=void 0;try{for(var ln=O[Symbol.iterator](),En;!($r=(En=ln.next()).done);$r=!0){var _n=En.value;if(_n<te&&++pe>x&&_e("overflow"),_n==te){for(var Gr=pe,Kr=k;;Kr+=k){var vr=Kr<=Ae?E:Kr>=Ae+I?I:Kr-Ae;if(Gr<vr)break;var o=Gr-vr,ue=k-vr;G.push(Ee(We(vr+o%ue,0))),Gr=Le(o/ue)}G.push(Ee(We(Gr,0))),Ae=yt(pe,Jt,qe==at),pe=0,++qe}}}catch(kr){Rr=!0,br=kr}finally{try{!$r&&ln.return&&ln.return()}finally{if(Rr)throw br}}++pe,++te}return G.join("")},V=function(O){return Ce(O,function(G){return he.test(G)?et(G.slice(4).toLowerCase()):G})},Zt=function(O){return Ce(O,function(G){return ne.test(G)?"xn--"+B(G):G})},Dt={version:"2.1.0",ucs2:{decode:it,encode:X},decode:et,encode:B,toASCII:Zt,toUnicode:V},bt={};function _t(z){var O=z.charCodeAt(0),G=void 0;return O<16?G="%0"+O.toString(16).toUpperCase():O<128?G="%"+O.toString(16).toUpperCase():O<2048?G="%"+(O>>6|192).toString(16).toUpperCase()+"%"+(O&63|128).toString(16).toUpperCase():G="%"+(O>>12|224).toString(16).toUpperCase()+"%"+(O>>6&63|128).toString(16).toUpperCase()+"%"+(O&63|128).toString(16).toUpperCase(),G}function Ct(z){for(var O="",G=0,ee=z.length;G<ee;){var te=parseInt(z.substr(G+1,2),16);if(te<128)O+=String.fromCharCode(te),G+=3;else if(te>=194&&te<224){if(ee-G>=6){var pe=parseInt(z.substr(G+4,2),16);O+=String.fromCharCode((te&31)<<6|pe&63)}else O+=z.substr(G,6);G+=6}else if(te>=224){if(ee-G>=9){var Ae=parseInt(z.substr(G+4,2),16),Oe=parseInt(z.substr(G+7,2),16);O+=String.fromCharCode((te&15)<<12|(Ae&63)<<6|Oe&63)}else O+=z.substr(G,9);G+=9}else O+=z.substr(G,3),G+=3}return O}function ot(z,O){function G(ee){var te=Ct(ee);return te.match(O.UNRESERVED)?te:ee}return z.scheme&&(z.scheme=String(z.scheme).replace(O.PCT_ENCODED,G).toLowerCase().replace(O.NOT_SCHEME,"")),z.userinfo!==void 0&&(z.userinfo=String(z.userinfo).replace(O.PCT_ENCODED,G).replace(O.NOT_USERINFO,_t).replace(O.PCT_ENCODED,s)),z.host!==void 0&&(z.host=String(z.host).replace(O.PCT_ENCODED,G).toLowerCase().replace(O.NOT_HOST,_t).replace(O.PCT_ENCODED,s)),z.path!==void 0&&(z.path=String(z.path).replace(O.PCT_ENCODED,G).replace(z.scheme?O.NOT_PATH:O.NOT_PATH_NOSCHEME,_t).replace(O.PCT_ENCODED,s)),z.query!==void 0&&(z.query=String(z.query).replace(O.PCT_ENCODED,G).replace(O.NOT_QUERY,_t).replace(O.PCT_ENCODED,s)),z.fragment!==void 0&&(z.fragment=String(z.fragment).replace(O.PCT_ENCODED,G).replace(O.NOT_FRAGMENT,_t).replace(O.PCT_ENCODED,s)),z}function Er(z){return z.replace(/^0*(.*)/,"$1")||"0"}function ye(z,O){var G=z.match(O.IPV4ADDRESS)||[],ee=d(G,2),te=ee[1];return te?te.split(".").map(Er).join("."):z}function yr(z,O){var G=z.match(O.IPV6ADDRESS)||[],ee=d(G,3),te=ee[1],pe=ee[2];if(te){for(var Ae=te.toLowerCase().split("::").reverse(),Oe=d(Ae,2),je=Oe[0],ht=Oe[1],Se=ht?ht.split(":").map(Er):[],rt=je.split(":").map(Er),kt=O.IPV4ADDRESS.test(rt[rt.length-1]),at=kt?7:8,qe=rt.length-at,dt=Array(at),Ze=0;Ze<at;++Ze)dt[Ze]=Se[Ze]||rt[qe+Ze]||"";kt&&(dt[at-1]=ye(dt[at-1],O));var Dr=dt.reduce(function(Jt,$r,Rr){if(!$r||$r==="0"){var br=Jt[Jt.length-1];br&&br.index+br.length===Rr?br.length++:Jt.push({index:Rr,length:1})}return Jt},[]),Rt=Dr.sort(function(Jt,$r){return $r.length-Jt.length})[0],Ut=void 0;if(Rt&&Rt.length>1){var Je=dt.slice(0,Rt.index),Lt=dt.slice(Rt.index+Rt.length);Ut=Je.join(":")+"::"+Lt.join(":")}else Ut=dt.join(":");return pe&&(Ut+="%"+pe),Ut}else return z}var zt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,_r="".match(/(){0}/)[1]===void 0;function Mt(z){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G={},ee=O.iri!==!1?m:c;O.reference==="suffix"&&(z=(O.scheme?O.scheme+":":"")+"//"+z);var te=z.match(zt);if(te){_r?(G.scheme=te[1],G.userinfo=te[3],G.host=te[4],G.port=parseInt(te[5],10),G.path=te[6]||"",G.query=te[7],G.fragment=te[8],isNaN(G.port)&&(G.port=te[5])):(G.scheme=te[1]||void 0,G.userinfo=z.indexOf("@")!==-1?te[3]:void 0,G.host=z.indexOf("//")!==-1?te[4]:void 0,G.port=parseInt(te[5],10),G.path=te[6]||"",G.query=z.indexOf("?")!==-1?te[7]:void 0,G.fragment=z.indexOf("#")!==-1?te[8]:void 0,isNaN(G.port)&&(G.port=z.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?te[4]:void 0)),G.host&&(G.host=yr(ye(G.host,ee),ee)),G.scheme===void 0&&G.userinfo===void 0&&G.host===void 0&&G.port===void 0&&!G.path&&G.query===void 0?G.reference="same-document":G.scheme===void 0?G.reference="relative":G.fragment===void 0?G.reference="absolute":G.reference="uri",O.reference&&O.reference!=="suffix"&&O.reference!==G.reference&&(G.error=G.error||"URI is not a "+O.reference+" reference.");var pe=bt[(O.scheme||G.scheme||"").toLowerCase()];if(!O.unicodeSupport&&(!pe||!pe.unicodeSupport)){if(G.host&&(O.domainHost||pe&&pe.domainHost))try{G.host=Dt.toASCII(G.host.replace(ee.PCT_ENCODED,Ct).toLowerCase())}catch(Ae){G.error=G.error||"Host's domain name can not be converted to ASCII via punycode: "+Ae}ot(G,c)}else ot(G,ee);pe&&pe.parse&&pe.parse(G,O)}else G.error=G.error||"URI can not be parsed.";return G}function Xn(z,O){var G=O.iri!==!1?m:c,ee=[];return z.userinfo!==void 0&&(ee.push(z.userinfo),ee.push("@")),z.host!==void 0&&ee.push(yr(ye(String(z.host),G),G).replace(G.IPV6ADDRESS,function(te,pe,Ae){return"["+pe+(Ae?"%25"+Ae:"")+"]"})),(typeof z.port=="number"||typeof z.port=="string")&&(ee.push(":"),ee.push(String(z.port))),ee.length?ee.join(""):void 0}var jn=/^\.\.?\//,wn=/^\/\.(\/|$)/,He=/^\/\.\.(\/|$)/,Ge=/^\/?(?:.|\n)*?(?=\/|$)/;function st(z){for(var O=[];z.length;)if(z.match(jn))z=z.replace(jn,"");else if(z.match(wn))z=z.replace(wn,"/");else if(z.match(He))z=z.replace(He,"/"),O.pop();else if(z==="."||z==="..")z="";else{var G=z.match(Ge);if(G){var ee=G[0];z=z.slice(ee.length),O.push(ee)}else throw new Error("Unexpected dot segment condition")}return O.join("")}function Ke(z){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=O.iri?m:c,ee=[],te=bt[(O.scheme||z.scheme||"").toLowerCase()];if(te&&te.serialize&&te.serialize(z,O),z.host&&!G.IPV6ADDRESS.test(z.host)){if(O.domainHost||te&&te.domainHost)try{z.host=O.iri?Dt.toUnicode(z.host):Dt.toASCII(z.host.replace(G.PCT_ENCODED,Ct).toLowerCase())}catch(Oe){z.error=z.error||"Host's domain name can not be converted to "+(O.iri?"Unicode":"ASCII")+" via punycode: "+Oe}}ot(z,G),O.reference!=="suffix"&&z.scheme&&(ee.push(z.scheme),ee.push(":"));var pe=Xn(z,O);if(pe!==void 0&&(O.reference!=="suffix"&&ee.push("//"),ee.push(pe),z.path&&z.path.charAt(0)!=="/"&&ee.push("/")),z.path!==void 0){var Ae=z.path;!O.absolutePath&&(!te||!te.absolutePath)&&(Ae=st(Ae)),pe===void 0&&(Ae=Ae.replace(/^\/\//,"/%2F")),ee.push(Ae)}return z.query!==void 0&&(ee.push("?"),ee.push(z.query)),z.fragment!==void 0&&(ee.push("#"),ee.push(z.fragment)),ee.join("")}function Sr(z,O){var G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=arguments[3],te={};return ee||(z=Mt(Ke(z,G),G),O=Mt(Ke(O,G),G)),G=G||{},!G.tolerant&&O.scheme?(te.scheme=O.scheme,te.userinfo=O.userinfo,te.host=O.host,te.port=O.port,te.path=st(O.path||""),te.query=O.query):(O.userinfo!==void 0||O.host!==void 0||O.port!==void 0?(te.userinfo=O.userinfo,te.host=O.host,te.port=O.port,te.path=st(O.path||""),te.query=O.query):(O.path?(O.path.charAt(0)==="/"?te.path=st(O.path):((z.userinfo!==void 0||z.host!==void 0||z.port!==void 0)&&!z.path?te.path="/"+O.path:z.path?te.path=z.path.slice(0,z.path.lastIndexOf("/")+1)+O.path:te.path=O.path,te.path=st(te.path)),te.query=O.query):(te.path=z.path,O.query!==void 0?te.query=O.query:te.query=z.query),te.userinfo=z.userinfo,te.host=z.host,te.port=z.port),te.scheme=z.scheme),te.fragment=O.fragment,te}function ze(z,O,G){var ee=l({scheme:"null"},G);return Ke(Sr(Mt(z,ee),Mt(O,ee),ee,!0),ee)}function Me(z,O){return typeof z=="string"?z=Ke(Mt(z,O),O):i(z)==="object"&&(z=Mt(Ke(z,O),O)),z}function ft(z,O,G){return typeof z=="string"?z=Ke(Mt(z,G),G):i(z)==="object"&&(z=Ke(z,G)),typeof O=="string"?O=Ke(Mt(O,G),G):i(O)==="object"&&(O=Ke(O,G)),z===O}function ct(z,O){return z&&z.toString().replace(!O||!O.iri?c.ESCAPE:m.ESCAPE,_t)}function Vt(z,O){return z&&z.toString().replace(!O||!O.iri?c.PCT_ENCODED:m.PCT_ENCODED,Ct)}var re={scheme:"http",domainHost:!0,parse:function(O,G){return O.host||(O.error=O.error||"HTTP URIs must have a host."),O},serialize:function(O,G){var ee=String(O.scheme).toLowerCase()==="https";return(O.port===(ee?443:80)||O.port==="")&&(O.port=void 0),O.path||(O.path="/"),O}},ae={scheme:"https",domainHost:re.domainHost,parse:re.parse,serialize:re.serialize};function ve(z){return typeof z.secure=="boolean"?z.secure:String(z.scheme).toLowerCase()==="wss"}var Ie={scheme:"ws",domainHost:!0,parse:function(O,G){var ee=O;return ee.secure=ve(ee),ee.resourceName=(ee.path||"/")+(ee.query?"?"+ee.query:""),ee.path=void 0,ee.query=void 0,ee},serialize:function(O,G){if((O.port===(ve(O)?443:80)||O.port==="")&&(O.port=void 0),typeof O.secure=="boolean"&&(O.scheme=O.secure?"wss":"ws",O.secure=void 0),O.resourceName){var ee=O.resourceName.split("?"),te=d(ee,2),pe=te[0],Ae=te[1];O.path=pe&&pe!=="/"?pe:void 0,O.query=Ae,O.resourceName=void 0}return O.fragment=void 0,O}},Nt={scheme:"wss",domainHost:Ie.domainHost,parse:Ie.parse,serialize:Ie.serialize},Ur={},tt=!0,vt="[A-Za-z0-9\\-\\.\\_\\~"+(tt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",St="[0-9A-Fa-f]",Hr=e(e("%[EFef]"+St+"%"+St+St+"%"+St+St)+"|"+e("%[89A-Fa-f]"+St+"%"+St+St)+"|"+e("%"+St+St)),pt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",xn="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Tt=r(xn,'[\\"\\\\]'),an="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",co=new RegExp(vt,"g"),Nr=new RegExp(Hr,"g"),Bn=new RegExp(r("[^]",pt,"[\\.]",'[\\"]',Tt),"g"),ei=new RegExp(r("[^]",vt,an),"g"),po=ei;function ti(z){var O=Ct(z);return O.match(co)?O:z}var qi={scheme:"mailto",parse:function(O,G){var ee=O,te=ee.to=ee.path?ee.path.split(","):[];if(ee.path=void 0,ee.query){for(var pe=!1,Ae={},Oe=ee.query.split("&"),je=0,ht=Oe.length;je<ht;++je){var Se=Oe[je].split("=");switch(Se[0]){case"to":for(var rt=Se[1].split(","),kt=0,at=rt.length;kt<at;++kt)te.push(rt[kt]);break;case"subject":ee.subject=Vt(Se[1],G);break;case"body":ee.body=Vt(Se[1],G);break;default:pe=!0,Ae[Vt(Se[0],G)]=Vt(Se[1],G);break}}pe&&(ee.headers=Ae)}ee.query=void 0;for(var qe=0,dt=te.length;qe<dt;++qe){var Ze=te[qe].split("@");if(Ze[0]=Vt(Ze[0]),G.unicodeSupport)Ze[1]=Vt(Ze[1],G).toLowerCase();else try{Ze[1]=Dt.toASCII(Vt(Ze[1],G).toLowerCase())}catch(Dr){ee.error=ee.error||"Email address's domain name can not be converted to ASCII via punycode: "+Dr}te[qe]=Ze.join("@")}return ee},serialize:function(O,G){var ee=O,te=a(O.to);if(te){for(var pe=0,Ae=te.length;pe<Ae;++pe){var Oe=String(te[pe]),je=Oe.lastIndexOf("@"),ht=Oe.slice(0,je).replace(Nr,ti).replace(Nr,s).replace(Bn,_t),Se=Oe.slice(je+1);try{Se=G.iri?Dt.toUnicode(Se):Dt.toASCII(Vt(Se,G).toLowerCase())}catch(qe){ee.error=ee.error||"Email address's domain name can not be converted to "+(G.iri?"Unicode":"ASCII")+" via punycode: "+qe}te[pe]=ht+"@"+Se}ee.path=te.join(",")}var rt=O.headers=O.headers||{};O.subject&&(rt.subject=O.subject),O.body&&(rt.body=O.body);var kt=[];for(var at in rt)rt[at]!==Ur[at]&&kt.push(at.replace(Nr,ti).replace(Nr,s).replace(ei,_t)+"="+rt[at].replace(Nr,ti).replace(Nr,s).replace(po,_t));return kt.length&&(ee.query=kt.join("&")),ee}},ri=/^([^\:]+)\:(.*)/,Cn={scheme:"urn",parse:function(O,G){var ee=O.path&&O.path.match(ri),te=O;if(ee){var pe=G.scheme||te.scheme||"urn",Ae=ee[1].toLowerCase(),Oe=ee[2],je=pe+":"+(G.nid||Ae),ht=bt[je];te.nid=Ae,te.nss=Oe,te.path=void 0,ht&&(te=ht.parse(te,G))}else te.error=te.error||"URN can not be parsed.";return te},serialize:function(O,G){var ee=G.scheme||O.scheme||"urn",te=O.nid,pe=ee+":"+(G.nid||te),Ae=bt[pe];Ae&&(O=Ae.serialize(O,G));var Oe=O,je=O.nss;return Oe.path=(te||G.nid)+":"+je,Oe}},Ni=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,An={scheme:"urn:uuid",parse:function(O,G){var ee=O;return ee.uuid=ee.nss,ee.nss=void 0,!G.tolerant&&(!ee.uuid||!ee.uuid.match(Ni))&&(ee.error=ee.error||"UUID is not valid."),ee},serialize:function(O,G){var ee=O;return ee.nss=(O.uuid||"").toLowerCase(),ee}};bt[re.scheme]=re,bt[ae.scheme]=ae,bt[Ie.scheme]=Ie,bt[Nt.scheme]=Nt,bt[qi.scheme]=qi,bt[Cn.scheme]=Cn,bt[An.scheme]=An,t.SCHEMES=bt,t.pctEncChar=_t,t.pctDecChars=Ct,t.parse=Mt,t.removeDotSegments=st,t.serialize=Ke,t.resolveComponents=Sr,t.resolve=ze,t.normalize=Me,t.equal=ft,t.escapeComponent=ct,t.unescapeComponent=Vt,Object.defineProperty(t,"__esModule",{value:!0})})});var Oo=me(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.getSchemaRefs=Cr.resolveUrl=Cr.normalizeId=Cr._getFullPath=Cr.getFullPath=Cr.inlineRef=void 0;var Hg=Et(),Gg=Io(),Kg=gc(),Ss=pl(),Wg=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Zg(t,r=!0){return typeof t=="boolean"?!0:r===!0?!dl(t):r?$c(t)<=r:!1}Cr.inlineRef=Zg;var Jg=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function dl(t){for(let r in t){if(Jg.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(dl)||typeof e=="object"&&dl(e))return!0}return!1}function $c(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!Wg.has(e)&&(typeof t[e]=="object"&&Hg.eachItem(t[e],i=>r+=$c(i)),r===1/0))return 1/0}return r}function bc(t="",r){r!==!1&&(t=Ji(t));let e=Ss.parse(t);return vc(e)}Cr.getFullPath=bc;function vc(t){return Ss.serialize(t).split("#")[0]+"#"}Cr._getFullPath=vc;var Qg=/#\/?$/;function Ji(t){return t?t.replace(Qg,""):""}Cr.normalizeId=Ji;function Yg(t,r){return r=Ji(r),Ss.resolve(t,r)}Cr.resolveUrl=Yg;var Xg=/^[a-z_][-a-z0-9._]*$/i;function ey(t){if(typeof t=="boolean")return{};let r=Ji(t.$id),e={"":r},i=bc(r,!1),s={},a=new Set;return Kg(t,{allKeys:!0},(c,m,d,b)=>{if(b===void 0)return;let x=i+m,k=e[b];typeof c.$id=="string"&&(k=E.call(this,c.$id)),I.call(this,c.$anchor),I.call(this,c.$dynamicAnchor),e[m]=k;function E(N){if(N=Ji(k?Ss.resolve(k,N):N),a.has(N))throw f(N);a.add(N);let M=this.refs[N];return typeof M=="string"&&(M=this.refs[M]),typeof M=="object"?l(c,M.schema,N):N!==Ji(x)&&(N[0]==="#"?(l(c,s[N],N),s[N]=c):this.refs[N]=x),N}function I(N){if(typeof N=="string"){if(!Xg.test(N))throw new Error(`invalid anchor "${N}"`);E.call(this,`#${N}`)}}}),s;function l(c,m,d){if(m!==void 0&&!Gg(c,m))throw f(d)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}Cr.getSchemaRefs=ey});var Or=me(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.checkStrictMode=yn.schemaCxtHasRules=yn.subschemaCode=yn.validateFunctionCode=void 0;var Cc=Qf(),kc=Zi(),wc=dc(),Be=Ne(),Fe=Xr(),ty=Oo(),Ac=Et();function ry(t){if(_c(t)&&(Sc(t),ml(t))){oy(t);return}Ec(t,()=>Cc.topBoolOrEmptySchema(t))}yn.validateFunctionCode=ry;function Ec({gen:t,validateName:r,schema:e,schemaEnv:i,opts:s},a){s.code.es5?t.func(r,Be._`${Fe.default.data}, ${Fe.default.valCxt}`,i.$async,()=>{t.code(Be._`"use strict"; ${xc(e,s)}`),iy(t,s),t.code(a)}):t.func(r,Be._`${Fe.default.data}, ${ny(s)}`,i.$async,()=>t.code(xc(e,s)).code(a))}function ny(t){return Be._`{${Fe.default.dataPath}="", ${Fe.default.parentData}, ${Fe.default.parentDataProperty}, ${Fe.default.rootData}=${Fe.default.data}${t.dynamicRef?Be._`, ${Fe.default.dynamicAnchors}={}`:Be.nil}}={}`}function iy(t,r){t.if(Fe.default.valCxt,()=>{t.var(Fe.default.dataPath,Be._`${Fe.default.valCxt}.${Fe.default.dataPath}`),t.var(Fe.default.parentData,Be._`${Fe.default.valCxt}.${Fe.default.parentData}`),t.var(Fe.default.parentDataProperty,Be._`${Fe.default.valCxt}.${Fe.default.parentDataProperty}`),t.var(Fe.default.rootData,Be._`${Fe.default.valCxt}.${Fe.default.rootData}`),r.dynamicRef&&t.var(Fe.default.dynamicAnchors,Be._`${Fe.default.valCxt}.${Fe.default.dynamicAnchors}`)},()=>{t.var(Fe.default.dataPath,Be._`""`),t.var(Fe.default.parentData,Be._`undefined`),t.var(Fe.default.parentDataProperty,Be._`undefined`),t.var(Fe.default.rootData,Fe.default.data),r.dynamicRef&&t.var(Fe.default.dynamicAnchors,Be._`{}`)})}function oy(t){let{schema:r,opts:e,gen:i}=t;Ec(t,()=>{e.$comment&&r.$comment&&Fc(t),fy(t),i.let(Fe.default.vErrors,null),i.let(Fe.default.errors,0),e.unevaluated&&sy(t),Pc(t),dy(t)})}function sy(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Be._`${e}.evaluated`),r.if(Be._`${t.evaluated}.dynamicProps`,()=>r.assign(Be._`${t.evaluated}.props`,Be._`undefined`)),r.if(Be._`${t.evaluated}.dynamicItems`,()=>r.assign(Be._`${t.evaluated}.items`,Be._`undefined`))}function xc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Be._`/*# sourceURL=${t.$id} */`:Be.nil}function ay(t,r){if(_c(t)&&(Sc(t),ml(t))){ly(t,r);return}Cc.boolOrEmptySchema(t,r)}yn.subschemaCode=ay;function ml({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}yn.schemaCxtHasRules=ml;function _c(t){return typeof t.schema!="boolean"}function ly(t,r){let{schema:e,gen:i,opts:s}=t;s.$comment&&e.$comment&&Fc(t),cy(t),py(t);let a=i.const("_errs",Fe.default.errors);Pc(t,a),i.var(r,Be._`${a} === ${Fe.default.errors}`)}function Sc(t){Ac.checkUnknownRules(t),uy(t)}function Pc(t,r){if(t.opts.jtd)return wc.schemaKeywords(t,[],!1,r);let e=kc.getSchemaTypes(t.schema),i=kc.coerceAndCheckDataType(t,e);wc.schemaKeywords(t,e,!i,r)}function uy(t){let{schema:r,errSchemaPath:e,opts:i,self:s}=t;r.$ref&&i.ignoreKeywordsWithRef&&Ac.schemaHasRulesButRef(r,s.RULES)&&s.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function fy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&Tc(t,"default is ignored in the schema root")}function cy(t){t.schema.$id&&(t.baseId=ty.resolveUrl(t.baseId,t.schema.$id))}function py(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function Fc({gen:t,schemaEnv:r,schema:e,errSchemaPath:i,opts:s}){let a=e.$comment;if(s.$comment===!0)t.code(Be._`${Fe.default.self}.logger.log(${a})`);else if(typeof s.$comment=="function"){let l=Be.str`${i}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Be._`${Fe.default.self}.opts.$comment(${a}, ${l}, ${f}.schema)`)}}function dy(t){let{gen:r,schemaEnv:e,validateName:i,ValidationError:s,opts:a}=t;e.$async?r.if(Be._`${Fe.default.errors} === 0`,()=>r.return(Fe.default.data),()=>r.throw(Be._`new ${s}(${Fe.default.vErrors})`)):(r.assign(Be._`${i}.errors`,Fe.default.vErrors),a.unevaluated&&my(t),r.return(Be._`${Fe.default.errors} === 0`))}function my({gen:t,evaluated:r,props:e,items:i}){e instanceof Be.Name&&t.assign(Be._`${r}.props`,e),i instanceof Be.Name&&t.assign(Be._`${r}.items`,i)}function Tc(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}yn.checkStrictMode=Tc});var Et=me(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.func=Ye.setEvaluated=Ye.evaluatedPropsToName=Ye.mergeEvaluated=Ye.eachItem=Ye.unescapeJsonPointer=Ye.escapeJsonPointer=Ye.escapeFragment=Ye.unescapeFragment=Ye.schemaRefOrVal=Ye.schemaHasRulesButRef=Ye.schemaHasRules=Ye.checkUnknownRules=Ye.alwaysValidSchema=Ye.toHash=void 0;var Pt=Ne(),hy=Or();function gy(t){let r={};for(let e of t)r[e]=!0;return r}Ye.toHash=gy;function yy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(Oc(t,r),!qc(r,t.self.RULES.all))}Ye.alwaysValidSchema=yy;function Oc(t,r=t.schema){let{opts:e,self:i}=t;if(!e.strict||typeof r=="boolean")return;let s=i.RULES.keywords;for(let a in r)s[a]||hy.checkStrictMode(t,`unknown keyword: "${a}"`)}Ye.checkUnknownRules=Oc;function qc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}Ye.schemaHasRules=qc;function $y(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}Ye.schemaHasRulesButRef=$y;function by({topSchemaRef:t,schemaPath:r},e,i,s){if(!s){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Pt._`${e}`}return Pt._`${t}${r}${Pt.getProperty(i)}`}Ye.schemaRefOrVal=by;function vy(t){return Dc(decodeURIComponent(t))}Ye.unescapeFragment=vy;function ky(t){return encodeURIComponent(Nc(t))}Ye.escapeFragment=ky;function Nc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}Ye.escapeJsonPointer=Nc;function Dc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}Ye.unescapeJsonPointer=Dc;function wy(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}Ye.eachItem=wy;function Ic({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:i}){return(s,a,l,f)=>{let c=l===void 0?a:l instanceof Pt.Name?(a instanceof Pt.Name?t(s,a,l):r(s,a,l),l):a instanceof Pt.Name?(r(s,l,a),a):e(a,l);return f===Pt.Name&&!(c instanceof Pt.Name)?i(s,c):c}}Ye.mergeEvaluated={props:Ic({mergeNames:(t,r,e)=>t.if(Pt._`${e} !== true && ${r} !== undefined`,()=>{t.if(Pt._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,Pt._`${e} || {}`).code(Pt._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(Pt._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,Pt._`${e} || {}`),hl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Rc}),items:Ic({mergeNames:(t,r,e)=>t.if(Pt._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,Pt._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(Pt._`${e} !== true`,()=>t.assign(e,r===!0?!0:Pt._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Rc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",Pt._`{}`);return r!==void 0&&hl(t,e,r),e}Ye.evaluatedPropsToName=Rc;function hl(t,r,e){Object.keys(e).forEach(i=>t.assign(Pt._`${r}${Pt.getProperty(i)}`,!0))}Ye.setEvaluated=hl;function xy(t,r){return t.scopeValue("func",{ref:r,code:r.code})}Ye.func=xy});var Zi=me(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.reportTypeError=Gt.checkDataTypes=Gt.checkDataType=Gt.coerceAndCheckDataType=Gt.getJSONTypes=Gt.getSchemaTypes=Gt.DataType=void 0;var Cy=za(),Ay=Ma(),Ey=Fo(),Te=Ne(),Lc=Et(),qo;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(qo=Gt.DataType||(Gt.DataType={}));function _y(t){let r=jc(t.type);if(r.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!r.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&r.push("null")}return r}Gt.getSchemaTypes=_y;function jc(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(Cy.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Gt.getJSONTypes=jc;function Sy(t,r){let{gen:e,data:i,opts:s}=t,a=Py(r,s.coerceTypes),l=r.length>0&&!(a.length===0&&r.length===1&&Ay.schemaHasRulesForType(t,r[0]));if(l){let f=yl(r,i,s.strict,qo.Wrong);e.if(f,()=>{a.length?Fy(t,r,a):$l(t)})}return l}Gt.coerceAndCheckDataType=Sy;var Bc=new Set(["string","number","integer","boolean","null"]);function Py(t,r){return r?t.filter(e=>Bc.has(e)||r==="array"&&e==="array"):[]}function Fy(t,r,e){let{gen:i,data:s,opts:a}=t,l=i.let("dataType",Te._`typeof ${s}`),f=i.let("coerced",Te._`undefined`);a.coerceTypes==="array"&&i.if(Te._`${l} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,()=>i.assign(s,Te._`${s}[0]`).assign(l,Te._`typeof ${s}`).if(yl(r,s,a.strict),()=>i.assign(f,s))),i.if(Te._`${f} !== undefined`);for(let m of e)(Bc.has(m)||m==="array"&&a.coerceTypes==="array")&&c(m);i.else(),$l(t),i.endIf(),i.if(Te._`${f} !== undefined`,()=>{i.assign(s,f),Ty(t,f)});function c(m){switch(m){case"string":i.elseIf(Te._`${l} == "number" || ${l} == "boolean"`).assign(f,Te._`"" + ${s}`).elseIf(Te._`${s} === null`).assign(f,Te._`""`);return;case"number":i.elseIf(Te._`${l} == "boolean" || ${s} === null
3
- || (${l} == "string" && ${s} && ${s} == +${s})`).assign(f,Te._`+${s}`);return;case"integer":i.elseIf(Te._`${l} === "boolean" || ${s} === null
4
- || (${l} === "string" && ${s} && ${s} == +${s} && !(${s} % 1))`).assign(f,Te._`+${s}`);return;case"boolean":i.elseIf(Te._`${s} === "false" || ${s} === 0 || ${s} === null`).assign(f,!1).elseIf(Te._`${s} === "true" || ${s} === 1`).assign(f,!0);return;case"null":i.elseIf(Te._`${s} === "" || ${s} === 0 || ${s} === false`),i.assign(f,null);return;case"array":i.elseIf(Te._`${l} === "string" || ${l} === "number"
5
- || ${l} === "boolean" || ${s} === null`).assign(f,Te._`[${s}]`)}}}function Ty({gen:t,parentData:r,parentDataProperty:e},i){t.if(Te._`${r} !== undefined`,()=>t.assign(Te._`${r}[${e}]`,i))}function gl(t,r,e,i=qo.Correct){let s=i===qo.Correct?Te.operators.EQ:Te.operators.NEQ,a;switch(t){case"null":return Te._`${r} ${s} null`;case"array":a=Te._`Array.isArray(${r})`;break;case"object":a=Te._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":a=l(Te._`!(${r} % 1) && !isNaN(${r})`);break;case"number":a=l();break;default:return Te._`typeof ${r} ${s} ${t}`}return i===qo.Correct?a:Te.not(a);function l(f=Te.nil){return Te.and(Te._`typeof ${r} == "number"`,f,e?Te._`isFinite(${r})`:Te.nil)}}Gt.checkDataType=gl;function yl(t,r,e,i){if(t.length===1)return gl(t[0],r,e,i);let s,a=Lc.toHash(t);if(a.array&&a.object){let l=Te._`typeof ${r} != "object"`;s=a.null?l:Te._`!${r} || ${l}`,delete a.null,delete a.array,delete a.object}else s=Te.nil;a.number&&delete a.integer;for(let l in a)s=Te.and(s,gl(l,r,e,i));return s}Gt.checkDataTypes=yl;var Iy={message:({schema:t})=>Te.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Te._`{type: ${t}}`:Te._`{type: ${r}}`};function $l(t){let r=Oy(t);Ey.reportError(r,Iy)}Gt.reportTypeError=$l;function Oy(t){let{gen:r,data:e,schema:i}=t,s=Lc.schemaRefOrVal(t,i,"type");return{gen:r,keyword:"type",data:e,schema:i.type,schemaCode:s,schemaValue:s,parentSchema:i,params:{},it:t}}});var To=me(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.getData=void 0;var zc=Zi(),Ps=Et(),No=Fo(),Ot=Ne(),bl=Xr(),qy=gi(),vl=class{constructor(r,e,i){if(Dy(r,e,i),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=i,this.data=r.data,this.schema=r.schema[i],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Ps.schemaRefOrVal(r,this.schema,i,this.$data),this.schemaType=e.schemaType,this.parentSchema=r.schema,this.params={},this.it=r,this.def=e,this.$data)this.schemaCode=r.gen.const("vSchema",Mc(this.$data,r));else if(this.schemaCode=this.schemaValue,!Ny(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${i} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=r.gen.const("_errs",bl.default.errors))}result(r,e,i){this.gen.if(Ot.not(r)),i?i():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(r,e){this.result(r,void 0,e)}fail(r){if(r===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(r),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(r){if(!this.$data)return this.fail(r);let{schemaCode:e}=this;this.fail(Ot._`${e} !== undefined && (${Ot.or(this.invalid$data(),r)})`)}error(r){(r?No.reportExtraError:No.reportError)(this,this.def.error)}$dataError(){No.reportError(this,this.def.$dataError||No.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');No.resetErrorsCount(this.gen,this.errsCount)}ok(r){this.allErrors||this.gen.if(r)}setParams(r,e){e?Object.assign(this.params,r):this.params=r}block$data(r,e,i=Ot.nil){this.gen.block(()=>{this.check$data(r,i),e()})}check$data(r=Ot.nil,e=Ot.nil){if(!this.$data)return;let{gen:i,schemaCode:s,schemaType:a,def:l}=this;i.if(Ot.or(Ot._`${s} === undefined`,e)),r!==Ot.nil&&i.assign(r,!0),(a.length||l.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),r!==Ot.nil&&i.assign(r,!1)),i.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:i,def:s,it:a}=this;return Ot.or(l(),f());function l(){if(i.length){if(!(e instanceof Ot.Name))throw new Error("ajv implementation error");let c=Array.isArray(i)?i:[i];return Ot._`${zc.checkDataTypes(c,e,a.opts.strict,zc.DataType.Wrong)}`}return Ot.nil}function f(){if(s.validateSchema){let c=r.scopeValue("validate$data",{ref:s.validateSchema});return Ot._`!${c}(${e})`}return Ot.nil}}subschema(r,e){return qy.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:i,gen:s}=this;!i.opts.unevaluated||(i.props!==!0&&r.props!==void 0&&(i.props=Ps.mergeEvaluated.props(s,r.props,i.props,e)),i.items!==!0&&r.items!==void 0&&(i.items=Ps.mergeEvaluated.items(s,r.items,i.items,e)))}mergeValidEvaluated(r,e){let{it:i,gen:s}=this;if(i.opts.unevaluated&&(i.props!==!0||i.items!==!0))return s.if(e,()=>this.mergeEvaluated(r,Ot.Name)),!0}};Do.default=vl;function Ny(t,r,e=!1){return!r.length||r.some(i=>i==="array"?Array.isArray(t):i==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==i||e&&typeof t>"u")}function Dy({schema:t,opts:r,self:e},i,s){if(Array.isArray(i.keyword)?!i.keyword.includes(s):i.keyword!==s)throw new Error("ajv implementation error");let a=i.dependencies;if(a!=null&&a.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${s}: ${a.join(",")}`);if(i.validateSchema&&!i.validateSchema(t[s])){let f="keyword value is invalid: "+e.errorsText(i.validateSchema.errors);if(r.validateSchema==="log")e.logger.error(f);else throw new Error(f)}}var Ry=/^\/(?:[^~]|~0|~1)*$/,Ly=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Mc(t,{dataLevel:r,dataNames:e,dataPathArr:i}){let s,a;if(t==="")return bl.default.rootData;if(t[0]==="/"){if(!Ry.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);s=t,a=bl.default.rootData}else{let m=Ly.exec(t);if(!m)throw new Error(`Invalid JSON-pointer: ${t}`);let d=+m[1];if(s=m[2],s==="#"){if(d>=r)throw new Error(c("property/index",d));return i[r-d]}if(d>r)throw new Error(c("data",d));if(a=e[r-d],!s)return a}let l=a,f=s.split("/");for(let m of f)m&&(a=Ot._`${a}${Ot.getProperty(Ps.unescapeJsonPointer(m))}`,l=Ot._`${l} && ${a}`);return l;function c(m,d){return`Cannot access ${m} ${d} levels up, current level is ${r}`}}Do.getData=Mc});var Is=me((Qi,Vc)=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.MissingRefError=Qi.ValidationError=void 0;var kl=Oo(),Fs=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};Qi.ValidationError=Fs;var Ts=class extends Error{constructor(r,e,i){super(i||`can't resolve reference ${e} from id ${r}`),this.missingRef=kl.resolveUrl(r,e),this.missingSchema=kl.normalizeId(kl.getFullPath(this.missingRef))}};Qi.MissingRefError=Ts;Vc.exports={ValidationError:Fs,MissingRefError:Ts}});var Cl=me(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.resolveSchema=Mr.getCompilingSchema=Mr.resolveRef=Mr.compileSchema=Mr.SchemaEnv=void 0;var tn=Ne(),jy=Is(),$i=Xr(),rn=Oo(),Uc=Et(),By=Or(),zy=pl(),Yi=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let i;typeof r.schema=="object"&&(i=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:rn.normalizeId(i==null?void 0:i.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=i==null?void 0:i.$async,this.refs={}}};Mr.SchemaEnv=Yi;function xl(t){let r=Hc.call(this,t);if(r)return r;let e=rn.getFullPath(t.root.baseId),{es5:i,lines:s}=this.opts.code,{ownProperties:a}=this.opts,l=new tn.CodeGen(this.scope,{es5:i,lines:s,ownProperties:a}),f;t.$async&&(f=l.scopeValue("Error",{ref:jy.ValidationError,code:tn._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let m={gen:l,allErrors:this.opts.allErrors,data:$i.default.data,parentData:$i.default.parentData,parentDataProperty:$i.default.parentDataProperty,dataNames:[$i.default.data],dataPathArr:[tn.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:tn.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:tn.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:tn._`""`,opts:this.opts,self:this},d;try{this._compilations.add(t),By.validateFunctionCode(m),l.optimize(this.opts.code.optimize);let b=l.toString();d=`${l.scopeRefs($i.default.scope)}return ${b}`,this.opts.code.process&&(d=this.opts.code.process(d,t));let k=new Function(`${$i.default.self}`,`${$i.default.scope}`,d)(this,this.scope.get());if(this.scope.value(c,{ref:k}),k.errors=null,k.schema=t.schema,k.schemaEnv=t,t.$async&&(k.$async=!0),this.opts.code.source===!0&&(k.source={validateName:c,validateCode:b,scopeValues:l._values}),this.opts.unevaluated){let{props:E,items:I}=m;k.evaluated={props:E instanceof tn.Name?void 0:E,items:I instanceof tn.Name?void 0:I,dynamicProps:E instanceof tn.Name,dynamicItems:I instanceof tn.Name},k.source&&(k.source.evaluated=tn.stringify(k.evaluated))}return t.validate=k,t}catch(b){throw delete t.validate,delete t.validateName,d&&this.logger.error("Error compiling schema, function code:",d),b}finally{this._compilations.delete(t)}}Mr.compileSchema=xl;function My(t,r,e){var i;e=rn.resolveUrl(r,e);let s=t.refs[e];if(s)return s;let a=Hy.call(this,t,e);if(a===void 0){let l=(i=t.localRefs)===null||i===void 0?void 0:i[e];l&&(a=new Yi({schema:l,root:t,baseId:r}))}if(a!==void 0)return t.refs[e]=Vy.call(this,a)}Mr.resolveRef=My;function Vy(t){return rn.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:xl.call(this,t)}function Hc(t){for(let r of this._compilations)if(Uy(r,t))return r}Mr.getCompilingSchema=Hc;function Uy(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function Hy(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Os.call(this,t,r)}function Os(t,r){let e=zy.parse(r),i=rn._getFullPath(e),s=rn.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&i===s)return wl.call(this,e,t);let a=rn.normalizeId(i),l=this.refs[a]||this.schemas[a];if(typeof l=="string"){let f=Os.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:wl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||xl.call(this,l),a===rn.normalizeId(r)){let{schema:f}=l;return f.$id&&(s=rn.resolveUrl(s,f.$id)),new Yi({schema:f,root:t,baseId:s})}return wl.call(this,e,l)}}Mr.resolveSchema=Os;var Gy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function wl(t,{baseId:r,schema:e,root:i}){var s;if(((s=t.fragment)===null||s===void 0?void 0:s[0])!=="/")return;for(let l of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[Uc.unescapeFragment(l)],e===void 0))return;!Gy.has(l)&&typeof e=="object"&&e.$id&&(r=rn.resolveUrl(r,e.$id))}let a;if(typeof e!="boolean"&&e.$ref&&!Uc.schemaHasRulesButRef(e,this.RULES)){let l=rn.resolveUrl(r,e.$ref);a=Os.call(this,i,l)}if(a=a||new Yi({schema:e,root:i,baseId:r}),a.schema!==a.root.schema)return a}});var Gc=me((o1,Ky)=>{Ky.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var Qc=me(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.CodeGen=Kt.Name=Kt.nil=Kt.stringify=Kt.str=Kt._=Kt.KeywordCxt=void 0;var Wy=To();Kt.KeywordCxt=Wy.default;var Xi=Ne();Object.defineProperty(Kt,"_",{enumerable:!0,get:function(){return Xi._}});Object.defineProperty(Kt,"str",{enumerable:!0,get:function(){return Xi.str}});Object.defineProperty(Kt,"stringify",{enumerable:!0,get:function(){return Xi.stringify}});Object.defineProperty(Kt,"nil",{enumerable:!0,get:function(){return Xi.nil}});Object.defineProperty(Kt,"Name",{enumerable:!0,get:function(){return Xi.Name}});Object.defineProperty(Kt,"CodeGen",{enumerable:!0,get:function(){return Xi.CodeGen}});var _l=Is(),Zy=za(),Ro=Cl(),Jy=Ne(),qs=Oo(),Ns=Zi(),El=Et(),Kc=Gc(),Qy=["removeAdditional","useDefaults","coerceTypes"],Yy=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Xy={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",schemaId:"JSON Schema draft-04 is not supported in Ajv v7.",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",strictNumbers:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key."},e$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function t$(t){var r,e,i,s,a,l,f,c,m,d,b,x;let k=(r=t.strict)!==null&&r!==void 0?r:!0,E=k?"log":!1,I=(e=t.code)===null||e===void 0?void 0:e.optimize,N=I===!0||I===void 0?1:I||0;return{strict:k,strictTypes:(i=t.strictTypes)!==null&&i!==void 0?i:E,strictTuples:(s=t.strictTuples)!==null&&s!==void 0?s:E,code:t.code?{...t.code,optimize:N}:{optimize:N},loopRequired:(a=t.loopRequired)!==null&&a!==void 0?a:1/0,loopEnum:(l=t.loopEnum)!==null&&l!==void 0?l:1/0,meta:(f=t.meta)!==null&&f!==void 0?f:!0,messages:(c=t.messages)!==null&&c!==void 0?c:!0,inlineRefs:(m=t.inlineRefs)!==null&&m!==void 0?m:!0,addUsedSchema:(d=t.addUsedSchema)!==null&&d!==void 0?d:!0,validateSchema:(b=t.validateSchema)!==null&&b!==void 0?b:!0,validateFormats:(x=t.validateFormats)!==null&&x!==void 0?x:!0}}var Lo=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...t$(r)};let{es5:e,lines:i}=this.opts.code;this.scope=new Jy.ValueScope({scope:{},prefixes:Yy,es5:e,lines:i}),this.logger=a$(r.logger);let s=r.validateFormats;r.validateFormats=!1,this.RULES=Zy.getRules(),Wc.call(this,Xy,r,"NOT SUPPORTED"),Wc.call(this,e$,r,"DEPRECATED","warn"),this._metaOpts=o$.call(this),r.formats&&n$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&i$.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),r$.call(this),r.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(Kc,Kc.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let i;if(typeof r=="string"){if(i=this.getSchema(r),!i)throw new Error(`no schema with key or ref "${r}"`)}else i=this.compile(r);let s=i(e);return"$async"in i||(this.errors=i.errors),s}compile(r,e){let i=this._addSchema(r,e);return i.validate||this._compileSchemaEnv(i)}compileAsync(r,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:i}=this.opts;return s.call(this,r,e);async function s(d,b){await a.call(this,d.$schema);let x=this._addSchema(d,b);return x.validate||l.call(this,x)}async function a(d){d&&!this.getSchema(d)&&await s.call(this,{$ref:d},!0)}async function l(d){try{return this._compileSchemaEnv(d)}catch(b){if(!(b instanceof _l.MissingRefError))throw b;return f.call(this,b),await c.call(this,b.missingSchema),l.call(this,d)}}function f({missingSchema:d,missingRef:b}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${b} cannot be resolved`)}async function c(d){let b=await m.call(this,d);this.refs[d]||await a.call(this,b.$schema),this.refs[d]||this.addSchema(b,d,e)}async function m(d){let b=this._loading[d];if(b)return b;try{return await(this._loading[d]=i(d))}finally{delete this._loading[d]}}}addSchema(r,e,i,s=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,i,s);return this}let a;if(typeof r=="object"&&(a=r.$id,a!==void 0&&typeof a!="string"))throw new Error("schema id must be string");return e=qs.normalizeId(e||a),this._checkUnique(e),this.schemas[e]=this._addSchema(r,i,s,!0),this}addMetaSchema(r,e,i=this.opts.validateSchema){return this.addSchema(r,e,!0,i),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let i;if(i=r.$schema,i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this.opts.defaultMeta||this.defaultMeta(),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let s=this.validate(i,r);if(!s&&e){let a="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(a);else throw new Error(a)}return s}getSchema(r){let e;for(;typeof(e=Zc.call(this,r))=="string";)r=e;if(e===void 0){let i=new Ro.SchemaEnv({schema:{}});if(e=Ro.resolveSchema.call(this,i,r),!e)return;this.refs[r]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(r){if(r instanceof RegExp)return this._removeAllSchemas(this.schemas,r),this._removeAllSchemas(this.refs,r),this;switch(typeof r){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=Zc.call(this,r);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[r],delete this.refs[r],this}case"object":{let e=r;this._cache.delete(e);let i=r.$id;return i&&(i=qs.normalizeId(i),delete this.schemas[i],delete this.refs[i]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(r){for(let e of r)this.addKeyword(e);return this}addKeyword(r,e){let i;if(typeof r=="string")i=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=i);else if(typeof r=="object"&&e===void 0){if(e=r,i=e.keyword,Array.isArray(i)&&!i.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(u$.call(this,i,e),!e)return El.eachItem(i,a=>Al.call(this,a)),this;c$.call(this,e);let s={...e,type:Ns.getJSONTypes(e.type),schemaType:Ns.getJSONTypes(e.schemaType)};return El.eachItem(i,s.type.length===0?a=>Al.call(this,a,s):a=>s.type.forEach(l=>Al.call(this,a,s,l))),this}getKeyword(r){let e=this.RULES.all[r];return typeof e=="object"?e.definition:!!e}removeKeyword(r){let{RULES:e}=this;delete e.keywords[r],delete e.all[r];for(let i of e.rules){let s=i.rules.findIndex(a=>a.keyword===r);s>=0&&i.rules.splice(s,1)}return this}addFormat(r,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[r]=e,this}errorsText(r=this.errors,{separator:e=", ",dataVar:i="data"}={}){return!r||r.length===0?"No errors":r.map(s=>`${i}${s.dataPath} ${s.message}`).reduce((s,a)=>s+e+a)}$dataMetaSchema(r,e){let i=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let s of e){let a=s.split("/").slice(1),l=r;for(let f of a)l=l[f];for(let f in i){let c=i[f];if(typeof c!="object")continue;let{$data:m}=c.definition,d=l[f];m&&d&&(l[f]=Jc(d))}}return r}_removeAllSchemas(r,e){for(let i in r){let s=r[i];(!e||e.test(i))&&(typeof s=="string"?delete r[i]:s&&!s.meta&&(this._cache.delete(s.schema),delete r[i]))}}_addSchema(r,e,i=this.opts.validateSchema,s=this.opts.addUsedSchema){if(typeof r!="object"){if(this.opts.jtd)throw new Error("schema must be object");if(typeof r!="boolean")throw new Error("schema must be object or boolean")}let a=this._cache.get(r);if(a!==void 0)return a;let l=qs.getSchemaRefs.call(this,r);a=new Ro.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(a.schema,a);let f=a.baseId;return s&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=a),i&&this.validateSchema(r,!0),a}_checkUnique(r){if(this.schemas[r]||this.refs[r])throw new Error(`schema with key or id "${r}" already exists`)}_compileSchemaEnv(r){if(r.meta?this._compileMetaSchema(r):Ro.compileSchema.call(this,r),!r.validate)throw new Error("ajv implementation error");return r.validate}_compileMetaSchema(r){let e=this.opts;this.opts=this._metaOpts;try{Ro.compileSchema.call(this,r)}finally{this.opts=e}}};Kt.default=Lo;Lo.ValidationError=_l.ValidationError;Lo.MissingRefError=_l.MissingRefError;function Wc(t,r,e,i="error"){for(let s in t){let a=s;a in r&&this.logger[i](`${e}: option ${s}. ${t[a]}`)}}function Zc(t){return t=qs.normalizeId(t),this.schemas[t]||this.refs[t]}function r$(){let t=this.opts.schemas;if(!!t)if(Array.isArray(t))this.addSchema(t);else for(let r in t)this.addSchema(t[r],r)}function n$(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function i$(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let r in t){let e=t[r];e.keyword||(e.keyword=r),this.addKeyword(e)}}function o$(){let t={...this.opts};for(let r of Qy)delete t[r];return t}var s$={log(){},warn(){},error(){}};function a$(t){if(t===!1)return s$;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var l$=/^[a-z_$][a-z0-9_$:-]*$/i;function u$(t,r){let{RULES:e}=this;if(El.eachItem(t,i=>{if(e.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!l$.test(i))throw new Error(`Keyword ${i} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function Al(t,r,e){var i;let s=r==null?void 0:r.post;if(e&&s)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:a}=this,l=s?a.post:a.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},a.rules.push(l)),a.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:Ns.getJSONTypes(r.type),schemaType:Ns.getJSONTypes(r.schemaType)}};r.before?f$.call(this,l,f,r.before):l.rules.push(f),a.all[t]=f,(i=r.implements)===null||i===void 0||i.forEach(c=>this.addKeyword(c))}function f$(t,r,e){let i=t.rules.findIndex(s=>s.keyword===e);i>=0?t.rules.splice(i,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function c$(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=Jc(r)),t.validateSchema=this.compile(r,!0))}var p$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Jc(t){return{anyOf:[t,p$]}}});var Yc=me(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});var d$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Sl.default=d$});var rp=me(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.callRef=bi.getValidate=void 0;var m$=Is(),Xc=en(),Ar=Ne(),eo=Xr(),ep=Cl(),Ds=Et(),h$={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:i}=t,{baseId:s,schemaEnv:a,validateName:l,opts:f,self:c}=i;if(e==="#"||e==="#/")return d();let m=ep.resolveRef.call(c,a.root,s,e);if(m===void 0)throw new m$.MissingRefError(s,e);if(m instanceof ep.SchemaEnv)return b(m);return x(m);function d(){if(a===a.root)return Rs(t,l,a,a.$async);let k=r.scopeValue("root",{ref:a.root});return Rs(t,Ar._`${k}.validate`,a.root,a.root.$async)}function b(k){let E=tp(t,k);Rs(t,E,k,k.$async)}function x(k){let E=r.scopeValue("schema",f.code.source===!0?{ref:k,code:Ar.stringify(k)}:{ref:k}),I=r.name("valid"),N=t.subschema({schema:k,dataTypes:[],schemaPath:Ar.nil,topSchemaRef:E,errSchemaPath:e},I);t.mergeEvaluated(N),t.ok(I)}}};function tp(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Ar._`${e.scopeValue("wrapper",{ref:r})}.validate`}bi.getValidate=tp;function Rs(t,r,e,i){let{gen:s,it:a}=t,{allErrors:l,schemaEnv:f,opts:c}=a,m=c.passContext?eo.default.this:Ar.nil;i?d():b();function d(){if(!f.$async)throw new Error("async schema referenced by sync schema");let E=s.let("valid");s.try(()=>{s.code(Ar._`await ${Xc.callValidateCode(t,r,m)}`),k(r),l||s.assign(E,!0)},I=>{s.if(Ar._`!(${I} instanceof ${a.ValidationError})`,()=>s.throw(I)),x(I),l||s.assign(E,!1)}),t.ok(E)}function b(){t.result(Xc.callValidateCode(t,r,m),()=>k(r),()=>x(r))}function x(E){let I=Ar._`${E}.errors`;s.assign(eo.default.vErrors,Ar._`${eo.default.vErrors} === null ? ${I} : ${eo.default.vErrors}.concat(${I})`),s.assign(eo.default.errors,Ar._`${eo.default.vErrors}.length`)}function k(E){var I;if(!a.opts.unevaluated)return;let N=(I=e==null?void 0:e.validate)===null||I===void 0?void 0:I.evaluated;if(a.props!==!0)if(N&&!N.dynamicProps)N.props!==void 0&&(a.props=Ds.mergeEvaluated.props(s,N.props,a.props));else{let M=s.var("props",Ar._`${E}.evaluated.props`);a.props=Ds.mergeEvaluated.props(s,M,a.props,Ar.Name)}if(a.items!==!0)if(N&&!N.dynamicItems)N.items!==void 0&&(a.items=Ds.mergeEvaluated.items(s,N.items,a.items));else{let M=s.var("items",Ar._`${E}.evaluated.items`);a.items=Ds.mergeEvaluated.items(s,M,a.items,Ar.Name)}}}bi.callRef=Rs;bi.default=h$});var np=me(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});var g$=Yc(),y$=rp(),$$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",g$.default,y$.default];Pl.default=$$});var ip=me(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});var Ls=Ne(),Kn=Ls.operators,js={maximum:{okStr:"<=",ok:Kn.LTE,fail:Kn.GT},minimum:{okStr:">=",ok:Kn.GTE,fail:Kn.LT},exclusiveMaximum:{okStr:"<",ok:Kn.LT,fail:Kn.GTE},exclusiveMinimum:{okStr:">",ok:Kn.GT,fail:Kn.LTE}},b$={message:({keyword:t,schemaCode:r})=>Ls.str`should be ${js[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Ls._`{comparison: ${js[t].okStr}, limit: ${r}}`},v$={keyword:Object.keys(js),type:"number",schemaType:"number",$data:!0,error:b$,code(t){let{keyword:r,data:e,schemaCode:i}=t;t.fail$data(Ls._`${e} ${js[r].fail} ${i} || isNaN(${e})`)}};Fl.default=v$});var op=me(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});var jo=Ne(),k$={message:({schemaCode:t})=>jo.str`should be multiple of ${t}`,params:({schemaCode:t})=>jo._`{multipleOf: ${t}}`},w$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:k$,code(t){let{gen:r,data:e,schemaCode:i,it:s}=t,a=s.opts.multipleOfPrecision,l=r.let("res"),f=a?jo._`Math.abs(Math.round(${l}) - ${l}) > 1e-${a}`:jo._`${l} !== parseInt(${l})`;t.fail$data(jo._`(${i} === 0 || (${l} = ${e}/${i}, ${f}))`)}};Tl.default=w$});var sp=me(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});function x$(t){let r=t.length,e=0,i=0,s;for(;i<r;)e++,s=t.charCodeAt(i++),s>=55296&&s<=56319&&i<r&&(s=t.charCodeAt(i),(s&64512)===56320&&i++);return e}Il.default=x$});var ap=me(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});var Wn=Ne(),C$=sp(),A$={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return Wn.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>Wn._`{limit: ${t}}`},E$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:A$,code(t){let{keyword:r,data:e,schemaCode:i,it:s}=t,a=r==="maxLength"?Wn.operators.GT:Wn.operators.LT,l;if(s.opts.unicode===!1)l=Wn._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:C$.default,code:Wn._`require("ajv/dist/compile/ucs2length").default`});l=Wn._`${f}(${e})`}t.fail$data(Wn._`${l} ${a} ${i}`)}};Ol.default=E$});var lp=me(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});var _$=en(),Bs=Ne(),S$={message:({schemaCode:t})=>Bs.str`should match pattern "${t}"`,params:({schemaCode:t})=>Bs._`{pattern: ${t}}`},P$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:S$,code(t){let{gen:r,data:e,$data:i,schema:s,schemaCode:a}=t,l=i?Bs._`(new RegExp(${a}, "u"))`:_$.usePattern(r,s);t.fail$data(Bs._`!${l}.test(${e})`)}};ql.default=P$});var up=me(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var Bo=Ne(),F$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Bo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Bo._`{limit: ${t}}`},T$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:F$,code(t){let{keyword:r,data:e,schemaCode:i}=t,s=r==="maxProperties"?Bo.operators.GT:Bo.operators.LT;t.fail$data(Bo._`Object.keys(${e}).length ${s} ${i}`)}};Nl.default=T$});var fp=me(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var zo=en(),Mo=Ne(),I$=Or(),O$={message:({params:{missingProperty:t}})=>Mo.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>Mo._`{missingProperty: ${t}}`},q$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:O$,code(t){let{gen:r,schema:e,schemaCode:i,data:s,$data:a,it:l}=t,{opts:f}=l;if(!a&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?m():d(),f.strictRequired){let k=t.parentSchema.properties,{definedProperties:E}=t.it;for(let I of e)if((k==null?void 0:k[I])===void 0&&!E.has(I)){let N=l.schemaEnv.baseId+l.errSchemaPath,M=`required property "${I}" is not defined at "${N}" (strictRequired)`;I$.checkStrictMode(l,M,l.opts.strictRequired)}}function m(){if(c||a)t.block$data(Mo.nil,b);else for(let k of e)zo.checkReportMissingProp(t,k)}function d(){let k=r.let("missing");if(c||a){let E=r.let("valid",!0);t.block$data(E,()=>x(k,E)),t.ok(E)}else r.if(zo.checkMissingProp(t,e,k)),zo.reportMissingProp(t,k),r.else()}function b(){r.forOf("prop",i,k=>{t.setParams({missingProperty:k}),r.if(zo.noPropertyInData(r,s,k,f.ownProperties),()=>t.error())})}function x(k,E){t.setParams({missingProperty:k}),r.forOf(k,i,()=>{r.assign(E,zo.propertyInData(r,s,k,f.ownProperties)),r.if(Mo.not(E),()=>{t.error(),r.break()})},Mo.nil)}}};Dl.default=q$});var cp=me(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var Vo=Ne(),N$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return Vo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Vo._`{limit: ${t}}`},D$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:N$,code(t){let{keyword:r,data:e,schemaCode:i}=t,s=r==="maxItems"?Vo.operators.GT:Vo.operators.LT;t.fail$data(Vo._`${e}.length ${s} ${i}`)}};Rl.default=D$});var pp=me(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var Ll=Zi(),jt=Ne(),R$=Io(),L$={message:({params:{i:t,j:r}})=>jt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>jt._`{i: ${t}, j: ${r}}`},j$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:L$,code(t){let{gen:r,data:e,$data:i,schema:s,parentSchema:a,schemaCode:l,it:f}=t;if(!i&&!s)return;let c=r.let("valid"),m=a.items?Ll.getSchemaTypes(a.items):[];t.block$data(c,d,jt._`${l} === false`),t.ok(c);function d(){let E=r.let("i",jt._`${e}.length`),I=r.let("j");t.setParams({i:E,j:I}),r.assign(c,!0),r.if(jt._`${E} > 1`,()=>(b()?x:k)(E,I))}function b(){return m.length>0&&!m.some(E=>E==="object"||E==="array")}function x(E,I){let N=r.name("item"),M=Ll.checkDataTypes(m,N,f.opts.strict,Ll.DataType.Wrong),Y=r.const("indices",jt._`{}`);r.for(jt._`;${E}--;`,()=>{r.let(N,jt._`${e}[${E}]`),r.if(M,jt._`continue`),m.length>1&&r.if(jt._`typeof ${N} == "string"`,jt._`${N} += "_"`),r.if(jt._`typeof ${Y}[${N}] == "number"`,()=>{r.assign(I,jt._`${Y}[${N}]`),t.error(),r.assign(c,!1).break()}).code(jt._`${Y}[${N}] = ${E}`)})}function k(E,I){let N=t.gen.scopeValue("func",{ref:R$,code:jt._`require("ajv/dist/compile/equal")`}),M=r.name("outer");r.label(M).for(jt._`;${E}--;`,()=>r.for(jt._`${I} = ${E}; ${I}--;`,()=>r.if(jt._`${N}(${e}[${E}], ${e}[${I}])`,()=>{t.error(),r.assign(c,!1).break(M)})))}}};jl.default=j$});var dp=me(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var Bl=Ne(),B$=Io(),z$={message:"should be equal to constant",params:({schemaCode:t})=>Bl._`{allowedValue: ${t}}`},M$={keyword:"const",$data:!0,error:z$,code(t){let r=t.gen.scopeValue("func",{ref:B$,code:Bl._`require("ajv/dist/compile/equal")`});t.fail$data(Bl._`!${r}(${t.data}, ${t.schemaCode})`)}};zl.default=M$});var mp=me(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});var to=Ne(),V$=Io(),U$={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>to._`{allowedValues: ${t}}`},H$={keyword:"enum",schemaType:"array",$data:!0,error:U$,code(t){let{gen:r,data:e,$data:i,schema:s,schemaCode:a,it:l}=t;if(!i&&s.length===0)throw new Error("enum must have non-empty array");let f=s.length>=l.opts.loopEnum,c=t.gen.scopeValue("func",{ref:V$,code:to._`require("ajv/dist/compile/equal")`}),m;if(f||i)m=r.let("valid"),t.block$data(m,d);else{if(!Array.isArray(s))throw new Error("ajv implementation error");let x=r.const("vSchema",a);m=to.or(...s.map((k,E)=>b(x,E)))}t.pass(m);function d(){r.assign(m,!1),r.forOf("v",a,x=>r.if(to._`${c}(${e}, ${x})`,()=>r.assign(m,!0).break()))}function b(x,k){let E=s[k];return E&&typeof E=="object"?to._`${c}(${e}, ${x}[${k}])`:to._`${e} === ${E}`}}};Ml.default=H$});var hp=me(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var G$=ip(),K$=op(),W$=ap(),Z$=lp(),J$=up(),Q$=fp(),Y$=cp(),X$=pp(),eb=dp(),tb=mp(),rb=[G$.default,K$.default,W$.default,Z$.default,J$.default,Q$.default,Y$.default,X$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},eb.default,tb.default];Vl.default=rb});var gp=me(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var vi=Ne(),nb=gi(),ib=Et(),ob=Or(),sb={message:({params:{len:t}})=>vi.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>vi._`{limit: ${t}}`},ab={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sb,code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t,{items:l}=i;if(!Array.isArray(l)){ob.checkStrictMode(a,'"additionalItems" is ignored when "items" is not an array of schemas');return}a.items=!0;let f=r.const("len",vi._`${s}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(vi._`${f} <= ${l.length}`);else if(typeof e=="object"&&!ib.alwaysValidSchema(a,e)){let m=r.var("valid",vi._`${f} <= ${l.length}`);r.if(vi.not(m),()=>c(m)),t.ok(m)}function c(m){r.forRange("i",l.length,f,d=>{t.subschema({keyword:"additionalItems",dataProp:d,dataPropType:nb.Type.Num},m),a.allErrors||r.if(vi.not(m),()=>r.break())})}}};Ul.default=ab});var $p=me(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});var yp=Ne(),Hl=Et(),lb=Or(),ub=en(),fb={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:i}=t;if(Array.isArray(e))i.opts.unevaluated&&e.length&&i.items!==!0&&(i.items=Hl.mergeEvaluated.items(r,e.length,i.items)),s(e);else{if(i.items=!0,Hl.alwaysValidSchema(i,e))return;t.ok(ub.validateArray(t))}function s(a){let{parentSchema:l,data:f}=t;if(i.opts.strictTuples&&!cb(a.length,l)){let d=`"items" is ${a.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;lb.checkStrictMode(i,d,i.opts.strictTuples)}let c=r.name("valid"),m=r.const("len",yp._`${f}.length`);a.forEach((d,b)=>{Hl.alwaysValidSchema(i,d)||(r.if(yp._`${m} > ${b}`,()=>t.subschema({keyword:"items",schemaProp:b,dataProp:b},c)),t.ok(c))})}}};function cb(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}Gl.default=fb});var vp=me(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var nn=Ne(),pb=gi(),db=Et(),bp=Or(),mb={message:({params:{min:t,max:r}})=>r===void 0?nn.str`should contain at least ${t} valid item(s)`:nn.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?nn._`{minContains: ${t}}`:nn._`{minContains: ${t}, maxContains: ${r}}`},hb={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:mb,code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t,l,f,{minContains:c,maxContains:m}=i;a.opts.next?(l=c===void 0?1:c,f=m):l=1;let d=r.const("len",nn._`${s}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){bp.checkStrictMode(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){bp.checkStrictMode(a,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(db.alwaysValidSchema(a,e)){let E=nn._`${d} >= ${l}`;f!==void 0&&(E=nn._`${E} && ${d} <= ${f}`),t.pass(E);return}a.items=!0;let b=r.name("valid");if(f===void 0&&l===1)x(b,()=>r.if(b,()=>r.break()));else{r.let(b,!1);let E=r.name("_valid"),I=r.let("count",0);x(E,()=>r.if(E,()=>k(I)))}t.result(b,()=>t.reset());function x(E,I){r.forRange("i",0,d,N=>{t.subschema({keyword:"contains",dataProp:N,dataPropType:pb.Type.Num,compositeRule:!0},E),I()})}function k(E){r.code(nn._`${E}++`),f===void 0?r.if(nn._`${E} >= ${l}`,()=>r.assign(b,!0).break()):(r.if(nn._`${E} > ${f}`,()=>r.assign(b,!1).break()),l===1?r.assign(b,!0):r.if(nn._`${E} >= ${l}`,()=>r.assign(b,!0)))}}};Kl.default=hb});var xp=me($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.validateSchemaDeps=$n.validatePropertyDeps=$n.error=void 0;var Wl=Ne(),gb=Et(),Uo=en();$n.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let i=r===1?"property":"properties";return Wl.str`should have ${i} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:i}})=>Wl._`{property: ${t},
1
+ var Eh=Object.create;var $s=Object.defineProperty;var _h=Object.getOwnPropertyDescriptor;var Sh=Object.getOwnPropertyNames;var Ph=Object.getPrototypeOf,Th=Object.prototype.hasOwnProperty;var me=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Bf=(t,r)=>{for(var e in r)$s(t,e,{get:r[e],enumerable:!0})},Mf=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Sh(r))!Th.call(t,s)&&s!==e&&$s(t,s,{get:()=>r[s],enumerable:!(i=_h(r,s))||i.enumerable});return t};var Rr=(t,r,e)=>(e=t!=null?Eh(Ph(t)):{},Mf(r||!t||!t.__esModule?$s(e,"default",{value:t,enumerable:!0}):e,t)),Fh=t=>Mf($s({},"__esModule",{value:!0}),t);var Va=me(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.getRules=Ui.isJSONType=void 0;var Ih=["string","number","integer","boolean","null","object","array"],Oh=new Set(Ih);function qh(t){return typeof t=="string"&&Oh.has(t)}Ui.isJSONType=qh;function Nh(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}Ui.getRules=Nh});var Ua=me(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.shouldUseRule=Gn.shouldUseGroup=Gn.schemaHasRulesForType=void 0;function Dh({schema:t,self:r},e){let i=r.RULES.types[e];return i&&i!==!0&&zf(t,i)}Gn.schemaHasRulesForType=Dh;function zf(t,r){return r.rules.some(e=>Vf(t,e))}Gn.shouldUseGroup=zf;function Vf(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(i=>t[i]!==void 0))}Gn.shouldUseRule=Vf});var bs=me(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.getProperty=ut.safeStringify=ut.stringify=ut.strConcat=ut.addCodeArg=ut.str=ut._=ut.nil=ut._Code=ut.Name=ut.IDENTIFIER=ut._CodeOrName=void 0;var xo=class{};ut._CodeOrName=xo;ut.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var pi=class extends xo{constructor(r){if(super(),!ut.IDENTIFIER.test(r))throw new Error("CodeGen: name must be a valid identifier");this.str=r}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};ut.Name=pi;var bn=class extends xo{constructor(r){super(),this._items=typeof r=="string"?[r]:r}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let r=this._items[0];return r===""||r==='""'}get str(){var r;return(r=this._str)!==null&&r!==void 0?r:this._str=this._items.reduce((e,i)=>`${e}${i}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,i)=>(i instanceof pi&&(e[i.str]=(e[i.str]||0)+1),e),{})}};ut._Code=bn;ut.nil=new bn("");function Uf(t,...r){let e=[t[0]],i=0;for(;i<r.length;)Ga(e,r[i]),e.push(t[++i]);return new bn(e)}ut._=Uf;var Ha=new bn("+");function Hf(t,...r){let e=[Co(t[0])],i=0;for(;i<r.length;)e.push(Ha),Ga(e,r[i]),e.push(Ha,Co(t[++i]));return Rh(e),new bn(e)}ut.str=Hf;function Ga(t,r){r instanceof bn?t.push(...r._items):r instanceof pi?t.push(r):t.push(Bh(r))}ut.addCodeArg=Ga;function Rh(t){let r=1;for(;r<t.length-1;){if(t[r]===Ha){let e=Lh(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function Lh(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof pi||t[t.length-1]!=='"'?void 0:typeof r!="string"?`${t.slice(0,-1)}${r}"`:r[0]==='"'?t.slice(0,-1)+r.slice(1):void 0;if(typeof r=="string"&&r[0]==='"'&&!(t instanceof pi))return`"${t}${r.slice(1)}`}function jh(t,r){return r.emptyStr()?t:t.emptyStr()?r:Hf`${t}${r}`}ut.strConcat=jh;function Bh(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Co(Array.isArray(t)?t.join(","):t)}function Mh(t){return new bn(Co(t))}ut.stringify=Mh;function Co(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}ut.safeStringify=Co;function zh(t){return typeof t=="string"&&ut.IDENTIFIER.test(t)?new bn(`.${t}`):Uf`[${t}]`}ut.getProperty=zh});var Ja=me(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.ValueScope=dr.ValueScopeName=dr.Scope=dr.varKinds=dr.UsedValueState=void 0;var Er=bs(),Ka=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},Wa;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Wa=dr.UsedValueState||(dr.UsedValueState={}));dr.varKinds={const:new Er.Name("const"),let:new Er.Name("let"),var:new Er.Name("var")};var ws=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof Er.Name?r:this.name(r)}name(r){return new Er.Name(this._newName(r))}_newName(r){let e=this._names[r]||this._nameGroup(r);return`${r}${e.index++}`}_nameGroup(r){var e,i;if(((i=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||i===void 0?void 0:i.has(r))||this._prefixes&&!this._prefixes.has(r))throw new Error(`CodeGen: prefix "${r}" is not allowed in this scope`);return this._names[r]={prefix:r,index:0}}};dr.Scope=ws;var ks=class extends Er.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:i}){this.value=r,this.scopePath=Er._`.${new Er.Name(e)}[${i}]`}};dr.ValueScopeName=ks;var Vh=Er._`\n`,Za=class extends ws{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?Vh:Er.nil}}get(){return this._scope}name(r){return new ks(r,this._newName(r))}value(r,e){var i;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let s=this.toName(r),{prefix:a}=s,l=(i=e.key)!==null&&i!==void 0?i:e.ref,f=this._values[a];if(f){let d=f.get(l);if(d)return d}else f=this._values[a]=new Map;f.set(l,s);let c=this._scope[a]||(this._scope[a]=[]),m=c.length;return c[m]=e.ref,s.setValue(e,{property:a,itemIndex:m}),s}getValue(r,e){let i=this._values[r];if(!!i)return i.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,i=>{if(i.scopePath===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return Er._`${r}${i.scopePath}`})}scopeCode(r=this._values,e,i){return this._reduceValues(r,s=>{if(s.value===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return s.value.code},e,i)}_reduceValues(r,e,i={},s){let a=Er.nil;for(let l in r){let f=r[l];if(!f)continue;let c=i[l]=i[l]||new Map;f.forEach(m=>{if(c.has(m))return;c.set(m,Wa.Started);let d=e(m);if(d){let $=this.opts.es5?dr.varKinds.var:dr.varKinds.const;a=Er._`${a}${$} ${m} = ${d};${this.opts._n}`}else if(d=s==null?void 0:s(m))a=Er._`${a}${d}${this.opts._n}`;else throw new Ka(m);c.set(m,Wa.Completed)})}return a}};dr.ValueScope=Za});var Ne=me(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.or=De.and=De.not=De.CodeGen=De.operators=De.varKinds=De.ValueScopeName=De.ValueScope=De.Scope=De.Name=De.stringify=De.getProperty=De.nil=De.strConcat=De.str=De._=void 0;var Ue=bs(),rn=Ja(),hi=bs();Object.defineProperty(De,"_",{enumerable:!0,get:function(){return hi._}});Object.defineProperty(De,"str",{enumerable:!0,get:function(){return hi.str}});Object.defineProperty(De,"strConcat",{enumerable:!0,get:function(){return hi.strConcat}});Object.defineProperty(De,"nil",{enumerable:!0,get:function(){return hi.nil}});Object.defineProperty(De,"getProperty",{enumerable:!0,get:function(){return hi.getProperty}});Object.defineProperty(De,"stringify",{enumerable:!0,get:function(){return hi.stringify}});Object.defineProperty(De,"Name",{enumerable:!0,get:function(){return hi.Name}});var As=Ja();Object.defineProperty(De,"Scope",{enumerable:!0,get:function(){return As.Scope}});Object.defineProperty(De,"ValueScope",{enumerable:!0,get:function(){return As.ValueScope}});Object.defineProperty(De,"ValueScopeName",{enumerable:!0,get:function(){return As.ValueScopeName}});Object.defineProperty(De,"varKinds",{enumerable:!0,get:function(){return As.varKinds}});De.operators={GT:new Ue._Code(">"),GTE:new Ue._Code(">="),LT:new Ue._Code("<"),LTE:new Ue._Code("<="),EQ:new Ue._Code("==="),NEQ:new Ue._Code("!=="),NOT:new Ue._Code("!"),OR:new Ue._Code("||"),AND:new Ue._Code("&&"),ADD:new Ue._Code("+")};var Ln=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},Qa=class extends Ln{constructor(r,e,i){super(),this.varKind=r,this.name=e,this.rhs=i}render({es5:r,_n:e}){let i=r?rn.varKinds.var:this.varKind,s=this.rhs===void 0?"":` = ${this.rhs}`;return`${i} ${this.name}${s};`+e}optimizeNames(r,e){if(!!r[this.name.str])return this.rhs&&(this.rhs=Gi(this.rhs,r,e)),this}get names(){return this.rhs instanceof Ue._CodeOrName?this.rhs.names:{}}},vs=class extends Ln{constructor(r,e,i){super(),this.lhs=r,this.rhs=e,this.sideEffects=i}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Ue.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=Gi(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Ue.Name?{}:{...this.lhs.names};return Cs(r,this.rhs)}},Xa=class extends vs{constructor(r,e,i,s){super(r,i,s),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},Ya=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},el=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},tl=class extends Ln{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},rl=class extends Ln{constructor(r){super(),this.code=r}render({_n:r}){return`${this.code};`+r}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(r,e){return this.code=Gi(this.code,r,e),this}get names(){return this.code instanceof Ue._CodeOrName?this.code.names:{}}},Ao=class extends Ln{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,i)=>e+i.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let i=r[e].optimizeNodes();Array.isArray(i)?r.splice(e,1,...i):i?r[e]=i:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:i}=this,s=i.length;for(;s--;){let a=i[s];a.optimizeNames(r,e)||(Uh(r,a.names),i.splice(s,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>mi(r,e.names),{})}},jn=class extends Ao{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},nl=class extends Ao{},Hi=class extends jn{};Hi.kind="else";var nn=class extends jn{constructor(r,e){super(e),this.condition=r}render(r){let e=`if(${this.condition})`+super.render(r);return this.else&&(e+="else "+this.else.render(r)),e}optimizeNodes(){super.optimizeNodes();let r=this.condition;if(r===!0)return this.nodes;let e=this.else;if(e){let i=e.optimizeNodes();e=this.else=Array.isArray(i)?new Hi(i):i}if(e)return r===!1?e instanceof nn?e:e.nodes:this.nodes.length?this:new nn(Gf(r),e instanceof nn?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var i;if(this.else=(i=this.else)===null||i===void 0?void 0:i.optimizeNames(r,e),!!(super.optimizeNames(r,e)||this.else))return this.condition=Gi(this.condition,r,e),this}get names(){let r=super.names;return Cs(r,this.condition),this.else&&mi(r,this.else.names),r}};nn.kind="if";var di=class extends jn{};di.kind="for";var il=class extends di{constructor(r){super(),this.iteration=r}render(r){return`for(${this.iteration})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iteration=Gi(this.iteration,r,e),this}get names(){return mi(super.names,this.iteration.names)}},ol=class extends di{constructor(r,e,i,s){super(),this.varKind=r,this.name=e,this.from=i,this.to=s}render(r){let e=r.es5?rn.varKinds.var:this.varKind,{name:i,from:s,to:a}=this;return`for(${e} ${i}=${s}; ${i}<${a}; ${i}++)`+super.render(r)}get names(){let r=Cs(super.names,this.from);return Cs(r,this.to)}},xs=class extends di{constructor(r,e,i,s){super(),this.loop=r,this.varKind=e,this.name=i,this.iterable=s}render(r){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iterable=Gi(this.iterable,r,e),this}get names(){return mi(super.names,this.iterable.names)}},Eo=class extends jn{constructor(r,e,i){super(),this.name=r,this.args=e,this.async=i}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};Eo.kind="func";var _o=class extends Ao{render(r){return"return "+super.render(r)}};_o.kind="return";var sl=class extends jn{render(r){let e="try"+super.render(r);return this.catch&&(e+=this.catch.render(r)),this.finally&&(e+=this.finally.render(r)),e}optimizeNodes(){var r,e;return super.optimizeNodes(),(r=this.catch)===null||r===void 0||r.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(r,e){var i,s;return super.optimizeNames(r,e),(i=this.catch)===null||i===void 0||i.optimizeNames(r,e),(s=this.finally)===null||s===void 0||s.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&mi(r,this.catch.names),this.finally&&mi(r,this.finally.names),r}},So=class extends jn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};So.kind="catch";var Po=class extends jn{render(r){return"finally"+super.render(r)}};Po.kind="finally";var al=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
+ `:""},this._extScope=r,this._scope=new rn.Scope({parent:r}),this._nodes=[new nl]}toString(){return this._root.render(this.opts)}name(r){return this._scope.name(r)}scopeName(r){return this._extScope.name(r)}scopeValue(r,e){let i=this._extScope.value(r,e);return(this._values[i.prefix]||(this._values[i.prefix]=new Set)).add(i),i}getScopeValue(r,e){return this._extScope.getValue(r,e)}scopeRefs(r){return this._extScope.scopeRefs(r,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(r,e,i,s){let a=this._scope.toName(e);return i!==void 0&&s&&(this._constants[a.str]=i),this._leafNode(new Qa(r,a,i)),a}const(r,e,i){return this._def(rn.varKinds.const,r,e,i)}let(r,e,i){return this._def(rn.varKinds.let,r,e,i)}var(r,e,i){return this._def(rn.varKinds.var,r,e,i)}assign(r,e,i){return this._leafNode(new vs(r,e,i))}add(r,e){return this._leafNode(new Xa(r,De.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Ue.nil&&this._leafNode(new rl(r)),this}object(...r){let e=["{"];for(let[i,s]of r)e.length>1&&e.push(","),e.push(i),(i!==s||this.opts.es5)&&(e.push(":"),Ue.addCodeArg(e,s));return e.push("}"),new Ue._Code(e)}if(r,e,i){if(this._blockNode(new nn(r)),e&&i)this.code(e).else().code(i).endIf();else if(e)this.code(e).endIf();else if(i)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(r){return this._elseNode(new nn(r))}else(){return this._elseNode(new Hi)}endIf(){return this._endBlockNode(nn,Hi)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new il(r),e)}forRange(r,e,i,s,a=this.opts.es5?rn.varKinds.var:rn.varKinds.let){let l=this._scope.toName(r);return this._for(new ol(a,l,e,i),()=>s(l))}forOf(r,e,i,s=rn.varKinds.const){let a=this._scope.toName(r);if(this.opts.es5){let l=e instanceof Ue.Name?e:this.var("_arr",e);return this.forRange("_i",0,Ue._`${l}.length`,f=>{this.var(a,Ue._`${l}[${f}]`),i(a)})}return this._for(new xs("of",s,a,e),()=>i(a))}forIn(r,e,i,s=this.opts.es5?rn.varKinds.var:rn.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Ue._`Object.keys(${e})`,i);let a=this._scope.toName(r);return this._for(new xs("in",s,a,e),()=>i(a))}endFor(){return this._endBlockNode(di)}label(r){return this._leafNode(new Ya(r))}break(r){return this._leafNode(new el(r))}return(r){let e=new _o;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_o)}try(r,e,i){if(!e&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let s=new sl;if(this._blockNode(s),this.code(r),e){let a=this.name("e");this._currNode=s.catch=new So(a),e(a)}return i&&(this._currNode=s.finally=new Po,this.code(i)),this._endBlockNode(So,Po)}throw(r){return this._leafNode(new tl(r))}block(r,e){return this._blockStarts.push(this._nodes.length),r&&this.code(r).endBlock(e),this}endBlock(r){let e=this._blockStarts.pop();if(e===void 0)throw new Error("CodeGen: not in self-balancing block");let i=this._nodes.length-e;if(i<0||r!==void 0&&i!==r)throw new Error(`CodeGen: wrong number of nodes: ${i} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Ue.nil,i,s){return this._blockNode(new Eo(r,e,i)),s&&this.code(s).endFunc(),this}endFunc(){return this._endBlockNode(Eo)}optimize(r=1){for(;r-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(r){return this._currNode.nodes.push(r),this}_blockNode(r){this._currNode.nodes.push(r),this._nodes.push(r)}_endBlockNode(r,e){let i=this._currNode;if(i instanceof r||e&&i instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${r.kind}/${e.kind}`:r.kind}"`)}_elseNode(r){let e=this._currNode;if(!(e instanceof nn))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=r,this}get _root(){return this._nodes[0]}get _currNode(){let r=this._nodes;return r[r.length-1]}set _currNode(r){let e=this._nodes;e[e.length-1]=r}};De.CodeGen=al;function mi(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function Cs(t,r){return r instanceof Ue._CodeOrName?mi(t,r.names):t}function Gi(t,r,e){if(t instanceof Ue.Name)return i(t);if(!s(t))return t;return new Ue._Code(t._items.reduce((a,l)=>(l instanceof Ue.Name&&(l=i(l)),l instanceof Ue._Code?a.push(...l._items):a.push(l),a),[]));function i(a){let l=e[a.str];return l===void 0||r[a.str]!==1?a:(delete r[a.str],l)}function s(a){return a instanceof Ue._Code&&a._items.some(l=>l instanceof Ue.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function Uh(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function Gf(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Ue._`!${ll(t)}`}De.not=Gf;var Hh=Kf(De.operators.AND);function Gh(...t){return t.reduce(Hh)}De.and=Gh;var Kh=Kf(De.operators.OR);function Wh(...t){return t.reduce(Kh)}De.or=Wh;function Kf(t){return(r,e)=>r===Ue.nil?e:e===Ue.nil?r:Ue._`${ll(r)} ${t} ${ll(e)}`}function ll(t){return t instanceof Ue.Name?t:Ue._`(${t})`}});var on=me(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var rr=Ne(),Zh={data:new rr.Name("data"),valCxt:new rr.Name("valCxt"),dataPath:new rr.Name("dataPath"),parentData:new rr.Name("parentData"),parentDataProperty:new rr.Name("parentDataProperty"),rootData:new rr.Name("rootData"),dynamicAnchors:new rr.Name("dynamicAnchors"),vErrors:new rr.Name("vErrors"),errors:new rr.Name("errors"),this:new rr.Name("this"),self:new rr.Name("self"),scope:new rr.Name("scope"),json:new rr.Name("json"),jsonPos:new rr.Name("jsonPos"),jsonLen:new rr.Name("jsonLen"),jsonPart:new rr.Name("jsonPart")};ul.default=Zh});var To=me(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.extendErrors=nr.resetErrorsCount=nr.reportExtraError=nr.reportError=nr.keyword$DataError=nr.keywordError=void 0;var He=Ne(),ir=on();nr.keywordError={message:({keyword:t})=>He.str`should pass "${t}" keyword validation`};nr.keyword$DataError={message:({keyword:t,schemaType:r})=>r?He.str`"${t}" keyword must be ${r} ($data)`:He.str`"${t}" keyword is invalid ($data)`};function Jh(t,r=nr.keywordError,e){let{it:i}=t,{gen:s,compositeRule:a,allErrors:l}=i,f=Jf(t,r);e??(a||l)?Wf(s,f):Zf(i,He._`[${f}]`)}nr.reportError=Jh;function Qh(t,r=nr.keywordError){let{it:e}=t,{gen:i,compositeRule:s,allErrors:a}=e,l=Jf(t,r);Wf(i,l),s||a||Zf(e,ir.default.vErrors)}nr.reportExtraError=Qh;function Xh(t,r){t.assign(ir.default.errors,r),t.if(He._`${ir.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(He._`${ir.default.vErrors}.length`,r),()=>t.assign(ir.default.vErrors,null)))}nr.resetErrorsCount=Xh;function Yh({gen:t,keyword:r,schemaValue:e,data:i,errsCount:s,it:a}){if(s===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",s,ir.default.errors,f=>{t.const(l,He._`${ir.default.vErrors}[${f}]`),t.if(He._`${l}.dataPath === undefined`,()=>t.assign(He._`${l}.dataPath`,He.strConcat(ir.default.dataPath,a.errorPath))),t.assign(He._`${l}.schemaPath`,He.str`${a.errSchemaPath}/${r}`),a.opts.verbose&&(t.assign(He._`${l}.schema`,e),t.assign(He._`${l}.data`,i))})}nr.extendErrors=Yh;function Wf(t,r){let e=t.const("err",r);t.if(He._`${ir.default.vErrors} === null`,()=>t.assign(ir.default.vErrors,He._`[${e}]`),He._`${ir.default.vErrors}.push(${e})`),t.code(He._`${ir.default.errors}++`)}function Zf(t,r){let{gen:e,validateName:i,schemaEnv:s}=t;s.$async?e.throw(He._`new ${t.ValidationError}(${r})`):(e.assign(He._`${i}.errors`,r),e.return(!1))}var wn={keyword:new He.Name("keyword"),schemaPath:new He.Name("schemaPath"),params:new He.Name("params"),propertyName:new He.Name("propertyName"),message:new He.Name("message"),schema:new He.Name("schema"),parentSchema:new He.Name("parentSchema"),instancePath:new He.Name("instancePath")};function Jf(t,r){let{createErrors:e,opts:i}=t.it;return e===!1?He._`{}`:(i.jtd&&!i.ajvErrors?eg:tg)(t,r)}function eg(t,{message:r}){let{gen:e,keyword:i,it:s}=t,{errorPath:a,errSchemaPath:l,opts:f}=s,c=[[wn.instancePath,He.strConcat(ir.default.dataPath,a)],[wn.schemaPath,He.str`${l}/${i}`]];return f.messages&&c.push([wn.message,typeof r=="function"?r(t):r]),e.object(...c)}function tg(t,r){let{gen:e,keyword:i,data:s,schemaValue:a,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:m,errSchemaPath:d,propertyName:$,opts:E}=l,{params:k,message:x}=r,I=[[wn.keyword,i],[ir.default.dataPath,He.strConcat(ir.default.dataPath,m)],[wn.schemaPath,He.str`${d}/${i}`],[wn.params,typeof k=="function"?k(t):k||He._`{}`]];return $&&I.push([wn.propertyName,$]),E.messages&&I.push([wn.message,typeof x=="function"?x(t):x]),E.verbose&&I.push([wn.schema,a],[wn.parentSchema,He._`${f}${c}`],[ir.default.data,s]),e.object(...I)}});var Xf=me(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.boolOrEmptySchema=Ki.topBoolOrEmptySchema=void 0;var rg=To(),ng=Ne(),ig=on(),og={message:"boolean schema is false"};function sg(t){let{gen:r,schema:e,validateName:i}=t;e===!1?Qf(t,!1):typeof e=="object"&&e.$async===!0?r.return(ig.default.data):(r.assign(ng._`${i}.errors`,null),r.return(!0))}Ki.topBoolOrEmptySchema=sg;function ag(t,r){let{gen:e,schema:i}=t;i===!1?(e.var(r,!1),Qf(t)):e.var(r,!0)}Ki.boolOrEmptySchema=ag;function Qf(t,r){let{gen:e,data:i}=t,s={gen:e,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};rg.reportError(s,og,r)}});var ec=me(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.assignDefaults=void 0;var Wi=Ne(),lg=Lr();function ug(t,r){let{properties:e,items:i}=t.schema;if(r==="object"&&e)for(let s in e)Yf(t,s,e[s].default);else r==="array"&&Array.isArray(i)&&i.forEach((s,a)=>Yf(t,a,s.default))}Es.assignDefaults=ug;function Yf(t,r,e){let{gen:i,compositeRule:s,data:a,opts:l}=t;if(e===void 0)return;let f=Wi._`${a}${Wi.getProperty(r)}`;if(s){lg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=Wi._`${f} === undefined`;l.useDefaults==="empty"&&(c=Wi._`${c} || ${f} === null || ${f} === ""`),i.if(c,Wi._`${f} = ${Wi.stringify(e)}`)}});var yi=me(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.applySubschema=gi.Type=void 0;var fg=Lr(),tc=_t(),or=Ne(),rc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(rc=gi.Type||(gi.Type={}));function cg(t,r,e){let i=pg(t,r);dg(i,t,r),mg(i,r);let s={...t,...i,items:void 0,props:void 0};return fg.subschemaCode(s,e),s}gi.applySubschema=cg;function pg(t,{keyword:r,schemaProp:e,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:l}){if(r!==void 0&&i!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(r!==void 0){let f=t.schema[r];return e===void 0?{schema:f,schemaPath:or._`${t.schemaPath}${or.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:or._`${t.schemaPath}${or.getProperty(r)}${or.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${tc.escapeFragment(e)}`}}if(i!==void 0){if(s===void 0||a===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:l,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}function dg(t,r,{dataProp:e,dataPropType:i,data:s,dataTypes:a,propertyName:l}){if(s!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:f}=r;if(e!==void 0){let{errorPath:m,dataPathArr:d,opts:$}=r,E=f.let("data",or._`${r.data}${or.getProperty(e)}`,!0);c(E),t.errorPath=or.str`${m}${hg(e,i,$.jsPropertySyntax)}`,t.parentDataProperty=or._`${e}`,t.dataPathArr=[...d,t.parentDataProperty]}if(s!==void 0){let m=s instanceof or.Name?s:f.let("data",s,!0);c(m),l!==void 0&&(t.propertyName=l)}a&&(t.dataTypes=a);function c(m){t.data=m,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,m]}}function mg(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:i,createErrors:s,allErrors:a}){i!==void 0&&(t.compositeRule=i),s!==void 0&&(t.createErrors=s),a!==void 0&&(t.allErrors=a),t.jtdDiscriminator=r,t.jtdMetadata=e}function hg(t,r,e){if(t instanceof or.Name){let i=r===rc.Num;return e?i?or._`"[" + ${t} + "]"`:or._`"['" + ${t} + "']"`:i?or._`"/" + ${t}`:or._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?or.getProperty(t).toString():"/"+tc.escapeJsonPointer(t)}});var sn=me(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.validateUnion=ft.validateArray=ft.usePattern=ft.callValidateCode=ft.schemaProperties=ft.allSchemaProperties=ft.noPropertyInData=ft.propertyInData=ft.isOwnProperty=ft.hasPropFunc=ft.reportMissingProp=ft.checkMissingProp=ft.checkReportMissingProp=void 0;var vt=Ne(),nc=_t(),gg=yi(),Kn=on();function yg(t,r){let{gen:e,data:i,it:s}=t;e.if(cl(e,i,r,s.opts.ownProperties),()=>{t.setParams({missingProperty:vt._`${r}`},!0),t.error()})}ft.checkReportMissingProp=yg;function $g({gen:t,data:r,it:{opts:e}},i,s){return vt.or(...i.map(a=>vt.and(cl(t,r,a,e.ownProperties),vt._`${s} = ${a}`)))}ft.checkMissingProp=$g;function bg(t,r){t.setParams({missingProperty:r},!0),t.error()}ft.reportMissingProp=bg;function ic(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:vt._`Object.prototype.hasOwnProperty`})}ft.hasPropFunc=ic;function fl(t,r,e){return vt._`${ic(t)}.call(${r}, ${e})`}ft.isOwnProperty=fl;function wg(t,r,e,i){let s=vt._`${r}${vt.getProperty(e)} !== undefined`;return i?vt._`${s} && ${fl(t,r,e)}`:s}ft.propertyInData=wg;function cl(t,r,e,i){let s=vt._`${r}${vt.getProperty(e)} === undefined`;return i?vt.or(s,vt.not(fl(t,r,e))):s}ft.noPropertyInData=cl;function oc(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}ft.allSchemaProperties=oc;function kg(t,r){return oc(r).filter(e=>!nc.alwaysValidSchema(t,r[e]))}ft.schemaProperties=kg;function vg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:i,schemaPath:s,errorPath:a},it:l},f,c,m){let d=m?vt._`${t}, ${r}, ${i}${s}`:r,$=[[Kn.default.dataPath,vt.strConcat(Kn.default.dataPath,a)],[Kn.default.parentData,l.parentData],[Kn.default.parentDataProperty,l.parentDataProperty],[Kn.default.rootData,Kn.default.rootData]];l.opts.dynamicRef&&$.push([Kn.default.dynamicAnchors,Kn.default.dynamicAnchors]);let E=vt._`${d}, ${e.object(...$)}`;return c!==vt.nil?vt._`${f}.call(${c}, ${E})`:vt._`${f}(${E})`}ft.callValidateCode=vg;function xg(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:vt._`new RegExp(${r}, "u")`})}ft.usePattern=xg;function Cg(t){let{gen:r,data:e,keyword:i,it:s}=t,a=r.name("valid");if(s.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(a,!0),l(()=>r.break()),a;function l(f){let c=r.const("len",vt._`${e}.length`);r.forRange("i",0,c,m=>{t.subschema({keyword:i,dataProp:m,dataPropType:gg.Type.Num},a),r.if(vt.not(a),f)})}}ft.validateArray=Cg;function Ag(t){let{gen:r,schema:e,keyword:i,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>nc.alwaysValidSchema(s,c))&&!s.opts.unevaluated)return;let l=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((c,m)=>{let d=t.subschema({keyword:i,schemaProp:m,compositeRule:!0},f);r.assign(l,vt._`${l} || ${f}`),t.mergeValidEvaluated(d,f)||r.if(vt.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}ft.validateUnion=Ag});var uc=me(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.keywordCode=void 0;var Eg=Fo(),_g=To(),Sg=sn(),mr=Ne(),$i=on();function Pg(t,r,e,i){let s=new Eg.default(t,e,r);"code"in e?e.code(s,i):s.$data&&e.validate?sc(s,e):"macro"in e?Tg(s,e):(e.compile||e.validate)&&sc(s,e)}_s.keywordCode=Pg;function Tg(t,r){let{gen:e,keyword:i,schema:s,parentSchema:a,it:l}=t,f=r.macro.call(l.self,s,a,l),c=lc(e,i,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let m=e.name("valid");t.subschema({schema:f,schemaPath:mr.nil,errSchemaPath:`${l.errSchemaPath}/${i}`,topSchemaRef:c,compositeRule:!0},m),t.pass(m,()=>t.error(!0))}function sc(t,r){var e;let{gen:i,keyword:s,schema:a,parentSchema:l,$data:f,it:c}=t;Ig(c,r);let m=!f&&r.compile?r.compile.call(c.self,a,l,c):r.validate,d=lc(i,s,m),$=i.let("valid");t.block$data($,E),t.ok((e=r.valid)!==null&&e!==void 0?e:$);function E(){if(r.errors===!1)I(),r.modifying&&ac(t),N(()=>t.error());else{let B=r.async?k():x();r.modifying&&ac(t),N(()=>Fg(t,B))}}function k(){let B=i.let("ruleErrs",null);return i.try(()=>I(mr._`await `),X=>i.assign($,!1).if(mr._`${X} instanceof ${c.ValidationError}`,()=>i.assign(B,mr._`${X}.errors`),()=>i.throw(X))),B}function x(){let B=mr._`${d}.errors`;return i.assign(B,null),I(mr.nil),B}function I(B=r.async?mr._`await `:mr.nil){let X=c.opts.passContext?$i.default.this:$i.default.self,se=!("compile"in r&&!f||r.schema===!1);i.assign($,mr._`${B}${Sg.callValidateCode(t,d,X,se)}`,r.modifying)}function N(B){var X;i.if(mr.not((X=r.valid)!==null&&X!==void 0?X:$),B)}}function ac(t){let{gen:r,data:e,it:i}=t;r.if(i.parentData,()=>r.assign(e,mr._`${i.parentData}[${i.parentDataProperty}]`))}function Fg(t,r){let{gen:e}=t;e.if(mr._`Array.isArray(${r})`,()=>{e.assign($i.default.vErrors,mr._`${$i.default.vErrors} === null ? ${r} : ${$i.default.vErrors}.concat(${r})`).assign($i.default.errors,mr._`${$i.default.vErrors}.length`),_g.extendErrors(t)},()=>t.error())}function Ig({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function lc(t,r,e){if(e===void 0)throw new Error(`keyword "${r}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:mr.stringify(e)})}});var mc=me(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.schemaKeywords=void 0;var pl=Ua(),fc=Zi(),Og=ec(),dc=uc(),qg=_t(),Ng=Lr(),Dg=Ne(),Rg=on();function Lg(t,r,e,i){let{gen:s,schema:a,data:l,allErrors:f,opts:c,self:m}=t,{RULES:d}=m;if(a.$ref&&(c.ignoreKeywordsWithRef||!qg.schemaHasRulesButRef(a,d))){s.block(()=>dc.keywordCode(t,"$ref",d.all.$ref.definition));return}c.jtd||jg(t,r),s.block(()=>{for(let E of d.rules)$(E);$(d.post)});function $(E){!pl.shouldUseGroup(a,E)||(E.type?(s.if(fc.checkDataType(E.type,l,c.strict)),cc(t,E),r.length===1&&r[0]===E.type&&e&&(s.else(),fc.reportTypeError(t)),s.endIf()):cc(t,E),f||s.if(Dg._`${Rg.default.errors} === ${i||0}`))}}Ss.schemaKeywords=Lg;function cc(t,r){let{gen:e,schema:i,opts:{useDefaults:s}}=t;s&&Og.assignDefaults(t,r.type),e.block(()=>{for(let a of r.rules)pl.shouldUseRule(i,a)&&dc.keywordCode(t,a.keyword,a.definition,r.type)})}function jg(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(Bg(t,r),t.opts.allowUnionTypes||Mg(t,r),zg(t,t.dataTypes))}function Bg(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{pc(t.dataTypes,e)||dl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>pc(r,e))}}function Mg(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&dl(t,"use allowUnionTypes to allow union type keyword")}function zg(t,r){let e=t.self.RULES.all;for(let i in e){let s=e[i];if(typeof s=="object"&&pl.shouldUseRule(t.schema,s)){let{type:a}=s.definition;a.length&&!a.some(l=>Vg(r,l))&&dl(t,`missing type "${a.join(",")}" for keyword "${i}"`)}}}function Vg(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function pc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function dl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Ng.checkStrictMode(t,r,t.opts.strictTypes)}});var Io=me((Y0,hc)=>{"use strict";hc.exports=function t(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var i,s,a;if(Array.isArray(r)){if(i=r.length,i!=e.length)return!1;for(s=i;s--!==0;)if(!t(r[s],e[s]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===e.toString();if(a=Object.keys(r),i=a.length,i!==Object.keys(e).length)return!1;for(s=i;s--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[s]))return!1;for(s=i;s--!==0;){var l=a[s];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var yc=me((e1,gc)=>{"use strict";var Wn=gc.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var i=typeof e=="function"?e:e.pre||function(){},s=e.post||function(){};Ps(r,i,s,t,"",t)};Wn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Wn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Wn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Wn.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Ps(t,r,e,i,s,a,l,f,c,m){if(i&&typeof i=="object"&&!Array.isArray(i)){r(i,s,a,l,f,c,m);for(var d in i){var $=i[d];if(Array.isArray($)){if(d in Wn.arrayKeywords)for(var E=0;E<$.length;E++)Ps(t,r,e,$[E],s+"/"+d+"/"+E,a,s,d,i,E)}else if(d in Wn.propsKeywords){if($&&typeof $=="object")for(var k in $)Ps(t,r,e,$[k],s+"/"+d+"/"+Ug(k),a,s,d,i,k)}else(d in Wn.keywords||t.allKeys&&!(d in Wn.skipKeywords))&&Ps(t,r,e,$,s+"/"+d,a,s,d,i)}e(i,s,a,l,f,c,m)}}function Ug(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var ml=me((Ts,$c)=>{(function(t,r){typeof Ts=="object"&&typeof $c<"u"?r(Ts):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(Ts,function(t){"use strict";function r(){for(var z=arguments.length,O=Array(z),G=0;G<z;G++)O[G]=arguments[G];if(O.length>1){O[0]=O[0].slice(0,-1);for(var ee=O.length-1,te=1;te<ee;++te)O[te]=O[te].slice(1,-1);return O[ee]=O[ee].slice(1),O.join("")}else return O[0]}function e(z){return"(?:"+z+")"}function i(z){return z===void 0?"undefined":z===null?"null":Object.prototype.toString.call(z).split(" ").pop().split("]").shift().toLowerCase()}function s(z){return z.toUpperCase()}function a(z){return z!=null?z instanceof Array?z:typeof z.length!="number"||z.split||z.setInterval||z.call?[z]:Array.prototype.slice.call(z):[]}function l(z,O){var G=z;if(O)for(var ee in O)G[ee]=O[ee];return G}function f(z){var O="[A-Za-z]",G="[\\x0D]",ee="[0-9]",te="[\\x22]",pe=r(ee,"[A-Fa-f]"),Ae="[\\x0A]",Oe="[\\x20]",je=e(e("%[EFef]"+pe+"%"+pe+pe+"%"+pe+pe)+"|"+e("%[89A-Fa-f]"+pe+"%"+pe+pe)+"|"+e("%"+pe+pe)),gt="[\\:\\/\\?\\#\\[\\]\\@]",Se="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",nt=r(gt,Se),kt=z?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",lt=z?"[\\uE000-\\uF8FF]":"[]",qe=r(O,ee,"[\\-\\.\\_\\~]",kt),mt=e(O+r(O,ee,"[\\+\\-\\.]")+"*"),Je=e(e(je+"|"+r(qe,Se,"[\\:]"))+"*"),Mr=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("[1-9]"+ee)+"|"+ee),Lt=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("0?[1-9]"+ee)+"|0?0?"+ee),Ht=e(Lt+"\\."+Lt+"\\."+Lt+"\\."+Lt),Qe=e(pe+"{1,4}"),jt=e(e(Qe+"\\:"+Qe)+"|"+Ht),Qt=e(e(Qe+"\\:")+"{6}"+jt),kr=e("\\:\\:"+e(Qe+"\\:")+"{5}"+jt),zr=e(e(Qe)+"?\\:\\:"+e(Qe+"\\:")+"{4}"+jt),vr=e(e(e(Qe+"\\:")+"{0,1}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{3}"+jt),pn=e(e(e(Qe+"\\:")+"{0,2}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{2}"+jt),Tn=e(e(e(Qe+"\\:")+"{0,3}"+Qe)+"?\\:\\:"+Qe+"\\:"+jt),Fn=e(e(e(Qe+"\\:")+"{0,4}"+Qe)+"?\\:\\:"+jt),Qr=e(e(e(Qe+"\\:")+"{0,5}"+Qe)+"?\\:\\:"+Qe),Xr=e(e(e(Qe+"\\:")+"{0,6}"+Qe)+"?\\:\\:"),xr=e([Qt,kr,zr,vr,pn,Tn,Fn,Qr,Xr].join("|")),o=e(e(qe+"|"+je)+"+"),ue=e(xr+"\\%25"+o),Cr=e(xr+e("\\%25|\\%(?!"+pe+"{2})")+o),fr=e("[vV]"+pe+"+\\."+r(qe,Se,"[\\:]")+"+"),Vn=e("\\["+e(Cr+"|"+xr+"|"+fr)+"\\]"),v=e(e(je+"|"+r(qe,Se))+"*"),Vr=e(Vn+"|"+Ht+"(?!"+v+")|"+v),cr=e(ee+"*"),mo=e(e(Je+"@")+"?"+Vr+e("\\:"+cr)+"?"),In=e(je+"|"+r(qe,Se,"[\\:\\@]")),ho=e(In+"*"),Xe=e(In+"+"),qr=e(e(je+"|"+r(qe,Se,"[\\@]"))+"+"),Nr=e(e("\\/"+ho)+"*"),dn=e("\\/"+e(Xe+Nr)+"?"),ii=e(qr+Nr),On=e(Xe+Nr),pr="(?!"+In+")",Z=e(Nr+"|"+dn+"|"+ii+"|"+On+"|"+pr),Yr=e(e(In+"|"+r("[\\/\\?]",lt))+"*"),mn=e(e(In+"|[\\/\\?]")+"*"),oi=e(e("\\/\\/"+mo+Nr)+"|"+dn+"|"+On+"|"+pr),qn=e(mt+"\\:"+oi+e("\\?"+Yr)+"?"+e("\\#"+mn)+"?"),go=e(e("\\/\\/"+mo+Nr)+"|"+dn+"|"+ii+"|"+pr),os=e(go+e("\\?"+Yr)+"?"+e("\\#"+mn)+"?"),Di=e(qn+"|"+os),en=e(mt+"\\:"+oi+e("\\?"+Yr)+"?"),yo="^("+mt+")\\:"+e(e("\\/\\/("+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?)")+"?("+Nr+"|"+dn+"|"+On+"|"+pr+")")+e("\\?("+Yr+")")+"?"+e("\\#("+mn+")")+"?$",ss="^(){0}"+e(e("\\/\\/("+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?)")+"?("+Nr+"|"+dn+"|"+ii+"|"+pr+")")+e("\\?("+Yr+")")+"?"+e("\\#("+mn+")")+"?$",$o="^("+mt+")\\:"+e(e("\\/\\/("+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?)")+"?("+Nr+"|"+dn+"|"+On+"|"+pr+")")+e("\\?("+Yr+")")+"?$",bo="^"+e("\\#("+mn+")")+"?$",wo="^"+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",O,ee,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",qe,Se),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",qe,Se),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",qe,Se),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",qe,Se),"g"),NOT_QUERY:new RegExp(r("[^\\%]",qe,Se,"[\\:\\@\\/\\?]",lt),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",qe,Se,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",qe,Se),"g"),UNRESERVED:new RegExp(qe,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",qe,nt),"g"),PCT_ENCODED:new RegExp(je,"g"),IPV4ADDRESS:new RegExp("^("+Ht+")$"),IPV6ADDRESS:new RegExp("^\\[?("+xr+")"+e(e("\\%25|\\%(?!"+pe+"{2})")+"("+o+")")+"?\\]?$")}}var c=f(!1),m=f(!0),d=function(){function z(O,G){var ee=[],te=!0,pe=!1,Ae=void 0;try{for(var Oe=O[Symbol.iterator](),je;!(te=(je=Oe.next()).done)&&(ee.push(je.value),!(G&&ee.length===G));te=!0);}catch(gt){pe=!0,Ae=gt}finally{try{!te&&Oe.return&&Oe.return()}finally{if(pe)throw Ae}}return ee}return function(O,G){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return z(O,G);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),$=function(z){if(Array.isArray(z)){for(var O=0,G=Array(z.length);O<z.length;O++)G[O]=z[O];return G}else return Array.from(z)},E=2147483647,k=36,x=1,I=26,N=38,B=700,X=72,se=128,$e="-",he=/^xn--/,ne=/[^\0-\x7E]/,be=/[\x2E\u3002\uFF0E\uFF61]/g,xe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=k-x,Le=Math.floor,Ee=String.fromCharCode;function _e(z){throw new RangeError(xe[z])}function de(z,O){for(var G=[],ee=z.length;ee--;)G[ee]=O(z[ee]);return G}function Ce(z,O){var G=z.split("@"),ee="";G.length>1&&(ee=G[0]+"@",z=G[1]),z=z.replace(be,".");var te=z.split("."),pe=de(te,O).join(".");return ee+pe}function ot(z){for(var O=[],G=0,ee=z.length;G<ee;){var te=z.charCodeAt(G++);if(te>=55296&&te<=56319&&G<ee){var pe=z.charCodeAt(G++);(pe&64512)==56320?O.push(((te&1023)<<10)+(pe&1023)+65536):(O.push(te),G--)}else O.push(te)}return O}var Y=function(O){return String.fromCodePoint.apply(String,$(O))},Ct=function(O){return O-48<10?O-22:O-65<26?O-65:O-97<26?O-97:k},Ze=function(O,G){return O+22+75*(O<26)-((G!=0)<<5)},yt=function(O,G,ee){var te=0;for(O=ee?Le(O/B):O>>1,O+=Le(O/G);O>ke*I>>1;te+=k)O=Le(O/ke);return Le(te+(ke+1)*O/(O+N))},tt=function(O){var G=[],ee=O.length,te=0,pe=se,Ae=X,Oe=O.lastIndexOf($e);Oe<0&&(Oe=0);for(var je=0;je<Oe;++je)O.charCodeAt(je)>=128&&_e("not-basic"),G.push(O.charCodeAt(je));for(var gt=Oe>0?Oe+1:0;gt<ee;){for(var Se=te,nt=1,kt=k;;kt+=k){gt>=ee&&_e("invalid-input");var lt=Ct(O.charCodeAt(gt++));(lt>=k||lt>Le((E-te)/nt))&&_e("overflow"),te+=lt*nt;var qe=kt<=Ae?x:kt>=Ae+I?I:kt-Ae;if(lt<qe)break;var mt=k-qe;nt>Le(E/mt)&&_e("overflow"),nt*=mt}var Je=G.length+1;Ae=yt(te-Se,Je,Se==0),Le(te/Je)>E-pe&&_e("overflow"),pe+=Le(te/Je),te%=Je,G.splice(te++,0,pe)}return String.fromCodePoint.apply(String,G)},M=function(O){var G=[];O=ot(O);var ee=O.length,te=se,pe=0,Ae=X,Oe=!0,je=!1,gt=void 0;try{for(var Se=O[Symbol.iterator](),nt;!(Oe=(nt=Se.next()).done);Oe=!0){var kt=nt.value;kt<128&&G.push(Ee(kt))}}catch(Cr){je=!0,gt=Cr}finally{try{!Oe&&Se.return&&Se.return()}finally{if(je)throw gt}}var lt=G.length,qe=lt;for(lt&&G.push($e);qe<ee;){var mt=E,Je=!0,Mr=!1,Lt=void 0;try{for(var Ht=O[Symbol.iterator](),Qe;!(Je=(Qe=Ht.next()).done);Je=!0){var jt=Qe.value;jt>=te&&jt<mt&&(mt=jt)}}catch(Cr){Mr=!0,Lt=Cr}finally{try{!Je&&Ht.return&&Ht.return()}finally{if(Mr)throw Lt}}var Qt=qe+1;mt-te>Le((E-pe)/Qt)&&_e("overflow"),pe+=(mt-te)*Qt,te=mt;var kr=!0,zr=!1,vr=void 0;try{for(var pn=O[Symbol.iterator](),Tn;!(kr=(Tn=pn.next()).done);kr=!0){var Fn=Tn.value;if(Fn<te&&++pe>E&&_e("overflow"),Fn==te){for(var Qr=pe,Xr=k;;Xr+=k){var xr=Xr<=Ae?x:Xr>=Ae+I?I:Xr-Ae;if(Qr<xr)break;var o=Qr-xr,ue=k-xr;G.push(Ee(Ze(xr+o%ue,0))),Qr=Le(o/ue)}G.push(Ee(Ze(Qr,0))),Ae=yt(pe,Qt,qe==lt),pe=0,++qe}}}catch(Cr){zr=!0,vr=Cr}finally{try{!kr&&pn.return&&pn.return()}finally{if(zr)throw vr}}++pe,++te}return G.join("")},V=function(O){return Ce(O,function(G){return he.test(G)?tt(G.slice(4).toLowerCase()):G})},Jt=function(O){return Ce(O,function(G){return ne.test(G)?"xn--"+M(G):G})},Rt={version:"2.1.0",ucs2:{decode:ot,encode:Y},decode:tt,encode:M,toASCII:Jt,toUnicode:V},bt={};function St(z){var O=z.charCodeAt(0),G=void 0;return O<16?G="%0"+O.toString(16).toUpperCase():O<128?G="%"+O.toString(16).toUpperCase():O<2048?G="%"+(O>>6|192).toString(16).toUpperCase()+"%"+(O&63|128).toString(16).toUpperCase():G="%"+(O>>12|224).toString(16).toUpperCase()+"%"+(O>>6&63|128).toString(16).toUpperCase()+"%"+(O&63|128).toString(16).toUpperCase(),G}function At(z){for(var O="",G=0,ee=z.length;G<ee;){var te=parseInt(z.substr(G+1,2),16);if(te<128)O+=String.fromCharCode(te),G+=3;else if(te>=194&&te<224){if(ee-G>=6){var pe=parseInt(z.substr(G+4,2),16);O+=String.fromCharCode((te&31)<<6|pe&63)}else O+=z.substr(G,6);G+=6}else if(te>=224){if(ee-G>=9){var Ae=parseInt(z.substr(G+4,2),16),Oe=parseInt(z.substr(G+7,2),16);O+=String.fromCharCode((te&15)<<12|(Ae&63)<<6|Oe&63)}else O+=z.substr(G,9);G+=9}else O+=z.substr(G,3),G+=3}return O}function st(z,O){function G(ee){var te=At(ee);return te.match(O.UNRESERVED)?te:ee}return z.scheme&&(z.scheme=String(z.scheme).replace(O.PCT_ENCODED,G).toLowerCase().replace(O.NOT_SCHEME,"")),z.userinfo!==void 0&&(z.userinfo=String(z.userinfo).replace(O.PCT_ENCODED,G).replace(O.NOT_USERINFO,St).replace(O.PCT_ENCODED,s)),z.host!==void 0&&(z.host=String(z.host).replace(O.PCT_ENCODED,G).toLowerCase().replace(O.NOT_HOST,St).replace(O.PCT_ENCODED,s)),z.path!==void 0&&(z.path=String(z.path).replace(O.PCT_ENCODED,G).replace(z.scheme?O.NOT_PATH:O.NOT_PATH_NOSCHEME,St).replace(O.PCT_ENCODED,s)),z.query!==void 0&&(z.query=String(z.query).replace(O.PCT_ENCODED,G).replace(O.NOT_QUERY,St).replace(O.PCT_ENCODED,s)),z.fragment!==void 0&&(z.fragment=String(z.fragment).replace(O.PCT_ENCODED,G).replace(O.NOT_FRAGMENT,St).replace(O.PCT_ENCODED,s)),z}function Fr(z){return z.replace(/^0*(.*)/,"$1")||"0"}function ye(z,O){var G=z.match(O.IPV4ADDRESS)||[],ee=d(G,2),te=ee[1];return te?te.split(".").map(Fr).join("."):z}function wr(z,O){var G=z.match(O.IPV6ADDRESS)||[],ee=d(G,3),te=ee[1],pe=ee[2];if(te){for(var Ae=te.toLowerCase().split("::").reverse(),Oe=d(Ae,2),je=Oe[0],gt=Oe[1],Se=gt?gt.split(":").map(Fr):[],nt=je.split(":").map(Fr),kt=O.IPV4ADDRESS.test(nt[nt.length-1]),lt=kt?7:8,qe=nt.length-lt,mt=Array(lt),Je=0;Je<lt;++Je)mt[Je]=Se[Je]||nt[qe+Je]||"";kt&&(mt[lt-1]=ye(mt[lt-1],O));var Mr=mt.reduce(function(Qt,kr,zr){if(!kr||kr==="0"){var vr=Qt[Qt.length-1];vr&&vr.index+vr.length===zr?vr.length++:Qt.push({index:zr,length:1})}return Qt},[]),Lt=Mr.sort(function(Qt,kr){return kr.length-Qt.length})[0],Ht=void 0;if(Lt&&Lt.length>1){var Qe=mt.slice(0,Lt.index),jt=mt.slice(Lt.index+Lt.length);Ht=Qe.join(":")+"::"+jt.join(":")}else Ht=mt.join(":");return pe&&(Ht+="%"+pe),Ht}else return z}var zt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Ir="".match(/(){0}/)[1]===void 0;function Vt(z){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G={},ee=O.iri!==!1?m:c;O.reference==="suffix"&&(z=(O.scheme?O.scheme+":":"")+"//"+z);var te=z.match(zt);if(te){Ir?(G.scheme=te[1],G.userinfo=te[3],G.host=te[4],G.port=parseInt(te[5],10),G.path=te[6]||"",G.query=te[7],G.fragment=te[8],isNaN(G.port)&&(G.port=te[5])):(G.scheme=te[1]||void 0,G.userinfo=z.indexOf("@")!==-1?te[3]:void 0,G.host=z.indexOf("//")!==-1?te[4]:void 0,G.port=parseInt(te[5],10),G.path=te[6]||"",G.query=z.indexOf("?")!==-1?te[7]:void 0,G.fragment=z.indexOf("#")!==-1?te[8]:void 0,isNaN(G.port)&&(G.port=z.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?te[4]:void 0)),G.host&&(G.host=wr(ye(G.host,ee),ee)),G.scheme===void 0&&G.userinfo===void 0&&G.host===void 0&&G.port===void 0&&!G.path&&G.query===void 0?G.reference="same-document":G.scheme===void 0?G.reference="relative":G.fragment===void 0?G.reference="absolute":G.reference="uri",O.reference&&O.reference!=="suffix"&&O.reference!==G.reference&&(G.error=G.error||"URI is not a "+O.reference+" reference.");var pe=bt[(O.scheme||G.scheme||"").toLowerCase()];if(!O.unicodeSupport&&(!pe||!pe.unicodeSupport)){if(G.host&&(O.domainHost||pe&&pe.domainHost))try{G.host=Rt.toASCII(G.host.replace(ee.PCT_ENCODED,At).toLowerCase())}catch(Ae){G.error=G.error||"Host's domain name can not be converted to ASCII via punycode: "+Ae}st(G,c)}else st(G,ee);pe&&pe.parse&&pe.parse(G,O)}else G.error=G.error||"URI can not be parsed.";return G}function ei(z,O){var G=O.iri!==!1?m:c,ee=[];return z.userinfo!==void 0&&(ee.push(z.userinfo),ee.push("@")),z.host!==void 0&&ee.push(wr(ye(String(z.host),G),G).replace(G.IPV6ADDRESS,function(te,pe,Ae){return"["+pe+(Ae?"%25"+Ae:"")+"]"})),(typeof z.port=="number"||typeof z.port=="string")&&(ee.push(":"),ee.push(String(z.port))),ee.length?ee.join(""):void 0}var Mn=/^\.\.?\//,En=/^\/\.(\/|$)/,Ge=/^\/\.\.(\/|$)/,Ke=/^\/?(?:.|\n)*?(?=\/|$)/;function at(z){for(var O=[];z.length;)if(z.match(Mn))z=z.replace(Mn,"");else if(z.match(En))z=z.replace(En,"/");else if(z.match(Ge))z=z.replace(Ge,"/"),O.pop();else if(z==="."||z==="..")z="";else{var G=z.match(Ke);if(G){var ee=G[0];z=z.slice(ee.length),O.push(ee)}else throw new Error("Unexpected dot segment condition")}return O.join("")}function We(z){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=O.iri?m:c,ee=[],te=bt[(O.scheme||z.scheme||"").toLowerCase()];if(te&&te.serialize&&te.serialize(z,O),z.host&&!G.IPV6ADDRESS.test(z.host)){if(O.domainHost||te&&te.domainHost)try{z.host=O.iri?Rt.toUnicode(z.host):Rt.toASCII(z.host.replace(G.PCT_ENCODED,At).toLowerCase())}catch(Oe){z.error=z.error||"Host's domain name can not be converted to "+(O.iri?"Unicode":"ASCII")+" via punycode: "+Oe}}st(z,G),O.reference!=="suffix"&&z.scheme&&(ee.push(z.scheme),ee.push(":"));var pe=ei(z,O);if(pe!==void 0&&(O.reference!=="suffix"&&ee.push("//"),ee.push(pe),z.path&&z.path.charAt(0)!=="/"&&ee.push("/")),z.path!==void 0){var Ae=z.path;!O.absolutePath&&(!te||!te.absolutePath)&&(Ae=at(Ae)),pe===void 0&&(Ae=Ae.replace(/^\/\//,"/%2F")),ee.push(Ae)}return z.query!==void 0&&(ee.push("?"),ee.push(z.query)),z.fragment!==void 0&&(ee.push("#"),ee.push(z.fragment)),ee.join("")}function Or(z,O){var G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=arguments[3],te={};return ee||(z=Vt(We(z,G),G),O=Vt(We(O,G),G)),G=G||{},!G.tolerant&&O.scheme?(te.scheme=O.scheme,te.userinfo=O.userinfo,te.host=O.host,te.port=O.port,te.path=at(O.path||""),te.query=O.query):(O.userinfo!==void 0||O.host!==void 0||O.port!==void 0?(te.userinfo=O.userinfo,te.host=O.host,te.port=O.port,te.path=at(O.path||""),te.query=O.query):(O.path?(O.path.charAt(0)==="/"?te.path=at(O.path):((z.userinfo!==void 0||z.host!==void 0||z.port!==void 0)&&!z.path?te.path="/"+O.path:z.path?te.path=z.path.slice(0,z.path.lastIndexOf("/")+1)+O.path:te.path=O.path,te.path=at(te.path)),te.query=O.query):(te.path=z.path,O.query!==void 0?te.query=O.query:te.query=z.query),te.userinfo=z.userinfo,te.host=z.host,te.port=z.port),te.scheme=z.scheme),te.fragment=O.fragment,te}function ze(z,O,G){var ee=l({scheme:"null"},G);return We(Or(Vt(z,ee),Vt(O,ee),ee,!0),ee)}function Ve(z,O){return typeof z=="string"?z=We(Vt(z,O),O):i(z)==="object"&&(z=Vt(We(z,O),O)),z}function ct(z,O,G){return typeof z=="string"?z=We(Vt(z,G),G):i(z)==="object"&&(z=We(z,G)),typeof O=="string"?O=We(Vt(O,G),G):i(O)==="object"&&(O=We(O,G)),z===O}function pt(z,O){return z&&z.toString().replace(!O||!O.iri?c.ESCAPE:m.ESCAPE,St)}function Ut(z,O){return z&&z.toString().replace(!O||!O.iri?c.PCT_ENCODED:m.PCT_ENCODED,At)}var re={scheme:"http",domainHost:!0,parse:function(O,G){return O.host||(O.error=O.error||"HTTP URIs must have a host."),O},serialize:function(O,G){var ee=String(O.scheme).toLowerCase()==="https";return(O.port===(ee?443:80)||O.port==="")&&(O.port=void 0),O.path||(O.path="/"),O}},ae={scheme:"https",domainHost:re.domainHost,parse:re.parse,serialize:re.serialize};function we(z){return typeof z.secure=="boolean"?z.secure:String(z.scheme).toLowerCase()==="wss"}var Ie={scheme:"ws",domainHost:!0,parse:function(O,G){var ee=O;return ee.secure=we(ee),ee.resourceName=(ee.path||"/")+(ee.query?"?"+ee.query:""),ee.path=void 0,ee.query=void 0,ee},serialize:function(O,G){if((O.port===(we(O)?443:80)||O.port==="")&&(O.port=void 0),typeof O.secure=="boolean"&&(O.scheme=O.secure?"wss":"ws",O.secure=void 0),O.resourceName){var ee=O.resourceName.split("?"),te=d(ee,2),pe=te[0],Ae=te[1];O.path=pe&&pe!=="/"?pe:void 0,O.query=Ae,O.resourceName=void 0}return O.fragment=void 0,O}},Dt={scheme:"wss",domainHost:Ie.domainHost,parse:Ie.parse,serialize:Ie.serialize},Zr={},rt=!0,wt="[A-Za-z0-9\\-\\.\\_\\~"+(rt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Pt="[0-9A-Fa-f]",Jr=e(e("%[EFef]"+Pt+"%"+Pt+Pt+"%"+Pt+Pt)+"|"+e("%[89A-Fa-f]"+Pt+"%"+Pt+Pt)+"|"+e("%"+Pt+Pt)),dt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",_n="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",It=r(_n,'[\\"\\\\]'),cn="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",co=new RegExp(wt,"g"),Br=new RegExp(Jr,"g"),zn=new RegExp(r("[^]",dt,"[\\.]",'[\\"]',It),"g"),ti=new RegExp(r("[^]",wt,cn),"g"),po=ti;function ri(z){var O=At(z);return O.match(co)?O:z}var qi={scheme:"mailto",parse:function(O,G){var ee=O,te=ee.to=ee.path?ee.path.split(","):[];if(ee.path=void 0,ee.query){for(var pe=!1,Ae={},Oe=ee.query.split("&"),je=0,gt=Oe.length;je<gt;++je){var Se=Oe[je].split("=");switch(Se[0]){case"to":for(var nt=Se[1].split(","),kt=0,lt=nt.length;kt<lt;++kt)te.push(nt[kt]);break;case"subject":ee.subject=Ut(Se[1],G);break;case"body":ee.body=Ut(Se[1],G);break;default:pe=!0,Ae[Ut(Se[0],G)]=Ut(Se[1],G);break}}pe&&(ee.headers=Ae)}ee.query=void 0;for(var qe=0,mt=te.length;qe<mt;++qe){var Je=te[qe].split("@");if(Je[0]=Ut(Je[0]),G.unicodeSupport)Je[1]=Ut(Je[1],G).toLowerCase();else try{Je[1]=Rt.toASCII(Ut(Je[1],G).toLowerCase())}catch(Mr){ee.error=ee.error||"Email address's domain name can not be converted to ASCII via punycode: "+Mr}te[qe]=Je.join("@")}return ee},serialize:function(O,G){var ee=O,te=a(O.to);if(te){for(var pe=0,Ae=te.length;pe<Ae;++pe){var Oe=String(te[pe]),je=Oe.lastIndexOf("@"),gt=Oe.slice(0,je).replace(Br,ri).replace(Br,s).replace(zn,St),Se=Oe.slice(je+1);try{Se=G.iri?Rt.toUnicode(Se):Rt.toASCII(Ut(Se,G).toLowerCase())}catch(qe){ee.error=ee.error||"Email address's domain name can not be converted to "+(G.iri?"Unicode":"ASCII")+" via punycode: "+qe}te[pe]=gt+"@"+Se}ee.path=te.join(",")}var nt=O.headers=O.headers||{};O.subject&&(nt.subject=O.subject),O.body&&(nt.body=O.body);var kt=[];for(var lt in nt)nt[lt]!==Zr[lt]&&kt.push(lt.replace(Br,ri).replace(Br,s).replace(ti,St)+"="+nt[lt].replace(Br,ri).replace(Br,s).replace(po,St));return kt.length&&(ee.query=kt.join("&")),ee}},ni=/^([^\:]+)\:(.*)/,Sn={scheme:"urn",parse:function(O,G){var ee=O.path&&O.path.match(ni),te=O;if(ee){var pe=G.scheme||te.scheme||"urn",Ae=ee[1].toLowerCase(),Oe=ee[2],je=pe+":"+(G.nid||Ae),gt=bt[je];te.nid=Ae,te.nss=Oe,te.path=void 0,gt&&(te=gt.parse(te,G))}else te.error=te.error||"URN can not be parsed.";return te},serialize:function(O,G){var ee=G.scheme||O.scheme||"urn",te=O.nid,pe=ee+":"+(G.nid||te),Ae=bt[pe];Ae&&(O=Ae.serialize(O,G));var Oe=O,je=O.nss;return Oe.path=(te||G.nid)+":"+je,Oe}},Ni=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pn={scheme:"urn:uuid",parse:function(O,G){var ee=O;return ee.uuid=ee.nss,ee.nss=void 0,!G.tolerant&&(!ee.uuid||!ee.uuid.match(Ni))&&(ee.error=ee.error||"UUID is not valid."),ee},serialize:function(O,G){var ee=O;return ee.nss=(O.uuid||"").toLowerCase(),ee}};bt[re.scheme]=re,bt[ae.scheme]=ae,bt[Ie.scheme]=Ie,bt[Dt.scheme]=Dt,bt[qi.scheme]=qi,bt[Sn.scheme]=Sn,bt[Pn.scheme]=Pn,t.SCHEMES=bt,t.pctEncChar=St,t.pctDecChars=At,t.parse=Vt,t.removeDotSegments=at,t.serialize=We,t.resolveComponents=Or,t.resolve=ze,t.normalize=Ve,t.equal=ct,t.escapeComponent=pt,t.unescapeComponent=Ut,Object.defineProperty(t,"__esModule",{value:!0})})});var Oo=me(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.getSchemaRefs=_r.resolveUrl=_r.normalizeId=_r._getFullPath=_r.getFullPath=_r.inlineRef=void 0;var Hg=_t(),Gg=Io(),Kg=yc(),Fs=ml(),Wg=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Zg(t,r=!0){return typeof t=="boolean"?!0:r===!0?!hl(t):r?bc(t)<=r:!1}_r.inlineRef=Zg;var Jg=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hl(t){for(let r in t){if(Jg.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(hl)||typeof e=="object"&&hl(e))return!0}return!1}function bc(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!Wg.has(e)&&(typeof t[e]=="object"&&Hg.eachItem(t[e],i=>r+=bc(i)),r===1/0))return 1/0}return r}function wc(t="",r){r!==!1&&(t=Ji(t));let e=Fs.parse(t);return kc(e)}_r.getFullPath=wc;function kc(t){return Fs.serialize(t).split("#")[0]+"#"}_r._getFullPath=kc;var Qg=/#\/?$/;function Ji(t){return t?t.replace(Qg,""):""}_r.normalizeId=Ji;function Xg(t,r){return r=Ji(r),Fs.resolve(t,r)}_r.resolveUrl=Xg;var Yg=/^[a-z_][-a-z0-9._]*$/i;function ey(t){if(typeof t=="boolean")return{};let r=Ji(t.$id),e={"":r},i=wc(r,!1),s={},a=new Set;return Kg(t,{allKeys:!0},(c,m,d,$)=>{if($===void 0)return;let E=i+m,k=e[$];typeof c.$id=="string"&&(k=x.call(this,c.$id)),I.call(this,c.$anchor),I.call(this,c.$dynamicAnchor),e[m]=k;function x(N){if(N=Ji(k?Fs.resolve(k,N):N),a.has(N))throw f(N);a.add(N);let B=this.refs[N];return typeof B=="string"&&(B=this.refs[B]),typeof B=="object"?l(c,B.schema,N):N!==Ji(E)&&(N[0]==="#"?(l(c,s[N],N),s[N]=c):this.refs[N]=E),N}function I(N){if(typeof N=="string"){if(!Yg.test(N))throw new Error(`invalid anchor "${N}"`);x.call(this,`#${N}`)}}}),s;function l(c,m,d){if(m!==void 0&&!Gg(c,m))throw f(d)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}_r.getSchemaRefs=ey});var Lr=me(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.checkStrictMode=kn.schemaCxtHasRules=kn.subschemaCode=kn.validateFunctionCode=void 0;var Ac=Xf(),vc=Zi(),xc=mc(),Be=Ne(),Te=on(),ty=Oo(),Ec=_t();function ry(t){if(Sc(t)&&(Pc(t),gl(t))){oy(t);return}_c(t,()=>Ac.topBoolOrEmptySchema(t))}kn.validateFunctionCode=ry;function _c({gen:t,validateName:r,schema:e,schemaEnv:i,opts:s},a){s.code.es5?t.func(r,Be._`${Te.default.data}, ${Te.default.valCxt}`,i.$async,()=>{t.code(Be._`"use strict"; ${Cc(e,s)}`),iy(t,s),t.code(a)}):t.func(r,Be._`${Te.default.data}, ${ny(s)}`,i.$async,()=>t.code(Cc(e,s)).code(a))}function ny(t){return Be._`{${Te.default.dataPath}="", ${Te.default.parentData}, ${Te.default.parentDataProperty}, ${Te.default.rootData}=${Te.default.data}${t.dynamicRef?Be._`, ${Te.default.dynamicAnchors}={}`:Be.nil}}={}`}function iy(t,r){t.if(Te.default.valCxt,()=>{t.var(Te.default.dataPath,Be._`${Te.default.valCxt}.${Te.default.dataPath}`),t.var(Te.default.parentData,Be._`${Te.default.valCxt}.${Te.default.parentData}`),t.var(Te.default.parentDataProperty,Be._`${Te.default.valCxt}.${Te.default.parentDataProperty}`),t.var(Te.default.rootData,Be._`${Te.default.valCxt}.${Te.default.rootData}`),r.dynamicRef&&t.var(Te.default.dynamicAnchors,Be._`${Te.default.valCxt}.${Te.default.dynamicAnchors}`)},()=>{t.var(Te.default.dataPath,Be._`""`),t.var(Te.default.parentData,Be._`undefined`),t.var(Te.default.parentDataProperty,Be._`undefined`),t.var(Te.default.rootData,Te.default.data),r.dynamicRef&&t.var(Te.default.dynamicAnchors,Be._`{}`)})}function oy(t){let{schema:r,opts:e,gen:i}=t;_c(t,()=>{e.$comment&&r.$comment&&Fc(t),fy(t),i.let(Te.default.vErrors,null),i.let(Te.default.errors,0),e.unevaluated&&sy(t),Tc(t),dy(t)})}function sy(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Be._`${e}.evaluated`),r.if(Be._`${t.evaluated}.dynamicProps`,()=>r.assign(Be._`${t.evaluated}.props`,Be._`undefined`)),r.if(Be._`${t.evaluated}.dynamicItems`,()=>r.assign(Be._`${t.evaluated}.items`,Be._`undefined`))}function Cc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Be._`/*# sourceURL=${t.$id} */`:Be.nil}function ay(t,r){if(Sc(t)&&(Pc(t),gl(t))){ly(t,r);return}Ac.boolOrEmptySchema(t,r)}kn.subschemaCode=ay;function gl({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}kn.schemaCxtHasRules=gl;function Sc(t){return typeof t.schema!="boolean"}function ly(t,r){let{schema:e,gen:i,opts:s}=t;s.$comment&&e.$comment&&Fc(t),cy(t),py(t);let a=i.const("_errs",Te.default.errors);Tc(t,a),i.var(r,Be._`${a} === ${Te.default.errors}`)}function Pc(t){Ec.checkUnknownRules(t),uy(t)}function Tc(t,r){if(t.opts.jtd)return xc.schemaKeywords(t,[],!1,r);let e=vc.getSchemaTypes(t.schema),i=vc.coerceAndCheckDataType(t,e);xc.schemaKeywords(t,e,!i,r)}function uy(t){let{schema:r,errSchemaPath:e,opts:i,self:s}=t;r.$ref&&i.ignoreKeywordsWithRef&&Ec.schemaHasRulesButRef(r,s.RULES)&&s.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function fy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&Ic(t,"default is ignored in the schema root")}function cy(t){t.schema.$id&&(t.baseId=ty.resolveUrl(t.baseId,t.schema.$id))}function py(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function Fc({gen:t,schemaEnv:r,schema:e,errSchemaPath:i,opts:s}){let a=e.$comment;if(s.$comment===!0)t.code(Be._`${Te.default.self}.logger.log(${a})`);else if(typeof s.$comment=="function"){let l=Be.str`${i}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Be._`${Te.default.self}.opts.$comment(${a}, ${l}, ${f}.schema)`)}}function dy(t){let{gen:r,schemaEnv:e,validateName:i,ValidationError:s,opts:a}=t;e.$async?r.if(Be._`${Te.default.errors} === 0`,()=>r.return(Te.default.data),()=>r.throw(Be._`new ${s}(${Te.default.vErrors})`)):(r.assign(Be._`${i}.errors`,Te.default.vErrors),a.unevaluated&&my(t),r.return(Be._`${Te.default.errors} === 0`))}function my({gen:t,evaluated:r,props:e,items:i}){e instanceof Be.Name&&t.assign(Be._`${r}.props`,e),i instanceof Be.Name&&t.assign(Be._`${r}.items`,i)}function Ic(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}kn.checkStrictMode=Ic});var _t=me(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.func=Ye.setEvaluated=Ye.evaluatedPropsToName=Ye.mergeEvaluated=Ye.eachItem=Ye.unescapeJsonPointer=Ye.escapeJsonPointer=Ye.escapeFragment=Ye.unescapeFragment=Ye.schemaRefOrVal=Ye.schemaHasRulesButRef=Ye.schemaHasRules=Ye.checkUnknownRules=Ye.alwaysValidSchema=Ye.toHash=void 0;var Tt=Ne(),hy=Lr();function gy(t){let r={};for(let e of t)r[e]=!0;return r}Ye.toHash=gy;function yy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(qc(t,r),!Nc(r,t.self.RULES.all))}Ye.alwaysValidSchema=yy;function qc(t,r=t.schema){let{opts:e,self:i}=t;if(!e.strict||typeof r=="boolean")return;let s=i.RULES.keywords;for(let a in r)s[a]||hy.checkStrictMode(t,`unknown keyword: "${a}"`)}Ye.checkUnknownRules=qc;function Nc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}Ye.schemaHasRules=Nc;function $y(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}Ye.schemaHasRulesButRef=$y;function by({topSchemaRef:t,schemaPath:r},e,i,s){if(!s){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Tt._`${e}`}return Tt._`${t}${r}${Tt.getProperty(i)}`}Ye.schemaRefOrVal=by;function wy(t){return Rc(decodeURIComponent(t))}Ye.unescapeFragment=wy;function ky(t){return encodeURIComponent(Dc(t))}Ye.escapeFragment=ky;function Dc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}Ye.escapeJsonPointer=Dc;function Rc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}Ye.unescapeJsonPointer=Rc;function vy(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}Ye.eachItem=vy;function Oc({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:i}){return(s,a,l,f)=>{let c=l===void 0?a:l instanceof Tt.Name?(a instanceof Tt.Name?t(s,a,l):r(s,a,l),l):a instanceof Tt.Name?(r(s,l,a),a):e(a,l);return f===Tt.Name&&!(c instanceof Tt.Name)?i(s,c):c}}Ye.mergeEvaluated={props:Oc({mergeNames:(t,r,e)=>t.if(Tt._`${e} !== true && ${r} !== undefined`,()=>{t.if(Tt._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,Tt._`${e} || {}`).code(Tt._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(Tt._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,Tt._`${e} || {}`),yl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Lc}),items:Oc({mergeNames:(t,r,e)=>t.if(Tt._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,Tt._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(Tt._`${e} !== true`,()=>t.assign(e,r===!0?!0:Tt._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Lc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",Tt._`{}`);return r!==void 0&&yl(t,e,r),e}Ye.evaluatedPropsToName=Lc;function yl(t,r,e){Object.keys(e).forEach(i=>t.assign(Tt._`${r}${Tt.getProperty(i)}`,!0))}Ye.setEvaluated=yl;function xy(t,r){return t.scopeValue("func",{ref:r,code:r.code})}Ye.func=xy});var Zi=me(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.reportTypeError=Kt.checkDataTypes=Kt.checkDataType=Kt.coerceAndCheckDataType=Kt.getJSONTypes=Kt.getSchemaTypes=Kt.DataType=void 0;var Cy=Va(),Ay=Ua(),Ey=To(),Fe=Ne(),jc=_t(),qo;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(qo=Kt.DataType||(Kt.DataType={}));function _y(t){let r=Bc(t.type);if(r.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!r.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&r.push("null")}return r}Kt.getSchemaTypes=_y;function Bc(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(Cy.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Kt.getJSONTypes=Bc;function Sy(t,r){let{gen:e,data:i,opts:s}=t,a=Py(r,s.coerceTypes),l=r.length>0&&!(a.length===0&&r.length===1&&Ay.schemaHasRulesForType(t,r[0]));if(l){let f=bl(r,i,s.strict,qo.Wrong);e.if(f,()=>{a.length?Ty(t,r,a):wl(t)})}return l}Kt.coerceAndCheckDataType=Sy;var Mc=new Set(["string","number","integer","boolean","null"]);function Py(t,r){return r?t.filter(e=>Mc.has(e)||r==="array"&&e==="array"):[]}function Ty(t,r,e){let{gen:i,data:s,opts:a}=t,l=i.let("dataType",Fe._`typeof ${s}`),f=i.let("coerced",Fe._`undefined`);a.coerceTypes==="array"&&i.if(Fe._`${l} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,()=>i.assign(s,Fe._`${s}[0]`).assign(l,Fe._`typeof ${s}`).if(bl(r,s,a.strict),()=>i.assign(f,s))),i.if(Fe._`${f} !== undefined`);for(let m of e)(Mc.has(m)||m==="array"&&a.coerceTypes==="array")&&c(m);i.else(),wl(t),i.endIf(),i.if(Fe._`${f} !== undefined`,()=>{i.assign(s,f),Fy(t,f)});function c(m){switch(m){case"string":i.elseIf(Fe._`${l} == "number" || ${l} == "boolean"`).assign(f,Fe._`"" + ${s}`).elseIf(Fe._`${s} === null`).assign(f,Fe._`""`);return;case"number":i.elseIf(Fe._`${l} == "boolean" || ${s} === null
3
+ || (${l} == "string" && ${s} && ${s} == +${s})`).assign(f,Fe._`+${s}`);return;case"integer":i.elseIf(Fe._`${l} === "boolean" || ${s} === null
4
+ || (${l} === "string" && ${s} && ${s} == +${s} && !(${s} % 1))`).assign(f,Fe._`+${s}`);return;case"boolean":i.elseIf(Fe._`${s} === "false" || ${s} === 0 || ${s} === null`).assign(f,!1).elseIf(Fe._`${s} === "true" || ${s} === 1`).assign(f,!0);return;case"null":i.elseIf(Fe._`${s} === "" || ${s} === 0 || ${s} === false`),i.assign(f,null);return;case"array":i.elseIf(Fe._`${l} === "string" || ${l} === "number"
5
+ || ${l} === "boolean" || ${s} === null`).assign(f,Fe._`[${s}]`)}}}function Fy({gen:t,parentData:r,parentDataProperty:e},i){t.if(Fe._`${r} !== undefined`,()=>t.assign(Fe._`${r}[${e}]`,i))}function $l(t,r,e,i=qo.Correct){let s=i===qo.Correct?Fe.operators.EQ:Fe.operators.NEQ,a;switch(t){case"null":return Fe._`${r} ${s} null`;case"array":a=Fe._`Array.isArray(${r})`;break;case"object":a=Fe._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":a=l(Fe._`!(${r} % 1) && !isNaN(${r})`);break;case"number":a=l();break;default:return Fe._`typeof ${r} ${s} ${t}`}return i===qo.Correct?a:Fe.not(a);function l(f=Fe.nil){return Fe.and(Fe._`typeof ${r} == "number"`,f,e?Fe._`isFinite(${r})`:Fe.nil)}}Kt.checkDataType=$l;function bl(t,r,e,i){if(t.length===1)return $l(t[0],r,e,i);let s,a=jc.toHash(t);if(a.array&&a.object){let l=Fe._`typeof ${r} != "object"`;s=a.null?l:Fe._`!${r} || ${l}`,delete a.null,delete a.array,delete a.object}else s=Fe.nil;a.number&&delete a.integer;for(let l in a)s=Fe.and(s,$l(l,r,e,i));return s}Kt.checkDataTypes=bl;var Iy={message:({schema:t})=>Fe.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Fe._`{type: ${t}}`:Fe._`{type: ${r}}`};function wl(t){let r=Oy(t);Ey.reportError(r,Iy)}Kt.reportTypeError=wl;function Oy(t){let{gen:r,data:e,schema:i}=t,s=jc.schemaRefOrVal(t,i,"type");return{gen:r,keyword:"type",data:e,schema:i.type,schemaCode:s,schemaValue:s,parentSchema:i,params:{},it:t}}});var Fo=me(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.getData=void 0;var zc=Zi(),Is=_t(),No=To(),qt=Ne(),kl=on(),qy=yi(),vl=class{constructor(r,e,i){if(Dy(r,e,i),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=i,this.data=r.data,this.schema=r.schema[i],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Is.schemaRefOrVal(r,this.schema,i,this.$data),this.schemaType=e.schemaType,this.parentSchema=r.schema,this.params={},this.it=r,this.def=e,this.$data)this.schemaCode=r.gen.const("vSchema",Vc(this.$data,r));else if(this.schemaCode=this.schemaValue,!Ny(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${i} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=r.gen.const("_errs",kl.default.errors))}result(r,e,i){this.gen.if(qt.not(r)),i?i():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(r,e){this.result(r,void 0,e)}fail(r){if(r===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(r),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(r){if(!this.$data)return this.fail(r);let{schemaCode:e}=this;this.fail(qt._`${e} !== undefined && (${qt.or(this.invalid$data(),r)})`)}error(r){(r?No.reportExtraError:No.reportError)(this,this.def.error)}$dataError(){No.reportError(this,this.def.$dataError||No.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');No.resetErrorsCount(this.gen,this.errsCount)}ok(r){this.allErrors||this.gen.if(r)}setParams(r,e){e?Object.assign(this.params,r):this.params=r}block$data(r,e,i=qt.nil){this.gen.block(()=>{this.check$data(r,i),e()})}check$data(r=qt.nil,e=qt.nil){if(!this.$data)return;let{gen:i,schemaCode:s,schemaType:a,def:l}=this;i.if(qt.or(qt._`${s} === undefined`,e)),r!==qt.nil&&i.assign(r,!0),(a.length||l.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),r!==qt.nil&&i.assign(r,!1)),i.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:i,def:s,it:a}=this;return qt.or(l(),f());function l(){if(i.length){if(!(e instanceof qt.Name))throw new Error("ajv implementation error");let c=Array.isArray(i)?i:[i];return qt._`${zc.checkDataTypes(c,e,a.opts.strict,zc.DataType.Wrong)}`}return qt.nil}function f(){if(s.validateSchema){let c=r.scopeValue("validate$data",{ref:s.validateSchema});return qt._`!${c}(${e})`}return qt.nil}}subschema(r,e){return qy.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:i,gen:s}=this;!i.opts.unevaluated||(i.props!==!0&&r.props!==void 0&&(i.props=Is.mergeEvaluated.props(s,r.props,i.props,e)),i.items!==!0&&r.items!==void 0&&(i.items=Is.mergeEvaluated.items(s,r.items,i.items,e)))}mergeValidEvaluated(r,e){let{it:i,gen:s}=this;if(i.opts.unevaluated&&(i.props!==!0||i.items!==!0))return s.if(e,()=>this.mergeEvaluated(r,qt.Name)),!0}};Do.default=vl;function Ny(t,r,e=!1){return!r.length||r.some(i=>i==="array"?Array.isArray(t):i==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==i||e&&typeof t>"u")}function Dy({schema:t,opts:r,self:e},i,s){if(Array.isArray(i.keyword)?!i.keyword.includes(s):i.keyword!==s)throw new Error("ajv implementation error");let a=i.dependencies;if(a!=null&&a.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${s}: ${a.join(",")}`);if(i.validateSchema&&!i.validateSchema(t[s])){let f="keyword value is invalid: "+e.errorsText(i.validateSchema.errors);if(r.validateSchema==="log")e.logger.error(f);else throw new Error(f)}}var Ry=/^\/(?:[^~]|~0|~1)*$/,Ly=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Vc(t,{dataLevel:r,dataNames:e,dataPathArr:i}){let s,a;if(t==="")return kl.default.rootData;if(t[0]==="/"){if(!Ry.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);s=t,a=kl.default.rootData}else{let m=Ly.exec(t);if(!m)throw new Error(`Invalid JSON-pointer: ${t}`);let d=+m[1];if(s=m[2],s==="#"){if(d>=r)throw new Error(c("property/index",d));return i[r-d]}if(d>r)throw new Error(c("data",d));if(a=e[r-d],!s)return a}let l=a,f=s.split("/");for(let m of f)m&&(a=qt._`${a}${qt.getProperty(Is.unescapeJsonPointer(m))}`,l=qt._`${l} && ${a}`);return l;function c(m,d){return`Cannot access ${m} ${d} levels up, current level is ${r}`}}Do.getData=Vc});var Ns=me((Qi,Uc)=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.MissingRefError=Qi.ValidationError=void 0;var xl=Oo(),Os=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};Qi.ValidationError=Os;var qs=class extends Error{constructor(r,e,i){super(i||`can't resolve reference ${e} from id ${r}`),this.missingRef=xl.resolveUrl(r,e),this.missingSchema=xl.normalizeId(xl.getFullPath(this.missingRef))}};Qi.MissingRefError=qs;Uc.exports={ValidationError:Os,MissingRefError:qs}});var El=me(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.resolveSchema=Kr.getCompilingSchema=Kr.resolveRef=Kr.compileSchema=Kr.SchemaEnv=void 0;var an=Ne(),jy=Ns(),bi=on(),ln=Oo(),Hc=_t(),By=Lr(),My=ml(),Xi=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let i;typeof r.schema=="object"&&(i=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:ln.normalizeId(i==null?void 0:i.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=i==null?void 0:i.$async,this.refs={}}};Kr.SchemaEnv=Xi;function Al(t){let r=Gc.call(this,t);if(r)return r;let e=ln.getFullPath(t.root.baseId),{es5:i,lines:s}=this.opts.code,{ownProperties:a}=this.opts,l=new an.CodeGen(this.scope,{es5:i,lines:s,ownProperties:a}),f;t.$async&&(f=l.scopeValue("Error",{ref:jy.ValidationError,code:an._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let m={gen:l,allErrors:this.opts.allErrors,data:bi.default.data,parentData:bi.default.parentData,parentDataProperty:bi.default.parentDataProperty,dataNames:[bi.default.data],dataPathArr:[an.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:an.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:an.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:an._`""`,opts:this.opts,self:this},d;try{this._compilations.add(t),By.validateFunctionCode(m),l.optimize(this.opts.code.optimize);let $=l.toString();d=`${l.scopeRefs(bi.default.scope)}return ${$}`,this.opts.code.process&&(d=this.opts.code.process(d,t));let k=new Function(`${bi.default.self}`,`${bi.default.scope}`,d)(this,this.scope.get());if(this.scope.value(c,{ref:k}),k.errors=null,k.schema=t.schema,k.schemaEnv=t,t.$async&&(k.$async=!0),this.opts.code.source===!0&&(k.source={validateName:c,validateCode:$,scopeValues:l._values}),this.opts.unevaluated){let{props:x,items:I}=m;k.evaluated={props:x instanceof an.Name?void 0:x,items:I instanceof an.Name?void 0:I,dynamicProps:x instanceof an.Name,dynamicItems:I instanceof an.Name},k.source&&(k.source.evaluated=an.stringify(k.evaluated))}return t.validate=k,t}catch($){throw delete t.validate,delete t.validateName,d&&this.logger.error("Error compiling schema, function code:",d),$}finally{this._compilations.delete(t)}}Kr.compileSchema=Al;function zy(t,r,e){var i;e=ln.resolveUrl(r,e);let s=t.refs[e];if(s)return s;let a=Hy.call(this,t,e);if(a===void 0){let l=(i=t.localRefs)===null||i===void 0?void 0:i[e];l&&(a=new Xi({schema:l,root:t,baseId:r}))}if(a!==void 0)return t.refs[e]=Vy.call(this,a)}Kr.resolveRef=zy;function Vy(t){return ln.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Al.call(this,t)}function Gc(t){for(let r of this._compilations)if(Uy(r,t))return r}Kr.getCompilingSchema=Gc;function Uy(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function Hy(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Ds.call(this,t,r)}function Ds(t,r){let e=My.parse(r),i=ln._getFullPath(e),s=ln.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&i===s)return Cl.call(this,e,t);let a=ln.normalizeId(i),l=this.refs[a]||this.schemas[a];if(typeof l=="string"){let f=Ds.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:Cl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Al.call(this,l),a===ln.normalizeId(r)){let{schema:f}=l;return f.$id&&(s=ln.resolveUrl(s,f.$id)),new Xi({schema:f,root:t,baseId:s})}return Cl.call(this,e,l)}}Kr.resolveSchema=Ds;var Gy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Cl(t,{baseId:r,schema:e,root:i}){var s;if(((s=t.fragment)===null||s===void 0?void 0:s[0])!=="/")return;for(let l of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[Hc.unescapeFragment(l)],e===void 0))return;!Gy.has(l)&&typeof e=="object"&&e.$id&&(r=ln.resolveUrl(r,e.$id))}let a;if(typeof e!="boolean"&&e.$ref&&!Hc.schemaHasRulesButRef(e,this.RULES)){let l=ln.resolveUrl(r,e.$ref);a=Ds.call(this,i,l)}if(a=a||new Xi({schema:e,root:i,baseId:r}),a.schema!==a.root.schema)return a}});var Kc=me((a1,Ky)=>{Ky.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var Xc=me(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.CodeGen=Wt.Name=Wt.nil=Wt.stringify=Wt.str=Wt._=Wt.KeywordCxt=void 0;var Wy=Fo();Wt.KeywordCxt=Wy.default;var Yi=Ne();Object.defineProperty(Wt,"_",{enumerable:!0,get:function(){return Yi._}});Object.defineProperty(Wt,"str",{enumerable:!0,get:function(){return Yi.str}});Object.defineProperty(Wt,"stringify",{enumerable:!0,get:function(){return Yi.stringify}});Object.defineProperty(Wt,"nil",{enumerable:!0,get:function(){return Yi.nil}});Object.defineProperty(Wt,"Name",{enumerable:!0,get:function(){return Yi.Name}});Object.defineProperty(Wt,"CodeGen",{enumerable:!0,get:function(){return Yi.CodeGen}});var Pl=Ns(),Zy=Va(),Ro=El(),Jy=Ne(),Rs=Oo(),Ls=Zi(),Sl=_t(),Wc=Kc(),Qy=["removeAdditional","useDefaults","coerceTypes"],Xy=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Yy={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",schemaId:"JSON Schema draft-04 is not supported in Ajv v7.",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",strictNumbers:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key."},e$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function t$(t){var r,e,i,s,a,l,f,c,m,d,$,E;let k=(r=t.strict)!==null&&r!==void 0?r:!0,x=k?"log":!1,I=(e=t.code)===null||e===void 0?void 0:e.optimize,N=I===!0||I===void 0?1:I||0;return{strict:k,strictTypes:(i=t.strictTypes)!==null&&i!==void 0?i:x,strictTuples:(s=t.strictTuples)!==null&&s!==void 0?s:x,code:t.code?{...t.code,optimize:N}:{optimize:N},loopRequired:(a=t.loopRequired)!==null&&a!==void 0?a:1/0,loopEnum:(l=t.loopEnum)!==null&&l!==void 0?l:1/0,meta:(f=t.meta)!==null&&f!==void 0?f:!0,messages:(c=t.messages)!==null&&c!==void 0?c:!0,inlineRefs:(m=t.inlineRefs)!==null&&m!==void 0?m:!0,addUsedSchema:(d=t.addUsedSchema)!==null&&d!==void 0?d:!0,validateSchema:($=t.validateSchema)!==null&&$!==void 0?$:!0,validateFormats:(E=t.validateFormats)!==null&&E!==void 0?E:!0}}var Lo=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...t$(r)};let{es5:e,lines:i}=this.opts.code;this.scope=new Jy.ValueScope({scope:{},prefixes:Xy,es5:e,lines:i}),this.logger=a$(r.logger);let s=r.validateFormats;r.validateFormats=!1,this.RULES=Zy.getRules(),Zc.call(this,Yy,r,"NOT SUPPORTED"),Zc.call(this,e$,r,"DEPRECATED","warn"),this._metaOpts=o$.call(this),r.formats&&n$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&i$.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),r$.call(this),r.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(Wc,Wc.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let i;if(typeof r=="string"){if(i=this.getSchema(r),!i)throw new Error(`no schema with key or ref "${r}"`)}else i=this.compile(r);let s=i(e);return"$async"in i||(this.errors=i.errors),s}compile(r,e){let i=this._addSchema(r,e);return i.validate||this._compileSchemaEnv(i)}compileAsync(r,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:i}=this.opts;return s.call(this,r,e);async function s(d,$){await a.call(this,d.$schema);let E=this._addSchema(d,$);return E.validate||l.call(this,E)}async function a(d){d&&!this.getSchema(d)&&await s.call(this,{$ref:d},!0)}async function l(d){try{return this._compileSchemaEnv(d)}catch($){if(!($ instanceof Pl.MissingRefError))throw $;return f.call(this,$),await c.call(this,$.missingSchema),l.call(this,d)}}function f({missingSchema:d,missingRef:$}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${$} cannot be resolved`)}async function c(d){let $=await m.call(this,d);this.refs[d]||await a.call(this,$.$schema),this.refs[d]||this.addSchema($,d,e)}async function m(d){let $=this._loading[d];if($)return $;try{return await(this._loading[d]=i(d))}finally{delete this._loading[d]}}}addSchema(r,e,i,s=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,i,s);return this}let a;if(typeof r=="object"&&(a=r.$id,a!==void 0&&typeof a!="string"))throw new Error("schema id must be string");return e=Rs.normalizeId(e||a),this._checkUnique(e),this.schemas[e]=this._addSchema(r,i,s,!0),this}addMetaSchema(r,e,i=this.opts.validateSchema){return this.addSchema(r,e,!0,i),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let i;if(i=r.$schema,i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this.opts.defaultMeta||this.defaultMeta(),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let s=this.validate(i,r);if(!s&&e){let a="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(a);else throw new Error(a)}return s}getSchema(r){let e;for(;typeof(e=Jc.call(this,r))=="string";)r=e;if(e===void 0){let i=new Ro.SchemaEnv({schema:{}});if(e=Ro.resolveSchema.call(this,i,r),!e)return;this.refs[r]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(r){if(r instanceof RegExp)return this._removeAllSchemas(this.schemas,r),this._removeAllSchemas(this.refs,r),this;switch(typeof r){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=Jc.call(this,r);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[r],delete this.refs[r],this}case"object":{let e=r;this._cache.delete(e);let i=r.$id;return i&&(i=Rs.normalizeId(i),delete this.schemas[i],delete this.refs[i]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(r){for(let e of r)this.addKeyword(e);return this}addKeyword(r,e){let i;if(typeof r=="string")i=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=i);else if(typeof r=="object"&&e===void 0){if(e=r,i=e.keyword,Array.isArray(i)&&!i.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(u$.call(this,i,e),!e)return Sl.eachItem(i,a=>_l.call(this,a)),this;c$.call(this,e);let s={...e,type:Ls.getJSONTypes(e.type),schemaType:Ls.getJSONTypes(e.schemaType)};return Sl.eachItem(i,s.type.length===0?a=>_l.call(this,a,s):a=>s.type.forEach(l=>_l.call(this,a,s,l))),this}getKeyword(r){let e=this.RULES.all[r];return typeof e=="object"?e.definition:!!e}removeKeyword(r){let{RULES:e}=this;delete e.keywords[r],delete e.all[r];for(let i of e.rules){let s=i.rules.findIndex(a=>a.keyword===r);s>=0&&i.rules.splice(s,1)}return this}addFormat(r,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[r]=e,this}errorsText(r=this.errors,{separator:e=", ",dataVar:i="data"}={}){return!r||r.length===0?"No errors":r.map(s=>`${i}${s.dataPath} ${s.message}`).reduce((s,a)=>s+e+a)}$dataMetaSchema(r,e){let i=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let s of e){let a=s.split("/").slice(1),l=r;for(let f of a)l=l[f];for(let f in i){let c=i[f];if(typeof c!="object")continue;let{$data:m}=c.definition,d=l[f];m&&d&&(l[f]=Qc(d))}}return r}_removeAllSchemas(r,e){for(let i in r){let s=r[i];(!e||e.test(i))&&(typeof s=="string"?delete r[i]:s&&!s.meta&&(this._cache.delete(s.schema),delete r[i]))}}_addSchema(r,e,i=this.opts.validateSchema,s=this.opts.addUsedSchema){if(typeof r!="object"){if(this.opts.jtd)throw new Error("schema must be object");if(typeof r!="boolean")throw new Error("schema must be object or boolean")}let a=this._cache.get(r);if(a!==void 0)return a;let l=Rs.getSchemaRefs.call(this,r);a=new Ro.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(a.schema,a);let f=a.baseId;return s&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=a),i&&this.validateSchema(r,!0),a}_checkUnique(r){if(this.schemas[r]||this.refs[r])throw new Error(`schema with key or id "${r}" already exists`)}_compileSchemaEnv(r){if(r.meta?this._compileMetaSchema(r):Ro.compileSchema.call(this,r),!r.validate)throw new Error("ajv implementation error");return r.validate}_compileMetaSchema(r){let e=this.opts;this.opts=this._metaOpts;try{Ro.compileSchema.call(this,r)}finally{this.opts=e}}};Wt.default=Lo;Lo.ValidationError=Pl.ValidationError;Lo.MissingRefError=Pl.MissingRefError;function Zc(t,r,e,i="error"){for(let s in t){let a=s;a in r&&this.logger[i](`${e}: option ${s}. ${t[a]}`)}}function Jc(t){return t=Rs.normalizeId(t),this.schemas[t]||this.refs[t]}function r$(){let t=this.opts.schemas;if(!!t)if(Array.isArray(t))this.addSchema(t);else for(let r in t)this.addSchema(t[r],r)}function n$(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function i$(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let r in t){let e=t[r];e.keyword||(e.keyword=r),this.addKeyword(e)}}function o$(){let t={...this.opts};for(let r of Qy)delete t[r];return t}var s$={log(){},warn(){},error(){}};function a$(t){if(t===!1)return s$;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var l$=/^[a-z_$][a-z0-9_$:-]*$/i;function u$(t,r){let{RULES:e}=this;if(Sl.eachItem(t,i=>{if(e.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!l$.test(i))throw new Error(`Keyword ${i} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function _l(t,r,e){var i;let s=r==null?void 0:r.post;if(e&&s)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:a}=this,l=s?a.post:a.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},a.rules.push(l)),a.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:Ls.getJSONTypes(r.type),schemaType:Ls.getJSONTypes(r.schemaType)}};r.before?f$.call(this,l,f,r.before):l.rules.push(f),a.all[t]=f,(i=r.implements)===null||i===void 0||i.forEach(c=>this.addKeyword(c))}function f$(t,r,e){let i=t.rules.findIndex(s=>s.keyword===e);i>=0?t.rules.splice(i,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function c$(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=Qc(r)),t.validateSchema=this.compile(r,!0))}var p$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Qc(t){return{anyOf:[t,p$]}}});var Yc=me(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});var d$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Tl.default=d$});var np=me(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.callRef=wi.getValidate=void 0;var m$=Ns(),ep=sn(),Sr=Ne(),eo=on(),tp=El(),js=_t(),h$={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:i}=t,{baseId:s,schemaEnv:a,validateName:l,opts:f,self:c}=i;if(e==="#"||e==="#/")return d();let m=tp.resolveRef.call(c,a.root,s,e);if(m===void 0)throw new m$.MissingRefError(s,e);if(m instanceof tp.SchemaEnv)return $(m);return E(m);function d(){if(a===a.root)return Bs(t,l,a,a.$async);let k=r.scopeValue("root",{ref:a.root});return Bs(t,Sr._`${k}.validate`,a.root,a.root.$async)}function $(k){let x=rp(t,k);Bs(t,x,k,k.$async)}function E(k){let x=r.scopeValue("schema",f.code.source===!0?{ref:k,code:Sr.stringify(k)}:{ref:k}),I=r.name("valid"),N=t.subschema({schema:k,dataTypes:[],schemaPath:Sr.nil,topSchemaRef:x,errSchemaPath:e},I);t.mergeEvaluated(N),t.ok(I)}}};function rp(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Sr._`${e.scopeValue("wrapper",{ref:r})}.validate`}wi.getValidate=rp;function Bs(t,r,e,i){let{gen:s,it:a}=t,{allErrors:l,schemaEnv:f,opts:c}=a,m=c.passContext?eo.default.this:Sr.nil;i?d():$();function d(){if(!f.$async)throw new Error("async schema referenced by sync schema");let x=s.let("valid");s.try(()=>{s.code(Sr._`await ${ep.callValidateCode(t,r,m)}`),k(r),l||s.assign(x,!0)},I=>{s.if(Sr._`!(${I} instanceof ${a.ValidationError})`,()=>s.throw(I)),E(I),l||s.assign(x,!1)}),t.ok(x)}function $(){t.result(ep.callValidateCode(t,r,m),()=>k(r),()=>E(r))}function E(x){let I=Sr._`${x}.errors`;s.assign(eo.default.vErrors,Sr._`${eo.default.vErrors} === null ? ${I} : ${eo.default.vErrors}.concat(${I})`),s.assign(eo.default.errors,Sr._`${eo.default.vErrors}.length`)}function k(x){var I;if(!a.opts.unevaluated)return;let N=(I=e==null?void 0:e.validate)===null||I===void 0?void 0:I.evaluated;if(a.props!==!0)if(N&&!N.dynamicProps)N.props!==void 0&&(a.props=js.mergeEvaluated.props(s,N.props,a.props));else{let B=s.var("props",Sr._`${x}.evaluated.props`);a.props=js.mergeEvaluated.props(s,B,a.props,Sr.Name)}if(a.items!==!0)if(N&&!N.dynamicItems)N.items!==void 0&&(a.items=js.mergeEvaluated.items(s,N.items,a.items));else{let B=s.var("items",Sr._`${x}.evaluated.items`);a.items=js.mergeEvaluated.items(s,B,a.items,Sr.Name)}}}wi.callRef=Bs;wi.default=h$});var ip=me(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});var g$=Yc(),y$=np(),$$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",g$.default,y$.default];Fl.default=$$});var op=me(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var Ms=Ne(),Zn=Ms.operators,zs={maximum:{okStr:"<=",ok:Zn.LTE,fail:Zn.GT},minimum:{okStr:">=",ok:Zn.GTE,fail:Zn.LT},exclusiveMaximum:{okStr:"<",ok:Zn.LT,fail:Zn.GTE},exclusiveMinimum:{okStr:">",ok:Zn.GT,fail:Zn.LTE}},b$={message:({keyword:t,schemaCode:r})=>Ms.str`should be ${zs[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Ms._`{comparison: ${zs[t].okStr}, limit: ${r}}`},w$={keyword:Object.keys(zs),type:"number",schemaType:"number",$data:!0,error:b$,code(t){let{keyword:r,data:e,schemaCode:i}=t;t.fail$data(Ms._`${e} ${zs[r].fail} ${i} || isNaN(${e})`)}};Il.default=w$});var sp=me(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});var jo=Ne(),k$={message:({schemaCode:t})=>jo.str`should be multiple of ${t}`,params:({schemaCode:t})=>jo._`{multipleOf: ${t}}`},v$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:k$,code(t){let{gen:r,data:e,schemaCode:i,it:s}=t,a=s.opts.multipleOfPrecision,l=r.let("res"),f=a?jo._`Math.abs(Math.round(${l}) - ${l}) > 1e-${a}`:jo._`${l} !== parseInt(${l})`;t.fail$data(jo._`(${i} === 0 || (${l} = ${e}/${i}, ${f}))`)}};Ol.default=v$});var ap=me(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});function x$(t){let r=t.length,e=0,i=0,s;for(;i<r;)e++,s=t.charCodeAt(i++),s>=55296&&s<=56319&&i<r&&(s=t.charCodeAt(i),(s&64512)===56320&&i++);return e}ql.default=x$});var lp=me(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var Jn=Ne(),C$=ap(),A$={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return Jn.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>Jn._`{limit: ${t}}`},E$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:A$,code(t){let{keyword:r,data:e,schemaCode:i,it:s}=t,a=r==="maxLength"?Jn.operators.GT:Jn.operators.LT,l;if(s.opts.unicode===!1)l=Jn._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:C$.default,code:Jn._`require("ajv/dist/compile/ucs2length").default`});l=Jn._`${f}(${e})`}t.fail$data(Jn._`${l} ${a} ${i}`)}};Nl.default=E$});var up=me(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var _$=sn(),Vs=Ne(),S$={message:({schemaCode:t})=>Vs.str`should match pattern "${t}"`,params:({schemaCode:t})=>Vs._`{pattern: ${t}}`},P$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:S$,code(t){let{gen:r,data:e,$data:i,schema:s,schemaCode:a}=t,l=i?Vs._`(new RegExp(${a}, "u"))`:_$.usePattern(r,s);t.fail$data(Vs._`!${l}.test(${e})`)}};Dl.default=P$});var fp=me(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var Bo=Ne(),T$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Bo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Bo._`{limit: ${t}}`},F$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:T$,code(t){let{keyword:r,data:e,schemaCode:i}=t,s=r==="maxProperties"?Bo.operators.GT:Bo.operators.LT;t.fail$data(Bo._`Object.keys(${e}).length ${s} ${i}`)}};Rl.default=F$});var cp=me(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var Mo=sn(),zo=Ne(),I$=Lr(),O$={message:({params:{missingProperty:t}})=>zo.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>zo._`{missingProperty: ${t}}`},q$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:O$,code(t){let{gen:r,schema:e,schemaCode:i,data:s,$data:a,it:l}=t,{opts:f}=l;if(!a&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?m():d(),f.strictRequired){let k=t.parentSchema.properties,{definedProperties:x}=t.it;for(let I of e)if((k==null?void 0:k[I])===void 0&&!x.has(I)){let N=l.schemaEnv.baseId+l.errSchemaPath,B=`required property "${I}" is not defined at "${N}" (strictRequired)`;I$.checkStrictMode(l,B,l.opts.strictRequired)}}function m(){if(c||a)t.block$data(zo.nil,$);else for(let k of e)Mo.checkReportMissingProp(t,k)}function d(){let k=r.let("missing");if(c||a){let x=r.let("valid",!0);t.block$data(x,()=>E(k,x)),t.ok(x)}else r.if(Mo.checkMissingProp(t,e,k)),Mo.reportMissingProp(t,k),r.else()}function $(){r.forOf("prop",i,k=>{t.setParams({missingProperty:k}),r.if(Mo.noPropertyInData(r,s,k,f.ownProperties),()=>t.error())})}function E(k,x){t.setParams({missingProperty:k}),r.forOf(k,i,()=>{r.assign(x,Mo.propertyInData(r,s,k,f.ownProperties)),r.if(zo.not(x),()=>{t.error(),r.break()})},zo.nil)}}};Ll.default=q$});var pp=me(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var Vo=Ne(),N$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return Vo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Vo._`{limit: ${t}}`},D$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:N$,code(t){let{keyword:r,data:e,schemaCode:i}=t,s=r==="maxItems"?Vo.operators.GT:Vo.operators.LT;t.fail$data(Vo._`${e}.length ${s} ${i}`)}};jl.default=D$});var dp=me(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});var Bl=Zi(),Bt=Ne(),R$=Io(),L$={message:({params:{i:t,j:r}})=>Bt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Bt._`{i: ${t}, j: ${r}}`},j$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:L$,code(t){let{gen:r,data:e,$data:i,schema:s,parentSchema:a,schemaCode:l,it:f}=t;if(!i&&!s)return;let c=r.let("valid"),m=a.items?Bl.getSchemaTypes(a.items):[];t.block$data(c,d,Bt._`${l} === false`),t.ok(c);function d(){let x=r.let("i",Bt._`${e}.length`),I=r.let("j");t.setParams({i:x,j:I}),r.assign(c,!0),r.if(Bt._`${x} > 1`,()=>($()?E:k)(x,I))}function $(){return m.length>0&&!m.some(x=>x==="object"||x==="array")}function E(x,I){let N=r.name("item"),B=Bl.checkDataTypes(m,N,f.opts.strict,Bl.DataType.Wrong),X=r.const("indices",Bt._`{}`);r.for(Bt._`;${x}--;`,()=>{r.let(N,Bt._`${e}[${x}]`),r.if(B,Bt._`continue`),m.length>1&&r.if(Bt._`typeof ${N} == "string"`,Bt._`${N} += "_"`),r.if(Bt._`typeof ${X}[${N}] == "number"`,()=>{r.assign(I,Bt._`${X}[${N}]`),t.error(),r.assign(c,!1).break()}).code(Bt._`${X}[${N}] = ${x}`)})}function k(x,I){let N=t.gen.scopeValue("func",{ref:R$,code:Bt._`require("ajv/dist/compile/equal")`}),B=r.name("outer");r.label(B).for(Bt._`;${x}--;`,()=>r.for(Bt._`${I} = ${x}; ${I}--;`,()=>r.if(Bt._`${N}(${e}[${x}], ${e}[${I}])`,()=>{t.error(),r.assign(c,!1).break(B)})))}}};Ml.default=j$});var mp=me(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var zl=Ne(),B$=Io(),M$={message:"should be equal to constant",params:({schemaCode:t})=>zl._`{allowedValue: ${t}}`},z$={keyword:"const",$data:!0,error:M$,code(t){let r=t.gen.scopeValue("func",{ref:B$,code:zl._`require("ajv/dist/compile/equal")`});t.fail$data(zl._`!${r}(${t.data}, ${t.schemaCode})`)}};Vl.default=z$});var hp=me(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var to=Ne(),V$=Io(),U$={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>to._`{allowedValues: ${t}}`},H$={keyword:"enum",schemaType:"array",$data:!0,error:U$,code(t){let{gen:r,data:e,$data:i,schema:s,schemaCode:a,it:l}=t;if(!i&&s.length===0)throw new Error("enum must have non-empty array");let f=s.length>=l.opts.loopEnum,c=t.gen.scopeValue("func",{ref:V$,code:to._`require("ajv/dist/compile/equal")`}),m;if(f||i)m=r.let("valid"),t.block$data(m,d);else{if(!Array.isArray(s))throw new Error("ajv implementation error");let E=r.const("vSchema",a);m=to.or(...s.map((k,x)=>$(E,x)))}t.pass(m);function d(){r.assign(m,!1),r.forOf("v",a,E=>r.if(to._`${c}(${e}, ${E})`,()=>r.assign(m,!0).break()))}function $(E,k){let x=s[k];return x&&typeof x=="object"?to._`${c}(${e}, ${E}[${k}])`:to._`${e} === ${x}`}}};Ul.default=H$});var gp=me(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var G$=op(),K$=sp(),W$=lp(),Z$=up(),J$=fp(),Q$=cp(),X$=pp(),Y$=dp(),eb=mp(),tb=hp(),rb=[G$.default,K$.default,W$.default,Z$.default,J$.default,Q$.default,X$.default,Y$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},eb.default,tb.default];Hl.default=rb});var yp=me(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});var ki=Ne(),nb=yi(),ib=_t(),ob=Lr(),sb={message:({params:{len:t}})=>ki.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>ki._`{limit: ${t}}`},ab={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sb,code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t,{items:l}=i;if(!Array.isArray(l)){ob.checkStrictMode(a,'"additionalItems" is ignored when "items" is not an array of schemas');return}a.items=!0;let f=r.const("len",ki._`${s}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(ki._`${f} <= ${l.length}`);else if(typeof e=="object"&&!ib.alwaysValidSchema(a,e)){let m=r.var("valid",ki._`${f} <= ${l.length}`);r.if(ki.not(m),()=>c(m)),t.ok(m)}function c(m){r.forRange("i",l.length,f,d=>{t.subschema({keyword:"additionalItems",dataProp:d,dataPropType:nb.Type.Num},m),a.allErrors||r.if(ki.not(m),()=>r.break())})}}};Gl.default=ab});var bp=me(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});var $p=Ne(),Kl=_t(),lb=Lr(),ub=sn(),fb={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:i}=t;if(Array.isArray(e))i.opts.unevaluated&&e.length&&i.items!==!0&&(i.items=Kl.mergeEvaluated.items(r,e.length,i.items)),s(e);else{if(i.items=!0,Kl.alwaysValidSchema(i,e))return;t.ok(ub.validateArray(t))}function s(a){let{parentSchema:l,data:f}=t;if(i.opts.strictTuples&&!cb(a.length,l)){let d=`"items" is ${a.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;lb.checkStrictMode(i,d,i.opts.strictTuples)}let c=r.name("valid"),m=r.const("len",$p._`${f}.length`);a.forEach((d,$)=>{Kl.alwaysValidSchema(i,d)||(r.if($p._`${m} > ${$}`,()=>t.subschema({keyword:"items",schemaProp:$,dataProp:$},c)),t.ok(c))})}}};function cb(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}Wl.default=fb});var kp=me(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});var un=Ne(),pb=yi(),db=_t(),wp=Lr(),mb={message:({params:{min:t,max:r}})=>r===void 0?un.str`should contain at least ${t} valid item(s)`:un.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?un._`{minContains: ${t}}`:un._`{minContains: ${t}, maxContains: ${r}}`},hb={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:mb,code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t,l,f,{minContains:c,maxContains:m}=i;a.opts.next?(l=c===void 0?1:c,f=m):l=1;let d=r.const("len",un._`${s}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){wp.checkStrictMode(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){wp.checkStrictMode(a,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(db.alwaysValidSchema(a,e)){let x=un._`${d} >= ${l}`;f!==void 0&&(x=un._`${x} && ${d} <= ${f}`),t.pass(x);return}a.items=!0;let $=r.name("valid");if(f===void 0&&l===1)E($,()=>r.if($,()=>r.break()));else{r.let($,!1);let x=r.name("_valid"),I=r.let("count",0);E(x,()=>r.if(x,()=>k(I)))}t.result($,()=>t.reset());function E(x,I){r.forRange("i",0,d,N=>{t.subschema({keyword:"contains",dataProp:N,dataPropType:pb.Type.Num,compositeRule:!0},x),I()})}function k(x){r.code(un._`${x}++`),f===void 0?r.if(un._`${x} >= ${l}`,()=>r.assign($,!0).break()):(r.if(un._`${x} > ${f}`,()=>r.assign($,!1).break()),l===1?r.assign($,!0):r.if(un._`${x} >= ${l}`,()=>r.assign($,!0)))}}};Zl.default=hb});var Cp=me(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.validateSchemaDeps=vn.validatePropertyDeps=vn.error=void 0;var Jl=Ne(),gb=_t(),Uo=sn();vn.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let i=r===1?"property":"properties";return Jl.str`should have ${i} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:i}})=>Jl._`{property: ${t},
6
6
  missingProperty: ${i},
7
7
  depsCount: ${r},
8
- deps: ${e}}`};var yb={keyword:"dependencies",type:"object",schemaType:"object",error:$n.error,code(t){let[r,e]=$b(t);kp(t,r),wp(t,e)}};function $b({schema:t}){let r={},e={};for(let i in t){if(i==="__proto__")continue;let s=Array.isArray(t[i])?r:e;s[i]=t[i]}return[r,e]}function kp(t,r=t.schema){let{gen:e,data:i,it:s}=t;if(Object.keys(r).length===0)return;let a=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=Uo.propertyInData(e,i,l,s.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),s.allErrors?e.if(c,()=>{for(let m of f)Uo.checkReportMissingProp(t,m)}):(e.if(Wl._`${c} && (${Uo.checkMissingProp(t,f,a)})`),Uo.reportMissingProp(t,a),e.else())}}$n.validatePropertyDeps=kp;function wp(t,r=t.schema){let{gen:e,data:i,keyword:s,it:a}=t,l=e.name("valid");for(let f in r)gb.alwaysValidSchema(a,r[f])||(e.if(Uo.propertyInData(e,i,f,a.opts.ownProperties),()=>{let c=t.subschema({keyword:s,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}$n.validateSchemaDeps=wp;$n.default=yb});var Cp=me(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});var Zl=Ne(),bb=Et(),vb={message:({params:t})=>Zl.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Zl._`{propertyName: ${t.propertyName}}`},kb={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:vb,code(t){let{gen:r,schema:e,data:i,it:s}=t;if(bb.alwaysValidSchema(s,e))return;let a=r.name("valid");r.forIn("key",i,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},a),r.if(Zl.not(a),()=>{t.error(!0),s.allErrors||r.break()})}),t.ok(a)}};Jl.default=kb});var Xl=me(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});var zs=en(),on=Ne(),wb=Xr(),xb=gi(),Ql=Et(),Cb={message:"should NOT have additional properties",params:({params:t})=>on._`{additionalProperty: ${t.additionalProperty}}`},Ab={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Cb,code(t){let{gen:r,schema:e,parentSchema:i,data:s,errsCount:a,it:l}=t;if(!a)throw new Error("ajv implementation error");let{allErrors:f,opts:c}=l;if(l.props=!0,c.removeAdditional!=="all"&&Ql.alwaysValidSchema(l,e))return;let m=zs.allSchemaProperties(i.properties),d=zs.allSchemaProperties(i.patternProperties);b(),t.ok(on._`${a} === ${wb.default.errors}`);function b(){r.forIn("key",s,N=>{!m.length&&!d.length?E(N):r.if(x(N),()=>E(N))})}function x(N){let M;if(m.length>8){let Y=Ql.schemaRefOrVal(l,i.properties,"properties");M=zs.isOwnProperty(r,Y,N)}else m.length?M=on.or(...m.map(Y=>on._`${N} === ${Y}`)):M=on.nil;return d.length&&(M=on.or(M,...d.map(Y=>on._`${zs.usePattern(r,Y)}.test(${N})`))),on.not(M)}function k(N){r.code(on._`delete ${s}[${N}]`)}function E(N){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){k(N);return}if(e===!1){t.setParams({additionalProperty:N}),t.error(),f||r.break();return}if(typeof e=="object"&&!Ql.alwaysValidSchema(l,e)){let M=r.name("valid");c.removeAdditional==="failing"?(I(N,M,!1),r.if(on.not(M),()=>{t.reset(),k(N)})):(I(N,M),f||r.if(on.not(M),()=>r.break()))}}function I(N,M,Y){let se={keyword:"additionalProperties",dataProp:N,dataPropType:xb.Type.Str};Y===!1&&Object.assign(se,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(se,M)}}};Yl.default=Ab});var _p=me(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});var Eb=To(),Ap=en(),eu=Et(),Ep=Xl(),_b={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t;a.opts.removeAdditional==="all"&&i.additionalProperties===void 0&&Ep.default.code(new Eb.default(a,Ep.default,"additionalProperties"));let l=Ap.allSchemaProperties(e);for(let b of l)a.definedProperties.add(b);a.opts.unevaluated&&l.length&&a.props!==!0&&(a.props=eu.mergeEvaluated.props(r,eu.toHash(l),a.props));let f=l.filter(b=>!eu.alwaysValidSchema(a,e[b]));if(f.length===0)return;let c=r.name("valid");for(let b of f)m(b)?d(b):(r.if(Ap.propertyInData(r,s,b,a.opts.ownProperties)),d(b),a.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add(b),t.ok(c);function m(b){return a.opts.useDefaults&&!a.compositeRule&&e[b].default!==void 0}function d(b){t.subschema({keyword:"properties",schemaProp:b,dataProp:b},c)}}};tu.default=_b});var Pp=me(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});var Sp=en(),Ms=Ne(),Sb=gi(),Pb=Or(),Fb=Et(),Tb={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:i,parentSchema:s,it:a}=t,{opts:l}=a,f=Sp.schemaProperties(a,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&s.properties,m=r.name("valid");a.props!==!0&&!(a.props instanceof Ms.Name)&&(a.props=Fb.evaluatedPropsToName(r,a.props));let{props:d}=a;b();function b(){for(let E of f)c&&x(E),a.allErrors?k(E):(r.var(m,!0),k(E),r.if(m))}function x(E){for(let I in c)new RegExp(E).test(I)&&Pb.checkStrictMode(a,`property ${I} matches pattern ${E} (use allowMatchingProperties)`)}function k(E){r.forIn("key",i,I=>{r.if(Ms._`${Sp.usePattern(r,E)}.test(${I})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:E,dataProp:I,dataPropType:Sb.Type.Str},m),a.opts.unevaluated&&d!==!0?r.assign(Ms._`${d}[${I}]`,!0):a.allErrors||r.if(Ms.not(m),()=>r.break())})})}}};ru.default=Tb});var Fp=me(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});var Ib=Et(),Ob={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:i}=t;if(Ib.alwaysValidSchema(i,e)){t.fail();return}let s=r.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),t.result(s,()=>t.error(),()=>t.reset())},error:{message:"should NOT be valid"}};nu.default=Ob});var Tp=me(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var qb=en(),Nb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:qb.validateUnion,error:{message:"should match some schema in anyOf"}};iu.default=Nb});var Ip=me(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var Vs=Ne(),Db=Et(),Rb={message:"should match exactly one schema in oneOf",params:({params:t})=>Vs._`{passingSchemas: ${t.passing}}`},Lb={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rb,code(t){let{gen:r,schema:e,it:i}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=e,a=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(a,()=>t.reset(),()=>t.error(!0));function c(){s.forEach((m,d)=>{let b;Db.alwaysValidSchema(i,m)?r.var(f,!0):b=t.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},f),d>0&&r.if(Vs._`${f} && ${a}`).assign(a,!1).assign(l,Vs._`[${l}, ${d}]`).else(),r.if(f,()=>{r.assign(a,!0),r.assign(l,d),b&&t.mergeEvaluated(b,Vs.Name)})})}}};ou.default=Lb});var Op=me(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var jb=Et(),Bb={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:i}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=r.name("valid");e.forEach((a,l)=>{if(jb.alwaysValidSchema(i,a))return;let f=t.subschema({keyword:"allOf",schemaProp:l},s);t.ok(s),t.mergeEvaluated(f)})}};su.default=Bb});var Np=me(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var Us=Ne(),zb=Et(),Mb=Or(),Vb={message:({params:t})=>Us.str`should match "${t.ifClause}" schema`,params:({params:t})=>Us._`{failingKeyword: ${t.ifClause}}`},Ub={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Vb,code(t){let{gen:r,parentSchema:e,it:i}=t;e.then===void 0&&e.else===void 0&&Mb.checkStrictMode(i,'"if" without "then" and "else" is ignored');let s=qp(i,"then"),a=qp(i,"else");if(!s&&!a)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),s&&a){let d=r.let("ifClause");t.setParams({ifClause:d}),r.if(f,m("then",d),m("else",d))}else s?r.if(f,m("then")):r.if(Us.not(f),m("else"));t.pass(l,()=>t.error(!0));function c(){let d=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(d)}function m(d,b){return()=>{let x=t.subschema({keyword:d},f);r.assign(l,f),t.mergeValidEvaluated(x,l),b?r.assign(b,Us._`${d}`):t.setParams({ifClause:d})}}}};function qp(t,r){let e=t.schema[r];return e!==void 0&&!zb.alwaysValidSchema(t,e)}au.default=Ub});var Dp=me(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});var Hb=Or(),Gb={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&Hb.checkStrictMode(e,`"${t}" without "if" is ignored`)}};lu.default=Gb});var Rp=me(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});var Kb=gp(),Wb=$p(),Zb=vp(),Jb=xp(),Qb=Cp(),Yb=Xl(),Xb=_p(),ev=Pp(),tv=Fp(),rv=Tp(),nv=Ip(),iv=Op(),ov=Np(),sv=Dp(),av=[tv.default,rv.default,nv.default,iv.default,ov.default,sv.default,Kb.default,Wb.default,Zb.default,Qb.default,Yb.default,Jb.default,Xb.default,ev.default];uu.default=av});var Lp=me(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var qt=Ne(),lv={message:({schemaCode:t})=>qt.str`should match format "${t}"`,params:({schemaCode:t})=>qt._`{format: ${t}}`},uv={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:lv,code(t,r){let{gen:e,data:i,$data:s,schema:a,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:m,schemaEnv:d,self:b}=f;if(!c.validateFormats)return;s?x():k();function x(){let E=e.scopeValue("formats",{ref:b.formats,code:c.code.formats}),I=e.const("fDef",qt._`${E}[${l}]`),N=e.let("fType"),M=e.let("format");e.if(qt._`typeof ${I} == "object" && !(${I} instanceof RegExp)`,()=>e.assign(N,qt._`${I}.type || "string"`).assign(M,qt._`${I}.validate`),()=>e.assign(N,qt._`"string"`).assign(M,I)),t.fail$data(qt.or(Y(),se()));function Y(){return c.strict===!1?qt.nil:qt._`${l} && !${M}`}function se(){let $e=d.$async?qt._`(${I}.async ? await ${M}(${i}) : ${M}(${i}))`:qt._`${M}(${i})`,he=qt._`(typeof ${M} == "function" ? ${$e} : ${M}.test(${i}))`;return qt._`${M} && ${M} !== true && ${N} === ${r} && !${he}`}}function k(){let E=b.formats[a];if(!E){Y();return}if(E===!0)return;let[I,N,M]=se(E);I===r&&t.pass($e());function Y(){if(c.strict===!1){b.logger.warn(he());return}throw new Error(he());function he(){return`unknown format "${a}" ignored in schema at path "${m}"`}}function se(he){let ne=e.scopeValue("formats",{key:a,ref:he,code:c.code.formats?qt._`${c.code.formats}${qt.getProperty(a)}`:void 0});return typeof he=="object"&&!(he instanceof RegExp)?[he.type||"string",he.validate,qt._`${ne}.validate`]:["string",he,ne]}function $e(){if(typeof E=="object"&&!(E instanceof RegExp)&&E.async){if(!d.$async)throw new Error("async format in sync schema");return qt._`await ${M}(${i})`}return typeof N=="function"?qt._`${M}(${i})`:qt._`${M}.test(${i})`}}}};fu.default=uv});var jp=me(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var fv=Lp(),cv=[fv.default];cu.default=cv});var Bp=me(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.contentVocabulary=ro.metadataVocabulary=void 0;ro.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];ro.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Mp=me(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var pv=np(),dv=hp(),mv=Rp(),hv=jp(),zp=Bp(),gv=[pv.default,dv.default,mv.default,hv.default,zp.metadataVocabulary,zp.contentVocabulary];pu.default=gv});var Vp=me((z1,yv)=>{yv.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var Hp=me(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.CodeGen=Wt.Name=Wt.nil=Wt.stringify=Wt.str=Wt._=Wt.KeywordCxt=void 0;var $v=To();Wt.KeywordCxt=$v.default;var no=Ne();Object.defineProperty(Wt,"_",{enumerable:!0,get:function(){return no._}});Object.defineProperty(Wt,"str",{enumerable:!0,get:function(){return no.str}});Object.defineProperty(Wt,"stringify",{enumerable:!0,get:function(){return no.stringify}});Object.defineProperty(Wt,"nil",{enumerable:!0,get:function(){return no.nil}});Object.defineProperty(Wt,"Name",{enumerable:!0,get:function(){return no.Name}});Object.defineProperty(Wt,"CodeGen",{enumerable:!0,get:function(){return no.CodeGen}});var bv=Qc(),vv=Mp(),Up=Vp(),kv=["/properties"],Hs="http://json-schema.org/draft-07/schema",du=class extends bv.default{_addVocabularies(){super._addVocabularies(),vv.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(Up,kv):Up;this.addMetaSchema(r,Hs,!1),this.refs["http://json-schema.org/schema"]=Hs}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Hs)?Hs:void 0)}};Wt.default=du});var Kp=me((V1,Gp)=>{var wv=Object.prototype.hasOwnProperty,xv=Object.prototype.toString;Gp.exports=function(r,e,i){if(xv.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var a=0;a<s;a++)e.call(i,r[a],a,r);else for(var l in r)wv.call(r,l)&&e.call(i,r[l],l,r)}});var Zp=me((U1,Wp)=>{"use strict";var Cv=Kp();Wp.exports=mt;function mt(t,r,e){if(arguments.length===3)return mt.set(t,r,e);if(arguments.length===2)return mt.get(t,r);var i=mt.bind(mt,t);for(var s in mt)mt.hasOwnProperty(s)&&(i[s]=mt[s].bind(i,t));return i}mt.get=function(r,e){for(var i=Array.isArray(e)?e:mt.parse(e),s=0;s<i.length;++s){var a=i[s];if(!(typeof r=="object"&&a in r))throw new Error("Invalid reference token: "+a);r=r[a]}return r};mt.set=function(r,e,i){var s=Array.isArray(e)?e:mt.parse(e),a=s[0];if(s.length===0)throw Error("Can not set the root object");for(var l=0;l<s.length-1;++l){var f=s[l];f==="__proto__"||f==="constructor"||f==="prototype"||(f==="-"&&Array.isArray(r)&&(f=r.length),a=s[l+1],f in r||(a.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return a==="-"&&Array.isArray(r)&&(a=r.length),r[a]=i,this};mt.remove=function(t,r){var e=Array.isArray(r)?r:mt.parse(r),i=e[e.length-1];if(i===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var s=mt.get(t,e.slice(0,-1));if(Array.isArray(s)){var a=+i;if(i===""&&isNaN(a))throw new Error('Invalid array index: "'+i+'"');Array.prototype.splice.call(s,a,1)}else delete s[i]};mt.dict=function(r,e){var i={};return mt.walk(r,function(s,a){i[a]=s},e),i};mt.walk=function(r,e,i){var s=[];i=i||function(a){var l=Object.prototype.toString.call(a);return l==="[object Object]"||l==="[object Array]"},function a(l){Cv(l,function(f,c){s.push(String(c)),i(f)?a(f):e(f,mt.compile(s)),s.pop()})}(r)};mt.has=function(r,e){try{mt.get(r,e)}catch{return!1}return!0};mt.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};mt.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};mt.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(mt.unescape)};mt.compile=function(r){return r.length===0?"":"/"+r.map(mt.escape).join("/")}});var Jp=me((H1,Av)=>{Av.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var Qp=me((G1,Ev)=>{Ev.exports={$ref:"#/definitions/AstTree",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var Yp=me((K1,_v)=>{_v.exports={$ref:"#/definitions/RootBlock",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var Xp=me(Gs=>{Gs.Test=Jp();Gs.AstTree=Qp();Gs.PodliteDocument=Yp()});var hd=me((ku,wu)=>{(function(t,r,e){typeof ku=="object"?(wu.exports=e(),wu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",ku,function(){var t=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`),r=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');function e(i,s){if(typeof i!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var a=r[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,f=s.trim===void 0?!0:s.trim,c=i.normalize().split("").reduce(function(m,d){var b=a[d];return b===void 0&&(b=t[d]),b===void 0&&(b=d),b===l&&(b=" "),m+b.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(c=c.replace(/[^A-Za-z0-9\s]/g,"")),f&&(c=c.trim()),c=c.replace(/\s+/g,l),s.lower&&(c=c.toLowerCase()),c}return e.extend=function(i){Object.assign(t,i)},e})});var $d=me((Mx,yd)=>{"use strict";function Lv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ci(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ci)}Lv(Ci,Error);Ci.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",b;for(b=0;b<m.parts.length;b++)d+=m.parts[b]instanceof Array?a(m.parts[b][0])+"-"+a(m.parts[b][1]):a(m.parts[b]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),b,x;for(b=0;b<m.length;b++)d[b]=l(m[b]);if(d.sort(),d.length>0){for(b=1,x=1;b<d.length;b++)d[b-1]!==d[b]&&(d[x]=d[b],x++);d.length=x}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function jv(t,r){r=r!==void 0?r:{};var e={},i={Document:Ff},s=Ff,a=function(u){return u},l=function(){return!!r.podMode},f=function(u){return u},c=j(),m=function(){return{text:S(),type:"ambient",location:q()}},d=/^[ \xA0\u2001\t\f\u2008]/,b=L([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),x=/^[ \t\f]/,k=L([" "," ","\f"],!1,!1),E=/^[\n\r]/,I=L([`
9
- `,"\r"],!1,!1),N=function(u){return u},M=/^[^\n\r]/,Y=L([`
8
+ deps: ${e}}`};var yb={keyword:"dependencies",type:"object",schemaType:"object",error:vn.error,code(t){let[r,e]=$b(t);vp(t,r),xp(t,e)}};function $b({schema:t}){let r={},e={};for(let i in t){if(i==="__proto__")continue;let s=Array.isArray(t[i])?r:e;s[i]=t[i]}return[r,e]}function vp(t,r=t.schema){let{gen:e,data:i,it:s}=t;if(Object.keys(r).length===0)return;let a=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=Uo.propertyInData(e,i,l,s.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),s.allErrors?e.if(c,()=>{for(let m of f)Uo.checkReportMissingProp(t,m)}):(e.if(Jl._`${c} && (${Uo.checkMissingProp(t,f,a)})`),Uo.reportMissingProp(t,a),e.else())}}vn.validatePropertyDeps=vp;function xp(t,r=t.schema){let{gen:e,data:i,keyword:s,it:a}=t,l=e.name("valid");for(let f in r)gb.alwaysValidSchema(a,r[f])||(e.if(Uo.propertyInData(e,i,f,a.opts.ownProperties),()=>{let c=t.subschema({keyword:s,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}vn.validateSchemaDeps=xp;vn.default=yb});var Ap=me(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var Ql=Ne(),bb=_t(),wb={message:({params:t})=>Ql.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Ql._`{propertyName: ${t.propertyName}}`},kb={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:wb,code(t){let{gen:r,schema:e,data:i,it:s}=t;if(bb.alwaysValidSchema(s,e))return;let a=r.name("valid");r.forIn("key",i,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},a),r.if(Ql.not(a),()=>{t.error(!0),s.allErrors||r.break()})}),t.ok(a)}};Xl.default=kb});var tu=me(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});var Us=sn(),fn=Ne(),vb=on(),xb=yi(),Yl=_t(),Cb={message:"should NOT have additional properties",params:({params:t})=>fn._`{additionalProperty: ${t.additionalProperty}}`},Ab={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Cb,code(t){let{gen:r,schema:e,parentSchema:i,data:s,errsCount:a,it:l}=t;if(!a)throw new Error("ajv implementation error");let{allErrors:f,opts:c}=l;if(l.props=!0,c.removeAdditional!=="all"&&Yl.alwaysValidSchema(l,e))return;let m=Us.allSchemaProperties(i.properties),d=Us.allSchemaProperties(i.patternProperties);$(),t.ok(fn._`${a} === ${vb.default.errors}`);function $(){r.forIn("key",s,N=>{!m.length&&!d.length?x(N):r.if(E(N),()=>x(N))})}function E(N){let B;if(m.length>8){let X=Yl.schemaRefOrVal(l,i.properties,"properties");B=Us.isOwnProperty(r,X,N)}else m.length?B=fn.or(...m.map(X=>fn._`${N} === ${X}`)):B=fn.nil;return d.length&&(B=fn.or(B,...d.map(X=>fn._`${Us.usePattern(r,X)}.test(${N})`))),fn.not(B)}function k(N){r.code(fn._`delete ${s}[${N}]`)}function x(N){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){k(N);return}if(e===!1){t.setParams({additionalProperty:N}),t.error(),f||r.break();return}if(typeof e=="object"&&!Yl.alwaysValidSchema(l,e)){let B=r.name("valid");c.removeAdditional==="failing"?(I(N,B,!1),r.if(fn.not(B),()=>{t.reset(),k(N)})):(I(N,B),f||r.if(fn.not(B),()=>r.break()))}}function I(N,B,X){let se={keyword:"additionalProperties",dataProp:N,dataPropType:xb.Type.Str};X===!1&&Object.assign(se,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(se,B)}}};eu.default=Ab});var Sp=me(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});var Eb=Fo(),Ep=sn(),ru=_t(),_p=tu(),_b={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t;a.opts.removeAdditional==="all"&&i.additionalProperties===void 0&&_p.default.code(new Eb.default(a,_p.default,"additionalProperties"));let l=Ep.allSchemaProperties(e);for(let $ of l)a.definedProperties.add($);a.opts.unevaluated&&l.length&&a.props!==!0&&(a.props=ru.mergeEvaluated.props(r,ru.toHash(l),a.props));let f=l.filter($=>!ru.alwaysValidSchema(a,e[$]));if(f.length===0)return;let c=r.name("valid");for(let $ of f)m($)?d($):(r.if(Ep.propertyInData(r,s,$,a.opts.ownProperties)),d($),a.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add($),t.ok(c);function m($){return a.opts.useDefaults&&!a.compositeRule&&e[$].default!==void 0}function d($){t.subschema({keyword:"properties",schemaProp:$,dataProp:$},c)}}};nu.default=_b});var Tp=me(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var Pp=sn(),Hs=Ne(),Sb=yi(),Pb=Lr(),Tb=_t(),Fb={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:i,parentSchema:s,it:a}=t,{opts:l}=a,f=Pp.schemaProperties(a,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&s.properties,m=r.name("valid");a.props!==!0&&!(a.props instanceof Hs.Name)&&(a.props=Tb.evaluatedPropsToName(r,a.props));let{props:d}=a;$();function $(){for(let x of f)c&&E(x),a.allErrors?k(x):(r.var(m,!0),k(x),r.if(m))}function E(x){for(let I in c)new RegExp(x).test(I)&&Pb.checkStrictMode(a,`property ${I} matches pattern ${x} (use allowMatchingProperties)`)}function k(x){r.forIn("key",i,I=>{r.if(Hs._`${Pp.usePattern(r,x)}.test(${I})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:x,dataProp:I,dataPropType:Sb.Type.Str},m),a.opts.unevaluated&&d!==!0?r.assign(Hs._`${d}[${I}]`,!0):a.allErrors||r.if(Hs.not(m),()=>r.break())})})}}};iu.default=Fb});var Fp=me(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var Ib=_t(),Ob={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:i}=t;if(Ib.alwaysValidSchema(i,e)){t.fail();return}let s=r.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),t.result(s,()=>t.error(),()=>t.reset())},error:{message:"should NOT be valid"}};ou.default=Ob});var Ip=me(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var qb=sn(),Nb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:qb.validateUnion,error:{message:"should match some schema in anyOf"}};su.default=Nb});var Op=me(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var Gs=Ne(),Db=_t(),Rb={message:"should match exactly one schema in oneOf",params:({params:t})=>Gs._`{passingSchemas: ${t.passing}}`},Lb={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rb,code(t){let{gen:r,schema:e,it:i}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=e,a=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(a,()=>t.reset(),()=>t.error(!0));function c(){s.forEach((m,d)=>{let $;Db.alwaysValidSchema(i,m)?r.var(f,!0):$=t.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},f),d>0&&r.if(Gs._`${f} && ${a}`).assign(a,!1).assign(l,Gs._`[${l}, ${d}]`).else(),r.if(f,()=>{r.assign(a,!0),r.assign(l,d),$&&t.mergeEvaluated($,Gs.Name)})})}}};au.default=Lb});var qp=me(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});var jb=_t(),Bb={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:i}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=r.name("valid");e.forEach((a,l)=>{if(jb.alwaysValidSchema(i,a))return;let f=t.subschema({keyword:"allOf",schemaProp:l},s);t.ok(s),t.mergeEvaluated(f)})}};lu.default=Bb});var Dp=me(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});var Ks=Ne(),Mb=_t(),zb=Lr(),Vb={message:({params:t})=>Ks.str`should match "${t.ifClause}" schema`,params:({params:t})=>Ks._`{failingKeyword: ${t.ifClause}}`},Ub={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Vb,code(t){let{gen:r,parentSchema:e,it:i}=t;e.then===void 0&&e.else===void 0&&zb.checkStrictMode(i,'"if" without "then" and "else" is ignored');let s=Np(i,"then"),a=Np(i,"else");if(!s&&!a)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),s&&a){let d=r.let("ifClause");t.setParams({ifClause:d}),r.if(f,m("then",d),m("else",d))}else s?r.if(f,m("then")):r.if(Ks.not(f),m("else"));t.pass(l,()=>t.error(!0));function c(){let d=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(d)}function m(d,$){return()=>{let E=t.subschema({keyword:d},f);r.assign(l,f),t.mergeValidEvaluated(E,l),$?r.assign($,Ks._`${d}`):t.setParams({ifClause:d})}}}};function Np(t,r){let e=t.schema[r];return e!==void 0&&!Mb.alwaysValidSchema(t,e)}uu.default=Ub});var Rp=me(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var Hb=Lr(),Gb={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&Hb.checkStrictMode(e,`"${t}" without "if" is ignored`)}};fu.default=Gb});var Lp=me(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var Kb=yp(),Wb=bp(),Zb=kp(),Jb=Cp(),Qb=Ap(),Xb=tu(),Yb=Sp(),ew=Tp(),tw=Fp(),rw=Ip(),nw=Op(),iw=qp(),ow=Dp(),sw=Rp(),aw=[tw.default,rw.default,nw.default,iw.default,ow.default,sw.default,Kb.default,Wb.default,Zb.default,Qb.default,Xb.default,Jb.default,Yb.default,ew.default];cu.default=aw});var jp=me(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var Nt=Ne(),lw={message:({schemaCode:t})=>Nt.str`should match format "${t}"`,params:({schemaCode:t})=>Nt._`{format: ${t}}`},uw={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:lw,code(t,r){let{gen:e,data:i,$data:s,schema:a,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:m,schemaEnv:d,self:$}=f;if(!c.validateFormats)return;s?E():k();function E(){let x=e.scopeValue("formats",{ref:$.formats,code:c.code.formats}),I=e.const("fDef",Nt._`${x}[${l}]`),N=e.let("fType"),B=e.let("format");e.if(Nt._`typeof ${I} == "object" && !(${I} instanceof RegExp)`,()=>e.assign(N,Nt._`${I}.type || "string"`).assign(B,Nt._`${I}.validate`),()=>e.assign(N,Nt._`"string"`).assign(B,I)),t.fail$data(Nt.or(X(),se()));function X(){return c.strict===!1?Nt.nil:Nt._`${l} && !${B}`}function se(){let $e=d.$async?Nt._`(${I}.async ? await ${B}(${i}) : ${B}(${i}))`:Nt._`${B}(${i})`,he=Nt._`(typeof ${B} == "function" ? ${$e} : ${B}.test(${i}))`;return Nt._`${B} && ${B} !== true && ${N} === ${r} && !${he}`}}function k(){let x=$.formats[a];if(!x){X();return}if(x===!0)return;let[I,N,B]=se(x);I===r&&t.pass($e());function X(){if(c.strict===!1){$.logger.warn(he());return}throw new Error(he());function he(){return`unknown format "${a}" ignored in schema at path "${m}"`}}function se(he){let ne=e.scopeValue("formats",{key:a,ref:he,code:c.code.formats?Nt._`${c.code.formats}${Nt.getProperty(a)}`:void 0});return typeof he=="object"&&!(he instanceof RegExp)?[he.type||"string",he.validate,Nt._`${ne}.validate`]:["string",he,ne]}function $e(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!d.$async)throw new Error("async format in sync schema");return Nt._`await ${B}(${i})`}return typeof N=="function"?Nt._`${B}(${i})`:Nt._`${B}.test(${i})`}}}};pu.default=uw});var Bp=me(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var fw=jp(),cw=[fw.default];du.default=cw});var Mp=me(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.contentVocabulary=ro.metadataVocabulary=void 0;ro.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];ro.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Vp=me(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});var pw=ip(),dw=gp(),mw=Lp(),hw=Bp(),zp=Mp(),gw=[pw.default,dw.default,mw.default,hw.default,zp.metadataVocabulary,zp.contentVocabulary];mu.default=gw});var Up=me((V1,yw)=>{yw.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var Gp=me(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.CodeGen=Zt.Name=Zt.nil=Zt.stringify=Zt.str=Zt._=Zt.KeywordCxt=void 0;var $w=Fo();Zt.KeywordCxt=$w.default;var no=Ne();Object.defineProperty(Zt,"_",{enumerable:!0,get:function(){return no._}});Object.defineProperty(Zt,"str",{enumerable:!0,get:function(){return no.str}});Object.defineProperty(Zt,"stringify",{enumerable:!0,get:function(){return no.stringify}});Object.defineProperty(Zt,"nil",{enumerable:!0,get:function(){return no.nil}});Object.defineProperty(Zt,"Name",{enumerable:!0,get:function(){return no.Name}});Object.defineProperty(Zt,"CodeGen",{enumerable:!0,get:function(){return no.CodeGen}});var bw=Xc(),ww=Vp(),Hp=Up(),kw=["/properties"],Ws="http://json-schema.org/draft-07/schema",hu=class extends bw.default{_addVocabularies(){super._addVocabularies(),ww.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(Hp,kw):Hp;this.addMetaSchema(r,Ws,!1),this.refs["http://json-schema.org/schema"]=Ws}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Ws)?Ws:void 0)}};Zt.default=hu});var Wp=me((H1,Kp)=>{var vw=Object.prototype.hasOwnProperty,xw=Object.prototype.toString;Kp.exports=function(r,e,i){if(xw.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var a=0;a<s;a++)e.call(i,r[a],a,r);else for(var l in r)vw.call(r,l)&&e.call(i,r[l],l,r)}});var Jp=me((G1,Zp)=>{"use strict";var Cw=Wp();Zp.exports=ht;function ht(t,r,e){if(arguments.length===3)return ht.set(t,r,e);if(arguments.length===2)return ht.get(t,r);var i=ht.bind(ht,t);for(var s in ht)ht.hasOwnProperty(s)&&(i[s]=ht[s].bind(i,t));return i}ht.get=function(r,e){for(var i=Array.isArray(e)?e:ht.parse(e),s=0;s<i.length;++s){var a=i[s];if(!(typeof r=="object"&&a in r))throw new Error("Invalid reference token: "+a);r=r[a]}return r};ht.set=function(r,e,i){var s=Array.isArray(e)?e:ht.parse(e),a=s[0];if(s.length===0)throw Error("Can not set the root object");for(var l=0;l<s.length-1;++l){var f=s[l];f==="__proto__"||f==="constructor"||f==="prototype"||(f==="-"&&Array.isArray(r)&&(f=r.length),a=s[l+1],f in r||(a.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return a==="-"&&Array.isArray(r)&&(a=r.length),r[a]=i,this};ht.remove=function(t,r){var e=Array.isArray(r)?r:ht.parse(r),i=e[e.length-1];if(i===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var s=ht.get(t,e.slice(0,-1));if(Array.isArray(s)){var a=+i;if(i===""&&isNaN(a))throw new Error('Invalid array index: "'+i+'"');Array.prototype.splice.call(s,a,1)}else delete s[i]};ht.dict=function(r,e){var i={};return ht.walk(r,function(s,a){i[a]=s},e),i};ht.walk=function(r,e,i){var s=[];i=i||function(a){var l=Object.prototype.toString.call(a);return l==="[object Object]"||l==="[object Array]"},function a(l){Cw(l,function(f,c){s.push(String(c)),i(f)?a(f):e(f,ht.compile(s)),s.pop()})}(r)};ht.has=function(r,e){try{ht.get(r,e)}catch{return!1}return!0};ht.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};ht.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};ht.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(ht.unescape)};ht.compile=function(r){return r.length===0?"":"/"+r.map(ht.escape).join("/")}});var Qp=me((K1,Aw)=>{Aw.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var Xp=me((W1,Ew)=>{Ew.exports={$ref:"#/definitions/AstTree",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},checked:{type:"boolean"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var Yp=me((Z1,_w)=>{_w.exports={$ref:"#/definitions/RootBlock",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},checked:{type:"boolean"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var ed=me(Zs=>{Zs.Test=Qp();Zs.AstTree=Xp();Zs.PodliteDocument=Yp()});var hd=me((vu,xu)=>{(function(t,r,e){typeof vu=="object"?(xu.exports=e(),xu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",vu,function(){var t=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`),r=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');function e(i,s){if(typeof i!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var a=r[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,f=s.trim===void 0?!0:s.trim,c=i.normalize().split("").reduce(function(m,d){var $=a[d];return $===void 0&&($=t[d]),$===void 0&&($=d),$===l&&($=" "),m+$.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(c=c.replace(/[^A-Za-z0-9\s]/g,"")),f&&(c=c.trim()),c=c.replace(/\s+/g,l),s.lower&&(c=c.toLowerCase()),c}return e.extend=function(i){Object.assign(t,i)},e})});var $d=me((rC,yd)=>{"use strict";function Bw(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ci(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ci)}Bw(Ci,Error);Ci.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",$;for($=0;$<m.parts.length;$++)d+=m.parts[$]instanceof Array?a(m.parts[$][0])+"-"+a(m.parts[$][1]):a(m.parts[$]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),$,E;for($=0;$<m.length;$++)d[$]=l(m[$]);if(d.sort(),d.length>0){for($=1,E=1;$<d.length;$++)d[$-1]!==d[$]&&(d[E]=d[$],E++);d.length=E}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Mw(t,r){r=r!==void 0?r:{};var e={},i={Document:Ff},s=Ff,a=function(u){return u},l=function(){return!!r.podMode},f=function(u){return u},c=j(),m=function(){return{text:S(),type:"ambient",location:q()}},d=/^[ \xA0\u2001\t\f\u2008]/,$=L([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),E=/^[ \t\f]/,k=L([" "," ","\f"],!1,!1),x=/^[\n\r]/,I=L([`
9
+ `,"\r"],!1,!1),N=function(u){return u},B=/^[^\n\r]/,X=L([`
10
10
  `,"\r"],!0,!1),se=`
11
11
  `,$e=W(`
12
- `,!1),he="\r",ne=W("\r",!1),be=function(){return{type:"blankline"}},xe="=begin ",ke=W("=begin ",!1),Le="=end ",Ee=W("=end ",!1),_e="=for ",de=W("=for ",!1),Ce="=config",it=W("=config",!1),X="=alias",xt=W("=alias",!1),We=function(u){return Ch(u)},yt=function(u){return u},et="=",B=W("=",!1),V=us("text"),Zt=function(){return S()},Dt=function(){return{type:"para",value:S(),error:!0,location:q()}},bt=function(u,p){return Vi([u,p])},_t=function(u){return[u]},Ct=",",ot=W(",",!1),Er=function(u,p){return Vi([u,p])},ye=/^[a-zA-Z0-9]/,yr=L([["a","z"],["A","Z"],["0","9"]],!1,!1),zt=/^[a-zA-Z0-9_\-]/,_r=L([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Mt="=>",Xn=W("=>",!1),jn=function(u,p){return{[u]:p}},wn=function(u,p){return{...u,...p}},He=function(u){return u},Ge=":",st=W(":",!1),Ke="allow",Sr=W("allow",!1),ze="<",Me=W("<",!1),ft=">",ct=W(">",!1),Vt=function(u,p){return{value:p,type:"array"}},re=function(u,p){return{name:"allow",...p}},ae=function(u){return u},ve=function(u){return u},Ie=function(u){return[u]},Nt=function(){return[]},Ur=/^[!]/,tt=L(["!"],!1,!1),vt="{",St=W("{",!1),Hr="}",pt=W("}",!1),xn=function(u,p,g){return{value:g}},Tt="[",an=W("[",!1),co=function(u,p,g){return g},Nr="]",Bn=W("]",!1),ei=function(u,p){return[S()]},po=function(u,p,g){return{value:g,type:"array"}},ti=function(u,p,g){return{value:g,type:"array"}},qi=function(u,p,g){return{value:g,type:"string"}},ri="(",Cn=W("(",!1),Ni=function(u,p,g){return g.length>1?{type:"array",value:g}:{type:"value",value:g[0]}},An=")",z=W(")",!1),O=function(u,p){return{value:S()}},G=function(u,p,g){return{type:"value",...g}},ee=function(u,p){return{value:!u,type:"boolean"}},te=function(u,p,g){return{name:p,...g}},pe=function(u,p){return p},Ae=function(u,p){return Vi([...u,...p])},Oe=/^[^'"]/,je=L(["'",'"'],!0,!1),ht=function(u){return u},Se=/^[0-9]/,rt=L([["0","9"]],!1,!1),kt=/^[\-+]/,at=L(["-","+"],!1,!1),qe="True",dt=W("True",!1),Ze=function(){return!0},Dr="False",Rt=W("False",!1),Ut=function(){return!1},Je=".",Lt=W(".",!1),Jt=/^[eE]/,$r=L(["e","E"],!1,!1),Rr=/^["]/,br=L(['"'],!1,!1),ln=/^[^"]/,En=L(['"'],!0,!1),_n=/^[']/,Gr=L(["'"],!1,!1),Kr=/^[^']/,vr=L(["'"],!0,!1),o=function(u){return parseFloat(u)},ue=function(u){return parseInt(u,10)},kr=function(u,p,g){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ms(p)},ur=function(u,p,g,$,A){return u.length===$.length&&p===A},zn=function(u,p,g,$,A){return Ah(u,`${$}${A}`)},w=function(u,p,g,$,A,C){return p===C},Lr=function(u,p,g,$,A,C){return{type:"block",content:$===""?[]:[{type:"verbatim",value:$.join("")}],name:p,margin:u}},fr=function(u,p,g,$,A,C){return!0},mo=function(u,p,g,$,A,C){return{...C,text:S(),config:g,location:q()}},Sn=/^[+-=_|]/,ho=L([["+","="],"_","|"],!1,!1),Qe=function(){return{type:"separator",text:S()}},Pr=function(){return r.isDelimited},Fr=function(){return{type:"separator",text:S()}},un=function(u){return{name:"row",type:"text",value:u}},ni=function(){return r.separators=[],!0},Pn=function(u,p){return r.separators.push(p.text),p},cr=function(u,p,g,$){return r.separators.push($.text),$},Z=function(u,p,g,$){return[{name:"row",type:"text",value:g},$]},Wr=function(u,p,g){return[g]},fn=function(u,p,g){return r.separators.length>1?!r.separators.every($=>$===r.separators[0]):!0},ii=function(u,p,g){return[{name:"head",type:"text",value:u},p,...Vi(g)]},Fn=function(u,p){return[{name:"row",type:"text",value:u},p]},go=function(u){return[...Vi(u)]},rs=function(u,p,g){return p==="table"},Di=function(u,p,g){return r.isDelimited=!0,!0},Zr=function(u,p,g,$){return $},yo=function(u,p,g,$,A,C){return{type:"block",content:$,name:p,margin:u}},ns=function(u,p,g,$,A,C){return{...C,text:S(),config:g,location:q()}},$o=function(u,p,g,$){return $},bo=function(u,p,g,$,A){let C=p.match(/pod|nested|item|code|defn/)&&$.length-u.length>0?"code":"para";return{text:A,margin:$,type:C,content:[{type:C==="code"?"verbatim":"text",value:A}],location:q()}},vo=function(u,p,g,$,A,C){return{type:"block",content:$,name:p,margin:u}},Mn=function(u,p,g,$,A,C){return{...C,config:g,location:q()}},Qt=function(){return{text:S(),type:"para",margin:"",content:[{type:"text",value:S()}],location:q()}},Ri=function(){return{empty:1}},cn=/^[s]/,Yt=L(["s"],!1,!1),$a=function(u){return{text:S(),type:"ambient1"}},is=function(u,p){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ms(p)},pn=function(u,p,g){return{margin:u,type:"block",content:g===""?[]:[{type:"verbatim",value:g}],name:p,config:[],location:q()}},oi=function(u,p){return p==="table"},ba=function(u,p){return r.isDelimited=!1,!0},va=function(u,p,g){return{margin:u,type:"block",content:g===""?[]:g,name:p,config:[],location:q()}},ka=function(u,p,g,$){let A=(g===`
13
- `?"":g)+$;return{margin:u,type:"block",content:A===""?[]:[{type:"para",text:A,margin:"",content:[{type:"text",value:A}],location:q()}],name:p,location:q()}},Tn="= ",os=W("= ",!1),wa=function(u,p,g,$){return{name:g,type:"alias",replacement:$,margin:u}},xa=/^[A-Z]/,Ca=L([["A","Z"]],!1,!1),ss="<>",Aa=W("<>",!1),as=function(u,p,g,$){return{name:g,type:"config",config:$,margin:u}},ls=function(u,p,g,$){return g.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ms(g)},Ea=function(u,p,g,$,A){return{type:"block",content:A===""?[]:[{type:"verbatim",value:A}],name:g,margin:u,config:$,location:q()}},Jr=function(u,p,g,$){return g==="table"},At=function(u,p,g,$){return r.isDelimited=!1,!0},Pe=function(u,p,g,$,A){return{type:"block",content:A===""?[]:A,name:g,margin:u,config:$,location:q()}},Li=function(u,p,g,$,A){return{type:"block",content:A===""?[]:[{type:"para",content:[{type:"text",value:A}],margin:u,text:A,location:q()}],name:g,margin:u,config:$,location:q()}},_f=/^[a-zA-Z]/,Xt=L([["a","z"],["A","Z"]],!1,!1),dn=us("whitespace"),nt=/^[\r\n \t\f]/,In=L(["\r",`
14
- `," "," ","\f"],!1,!1),_a=us("space characters"),n=0,h=0,F=[{line:1,column:1}],v=0,_=[],y=0,R;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function S(){return t.substring(h,n)}function q(){return ko(h,n)}function J(u,p){throw p=p!==void 0?p:ko(h,n),Pf([us(u)],t.substring(h,n),p)}function P(u,p){throw p=p!==void 0?p:ko(h,n),mh(u,p)}function W(u,p){return{type:"literal",text:u,ignoreCase:p}}function L(u,p,g){return{type:"class",parts:u,inverted:p,ignoreCase:g}}function j(){return{type:"any"}}function K(){return{type:"end"}}function us(u){return{type:"other",description:u}}function Sf(u){var p=F[u],g;if(p)return p;for(g=u-1;!F[g];)g--;for(p=F[g],p={line:p.line,column:p.column};g<u;)t.charCodeAt(g)===10?(p.line++,p.column=1):p.column++,g++;return F[u]=p,p}function ko(u,p){var g=Sf(u),$=Sf(p);return{start:{offset:u,line:g.line,column:g.column},end:{offset:p,line:$.line,column:$.column}}}function oe(u){n<v||(n>v&&(v=n,_=[]),_.push(u))}function mh(u,p){return new Ci(u,null,null,p)}function Pf(u,p,g){return new Ci(Ci.buildMessage(u,p),u,p,g)}function Ff(){var u,p,g;for(u=n,p=[],g=Tf();g!==e;)p.push(g),g=Tf();return p!==e&&(h=u,p=a(p)),u=p,u}function Tf(){var u,p,g,$,A,C,U,Q;if(u=Sa(),u===e&&(u=Fa(),u===e&&(u=Ta(),u===e&&(u=Ra(),u===e&&(u=La(),u===e&&(u=ja(),u===e&&(u=Na(),u===e&&(u=Da(),u===e&&(u=Ia(),u===e&&(u=Oa(),u===e&&(u=qa(),u===e&&(u=n,h=n,p=l(),p?p=void 0:p=e,p!==e?(g=kh(),g===e&&(g=mn(),g===e&&(g=gh())),g!==e?(h=u,p=f(g),u=p):(n=u,u=e)):(n=u,u=e),u===e)))))))))))){if(u=n,p=n,g=[],$=n,A=n,y++,C=n,U=On(),U!==e?(Q=er(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=ui()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$!==e)for(;$!==e;)g.push($),$=n,A=n,y++,C=n,U=On(),U!==e?(Q=er(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=ui()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e);else g=e;g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=m()),u=p}return u}function It(){var u;return d.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(b)),u}function ge(){var u,p;for(u=[],x.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));p!==e;)u.push(p),x.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));return u}function si(){var u,p,g,$;for(u=n,p=n,g=[],$=It();$!==e;)g.push($),$=It();return g!==e?(E.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(I)),$!==e?(g=[g,$],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function T0(){var u,p,g,$;if(u=n,p=n,g=[],$=wo(),$!==e)for(;$!==e;)g.push($),$=wo();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=N(p),u=p):(n=u,u=e)):(n=u,u=e),u}function wo(){var u;return M.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(Y)),u}function ai(){var u,p,g;return t.charCodeAt(n)===10?(u=se,n++):(u=e,y===0&&oe($e)),u===e&&(u=n,t.charCodeAt(n)===13?(p=he,n++):(p=e,y===0&&oe(ne)),p!==e?(t.charCodeAt(n)===10?(g=se,n++):(g=e,y===0&&oe($e)),g===e&&(g=null),g!==e?(p=[p,g],u=p):(n=u,u=e)):(n=u,u=e)),u}function li(){var u,p;return u=ai(),u===e&&(u=n,y++,t.length>n?(p=t.charAt(n),n++):(p=e,y===0&&oe(c)),y--,p===e?u=void 0:(n=u,u=e)),u}function Tr(){var u,p,g,$;for(u=n,p=n,g=[],$=It();$!==e;)g.push($),$=It();return g!==e?(E.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(I)),$!==e?(g=[g,$],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function mn(){var u,p,g,$,A;for(u=n,p=n,g=n,$=[],A=It();A!==e;)$.push(A),A=It();return $!==e?(E.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(I)),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=be()),u=p,u}function fs(){var u;return t.substr(n,7)===xe?(u=xe,n+=7):(u=e,y===0&&oe(ke)),u}function ji(){var u;return t.substr(n,5)===Le?(u=Le,n+=5):(u=e,y===0&&oe(Ee)),u}function cs(){var u;return t.substr(n,5)===_e?(u=_e,n+=5):(u=e,y===0&&oe(de)),u}function If(){var u;return t.substr(n,7)===Ce?(u=Ce,n+=7):(u=e,y===0&&oe(it)),u}function Of(){var u;return t.substr(n,6)===X?(u=X,n+=6):(u=e,y===0&&oe(xt)),u}function er(){var u,p,g;return u=n,p=Ba(),p!==e?(h=n,g=We(p),g?g=void 0:g=e,g!==e?(h=u,p=yt(p),u=p):(n=u,u=e)):(n=u,u=e),u}function ui(){var u,p,g;return u=n,t.charCodeAt(n)===61?(p=et,n++):(p=e,y===0&&oe(B)),p!==e?(g=er(),g!==e?(h=u,p=yt(g),u=p):(n=u,u=e)):(n=u,u=e),u}function On(){var u;return u=fs(),u===e&&(u=ji(),u===e&&(u=cs(),u===e&&(u=If(),u===e&&(u=Of())))),u}function jr(){var u,p,g;if(y++,u=n,p=[],g=wo(),g!==e)for(;g!==e;)p.push(g),g=wo();else p=e;return p!==e?u=t.substring(u,n):u=p,y--,u===e&&(p=e,y===0&&oe(V)),u}function Ht(){var u,p,g,$,A,C,U;if(u=n,p=n,y++,g=n,$=ge(),$!==e?(A=If(),A===e&&(A=Of(),A===e&&(A=n,C=On(),C!==e?(U=er(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A===e&&(A=ui()))),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g===e&&(g=mn()),y--,g===e?p=void 0:(n=p,p=e),p!==e){if(g=n,$=[],A=jr(),A!==e)for(;A!==e;)$.push(A),A=jr();else $=e;$!==e?g=t.substring(g,n):g=$,g!==e?($=li(),$!==e?(h=u,p=Zt(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u}function hh(){var u,p,g,$;if(u=n,p=n,g=[],$=jr(),$!==e)for(;$!==e;)g.push($),$=jr();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=Zt(),u=p):(n=u,u=e)):(n=u,u=e),u}function gh(){var u,p,g,$,A,C;if(u=n,p=n,g=[],$=n,A=n,y++,C=li(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$!==e)for(;$!==e;)g.push($),$=n,A=n,y++,C=li(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e);else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=Dt(),u=p):(n=u,u=e)):(n=u,u=e),u}function qf(){var u,p,g,$;if(u=n,p=Nf(),p!==e){if(g=[],$=It(),$!==e)for(;$!==e;)g.push($),$=It();else g=e;g!==e?($=qf(),$!==e?(h=u,p=bt(p,$),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=Nf(),p!==e&&(h=u,p=_t(p)),u=p),u}function Nf(){var u,p;return u=n,p=wo(),p!==e?u=t.substring(u,n):u=p,u}function ps(){var u,p,g,$,A,C;if(u=n,p=zi(),p!==e){if(g=[],$=It(),$!==e)for(;$!==e;)g.push($),$=It();else g=e;g===e&&(g=n,$=ge(),$!==e?(t.charCodeAt(n)===44?(A=Ct,n++):(A=e,y===0&&oe(ot)),A!==e?(C=ge(),C!==e?($=[$,A,C],g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e)),g!==e?($=ps(),$!==e?(h=u,p=Er(p,$),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=zi(),p!==e&&(h=u,p=_t(p)),u=p),u}function yh(){var u,p,g,$,A;if(u=n,p=n,g=[],ye.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(yr)),$!==e)for(;$!==e;)g.push($),ye.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(yr));else g=e;if(g!==e){for($=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));A!==e;)$.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function Df(){var u,p,g,$,A,C;return u=n,p=yh(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?($=Ct,n++):($=e,y===0&&oe(ot)),$===e&&(t.substr(n,2)===Mt?($=Mt,n+=2):($=e,y===0&&oe(Xn))),$!==e?(A=ge(),A!==e?(C=zi(),C!==e?(h=u,p=jn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Rf(){var u,p,g,$,A,C;return u=n,p=Df(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?($=Ct,n++):($=e,y===0&&oe(ot)),$!==e?(A=ge(),A!==e?(C=Rf(),C!==e?(h=u,p=wn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u===e&&(u=n,p=Df(),p!==e&&(h=u,p=He(p)),u=p),u}function $h(){var u,p,g,$,A,C,U,Q,T,D;return u=n,p=ge(),p!==e?(t.charCodeAt(n)===58?(g=Ge,n++):(g=e,y===0&&oe(st)),g!==e?(t.substr(n,5)===Ke?($=Ke,n+=5):($=e,y===0&&oe(Sr)),$!==e?(A=n,t.charCodeAt(n)===60?(C=ze,n++):(C=e,y===0&&oe(Me)),C!==e?(U=ge(),U!==e?(Q=qf(),Q!==e?(T=ge(),T!==e?(t.charCodeAt(n)===62?(D=ft,n++):(D=e,y===0&&oe(ct)),D!==e?(h=A,C=Vt($,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e),A!==e?(C=ge(),C!==e?(h=u,p=re($,A),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function I0(){var u,p,g,$,A,C;for(u=n,p=[],g=n,$=ge(),$!==e?(A=zi(),A!==e?(C=ge(),C!==e?(h=g,$=ae(A),g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);g!==e;)p.push(g),g=n,$=ge(),$!==e?(A=zi(),A!==e?(C=ge(),C!==e?(h=g,$=ae(A),g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);return p!==e&&(h=u,p=ve(p)),u=p,u===e&&(u=n,p=zi(),p!==e&&(h=u,p=Ie(p)),u=p,u===e&&(u=n,p=ge(),p!==e&&(h=u,p=Nt()),u=p)),u}function Bi(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce;if(u=$h(),u===e)if(u=n,p=ge(),p!==e)if(t.charCodeAt(n)===58?(g=Ge,n++):(g=e,y===0&&oe(st)),g!==e)if(Ur.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(tt)),$===e&&($=null),$!==e)if(A=Ba(),A!==e){if(C=n,t.charCodeAt(n)===123?(U=vt,n++):(U=e,y===0&&oe(St)),U!==e?(Q=ge(),Q!==e?(T=Rf(),T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===125?(H=Hr,n++):(H=e,y===0&&oe(pt)),H!==e?(h=C,U=xn($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e){if(C=n,t.charCodeAt(n)===91?(U=Tt,n++):(U=e,y===0&&oe(an)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=ps(),D!==e&&(h=T,D=co($,A,D)),T=D,T===e){if(T=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Nr,n++):(ce=e,y===0&&oe(Bn)),ce===e&&(t.charCodeAt(n)===91?(ce=Tt,n++):(ce=e,y===0&&oe(an))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Nr,n++):(ce=e,y===0&&oe(Bn)),ce===e&&(t.charCodeAt(n)===91?(ce=Tt,n++):(ce=e,y===0&&oe(an))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=T,D=ei($,A)),T=D}T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===93?(H=Nr,n++):(H=e,y===0&&oe(Bn)),H!==e?(h=C,U=po($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e&&(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Me)),U!==e?(Q=ge(),Q!==e?(T=ps(),T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ft,n++):(H=e,y===0&&oe(ct)),H!==e?(h=C,U=ti($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e)){if(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Me)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=[],H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Me)),le===e&&(t.charCodeAt(n)===62?(le=ft,n++):(le=e,y===0&&oe(ct))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e),H!==e)for(;H!==e;)D.push(H),H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Me)),le===e&&(t.charCodeAt(n)===62?(le=ft,n++):(le=e,y===0&&oe(ct))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e);else D=e;D!==e?T=t.substring(T,n):T=D,T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ft,n++):(H=e,y===0&&oe(ct)),H!==e?(h=C,U=qi($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e){if(C=n,t.charCodeAt(n)===40?(U=ri,n++):(U=e,y===0&&oe(Cn)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=ps(),D!==e&&(h=T,D=Ni($,A,D)),T=D,T===e){if(T=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=An,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ri,n++):(ce=e,y===0&&oe(Cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=An,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ri,n++):(ce=e,y===0&&oe(Cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=T,D=O($,A)),T=D}T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===41?(H=An,n++):(H=e,y===0&&oe(z)),H!==e?(h=C,U=G($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;C===e&&(C=n,U=ge(),U!==e&&(h=C,U=ee($,A)),C=U)}}}C!==e?(U=ge(),U!==e?(h=u,p=te($,A,C),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function fi(){var u,p,g,$,A,C,U,Q,T,D;for(u=n,p=[],g=Bi();g!==e;)p.push(g),g=Bi();if(p!==e)if(g=ai(),g!==e){if($=[],A=n,t.charCodeAt(n)===61?(C=et,n++):(C=e,y===0&&oe(B)),C!==e)if(U=ge(),U!==e){if(Q=[],T=Bi(),T!==e)for(;T!==e;)Q.push(T),T=Bi();else Q=e;Q!==e?(T=ge(),T!==e?(D=ai(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;for(;A!==e;)if($.push(A),A=n,t.charCodeAt(n)===61?(C=et,n++):(C=e,y===0&&oe(B)),C!==e)if(U=ge(),U!==e){if(Q=[],T=Bi(),T!==e)for(;T!==e;)Q.push(T),T=Bi();else Q=e;Q!==e?(T=ge(),T!==e?(D=ai(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;$!==e?(h=u,p=Ae(p,$),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function O0(){var u,p,g,$;if(u=n,p=n,g=[],Oe.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(je)),$!==e)for(;$!==e;)g.push($),Oe.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(je));else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=ht(p)),u=p,u}function Lf(){var u,p,g;if(u=n,p=[],Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(rt)),g!==e)for(;g!==e;)p.push(g),Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(rt));else p=e;return p!==e?u=t.substring(u,n):u=p,u}function ds(){var u,p,g,$,A;if(u=n,p=n,kt.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(at)),g===e&&(g=null),g!==e){if($=[],Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(rt)),A!==e)for(;A!==e;)$.push(A),Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(rt));else $=e;$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function bh(){var u,p;return u=n,t.substr(n,4)===qe?(p=qe,n+=4):(p=e,y===0&&oe(dt)),p!==e&&(h=u,p=Ze()),u=p,u===e&&(u=n,t.substr(n,5)===Dr?(p=Dr,n+=5):(p=e,y===0&&oe(Rt)),p!==e&&(h=u,p=Ut()),u=p),u}function vh(){var u,p,g,$,A,C;return u=n,p=n,g=ds(),g!==e?($=n,t.charCodeAt(n)===46?(A=Je,n++):(A=e,y===0&&oe(Lt)),A!==e?(C=Lf(),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$===e&&($=null),$!==e?(Jt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe($r)),A!==e?(C=ds(),C!==e?(g=[g,$,A,C],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u===e&&(u=n,p=n,g=ds(),g!==e?(t.charCodeAt(n)===46?($=Je,n++):($=e,y===0&&oe(Lt)),$!==e?(A=Lf(),A!==e?(g=[g,$,A],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p),u}function zi(){var u,p,g,$,A;if(u=n,Rr.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(br)),p!==e){for(g=n,$=[],ln.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(En));A!==e;)$.push(A),ln.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(En));$!==e?g=t.substring(g,n):g=$,g!==e?(Rr.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(br)),$!==e?(h=u,p=ht(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;if(u===e){if(u=n,_n.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Gr)),p!==e){for(g=n,$=[],Kr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(vr));A!==e;)$.push(A),Kr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(vr));$!==e?g=t.substring(g,n):g=$,g!==e?(_n.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Gr)),$!==e?(h=u,p=ht(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;u===e&&(u=bh(),u===e&&(u=n,p=vh(),p!==e&&(h=u,p=o(p)),u=p,u===e&&(u=n,p=ds(),p!==e&&(h=u,p=ue(p)),u=p)))}return u}function Sa(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce,$t,Vn,zr;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=kr(p,$,C),U?U=void 0:U=e,U!==e){if(Q=[],T=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=si(),ie===e&&(ie=n,le=n,y++,ce=On(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Vn=er(),Vn!==e?(h=n,zr=ur(p,$,C,D,Vn),zr?zr=void 0:zr=e,zr!==e?($t=[$t,Vn,zr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=jr(),ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=T,D=zn(p,$,C,D,H),T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=si(),ie===e&&(ie=n,le=n,y++,ce=On(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Vn=er(),Vn!==e?(h=n,zr=ur(p,$,C,D,Vn),zr?zr=void 0:zr=e,zr!==e?($t=[$t,Vn,zr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=jr(),ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=T,D=zn(p,$,C,D,H),T=D):(n=T,T=e)):(n=T,T=e);else Q=e;Q!==e?(T=n,D=ge(),D!==e?T=t.substring(T,n):T=D,T!==e?(D=n,H=ji(),H!==e?(ie=er(),ie!==e?(h=n,le=w(p,$,C,Q,T,ie),le?le=void 0:le=e,le!==e?(ce=si(),ce===e&&(ce=null),ce!==e?(h=D,H=Lr(p,$,C,Q,T,ie),D=H):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e?(h=n,H=fr(p,$,C,Q,T,D),H?H=void 0:H=e,H!==e?(h=u,p=mo(p,$,C,Q,T,D),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Mi(){var u,p,g,$,A,C,U,Q,T;if(u=n,p=n,y++,g=n,$=ge(),$!==e?(A=On(),A===e&&(A=ui()),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g===e&&(g=mn()),y--,g===e?p=void 0:(n=p,p=e),p!==e){for(g=[],$=It();$!==e;)g.push($),$=It();if(g!==e){if($=n,A=[],C=n,Sn.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],T=It();T!==e;)Q.push(T),T=It();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;if(C!==e)for(;C!==e;)if(A.push(C),C=n,Sn.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],T=It();T!==e;)Q.push(T),T=It();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;else A=e;A!==e?$=t.substring($,n):$=A,$!==e?(A=li(),A!==e?(h=u,p=Qe(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e}else n=u,u=e;return u}function wr(){var u,p,g,$,A;return u=n,p=n,g=Mi(),g===e&&(g=n,h=n,$=Pr(),$?$=void 0:$=e,$!==e?(A=mn(),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e)),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=Fr()),u=p,u}function Br(){var u,p;return u=n,p=Ht(),p!==e&&(h=u,p=un(p)),u=p,u}function Pa(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,h=n,p=ni(),p?p=void 0:p=e,p!==e){if(g=n,$=[],A=n,C=n,y++,U=Mi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e)for(;A!==e;)$.push(A),A=n,C=n,y++,U=Mi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e);else $=e;if($!==e?g=t.substring(g,n):g=$,g!==e)if($=n,A=Mi(),A!==e&&(h=$,A=Pn(g,A)),$=A,$!==e){if(A=[],C=n,U=n,Q=[],T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);else Q=e;if(Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,T=wr(),T!==e&&(h=Q,T=cr(g,$,U,T)),Q=T,Q!==e?(h=C,U=Z(g,$,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=Mi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,T=wr(),y--,T===e?Q=void 0:(n=Q,Q=e),Q!==e?(T=Br(),T!==e?(h=C,U=Wr(g,$,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)),C!==e)for(;C!==e;){if(A.push(C),C=n,U=n,Q=[],T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);else Q=e;Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,T=wr(),T!==e&&(h=Q,T=cr(g,$,U,T)),Q=T,Q!==e?(h=C,U=Z(g,$,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=Mi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,T=wr(),y--,T===e?Q=void 0:(n=Q,Q=e),Q!==e?(T=Br(),T!==e?(h=C,U=Wr(g,$,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e))}else A=e;A!==e?(h=n,C=fn(g,$,A),C?C=void 0:C=e,C!==e?(h=u,p=ii(g,$,A),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e}else n=u,u=e;if(u===e){if(u=n,p=[],g=n,$=n,A=n,C=n,y++,U=wr(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?$=t.substring($,n):$=A,$!==e){for(A=[],C=wr();C!==e;)A.push(C),C=wr();A!==e?(h=g,$=Fn($,A),g=$):(n=g,g=e)}else n=g,g=e;if(g!==e)for(;g!==e;)if(p.push(g),g=n,$=n,A=n,C=n,y++,U=wr(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?$=t.substring($,n):$=A,$!==e){for(A=[],C=wr();C!==e;)A.push(C),C=wr();A!==e?(h=g,$=Fn($,A),g=$):(n=g,g=e)}else n=g,g=e;else p=e;if(p!==e&&(h=u,p=go(p)),u=p,u===e)if(u=[],p=Br(),p!==e)for(;p!==e;)u.push(p),p=Br();else u=e}return u}function Fa(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce,$t;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=rs(p,$,C),U?U=void 0:U=e,U!==e)if(h=n,Q=Di(p,$,C),Q?Q=void 0:Q=e,Q!==e){for(T=n,D=[],H=mn();H!==e;)D.push(H),H=mn();if(D!==e)if(H=Pa(),H!==e){for(ie=[],le=mn();le!==e;)ie.push(le),le=mn();ie!==e?(h=T,D=Zr(p,$,C,H),T=D):(n=T,T=e)}else n=T,T=e;else n=T,T=e;T!==e?(D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ji(),ie!==e?(le=er(),le!==e?(h=n,ce=w(p,$,C,T,D,le),ce?ce=void 0:ce=e,ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(h=H,ie=yo(p,$,C,T,D,le),H=ie):(n=H,H=e)):(n=H,H=e)):(n=H,H=e)):(n=H,H=e),H!==e?(h=n,ie=fr(p,$,C,T,D,H),ie?ie=void 0:ie=e,ie!==e?(h=u,p=ns(p,$,C,T,D,H),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ta(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e){if(U=[],Q=n,T=mn(),T===e&&(T=Sa(),T===e&&(T=Fa(),T===e&&(T=Ta(),T===e&&(T=Ra(),T===e&&(T=La(),T===e&&(T=ja(),T===e&&(T=Na(),T===e&&(T=Da(),T===e&&(T=Ia(),T===e&&(T=Oa(),T===e&&(T=qa()))))))))))),T!==e&&(h=Q,T=$o(p,$,C,T)),Q=T,Q===e){for(Q=n,T=n,D=[],H=It();H!==e;)D.push(H),H=It();if(D!==e?T=t.substring(T,n):T=D,T!==e){if(D=n,H=[],ie=Ht(),ie!==e)for(;ie!==e;)H.push(ie),ie=Ht();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,T=bo(p,$,C,T,D),Q=T):(n=Q,Q=e)}else n=Q,Q=e}for(;Q!==e;)if(U.push(Q),Q=n,T=mn(),T===e&&(T=Sa(),T===e&&(T=Fa(),T===e&&(T=Ta(),T===e&&(T=Ra(),T===e&&(T=La(),T===e&&(T=ja(),T===e&&(T=Na(),T===e&&(T=Da(),T===e&&(T=Ia(),T===e&&(T=Oa(),T===e&&(T=qa()))))))))))),T!==e&&(h=Q,T=$o(p,$,C,T)),Q=T,Q===e){for(Q=n,T=n,D=[],H=It();H!==e;)D.push(H),H=It();if(D!==e?T=t.substring(T,n):T=D,T!==e){if(D=n,H=[],ie=Ht(),ie!==e)for(;ie!==e;)H.push(ie),ie=Ht();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,T=bo(p,$,C,T,D),Q=T):(n=Q,Q=e)}else n=Q,Q=e}U!==e?(Q=n,T=ge(),T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(T=n,D=ji(),D!==e?(H=er(),H!==e?(h=n,ie=w(p,$,C,U,Q,H),ie?ie=void 0:ie=e,ie!==e?(le=si(),le===e&&(le=null),le!==e?(h=T,D=vo(p,$,C,U,Q,H),T=D):(n=T,T=e)):(n=T,T=e)):(n=T,T=e)):(n=T,T=e),T!==e?(h=n,D=fr(p,$,C,U,Q,T),D?D=void 0:D=e,D!==e?(h=u,p=Mn(p,$,C,U,Q,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function kh(){var u,p,g;if(u=n,p=[],g=Ht(),g!==e)for(;g!==e;)p.push(g),g=Ht();else p=e;return p!==e&&(h=u,p=Qt()),u=p,u}function q0(){var u,p,g,$;if(u=n,p=[],g=n,$=Tr(),$!==e&&(h=g,$=Ri()),g=$,g===e){if(g=[],cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt)),$!==e)for(;$!==e;)g.push($),cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt));else g=e;g===e&&(g=Ht())}if(g!==e){for(;g!==e;)if(p.push(g),g=n,$=Tr(),$!==e&&(h=g,$=Ri()),g=$,g===e){if(g=[],cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt)),$!==e)for(;$!==e;)g.push($),cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt));else g=e;g===e&&(g=Ht())}}else p=e;return p!==e&&(h=u,p=$a(p)),u=p,u}function Ia(){var u,p,g,$,A,C,U,Q,T,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e)if($=ui(),$!==e)if(A=ge(),A!==e)if(C=Tr(),C===e&&(C=null),C!==e)if(h=n,U=is(p,$),U?U=void 0:U=e,U!==e){for(Q=n,T=[],D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)T.push(D),D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(h=u,p=pn(p,$,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Oa(){var u,p,g,$,A,C,U,Q,T;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e?($=ui(),$!==e?(A=ge(),A!==e?(C=Tr(),C===e&&(C=null),C!==e?(h=n,U=oi(p,$),U?U=void 0:U=e,U!==e?(h=n,Q=ba(p,$),Q?Q=void 0:Q=e,Q!==e?(T=Pa(),T!==e?(h=u,p=va(p,$,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function qa(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e)if($=ui(),$!==e)if(A=ge(),A!==e)if(C=Tr(),C===e&&(C=hh()),C!==e){for(U=n,Q=[],T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);T!==e;)Q.push(T),T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=ka(p,$,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function wh(){var u,p,g,$,A,C,U,Q,T,D,H;for(u=n,p=[],g=jr();g!==e;)p.push(g),g=jr();if(p!==e)if(g=ai(),g!==e){if($=[],A=n,C=ge(),C!==e)if(t.substr(n,2)===Tn?(U=Tn,n+=2):(U=e,y===0&&oe(os)),U!==e)if(Q=ge(),Q!==e){if(T=[],D=jr(),D!==e)for(;D!==e;)T.push(D),D=jr();else T=e;T!==e?(D=ge(),D!==e?(H=ai(),H!==e?(h=A,C=pe(p,T),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;for(;A!==e;)if($.push(A),A=n,C=ge(),C!==e)if(t.substr(n,2)===Tn?(U=Tn,n+=2):(U=e,y===0&&oe(os)),U!==e)if(Q=ge(),Q!==e){if(T=[],D=jr(),D!==e)for(;D!==e;)T.push(D),D=jr();else T=e;T!==e?(D=ge(),D!==e?(H=ai(),H!==e?(h=A,C=pe(p,T),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;$!==e?(h=u,p=Ae(p,$),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function Na(){var u,p,g,$,A,C,U;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,6)===X?(g=X,n+=6):(g=e,y===0&&oe(xt)),g!==e?($=ge(),$!==e?(A=n,C=Ba(),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=wh(),U!==e?(h=u,p=wa(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Da(){var u,p,g,$,A,C,U,Q;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,7)===Ce?(g=Ce,n+=7):(g=e,y===0&&oe(it)),g!==e?($=ge(),$!==e?(A=n,C=er(),C===e&&(C=n,xa.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(Ca)),U!==e?(t.substr(n,2)===ss?(Q=ss,n+=2):(Q=e,y===0&&oe(Aa)),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e)),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=fi(),U!==e?(h=u,p=as(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Ra(){var u,p,g,$,A,C,U,Q,T,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=cs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=ls(p,g,$,C),U?U=void 0:U=e,U!==e){for(Q=n,T=[],D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)T.push(D),D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(h=u,p=Ea(p,g,$,C,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function La(){var u,p,g,$,A,C,U,Q,T;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=cs(),g!==e?($=er(),$!==e?(A=ge(),A!==e?(C=fi(),C!==e?(h=n,U=Jr(p,g,$,C),U?U=void 0:U=e,U!==e?(h=n,Q=At(p,g,$,C),Q?Q=void 0:Q=e,Q!==e?(T=Pa(),T!==e?(h=u,p=Pe(p,g,$,C,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function ja(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=cs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e){for(U=n,Q=[],T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);T!==e;)Q.push(T),T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=Li(p,g,$,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ba(){var u,p,g,$,A;if(u=n,p=n,_f.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(Xt)),g!==e){if($=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r)),A!==e)for(;A!==e;)$.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));else $=e;$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function N0(){var u,p;for(y++,u=[],nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));p!==e;)u.push(p),nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));return y--,u===e&&(p=e,y===0&&oe(dn)),u}function D0(){var u,p;for(y++,u=[],nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));p!==e;)u.push(p),nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));return y--,u===e&&(p=e,y===0&&oe(_a)),u}function ms(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function xh(u){return u===u.toUpperCase()}function Vi(u){return u.reduce((p,g)=>Array.isArray(g)?p.concat(Vi(g)):p.concat(g),[])}function Ch(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","table","toc"].includes(u)||xh(u)||u.match(/^(head|item)\d+$/)||ms(u)}function Ah(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(R=s(),R!==e&&n===t.length)return R;throw R!==e&&n<t.length&&oe(K()),Pf(_,v<t.length?t.charAt(v):null,v<t.length?ko(v,v+1):ko(v,v))}yd.exports={SyntaxError:Ci,parse:jv}});var kd=me((Ux,vd)=>{"use strict";function zv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ai(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ai)}zv(Ai,Error);Ai.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",b;for(b=0;b<m.parts.length;b++)d+=m.parts[b]instanceof Array?a(m.parts[b][0])+"-"+a(m.parts[b][1]):a(m.parts[b]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),b,x;for(b=0;b<m.length;b++)d[b]=l(m[b]);if(d.sort(),d.length>0){for(b=1,x=1;b<d.length;b++)d[b-1]!==d[b]&&(d[x]=d[b],x++);d.length=x}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Mv(t,r){r=r!==void 0?r:{};var e={},i={Expression:ii},s=ii,a="A",l=Qe("A",!1),f="V",c=Qe("V",!1),m="R",d=Qe("R",!1),b="B",x=Qe("B",!1),k="I",E=Qe("I",!1),I="C",N=Qe("C",!1),M="D",Y=Qe("D",!1),se="E",$e=Qe("E",!1),he="K",ne=Qe("K",!1),be="L",xe=Qe("L",!1),ke="S",Le=Qe("S",!1),Ee="T",_e=Qe("T",!1),de="F",Ce=Qe("F",!1),it="U",X=Qe("U",!1),xt="Z",We=Qe("Z",!1),yt="N",et=Qe("N",!1),B="X",V=Qe("X",!1),Zt=/^[a-zA-Z]/,Dt=Pr([["a","z"],["A","Z"]],!1,!1),bt=/^[a-zA-Z0-9_\-]/,_t=Pr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ct=/^[ \t\f]/,ot=Pr([" "," ","\f"],!1,!1),Er=function(n){return!(r.allowed||[]).length||(r.allowed||[]).includes(n)},ye=Fr(),yr=function(n){return n==="A"},zt=function(n,h){return{content:h,type:"fcode",name:n}},_r=function(n){return n==="D"},Mt=function(n,h,F){return In(F)},Xn=function(n,h,F){return{content:h,type:"fcode",name:n,synonyms:F}},jn=function(n){return n==="V"},wn=function(n,h){return{content:h,type:"fcode",name:n}},He="<",Ge=Qe("<",!1),st=">",Ke=Qe(">",!1),Sr=function(){return fr()},ze="\xAB",Me=Qe("\xAB",!1),ft="\xBB",ct=Qe("\xBB",!1),Vt=function(n){return n},re=function(n){return n.code==="C"},ae=function(n,h){return h===n.end_tag},ve=function(n,h){return h},Ie=function(n,h,F){return F===n.end_tag},Nt=function(n,h,F){return{content:h,type:"fcode",name:n.code}},Ur="|",tt=Qe("|",!1),vt=function(n){return n},St=function(n){return n.code==="L"},Hr=function(n,h,F){return F},pt=function(n,h,F,v){return v===n.end_tag},xn=function(n,h,F,v){return{content:h,type:"fcode",name:n.code,meta:F}},Tt=";",an=Qe(";",!1),co=/^[ \xA0\u2001\t\f\u2008]/,Nr=Pr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Bn=function(n,h){return In([n,h])},ei=function(n){return[n]},po=function(n){return n==="X"},ti=function(n,h,F){return{content:h,type:"fcode",name:n,entry:F}},qi=function(n){return n==="S"},ri=function(n){return n==="Z"},Cn=/^[0-9]/,Ni=Pr([["0","9"]],!1,!1),An="0d",z=Qe("0d",!1),O=function(n){return parseInt(n,10)},G="0o",ee=Qe("0o",!1),te=function(n){return parseInt(n,8)},pe="0b",Ae=Qe("0b",!1),Oe=function(n){return parseInt(n,2)},je="0x",ht=Qe("0x",!1),Se=/^[0-9A-Fa-f]/,rt=Pr([["0","9"],["A","F"],["a","f"]],!1,!1),kt=function(){return parseInt(fr())},at=/^[A-Z ]/,qe=Pr([["A","Z"]," "],!1,!1),dt=function(){return fr()===fr().toUpperCase()},Ze=/^[a-z]/,Dr=Pr([["a","z"]],!1,!1),Rt=/^[a-z0-9]/,Ut=Pr([["a","z"],["0","9"]],!1,!1),Je=function(n){return fr()},Lt=function(n){return{type:"number",value:parseInt(n,10)}},Jt=function(n){return{type:"unicode_name",value:n}},$r=function(n){return{type:"html_named",value:n}},Rr=function(n){return n==="E"},br=function(n,h){return In(h)},ln=function(n,h){return{content:h||[],type:"fcode",name:n}},En=function(n){return n},_n=function(n,h){return{code:n,begin_tag:h,end_tag:_a(h)}},Gr=function(n){return n.code!=="C"},Kr=function(n,h,F){return F===n.end_tag},vr=function(n,h,F){return{content:h,type:"fcode",name:n.code}},o=0,ue=0,kr=[{line:1,column:1}],ur=0,zn=[],w=0,Lr;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function fr(){return t.substring(ue,o)}function mo(){return cr(ue,o)}function Sn(n,h){throw h=h!==void 0?h:cr(ue,o),fn([ni(n)],t.substring(ue,o),h)}function ho(n,h){throw h=h!==void 0?h:cr(ue,o),Wr(n,h)}function Qe(n,h){return{type:"literal",text:n,ignoreCase:h}}function Pr(n,h,F){return{type:"class",parts:n,inverted:h,ignoreCase:F}}function Fr(){return{type:"any"}}function un(){return{type:"end"}}function ni(n){return{type:"other",description:n}}function Pn(n){var h=kr[n],F;if(h)return h;for(F=n-1;!kr[F];)F--;for(h=kr[F],h={line:h.line,column:h.column};F<n;)t.charCodeAt(F)===10?(h.line++,h.column=1):h.column++,F++;return kr[n]=h,h}function cr(n,h){var F=Pn(n),v=Pn(h);return{start:{offset:n,line:F.line,column:F.column},end:{offset:h,line:v.line,column:v.column}}}function Z(n){o<ur||(o>ur&&(ur=o,zn=[]),zn.push(n))}function Wr(n,h){return new Ai(n,null,null,h)}function fn(n,h,F){return new Ai(Ai.buildMessage(n,h),n,h,F)}function ii(){var n,h;for(n=[],h=Fn(),h===e&&(h=Li(),h===e&&(h=Xt(),h===e&&(h=yo())));h!==e;)n.push(h),h=Fn(),h===e&&(h=Li(),h===e&&(h=Xt(),h===e&&(h=yo())));return n}function Fn(){var n;return n=ns(),n===e&&(n=va(),n===e&&(n=Ri(),n===e&&(n=$o(),n===e&&(n=Ea(),n===e&&(n=bo(),n===e&&(n=$a(),n===e&&(n=ba(),n===e&&(n=ka())))))))),n}function go(){var n;return t.charCodeAt(o)===65?(n=a,o++):(n=e,w===0&&Z(l)),n===e&&(t.charCodeAt(o)===86?(n=f,o++):(n=e,w===0&&Z(c)),n===e&&(t.charCodeAt(o)===82?(n=m,o++):(n=e,w===0&&Z(d)),n===e&&(t.charCodeAt(o)===66?(n=b,o++):(n=e,w===0&&Z(x)),n===e&&(t.charCodeAt(o)===73?(n=k,o++):(n=e,w===0&&Z(E)),n===e&&(t.charCodeAt(o)===67?(n=I,o++):(n=e,w===0&&Z(N)),n===e&&(t.charCodeAt(o)===68?(n=M,o++):(n=e,w===0&&Z(Y)),n===e&&(t.charCodeAt(o)===69?(n=se,o++):(n=e,w===0&&Z($e)),n===e&&(t.charCodeAt(o)===75?(n=he,o++):(n=e,w===0&&Z(ne)),n===e&&(t.charCodeAt(o)===76?(n=be,o++):(n=e,w===0&&Z(xe)),n===e&&(t.charCodeAt(o)===83?(n=ke,o++):(n=e,w===0&&Z(Le)),n===e&&(t.charCodeAt(o)===84?(n=Ee,o++):(n=e,w===0&&Z(_e)),n===e&&(t.charCodeAt(o)===70?(n=de,o++):(n=e,w===0&&Z(Ce)),n===e&&(t.charCodeAt(o)===85?(n=it,o++):(n=e,w===0&&Z(X)),n===e&&(t.charCodeAt(o)===90?(n=xt,o++):(n=e,w===0&&Z(We)),n===e&&(t.charCodeAt(o)===78?(n=yt,o++):(n=e,w===0&&Z(et)),n===e&&(t.charCodeAt(o)===88?(n=B,o++):(n=e,w===0&&Z(V)))))))))))))))))),n}function rs(){var n,h,F,v,_;if(n=o,h=o,Zt.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Dt)),F!==e){if(v=[],bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,w===0&&Z(_t)),_!==e)for(;_!==e;)v.push(_),bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,w===0&&Z(_t));else v=e;v!==e?(F=[F,v],h=F):(o=h,h=e)}else o=h,h=e;return h!==e?n=t.substring(n,o):n=h,n}function Di(){var n,h;for(n=[],Ct.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,w===0&&Z(ot));h!==e;)n.push(h),Ct.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,w===0&&Z(ot));return n}function Zr(){var n,h,F;return n=o,h=go(),h!==e?(ue=o,F=Er(h),F?F=void 0:F=e,F!==e?(h=[h,F],n=h):(o=n,n=e)):(o=n,n=e),n}function yo(){var n,h;return n=o,t.length>o?(h=t.charAt(o),o++):(h=e,w===0&&Z(ye)),h!==e?n=t.substring(n,o):n=h,n}function ns(){var n,h,F,v,_;return n=o,h=Jr(),h!==e?(ue=o,F=yr(h),F?F=void 0:F=e,F!==e?(v=Yt(),v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function $o(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=_r(h),F?F=void 0:F=e,F!==e){if(v=[],_=Yt(),_!==e)for(;_!==e;)v.push(_),_=Yt();else v=e;if(v!==e){if(_=o,y=cn(),y!==e){for(R=[],S=oi();S!==e;)R.push(S),S=oi();R!==e?(ue=_,y=Mt(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=Xn(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function bo(){var n,h,F,v,_,y;if(n=o,h=Jr(),h!==e)if(ue=o,F=jn(h),F?F=void 0:F=e,F!==e){if(v=o,_=[],y=Qt(),y!==e)for(;y!==e;)_.push(y),y=Qt();else _=e;_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=wn(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function vo(){var n;return t.charCodeAt(o)===66?(n=b,o++):(n=e,w===0&&Z(x)),n}function Mn(){var n,h,F,v,_;return n=o,h=o,F=o,w++,v=vo(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===62?(_=st,o++):(_=e,w===0&&Z(Ke)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,F=o,w++,v=vo(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(F=ze,o++):(F=e,w===0&&Z(Me)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===187?(_=ft,o++):(_=e,w===0&&Z(ct)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function Qt(){var n,h,F,v,_,y,R,S;if(n=o,h=o,F=[],v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=Mn(),v===e&&(v=dn()))),v!==e)for(;v!==e;)F.push(v),v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=Mn(),v===e&&(v=dn())));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function Ri(){var n,h,F,v,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=At(),h!==e)if(ue=o,F=re(h),F?F=void 0:F=e,F!==e){if(v=[],_=o,y=o,R=[],S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;if(R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y,_!==e)for(;_!==e;){if(v.push(_),_=o,y=o,R=[],S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}else v=e;v!==e?(_=Pe(),_!==e?(ue=o,y=Ie(h,v,_),y?y=void 0:y=e,y!==e?(ue=n,h=Nt(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function cn(){var n;return t.charCodeAt(o)===124?(n=Ur,o++):(n=e,w===0&&Z(tt)),n}function Yt(){var n,h,F,v,_,y,R,S,q;if(n=o,h=o,F=[],v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,w++,y=cn(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=Pe(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Jr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,w++,q=nt(),w--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,w===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e))),v!==e)for(;v!==e;)F.push(v),v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,w++,y=cn(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=Pe(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Jr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,w++,q=nt(),w--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,w===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=vt(h)),n=h,n}function $a(){var n,h,F,v,_,y,R,S,q,J,P;if(n=o,h=At(),h!==e)if(ue=o,F=St(h),F?F=void 0:F=e,F!==e){if(v=[],_=Ri(),_===e&&(_=Yt()),_!==e)for(;_!==e;)v.push(_),_=Ri(),_===e&&(_=Yt());else v=e;if(v!==e){if(_=o,y=cn(),y!==e){for(R=o,S=[],q=o,J=o,w++,P=Pe(),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);q!==e;)S.push(q),q=o,J=o,w++,P=Pe(),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);S!==e?R=t.substring(R,o):R=S,R!==e?(ue=_,y=Hr(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=o,R=pt(h,v,_,y),R?R=void 0:R=e,R!==e?(ue=n,h=xn(h,v,_,y),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function is(){var n,h,F,v,_,y;if(n=o,h=[],F=o,v=o,w++,t.charCodeAt(o)===59?(_=Tt,o++):(_=e,w===0&&Z(an)),w--,_===e?v=void 0:(o=v,v=e),v!==e?(_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,w===0&&Z(ye)),y!==e?(v=[v,_,y],F=v):(o=F,F=e)):(o=F,F=e)):(o=F,F=e),F!==e)for(;F!==e;)h.push(F),F=o,v=o,w++,t.charCodeAt(o)===59?(_=Tt,o++):(_=e,w===0&&Z(an)),w--,_===e?v=void 0:(o=v,v=e),v!==e?(_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,w===0&&Z(ye)),y!==e?(v=[v,_,y],F=v):(o=F,F=e)):(o=F,F=e)):(o=F,F=e);else h=e;return h!==e?n=t.substring(n,o):n=h,n}function pn(){var n;return co.test(t.charAt(o))?(n=t.charAt(o),o++):(n=e,w===0&&Z(Nr)),n}function oi(){var n,h,F,v,_,y;if(n=o,h=is(),h!==e){for(F=[],v=pn();v!==e;)F.push(v),v=pn();if(F!==e)if(t.charCodeAt(o)===59?(v=Tt,o++):(v=e,w===0&&Z(an)),v!==e){for(_=[],y=pn();y!==e;)_.push(y),y=pn();_!==e?(y=oi(),y!==e?(ue=n,h=Bn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=is(),h!==e&&(ue=n,h=ei(h)),n=h),n}function ba(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=po(h),F?F=void 0:F=e,F!==e){for(v=[],_=Yt();_!==e;)v.push(_),_=Yt();if(v!==e){if(_=o,y=cn(),y!==e){for(R=[],S=oi();S!==e;)R.push(S),S=oi();R!==e?(ue=_,y=Mt(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=ti(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function va(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=qi(h),F?F=void 0:F=e,F!==e){for(v=o,_=[],y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function ka(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=ri(h),F?F=void 0:F=e,F!==e){for(v=o,_=[],y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function Tn(){var n,h,F;if(n=o,h=[],Cn.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Ni)),F!==e)for(;F!==e;)h.push(F),Cn.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Ni));else h=e;return h!==e?n=t.substring(n,o):n=h,n}function os(){var n,h,F;return n=o,t.substr(o,2)===An?(h=An,o+=2):(h=e,w===0&&Z(z)),h!==e?(F=Tn(),F!==e?(ue=n,h=O(F),n=h):(o=n,n=e)):(o=n,n=e),n}function wa(){var n,h,F;return n=o,t.substr(o,2)===G?(h=G,o+=2):(h=e,w===0&&Z(ee)),h!==e?(F=Tn(),F!==e?(ue=n,h=te(F),n=h):(o=n,n=e)):(o=n,n=e),n}function xa(){var n,h,F;return n=o,t.substr(o,2)===pe?(h=pe,o+=2):(h=e,w===0&&Z(Ae)),h!==e?(F=Tn(),F!==e?(ue=n,h=Oe(F),n=h):(o=n,n=e)):(o=n,n=e),n}function Ca(){var n,h,F,v,_,y;if(n=o,h=o,F=o,t.substr(o,2)===je?(v=je,o+=2):(v=e,w===0&&Z(ht)),v!==e){if(_=[],Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(rt)),y!==e)for(;y!==e;)_.push(y),Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(rt));else _=e;_!==e?(v=[v,_],F=v):(o=F,F=e)}else o=F,F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=kt()),n=h,n}function ss(){var n,h,F,v;if(n=o,h=o,F=[],at.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(qe)),v!==e)for(;v!==e;)F.push(v),at.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(qe));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e?(ue=o,F=dt(),F?F=void 0:F=e,F!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e),n}function Aa(){var n,h,F,v,_,y;if(n=o,h=o,F=o,Ze.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(Dr)),v!==e){if(_=[],Rt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(Ut)),y!==e)for(;y!==e;)_.push(y),Rt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(Ut));else _=e;_!==e?(v=[v,_],F=v):(o=F,F=e)}else o=F,F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Je(h)),n=h,n}function as(){var n,h,F;return n=o,h=Di(),h!==e?(F=wa(),F===e&&(F=os(),F===e&&(F=xa(),F===e&&(F=Ca(),F===e&&(F=Tn())))),F!==e?(ue=n,h=Lt(F),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(F=ss(),F!==e?(ue=n,h=Jt(F),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(F=Aa(),F!==e?(ue=n,h=$r(F),n=h):(o=n,n=e)):(o=n,n=e))),n}function ls(){var n,h,F,v,_,y;if(n=o,h=as(),h!==e){for(F=[],v=pn();v!==e;)F.push(v),v=pn();if(F!==e)if(t.charCodeAt(o)===59?(v=Tt,o++):(v=e,w===0&&Z(an)),v!==e){for(_=[],y=pn();y!==e;)_.push(y),y=pn();_!==e?(y=ls(),y!==e?(ue=n,h=Bn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=as(),h!==e&&(ue=n,h=ei(h)),n=h),n}function Ea(){var n,h,F,v,_;return n=o,h=Jr(),h!==e?(ue=o,F=Rr(h),F?F=void 0:F=e,F!==e?(v=o,_=ls(),_!==e&&(ue=v,_=br(h,_)),v=_,v===e&&(v=null),v!==e?(_=Pe(),_!==e?(ue=n,h=ln(h,v),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function Jr(){var n,h,F;return n=o,h=o,F=Zr(),F!==e?h=t.substring(h,o):h=F,h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(ue=n,h=En(h),n=h):(o=n,n=e)):(o=n,n=e),n}function At(){var n,h,F,v;return n=o,h=o,F=Zr(),F!==e?h=t.substring(h,o):h=F,h!==e?(F=o,t.charCodeAt(o)===60?(v=He,o++):(v=e,w===0&&Z(Ge)),v===e&&(t.charCodeAt(o)===171?(v=ze,o++):(v=e,w===0&&Z(Me))),v!==e?F=t.substring(F,o):F=v,F!==e?(ue=n,h=_n(h,F),n=h):(o=n,n=e)):(o=n,n=e),n}function Pe(){var n;return t.charCodeAt(o)===62?(n=st,o++):(n=e,w===0&&Z(Ke)),n===e&&(t.charCodeAt(o)===187?(n=ft,o++):(n=e,w===0&&Z(ct))),n}function Li(){var n,h,F,v,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=At(),h!==e)if(ue=o,F=Gr(h),F?F=void 0:F=e,F!==e){if(v=[],_=Fn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}for(;_!==e;)if(v.push(_),_=Fn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}v!==e?(_=Pe(),_!==e?(ue=o,y=Kr(h,v,_),y?y=void 0:y=e,y!==e?(ue=n,h=vr(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function _f(){var n,h,F,v,_;for(n=o,h=[],F=o,v=o,w++,_=Pe(),w--,_===e?v=void 0:(o=v,v=e),v!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,w===0&&Z(ye)),_!==e?(v=[v,_],F=v):(o=F,F=e)):(o=F,F=e);F!==e;)h.push(F),F=o,v=o,w++,_=Pe(),w--,_===e?v=void 0:(o=v,v=e),v!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,w===0&&Z(ye)),_!==e?(v=[v,_],F=v):(o=F,F=e)):(o=F,F=e);return h!==e?n=t.substring(n,o):n=h,n}function Xt(){var n,h,F,v,_,y,R;if(n=o,h=o,F=[],v=o,t.charCodeAt(o)===60?(_=He,o++):(_=e,w===0&&Z(Ge)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===62?(R=st,o++):(R=e,w===0&&Z(Ke)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,w===0&&Z(Me)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===187?(R=ft,o++):(R=e,w===0&&Z(ct)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=nt(),v===e&&(v=dn()))),v!==e)for(;v!==e;)F.push(v),v=o,t.charCodeAt(o)===60?(_=He,o++):(_=e,w===0&&Z(Ge)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===62?(R=st,o++):(R=e,w===0&&Z(Ke)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,w===0&&Z(Me)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===187?(R=ft,o++):(R=e,w===0&&Z(ct)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=nt(),v===e&&(v=dn())));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function dn(){var n,h,F,v,_,y,R,S;if(n=o,h=o,F=[],v=o,_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=At(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=nt(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v!==e)for(;v!==e;)F.push(v),v=o,_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=At(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=nt(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e);else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function nt(){var n,h,F,v,_;return n=o,h=o,F=o,w++,v=Zr(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===62?(_=st,o++):(_=e,w===0&&Z(Ke)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,F=o,w++,v=Zr(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(F=ze,o++):(F=e,w===0&&Z(Me)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===187?(_=ft,o++):(_=e,w===0&&Z(ct)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function In(n){return n.reduce((h,F)=>Array.isArray(F)?h.concat(In(F)):h.concat(F),[])}function _a(n){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[n]}if(Lr=s(),Lr!==e&&o===t.length)return Lr;throw Lr!==e&&o<t.length&&Z(un()),fn(zn,ur<t.length?t.charAt(ur):null,ur<t.length?cr(ur,ur+1):cr(ur,ur))}vd.exports={SyntaxError:Ai,parse:Mv}});var Pd=me((yC,Hv)=>{Hv.exports={name:"@podlite/schema",version:"0.0.32",description:"AST tools for Podlite markup language",main:"./src/index.ts",license:"MIT",funding:{type:"opencollective",url:"https://opencollective.com/podlite"},files:["lib/**/*.js","lib/**/*.d.ts","esm","schema/*","README.md","CHANGELOG.md"],engines:{node:">=14"},engineStrict:!0,publishConfig:{access:"public",main:"lib/index.js",types:"./lib/index.d.ts",module:"./esm/index.js"},scripts:{clean:"rm -rf lib esm *.tsbuildinfo",build:"run-s build:pegjs build_lib build:ast ",build_lib:"yarn g:build","build:ast":"ts-node scripts/make-ast-scheme.ts","build:pegjs":"pegjs -o src/grammar.js src/grammar.pegjs && pegjs -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegjs --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["markdown","podlite","markup","markup-language"],dependencies:{ajv:"^7.2.3",events:"^3.1.0","json-pointer":"^0.6.1",nanoid:"3.1.30",slugify:"^1.6.6"},devDependencies:{"@types/node":"^17.0.7",glob:"^7.2.0","npm-run-all":"^4.1.5",pegjs:"^0.10.0","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Od=me((YC,Id)=>{Id.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Md=me((XC,zd)=>{"use strict";var Ys=Object.prototype.hasOwnProperty,Bd=Object.prototype.toString,qd=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,Dd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Bd.call(r)==="[object Array]"},Rd=function(r){if(!r||Bd.call(r)!=="[object Object]")return!1;var e=Ys.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&Ys.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!i)return!1;var s;for(s in r);return typeof s>"u"||Ys.call(r,s)},Ld=function(r,e){qd&&e.name==="__proto__"?qd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},jd=function(r,e){if(e==="__proto__")if(Ys.call(r,e)){if(Nd)return Nd(r,e).value}else return;return r[e]};zd.exports=function t(){var r,e,i,s,a,l,f=arguments[0],c=1,m=arguments.length,d=!1;for(typeof f=="boolean"&&(d=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<m;++c)if(r=arguments[c],r!=null)for(e in r)i=jd(f,e),s=jd(r,e),f!==s&&(d&&s&&(Rd(s)||(a=Dd(s)))?(a?(a=!1,l=i&&Dd(i)?i:[]):l=i&&Rd(i)?i:{},Ld(f,{name:e,newValue:t(d,l,s)})):typeof s<"u"&&Ld(f,{name:e,newValue:s}));return f}});var Hd=me((rA,Ud)=>{Ud.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var F0={};jf(F0,{PluginRegister:()=>S0,default:()=>P0,parseMd:()=>ga,plugin:()=>ya});module.exports=Th(F0);var Fd=Ir(Hp()),Kv=Ir(Zp());var wC=Ir(Xp());var Sv=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[r,e]=t.split(":");if(r&&e)return{name:r,type:e};if(!r)return{type:e};if(!e){let i=r.match(/(.+)\<\>/);return i?{type:"fcode",name:i[1]}:{name:r,type:"block"}}return{name:r,type:e}},ki=t=>{let r=Sv(t),{name:e,type:i}=r;return i&&i==="*"?{name:e}:e&&e==="*"?{type:i}:r};function Pv(t,r){function e(s){for(var a in s)if(s.hasOwnProperty(a))return!1;return!0}if(e(t))return!0;for(var i in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(i))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(i)){if(t[i]!==r[i])return!1}else return!1;return!0}var bn=(t,r)=>{return e.rule=t,e.isFor=i,e.fn=r,e;function e(){}function i(s){return typeof s=="string"?!1:Pv(t,s)}},mu=(t,r)=>{if(t instanceof Array)return t.reduce((i,s)=>(i.push(...mu(s)),i),[]);if(t instanceof Object){let i=[];for(var e in t)t.hasOwnProperty(e)&&i.push(bn(ki(e),t[e]));return i}return[bn(ki(t),r)]};var hu=Ir(require("crypto"),1);var ed="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Fv=128,wi,io,Tv=t=>{!wi||wi.length<t?(wi=Buffer.allocUnsafe(t*Fv),hu.default.randomFillSync(wi),io=0):io+t>wi.length&&(hu.default.randomFillSync(wi),io=0),io+=t};var td=(t=21)=>{Tv(t);let r="";for(let e=io-t;e<io;e++)r+=ed[wi[e]&63];return r};var oo=t=>({...t}),gu=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},mr=(t,r)=>{let e="block",i=t.name,s={id:td(),margin:"",...t};var a=oo({type:e,...s,content:gu(r)});return a};var Ks=(t,r)=>oo({type:"fcode",...t,content:r}),yu=(t,r)=>oo({...t,type:"fcode",name:"L",content:gu(r)}),rd=t=>oo({type:"fcode",name:"Delete",content:gu(t)}),nd=t=>oo({type:"fcode",name:"F",content:[{type:"text",value:t}]}),Ho=t=>oo({type:"verbatim",value:t});var id=t=>({type:"block",name:"caption",content:t}),od=(t,r)=>({type:"image",src:t,alt:r}),$u=({margin:t=""},r)=>mr({name:"root",margin:t},r);var sd=({value:t,location:r})=>mr({name:"formula",location:r},[Ho(t)]);var ad=(t,r={})=>{let e=t.config instanceof Array?t.config:[],i=[];r.config&&r.config.hasOwnProperty(t.name)&&(i=r.config[t.name]);let s={};[...e,...i].map(l=>{s.hasOwnProperty(l.name)||(s[l.name]=[]),l.type==="array"?s[l.name].push(...l.value):s[l.name].push(l.value)});let a=function(){};return a.exists=l=>s.hasOwnProperty(l),a.getAllValues=l=>a.exists(l)?s[l]:[],a.getFirstValue=l=>a.exists(l)?a.getAllValues(l)[0]:void 0,a.asHash=()=>s,a},sn=ad;var ld=(t,r)=>{let e=sn(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function ud(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(ud(e)):r.concat(e),[]):t}function Iv(t){function r(e,i){if(e==null)return e;if(e instanceof Array)return ud(e.map(l=>r(l,i))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},i);let s=t.slice();s.reverse();let a=s.findIndex(l=>l.isFor(e));if(a!==-1){let l=s.slice(a+1),f=l.findIndex(m=>m.isFor(e)),c=(m=e,d=i,b=r)=>{if(f!==-1)l[f].fn(m,d,b,()=>{});else return};return typeof s[a].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[a].fn(e,i,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,i)}}return r.rules=t,r}var Zs=Iv;var gt=(t,r)=>(e,i)=>(s,a,l)=>{e.writeRaw(t),s.content&&l(s.content,a),e.writeRaw(r)},Dn=()=>()=>()=>{},Rn=(t,r)=>(e,i,s)=>{if(e.content)return s(e.content,i)},Zn=t=>(r,e)=>(i,s,a)=>t(i,s)(r,e)(i,s,a);var bu=(t,r)=>{let e=mu(t).reverse();return(i,s)=>{let a=e.map(c=>bn(c.rule,c.fn(i,s))).reverse(),l=r(i,s),f;return(c,m,d)=>(f||(f=Zs([...d.rules,...a])),l(c,m,f))}},xi=(t,r)=>(e,i)=>{let s=t(e,i);return(a,l,f)=>{let c=sn(a,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(a,l,f),c!==void 0&&e.removeLevel(c)}};function Js(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function fd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(fd(e)):r.concat(e),[])}var Ws=t=>{let r=[];function e(s,a){if(s instanceof Array&&console.warn(`[podlite] Unsupported param for ${s}`),s instanceof Object){for(var l in s)s.hasOwnProperty(l)&&e(l,s[l]);return[]}r.push(bn(ki(s),a))}function i(s,a={}){if(s==null)return s;if(s instanceof Array)return fd(s.map(c=>i(c,a)));if(typeof s=="string")return s;let l=r.slice();l.reverse();let f=l.findIndex(c=>c.isFor(s));if(f!==-1)return l[f].fn(s,a,i);{let c={...s};return c.hasOwnProperty("content")&&(c.content=i(c.content,a)),c}}return e(t),i.rules=r,i},qr=Ws;var cd=Ir(require("events")),vu=class extends cd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(r){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=r,this.ons=[],this.emit("ready")}escape(r){return r}write(r){return this.writeRaw(this.escape(r))}writeRaw(r){typeof this.output=="function"?this.output(r):console.log(r)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(r){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",r),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...r){return this.ons=this.ons||[],this.ons.unshift([...r]),this}endWrite=()=>{this.emit("end")};_add_nesting(r){}_remove_nesting(r){}addLevel(r){this._add_nesting(r)}removeLevel(r){this._remove_nesting(r)}},Qs=vu;var so=(t={},r=[])=>{let e=r,i=t.processor||pd,s=t.writer;return a.use=l,a.run=f,a.getPlugins=()=>e,a;function a(c){}function l(c,m){if(c instanceof Array)return so(t,[...e,...m]);if(c instanceof Object){for(var d in c)c.hasOwnProperty(d)&&l(d,c[d]);return a}return e.push(bn(ki(c),m)),a}function f(c,m){let d="",b=m||s||new Qs(Y=>{d=d+Y}),x=typeof b=="function"?new b(Y=>{d=d+Y}):b,k=typeof c=="string"?i(c):c,E=e.slice();E.reverse();let I=Zs(E.map(Y=>bn(Y.rule,Y.fn(x,i,k))).reverse()),N={};x.startWrite(k);let M=I(k,N);return x.endWrite(),{errors:x.errors,toString:()=>d,valueOf:()=>d,indexingTerms:x.INDEXTERMS,annotations:x.FOOTNOTES,defenitions:x.DEFINITIONS,interator:M}}};var dd=()=>t=>qr({"*":(e,i,s)=>(e.content&&(e.content=s(e.content,i,s)),delete e.location,e)})(t,{}),md=dd;var Ov=Ir(hd());var Td=Ir($d());var Bv=()=>t=>{let r=(i,s={})=>{if((i.type=="code"||i.type=="text")&&(i.margin&&s.margin&&s.margin.length>0&&s.margin.length==i.margin.length&&(i.type="para"),i.type==="code")){var a=new RegExp(`^[ ]{0,${i.margin.length}}`,"gm");i.text=i.text.replace(a,"")}if(i.type==="block"){s.margin=typeof i.margin!="string"?"":i.margin;let l={...s};l.nest=(l.nest||0)+1,i.content.map(f=>{r(f,s)})}};var e={};return t.forEach(i=>r(i,e)),t},bd=Bv;var Go=Ir(kd());var Vv=()=>t=>{let r=qr({":para":(e,i,s)=>qr({":text":(a,l)=>Go.parse(a.value),":verbatim":(a,l)=>Go.parse(a.value)})(e,{...i}),":block":(e,i,s)=>{if("name"in e&&e.name==="pod")return{...e,content:s(e.content,i,s)};let a=sn(e,i),l="name"in e&&e.name==="code",f="name"in e&&e.name==="data",c="name"in e&&e.name==="markdown",m="name"in e&&e.name==="picture",d="name"in e&&e.name==="formula",b=[...a.getAllValues("allow"),...l?["NONE"]:[]];if(Js(e.name)||(l||f||c||m||d)&&b.length==0)return e;let x=b.sort(),k=qr({":verbatim":(E,I)=>x.length==1&&x.includes("NONE")?E:Go.parse(E.value,{allowed:x}),":text":(E,I)=>Go.parse(E.value,{allowed:x}),":block":(E,I)=>r(E,{...I})});return{...e,content:k(e.content,{...i})}}});return r(t,{})},wd=Vv;var xd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^item(\d+)?/.exec(e.name);if(i&&(e.name="item",e.level=i[1]||1,e.content[0])){let s=e.content[0];if(s.text){let a=/^(\s*#\s*)/;a.exec(s.text)&&(s.text=s.text.replace(a,""),s.type==="para"&&(s.content=[s.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}r(e.content)}};return r(t),t};var Cd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^head(\d+)?/.exec(e.name);if(i&&(e.name="head",e.level=i[1]||1,e.content[0])){let s=e.content[0];if(s.text){let a=/(\s*#\s*)/;a.exec(s.text)&&(s.text=s.text.replace(a,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Ad=()=>t=>{let r=(a,l)=>(a.name==="item"||a.name==="defn")&&l.name===a.name&&a.level===l.level&&e(a)===e(l),e=a=>Boolean(a.config&&a.config.numbered),i=a=>{let l={};return a.reduce((c,m)=>(m.name==="defn"?r(l,m)?c[c.length-1].push(m):c.push([m]):c.push(m),l=m,c),[]).map(c=>c instanceof Array?c[0].name!=="defn"?c:{type:"list",list:c[0].name==="defn"?"variable":e(c[0])?"ordered":"itemized",level:1,content:[...c]}:(c.content&&c.type!=="fcode"&&(c.content=i(c.content)),c))};return t=(a=>Array.isArray(a)?i(a):(a.type==="block"&&a.name!=="table"&&(a.content=i(a.content)),a))(t),t};var Ed=()=>t=>{let r=(a,l)=>(a.name==="item"||a.name==="defn")&&l.name===a.name&&a.level===l.level&&e(a)===e(l),e=a=>Boolean(sn(a,{}).exists("numbered")),i=(a,l=1)=>{let f=x=>x.length>0&&x[x.length-1].type==="list",c=x=>{if(f(x))return x[x.length-1]},m=(x,k)=>k.name&&k.name==="item"&&k.type&&k.type==="block"||k.type==="blankline",d={};return a.reduce((x,k)=>k.name==="item"&&k.type==="block"&&k.level<l?[...x,k]:(k.name==="item"&&k.type==="block"&&(!f(x)||k.level===l&&c(x).list!==(e(k)?"ordered":"itemized"))&&x.push({type:"list",level:k.level,content:[],list:e(k)?"ordered":"itemized"}),f(x)&&m(c(x),k)?c(x).content.push(k):x.push(k),x),[]).map(x=>(x.content&&x.type!=="fcode"&&(x.content=i(x.content,x.level+1)),x))};return t=(a=>(Array.isArray(a)?a=i(a):a.type==="block"&&a.name!=="table"&&(a.content=i(a.content)),a))(t),t};var _d=()=>t=>qr({defn:e=>{let i=e.content,s=i.length,a=[],l=!1;for(let f=0;f<s;f++){let c=i[f];if(c.type==="para"&&!l){let m=c.content[0],b=m.value.split(`
15
- `),x=b.shift(),k={type:"para",name:"term",text:x,content:[{type:"text",value:x}]};a.push(k),b.length==1&&b[0]===""||(m.value=b.join(`
16
- `),c.text=m.value,a.push(c)),l=!0}else a.push(c)}return e.content=a,e}})(t,{});function Ko(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(Ko(e)):r.concat(e),[])}var xu=(t,r,e)=>{let i=[];for(let s=0;t.length>s;s++)i.push(e(parseInt(t[s],10),parseInt(r[s],10)));return i.join("")},Uv=(t,r)=>{let e=Math.max(...[...t,...r].map(l=>l.length));return t.map(l=>{let f=l+" ".repeat(e-l.length),c=[],m=/\s+[+|\s]\s/g,d;for(;(d=m.exec(f))!=null;){let b="1".repeat(d.index)+"0".repeat(d[0].length);c.push(b+"1".repeat(e-b.length))}return c.reduce((b,x)=>xu(b,x,(k,E)=>k&E),"1".repeat(e))}).map(l=>xu(l,"",f=>f==0?1:0)).reduce((l,f)=>xu(l,f,(c,m)=>c&m),"1".repeat(e))},Cu=(t,r)=>{let i=Ko(t.split(/\n/).filter(a=>a.length>0)).map(a=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;){if(c[0][0]==1)continue;let m=a.substring(c.index,c.index+c[0].length);f.push(m)}return f}),s=[];return s=i.reduce((a,l)=>{for(let f=0;f<l.length;f++)a[f]=(a[f]===void 0?"":a[f])+" "+l[f];return a},[]),s},Sd=()=>t=>qr({table:e=>{let i=[],s=k=>{i.push(k.value)},a=[];if(qr({"row:text":s,"head:text":s,":separator":k=>{a.push(k.text)}})(e),!i.length)return e;let l=k=>k.split(/\n/).filter(E=>E.length>0),f=Ko(i.map(l)),c=Ko(a.map(l)),m=[];qr({"row:text":k=>{m.push(k.value)}})(e);let d=Uv(f,c),b=(k,E,...I)=>({...I,name:k,type:"block",content:Array.isArray(E)?E:[E]});return qr({"row:text":k=>{if(m.length==1)return Ko([k.value].map(l)).map(N=>{let M=Cu(N,d);return b("table_row",M.map(Y=>b("table_cell",{type:"text",value:Y})))});let E=Cu(k.value,d);return b("table_row",E.map(I=>b("table_cell",{type:"text",value:I})))},"head:text":k=>{let E=Cu(k.value,d);return b("table_head",E.map(I=>b("table_cell",{type:"text",value:I})))}})(e)}})(t,{});var hC={":text":(t,r)=>(e,i,s)=>{e.value?t.write(e.value):s(e.content,i)},"A<>":(t,r)=>(e,i,s)=>{if(!(i.alias&&i.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let a=i.alias[e.content].join(`
17
- `),l=r(a),f=md()(l);f[0].type==="para"?s(f[0].content,i):s(f,i)}},"C<>":gt("<code>","</code>"),"D<>":(t,r)=>(e,i,s)=>{let a={node:e},l=[e.content[0]];a&&(l=a),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),s(e.content,i),t.writeRaw("</dfn>")},"B<>":gt("<strong>","</strong>"),"I<>":gt("<em>","</em>"),"R<>":gt("<var>","</var>"),"K<>":gt("<kbd>","</kbd>"),"L<>":Zn((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),gt(`<a href="${e}">`,"</a>")}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw('<div class="footnotes">'),e.map(i=>{t.writeRaw(`<p><sup id="${i.fnId}" class="footnote"><a href="#${i.fnRefId}">[${i.gid}]</a></sup> `),i.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,i,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let a=t.gid++,l=`fnref:${a}`,f=`fn:${a}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${a}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:a,fnRefId:l,fnId:f,make:()=>{s(e.content,i)}})}),"S<>":(t,r)=>(e,i,s)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":gt("<samp>","</samp>"),"U<>":gt("<u>","</u>"),"V<>":Rn,"X<>":(t,r)=>(e,i,s)=>{s(e.content,i);let{entry:a}=e;if(a===null&&e.content.length>0)a=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:a})},"Z<>":Dn,pod:Rn,":code":gt("<pre><code>","</code></pre>"),code:xi(gt("<pre><code>","</code></pre>")),data:Dn,":verbatim":(t,r)=>(e,i,s)=>{e.error&&t.emit("errors",e.location),s(e.value)},":blankline":Dn,":ambient":Dn,":config":Zn((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,Dn)),":alias":Zn((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,Dn)),para:xi(Rn),":para":gt("<p>","</p>"),"head:block":bu({":para":Rn},Zn((t,r)=>{let{level:e}=t,i=ld(t,r);return gt(`<h${e}${i?` id="${i}"`:""}>`,`</h${e}>`)})),":list":Zn((t,r)=>t.list==="ordered"?gt("<ol>","</ol>"):t.list==="variable"?gt("<dl>","</dl>"):gt("<ul>","</ul>")),"item:block":(t,r)=>(e,i,s)=>{e.content instanceof Array||console.error("[pod6] item:block : Error in content of "+JSON.stringify(e));let[a,...l]=e.content;t.writeRaw("<li>"),s(e.content,i),t.writeRaw("</li>")},"comment:block":Dn,defn:gt("","</dd>"),"term:para":gt("<dt>","</dt><dd>"),nested:xi(Rn,1),output:xi(gt("<pre><samp>","</samp></pre>"),1),input:xi(gt("<pre><kbd>","</kbd></pre>"),1),"table:block":xi((t,r)=>(e,i,s)=>{let a=sn(e,i);t.writeRaw("<table>"),a.exists("caption")&&(t.writeRaw("<caption>"),t.write(a.getFirstValue("caption")),t.writeRaw("</caption>")),s(e.content,i),t.writeRaw("</table>")}),":separator":Dn,table_row:gt("<tr>","</tr>"),table_cell:gt("<td>","</td>"),table_head:bu({table_cell:gt("<th>","</th>")},gt("<tr>","</tr>")),":toc":(t,r)=>(e,i,s)=>{t.writeRaw('<div className="toc">');let a=sn(e,i);if(a.exists("title")){let l=a.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}s(e.content,i),t.writeRaw("</div>")},":toc-list":Zn((t,r)=>gt(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Zn((t,r)=>gt('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,i,s)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var IC=new Fd.default({strict:!0,allowUnionTypes:!0});function gd(){var t=[];return r.use=e,r.parse=i,r.use(bd),r.use(xd),r.use(Cd),r.use(_d),r.use(Sd),r.use(wd),r.use(Ed),r.use(Ad),r;function r(){}function e(s){if(!["function"].includes(typeof s))throw s;return t.push(s),r}function i(s,a={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=a,c=Td.parse(s,{podMode:f});if(!l)for(let m=0;m<t.length;m++){let d=t[m];c=d(a)(c)}return c}}var pd=gd().parse;var{version:OC}=Pd();function Au(t){if(t)throw t}var Xd=Ir(Od(),1),Nu=Ir(Md(),1);function Wo(t){if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vd(){let t=[],r={run:e,use:i};return r;function e(...s){let a=-1,l=s.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...s);function f(c,...m){let d=t[++a],b=-1;if(c){l(c);return}for(;++b<s.length;)(m[b]===null||m[b]===void 0)&&(m[b]=s[b]);s=m,d?Wv(d,f)(...m):l(null,...m)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),r}}function Wv(t,r){let e;return i;function i(...l){let f=t.length>l.length,c;f&&l.push(s);try{c=t.apply(this,l)}catch(m){let d=m;if(f&&e)throw d;return s(d)}f||(c instanceof Promise?c.then(a,s):c instanceof Error?s(c):a(c))}function s(l,...f){e||(e=!0,r(l,...f))}function a(l){s(null,l)}}var Zd=Ir(Hd(),1);function Ei(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Gd(t.position):"start"in t||"end"in t?Gd(t):"line"in t||"column"in t?Eu(t):""}function Eu(t){return Kd(t&&t.line)+":"+Kd(t&&t.column)}function Gd(t){return Eu(t&&t.start)+"-"+Eu(t&&t.end)}function Kd(t){return t&&typeof t=="number"?t:1}var hr=class extends Error{constructor(r,e,i){let s=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(i=e,e=void 0),typeof i=="string"){let l=i.indexOf(":");l===-1?s[1]=i:(s[0]=i.slice(0,l),s[1]=i.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(a=e.position):"start"in e||"end"in e?a=e:("line"in e||"column"in e)&&(a.start=e)),this.name=Ei(e)||"1:1",this.message=typeof r=="object"?r.message:r,this.stack=typeof r=="object"?r.stack:"",this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.source=s[0],this.ruleId=s[1],this.position=a,this.actual,this.expected,this.file,this.url,this.note}};hr.prototype.file="";hr.prototype.name="";hr.prototype.reason="";hr.prototype.message="";hr.prototype.stack="";hr.prototype.fatal=null;hr.prototype.column=null;hr.prototype.line=null;hr.prototype.source=null;hr.prototype.ruleId=null;hr.prototype.position=null;var Vr=Ir(require("path"),1);var _u=Ir(require("process"),1);var Su=require("url");function Xs(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var Pu=["history","path","basename","stem","extname","dirname"],Zo=class{constructor(r){let e;r?typeof r=="string"||(0,Zd.default)(r)?e={value:r}:Xs(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=_u.default.cwd(),this.value,this.stored,this.result,this.map;let i=-1;for(;++i<Pu.length;){let a=Pu[i];a in e&&e[a]!==void 0&&(this[a]=a==="history"?[...e[a]]:e[a])}let s;for(s in e)Pu.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(r){Xs(r)&&(r=(0,Su.fileURLToPath)(r)),Tu(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?Vr.default.dirname(this.path):void 0}set dirname(r){Wd(this.basename,"dirname"),this.path=Vr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Vr.default.basename(this.path):void 0}set basename(r){Tu(r,"basename"),Fu(r,"basename"),this.path=Vr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Vr.default.extname(this.path):void 0}set extname(r){if(Fu(r,"extname"),Wd(this.dirname,"extname"),r){if(r.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Vr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Vr.default.basename(this.path,this.extname):void 0}set stem(r){Tu(r,"stem"),Fu(r,"stem"),this.path=Vr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,i){let s=new hr(r,e,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(r,e,i){let s=this.message(r,e,i);return s.fatal=null,s}fail(r,e,i){let s=this.message(r,e,i);throw s.fatal=!0,s}};function Fu(t,r){if(t&&t.includes(Vr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Vr.default.sep+"`")}function Tu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Wd(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Du=tm().freeze(),em={}.hasOwnProperty;function tm(){let t=Vd(),r=[],e={},i,s=-1;return a.data=l,a.Parser=void 0,a.Compiler=void 0,a.freeze=f,a.attachers=r,a.use=c,a.parse=m,a.stringify=d,a.run=b,a.runSync=x,a.process=k,a.processSync=E,a;function a(){let I=tm(),N=-1;for(;++N<r.length;)I.use(...r[N]);return I.data((0,Nu.default)(!0,{},e)),I}function l(I,N){return typeof I=="string"?arguments.length===2?(qu("data",i),e[I]=N,a):em.call(e,I)&&e[I]||null:I?(qu("data",i),e=I,a):e}function f(){if(i)return a;for(;++s<r.length;){let[I,...N]=r[s];if(N[0]===!1)continue;N[0]===!0&&(N[0]=void 0);let M=I.call(a,...N);typeof M=="function"&&t.use(M)}return i=!0,s=Number.POSITIVE_INFINITY,a}function c(I,...N){let M;if(qu("use",i),I!=null)if(typeof I=="function")he(I,...N);else if(typeof I=="object")Array.isArray(I)?$e(I):se(I);else throw new TypeError("Expected usable value, not `"+I+"`");return M&&(e.settings=Object.assign(e.settings||{},M)),a;function Y(ne){if(typeof ne=="function")he(ne);else if(typeof ne=="object")if(Array.isArray(ne)){let[be,...xe]=ne;he(be,...xe)}else se(ne);else throw new TypeError("Expected usable value, not `"+ne+"`")}function se(ne){$e(ne.plugins),ne.settings&&(M=Object.assign(M||{},ne.settings))}function $e(ne){let be=-1;if(ne!=null)if(Array.isArray(ne))for(;++be<ne.length;){let xe=ne[be];Y(xe)}else throw new TypeError("Expected a list of plugins, not `"+ne+"`")}function he(ne,be){let xe=-1,ke;for(;++xe<r.length;)if(r[xe][0]===ne){ke=r[xe];break}ke?(Wo(ke[1])&&Wo(be)&&(be=(0,Nu.default)(!0,ke[1],be)),ke[1]=be):r.push([...arguments])}}function m(I){a.freeze();let N=Jo(I),M=a.Parser;return Iu("parse",M),Jd(M,"parse")?new M(String(N),N).parse():M(String(N),N)}function d(I,N){a.freeze();let M=Jo(N),Y=a.Compiler;return Ou("stringify",Y),Qd(I),Jd(Y,"compile")?new Y(I,M).compile():Y(I,M)}function b(I,N,M){if(Qd(I),a.freeze(),!M&&typeof N=="function"&&(M=N,N=void 0),!M)return new Promise(Y);Y(null,M);function Y(se,$e){t.run(I,Jo(N),he);function he(ne,be,xe){be=be||I,ne?$e(ne):se?se(be):M(null,be,xe)}}}function x(I,N){let M,Y;return a.run(I,N,se),Yd("runSync","run",Y),M;function se($e,he){Au($e),M=he,Y=!0}}function k(I,N){if(a.freeze(),Iu("process",a.Parser),Ou("process",a.Compiler),!N)return new Promise(M);M(null,N);function M(Y,se){let $e=Jo(I);a.run(a.parse($e),$e,(ne,be,xe)=>{if(ne||!be||!xe)he(ne);else{let ke=a.stringify(be,xe);ke==null||(Qv(ke)?xe.value=ke:xe.result=ke),he(ne,xe)}});function he(ne,be){ne||!be?se(ne):Y?Y(be):N(null,be)}}}function E(I){let N;a.freeze(),Iu("processSync",a.Parser),Ou("processSync",a.Compiler);let M=Jo(I);return a.process(M,Y),Yd("processSync","process",N),M;function Y(se){N=!0,Au(se)}}}function Jd(t,r){return typeof t=="function"&&t.prototype&&(Zv(t.prototype)||r in t.prototype)}function Zv(t){let r;for(r in t)if(em.call(t,r))return!0;return!1}function Iu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Ou(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function qu(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Qd(t){if(!Wo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Yd(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Jo(t){return Jv(t)?t:new Zo(t)}function Jv(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Qv(t){return typeof t=="string"||(0,Xd.default)(t)}function nm(t,r){var{includeImageAlt:e=!0}=r||{};return im(t,e)}function im(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&rm(t.children,r)||Array.isArray(t)&&rm(t,r))||""}function rm(t,r){for(var e=[],i=-1;++i<t.length;)e[i]=im(t[i],r);return e.join("")}function Ft(t,r,e,i){let s=t.length,a=0,l;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,e=e>0?e:0,i.length<1e4)l=Array.from(i),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);a<i.length;)l=i.slice(a,a+1e4),l.unshift(r,0),[].splice.apply(t,l),a+=1e4,r+=1e4}function gr(t,r){return t.length>0?(Ft(t,t.length,0,r),t):r}var om={}.hasOwnProperty;function ea(t){let r={},e=-1;for(;++e<t.length;)Yv(r,t[e]);return r}function Yv(t,r){let e;for(e in r){let s=(om.call(t,e)?t[e]:void 0)||(t[e]={}),a=r[e],l;for(l in a){om.call(s,l)||(s[l]=[]);let f=a[l];Xv(s[l],Array.isArray(f)?f:f?[f]:[])}}}function Xv(t,r){let e=-1,i=[];for(;++e<r.length;)(r[e].add==="after"?t:i).push(r[e]);Ft(t,0,0,i)}var sm=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var or=Qn(/[A-Za-z]/),_i=Qn(/\d/),am=Qn(/[\dA-Fa-f]/),Bt=Qn(/[\dA-Za-z]/),lm=Qn(/[!-/:-@[-`{-~]/),Ru=Qn(/[#-'*+\--9=?A-Z^-~]/);function Jn(t){return t!==null&&(t<32||t===127)}function Xe(t){return t!==null&&(t<0||t===32)}function fe(t){return t!==null&&t<-2}function Re(t){return t===-2||t===-1||t===32}var Si=Qn(/\s/),Pi=Qn(sm);function Qn(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function we(t,r,e,i){let s=i?i-1:Number.POSITIVE_INFINITY,a=0;return l;function l(c){return Re(c)?(t.enter(e),f(c)):r(c)}function f(c){return Re(c)&&a++<s?(t.consume(c),f):(t.exit(e),r(c))}}var um={tokenize:ek};function ek(t){let r=t.attempt(this.parser.constructs.contentInitial,i,s),e;return r;function i(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),we(t,r,"linePrefix")}function s(f){return t.enter("paragraph"),a(f)}function a(f){let c=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=c),e=c,l(f)}function l(f){if(f===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(f);return}return fe(f)?(t.consume(f),t.exit("chunkText"),a):(t.consume(f),l)}}var cm={tokenize:tk},fm={tokenize:rk};function tk(t){let r=this,e=[],i=0,s,a,l;return f;function f(se){if(i<e.length){let $e=e[i];return r.containerState=$e[1],t.attempt($e[0].continuation,c,m)(se)}return m(se)}function c(se){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&Y();let $e=r.events.length,he=$e,ne;for(;he--;)if(r.events[he][0]==="exit"&&r.events[he][1].type==="chunkFlow"){ne=r.events[he][1].end;break}M(i);let be=$e;for(;be<r.events.length;)r.events[be][1].end=Object.assign({},ne),be++;return Ft(r.events,he+1,0,r.events.slice($e)),r.events.length=be,m(se)}return f(se)}function m(se){if(i===e.length){if(!s)return x(se);if(s.currentConstruct&&s.currentConstruct.concrete)return E(se);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(fm,d,b)(se)}function d(se){return s&&Y(),M(i),x(se)}function b(se){return r.parser.lazy[r.now().line]=i!==e.length,l=r.now().offset,E(se)}function x(se){return r.containerState={},t.attempt(fm,k,E)(se)}function k(se){return i++,e.push([r.currentConstruct,r.containerState]),x(se)}function E(se){if(se===null){s&&Y(),M(0),t.consume(se);return}return s=s||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:s}),I(se)}function I(se){if(se===null){N(t.exit("chunkFlow"),!0),M(0),t.consume(se);return}return fe(se)?(t.consume(se),N(t.exit("chunkFlow")),i=0,r.interrupt=void 0,f):(t.consume(se),I)}function N(se,$e){let he=r.sliceStream(se);if($e&&he.push(null),se.previous=a,a&&(a.next=se),a=se,s.defineSkip(se.start),s.write(he),r.parser.lazy[se.start.line]){let ne=s.events.length;for(;ne--;)if(s.events[ne][1].start.offset<l&&(!s.events[ne][1].end||s.events[ne][1].end.offset>l))return;let be=r.events.length,xe=be,ke,Le;for(;xe--;)if(r.events[xe][0]==="exit"&&r.events[xe][1].type==="chunkFlow"){if(ke){Le=r.events[xe][1].end;break}ke=!0}for(M(i),ne=be;ne<r.events.length;)r.events[ne][1].end=Object.assign({},Le),ne++;Ft(r.events,xe+1,0,r.events.slice(be)),r.events.length=ne}}function M(se){let $e=e.length;for(;$e-- >se;){let he=e[$e];r.containerState=he[1],he[0].exit.call(r,t)}e.length=se}function Y(){s.write([null]),a=void 0,s=void 0,r.containerState._closeFlow=void 0}}function rk(t,r,e){return we(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ao(t){if(t===null||Xe(t)||Si(t))return 1;if(Pi(t))return 2}function Yn(t,r,e){let i=[],s=-1;for(;++s<t.length;){let a=t[s].resolveAll;a&&!i.includes(a)&&(r=a(r,e),i.push(a))}return r}var Qo={name:"attention",tokenize:ik,resolveAll:nk};function nk(t,r){let e=-1,i,s,a,l,f,c,m,d;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(i=e;i--;)if(t[i][0]==="exit"&&t[i][1].type==="attentionSequence"&&t[i][1]._open&&r.sliceSerialize(t[i][1]).charCodeAt(0)===r.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[i][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[i][1].end.offset-t[i][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;c=t[i][1].end.offset-t[i][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let b=Object.assign({},t[i][1].end),x=Object.assign({},t[e][1].start);pm(b,-c),pm(x,c),l={type:c>1?"strongSequence":"emphasisSequence",start:b,end:Object.assign({},t[i][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:x},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[e][1].start)},s={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},f.end)},t[i][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),m=[],t[i][1].end.offset-t[i][1].start.offset&&(m=gr(m,[["enter",t[i][1],r],["exit",t[i][1],r]])),m=gr(m,[["enter",s,r],["enter",l,r],["exit",l,r],["enter",a,r]]),m=gr(m,Yn(r.parser.constructs.insideSpan.null,t.slice(i+1,e),r)),m=gr(m,[["exit",a,r],["enter",f,r],["exit",f,r],["exit",s,r]]),t[e][1].end.offset-t[e][1].start.offset?(d=2,m=gr(m,[["enter",t[e][1],r],["exit",t[e][1],r]])):d=0,Ft(t,i-1,e-i+3,m),e=i+m.length-d-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function ik(t,r){let e=this.parser.constructs.attentionMarkers.null,i=this.previous,s=ao(i),a;return l;function l(c){return t.enter("attentionSequence"),a=c,f(c)}function f(c){if(c===a)return t.consume(c),f;let m=t.exit("attentionSequence"),d=ao(c),b=!d||d===2&&s||e.includes(c),x=!s||s===2&&d||e.includes(i);return m._open=Boolean(a===42?b:b&&(s||!x)),m._close=Boolean(a===42?x:x&&(d||!b)),r(c)}}function pm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var Lu={name:"autolink",tokenize:ok};function ok(t,r,e){let i=1;return s;function s(E){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(E),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(E){return or(E)?(t.consume(E),l):Ru(E)?m(E):e(E)}function l(E){return E===43||E===45||E===46||Bt(E)?f(E):m(E)}function f(E){return E===58?(t.consume(E),c):(E===43||E===45||E===46||Bt(E))&&i++<32?(t.consume(E),f):m(E)}function c(E){return E===62?(t.exit("autolinkProtocol"),k(E)):E===null||E===32||E===60||Jn(E)?e(E):(t.consume(E),c)}function m(E){return E===64?(t.consume(E),i=0,d):Ru(E)?(t.consume(E),m):e(E)}function d(E){return Bt(E)?b(E):e(E)}function b(E){return E===46?(t.consume(E),i=0,d):E===62?(t.exit("autolinkProtocol").type="autolinkEmail",k(E)):x(E)}function x(E){return(E===45||Bt(E))&&i++<63?(t.consume(E),E===45?x:b):e(E)}function k(E){return t.enter("autolinkMarker"),t.consume(E),t.exit("autolinkMarker"),t.exit("autolink"),r}}var vn={tokenize:sk,partial:!0};function sk(t,r,e){return we(t,i,"linePrefix");function i(s){return s===null||fe(s)?r(s):e(s)}}var ta={name:"blockQuote",tokenize:ak,continuation:{tokenize:lk},exit:uk};function ak(t,r,e){let i=this;return s;function s(l){if(l===62){let f=i.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),a}return e(l)}function a(l){return Re(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function lk(t,r,e){return we(t,t.attempt(ta,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function uk(t){t.exit("blockQuote")}var ra={name:"characterEscape",tokenize:fk};function fk(t,r,e){return i;function i(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),s}function s(a){return lm(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(a)}}var ju={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:`
18
- `,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 ck={}.hasOwnProperty;function lo(t){return ck.call(ju,t)?ju[t]:!1}var na={name:"characterReference",tokenize:pk};function pk(t,r,e){let i=this,s=0,a,l;return f;function f(b){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(b),t.exit("characterReferenceMarker"),c}function c(b){return b===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(b),t.exit("characterReferenceMarkerNumeric"),m):(t.enter("characterReferenceValue"),a=31,l=Bt,d(b))}function m(b){return b===88||b===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(b),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,l=am,d):(t.enter("characterReferenceValue"),a=7,l=_i,d(b))}function d(b){let x;return b===59&&s?(x=t.exit("characterReferenceValue"),l===Bt&&!lo(i.sliceSerialize(x))?e(b):(t.enter("characterReferenceMarker"),t.consume(b),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l(b)&&s++<a?(t.consume(b),d):e(b)}}var ia={name:"codeFenced",tokenize:dk,concrete:!0};function dk(t,r,e){let i=this,s={tokenize:he,partial:!0},a={tokenize:$e,partial:!0},l=this.events[this.events.length-1],f=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,c=0,m;return d;function d(ne){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),m=ne,b(ne)}function b(ne){return ne===m?(t.consume(ne),c++,b):(t.exit("codeFencedFenceSequence"),c<3?e(ne):we(t,x,"whitespace")(ne))}function x(ne){return ne===null||fe(ne)?N(ne):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),k(ne))}function k(ne){return ne===null||Xe(ne)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),we(t,E,"whitespace")(ne)):ne===96&&ne===m?e(ne):(t.consume(ne),k)}function E(ne){return ne===null||fe(ne)?N(ne):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),I(ne))}function I(ne){return ne===null||fe(ne)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),N(ne)):ne===96&&ne===m?e(ne):(t.consume(ne),I)}function N(ne){return t.exit("codeFencedFence"),i.interrupt?r(ne):M(ne)}function M(ne){return ne===null?se(ne):fe(ne)?t.attempt(a,t.attempt(s,se,f?we(t,M,"linePrefix",f+1):M),se)(ne):(t.enter("codeFlowValue"),Y(ne))}function Y(ne){return ne===null||fe(ne)?(t.exit("codeFlowValue"),M(ne)):(t.consume(ne),Y)}function se(ne){return t.exit("codeFenced"),r(ne)}function $e(ne,be,xe){let ke=this;return Le;function Le(_e){return ne.enter("lineEnding"),ne.consume(_e),ne.exit("lineEnding"),Ee}function Ee(_e){return ke.parser.lazy[ke.now().line]?xe(_e):be(_e)}}function he(ne,be,xe){let ke=0;return we(ne,Le,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Le(de){return ne.enter("codeFencedFence"),ne.enter("codeFencedFenceSequence"),Ee(de)}function Ee(de){return de===m?(ne.consume(de),ke++,Ee):ke<c?xe(de):(ne.exit("codeFencedFenceSequence"),we(ne,_e,"whitespace")(de))}function _e(de){return de===null||fe(de)?(ne.exit("codeFencedFence"),be(de)):xe(de)}}}var Yo={name:"codeIndented",tokenize:hk},mk={tokenize:gk,partial:!0};function hk(t,r,e){let i=this;return s;function s(m){return t.enter("codeIndented"),we(t,a,"linePrefix",4+1)(m)}function a(m){let d=i.events[i.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(m):e(m)}function l(m){return m===null?c(m):fe(m)?t.attempt(mk,l,c)(m):(t.enter("codeFlowValue"),f(m))}function f(m){return m===null||fe(m)?(t.exit("codeFlowValue"),l(m)):(t.consume(m),f)}function c(m){return t.exit("codeIndented"),r(m)}}function gk(t,r,e){let i=this;return s;function s(l){return i.parser.lazy[i.now().line]?e(l):fe(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s):we(t,a,"linePrefix",4+1)(l)}function a(l){let f=i.events[i.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):fe(l)?s(l):e(l)}}var Bu={name:"codeText",tokenize:bk,resolve:yk,previous:$k};function yk(t){let r=t.length-4,e=3,i,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(i=e;++i<r;)if(t[i][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(i=e-1,r++;++i<=r;)s===void 0?i!==r&&t[i][1].type!=="lineEnding"&&(s=i):(i===r||t[i][1].type==="lineEnding")&&(t[s][1].type="codeTextData",i!==s+2&&(t[s][1].end=t[i-1][1].end,t.splice(s+2,i-s-2),r-=i-s-2,i=s+2),s=void 0);return t}function $k(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function bk(t,r,e){let i=this,s=0,a,l;return f;function f(x){return t.enter("codeText"),t.enter("codeTextSequence"),c(x)}function c(x){return x===96?(t.consume(x),s++,c):(t.exit("codeTextSequence"),m(x))}function m(x){return x===null?e(x):x===96?(l=t.enter("codeTextSequence"),a=0,b(x)):x===32?(t.enter("space"),t.consume(x),t.exit("space"),m):fe(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),m):(t.enter("codeTextData"),d(x))}function d(x){return x===null||x===32||x===96||fe(x)?(t.exit("codeTextData"),m(x)):(t.consume(x),d)}function b(x){return x===96?(t.consume(x),a++,b):a===s?(t.exit("codeTextSequence"),t.exit("codeText"),r(x)):(l.type="codeTextData",d(x))}}function oa(t){let r={},e=-1,i,s,a,l,f,c,m;for(;++e<t.length;){for(;e in r;)e=r[e];if(i=t[e],e&&i[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(c=i[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(i[0]==="enter")i[1].contentType&&(Object.assign(r,vk(t,e)),e=r[e],m=!0);else if(i[1]._container){for(a=e,s=void 0;a--&&(l=t[a],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(s&&(t[s][1].type="lineEndingBlank"),l[1].type="lineEnding",s=a);s&&(i[1].end=Object.assign({},t[s][1].start),f=t.slice(s,e),f.unshift(i),Ft(t,s,e-s+1,f))}}return!m}function vk(t,r){let e=t[r][1],i=t[r][2],s=r-1,a=[],l=e._tokenizer||i.parser[e.contentType](e.start),f=l.events,c=[],m={},d,b,x=-1,k=e,E=0,I=0,N=[I];for(;k;){for(;t[++s][1]!==k;);a.push(s),k._tokenizer||(d=i.sliceStream(k),k.next||d.push(null),b&&l.defineSkip(k.start),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(d),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),b=k,k=k.next}for(k=e;++x<f.length;)f[x][0]==="exit"&&f[x-1][0]==="enter"&&f[x][1].type===f[x-1][1].type&&f[x][1].start.line!==f[x][1].end.line&&(I=x+1,N.push(I),k._tokenizer=void 0,k.previous=void 0,k=k.next);for(l.events=[],k?(k._tokenizer=void 0,k.previous=void 0):N.pop(),x=N.length;x--;){let M=f.slice(N[x],N[x+1]),Y=a.pop();c.unshift([Y,Y+M.length-1]),Ft(t,Y,2,M)}for(x=-1;++x<c.length;)m[E+c[x][0]]=E+c[x][1],E+=c[x][1]-c[x][0]-1;return m}var zu={tokenize:xk,resolve:wk},kk={tokenize:Ck,partial:!0};function wk(t){return oa(t),t}function xk(t,r){let e;return i;function i(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?a(f):fe(f)?t.check(kk,l,a)(f):(t.consume(f),s)}function a(f){return t.exit("chunkContent"),t.exit("content"),r(f)}function l(f){return t.consume(f),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,s}}function Ck(t,r,e){let i=this;return s;function s(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),we(t,a,"linePrefix")}function a(l){if(l===null||fe(l))return e(l);let f=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):t.interrupt(i.parser.constructs.flow,e,r)(l)}}function sa(t,r,e,i,s,a,l,f,c){let m=c||Number.POSITIVE_INFINITY,d=0;return b;function b(M){return M===60?(t.enter(i),t.enter(s),t.enter(a),t.consume(M),t.exit(a),x):M===null||M===41||Jn(M)?e(M):(t.enter(i),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),I(M))}function x(M){return M===62?(t.enter(a),t.consume(M),t.exit(a),t.exit(s),t.exit(i),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),k(M))}function k(M){return M===62?(t.exit("chunkString"),t.exit(f),x(M)):M===null||M===60||fe(M)?e(M):(t.consume(M),M===92?E:k)}function E(M){return M===60||M===62||M===92?(t.consume(M),k):k(M)}function I(M){return M===40?++d>m?e(M):(t.consume(M),I):M===41?d--?(t.consume(M),I):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(i),r(M)):M===null||Xe(M)?d?e(M):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(i),r(M)):Jn(M)?e(M):(t.consume(M),M===92?N:I)}function N(M){return M===40||M===41||M===92?(t.consume(M),I):I(M)}}function aa(t,r,e,i,s,a){let l=this,f=0,c;return m;function m(k){return t.enter(i),t.enter(s),t.consume(k),t.exit(s),t.enter(a),d}function d(k){return k===null||k===91||k===93&&!c||k===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(k):k===93?(t.exit(a),t.enter(s),t.consume(k),t.exit(s),t.exit(i),r):fe(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),b(k))}function b(k){return k===null||k===91||k===93||fe(k)||f++>999?(t.exit("chunkString"),d(k)):(t.consume(k),c=c||!Re(k),k===92?x:b)}function x(k){return k===91||k===92||k===93?(t.consume(k),f++,b):b(k)}}function la(t,r,e,i,s,a){let l;return f;function f(x){return t.enter(i),t.enter(s),t.consume(x),t.exit(s),l=x===40?41:x,c}function c(x){return x===l?(t.enter(s),t.consume(x),t.exit(s),t.exit(i),r):(t.enter(a),m(x))}function m(x){return x===l?(t.exit(a),c(l)):x===null?e(x):fe(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),we(t,m,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===l||x===null||fe(x)?(t.exit("chunkString"),m(x)):(t.consume(x),x===92?b:d)}function b(x){return x===l||x===92?(t.consume(x),d):d(x)}}function Fi(t,r){let e;return i;function i(s){return fe(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e=!0,i):Re(s)?we(t,i,e?"linePrefix":"lineSuffix")(s):r(s)}}function sr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Mu={name:"definition",tokenize:Ek},Ak={tokenize:_k,partial:!0};function Ek(t,r,e){let i=this,s;return a;function a(c){return t.enter("definition"),aa.call(i,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return s=sr(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),Fi(t,sa(t,t.attempt(Ak,we(t,f,"whitespace"),we(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||fe(c)?(t.exit("definition"),i.parser.defined.includes(s)||i.parser.defined.push(s),r(c)):e(c)}}function _k(t,r,e){return i;function i(l){return Xe(l)?Fi(t,s)(l):e(l)}function s(l){return l===34||l===39||l===40?la(t,we(t,a,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function a(l){return l===null||fe(l)?r(l):e(l)}}var Vu={name:"hardBreakEscape",tokenize:Sk};function Sk(t,r,e){return i;function i(a){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(a),s}function s(a){return fe(a)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(a)):e(a)}}var Uu={name:"headingAtx",tokenize:Fk,resolve:Pk};function Pk(t,r){let e=t.length-2,i=3,s,a;return t[i][1].type==="whitespace"&&(i+=2),e-2>i&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(i===e-1||e-4>i&&t[e-2][1].type==="whitespace")&&(e-=i+1===e?2:4),e>i&&(s={type:"atxHeadingText",start:t[i][1].start,end:t[e][1].end},a={type:"chunkText",start:t[i][1].start,end:t[e][1].end,contentType:"text"},Ft(t,i,e-i+1,[["enter",s,r],["enter",a,r],["exit",a,r],["exit",s,r]])),t}function Fk(t,r,e){let i=this,s=0;return a;function a(d){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&s++<6?(t.consume(d),l):d===null||Xe(d)?(t.exit("atxHeadingSequence"),i.interrupt?r(d):f(d)):e(d)}function f(d){return d===35?(t.enter("atxHeadingSequence"),c(d)):d===null||fe(d)?(t.exit("atxHeading"),r(d)):Re(d)?we(t,f,"whitespace")(d):(t.enter("atxHeadingText"),m(d))}function c(d){return d===35?(t.consume(d),c):(t.exit("atxHeadingSequence"),f(d))}function m(d){return d===null||d===35||Xe(d)?(t.exit("atxHeadingText"),f(d)):(t.consume(d),m)}}var dm=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Hu=["pre","script","style","textarea"];var Gu={name:"htmlFlow",tokenize:Ok,resolveTo:Ik,concrete:!0},Tk={tokenize:qk,partial:!0};function Ik(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function Ok(t,r,e){let i=this,s,a,l,f,c;return m;function m(V){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(V),d}function d(V){return V===33?(t.consume(V),b):V===47?(t.consume(V),E):V===63?(t.consume(V),s=3,i.interrupt?r:yt):or(V)?(t.consume(V),l=String.fromCharCode(V),a=!0,I):e(V)}function b(V){return V===45?(t.consume(V),s=2,x):V===91?(t.consume(V),s=5,l="CDATA[",f=0,k):or(V)?(t.consume(V),s=4,i.interrupt?r:yt):e(V)}function x(V){return V===45?(t.consume(V),i.interrupt?r:yt):e(V)}function k(V){return V===l.charCodeAt(f++)?(t.consume(V),f===l.length?i.interrupt?r:Ee:k):e(V)}function E(V){return or(V)?(t.consume(V),l=String.fromCharCode(V),I):e(V)}function I(V){return V===null||V===47||V===62||Xe(V)?V!==47&&a&&Hu.includes(l.toLowerCase())?(s=1,i.interrupt?r(V):Ee(V)):dm.includes(l.toLowerCase())?(s=6,V===47?(t.consume(V),N):i.interrupt?r(V):Ee(V)):(s=7,i.interrupt&&!i.parser.lazy[i.now().line]?e(V):a?Y(V):M(V)):V===45||Bt(V)?(t.consume(V),l+=String.fromCharCode(V),I):e(V)}function N(V){return V===62?(t.consume(V),i.interrupt?r:Ee):e(V)}function M(V){return Re(V)?(t.consume(V),M):ke(V)}function Y(V){return V===47?(t.consume(V),ke):V===58||V===95||or(V)?(t.consume(V),se):Re(V)?(t.consume(V),Y):ke(V)}function se(V){return V===45||V===46||V===58||V===95||Bt(V)?(t.consume(V),se):$e(V)}function $e(V){return V===61?(t.consume(V),he):Re(V)?(t.consume(V),$e):Y(V)}function he(V){return V===null||V===60||V===61||V===62||V===96?e(V):V===34||V===39?(t.consume(V),c=V,ne):Re(V)?(t.consume(V),he):(c=null,be(V))}function ne(V){return V===null||fe(V)?e(V):V===c?(t.consume(V),xe):(t.consume(V),ne)}function be(V){return V===null||V===34||V===39||V===60||V===61||V===62||V===96||Xe(V)?$e(V):(t.consume(V),be)}function xe(V){return V===47||V===62||Re(V)?Y(V):e(V)}function ke(V){return V===62?(t.consume(V),Le):e(V)}function Le(V){return Re(V)?(t.consume(V),Le):V===null||fe(V)?Ee(V):e(V)}function Ee(V){return V===45&&s===2?(t.consume(V),it):V===60&&s===1?(t.consume(V),X):V===62&&s===4?(t.consume(V),et):V===63&&s===3?(t.consume(V),yt):V===93&&s===5?(t.consume(V),We):fe(V)&&(s===6||s===7)?t.check(Tk,et,_e)(V):V===null||fe(V)?_e(V):(t.consume(V),Ee)}function _e(V){return t.exit("htmlFlowData"),de(V)}function de(V){return V===null?B(V):fe(V)?t.attempt({tokenize:Ce,partial:!0},de,B)(V):(t.enter("htmlFlowData"),Ee(V))}function Ce(V,Zt,Dt){return bt;function bt(Ct){return V.enter("lineEnding"),V.consume(Ct),V.exit("lineEnding"),_t}function _t(Ct){return i.parser.lazy[i.now().line]?Dt(Ct):Zt(Ct)}}function it(V){return V===45?(t.consume(V),yt):Ee(V)}function X(V){return V===47?(t.consume(V),l="",xt):Ee(V)}function xt(V){return V===62&&Hu.includes(l.toLowerCase())?(t.consume(V),et):or(V)&&l.length<8?(t.consume(V),l+=String.fromCharCode(V),xt):Ee(V)}function We(V){return V===93?(t.consume(V),yt):Ee(V)}function yt(V){return V===62?(t.consume(V),et):V===45&&s===2?(t.consume(V),yt):Ee(V)}function et(V){return V===null||fe(V)?(t.exit("htmlFlowData"),B(V)):(t.consume(V),et)}function B(V){return t.exit("htmlFlow"),r(V)}}function qk(t,r,e){return i;function i(s){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),t.attempt(vn,r,e)}}var Ku={name:"htmlText",tokenize:Nk};function Nk(t,r,e){let i=this,s,a,l,f;return c;function c(B){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(B),m}function m(B){return B===33?(t.consume(B),d):B===47?(t.consume(B),be):B===63?(t.consume(B),he):or(B)?(t.consume(B),Le):e(B)}function d(B){return B===45?(t.consume(B),b):B===91?(t.consume(B),a="CDATA[",l=0,N):or(B)?(t.consume(B),$e):e(B)}function b(B){return B===45?(t.consume(B),x):e(B)}function x(B){return B===null||B===62?e(B):B===45?(t.consume(B),k):E(B)}function k(B){return B===null||B===62?e(B):E(B)}function E(B){return B===null?e(B):B===45?(t.consume(B),I):fe(B)?(f=E,We(B)):(t.consume(B),E)}function I(B){return B===45?(t.consume(B),et):E(B)}function N(B){return B===a.charCodeAt(l++)?(t.consume(B),l===a.length?M:N):e(B)}function M(B){return B===null?e(B):B===93?(t.consume(B),Y):fe(B)?(f=M,We(B)):(t.consume(B),M)}function Y(B){return B===93?(t.consume(B),se):M(B)}function se(B){return B===62?et(B):B===93?(t.consume(B),se):M(B)}function $e(B){return B===null||B===62?et(B):fe(B)?(f=$e,We(B)):(t.consume(B),$e)}function he(B){return B===null?e(B):B===63?(t.consume(B),ne):fe(B)?(f=he,We(B)):(t.consume(B),he)}function ne(B){return B===62?et(B):he(B)}function be(B){return or(B)?(t.consume(B),xe):e(B)}function xe(B){return B===45||Bt(B)?(t.consume(B),xe):ke(B)}function ke(B){return fe(B)?(f=ke,We(B)):Re(B)?(t.consume(B),ke):et(B)}function Le(B){return B===45||Bt(B)?(t.consume(B),Le):B===47||B===62||Xe(B)?Ee(B):e(B)}function Ee(B){return B===47?(t.consume(B),et):B===58||B===95||or(B)?(t.consume(B),_e):fe(B)?(f=Ee,We(B)):Re(B)?(t.consume(B),Ee):et(B)}function _e(B){return B===45||B===46||B===58||B===95||Bt(B)?(t.consume(B),_e):de(B)}function de(B){return B===61?(t.consume(B),Ce):fe(B)?(f=de,We(B)):Re(B)?(t.consume(B),de):Ee(B)}function Ce(B){return B===null||B===60||B===61||B===62||B===96?e(B):B===34||B===39?(t.consume(B),s=B,it):fe(B)?(f=Ce,We(B)):Re(B)?(t.consume(B),Ce):(t.consume(B),s=void 0,xt)}function it(B){return B===s?(t.consume(B),X):B===null?e(B):fe(B)?(f=it,We(B)):(t.consume(B),it)}function X(B){return B===62||B===47||Xe(B)?Ee(B):e(B)}function xt(B){return B===null||B===34||B===39||B===60||B===61||B===96?e(B):B===62||Xe(B)?Ee(B):(t.consume(B),xt)}function We(B){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(B),t.exit("lineEnding"),we(t,yt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yt(B){return t.enter("htmlTextData"),f(B)}function et(B){return B===62?(t.consume(B),t.exit("htmlTextData"),t.exit("htmlText"),r):e(B)}}var Ti={name:"labelEnd",tokenize:zk,resolveTo:Bk,resolveAll:jk},Dk={tokenize:Mk},Rk={tokenize:Vk},Lk={tokenize:Uk};function jk(t){let r=-1,e;for(;++r<t.length;)e=t[r][1],(e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd")&&(t.splice(r+1,e.type==="labelImage"?4:2),e.type="data",r++);return t}function Bk(t,r){let e=t.length,i=0,s,a,l,f;for(;e--;)if(s=t[e][1],a){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;t[e][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(l){if(t[e][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(a=e,s.type!=="labelLink")){i=2;break}}else s.type==="labelEnd"&&(l=e);let c={type:t[a][1].type==="labelLink"?"link":"image",start:Object.assign({},t[a][1].start),end:Object.assign({},t[t.length-1][1].end)},m={type:"label",start:Object.assign({},t[a][1].start),end:Object.assign({},t[l][1].end)},d={type:"labelText",start:Object.assign({},t[a+i+2][1].end),end:Object.assign({},t[l-2][1].start)};return f=[["enter",c,r],["enter",m,r]],f=gr(f,t.slice(a+1,a+i+3)),f=gr(f,[["enter",d,r]]),f=gr(f,Yn(r.parser.constructs.insideSpan.null,t.slice(a+i+4,l-3),r)),f=gr(f,[["exit",d,r],t[l-2],t[l-1],["exit",m,r]]),f=gr(f,t.slice(l+1)),f=gr(f,[["exit",c,r]]),Ft(t,a,t.length,f),t}function zk(t,r,e){let i=this,s=i.events.length,a,l;for(;s--;)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){a=i.events[s][1];break}return f;function f(d){return a?a._inactive?m(d):(l=i.parser.defined.includes(sr(i.sliceSerialize({start:a.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),c):e(d)}function c(d){return d===40?t.attempt(Dk,r,l?r:m)(d):d===91?t.attempt(Rk,r,l?t.attempt(Lk,r,m):m)(d):l?r(d):m(d)}function m(d){return a._balanced=!0,e(d)}}function Mk(t,r,e){return i;function i(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),Fi(t,s)}function s(c){return c===41?f(c):sa(t,a,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function a(c){return Xe(c)?Fi(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?la(t,Fi(t,f),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function f(c){return c===41?(t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),t.exit("resource"),r):e(c)}}function Vk(t,r,e){let i=this;return s;function s(l){return aa.call(i,t,a,e,"reference","referenceMarker","referenceString")(l)}function a(l){return i.parser.defined.includes(sr(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function Uk(t,r,e){return i;function i(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),s}function s(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),r):e(a)}}var Wu={name:"labelStartImage",tokenize:Hk,resolveAll:Ti.resolveAll};function Hk(t,r,e){let i=this;return s;function s(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),a}function a(f){return f===91?(t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelImage"),l):e(f)}function l(f){return f===94&&"_hiddenFootnoteSupport"in i.parser.constructs?e(f):r(f)}}var Zu={name:"labelStartLink",tokenize:Gk,resolveAll:Ti.resolveAll};function Gk(t,r,e){let i=this;return s;function s(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?e(l):r(l)}}var Xo={name:"lineEnding",tokenize:Kk};function Kk(t,r){return e;function e(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),we(t,r,"linePrefix")}}var Ii={name:"thematicBreak",tokenize:Wk};function Wk(t,r,e){let i=0,s;return a;function a(c){return t.enter("thematicBreak"),s=c,l(c)}function l(c){return c===s?(t.enter("thematicBreakSequence"),f(c)):Re(c)?we(t,l,"whitespace")(c):i<3||c!==null&&!fe(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===s?(t.consume(c),i++,f):(t.exit("thematicBreakSequence"),l(c))}}var ar={name:"list",tokenize:Qk,continuation:{tokenize:Yk},exit:ew},Zk={tokenize:tw,partial:!0},Jk={tokenize:Xk,partial:!0};function Qk(t,r,e){let i=this,s=i.events[i.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(k){let E=i.containerState.type||(k===42||k===43||k===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!i.containerState.marker||k===i.containerState.marker:_i(k)){if(i.containerState.type||(i.containerState.type=E,t.enter(E,{_container:!0})),E==="listUnordered")return t.enter("listItemPrefix"),k===42||k===45?t.check(Ii,e,m)(k):m(k);if(!i.interrupt||k===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(k)}return e(k)}function c(k){return _i(k)&&++l<10?(t.consume(k),c):(!i.interrupt||l<2)&&(i.containerState.marker?k===i.containerState.marker:k===41||k===46)?(t.exit("listItemValue"),m(k)):e(k)}function m(k){return t.enter("listItemMarker"),t.consume(k),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||k,t.check(vn,i.interrupt?e:d,t.attempt(Zk,x,b))}function d(k){return i.containerState.initialBlankLine=!0,a++,x(k)}function b(k){return Re(k)?(t.enter("listItemPrefixWhitespace"),t.consume(k),t.exit("listItemPrefixWhitespace"),x):e(k)}function x(k){return i.containerState.size=a+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(k)}}function Yk(t,r,e){let i=this;return i.containerState._closeFlow=void 0,t.check(vn,s,a);function s(f){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,we(t,r,"listItemIndent",i.containerState.size+1)(f)}function a(f){return i.containerState.furtherBlankLines||!Re(f)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(f)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(Jk,r,l)(f))}function l(f){return i.containerState._closeFlow=!0,i.interrupt=void 0,we(t,t.attempt(ar,r,e),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function Xk(t,r,e){let i=this;return we(t,s,"listItemIndent",i.containerState.size+1);function s(a){let l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?r(a):e(a)}}function ew(t){t.exit(this.containerState.type)}function tw(t,r,e){let i=this;return we(t,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(a){let l=i.events[i.events.length-1];return!Re(a)&&l&&l[1].type==="listItemPrefixWhitespace"?r(a):e(a)}}var ua={name:"setextUnderline",tokenize:nw,resolveTo:rw};function rw(t,r){let e=t.length,i,s,a;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){i=e;break}t[e][1].type==="paragraph"&&(s=e)}else t[e][1].type==="content"&&t.splice(e,1),!a&&t[e][1].type==="definition"&&(a=e);let l={type:"setextHeading",start:Object.assign({},t[s][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[s][1].type="setextHeadingText",a?(t.splice(s,0,["enter",l,r]),t.splice(a+1,0,["exit",t[i][1],r]),t[i][1].end=Object.assign({},t[a][1].end)):t[i][1]=l,t.push(["exit",l,r]),t}function nw(t,r,e){let i=this,s=i.events.length,a,l;for(;s--;)if(i.events[s][1].type!=="lineEnding"&&i.events[s][1].type!=="linePrefix"&&i.events[s][1].type!=="content"){l=i.events[s][1].type==="paragraph";break}return f;function f(d){return!i.parser.lazy[i.now().line]&&(i.interrupt||l)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),a=d,c(d)):e(d)}function c(d){return d===a?(t.consume(d),c):(t.exit("setextHeadingLineSequence"),we(t,m,"lineSuffix")(d))}function m(d){return d===null||fe(d)?(t.exit("setextHeadingLine"),r(d)):e(d)}}var mm={tokenize:iw};function iw(t){let r=this,e=t.attempt(vn,i,t.attempt(this.parser.constructs.flowInitial,s,we(t,t.attempt(this.parser.constructs.flow,s,t.attempt(zu,s)),"linePrefix")));return e;function i(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function s(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var hm={resolveAll:bm()},gm=$m("string"),ym=$m("text");function $m(t){return{tokenize:r,resolveAll:bm(t==="text"?ow:void 0)};function r(e){let i=this,s=this.parser.constructs[t],a=e.attempt(s,l,f);return l;function l(d){return m(d)?a(d):f(d)}function f(d){if(d===null){e.consume(d);return}return e.enter("data"),e.consume(d),c}function c(d){return m(d)?(e.exit("data"),a(d)):(e.consume(d),c)}function m(d){if(d===null)return!0;let b=s[d],x=-1;if(b)for(;++x<b.length;){let k=b[x];if(!k.previous||k.previous.call(i,i.previous))return!0}return!1}}}function bm(t){return r;function r(e,i){let s=-1,a;for(;++s<=e.length;)a===void 0?e[s]&&e[s][1].type==="data"&&(a=s,s++):(!e[s]||e[s][1].type!=="data")&&(s!==a+2&&(e[a][1].end=e[s-1][1].end,e.splice(a+2,s-a-2),s=a+2),a=void 0);return t?t(e,i):e}}function ow(t,r){let e=0;for(;++e<=t.length;)if((e===t.length||t[e][1].type==="lineEnding")&&t[e-1][1].type==="data"){let i=t[e-1][1],s=r.sliceStream(i),a=s.length,l=-1,f=0,c;for(;a--;){let m=s[a];if(typeof m=="string"){for(l=m.length;m.charCodeAt(l-1)===32;)f++,l--;if(l)break;l=-1}else if(m===-2)c=!0,f++;else if(m!==-1){a++;break}}if(f){let m={type:e===t.length||c||f<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-f,offset:i.end.offset-f,_index:i.start._index+a,_bufferIndex:a?l:i.start._bufferIndex+l},end:Object.assign({},i.end)};i.end=Object.assign({},m.start),i.start.offset===i.end.offset?Object.assign(i,m):(t.splice(e,0,["enter",m,r],["exit",m,r]),e+=2)}e++}return t}function vm(t,r,e){let i=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),s={},a=[],l=[],f=[],c=!0,m={consume:$e,enter:he,exit:ne,attempt:ke(be),check:ke(xe),interrupt:ke(xe,{interrupt:!0})},d={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:I,sliceSerialize:E,now:N,defineSkip:M,write:k},b=r.tokenize.call(d,m),x;return r.resolveAll&&a.push(r),d;function k(de){return l=gr(l,de),Y(),l[l.length-1]!==null?[]:(Le(r,0),d.events=Yn(a,d.events,d),d.events)}function E(de,Ce){return aw(I(de),Ce)}function I(de){return sw(l,de)}function N(){return Object.assign({},i)}function M(de){s[de.line]=de.column,_e()}function Y(){let de;for(;i._index<l.length;){let Ce=l[i._index];if(typeof Ce=="string")for(de=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===de&&i._bufferIndex<Ce.length;)se(Ce.charCodeAt(i._bufferIndex));else se(Ce)}}function se(de){c=void 0,x=de,b=b(de)}function $e(de){fe(de)?(i.line++,i.column=1,i.offset+=de===-3?2:1,_e()):de!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===l[i._index].length&&(i._bufferIndex=-1,i._index++)),d.previous=de,c=!0}function he(de,Ce){let it=Ce||{};return it.type=de,it.start=N(),d.events.push(["enter",it,d]),f.push(it),it}function ne(de){let Ce=f.pop();return Ce.end=N(),d.events.push(["exit",Ce,d]),Ce}function be(de,Ce){Le(de,Ce.from)}function xe(de,Ce){Ce.restore()}function ke(de,Ce){return it;function it(X,xt,We){let yt,et,B,V;return Array.isArray(X)?Dt(X):"tokenize"in X?Dt([X]):Zt(X);function Zt(ot){return Er;function Er(ye){let yr=ye!==null&&ot[ye],zt=ye!==null&&ot.null,_r=[...Array.isArray(yr)?yr:yr?[yr]:[],...Array.isArray(zt)?zt:zt?[zt]:[]];return Dt(_r)(ye)}}function Dt(ot){return yt=ot,et=0,ot.length===0?We:bt(ot[et])}function bt(ot){return Er;function Er(ye){return V=Ee(),B=ot,ot.partial||(d.currentConstruct=ot),ot.name&&d.parser.constructs.disable.null.includes(ot.name)?Ct(ye):ot.tokenize.call(Ce?Object.assign(Object.create(d),Ce):d,m,_t,Ct)(ye)}}function _t(ot){return c=!0,de(B,V),xt}function Ct(ot){return c=!0,V.restore(),++et<yt.length?bt(yt[et]):We}}}function Le(de,Ce){de.resolveAll&&!a.includes(de)&&a.push(de),de.resolve&&Ft(d.events,Ce,d.events.length-Ce,de.resolve(d.events.slice(Ce),d)),de.resolveTo&&(d.events=de.resolveTo(d.events,d))}function Ee(){let de=N(),Ce=d.previous,it=d.currentConstruct,X=d.events.length,xt=Array.from(f);return{restore:We,from:X};function We(){i=de,d.previous=Ce,d.currentConstruct=it,d.events.length=X,f=xt,_e()}}function _e(){i.line in s&&i.column<2&&(i.column=s[i.line],i.offset+=s[i.line]-1)}}function sw(t,r){let e=r.start._index,i=r.start._bufferIndex,s=r.end._index,a=r.end._bufferIndex,l;return e===s?l=[t[e].slice(i,a)]:(l=t.slice(e,s),i>-1&&(l[0]=l[0].slice(i)),a>0&&l.push(t[s].slice(0,a))),l}function aw(t,r){let e=-1,i=[],s;for(;++e<t.length;){let a=t[e],l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
12
+ `,!1),he="\r",ne=W("\r",!1),be=function(){return{type:"blankline"}},xe="=begin ",ke=W("=begin ",!1),Le="=end ",Ee=W("=end ",!1),_e="=for ",de=W("=for ",!1),Ce="=config",ot=W("=config",!1),Y="=alias",Ct=W("=alias",!1),Ze=function(u){return Ch(u)},yt=function(u){return u},tt="=",M=W("=",!1),V=ps("text"),Jt=function(){return S()},Rt=function(){return{type:"para",value:S(),error:!0,location:q()}},bt=function(u,p){return Vi([u,p])},St=function(u){return[u]},At=",",st=W(",",!1),Fr=function(u,p){return Vi([u,p])},ye=/^[a-zA-Z0-9]/,wr=L([["a","z"],["A","Z"],["0","9"]],!1,!1),zt=/^[a-zA-Z0-9_\-]/,Ir=L([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Vt="=>",ei=W("=>",!1),Mn=function(u,p){return{[u]:p}},En=function(u,p){return{...u,...p}},Ge=function(u){return u},Ke=":",at=W(":",!1),We="allow",Or=W("allow",!1),ze="<",Ve=W("<",!1),ct=">",pt=W(">",!1),Ut=function(u,p){return{value:p,type:"array"}},re=function(u,p){return{name:"allow",...p}},ae=function(u){return u},we=function(u){return u},Ie=function(u){return[u]},Dt=function(){return[]},Zr=/^[!]/,rt=L(["!"],!1,!1),wt="{",Pt=W("{",!1),Jr="}",dt=W("}",!1),_n=function(u,p,g){return{value:g}},It="[",cn=W("[",!1),co=function(u,p,g){return g},Br="]",zn=W("]",!1),ti=function(u,p){return[S()]},po=function(u,p,g){return{value:g,type:"array"}},ri=function(u,p,g){return{value:g,type:"array"}},qi=function(u,p,g){return{value:g,type:"string"}},ni="(",Sn=W("(",!1),Ni=function(u,p,g){return g.length>1?{type:"array",value:g}:{type:"value",value:g[0]}},Pn=")",z=W(")",!1),O=function(u,p){return{value:S()}},G=function(u,p,g){return{type:"value",...g}},ee=function(u,p){return{value:!u,type:"boolean"}},te=function(u,p,g){return{name:p,...g}},pe=function(u,p){return p},Ae=function(u,p){return Vi([...u,...p])},Oe=/^[^'"]/,je=L(["'",'"'],!0,!1),gt=function(u){return u},Se=/^[0-9]/,nt=L([["0","9"]],!1,!1),kt=/^[\-+]/,lt=L(["-","+"],!1,!1),qe="True",mt=W("True",!1),Je=function(){return!0},Mr="False",Lt=W("False",!1),Ht=function(){return!1},Qe=".",jt=W(".",!1),Qt=/^[eE]/,kr=L(["e","E"],!1,!1),zr=/^["]/,vr=L(['"'],!1,!1),pn=/^[^"]/,Tn=L(['"'],!0,!1),Fn=/^[']/,Qr=L(["'"],!1,!1),Xr=/^[^']/,xr=L(["'"],!0,!1),o=function(u){return parseFloat(u)},ue=function(u){return parseInt(u,10)},Cr=function(u,p,g){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ys(p)},fr=function(u,p,g,b,A){return u.length===b.length&&p===A},Vn=function(u,p,g,b,A){return Ah(u,`${b}${A}`)},v=function(u,p,g,b,A,C){return p===C},Vr=function(u,p,g,b,A,C){return{type:"block",content:b===""?[]:[{type:"verbatim",value:b.join("")}],name:p,margin:u}},cr=function(u,p,g,b,A,C){return!0},mo=function(u,p,g,b,A,C){return{...C,text:S(),config:g,location:q()}},In=/^[\-+=_|]/,ho=L(["-","+","=","_","|"],!1,!1),Xe=function(){return{type:"separator",text:S()}},qr=function(){return r.isDelimited},Nr=function(){return{type:"separator",text:S()}},dn=function(u){return{name:"row",type:"text",value:u}},ii=function(){return r.separators=[],!0},On=function(u,p){return r.separators.push(p.text),p},pr=function(u,p,g,b){return r.separators.push(b.text),b},Z=function(u,p,g,b){return[{name:"row",type:"text",value:g},b]},Yr=function(u,p,g){return[g]},mn=function(u,p,g){return r.separators.length>1?!r.separators.every(b=>b===r.separators[0]):!0},oi=function(u,p,g){return[{name:"head",type:"text",value:u},p,...Vi(g)]},qn=function(u,p){return[{name:"row",type:"text",value:u},p]},go=function(u){return[...Vi(u)]},os=function(u,p,g){return p==="table"},Di=function(u,p,g){return r.isDelimited=!0,!0},en=function(u,p,g,b){return b},yo=function(u,p,g,b,A,C){return{type:"block",content:b,name:p,margin:u}},ss=function(u,p,g,b,A,C){return{...C,text:S(),config:g,location:q()}},$o=function(u,p,g,b){return b},bo=function(u,p,g,b,A){let C=p.match(/pod|nested|item|code|defn/)&&b.length-u.length>0?"code":"para";return{text:A,margin:b,type:C,content:[{type:C==="code"?"verbatim":"text",value:A}],location:q()}},wo=function(u,p,g,b,A,C){return{type:"block",content:b,name:p,margin:u}},Un=function(u,p,g,b,A,C){return{...C,config:g,location:q()}},Xt=function(){return{text:S(),type:"para",margin:"",content:[{type:"text",value:S()}],location:q()}},Ri=function(){return{empty:1}},hn=/^[s]/,Yt=L(["s"],!1,!1),wa=function(u){return{text:S(),type:"ambient1"}},as=function(u,p){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ys(p)},gn=function(u,p,g){return{margin:u,type:"block",content:g===""?[]:[{type:"verbatim",value:g}],name:p,config:[],location:q()}},si=function(u,p){return p==="table"},ka=function(u,p){return r.isDelimited=!1,!0},va=function(u,p,g){return{margin:u,type:"block",content:g===""?[]:g,name:p,config:[],location:q()}},xa=function(u,p,g,b){let A=(g===`
13
+ `?"":g)+b;return{margin:u,type:"block",content:A===""?[]:[{type:"para",text:A,margin:"",content:[{type:"text",value:A}],location:q()}],name:p,location:q()}},Nn="= ",ls=W("= ",!1),Ca=function(u,p,g,b){return{name:g,type:"alias",replacement:b,margin:u}},Aa=/^[A-Z]/,Ea=L([["A","Z"]],!1,!1),us="<>",_a=W("<>",!1),fs=function(u,p,g,b){return{name:g,type:"config",config:b,margin:u}},cs=function(u,p,g,b){return g.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ys(g)},Sa=function(u,p,g,b,A){return{type:"block",content:A===""?[]:[{type:"verbatim",value:A}],name:g,margin:u,config:b,location:q()}},tn=function(u,p,g,b){return g==="table"},Et=function(u,p,g,b){return r.isDelimited=!1,!0},Pe=function(u,p,g,b,A){return{type:"block",content:A===""?[]:A,name:g,margin:u,config:b,location:q()}},Li=function(u,p,g,b,A){return{type:"block",content:A===""?[]:[{type:"para",content:[{type:"text",value:A}],margin:u,text:A,location:q()}],name:g,margin:u,config:b,location:q()}},Sf=/^[a-zA-Z]/,er=L([["a","z"],["A","Z"]],!1,!1),yn=ps("whitespace"),it=/^[\r\n \t\f]/,Dn=L(["\r",`
14
+ `," "," ","\f"],!1,!1),Pa=ps("space characters"),n=0,h=0,T=[{line:1,column:1}],w=0,_=[],y=0,R;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function S(){return t.substring(h,n)}function q(){return ko(h,n)}function J(u,p){throw p=p!==void 0?p:ko(h,n),Tf([ps(u)],t.substring(h,n),p)}function P(u,p){throw p=p!==void 0?p:ko(h,n),mh(u,p)}function W(u,p){return{type:"literal",text:u,ignoreCase:p}}function L(u,p,g){return{type:"class",parts:u,inverted:p,ignoreCase:g}}function j(){return{type:"any"}}function K(){return{type:"end"}}function ps(u){return{type:"other",description:u}}function Pf(u){var p=T[u],g;if(p)return p;for(g=u-1;!T[g];)g--;for(p=T[g],p={line:p.line,column:p.column};g<u;)t.charCodeAt(g)===10?(p.line++,p.column=1):p.column++,g++;return T[u]=p,p}function ko(u,p){var g=Pf(u),b=Pf(p);return{start:{offset:u,line:g.line,column:g.column},end:{offset:p,line:b.line,column:b.column}}}function oe(u){n<w||(n>w&&(w=n,_=[]),_.push(u))}function mh(u,p){return new Ci(u,null,null,p)}function Tf(u,p,g){return new Ci(Ci.buildMessage(u,p),u,p,g)}function Ff(){var u,p,g;for(u=n,p=[],g=If();g!==e;)p.push(g),g=If();return p!==e&&(h=u,p=a(p)),u=p,u}function If(){var u,p,g,b,A,C,U,Q;if(u=Ta(),u===e&&(u=Ia(),u===e&&(u=Oa(),u===e&&(u=ja(),u===e&&(u=Ba(),u===e&&(u=Ma(),u===e&&(u=Ra(),u===e&&(u=La(),u===e&&(u=qa(),u===e&&(u=Na(),u===e&&(u=Da(),u===e&&(u=n,h=n,p=l(),p?p=void 0:p=e,p!==e?(g=kh(),g===e&&(g=$n(),g===e&&(g=gh())),g!==e?(h=u,p=f(g),u=p):(n=u,u=e)):(n=u,u=e),u===e)))))))))))){if(u=n,p=n,g=[],b=n,A=n,y++,C=n,U=Rn(),U!==e?(Q=tr(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=fi()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e),b!==e)for(;b!==e;)g.push(b),b=n,A=n,y++,C=n,U=Rn(),U!==e?(Q=tr(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=fi()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e);else g=e;g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=m()),u=p}return u}function Ot(){var u;return d.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe($)),u}function ge(){var u,p;for(u=[],E.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));p!==e;)u.push(p),E.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));return u}function ai(){var u,p,g,b;for(u=n,p=n,g=[],b=Ot();b!==e;)g.push(b),b=Ot();return g!==e?(x.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(I)),b!==e?(g=[g,b],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function O0(){var u,p,g,b;if(u=n,p=n,g=[],b=vo(),b!==e)for(;b!==e;)g.push(b),b=vo();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=ui(),g!==e?(h=u,p=N(p),u=p):(n=u,u=e)):(n=u,u=e),u}function vo(){var u;return B.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(X)),u}function li(){var u,p,g;return t.charCodeAt(n)===10?(u=se,n++):(u=e,y===0&&oe($e)),u===e&&(u=n,t.charCodeAt(n)===13?(p=he,n++):(p=e,y===0&&oe(ne)),p!==e?(t.charCodeAt(n)===10?(g=se,n++):(g=e,y===0&&oe($e)),g===e&&(g=null),g!==e?(p=[p,g],u=p):(n=u,u=e)):(n=u,u=e)),u}function ui(){var u,p;return u=li(),u===e&&(u=n,y++,t.length>n?(p=t.charAt(n),n++):(p=e,y===0&&oe(c)),y--,p===e?u=void 0:(n=u,u=e)),u}function Dr(){var u,p,g,b;for(u=n,p=n,g=[],b=Ot();b!==e;)g.push(b),b=Ot();return g!==e?(x.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(I)),b!==e?(g=[g,b],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function $n(){var u,p,g,b,A;for(u=n,p=n,g=n,b=[],A=Ot();A!==e;)b.push(A),A=Ot();return b!==e?(x.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(I)),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=be()),u=p,u}function ds(){var u;return t.substr(n,7)===xe?(u=xe,n+=7):(u=e,y===0&&oe(ke)),u}function ji(){var u;return t.substr(n,5)===Le?(u=Le,n+=5):(u=e,y===0&&oe(Ee)),u}function ms(){var u;return t.substr(n,5)===_e?(u=_e,n+=5):(u=e,y===0&&oe(de)),u}function Of(){var u;return t.substr(n,7)===Ce?(u=Ce,n+=7):(u=e,y===0&&oe(ot)),u}function qf(){var u;return t.substr(n,6)===Y?(u=Y,n+=6):(u=e,y===0&&oe(Ct)),u}function tr(){var u,p,g;return u=n,p=za(),p!==e?(h=n,g=Ze(p),g?g=void 0:g=e,g!==e?(h=u,p=yt(p),u=p):(n=u,u=e)):(n=u,u=e),u}function fi(){var u,p,g;return u=n,t.charCodeAt(n)===61?(p=tt,n++):(p=e,y===0&&oe(M)),p!==e?(g=tr(),g!==e?(h=u,p=yt(g),u=p):(n=u,u=e)):(n=u,u=e),u}function Rn(){var u;return u=ds(),u===e&&(u=ji(),u===e&&(u=ms(),u===e&&(u=Of(),u===e&&(u=qf())))),u}function Ur(){var u,p,g;if(y++,u=n,p=[],g=vo(),g!==e)for(;g!==e;)p.push(g),g=vo();else p=e;return p!==e?u=t.substring(u,n):u=p,y--,u===e&&(p=e,y===0&&oe(V)),u}function Gt(){var u,p,g,b,A,C,U;if(u=n,p=n,y++,g=n,b=ge(),b!==e?(A=Of(),A===e&&(A=qf(),A===e&&(A=n,C=Rn(),C!==e?(U=tr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A===e&&(A=fi()))),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e),g===e&&(g=$n()),y--,g===e?p=void 0:(n=p,p=e),p!==e){if(g=n,b=[],A=Ur(),A!==e)for(;A!==e;)b.push(A),A=Ur();else b=e;b!==e?g=t.substring(g,n):g=b,g!==e?(b=ui(),b!==e?(h=u,p=Jt(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u}function hh(){var u,p,g,b;if(u=n,p=n,g=[],b=Ur(),b!==e)for(;b!==e;)g.push(b),b=Ur();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=ui(),g!==e?(h=u,p=Jt(),u=p):(n=u,u=e)):(n=u,u=e),u}function gh(){var u,p,g,b,A,C;if(u=n,p=n,g=[],b=n,A=n,y++,C=ui(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e),b!==e)for(;b!==e;)g.push(b),b=n,A=n,y++,C=ui(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e);else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=ui(),g!==e?(h=u,p=Rt(),u=p):(n=u,u=e)):(n=u,u=e),u}function Nf(){var u,p,g,b;if(u=n,p=Df(),p!==e){if(g=[],b=Ot(),b!==e)for(;b!==e;)g.push(b),b=Ot();else g=e;g!==e?(b=Nf(),b!==e?(h=u,p=bt(p,b),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=Df(),p!==e&&(h=u,p=St(p)),u=p),u}function Df(){var u,p;return u=n,p=vo(),p!==e?u=t.substring(u,n):u=p,u}function hs(){var u,p,g,b,A,C;if(u=n,p=Mi(),p!==e){if(g=[],b=Ot(),b!==e)for(;b!==e;)g.push(b),b=Ot();else g=e;g===e&&(g=n,b=ge(),b!==e?(t.charCodeAt(n)===44?(A=At,n++):(A=e,y===0&&oe(st)),A!==e?(C=ge(),C!==e?(b=[b,A,C],g=b):(n=g,g=e)):(n=g,g=e)):(n=g,g=e)),g!==e?(b=hs(),b!==e?(h=u,p=Fr(p,b),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=Mi(),p!==e&&(h=u,p=St(p)),u=p),u}function yh(){var u,p,g,b,A;if(u=n,p=n,g=[],ye.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(wr)),b!==e)for(;b!==e;)g.push(b),ye.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(wr));else g=e;if(g!==e){for(b=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir));A!==e;)b.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir));b!==e?(g=[g,b],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function Rf(){var u,p,g,b,A,C;return u=n,p=yh(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?(b=At,n++):(b=e,y===0&&oe(st)),b===e&&(t.substr(n,2)===Vt?(b=Vt,n+=2):(b=e,y===0&&oe(ei))),b!==e?(A=ge(),A!==e?(C=Mi(),C!==e?(h=u,p=Mn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Lf(){var u,p,g,b,A,C;return u=n,p=Rf(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?(b=At,n++):(b=e,y===0&&oe(st)),b!==e?(A=ge(),A!==e?(C=Lf(),C!==e?(h=u,p=En(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u===e&&(u=n,p=Rf(),p!==e&&(h=u,p=Ge(p)),u=p),u}function $h(){var u,p,g,b,A,C,U,Q,F,D;return u=n,p=ge(),p!==e?(t.charCodeAt(n)===58?(g=Ke,n++):(g=e,y===0&&oe(at)),g!==e?(t.substr(n,5)===We?(b=We,n+=5):(b=e,y===0&&oe(Or)),b!==e?(A=n,t.charCodeAt(n)===60?(C=ze,n++):(C=e,y===0&&oe(Ve)),C!==e?(U=ge(),U!==e?(Q=Nf(),Q!==e?(F=ge(),F!==e?(t.charCodeAt(n)===62?(D=ct,n++):(D=e,y===0&&oe(pt)),D!==e?(h=A,C=Ut(b,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e),A!==e?(C=ge(),C!==e?(h=u,p=re(b,A),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function q0(){var u,p,g,b,A,C;for(u=n,p=[],g=n,b=ge(),b!==e?(A=Mi(),A!==e?(C=ge(),C!==e?(h=g,b=ae(A),g=b):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);g!==e;)p.push(g),g=n,b=ge(),b!==e?(A=Mi(),A!==e?(C=ge(),C!==e?(h=g,b=ae(A),g=b):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);return p!==e&&(h=u,p=we(p)),u=p,u===e&&(u=n,p=Mi(),p!==e&&(h=u,p=Ie(p)),u=p,u===e&&(u=n,p=ge(),p!==e&&(h=u,p=Dt()),u=p)),u}function Bi(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le,ce;if(u=$h(),u===e)if(u=n,p=ge(),p!==e)if(t.charCodeAt(n)===58?(g=Ke,n++):(g=e,y===0&&oe(at)),g!==e)if(Zr.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(rt)),b===e&&(b=null),b!==e)if(A=za(),A!==e){if(C=n,t.charCodeAt(n)===123?(U=wt,n++):(U=e,y===0&&oe(Pt)),U!==e?(Q=ge(),Q!==e?(F=Lf(),F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===125?(H=Jr,n++):(H=e,y===0&&oe(dt)),H!==e?(h=C,U=_n(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e){if(C=n,t.charCodeAt(n)===91?(U=It,n++):(U=e,y===0&&oe(cn)),U!==e)if(Q=ge(),Q!==e){if(F=n,D=hs(),D!==e&&(h=F,D=co(b,A,D)),F=D,F===e){if(F=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Br,n++):(ce=e,y===0&&oe(zn)),ce===e&&(t.charCodeAt(n)===91?(ce=It,n++):(ce=e,y===0&&oe(cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Br,n++):(ce=e,y===0&&oe(zn)),ce===e&&(t.charCodeAt(n)===91?(ce=It,n++):(ce=e,y===0&&oe(cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=F,D=ti(b,A)),F=D}F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===93?(H=Br,n++):(H=e,y===0&&oe(zn)),H!==e?(h=C,U=po(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e&&(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Ve)),U!==e?(Q=ge(),Q!==e?(F=hs(),F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ct,n++):(H=e,y===0&&oe(pt)),H!==e?(h=C,U=ri(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e)){if(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Ve)),U!==e)if(Q=ge(),Q!==e){if(F=n,D=[],H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Ve)),le===e&&(t.charCodeAt(n)===62?(le=ct,n++):(le=e,y===0&&oe(pt))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e),H!==e)for(;H!==e;)D.push(H),H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Ve)),le===e&&(t.charCodeAt(n)===62?(le=ct,n++):(le=e,y===0&&oe(pt))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e);else D=e;D!==e?F=t.substring(F,n):F=D,F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ct,n++):(H=e,y===0&&oe(pt)),H!==e?(h=C,U=qi(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e){if(C=n,t.charCodeAt(n)===40?(U=ni,n++):(U=e,y===0&&oe(Sn)),U!==e)if(Q=ge(),Q!==e){if(F=n,D=hs(),D!==e&&(h=F,D=Ni(b,A,D)),F=D,F===e){if(F=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=Pn,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ni,n++):(ce=e,y===0&&oe(Sn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=Pn,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ni,n++):(ce=e,y===0&&oe(Sn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=F,D=O(b,A)),F=D}F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===41?(H=Pn,n++):(H=e,y===0&&oe(z)),H!==e?(h=C,U=G(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;C===e&&(C=n,U=ge(),U!==e&&(h=C,U=ee(b,A)),C=U)}}}C!==e?(U=ge(),U!==e?(h=u,p=te(b,A,C),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function ci(){var u,p,g,b,A,C,U,Q,F,D;for(u=n,p=[],g=Bi();g!==e;)p.push(g),g=Bi();if(p!==e)if(g=li(),g!==e){if(b=[],A=n,t.charCodeAt(n)===61?(C=tt,n++):(C=e,y===0&&oe(M)),C!==e)if(U=ge(),U!==e){if(Q=[],F=Bi(),F!==e)for(;F!==e;)Q.push(F),F=Bi();else Q=e;Q!==e?(F=ge(),F!==e?(D=li(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;for(;A!==e;)if(b.push(A),A=n,t.charCodeAt(n)===61?(C=tt,n++):(C=e,y===0&&oe(M)),C!==e)if(U=ge(),U!==e){if(Q=[],F=Bi(),F!==e)for(;F!==e;)Q.push(F),F=Bi();else Q=e;Q!==e?(F=ge(),F!==e?(D=li(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;b!==e?(h=u,p=Ae(p,b),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function N0(){var u,p,g,b;if(u=n,p=n,g=[],Oe.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(je)),b!==e)for(;b!==e;)g.push(b),Oe.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(je));else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=gt(p)),u=p,u}function jf(){var u,p,g;if(u=n,p=[],Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(nt)),g!==e)for(;g!==e;)p.push(g),Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(nt));else p=e;return p!==e?u=t.substring(u,n):u=p,u}function gs(){var u,p,g,b,A;if(u=n,p=n,kt.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(lt)),g===e&&(g=null),g!==e){if(b=[],Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(nt)),A!==e)for(;A!==e;)b.push(A),Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(nt));else b=e;b!==e?(g=[g,b],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function bh(){var u,p;return u=n,t.substr(n,4)===qe?(p=qe,n+=4):(p=e,y===0&&oe(mt)),p!==e&&(h=u,p=Je()),u=p,u===e&&(u=n,t.substr(n,5)===Mr?(p=Mr,n+=5):(p=e,y===0&&oe(Lt)),p!==e&&(h=u,p=Ht()),u=p),u}function wh(){var u,p,g,b,A,C;return u=n,p=n,g=gs(),g!==e?(b=n,t.charCodeAt(n)===46?(A=Qe,n++):(A=e,y===0&&oe(jt)),A!==e?(C=jf(),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e),b===e&&(b=null),b!==e?(Qt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(kr)),A!==e?(C=gs(),C!==e?(g=[g,b,A,C],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u===e&&(u=n,p=n,g=gs(),g!==e?(t.charCodeAt(n)===46?(b=Qe,n++):(b=e,y===0&&oe(jt)),b!==e?(A=jf(),A!==e?(g=[g,b,A],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p),u}function Mi(){var u,p,g,b,A;if(u=n,zr.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(vr)),p!==e){for(g=n,b=[],pn.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Tn));A!==e;)b.push(A),pn.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Tn));b!==e?g=t.substring(g,n):g=b,g!==e?(zr.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(vr)),b!==e?(h=u,p=gt(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;if(u===e){if(u=n,Fn.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Qr)),p!==e){for(g=n,b=[],Xr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(xr));A!==e;)b.push(A),Xr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(xr));b!==e?g=t.substring(g,n):g=b,g!==e?(Fn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Qr)),b!==e?(h=u,p=gt(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;u===e&&(u=bh(),u===e&&(u=n,p=wh(),p!==e&&(h=u,p=o(p)),u=p,u===e&&(u=n,p=gs(),p!==e&&(h=u,p=ue(p)),u=p)))}return u}function Ta(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le,ce,$t,Hn,Gr;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ds(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e)if(h=n,U=Cr(p,b,C),U?U=void 0:U=e,U!==e){if(Q=[],F=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ai(),ie===e&&(ie=n,le=n,y++,ce=Rn(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Hn=tr(),Hn!==e?(h=n,Gr=fr(p,b,C,D,Hn),Gr?Gr=void 0:Gr=e,Gr!==e?($t=[$t,Hn,Gr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=Ur(),ce!==e?($t=ai(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=F,D=Vn(p,b,C,D,H),F=D):(n=F,F=e)):(n=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ai(),ie===e&&(ie=n,le=n,y++,ce=Rn(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Hn=tr(),Hn!==e?(h=n,Gr=fr(p,b,C,D,Hn),Gr?Gr=void 0:Gr=e,Gr!==e?($t=[$t,Hn,Gr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=Ur(),ce!==e?($t=ai(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=F,D=Vn(p,b,C,D,H),F=D):(n=F,F=e)):(n=F,F=e);else Q=e;Q!==e?(F=n,D=ge(),D!==e?F=t.substring(F,n):F=D,F!==e?(D=n,H=ji(),H!==e?(ie=tr(),ie!==e?(h=n,le=v(p,b,C,Q,F,ie),le?le=void 0:le=e,le!==e?(ce=ai(),ce===e&&(ce=null),ce!==e?(h=D,H=Vr(p,b,C,Q,F,ie),D=H):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e?(h=n,H=cr(p,b,C,Q,F,D),H?H=void 0:H=e,H!==e?(h=u,p=mo(p,b,C,Q,F,D),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function zi(){var u,p,g,b,A,C,U,Q,F;if(u=n,p=n,y++,g=n,b=ge(),b!==e?(A=Rn(),A===e&&(A=fi()),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e),g===e&&(g=$n()),y--,g===e?p=void 0:(n=p,p=e),p!==e){for(g=[],b=Ot();b!==e;)g.push(b),b=Ot();if(g!==e){if(b=n,A=[],C=n,In.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],F=Ot();F!==e;)Q.push(F),F=Ot();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;if(C!==e)for(;C!==e;)if(A.push(C),C=n,In.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],F=Ot();F!==e;)Q.push(F),F=Ot();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;else A=e;A!==e?b=t.substring(b,n):b=A,b!==e?(A=ui(),A!==e?(h=u,p=Xe(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e}else n=u,u=e;return u}function Ar(){var u,p,g,b,A;return u=n,p=n,g=zi(),g===e&&(g=n,h=n,b=qr(),b?b=void 0:b=e,b!==e?(A=$n(),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e)),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=Nr()),u=p,u}function Hr(){var u,p;return u=n,p=Gt(),p!==e&&(h=u,p=dn(p)),u=p,u}function Fa(){var u,p,g,b,A,C,U,Q,F,D,H;if(u=n,h=n,p=ii(),p?p=void 0:p=e,p!==e){if(g=n,b=[],A=n,C=n,y++,U=zi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e)for(;A!==e;)b.push(A),A=n,C=n,y++,U=zi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e);else b=e;if(b!==e?g=t.substring(g,n):g=b,g!==e)if(b=n,A=zi(),A!==e&&(h=b,A=On(g,A)),b=A,b!==e){if(A=[],C=n,U=n,Q=[],F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);else Q=e;if(Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,F=Ar(),F!==e&&(h=Q,F=pr(g,b,U,F)),Q=F,Q!==e?(h=C,U=Z(g,b,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=zi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,F=Ar(),y--,F===e?Q=void 0:(n=Q,Q=e),Q!==e?(F=Hr(),F!==e?(h=C,U=Yr(g,b,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)),C!==e)for(;C!==e;){if(A.push(C),C=n,U=n,Q=[],F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);else Q=e;Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,F=Ar(),F!==e&&(h=Q,F=pr(g,b,U,F)),Q=F,Q!==e?(h=C,U=Z(g,b,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=zi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,F=Ar(),y--,F===e?Q=void 0:(n=Q,Q=e),Q!==e?(F=Hr(),F!==e?(h=C,U=Yr(g,b,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e))}else A=e;A!==e?(h=n,C=mn(g,b,A),C?C=void 0:C=e,C!==e?(h=u,p=oi(g,b,A),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e}else n=u,u=e;if(u===e){if(u=n,p=[],g=n,b=n,A=n,C=n,y++,U=Ar(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?b=t.substring(b,n):b=A,b!==e){for(A=[],C=Ar();C!==e;)A.push(C),C=Ar();A!==e?(h=g,b=qn(b,A),g=b):(n=g,g=e)}else n=g,g=e;if(g!==e)for(;g!==e;)if(p.push(g),g=n,b=n,A=n,C=n,y++,U=Ar(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?b=t.substring(b,n):b=A,b!==e){for(A=[],C=Ar();C!==e;)A.push(C),C=Ar();A!==e?(h=g,b=qn(b,A),g=b):(n=g,g=e)}else n=g,g=e;else p=e;if(p!==e&&(h=u,p=go(p)),u=p,u===e)if(u=[],p=Hr(),p!==e)for(;p!==e;)u.push(p),p=Hr();else u=e}return u}function Ia(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le,ce,$t;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ds(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e)if(h=n,U=os(p,b,C),U?U=void 0:U=e,U!==e)if(h=n,Q=Di(p,b,C),Q?Q=void 0:Q=e,Q!==e){for(F=n,D=[],H=$n();H!==e;)D.push(H),H=$n();if(D!==e)if(H=Fa(),H!==e){for(ie=[],le=$n();le!==e;)ie.push(le),le=$n();ie!==e?(h=F,D=en(p,b,C,H),F=D):(n=F,F=e)}else n=F,F=e;else n=F,F=e;F!==e?(D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ji(),ie!==e?(le=tr(),le!==e?(h=n,ce=v(p,b,C,F,D,le),ce?ce=void 0:ce=e,ce!==e?($t=ai(),$t===e&&($t=null),$t!==e?(h=H,ie=yo(p,b,C,F,D,le),H=ie):(n=H,H=e)):(n=H,H=e)):(n=H,H=e)):(n=H,H=e),H!==e?(h=n,ie=cr(p,b,C,F,D,H),ie?ie=void 0:ie=e,ie!==e?(h=u,p=ss(p,b,C,F,D,H),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Oa(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ds(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e){if(U=[],Q=n,F=$n(),F===e&&(F=Ta(),F===e&&(F=Ia(),F===e&&(F=Oa(),F===e&&(F=ja(),F===e&&(F=Ba(),F===e&&(F=Ma(),F===e&&(F=Ra(),F===e&&(F=La(),F===e&&(F=qa(),F===e&&(F=Na(),F===e&&(F=Da()))))))))))),F!==e&&(h=Q,F=$o(p,b,C,F)),Q=F,Q===e){for(Q=n,F=n,D=[],H=Ot();H!==e;)D.push(H),H=Ot();if(D!==e?F=t.substring(F,n):F=D,F!==e){if(D=n,H=[],ie=Gt(),ie!==e)for(;ie!==e;)H.push(ie),ie=Gt();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,F=bo(p,b,C,F,D),Q=F):(n=Q,Q=e)}else n=Q,Q=e}for(;Q!==e;)if(U.push(Q),Q=n,F=$n(),F===e&&(F=Ta(),F===e&&(F=Ia(),F===e&&(F=Oa(),F===e&&(F=ja(),F===e&&(F=Ba(),F===e&&(F=Ma(),F===e&&(F=Ra(),F===e&&(F=La(),F===e&&(F=qa(),F===e&&(F=Na(),F===e&&(F=Da()))))))))))),F!==e&&(h=Q,F=$o(p,b,C,F)),Q=F,Q===e){for(Q=n,F=n,D=[],H=Ot();H!==e;)D.push(H),H=Ot();if(D!==e?F=t.substring(F,n):F=D,F!==e){if(D=n,H=[],ie=Gt(),ie!==e)for(;ie!==e;)H.push(ie),ie=Gt();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,F=bo(p,b,C,F,D),Q=F):(n=Q,Q=e)}else n=Q,Q=e}U!==e?(Q=n,F=ge(),F!==e?Q=t.substring(Q,n):Q=F,Q!==e?(F=n,D=ji(),D!==e?(H=tr(),H!==e?(h=n,ie=v(p,b,C,U,Q,H),ie?ie=void 0:ie=e,ie!==e?(le=ai(),le===e&&(le=null),le!==e?(h=F,D=wo(p,b,C,U,Q,H),F=D):(n=F,F=e)):(n=F,F=e)):(n=F,F=e)):(n=F,F=e),F!==e?(h=n,D=cr(p,b,C,U,Q,F),D?D=void 0:D=e,D!==e?(h=u,p=Un(p,b,C,U,Q,F),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function kh(){var u,p,g;if(u=n,p=[],g=Gt(),g!==e)for(;g!==e;)p.push(g),g=Gt();else p=e;return p!==e&&(h=u,p=Xt()),u=p,u}function D0(){var u,p,g,b;if(u=n,p=[],g=n,b=Dr(),b!==e&&(h=g,b=Ri()),g=b,g===e){if(g=[],hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt)),b!==e)for(;b!==e;)g.push(b),hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt));else g=e;g===e&&(g=Gt())}if(g!==e){for(;g!==e;)if(p.push(g),g=n,b=Dr(),b!==e&&(h=g,b=Ri()),g=b,g===e){if(g=[],hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt)),b!==e)for(;b!==e;)g.push(b),hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt));else g=e;g===e&&(g=Gt())}}else p=e;return p!==e&&(h=u,p=wa(p)),u=p,u}function qa(){var u,p,g,b,A,C,U,Q,F,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,b=Rn(),y--,b===e?g=void 0:(n=g,g=e),g!==e)if(b=fi(),b!==e)if(A=ge(),A!==e)if(C=Dr(),C===e&&(C=null),C!==e)if(h=n,U=as(p,b),U?U=void 0:U=e,U!==e){for(Q=n,F=[],D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)F.push(D),D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);F!==e?Q=t.substring(Q,n):Q=F,Q!==e?(h=u,p=gn(p,b,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Na(){var u,p,g,b,A,C,U,Q,F;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=n,y++,b=Rn(),y--,b===e?g=void 0:(n=g,g=e),g!==e?(b=fi(),b!==e?(A=ge(),A!==e?(C=Dr(),C===e&&(C=null),C!==e?(h=n,U=si(p,b),U?U=void 0:U=e,U!==e?(h=n,Q=ka(p,b),Q?Q=void 0:Q=e,Q!==e?(F=Fa(),F!==e?(h=u,p=va(p,b,F),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Da(){var u,p,g,b,A,C,U,Q,F,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,b=Rn(),y--,b===e?g=void 0:(n=g,g=e),g!==e)if(b=fi(),b!==e)if(A=ge(),A!==e)if(C=Dr(),C===e&&(C=hh()),C!==e){for(U=n,Q=[],F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);F!==e;)Q.push(F),F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=xa(p,b,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function vh(){var u,p,g,b,A,C,U,Q,F,D,H;for(u=n,p=[],g=Ur();g!==e;)p.push(g),g=Ur();if(p!==e)if(g=li(),g!==e){if(b=[],A=n,C=ge(),C!==e)if(t.substr(n,2)===Nn?(U=Nn,n+=2):(U=e,y===0&&oe(ls)),U!==e)if(Q=ge(),Q!==e){if(F=[],D=Ur(),D!==e)for(;D!==e;)F.push(D),D=Ur();else F=e;F!==e?(D=ge(),D!==e?(H=li(),H!==e?(h=A,C=pe(p,F),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;for(;A!==e;)if(b.push(A),A=n,C=ge(),C!==e)if(t.substr(n,2)===Nn?(U=Nn,n+=2):(U=e,y===0&&oe(ls)),U!==e)if(Q=ge(),Q!==e){if(F=[],D=Ur(),D!==e)for(;D!==e;)F.push(D),D=Ur();else F=e;F!==e?(D=ge(),D!==e?(H=li(),H!==e?(h=A,C=pe(p,F),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;b!==e?(h=u,p=Ae(p,b),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function Ra(){var u,p,g,b,A,C,U;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,6)===Y?(g=Y,n+=6):(g=e,y===0&&oe(Ct)),g!==e?(b=ge(),b!==e?(A=n,C=za(),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=vh(),U!==e?(h=u,p=Ca(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function La(){var u,p,g,b,A,C,U,Q;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,7)===Ce?(g=Ce,n+=7):(g=e,y===0&&oe(ot)),g!==e?(b=ge(),b!==e?(A=n,C=tr(),C===e&&(C=n,Aa.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(Ea)),U!==e?(t.substr(n,2)===us?(Q=us,n+=2):(Q=e,y===0&&oe(_a)),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e)),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=ci(),U!==e?(h=u,p=fs(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function ja(){var u,p,g,b,A,C,U,Q,F,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ms(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e)if(h=n,U=cs(p,g,b,C),U?U=void 0:U=e,U!==e){for(Q=n,F=[],D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)F.push(D),D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);F!==e?Q=t.substring(Q,n):Q=F,Q!==e?(h=u,p=Sa(p,g,b,C,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ba(){var u,p,g,b,A,C,U,Q,F;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=ms(),g!==e?(b=tr(),b!==e?(A=ge(),A!==e?(C=ci(),C!==e?(h=n,U=tn(p,g,b,C),U?U=void 0:U=e,U!==e?(h=n,Q=Et(p,g,b,C),Q?Q=void 0:Q=e,Q!==e?(F=Fa(),F!==e?(h=u,p=Pe(p,g,b,C,F),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Ma(){var u,p,g,b,A,C,U,Q,F,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ms(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e){for(U=n,Q=[],F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);F!==e;)Q.push(F),F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=Li(p,g,b,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function za(){var u,p,g,b,A;if(u=n,p=n,Sf.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(er)),g!==e){if(b=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir)),A!==e)for(;A!==e;)b.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir));else b=e;b!==e?(g=[g,b],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function R0(){var u,p;for(y++,u=[],it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));p!==e;)u.push(p),it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));return y--,u===e&&(p=e,y===0&&oe(yn)),u}function L0(){var u,p;for(y++,u=[],it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));p!==e;)u.push(p),it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));return y--,u===e&&(p=e,y===0&&oe(Pa)),u}function ys(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function xh(u){return u===u.toUpperCase()}function Vi(u){return u.reduce((p,g)=>Array.isArray(g)?p.concat(Vi(g)):p.concat(g),[])}function Ch(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","table","toc"].includes(u)||xh(u)||u.match(/^(head|item)\d+$/)||ys(u)}function Ah(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(R=s(),R!==e&&n===t.length)return R;throw R!==e&&n<t.length&&oe(K()),Tf(_,w<t.length?t.charAt(w):null,w<t.length?ko(w,w+1):ko(w,w))}yd.exports={SyntaxError:Ci,parse:Mw}});var kd=me((iC,wd)=>{"use strict";function Vw(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ai(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ai)}Vw(Ai,Error);Ai.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",$;for($=0;$<m.parts.length;$++)d+=m.parts[$]instanceof Array?a(m.parts[$][0])+"-"+a(m.parts[$][1]):a(m.parts[$]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),$,E;for($=0;$<m.length;$++)d[$]=l(m[$]);if(d.sort(),d.length>0){for($=1,E=1;$<d.length;$++)d[$-1]!==d[$]&&(d[E]=d[$],E++);d.length=E}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Uw(t,r){r=r!==void 0?r:{};var e={},i={Expression:oi},s=oi,a="A",l=Xe("A",!1),f="V",c=Xe("V",!1),m="R",d=Xe("R",!1),$="B",E=Xe("B",!1),k="I",x=Xe("I",!1),I="C",N=Xe("C",!1),B="D",X=Xe("D",!1),se="E",$e=Xe("E",!1),he="K",ne=Xe("K",!1),be="L",xe=Xe("L",!1),ke="S",Le=Xe("S",!1),Ee="T",_e=Xe("T",!1),de="F",Ce=Xe("F",!1),ot="U",Y=Xe("U",!1),Ct="Z",Ze=Xe("Z",!1),yt="N",tt=Xe("N",!1),M="X",V=Xe("X",!1),Jt=/^[a-zA-Z]/,Rt=qr([["a","z"],["A","Z"]],!1,!1),bt=/^[a-zA-Z0-9_\-]/,St=qr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),At=/^[ \t\f]/,st=qr([" "," ","\f"],!1,!1),Fr=function(n){return!(r.allowed||[]).length||(r.allowed||[]).includes(n)},ye=Nr(),wr=function(n){return n==="A"},zt=function(n,h){return{content:h,type:"fcode",name:n}},Ir=function(n){return n==="D"},Vt=function(n,h,T){return Dn(T)},ei=function(n,h,T){return{content:h,type:"fcode",name:n,synonyms:T}},Mn=function(n){return n==="V"},En=function(n,h){return{content:h,type:"fcode",name:n}},Ge="<",Ke=Xe("<",!1),at=">",We=Xe(">",!1),Or=function(){return cr()},ze="\xAB",Ve=Xe("\xAB",!1),ct="\xBB",pt=Xe("\xBB",!1),Ut=function(n){return n},re=function(n){return n.code==="C"},ae=function(n,h){return h===n.end_tag},we=function(n,h){return h},Ie=function(n,h,T){return T===n.end_tag},Dt=function(n,h,T){return{content:h,type:"fcode",name:n.code}},Zr="|",rt=Xe("|",!1),wt=function(n){return n},Pt=function(n){return n.code==="L"},Jr=function(n,h,T){return T},dt=function(n,h,T,w){return w===n.end_tag},_n=function(n,h,T,w){return{content:h,type:"fcode",name:n.code,meta:T}},It=";",cn=Xe(";",!1),co=/^[ \xA0\u2001\t\f\u2008]/,Br=qr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),zn=function(n,h){return Dn([n,h])},ti=function(n){return[n]},po=function(n){return n==="X"},ri=function(n,h,T){return{content:h,type:"fcode",name:n,entry:T}},qi=function(n){return n==="S"},ni=function(n){return n==="Z"},Sn=/^[0-9]/,Ni=qr([["0","9"]],!1,!1),Pn="0d",z=Xe("0d",!1),O=function(n){return parseInt(n,10)},G="0o",ee=Xe("0o",!1),te=function(n){return parseInt(n,8)},pe="0b",Ae=Xe("0b",!1),Oe=function(n){return parseInt(n,2)},je="0x",gt=Xe("0x",!1),Se=/^[0-9A-Fa-f]/,nt=qr([["0","9"],["A","F"],["a","f"]],!1,!1),kt=function(){return parseInt(cr())},lt=/^[A-Z ]/,qe=qr([["A","Z"]," "],!1,!1),mt=function(){return cr()===cr().toUpperCase()},Je=/^[a-z]/,Mr=qr([["a","z"]],!1,!1),Lt=/^[a-z0-9]/,Ht=qr([["a","z"],["0","9"]],!1,!1),Qe=function(n){return cr()},jt=function(n){return{type:"number",value:parseInt(n,10)}},Qt=function(n){return{type:"unicode_name",value:n}},kr=function(n){return{type:"html_named",value:n}},zr=function(n){return n==="E"},vr=function(n,h){return Dn(h)},pn=function(n,h){return{content:h||[],type:"fcode",name:n}},Tn=function(n){return n},Fn=function(n,h){return{code:n,begin_tag:h,end_tag:Pa(h)}},Qr=function(n){return n.code!=="C"},Xr=function(n,h,T){return T===n.end_tag},xr=function(n,h,T){return{content:h,type:"fcode",name:n.code}},o=0,ue=0,Cr=[{line:1,column:1}],fr=0,Vn=[],v=0,Vr;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function cr(){return t.substring(ue,o)}function mo(){return pr(ue,o)}function In(n,h){throw h=h!==void 0?h:pr(ue,o),mn([ii(n)],t.substring(ue,o),h)}function ho(n,h){throw h=h!==void 0?h:pr(ue,o),Yr(n,h)}function Xe(n,h){return{type:"literal",text:n,ignoreCase:h}}function qr(n,h,T){return{type:"class",parts:n,inverted:h,ignoreCase:T}}function Nr(){return{type:"any"}}function dn(){return{type:"end"}}function ii(n){return{type:"other",description:n}}function On(n){var h=Cr[n],T;if(h)return h;for(T=n-1;!Cr[T];)T--;for(h=Cr[T],h={line:h.line,column:h.column};T<n;)t.charCodeAt(T)===10?(h.line++,h.column=1):h.column++,T++;return Cr[n]=h,h}function pr(n,h){var T=On(n),w=On(h);return{start:{offset:n,line:T.line,column:T.column},end:{offset:h,line:w.line,column:w.column}}}function Z(n){o<fr||(o>fr&&(fr=o,Vn=[]),Vn.push(n))}function Yr(n,h){return new Ai(n,null,null,h)}function mn(n,h,T){return new Ai(Ai.buildMessage(n,h),n,h,T)}function oi(){var n,h;for(n=[],h=qn(),h===e&&(h=Li(),h===e&&(h=er(),h===e&&(h=yo())));h!==e;)n.push(h),h=qn(),h===e&&(h=Li(),h===e&&(h=er(),h===e&&(h=yo())));return n}function qn(){var n;return n=ss(),n===e&&(n=va(),n===e&&(n=Ri(),n===e&&(n=$o(),n===e&&(n=Sa(),n===e&&(n=bo(),n===e&&(n=wa(),n===e&&(n=ka(),n===e&&(n=xa())))))))),n}function go(){var n;return t.charCodeAt(o)===65?(n=a,o++):(n=e,v===0&&Z(l)),n===e&&(t.charCodeAt(o)===86?(n=f,o++):(n=e,v===0&&Z(c)),n===e&&(t.charCodeAt(o)===82?(n=m,o++):(n=e,v===0&&Z(d)),n===e&&(t.charCodeAt(o)===66?(n=$,o++):(n=e,v===0&&Z(E)),n===e&&(t.charCodeAt(o)===73?(n=k,o++):(n=e,v===0&&Z(x)),n===e&&(t.charCodeAt(o)===67?(n=I,o++):(n=e,v===0&&Z(N)),n===e&&(t.charCodeAt(o)===68?(n=B,o++):(n=e,v===0&&Z(X)),n===e&&(t.charCodeAt(o)===69?(n=se,o++):(n=e,v===0&&Z($e)),n===e&&(t.charCodeAt(o)===75?(n=he,o++):(n=e,v===0&&Z(ne)),n===e&&(t.charCodeAt(o)===76?(n=be,o++):(n=e,v===0&&Z(xe)),n===e&&(t.charCodeAt(o)===83?(n=ke,o++):(n=e,v===0&&Z(Le)),n===e&&(t.charCodeAt(o)===84?(n=Ee,o++):(n=e,v===0&&Z(_e)),n===e&&(t.charCodeAt(o)===70?(n=de,o++):(n=e,v===0&&Z(Ce)),n===e&&(t.charCodeAt(o)===85?(n=ot,o++):(n=e,v===0&&Z(Y)),n===e&&(t.charCodeAt(o)===90?(n=Ct,o++):(n=e,v===0&&Z(Ze)),n===e&&(t.charCodeAt(o)===78?(n=yt,o++):(n=e,v===0&&Z(tt)),n===e&&(t.charCodeAt(o)===88?(n=M,o++):(n=e,v===0&&Z(V)))))))))))))))))),n}function os(){var n,h,T,w,_;if(n=o,h=o,Jt.test(t.charAt(o))?(T=t.charAt(o),o++):(T=e,v===0&&Z(Rt)),T!==e){if(w=[],bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,v===0&&Z(St)),_!==e)for(;_!==e;)w.push(_),bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,v===0&&Z(St));else w=e;w!==e?(T=[T,w],h=T):(o=h,h=e)}else o=h,h=e;return h!==e?n=t.substring(n,o):n=h,n}function Di(){var n,h;for(n=[],At.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,v===0&&Z(st));h!==e;)n.push(h),At.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,v===0&&Z(st));return n}function en(){var n,h,T;return n=o,h=go(),h!==e?(ue=o,T=Fr(h),T?T=void 0:T=e,T!==e?(h=[h,T],n=h):(o=n,n=e)):(o=n,n=e),n}function yo(){var n,h;return n=o,t.length>o?(h=t.charAt(o),o++):(h=e,v===0&&Z(ye)),h!==e?n=t.substring(n,o):n=h,n}function ss(){var n,h,T,w,_;return n=o,h=tn(),h!==e?(ue=o,T=wr(h),T?T=void 0:T=e,T!==e?(w=Yt(),w!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,w),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function $o(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=Ir(h),T?T=void 0:T=e,T!==e){if(w=[],_=Yt(),_!==e)for(;_!==e;)w.push(_),_=Yt();else w=e;if(w!==e){if(_=o,y=hn(),y!==e){for(R=[],S=si();S!==e;)R.push(S),S=si();R!==e?(ue=_,y=Vt(h,w,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=ei(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function bo(){var n,h,T,w,_,y;if(n=o,h=tn(),h!==e)if(ue=o,T=Mn(h),T?T=void 0:T=e,T!==e){if(w=o,_=[],y=Xt(),y!==e)for(;y!==e;)_.push(y),y=Xt();else _=e;_!==e?w=t.substring(w,o):w=_,w!==e?(_=Pe(),_!==e?(ue=n,h=En(h,w),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function wo(){var n;return t.charCodeAt(o)===66?(n=$,o++):(n=e,v===0&&Z(E)),n}function Un(){var n,h,T,w,_;return n=o,h=o,T=o,v++,w=wo(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(T=Ge,o++):(T=e,v===0&&Z(Ke)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===62?(_=at,o++):(_=e,v===0&&Z(We)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,T=o,v++,w=wo(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(T=ze,o++):(T=e,v===0&&Z(Ve)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===187?(_=ct,o++):(_=e,v===0&&Z(pt)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function Xt(){var n,h,T,w,_,y,R,S;if(n=o,h=o,T=[],w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=Un(),w===e&&(w=yn()))),w!==e)for(;w!==e;)T.push(w),w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=Un(),w===e&&(w=yn())));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Ut(h)),n=h,n}function Ri(){var n,h,T,w,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=Et(),h!==e)if(ue=o,T=re(h),T?T=void 0:T=e,T!==e){if(w=[],_=o,y=o,R=[],S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;if(R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y,_!==e)for(;_!==e;){if(w.push(_),_=o,y=o,R=[],S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y}else w=e;w!==e?(_=Pe(),_!==e?(ue=o,y=Ie(h,w,_),y?y=void 0:y=e,y!==e?(ue=n,h=Dt(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function hn(){var n;return t.charCodeAt(o)===124?(n=Zr,o++):(n=e,v===0&&Z(rt)),n}function Yt(){var n,h,T,w,_,y,R,S,q;if(n=o,h=o,T=[],w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,v++,y=hn(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Pe(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=tn(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,v++,q=it(),v--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,v===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e))),w!==e)for(;w!==e;)T.push(w),w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,v++,y=hn(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Pe(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=tn(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,v++,q=it(),v--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,v===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=wt(h)),n=h,n}function wa(){var n,h,T,w,_,y,R,S,q,J,P;if(n=o,h=Et(),h!==e)if(ue=o,T=Pt(h),T?T=void 0:T=e,T!==e){if(w=[],_=Ri(),_===e&&(_=Yt()),_!==e)for(;_!==e;)w.push(_),_=Ri(),_===e&&(_=Yt());else w=e;if(w!==e){if(_=o,y=hn(),y!==e){for(R=o,S=[],q=o,J=o,v++,P=Pe(),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);q!==e;)S.push(q),q=o,J=o,v++,P=Pe(),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);S!==e?R=t.substring(R,o):R=S,R!==e?(ue=_,y=Jr(h,w,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=o,R=dt(h,w,_,y),R?R=void 0:R=e,R!==e?(ue=n,h=_n(h,w,_,y),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function as(){var n,h,T,w,_,y;if(n=o,h=[],T=o,w=o,v++,t.charCodeAt(o)===59?(_=It,o++):(_=e,v===0&&Z(cn)),v--,_===e?w=void 0:(o=w,w=e),w!==e?(_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,v===0&&Z(ye)),y!==e?(w=[w,_,y],T=w):(o=T,T=e)):(o=T,T=e)):(o=T,T=e),T!==e)for(;T!==e;)h.push(T),T=o,w=o,v++,t.charCodeAt(o)===59?(_=It,o++):(_=e,v===0&&Z(cn)),v--,_===e?w=void 0:(o=w,w=e),w!==e?(_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,v===0&&Z(ye)),y!==e?(w=[w,_,y],T=w):(o=T,T=e)):(o=T,T=e)):(o=T,T=e);else h=e;return h!==e?n=t.substring(n,o):n=h,n}function gn(){var n;return co.test(t.charAt(o))?(n=t.charAt(o),o++):(n=e,v===0&&Z(Br)),n}function si(){var n,h,T,w,_,y;if(n=o,h=as(),h!==e){for(T=[],w=gn();w!==e;)T.push(w),w=gn();if(T!==e)if(t.charCodeAt(o)===59?(w=It,o++):(w=e,v===0&&Z(cn)),w!==e){for(_=[],y=gn();y!==e;)_.push(y),y=gn();_!==e?(y=si(),y!==e?(ue=n,h=zn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=as(),h!==e&&(ue=n,h=ti(h)),n=h),n}function ka(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=po(h),T?T=void 0:T=e,T!==e){for(w=[],_=Yt();_!==e;)w.push(_),_=Yt();if(w!==e){if(_=o,y=hn(),y!==e){for(R=[],S=si();S!==e;)R.push(S),S=si();R!==e?(ue=_,y=Vt(h,w,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=ri(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function va(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=qi(h),T?T=void 0:T=e,T!==e){for(w=o,_=[],y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?w=t.substring(w,o):w=_,w!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,w),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function xa(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=ni(h),T?T=void 0:T=e,T!==e){for(w=o,_=[],y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?w=t.substring(w,o):w=_,w!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,w),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function Nn(){var n,h,T;if(n=o,h=[],Sn.test(t.charAt(o))?(T=t.charAt(o),o++):(T=e,v===0&&Z(Ni)),T!==e)for(;T!==e;)h.push(T),Sn.test(t.charAt(o))?(T=t.charAt(o),o++):(T=e,v===0&&Z(Ni));else h=e;return h!==e?n=t.substring(n,o):n=h,n}function ls(){var n,h,T;return n=o,t.substr(o,2)===Pn?(h=Pn,o+=2):(h=e,v===0&&Z(z)),h!==e?(T=Nn(),T!==e?(ue=n,h=O(T),n=h):(o=n,n=e)):(o=n,n=e),n}function Ca(){var n,h,T;return n=o,t.substr(o,2)===G?(h=G,o+=2):(h=e,v===0&&Z(ee)),h!==e?(T=Nn(),T!==e?(ue=n,h=te(T),n=h):(o=n,n=e)):(o=n,n=e),n}function Aa(){var n,h,T;return n=o,t.substr(o,2)===pe?(h=pe,o+=2):(h=e,v===0&&Z(Ae)),h!==e?(T=Nn(),T!==e?(ue=n,h=Oe(T),n=h):(o=n,n=e)):(o=n,n=e),n}function Ea(){var n,h,T,w,_,y;if(n=o,h=o,T=o,t.substr(o,2)===je?(w=je,o+=2):(w=e,v===0&&Z(gt)),w!==e){if(_=[],Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(nt)),y!==e)for(;y!==e;)_.push(y),Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(nt));else _=e;_!==e?(w=[w,_],T=w):(o=T,T=e)}else o=T,T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=kt()),n=h,n}function us(){var n,h,T,w;if(n=o,h=o,T=[],lt.test(t.charAt(o))?(w=t.charAt(o),o++):(w=e,v===0&&Z(qe)),w!==e)for(;w!==e;)T.push(w),lt.test(t.charAt(o))?(w=t.charAt(o),o++):(w=e,v===0&&Z(qe));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e?(ue=o,T=mt(),T?T=void 0:T=e,T!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e),n}function _a(){var n,h,T,w,_,y;if(n=o,h=o,T=o,Je.test(t.charAt(o))?(w=t.charAt(o),o++):(w=e,v===0&&Z(Mr)),w!==e){if(_=[],Lt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(Ht)),y!==e)for(;y!==e;)_.push(y),Lt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(Ht));else _=e;_!==e?(w=[w,_],T=w):(o=T,T=e)}else o=T,T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Qe(h)),n=h,n}function fs(){var n,h,T;return n=o,h=Di(),h!==e?(T=Ca(),T===e&&(T=ls(),T===e&&(T=Aa(),T===e&&(T=Ea(),T===e&&(T=Nn())))),T!==e?(ue=n,h=jt(T),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(T=us(),T!==e?(ue=n,h=Qt(T),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(T=_a(),T!==e?(ue=n,h=kr(T),n=h):(o=n,n=e)):(o=n,n=e))),n}function cs(){var n,h,T,w,_,y;if(n=o,h=fs(),h!==e){for(T=[],w=gn();w!==e;)T.push(w),w=gn();if(T!==e)if(t.charCodeAt(o)===59?(w=It,o++):(w=e,v===0&&Z(cn)),w!==e){for(_=[],y=gn();y!==e;)_.push(y),y=gn();_!==e?(y=cs(),y!==e?(ue=n,h=zn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=fs(),h!==e&&(ue=n,h=ti(h)),n=h),n}function Sa(){var n,h,T,w,_;return n=o,h=tn(),h!==e?(ue=o,T=zr(h),T?T=void 0:T=e,T!==e?(w=o,_=cs(),_!==e&&(ue=w,_=vr(h,_)),w=_,w===e&&(w=null),w!==e?(_=Pe(),_!==e?(ue=n,h=pn(h,w),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function tn(){var n,h,T;return n=o,h=o,T=en(),T!==e?h=t.substring(h,o):h=T,h!==e?(t.charCodeAt(o)===60?(T=Ge,o++):(T=e,v===0&&Z(Ke)),T!==e?(ue=n,h=Tn(h),n=h):(o=n,n=e)):(o=n,n=e),n}function Et(){var n,h,T,w;return n=o,h=o,T=en(),T!==e?h=t.substring(h,o):h=T,h!==e?(T=o,t.charCodeAt(o)===60?(w=Ge,o++):(w=e,v===0&&Z(Ke)),w===e&&(t.charCodeAt(o)===171?(w=ze,o++):(w=e,v===0&&Z(Ve))),w!==e?T=t.substring(T,o):T=w,T!==e?(ue=n,h=Fn(h,T),n=h):(o=n,n=e)):(o=n,n=e),n}function Pe(){var n;return t.charCodeAt(o)===62?(n=at,o++):(n=e,v===0&&Z(We)),n===e&&(t.charCodeAt(o)===187?(n=ct,o++):(n=e,v===0&&Z(pt))),n}function Li(){var n,h,T,w,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=Et(),h!==e)if(ue=o,T=Qr(h),T?T=void 0:T=e,T!==e){if(w=[],_=qn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y}for(;_!==e;)if(w.push(_),_=qn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y}w!==e?(_=Pe(),_!==e?(ue=o,y=Xr(h,w,_),y?y=void 0:y=e,y!==e?(ue=n,h=xr(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function Sf(){var n,h,T,w,_;for(n=o,h=[],T=o,w=o,v++,_=Pe(),v--,_===e?w=void 0:(o=w,w=e),w!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,v===0&&Z(ye)),_!==e?(w=[w,_],T=w):(o=T,T=e)):(o=T,T=e);T!==e;)h.push(T),T=o,w=o,v++,_=Pe(),v--,_===e?w=void 0:(o=w,w=e),w!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,v===0&&Z(ye)),_!==e?(w=[w,_],T=w):(o=T,T=e)):(o=T,T=e);return h!==e?n=t.substring(n,o):n=h,n}function er(){var n,h,T,w,_,y,R;if(n=o,h=o,T=[],w=o,t.charCodeAt(o)===60?(_=Ge,o++):(_=e,v===0&&Z(Ke)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===62?(R=at,o++):(R=e,v===0&&Z(We)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,v===0&&Z(Ve)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===187?(R=ct,o++):(R=e,v===0&&Z(pt)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=it(),w===e&&(w=yn()))),w!==e)for(;w!==e;)T.push(w),w=o,t.charCodeAt(o)===60?(_=Ge,o++):(_=e,v===0&&Z(Ke)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===62?(R=at,o++):(R=e,v===0&&Z(We)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,v===0&&Z(Ve)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===187?(R=ct,o++):(R=e,v===0&&Z(pt)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=it(),w===e&&(w=yn())));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Ut(h)),n=h,n}function yn(){var n,h,T,w,_,y,R,S;if(n=o,h=o,T=[],w=o,_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Et(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=it(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w!==e)for(;w!==e;)T.push(w),w=o,_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Et(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=it(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e);else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Ut(h)),n=h,n}function it(){var n,h,T,w,_;return n=o,h=o,T=o,v++,w=en(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(T=Ge,o++):(T=e,v===0&&Z(Ke)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===62?(_=at,o++):(_=e,v===0&&Z(We)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,T=o,v++,w=en(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(T=ze,o++):(T=e,v===0&&Z(Ve)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===187?(_=ct,o++):(_=e,v===0&&Z(pt)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function Dn(n){return n.reduce((h,T)=>Array.isArray(T)?h.concat(Dn(T)):h.concat(T),[])}function Pa(n){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[n]}if(Vr=s(),Vr!==e&&o===t.length)return Vr;throw Vr!==e&&o<t.length&&Z(dn()),mn(Vn,fr<t.length?t.charAt(fr):null,fr<t.length?pr(fr,fr+1):pr(fr,fr))}wd.exports={SyntaxError:Ai,parse:Uw}});var Pd=me((TC,Kw)=>{Kw.exports={name:"@podlite/schema",version:"0.0.34",description:"AST tools for Podlite markup language",main:"./src/index.ts",license:"MIT",funding:{type:"opencollective",url:"https://opencollective.com/podlite"},files:["lib/**/*.js","lib/**/*.d.ts","esm","schema/*","README.md","CHANGELOG.md"],engines:{node:">=14"},engineStrict:!0,publishConfig:{access:"public",main:"lib/index.js",types:"./lib/index.d.ts",module:"./esm/index.js"},scripts:{clean:"rm -rf lib esm *.tsbuildinfo",build:"run-s build:pegjs build_lib build:ast ",build_lib:"yarn g:build","build:ast":"ts-node scripts/make-ast-scheme.ts","build:pegjs":"pegmill -o src/grammar.js src/grammar.pegjs && pegmill -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegmill --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["markdown","podlite","markup","markup-language"],dependencies:{ajv:"^7.2.3",events:"^3.1.0","json-pointer":"^0.6.1",nanoid:"3.1.30",slugify:"^1.6.6"},devDependencies:{"@types/node":"^17.0.7",glob:"^7.2.0","npm-run-all":"^4.1.5",pegmill:"0.1.0","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Od=me((pA,Id)=>{Id.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var zd=me((dA,Md)=>{"use strict";var ea=Object.prototype.hasOwnProperty,Bd=Object.prototype.toString,qd=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,Dd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Bd.call(r)==="[object Array]"},Rd=function(r){if(!r||Bd.call(r)!=="[object Object]")return!1;var e=ea.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&ea.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!i)return!1;var s;for(s in r);return typeof s>"u"||ea.call(r,s)},Ld=function(r,e){qd&&e.name==="__proto__"?qd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},jd=function(r,e){if(e==="__proto__")if(ea.call(r,e)){if(Nd)return Nd(r,e).value}else return;return r[e]};Md.exports=function t(){var r,e,i,s,a,l,f=arguments[0],c=1,m=arguments.length,d=!1;for(typeof f=="boolean"&&(d=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<m;++c)if(r=arguments[c],r!=null)for(e in r)i=jd(f,e),s=jd(r,e),f!==s&&(d&&s&&(Rd(s)||(a=Dd(s)))?(a?(a=!1,l=i&&Dd(i)?i:[]):l=i&&Rd(i)?i:{},Ld(f,{name:e,newValue:t(d,l,s)})):typeof s<"u"&&Ld(f,{name:e,newValue:s}));return f}});var Hd=me((gA,Ud)=>{Ud.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var I0={};Bf(I0,{PluginRegister:()=>T0,default:()=>F0,parseMd:()=>$a,plugin:()=>ba});module.exports=Fh(I0);var Td=Rr(Gp()),Zw=Rr(Jp());var NC=Rr(ed());var Sw=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[r,e]=t.split(":");if(r&&e)return{name:r,type:e};if(!r)return{type:e};if(!e){let i=r.match(/(.+)\<\>/);return i?{type:"fcode",name:i[1]}:{name:r,type:"block"}}return{name:r,type:e}},vi=t=>{let r=Sw(t),{name:e,type:i}=r;return i&&i==="*"?{name:e}:e&&e==="*"?{type:i}:r};function Pw(t,r){function e(s){for(var a in s)if(s.hasOwnProperty(a))return!1;return!0}if(e(t))return!0;for(var i in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(i))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(i)){if(t[i]!==r[i])return!1}else return!1;return!0}var xn=(t,r)=>{return e.rule=t,e.isFor=i,e.fn=r,e;function e(){}function i(s){return typeof s=="string"?!1:Pw(t,s)}},gu=(t,r)=>{if(t instanceof Array)return t.reduce((i,s)=>(i.push(...gu(s)),i),[]);if(t instanceof Object){let i=[];for(var e in t)t.hasOwnProperty(e)&&i.push(xn(vi(e),t[e]));return i}return[xn(vi(t),r)]};var yu=Rr(require("crypto"),1);var td="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Tw=128,xi,io,Fw=t=>{!xi||xi.length<t?(xi=Buffer.allocUnsafe(t*Tw),yu.default.randomFillSync(xi),io=0):io+t>xi.length&&(yu.default.randomFillSync(xi),io=0),io+=t};var rd=(t=21)=>{Fw(t);let r="";for(let e=io-t;e<io;e++)r+=td[xi[e]&63];return r};var oo=t=>({...t}),$u=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},hr=(t,r)=>{let e="block",i=t.name,s={id:rd(),margin:"",...t};var a=oo({type:e,...s,content:$u(r)});return a};var Js=(t,r)=>oo({type:"fcode",...t,content:r}),bu=(t,r)=>oo({...t,type:"fcode",name:"L",content:$u(r)}),nd=t=>oo({type:"fcode",name:"Delete",content:$u(t)}),id=t=>oo({type:"fcode",name:"F",content:[{type:"text",value:t}]}),Ho=t=>oo({type:"verbatim",value:t});var od=t=>({type:"block",name:"caption",content:t}),sd=(t,r)=>({type:"image",src:t,alt:r}),wu=({margin:t=""},r)=>hr({name:"root",margin:t},r);var ad=({value:t,location:r})=>hr({name:"formula",location:r},[Ho(t)]);var ld=(t,r={})=>{let e=t.config instanceof Array?t.config:[],i=[];r.config&&r.config.hasOwnProperty(t.name)&&(i=r.config[t.name]);let s={};[...e,...i].map(l=>{s.hasOwnProperty(l.name)||(s[l.name]=[]),l.type==="array"?s[l.name].push(...l.value):s[l.name].push(l.value)});let a=function(){};return a.exists=l=>s.hasOwnProperty(l),a.getAllValues=l=>a.exists(l)?s[l]:[],a.getFirstValue=l=>a.exists(l)?a.getAllValues(l)[0]:void 0,a.asHash=()=>s,a},gr=ld;var ud=(t,r)=>{let e=gr(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function fd(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(fd(e)):r.concat(e),[]):t}function Iw(t){function r(e,i){if(e==null)return e;if(e instanceof Array)return fd(e.map(l=>r(l,i))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},i);let s=t.slice();s.reverse();let a=s.findIndex(l=>l.isFor(e));if(a!==-1){let l=s.slice(a+1),f=l.findIndex(m=>m.isFor(e)),c=(m=e,d=i,$=r)=>{if(f!==-1)l[f].fn(m,d,$,()=>{});else return};return typeof s[a].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[a].fn(e,i,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,i)}}return r.rules=t,r}var Xs=Iw;var Me=(t,r)=>(e,i)=>(s,a,l)=>{e.writeRaw(t),s.content&&l(s.content,a),e.writeRaw(r)},xt=()=>()=>()=>{},yr=(t,r)=>(e,i,s)=>{if(e.content)return s(e.content,i)},Pr=t=>(r,e)=>(i,s,a)=>t(i,s)(r,e)(i,s,a);var Go=(t,r)=>{let e=gu(t).reverse();return(i,s)=>{let a=e.map(c=>xn(c.rule,c.fn(i,s))).reverse(),l=r(i,s),f;return(c,m,d)=>(f||(f=Xs([...d.rules,...a])),l(c,m,f))}},Tr=(t,r)=>(e,i)=>{let s=t(e,i);return(a,l,f)=>{let c=gr(a,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(a,l,f),c!==void 0&&e.removeLevel(c)}};function Ko(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function cd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(cd(e)):r.concat(e),[])}var Qs=t=>{let r=[];function e(s,a){if(s instanceof Array&&console.warn(`[podlite] Unsupported param for ${s}`),s instanceof Object){for(var l in s)s.hasOwnProperty(l)&&e(l,s[l]);return[]}r.push(xn(vi(s),a))}function i(s,a={}){if(s==null)return s;if(s instanceof Array)return cd(s.map(c=>i(c,a)));if(typeof s=="string")return s;let l=r.slice();l.reverse();let f=l.findIndex(c=>c.isFor(s));if(f!==-1)return l[f].fn(s,a,i);{let c={...s};return c.hasOwnProperty("content")&&(c.content=i(c.content,a)),c}}return e(t),i.rules=r,i},jr=Qs;var pd=Rr(require("events")),ku=class extends pd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(r){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=r,this.ons=[],this.emit("ready")}escape(r){return r}write(r){return this.writeRaw(this.escape(r))}writeRaw(r){typeof this.output=="function"?this.output(r):console.log(r)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(r){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",r),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...r){return this.ons=this.ons||[],this.ons.unshift([...r]),this}endWrite=()=>{this.emit("end")};_add_nesting(r){}_remove_nesting(r){}addLevel(r){this._add_nesting(r)}removeLevel(r){this._remove_nesting(r)}},Wo=ku;var so=(t={},r=[])=>{let e=r,i=t.processor||dd,s=t.writer;return a.use=l,a.run=f,a.getPlugins=()=>e,a;function a(c){}function l(c,m){if(c instanceof Array)return so(t,[...e,...m]);if(c instanceof Object){for(var d in c)c.hasOwnProperty(d)&&l(d,c[d]);return a}return e.push(xn(vi(c),m)),a}function f(c,m){let d="",$=m||s||new Wo(X=>{d=d+X}),E=typeof $=="function"?new $(X=>{d=d+X}):$,k=typeof c=="string"?i(c):c,x=e.slice();x.reverse();let I=Xs(x.map(X=>xn(X.rule,X.fn(E,i,k))).reverse()),N={};E.startWrite(k);let B=I(k,N);return E.endWrite(),{errors:E.errors,toString:()=>d,valueOf:()=>d,indexingTerms:E.INDEXTERMS,annotations:E.FOOTNOTES,defenitions:E.DEFINITIONS,interator:B}}};var md=()=>t=>jr({"*":(e,i,s)=>(e.content&&(e.content=s(e.content,i,s)),delete e.location,e)})(t,{}),Ys=md;var Rx={":text":(t,r)=>(e,i,s)=>{e.value?t.write(e.value):s(e.content,i)},"A<>":(t,r)=>(e,i,s)=>{if(!(i.alias&&i.alias.hasOwnProperty(e.content)))t.writeRaw(`A<${e.content}>`);else{let a=i.alias[e.content].join(`
15
+ `),l=r(a),f=Ys()(l);f[0].type==="para"?s(f[0].content,i):s(f,i)}},"C<>":Me("`","`"),"D<>":(t,r)=>(e,i,s)=>{t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:[e.content[0]]}),t.writeRaw("**"),s(e.content,i),t.writeRaw("**")},"B<>":Me("**","**"),"I<>":Me("*","*"),"R<>":Me("*","*"),"K<>":Me("`","`"),"L<>":Pr((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Me("[",`](${e})`)}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw(`
16
+
17
+ ---
18
+
19
+ `),e.map(i=>{t.writeRaw(`[^${i.gid}]: `),i.make(),t.writeRaw(`
20
+ `)}))}),(e,i,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let a=t.gid++;t.writeRaw(`[^${a}]`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:a,fnRefId:`fnref:${a}`,fnId:`fn:${a}`,make:()=>{s(e.content,i)}})}),"S<>":(t,r)=>(e,i,s)=>{let a=e.content||"";t.writeRaw(a.replace(/ /g,"&nbsp;").replace(/\n/g,`
21
+ `))},"T<>":Me("`","`"),"U<>":Me("",""),"V<>":yr,"X<>":(t,r)=>(e,i,s)=>{s(e.content,i);let{entry:a}=e;if(a===null&&e.content.length>0)a=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:a})},"Z<>":xt,pod:yr,":code":(t,r)=>(e,i,s)=>{let a=gr(e,i),l=a.exists("lang")?a.getFirstValue("lang"):"";t.writeRaw("```"+l+`
22
+ `),e.content&&e.content.forEach(f=>{typeof f=="string"?t.writeRaw(f):f.type==="verbatim"?t.writeRaw(f.value):s([f],i)}),t.writeRaw("```\n")},code:Tr((t,r)=>(e,i,s)=>{let a=gr(e,i),l=a.exists("lang")?a.getFirstValue("lang"):"";t.writeRaw("```"+l+`
23
+ `),e.content&&e.content.forEach(f=>{typeof f=="string"?t.writeRaw(f):f.type==="verbatim"?t.writeRaw(f.value):s([f],i)}),t.writeRaw("```\n")}),data:xt,":verbatim":(t,r)=>(e,i,s)=>{e.error&&t.emit("errors",e.location),t.writeRaw(e.value)},":blankline":xt,":ambient":xt,":config":Pr((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,xt)),":alias":Pr((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,xt)),para:Tr(yr),":para":(t,r)=>(e,i,s)=>{e.content&&s(e.content,i),t.writeRaw(`
24
+ `)},"head:block":Go({":para":yr},Pr((t,r)=>{let{level:e}=t,i="#".repeat(e)+" ";return(s,a)=>(l,f,c)=>{s.writeRaw(i),l.content&&c(l.content,f),s.writeRaw(`
25
+ `)}})),":list":Pr((t,r)=>(e,i)=>(s,a,l)=>{let f={...a,listType:s.list,listCounter:{value:1},listDepth:(a.listDepth||0)+1};s.content&&l(s.content,f)}),"item:block":(t,r)=>(e,i,s)=>{let a=" ".repeat(Math.max(0,(i.listDepth||1)-1)),l=i.listType||"unordered",f;if(l==="ordered"){let c=i.listCounter||{value:1};f=`${c.value}. `,c.value++}else f="- ";t.writeRaw(a+f),e.content&&s(e.content,i)},"comment:block":xt,defn:(t,r)=>(e,i,s)=>{e.content&&s(e.content,i),t.writeRaw(`
26
+ `)},"term:para":(t,r)=>(e,i,s)=>{t.writeRaw("**"),e.content&&s(e.content,i),t.writeRaw(":** ")},nested:Tr(yr,1),output:Tr((t,r)=>(e,i,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,i),t.writeRaw("```\n")},1),input:Tr((t,r)=>(e,i,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,i),t.writeRaw("```\n")},1),"table:block":Tr((t,r)=>(e,i,s)=>{let a=gr(e,i);a.exists("caption")&&(t.writeRaw("**"),t.write(a.getFirstValue("caption")),t.writeRaw(`**
27
+
28
+ `));let l=(e.content||[]).filter(c=>c.name==="table_row"||c.name==="table_head");if(l.length===0)return;let f=l[0].name==="table_head";l.forEach((c,m)=>{let d=(c.content||[]).filter($=>$.name==="table_cell");t.writeRaw("|"),d.forEach($=>{t.writeRaw(" "),$.content&&$.content.forEach(E=>{typeof E=="string"?t.write(E.trim()):s([E],i)}),t.writeRaw(" |")}),t.writeRaw(`
29
+ `),m===0&&f&&(t.writeRaw("|"),d.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
30
+ `)),m===0&&!f&&(t.writeRaw("|"),d.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
31
+ `))}),t.writeRaw(`
32
+ `)}),":separator":xt,table_row:xt,table_cell:xt,table_head:xt,":toc":xt,":toc-list":xt,":toc-item":xt,":image":(t,r)=>(e,i,s)=>{t.writeRaw(`![${e.alt||""}](${e.src})`)}};var qw=Rr(hd());var Fd=Rr($d());var zw=()=>t=>{let r=(i,s={})=>{if((i.type=="code"||i.type=="text")&&(i.margin&&s.margin&&s.margin.length>0&&s.margin.length==i.margin.length&&(i.type="para"),i.type==="code")){var a=new RegExp(`^[ ]{0,${i.margin.length}}`,"gm");i.text=i.text.replace(a,"")}if(i.type==="block"){s.margin=typeof i.margin!="string"?"":i.margin;let l={...s};l.nest=(l.nest||0)+1,i.content.map(f=>{r(f,s)})}};var e={};return t.forEach(i=>r(i,e)),t},bd=zw;var Zo=Rr(kd());var Hw=()=>t=>{let r=jr({":para":(e,i,s)=>jr({":text":(a,l)=>Zo.parse(a.value),":verbatim":(a,l)=>Zo.parse(a.value)})(e,{...i}),":block":(e,i,s)=>{if("name"in e&&e.name==="pod")return{...e,content:s(e.content,i,s)};let a=gr(e,i),l="name"in e&&e.name==="code",f="name"in e&&e.name==="data",c="name"in e&&e.name==="markdown",m="name"in e&&e.name==="picture",d="name"in e&&e.name==="formula",$=[...a.getAllValues("allow"),...l?["NONE"]:[]];if(Ko(e.name)||(l||f||c||m||d)&&$.length==0)return e;let E=$.sort(),k=jr({":verbatim":(x,I)=>E.length==1&&E.includes("NONE")?x:Zo.parse(x.value,{allowed:E}),":text":(x,I)=>Zo.parse(x.value,{allowed:E}),":block":(x,I)=>r(x,{...I})});return{...e,content:k(e.content,{...i})}}});return r(t,{})},vd=Hw;var xd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^item(\d+)?/.exec(e.name);if(i){e.name="item",e.level=i[1]||1;let s=(e.config||[]).find(a=>a.name==="checked");if(s&&(e.checked=s.value!==!1&&s.value!==0&&s.value!=="0"),e.content[0]){let a=e.content[0];if(a.text){if(!s){let c=/^\[( |x)\]\s*/,m=c.exec(a.text);m&&(e.checked=m[1]==="x",a.text=a.text.replace(c,""),a.type==="para"&&(a.content=[a.text]),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let l=/^(\s*#\s*)/;l.exec(a.text)&&(a.text=a.text.replace(l,""),a.type==="para"&&(a.content=[a.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}r(e.content)}};return r(t),t};var Cd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^head(\d+)?/.exec(e.name);if(i&&(e.name="head",e.level=i[1]||1,e.content[0])){let s=e.content[0];if(s.text){let a=/(\s*#\s*)/;a.exec(s.text)&&(s.text=s.text.replace(a,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Ad=()=>t=>{let r=(a,l)=>(a.name==="item"||a.name==="defn")&&l.name===a.name&&a.level===l.level&&e(a)===e(l),e=a=>Boolean(a.config&&a.config.numbered),i=a=>{let l={};return a.reduce((c,m)=>(m.name==="defn"?r(l,m)?c[c.length-1].push(m):c.push([m]):c.push(m),l=m,c),[]).map(c=>c instanceof Array?c[0].name!=="defn"?c:{type:"list",list:c[0].name==="defn"?"variable":e(c[0])?"ordered":"itemized",level:1,content:[...c]}:(c.content&&c.type!=="fcode"&&(c.content=i(c.content)),c))};return t=(a=>Array.isArray(a)?i(a):(a.type==="block"&&a.name!=="table"&&(a.content=i(a.content)),a))(t),t};var Ed=()=>t=>{let r=(l,f)=>(l.name==="item"||l.name==="defn")&&f.name===l.name&&l.level===f.level&&e(l)===e(f)&&i(l)===i(f),e=l=>Boolean(gr(l,{}).exists("numbered")),i=l=>l.checked!==void 0,s=(l,f=1)=>{let c=k=>k.length>0&&k[k.length-1].type==="list",m=k=>{if(c(k))return k[k.length-1]},d=(k,x)=>x.name&&x.name==="item"&&x.type&&x.type==="block"||x.type==="blankline",$={};return l.reduce((k,x)=>x.name==="item"&&x.type==="block"&&x.level<f?[...k,x]:(x.name==="item"&&x.type==="block"&&(!c(k)||Number(x.level)===f&&m(k).list!==(e(x)?"ordered":i(x)?"task":"itemized"))&&k.push({type:"list",level:x.level,content:[],list:e(x)?"ordered":i(x)?"task":"itemized"}),c(k)&&d(m(k),x)?m(k).content.push(x):k.push(x),k),[]).map(k=>(k.content&&k.type!=="fcode"&&(k.content=s(k.content,Number(k.level||0)+1)),k))};return t=(l=>(Array.isArray(l)?l=s(l):l.type==="block"&&l.name!=="table"&&(l.content=s(l.content)),l))(t),t};var _d=()=>t=>jr({defn:e=>{let i=e.content,s=i.length,a=[],l=!1;for(let f=0;f<s;f++){let c=i[f];if(c.type==="para"&&!l){let m=c.content[0],$=m.value.split(`
33
+ `),E=$.shift(),k={type:"para",name:"term",text:E,content:[{type:"text",value:E}]};a.push(k),$.length==1&&$[0]===""||(m.value=$.join(`
34
+ `),c.text=m.value,a.push(c)),l=!0}else a.push(c)}return e.content=a,e}})(t,{});function Jo(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(Jo(e)):r.concat(e),[])}var Cu=(t,r,e)=>{let i=[];for(let s=0;t.length>s;s++)i.push(e(parseInt(t[s],10),parseInt(r[s],10)));return i.join("")},Gw=(t,r)=>{let e=Math.max(...[...t,...r].map(l=>l.length));return t.map(l=>{let f=l+" ".repeat(e-l.length),c=[],m=/\s+[+|\s]\s/g,d;for(;(d=m.exec(f))!=null;){let $="1".repeat(d.index)+"0".repeat(d[0].length);c.push($+"1".repeat(e-$.length))}return c.reduce(($,E)=>Cu($,E,(k,x)=>k&x),"1".repeat(e))}).map(l=>Cu(l,"",f=>f==0?1:0)).reduce((l,f)=>Cu(l,f,(c,m)=>c&m),"1".repeat(e))},Au=(t,r)=>{let i=Jo(t.split(/\n/).filter(a=>a.length>0)).map(a=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;){if(c[0][0]==1)continue;let m=a.substring(c.index,c.index+c[0].length);f.push(m)}return f}),s=[];return s=i.reduce((a,l)=>{for(let f=0;f<l.length;f++)a[f]=(a[f]===void 0?"":a[f])+" "+l[f];return a},[]),s},Sd=()=>t=>jr({table:e=>{let i=[],s=k=>{i.push(k.value)},a=[];if(jr({"row:text":s,"head:text":s,":separator":k=>{a.push(k.text)}})(e),!i.length)return e;let l=k=>k.split(/\n/).filter(x=>x.length>0),f=Jo(i.map(l)),c=Jo(a.map(l)),m=[];jr({"row:text":k=>{m.push(k.value)}})(e);let d=Gw(f,c),$=(k,x,...I)=>({...I,name:k,type:"block",content:Array.isArray(x)?x:[x]});return jr({"row:text":k=>{if(m.length==1)return Jo([k.value].map(l)).map(N=>{let B=Au(N,d);return $("table_row",B.map(X=>$("table_cell",{type:"text",value:X})))});let x=Au(k.value,d);return $("table_row",x.map(I=>$("table_cell",{type:"text",value:I})))},"head:text":k=>{let x=Au(k.value,d);return $("table_head",x.map(I=>$("table_cell",{type:"text",value:I})))}})(e)}})(t,{});var SC={":text":(t,r)=>(e,i,s)=>{e.value?t.write(e.value):s(e.content,i)},"A<>":(t,r)=>(e,i,s)=>{if(!(i.alias&&i.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let a=i.alias[e.content].join(`
35
+ `),l=r(a),f=Ys()(l);f[0].type==="para"?s(f[0].content,i):s(f,i)}},"C<>":Me("<code>","</code>"),"D<>":(t,r)=>(e,i,s)=>{let a={node:e},l=[e.content[0]];a&&(l=a),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),s(e.content,i),t.writeRaw("</dfn>")},"B<>":Me("<strong>","</strong>"),"I<>":Me("<em>","</em>"),"R<>":Me("<var>","</var>"),"K<>":Me("<kbd>","</kbd>"),"L<>":Pr((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Me(`<a href="${e}">`,"</a>")}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw('<div class="footnotes">'),e.map(i=>{t.writeRaw(`<p><sup id="${i.fnId}" class="footnote"><a href="#${i.fnRefId}">[${i.gid}]</a></sup> `),i.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,i,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let a=t.gid++,l=`fnref:${a}`,f=`fn:${a}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${a}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:a,fnRefId:l,fnId:f,make:()=>{s(e.content,i)}})}),"S<>":(t,r)=>(e,i,s)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":Me("<samp>","</samp>"),"U<>":Me("<u>","</u>"),"V<>":yr,"X<>":(t,r)=>(e,i,s)=>{s(e.content,i);let{entry:a}=e;if(a===null&&e.content.length>0)a=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:a})},"Z<>":xt,pod:yr,":code":Me("<pre><code>","</code></pre>"),code:Tr(Me("<pre><code>","</code></pre>")),data:xt,":verbatim":(t,r)=>(e,i,s)=>{e.error&&t.emit("errors",e.location),s(e.value)},":blankline":xt,":ambient":xt,":config":Pr((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,xt)),":alias":Pr((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,xt)),para:Tr(yr),":para":Me("<p>","</p>"),"head:block":Go({":para":yr},Pr((t,r)=>{let{level:e}=t,i=ud(t,r);return Me(`<h${e}${i?` id="${i}"`:""}>`,`</h${e}>`)})),":list":Pr((t,r)=>t.list==="ordered"?Me("<ol>","</ol>"):t.list==="variable"?Me("<dl>","</dl>"):t.list==="task"?Me('<ul class="task-list">',"</ul>"):Me("<ul>","</ul>")),"item:block":(t,r)=>(e,i,s)=>{e.content instanceof Array||console.error("[pod6] item:block : Error in content of "+JSON.stringify(e)),e.checked!==void 0?(t.writeRaw('<li class="task-list-item">'),t.writeRaw(e.checked?'<input type="checkbox" disabled checked> ':'<input type="checkbox" disabled> ')):t.writeRaw("<li>"),s(e.content,i),t.writeRaw("</li>")},"comment:block":xt,defn:Me("","</dd>"),"term:para":Me("<dt>","</dt><dd>"),nested:Tr(yr,1),output:Tr(Me("<pre><samp>","</samp></pre>"),1),input:Tr(Me("<pre><kbd>","</kbd></pre>"),1),"table:block":Tr((t,r)=>(e,i,s)=>{let a=gr(e,i);t.writeRaw("<table>"),a.exists("caption")&&(t.writeRaw("<caption>"),t.write(a.getFirstValue("caption")),t.writeRaw("</caption>")),s(e.content,i),t.writeRaw("</table>")}),":separator":xt,table_row:Me("<tr>","</tr>"),table_cell:Me("<td>","</td>"),table_head:Go({table_cell:Me("<th>","</th>")},Me("<tr>","</tr>")),":toc":(t,r)=>(e,i,s)=>{t.writeRaw('<div className="toc">');let a=gr(e,i);if(a.exists("title")){let l=a.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}s(e.content,i),t.writeRaw("</div>")},":toc-list":Pr((t,r)=>Me(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Pr((t,r)=>Me('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,i,s)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var HC=new Td.default({strict:!0,allowUnionTypes:!0});function gd(){var t=[];return r.use=e,r.parse=i,r.use(bd),r.use(xd),r.use(Cd),r.use(_d),r.use(Sd),r.use(vd),r.use(Ed),r.use(Ad),r;function r(){}function e(s){if(!["function"].includes(typeof s))throw s;return t.push(s),r}function i(s,a={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=a,c=Fd.parse(s,{podMode:f});if(!l)for(let m=0;m<t.length;m++){let d=t[m];c=d(a)(c)}return c}}var dd=gd().parse;var{version:GC}=Pd();function Eu(t){if(t)throw t}var Yd=Rr(Od(),1),Du=Rr(zd(),1);function Qo(t){if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vd(){let t=[],r={run:e,use:i};return r;function e(...s){let a=-1,l=s.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...s);function f(c,...m){let d=t[++a],$=-1;if(c){l(c);return}for(;++$<s.length;)(m[$]===null||m[$]===void 0)&&(m[$]=s[$]);s=m,d?Jw(d,f)(...m):l(null,...m)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),r}}function Jw(t,r){let e;return i;function i(...l){let f=t.length>l.length,c;f&&l.push(s);try{c=t.apply(this,l)}catch(m){let d=m;if(f&&e)throw d;return s(d)}f||(c instanceof Promise?c.then(a,s):c instanceof Error?s(c):a(c))}function s(l,...f){e||(e=!0,r(l,...f))}function a(l){s(null,l)}}var Zd=Rr(Hd(),1);function Ei(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Gd(t.position):"start"in t||"end"in t?Gd(t):"line"in t||"column"in t?_u(t):""}function _u(t){return Kd(t&&t.line)+":"+Kd(t&&t.column)}function Gd(t){return _u(t&&t.start)+"-"+_u(t&&t.end)}function Kd(t){return t&&typeof t=="number"?t:1}var $r=class extends Error{constructor(r,e,i){let s=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(i=e,e=void 0),typeof i=="string"){let l=i.indexOf(":");l===-1?s[1]=i:(s[0]=i.slice(0,l),s[1]=i.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(a=e.position):"start"in e||"end"in e?a=e:("line"in e||"column"in e)&&(a.start=e)),this.name=Ei(e)||"1:1",this.message=typeof r=="object"?r.message:r,this.stack=typeof r=="object"?r.stack:"",this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.source=s[0],this.ruleId=s[1],this.position=a,this.actual,this.expected,this.file,this.url,this.note}};$r.prototype.file="";$r.prototype.name="";$r.prototype.reason="";$r.prototype.message="";$r.prototype.stack="";$r.prototype.fatal=null;$r.prototype.column=null;$r.prototype.line=null;$r.prototype.source=null;$r.prototype.ruleId=null;$r.prototype.position=null;var Wr=Rr(require("path"),1);var Su=Rr(require("process"),1);var Pu=require("url");function ta(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var Tu=["history","path","basename","stem","extname","dirname"],Xo=class{constructor(r){let e;r?typeof r=="string"||(0,Zd.default)(r)?e={value:r}:ta(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=Su.default.cwd(),this.value,this.stored,this.result,this.map;let i=-1;for(;++i<Tu.length;){let a=Tu[i];a in e&&e[a]!==void 0&&(this[a]=a==="history"?[...e[a]]:e[a])}let s;for(s in e)Tu.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(r){ta(r)&&(r=(0,Pu.fileURLToPath)(r)),Iu(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?Wr.default.dirname(this.path):void 0}set dirname(r){Wd(this.basename,"dirname"),this.path=Wr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Wr.default.basename(this.path):void 0}set basename(r){Iu(r,"basename"),Fu(r,"basename"),this.path=Wr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Wr.default.extname(this.path):void 0}set extname(r){if(Fu(r,"extname"),Wd(this.dirname,"extname"),r){if(r.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Wr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Wr.default.basename(this.path,this.extname):void 0}set stem(r){Iu(r,"stem"),Fu(r,"stem"),this.path=Wr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,i){let s=new $r(r,e,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(r,e,i){let s=this.message(r,e,i);return s.fatal=null,s}fail(r,e,i){let s=this.message(r,e,i);throw s.fatal=!0,s}};function Fu(t,r){if(t&&t.includes(Wr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Wr.default.sep+"`")}function Iu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Wd(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Ru=tm().freeze(),em={}.hasOwnProperty;function tm(){let t=Vd(),r=[],e={},i,s=-1;return a.data=l,a.Parser=void 0,a.Compiler=void 0,a.freeze=f,a.attachers=r,a.use=c,a.parse=m,a.stringify=d,a.run=$,a.runSync=E,a.process=k,a.processSync=x,a;function a(){let I=tm(),N=-1;for(;++N<r.length;)I.use(...r[N]);return I.data((0,Du.default)(!0,{},e)),I}function l(I,N){return typeof I=="string"?arguments.length===2?(Nu("data",i),e[I]=N,a):em.call(e,I)&&e[I]||null:I?(Nu("data",i),e=I,a):e}function f(){if(i)return a;for(;++s<r.length;){let[I,...N]=r[s];if(N[0]===!1)continue;N[0]===!0&&(N[0]=void 0);let B=I.call(a,...N);typeof B=="function"&&t.use(B)}return i=!0,s=Number.POSITIVE_INFINITY,a}function c(I,...N){let B;if(Nu("use",i),I!=null)if(typeof I=="function")he(I,...N);else if(typeof I=="object")Array.isArray(I)?$e(I):se(I);else throw new TypeError("Expected usable value, not `"+I+"`");return B&&(e.settings=Object.assign(e.settings||{},B)),a;function X(ne){if(typeof ne=="function")he(ne);else if(typeof ne=="object")if(Array.isArray(ne)){let[be,...xe]=ne;he(be,...xe)}else se(ne);else throw new TypeError("Expected usable value, not `"+ne+"`")}function se(ne){$e(ne.plugins),ne.settings&&(B=Object.assign(B||{},ne.settings))}function $e(ne){let be=-1;if(ne!=null)if(Array.isArray(ne))for(;++be<ne.length;){let xe=ne[be];X(xe)}else throw new TypeError("Expected a list of plugins, not `"+ne+"`")}function he(ne,be){let xe=-1,ke;for(;++xe<r.length;)if(r[xe][0]===ne){ke=r[xe];break}ke?(Qo(ke[1])&&Qo(be)&&(be=(0,Du.default)(!0,ke[1],be)),ke[1]=be):r.push([...arguments])}}function m(I){a.freeze();let N=Yo(I),B=a.Parser;return Ou("parse",B),Jd(B,"parse")?new B(String(N),N).parse():B(String(N),N)}function d(I,N){a.freeze();let B=Yo(N),X=a.Compiler;return qu("stringify",X),Qd(I),Jd(X,"compile")?new X(I,B).compile():X(I,B)}function $(I,N,B){if(Qd(I),a.freeze(),!B&&typeof N=="function"&&(B=N,N=void 0),!B)return new Promise(X);X(null,B);function X(se,$e){t.run(I,Yo(N),he);function he(ne,be,xe){be=be||I,ne?$e(ne):se?se(be):B(null,be,xe)}}}function E(I,N){let B,X;return a.run(I,N,se),Xd("runSync","run",X),B;function se($e,he){Eu($e),B=he,X=!0}}function k(I,N){if(a.freeze(),Ou("process",a.Parser),qu("process",a.Compiler),!N)return new Promise(B);B(null,N);function B(X,se){let $e=Yo(I);a.run(a.parse($e),$e,(ne,be,xe)=>{if(ne||!be||!xe)he(ne);else{let ke=a.stringify(be,xe);ke==null||(Yw(ke)?xe.value=ke:xe.result=ke),he(ne,xe)}});function he(ne,be){ne||!be?se(ne):X?X(be):N(null,be)}}}function x(I){let N;a.freeze(),Ou("processSync",a.Parser),qu("processSync",a.Compiler);let B=Yo(I);return a.process(B,X),Xd("processSync","process",N),B;function X(se){N=!0,Eu(se)}}}function Jd(t,r){return typeof t=="function"&&t.prototype&&(Qw(t.prototype)||r in t.prototype)}function Qw(t){let r;for(r in t)if(em.call(t,r))return!0;return!1}function Ou(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function qu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function Nu(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Qd(t){if(!Qo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Xd(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Yo(t){return Xw(t)?t:new Xo(t)}function Xw(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Yw(t){return typeof t=="string"||(0,Yd.default)(t)}function nm(t,r){var{includeImageAlt:e=!0}=r||{};return im(t,e)}function im(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&rm(t.children,r)||Array.isArray(t)&&rm(t,r))||""}function rm(t,r){for(var e=[],i=-1;++i<t.length;)e[i]=im(t[i],r);return e.join("")}function Ft(t,r,e,i){let s=t.length,a=0,l;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,e=e>0?e:0,i.length<1e4)l=Array.from(i),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);a<i.length;)l=i.slice(a,a+1e4),l.unshift(r,0),[].splice.apply(t,l),a+=1e4,r+=1e4}function br(t,r){return t.length>0?(Ft(t,t.length,0,r),t):r}var om={}.hasOwnProperty;function ra(t){let r={},e=-1;for(;++e<t.length;)ek(r,t[e]);return r}function ek(t,r){let e;for(e in r){let s=(om.call(t,e)?t[e]:void 0)||(t[e]={}),a=r[e],l;for(l in a){om.call(s,l)||(s[l]=[]);let f=a[l];tk(s[l],Array.isArray(f)?f:f?[f]:[])}}}function tk(t,r){let e=-1,i=[];for(;++e<r.length;)(r[e].add==="after"?t:i).push(r[e]);Ft(t,0,0,i)}var sm=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var sr=Xn(/[A-Za-z]/),_i=Xn(/\d/),am=Xn(/[\dA-Fa-f]/),Mt=Xn(/[\dA-Za-z]/),lm=Xn(/[!-/:-@[-`{-~]/),Lu=Xn(/[#-'*+\--9=?A-Z^-~]/);function Qn(t){return t!==null&&(t<32||t===127)}function et(t){return t!==null&&(t<0||t===32)}function fe(t){return t!==null&&t<-2}function Re(t){return t===-2||t===-1||t===32}var Si=Xn(/\s/),Pi=Xn(sm);function Xn(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function ve(t,r,e,i){let s=i?i-1:Number.POSITIVE_INFINITY,a=0;return l;function l(c){return Re(c)?(t.enter(e),f(c)):r(c)}function f(c){return Re(c)&&a++<s?(t.consume(c),f):(t.exit(e),r(c))}}var um={tokenize:rk};function rk(t){let r=t.attempt(this.parser.constructs.contentInitial,i,s),e;return r;function i(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),ve(t,r,"linePrefix")}function s(f){return t.enter("paragraph"),a(f)}function a(f){let c=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=c),e=c,l(f)}function l(f){if(f===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(f);return}return fe(f)?(t.consume(f),t.exit("chunkText"),a):(t.consume(f),l)}}var cm={tokenize:nk},fm={tokenize:ik};function nk(t){let r=this,e=[],i=0,s,a,l;return f;function f(se){if(i<e.length){let $e=e[i];return r.containerState=$e[1],t.attempt($e[0].continuation,c,m)(se)}return m(se)}function c(se){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&X();let $e=r.events.length,he=$e,ne;for(;he--;)if(r.events[he][0]==="exit"&&r.events[he][1].type==="chunkFlow"){ne=r.events[he][1].end;break}B(i);let be=$e;for(;be<r.events.length;)r.events[be][1].end=Object.assign({},ne),be++;return Ft(r.events,he+1,0,r.events.slice($e)),r.events.length=be,m(se)}return f(se)}function m(se){if(i===e.length){if(!s)return E(se);if(s.currentConstruct&&s.currentConstruct.concrete)return x(se);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(fm,d,$)(se)}function d(se){return s&&X(),B(i),E(se)}function $(se){return r.parser.lazy[r.now().line]=i!==e.length,l=r.now().offset,x(se)}function E(se){return r.containerState={},t.attempt(fm,k,x)(se)}function k(se){return i++,e.push([r.currentConstruct,r.containerState]),E(se)}function x(se){if(se===null){s&&X(),B(0),t.consume(se);return}return s=s||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:s}),I(se)}function I(se){if(se===null){N(t.exit("chunkFlow"),!0),B(0),t.consume(se);return}return fe(se)?(t.consume(se),N(t.exit("chunkFlow")),i=0,r.interrupt=void 0,f):(t.consume(se),I)}function N(se,$e){let he=r.sliceStream(se);if($e&&he.push(null),se.previous=a,a&&(a.next=se),a=se,s.defineSkip(se.start),s.write(he),r.parser.lazy[se.start.line]){let ne=s.events.length;for(;ne--;)if(s.events[ne][1].start.offset<l&&(!s.events[ne][1].end||s.events[ne][1].end.offset>l))return;let be=r.events.length,xe=be,ke,Le;for(;xe--;)if(r.events[xe][0]==="exit"&&r.events[xe][1].type==="chunkFlow"){if(ke){Le=r.events[xe][1].end;break}ke=!0}for(B(i),ne=be;ne<r.events.length;)r.events[ne][1].end=Object.assign({},Le),ne++;Ft(r.events,xe+1,0,r.events.slice(be)),r.events.length=ne}}function B(se){let $e=e.length;for(;$e-- >se;){let he=e[$e];r.containerState=he[1],he[0].exit.call(r,t)}e.length=se}function X(){s.write([null]),a=void 0,s=void 0,r.containerState._closeFlow=void 0}}function ik(t,r,e){return ve(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ao(t){if(t===null||et(t)||Si(t))return 1;if(Pi(t))return 2}function Yn(t,r,e){let i=[],s=-1;for(;++s<t.length;){let a=t[s].resolveAll;a&&!i.includes(a)&&(r=a(r,e),i.push(a))}return r}var es={name:"attention",tokenize:sk,resolveAll:ok};function ok(t,r){let e=-1,i,s,a,l,f,c,m,d;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(i=e;i--;)if(t[i][0]==="exit"&&t[i][1].type==="attentionSequence"&&t[i][1]._open&&r.sliceSerialize(t[i][1]).charCodeAt(0)===r.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[i][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[i][1].end.offset-t[i][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;c=t[i][1].end.offset-t[i][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let $=Object.assign({},t[i][1].end),E=Object.assign({},t[e][1].start);pm($,-c),pm(E,c),l={type:c>1?"strongSequence":"emphasisSequence",start:$,end:Object.assign({},t[i][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:E},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[e][1].start)},s={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},f.end)},t[i][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),m=[],t[i][1].end.offset-t[i][1].start.offset&&(m=br(m,[["enter",t[i][1],r],["exit",t[i][1],r]])),m=br(m,[["enter",s,r],["enter",l,r],["exit",l,r],["enter",a,r]]),m=br(m,Yn(r.parser.constructs.insideSpan.null,t.slice(i+1,e),r)),m=br(m,[["exit",a,r],["enter",f,r],["exit",f,r],["exit",s,r]]),t[e][1].end.offset-t[e][1].start.offset?(d=2,m=br(m,[["enter",t[e][1],r],["exit",t[e][1],r]])):d=0,Ft(t,i-1,e-i+3,m),e=i+m.length-d-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function sk(t,r){let e=this.parser.constructs.attentionMarkers.null,i=this.previous,s=ao(i),a;return l;function l(c){return t.enter("attentionSequence"),a=c,f(c)}function f(c){if(c===a)return t.consume(c),f;let m=t.exit("attentionSequence"),d=ao(c),$=!d||d===2&&s||e.includes(c),E=!s||s===2&&d||e.includes(i);return m._open=Boolean(a===42?$:$&&(s||!E)),m._close=Boolean(a===42?E:E&&(d||!$)),r(c)}}function pm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var ju={name:"autolink",tokenize:ak};function ak(t,r,e){let i=1;return s;function s(x){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(x){return sr(x)?(t.consume(x),l):Lu(x)?m(x):e(x)}function l(x){return x===43||x===45||x===46||Mt(x)?f(x):m(x)}function f(x){return x===58?(t.consume(x),c):(x===43||x===45||x===46||Mt(x))&&i++<32?(t.consume(x),f):m(x)}function c(x){return x===62?(t.exit("autolinkProtocol"),k(x)):x===null||x===32||x===60||Qn(x)?e(x):(t.consume(x),c)}function m(x){return x===64?(t.consume(x),i=0,d):Lu(x)?(t.consume(x),m):e(x)}function d(x){return Mt(x)?$(x):e(x)}function $(x){return x===46?(t.consume(x),i=0,d):x===62?(t.exit("autolinkProtocol").type="autolinkEmail",k(x)):E(x)}function E(x){return(x===45||Mt(x))&&i++<63?(t.consume(x),x===45?E:$):e(x)}function k(x){return t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.exit("autolink"),r}}var Cn={tokenize:lk,partial:!0};function lk(t,r,e){return ve(t,i,"linePrefix");function i(s){return s===null||fe(s)?r(s):e(s)}}var na={name:"blockQuote",tokenize:uk,continuation:{tokenize:fk},exit:ck};function uk(t,r,e){let i=this;return s;function s(l){if(l===62){let f=i.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),a}return e(l)}function a(l){return Re(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function fk(t,r,e){return ve(t,t.attempt(na,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ck(t){t.exit("blockQuote")}var ia={name:"characterEscape",tokenize:pk};function pk(t,r,e){return i;function i(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),s}function s(a){return lm(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(a)}}var Bu={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:`
36
+ `,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 dk={}.hasOwnProperty;function lo(t){return dk.call(Bu,t)?Bu[t]:!1}var oa={name:"characterReference",tokenize:mk};function mk(t,r,e){let i=this,s=0,a,l;return f;function f($){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume($),t.exit("characterReferenceMarker"),c}function c($){return $===35?(t.enter("characterReferenceMarkerNumeric"),t.consume($),t.exit("characterReferenceMarkerNumeric"),m):(t.enter("characterReferenceValue"),a=31,l=Mt,d($))}function m($){return $===88||$===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume($),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,l=am,d):(t.enter("characterReferenceValue"),a=7,l=_i,d($))}function d($){let E;return $===59&&s?(E=t.exit("characterReferenceValue"),l===Mt&&!lo(i.sliceSerialize(E))?e($):(t.enter("characterReferenceMarker"),t.consume($),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l($)&&s++<a?(t.consume($),d):e($)}}var sa={name:"codeFenced",tokenize:hk,concrete:!0};function hk(t,r,e){let i=this,s={tokenize:he,partial:!0},a={tokenize:$e,partial:!0},l=this.events[this.events.length-1],f=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,c=0,m;return d;function d(ne){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),m=ne,$(ne)}function $(ne){return ne===m?(t.consume(ne),c++,$):(t.exit("codeFencedFenceSequence"),c<3?e(ne):ve(t,E,"whitespace")(ne))}function E(ne){return ne===null||fe(ne)?N(ne):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),k(ne))}function k(ne){return ne===null||et(ne)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),ve(t,x,"whitespace")(ne)):ne===96&&ne===m?e(ne):(t.consume(ne),k)}function x(ne){return ne===null||fe(ne)?N(ne):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),I(ne))}function I(ne){return ne===null||fe(ne)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),N(ne)):ne===96&&ne===m?e(ne):(t.consume(ne),I)}function N(ne){return t.exit("codeFencedFence"),i.interrupt?r(ne):B(ne)}function B(ne){return ne===null?se(ne):fe(ne)?t.attempt(a,t.attempt(s,se,f?ve(t,B,"linePrefix",f+1):B),se)(ne):(t.enter("codeFlowValue"),X(ne))}function X(ne){return ne===null||fe(ne)?(t.exit("codeFlowValue"),B(ne)):(t.consume(ne),X)}function se(ne){return t.exit("codeFenced"),r(ne)}function $e(ne,be,xe){let ke=this;return Le;function Le(_e){return ne.enter("lineEnding"),ne.consume(_e),ne.exit("lineEnding"),Ee}function Ee(_e){return ke.parser.lazy[ke.now().line]?xe(_e):be(_e)}}function he(ne,be,xe){let ke=0;return ve(ne,Le,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Le(de){return ne.enter("codeFencedFence"),ne.enter("codeFencedFenceSequence"),Ee(de)}function Ee(de){return de===m?(ne.consume(de),ke++,Ee):ke<c?xe(de):(ne.exit("codeFencedFenceSequence"),ve(ne,_e,"whitespace")(de))}function _e(de){return de===null||fe(de)?(ne.exit("codeFencedFence"),be(de)):xe(de)}}}var ts={name:"codeIndented",tokenize:yk},gk={tokenize:$k,partial:!0};function yk(t,r,e){let i=this;return s;function s(m){return t.enter("codeIndented"),ve(t,a,"linePrefix",4+1)(m)}function a(m){let d=i.events[i.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(m):e(m)}function l(m){return m===null?c(m):fe(m)?t.attempt(gk,l,c)(m):(t.enter("codeFlowValue"),f(m))}function f(m){return m===null||fe(m)?(t.exit("codeFlowValue"),l(m)):(t.consume(m),f)}function c(m){return t.exit("codeIndented"),r(m)}}function $k(t,r,e){let i=this;return s;function s(l){return i.parser.lazy[i.now().line]?e(l):fe(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s):ve(t,a,"linePrefix",4+1)(l)}function a(l){let f=i.events[i.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):fe(l)?s(l):e(l)}}var Mu={name:"codeText",tokenize:kk,resolve:bk,previous:wk};function bk(t){let r=t.length-4,e=3,i,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(i=e;++i<r;)if(t[i][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(i=e-1,r++;++i<=r;)s===void 0?i!==r&&t[i][1].type!=="lineEnding"&&(s=i):(i===r||t[i][1].type==="lineEnding")&&(t[s][1].type="codeTextData",i!==s+2&&(t[s][1].end=t[i-1][1].end,t.splice(s+2,i-s-2),r-=i-s-2,i=s+2),s=void 0);return t}function wk(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function kk(t,r,e){let i=this,s=0,a,l;return f;function f(E){return t.enter("codeText"),t.enter("codeTextSequence"),c(E)}function c(E){return E===96?(t.consume(E),s++,c):(t.exit("codeTextSequence"),m(E))}function m(E){return E===null?e(E):E===96?(l=t.enter("codeTextSequence"),a=0,$(E)):E===32?(t.enter("space"),t.consume(E),t.exit("space"),m):fe(E)?(t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),m):(t.enter("codeTextData"),d(E))}function d(E){return E===null||E===32||E===96||fe(E)?(t.exit("codeTextData"),m(E)):(t.consume(E),d)}function $(E){return E===96?(t.consume(E),a++,$):a===s?(t.exit("codeTextSequence"),t.exit("codeText"),r(E)):(l.type="codeTextData",d(E))}}function aa(t){let r={},e=-1,i,s,a,l,f,c,m;for(;++e<t.length;){for(;e in r;)e=r[e];if(i=t[e],e&&i[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(c=i[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(i[0]==="enter")i[1].contentType&&(Object.assign(r,vk(t,e)),e=r[e],m=!0);else if(i[1]._container){for(a=e,s=void 0;a--&&(l=t[a],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(s&&(t[s][1].type="lineEndingBlank"),l[1].type="lineEnding",s=a);s&&(i[1].end=Object.assign({},t[s][1].start),f=t.slice(s,e),f.unshift(i),Ft(t,s,e-s+1,f))}}return!m}function vk(t,r){let e=t[r][1],i=t[r][2],s=r-1,a=[],l=e._tokenizer||i.parser[e.contentType](e.start),f=l.events,c=[],m={},d,$,E=-1,k=e,x=0,I=0,N=[I];for(;k;){for(;t[++s][1]!==k;);a.push(s),k._tokenizer||(d=i.sliceStream(k),k.next||d.push(null),$&&l.defineSkip(k.start),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(d),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),$=k,k=k.next}for(k=e;++E<f.length;)f[E][0]==="exit"&&f[E-1][0]==="enter"&&f[E][1].type===f[E-1][1].type&&f[E][1].start.line!==f[E][1].end.line&&(I=E+1,N.push(I),k._tokenizer=void 0,k.previous=void 0,k=k.next);for(l.events=[],k?(k._tokenizer=void 0,k.previous=void 0):N.pop(),E=N.length;E--;){let B=f.slice(N[E],N[E+1]),X=a.pop();c.unshift([X,X+B.length-1]),Ft(t,X,2,B)}for(E=-1;++E<c.length;)m[x+c[E][0]]=x+c[E][1],x+=c[E][1]-c[E][0]-1;return m}var zu={tokenize:Ak,resolve:Ck},xk={tokenize:Ek,partial:!0};function Ck(t){return aa(t),t}function Ak(t,r){let e;return i;function i(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?a(f):fe(f)?t.check(xk,l,a)(f):(t.consume(f),s)}function a(f){return t.exit("chunkContent"),t.exit("content"),r(f)}function l(f){return t.consume(f),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,s}}function Ek(t,r,e){let i=this;return s;function s(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),ve(t,a,"linePrefix")}function a(l){if(l===null||fe(l))return e(l);let f=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):t.interrupt(i.parser.constructs.flow,e,r)(l)}}function la(t,r,e,i,s,a,l,f,c){let m=c||Number.POSITIVE_INFINITY,d=0;return $;function $(B){return B===60?(t.enter(i),t.enter(s),t.enter(a),t.consume(B),t.exit(a),E):B===null||B===41||Qn(B)?e(B):(t.enter(i),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),I(B))}function E(B){return B===62?(t.enter(a),t.consume(B),t.exit(a),t.exit(s),t.exit(i),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),k(B))}function k(B){return B===62?(t.exit("chunkString"),t.exit(f),E(B)):B===null||B===60||fe(B)?e(B):(t.consume(B),B===92?x:k)}function x(B){return B===60||B===62||B===92?(t.consume(B),k):k(B)}function I(B){return B===40?++d>m?e(B):(t.consume(B),I):B===41?d--?(t.consume(B),I):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(i),r(B)):B===null||et(B)?d?e(B):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(i),r(B)):Qn(B)?e(B):(t.consume(B),B===92?N:I)}function N(B){return B===40||B===41||B===92?(t.consume(B),I):I(B)}}function ua(t,r,e,i,s,a){let l=this,f=0,c;return m;function m(k){return t.enter(i),t.enter(s),t.consume(k),t.exit(s),t.enter(a),d}function d(k){return k===null||k===91||k===93&&!c||k===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(k):k===93?(t.exit(a),t.enter(s),t.consume(k),t.exit(s),t.exit(i),r):fe(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),$(k))}function $(k){return k===null||k===91||k===93||fe(k)||f++>999?(t.exit("chunkString"),d(k)):(t.consume(k),c=c||!Re(k),k===92?E:$)}function E(k){return k===91||k===92||k===93?(t.consume(k),f++,$):$(k)}}function fa(t,r,e,i,s,a){let l;return f;function f(E){return t.enter(i),t.enter(s),t.consume(E),t.exit(s),l=E===40?41:E,c}function c(E){return E===l?(t.enter(s),t.consume(E),t.exit(s),t.exit(i),r):(t.enter(a),m(E))}function m(E){return E===l?(t.exit(a),c(l)):E===null?e(E):fe(E)?(t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),ve(t,m,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(E))}function d(E){return E===l||E===null||fe(E)?(t.exit("chunkString"),m(E)):(t.consume(E),E===92?$:d)}function $(E){return E===l||E===92?(t.consume(E),d):d(E)}}function Ti(t,r){let e;return i;function i(s){return fe(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e=!0,i):Re(s)?ve(t,i,e?"linePrefix":"lineSuffix")(s):r(s)}}function ar(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Vu={name:"definition",tokenize:Sk},_k={tokenize:Pk,partial:!0};function Sk(t,r,e){let i=this,s;return a;function a(c){return t.enter("definition"),ua.call(i,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return s=ar(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),Ti(t,la(t,t.attempt(_k,ve(t,f,"whitespace"),ve(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||fe(c)?(t.exit("definition"),i.parser.defined.includes(s)||i.parser.defined.push(s),r(c)):e(c)}}function Pk(t,r,e){return i;function i(l){return et(l)?Ti(t,s)(l):e(l)}function s(l){return l===34||l===39||l===40?fa(t,ve(t,a,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function a(l){return l===null||fe(l)?r(l):e(l)}}var Uu={name:"hardBreakEscape",tokenize:Tk};function Tk(t,r,e){return i;function i(a){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(a),s}function s(a){return fe(a)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(a)):e(a)}}var Hu={name:"headingAtx",tokenize:Ik,resolve:Fk};function Fk(t,r){let e=t.length-2,i=3,s,a;return t[i][1].type==="whitespace"&&(i+=2),e-2>i&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(i===e-1||e-4>i&&t[e-2][1].type==="whitespace")&&(e-=i+1===e?2:4),e>i&&(s={type:"atxHeadingText",start:t[i][1].start,end:t[e][1].end},a={type:"chunkText",start:t[i][1].start,end:t[e][1].end,contentType:"text"},Ft(t,i,e-i+1,[["enter",s,r],["enter",a,r],["exit",a,r],["exit",s,r]])),t}function Ik(t,r,e){let i=this,s=0;return a;function a(d){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&s++<6?(t.consume(d),l):d===null||et(d)?(t.exit("atxHeadingSequence"),i.interrupt?r(d):f(d)):e(d)}function f(d){return d===35?(t.enter("atxHeadingSequence"),c(d)):d===null||fe(d)?(t.exit("atxHeading"),r(d)):Re(d)?ve(t,f,"whitespace")(d):(t.enter("atxHeadingText"),m(d))}function c(d){return d===35?(t.consume(d),c):(t.exit("atxHeadingSequence"),f(d))}function m(d){return d===null||d===35||et(d)?(t.exit("atxHeadingText"),f(d)):(t.consume(d),m)}}var dm=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Gu=["pre","script","style","textarea"];var Ku={name:"htmlFlow",tokenize:Nk,resolveTo:qk,concrete:!0},Ok={tokenize:Dk,partial:!0};function qk(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function Nk(t,r,e){let i=this,s,a,l,f,c;return m;function m(V){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(V),d}function d(V){return V===33?(t.consume(V),$):V===47?(t.consume(V),x):V===63?(t.consume(V),s=3,i.interrupt?r:yt):sr(V)?(t.consume(V),l=String.fromCharCode(V),a=!0,I):e(V)}function $(V){return V===45?(t.consume(V),s=2,E):V===91?(t.consume(V),s=5,l="CDATA[",f=0,k):sr(V)?(t.consume(V),s=4,i.interrupt?r:yt):e(V)}function E(V){return V===45?(t.consume(V),i.interrupt?r:yt):e(V)}function k(V){return V===l.charCodeAt(f++)?(t.consume(V),f===l.length?i.interrupt?r:Ee:k):e(V)}function x(V){return sr(V)?(t.consume(V),l=String.fromCharCode(V),I):e(V)}function I(V){return V===null||V===47||V===62||et(V)?V!==47&&a&&Gu.includes(l.toLowerCase())?(s=1,i.interrupt?r(V):Ee(V)):dm.includes(l.toLowerCase())?(s=6,V===47?(t.consume(V),N):i.interrupt?r(V):Ee(V)):(s=7,i.interrupt&&!i.parser.lazy[i.now().line]?e(V):a?X(V):B(V)):V===45||Mt(V)?(t.consume(V),l+=String.fromCharCode(V),I):e(V)}function N(V){return V===62?(t.consume(V),i.interrupt?r:Ee):e(V)}function B(V){return Re(V)?(t.consume(V),B):ke(V)}function X(V){return V===47?(t.consume(V),ke):V===58||V===95||sr(V)?(t.consume(V),se):Re(V)?(t.consume(V),X):ke(V)}function se(V){return V===45||V===46||V===58||V===95||Mt(V)?(t.consume(V),se):$e(V)}function $e(V){return V===61?(t.consume(V),he):Re(V)?(t.consume(V),$e):X(V)}function he(V){return V===null||V===60||V===61||V===62||V===96?e(V):V===34||V===39?(t.consume(V),c=V,ne):Re(V)?(t.consume(V),he):(c=null,be(V))}function ne(V){return V===null||fe(V)?e(V):V===c?(t.consume(V),xe):(t.consume(V),ne)}function be(V){return V===null||V===34||V===39||V===60||V===61||V===62||V===96||et(V)?$e(V):(t.consume(V),be)}function xe(V){return V===47||V===62||Re(V)?X(V):e(V)}function ke(V){return V===62?(t.consume(V),Le):e(V)}function Le(V){return Re(V)?(t.consume(V),Le):V===null||fe(V)?Ee(V):e(V)}function Ee(V){return V===45&&s===2?(t.consume(V),ot):V===60&&s===1?(t.consume(V),Y):V===62&&s===4?(t.consume(V),tt):V===63&&s===3?(t.consume(V),yt):V===93&&s===5?(t.consume(V),Ze):fe(V)&&(s===6||s===7)?t.check(Ok,tt,_e)(V):V===null||fe(V)?_e(V):(t.consume(V),Ee)}function _e(V){return t.exit("htmlFlowData"),de(V)}function de(V){return V===null?M(V):fe(V)?t.attempt({tokenize:Ce,partial:!0},de,M)(V):(t.enter("htmlFlowData"),Ee(V))}function Ce(V,Jt,Rt){return bt;function bt(At){return V.enter("lineEnding"),V.consume(At),V.exit("lineEnding"),St}function St(At){return i.parser.lazy[i.now().line]?Rt(At):Jt(At)}}function ot(V){return V===45?(t.consume(V),yt):Ee(V)}function Y(V){return V===47?(t.consume(V),l="",Ct):Ee(V)}function Ct(V){return V===62&&Gu.includes(l.toLowerCase())?(t.consume(V),tt):sr(V)&&l.length<8?(t.consume(V),l+=String.fromCharCode(V),Ct):Ee(V)}function Ze(V){return V===93?(t.consume(V),yt):Ee(V)}function yt(V){return V===62?(t.consume(V),tt):V===45&&s===2?(t.consume(V),yt):Ee(V)}function tt(V){return V===null||fe(V)?(t.exit("htmlFlowData"),M(V)):(t.consume(V),tt)}function M(V){return t.exit("htmlFlow"),r(V)}}function Dk(t,r,e){return i;function i(s){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),t.attempt(Cn,r,e)}}var Wu={name:"htmlText",tokenize:Rk};function Rk(t,r,e){let i=this,s,a,l,f;return c;function c(M){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(M),m}function m(M){return M===33?(t.consume(M),d):M===47?(t.consume(M),be):M===63?(t.consume(M),he):sr(M)?(t.consume(M),Le):e(M)}function d(M){return M===45?(t.consume(M),$):M===91?(t.consume(M),a="CDATA[",l=0,N):sr(M)?(t.consume(M),$e):e(M)}function $(M){return M===45?(t.consume(M),E):e(M)}function E(M){return M===null||M===62?e(M):M===45?(t.consume(M),k):x(M)}function k(M){return M===null||M===62?e(M):x(M)}function x(M){return M===null?e(M):M===45?(t.consume(M),I):fe(M)?(f=x,Ze(M)):(t.consume(M),x)}function I(M){return M===45?(t.consume(M),tt):x(M)}function N(M){return M===a.charCodeAt(l++)?(t.consume(M),l===a.length?B:N):e(M)}function B(M){return M===null?e(M):M===93?(t.consume(M),X):fe(M)?(f=B,Ze(M)):(t.consume(M),B)}function X(M){return M===93?(t.consume(M),se):B(M)}function se(M){return M===62?tt(M):M===93?(t.consume(M),se):B(M)}function $e(M){return M===null||M===62?tt(M):fe(M)?(f=$e,Ze(M)):(t.consume(M),$e)}function he(M){return M===null?e(M):M===63?(t.consume(M),ne):fe(M)?(f=he,Ze(M)):(t.consume(M),he)}function ne(M){return M===62?tt(M):he(M)}function be(M){return sr(M)?(t.consume(M),xe):e(M)}function xe(M){return M===45||Mt(M)?(t.consume(M),xe):ke(M)}function ke(M){return fe(M)?(f=ke,Ze(M)):Re(M)?(t.consume(M),ke):tt(M)}function Le(M){return M===45||Mt(M)?(t.consume(M),Le):M===47||M===62||et(M)?Ee(M):e(M)}function Ee(M){return M===47?(t.consume(M),tt):M===58||M===95||sr(M)?(t.consume(M),_e):fe(M)?(f=Ee,Ze(M)):Re(M)?(t.consume(M),Ee):tt(M)}function _e(M){return M===45||M===46||M===58||M===95||Mt(M)?(t.consume(M),_e):de(M)}function de(M){return M===61?(t.consume(M),Ce):fe(M)?(f=de,Ze(M)):Re(M)?(t.consume(M),de):Ee(M)}function Ce(M){return M===null||M===60||M===61||M===62||M===96?e(M):M===34||M===39?(t.consume(M),s=M,ot):fe(M)?(f=Ce,Ze(M)):Re(M)?(t.consume(M),Ce):(t.consume(M),s=void 0,Ct)}function ot(M){return M===s?(t.consume(M),Y):M===null?e(M):fe(M)?(f=ot,Ze(M)):(t.consume(M),ot)}function Y(M){return M===62||M===47||et(M)?Ee(M):e(M)}function Ct(M){return M===null||M===34||M===39||M===60||M===61||M===96?e(M):M===62||et(M)?Ee(M):(t.consume(M),Ct)}function Ze(M){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),ve(t,yt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yt(M){return t.enter("htmlTextData"),f(M)}function tt(M){return M===62?(t.consume(M),t.exit("htmlTextData"),t.exit("htmlText"),r):e(M)}}var Fi={name:"labelEnd",tokenize:Vk,resolveTo:zk,resolveAll:Mk},Lk={tokenize:Uk},jk={tokenize:Hk},Bk={tokenize:Gk};function Mk(t){let r=-1,e;for(;++r<t.length;)e=t[r][1],(e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd")&&(t.splice(r+1,e.type==="labelImage"?4:2),e.type="data",r++);return t}function zk(t,r){let e=t.length,i=0,s,a,l,f;for(;e--;)if(s=t[e][1],a){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;t[e][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(l){if(t[e][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(a=e,s.type!=="labelLink")){i=2;break}}else s.type==="labelEnd"&&(l=e);let c={type:t[a][1].type==="labelLink"?"link":"image",start:Object.assign({},t[a][1].start),end:Object.assign({},t[t.length-1][1].end)},m={type:"label",start:Object.assign({},t[a][1].start),end:Object.assign({},t[l][1].end)},d={type:"labelText",start:Object.assign({},t[a+i+2][1].end),end:Object.assign({},t[l-2][1].start)};return f=[["enter",c,r],["enter",m,r]],f=br(f,t.slice(a+1,a+i+3)),f=br(f,[["enter",d,r]]),f=br(f,Yn(r.parser.constructs.insideSpan.null,t.slice(a+i+4,l-3),r)),f=br(f,[["exit",d,r],t[l-2],t[l-1],["exit",m,r]]),f=br(f,t.slice(l+1)),f=br(f,[["exit",c,r]]),Ft(t,a,t.length,f),t}function Vk(t,r,e){let i=this,s=i.events.length,a,l;for(;s--;)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){a=i.events[s][1];break}return f;function f(d){return a?a._inactive?m(d):(l=i.parser.defined.includes(ar(i.sliceSerialize({start:a.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),c):e(d)}function c(d){return d===40?t.attempt(Lk,r,l?r:m)(d):d===91?t.attempt(jk,r,l?t.attempt(Bk,r,m):m)(d):l?r(d):m(d)}function m(d){return a._balanced=!0,e(d)}}function Uk(t,r,e){return i;function i(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),Ti(t,s)}function s(c){return c===41?f(c):la(t,a,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function a(c){return et(c)?Ti(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?fa(t,Ti(t,f),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function f(c){return c===41?(t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),t.exit("resource"),r):e(c)}}function Hk(t,r,e){let i=this;return s;function s(l){return ua.call(i,t,a,e,"reference","referenceMarker","referenceString")(l)}function a(l){return i.parser.defined.includes(ar(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function Gk(t,r,e){return i;function i(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),s}function s(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),r):e(a)}}var Zu={name:"labelStartImage",tokenize:Kk,resolveAll:Fi.resolveAll};function Kk(t,r,e){let i=this;return s;function s(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),a}function a(f){return f===91?(t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelImage"),l):e(f)}function l(f){return f===94&&"_hiddenFootnoteSupport"in i.parser.constructs?e(f):r(f)}}var Ju={name:"labelStartLink",tokenize:Wk,resolveAll:Fi.resolveAll};function Wk(t,r,e){let i=this;return s;function s(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?e(l):r(l)}}var rs={name:"lineEnding",tokenize:Zk};function Zk(t,r){return e;function e(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),ve(t,r,"linePrefix")}}var Ii={name:"thematicBreak",tokenize:Jk};function Jk(t,r,e){let i=0,s;return a;function a(c){return t.enter("thematicBreak"),s=c,l(c)}function l(c){return c===s?(t.enter("thematicBreakSequence"),f(c)):Re(c)?ve(t,l,"whitespace")(c):i<3||c!==null&&!fe(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===s?(t.consume(c),i++,f):(t.exit("thematicBreakSequence"),l(c))}}var lr={name:"list",tokenize:Yk,continuation:{tokenize:ev},exit:rv},Qk={tokenize:nv,partial:!0},Xk={tokenize:tv,partial:!0};function Yk(t,r,e){let i=this,s=i.events[i.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(k){let x=i.containerState.type||(k===42||k===43||k===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!i.containerState.marker||k===i.containerState.marker:_i(k)){if(i.containerState.type||(i.containerState.type=x,t.enter(x,{_container:!0})),x==="listUnordered")return t.enter("listItemPrefix"),k===42||k===45?t.check(Ii,e,m)(k):m(k);if(!i.interrupt||k===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(k)}return e(k)}function c(k){return _i(k)&&++l<10?(t.consume(k),c):(!i.interrupt||l<2)&&(i.containerState.marker?k===i.containerState.marker:k===41||k===46)?(t.exit("listItemValue"),m(k)):e(k)}function m(k){return t.enter("listItemMarker"),t.consume(k),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||k,t.check(Cn,i.interrupt?e:d,t.attempt(Qk,E,$))}function d(k){return i.containerState.initialBlankLine=!0,a++,E(k)}function $(k){return Re(k)?(t.enter("listItemPrefixWhitespace"),t.consume(k),t.exit("listItemPrefixWhitespace"),E):e(k)}function E(k){return i.containerState.size=a+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(k)}}function ev(t,r,e){let i=this;return i.containerState._closeFlow=void 0,t.check(Cn,s,a);function s(f){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,ve(t,r,"listItemIndent",i.containerState.size+1)(f)}function a(f){return i.containerState.furtherBlankLines||!Re(f)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(f)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(Xk,r,l)(f))}function l(f){return i.containerState._closeFlow=!0,i.interrupt=void 0,ve(t,t.attempt(lr,r,e),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function tv(t,r,e){let i=this;return ve(t,s,"listItemIndent",i.containerState.size+1);function s(a){let l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?r(a):e(a)}}function rv(t){t.exit(this.containerState.type)}function nv(t,r,e){let i=this;return ve(t,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(a){let l=i.events[i.events.length-1];return!Re(a)&&l&&l[1].type==="listItemPrefixWhitespace"?r(a):e(a)}}var ca={name:"setextUnderline",tokenize:ov,resolveTo:iv};function iv(t,r){let e=t.length,i,s,a;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){i=e;break}t[e][1].type==="paragraph"&&(s=e)}else t[e][1].type==="content"&&t.splice(e,1),!a&&t[e][1].type==="definition"&&(a=e);let l={type:"setextHeading",start:Object.assign({},t[s][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[s][1].type="setextHeadingText",a?(t.splice(s,0,["enter",l,r]),t.splice(a+1,0,["exit",t[i][1],r]),t[i][1].end=Object.assign({},t[a][1].end)):t[i][1]=l,t.push(["exit",l,r]),t}function ov(t,r,e){let i=this,s=i.events.length,a,l;for(;s--;)if(i.events[s][1].type!=="lineEnding"&&i.events[s][1].type!=="linePrefix"&&i.events[s][1].type!=="content"){l=i.events[s][1].type==="paragraph";break}return f;function f(d){return!i.parser.lazy[i.now().line]&&(i.interrupt||l)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),a=d,c(d)):e(d)}function c(d){return d===a?(t.consume(d),c):(t.exit("setextHeadingLineSequence"),ve(t,m,"lineSuffix")(d))}function m(d){return d===null||fe(d)?(t.exit("setextHeadingLine"),r(d)):e(d)}}var mm={tokenize:sv};function sv(t){let r=this,e=t.attempt(Cn,i,t.attempt(this.parser.constructs.flowInitial,s,ve(t,t.attempt(this.parser.constructs.flow,s,t.attempt(zu,s)),"linePrefix")));return e;function i(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function s(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var hm={resolveAll:bm()},gm=$m("string"),ym=$m("text");function $m(t){return{tokenize:r,resolveAll:bm(t==="text"?av:void 0)};function r(e){let i=this,s=this.parser.constructs[t],a=e.attempt(s,l,f);return l;function l(d){return m(d)?a(d):f(d)}function f(d){if(d===null){e.consume(d);return}return e.enter("data"),e.consume(d),c}function c(d){return m(d)?(e.exit("data"),a(d)):(e.consume(d),c)}function m(d){if(d===null)return!0;let $=s[d],E=-1;if($)for(;++E<$.length;){let k=$[E];if(!k.previous||k.previous.call(i,i.previous))return!0}return!1}}}function bm(t){return r;function r(e,i){let s=-1,a;for(;++s<=e.length;)a===void 0?e[s]&&e[s][1].type==="data"&&(a=s,s++):(!e[s]||e[s][1].type!=="data")&&(s!==a+2&&(e[a][1].end=e[s-1][1].end,e.splice(a+2,s-a-2),s=a+2),a=void 0);return t?t(e,i):e}}function av(t,r){let e=0;for(;++e<=t.length;)if((e===t.length||t[e][1].type==="lineEnding")&&t[e-1][1].type==="data"){let i=t[e-1][1],s=r.sliceStream(i),a=s.length,l=-1,f=0,c;for(;a--;){let m=s[a];if(typeof m=="string"){for(l=m.length;m.charCodeAt(l-1)===32;)f++,l--;if(l)break;l=-1}else if(m===-2)c=!0,f++;else if(m!==-1){a++;break}}if(f){let m={type:e===t.length||c||f<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-f,offset:i.end.offset-f,_index:i.start._index+a,_bufferIndex:a?l:i.start._bufferIndex+l},end:Object.assign({},i.end)};i.end=Object.assign({},m.start),i.start.offset===i.end.offset?Object.assign(i,m):(t.splice(e,0,["enter",m,r],["exit",m,r]),e+=2)}e++}return t}function wm(t,r,e){let i=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),s={},a=[],l=[],f=[],c=!0,m={consume:$e,enter:he,exit:ne,attempt:ke(be),check:ke(xe),interrupt:ke(xe,{interrupt:!0})},d={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:I,sliceSerialize:x,now:N,defineSkip:B,write:k},$=r.tokenize.call(d,m),E;return r.resolveAll&&a.push(r),d;function k(de){return l=br(l,de),X(),l[l.length-1]!==null?[]:(Le(r,0),d.events=Yn(a,d.events,d),d.events)}function x(de,Ce){return uv(I(de),Ce)}function I(de){return lv(l,de)}function N(){return Object.assign({},i)}function B(de){s[de.line]=de.column,_e()}function X(){let de;for(;i._index<l.length;){let Ce=l[i._index];if(typeof Ce=="string")for(de=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===de&&i._bufferIndex<Ce.length;)se(Ce.charCodeAt(i._bufferIndex));else se(Ce)}}function se(de){c=void 0,E=de,$=$(de)}function $e(de){fe(de)?(i.line++,i.column=1,i.offset+=de===-3?2:1,_e()):de!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===l[i._index].length&&(i._bufferIndex=-1,i._index++)),d.previous=de,c=!0}function he(de,Ce){let ot=Ce||{};return ot.type=de,ot.start=N(),d.events.push(["enter",ot,d]),f.push(ot),ot}function ne(de){let Ce=f.pop();return Ce.end=N(),d.events.push(["exit",Ce,d]),Ce}function be(de,Ce){Le(de,Ce.from)}function xe(de,Ce){Ce.restore()}function ke(de,Ce){return ot;function ot(Y,Ct,Ze){let yt,tt,M,V;return Array.isArray(Y)?Rt(Y):"tokenize"in Y?Rt([Y]):Jt(Y);function Jt(st){return Fr;function Fr(ye){let wr=ye!==null&&st[ye],zt=ye!==null&&st.null,Ir=[...Array.isArray(wr)?wr:wr?[wr]:[],...Array.isArray(zt)?zt:zt?[zt]:[]];return Rt(Ir)(ye)}}function Rt(st){return yt=st,tt=0,st.length===0?Ze:bt(st[tt])}function bt(st){return Fr;function Fr(ye){return V=Ee(),M=st,st.partial||(d.currentConstruct=st),st.name&&d.parser.constructs.disable.null.includes(st.name)?At(ye):st.tokenize.call(Ce?Object.assign(Object.create(d),Ce):d,m,St,At)(ye)}}function St(st){return c=!0,de(M,V),Ct}function At(st){return c=!0,V.restore(),++tt<yt.length?bt(yt[tt]):Ze}}}function Le(de,Ce){de.resolveAll&&!a.includes(de)&&a.push(de),de.resolve&&Ft(d.events,Ce,d.events.length-Ce,de.resolve(d.events.slice(Ce),d)),de.resolveTo&&(d.events=de.resolveTo(d.events,d))}function Ee(){let de=N(),Ce=d.previous,ot=d.currentConstruct,Y=d.events.length,Ct=Array.from(f);return{restore:Ze,from:Y};function Ze(){i=de,d.previous=Ce,d.currentConstruct=ot,d.events.length=Y,f=Ct,_e()}}function _e(){i.line in s&&i.column<2&&(i.column=s[i.line],i.offset+=s[i.line]-1)}}function lv(t,r){let e=r.start._index,i=r.start._bufferIndex,s=r.end._index,a=r.end._bufferIndex,l;return e===s?l=[t[e].slice(i,a)]:(l=t.slice(e,s),i>-1&&(l[0]=l[0].slice(i)),a>0&&l.push(t[s].slice(0,a))),l}function uv(t,r){let e=-1,i=[],s;for(;++e<t.length;){let a=t[e],l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
19
37
  `;break}case-3:{l=`\r
20
- `;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&s)continue;l=" ";break}default:l=String.fromCharCode(a)}s=a===-2,i.push(l)}return i.join("")}var Ju={};jf(Ju,{attentionMarkers:()=>hw,contentInitial:()=>uw,disable:()=>gw,document:()=>lw,flow:()=>cw,flowInitial:()=>fw,insideSpan:()=>mw,string:()=>pw,text:()=>dw});var lw={[42]:ar,[43]:ar,[45]:ar,[48]:ar,[49]:ar,[50]:ar,[51]:ar,[52]:ar,[53]:ar,[54]:ar,[55]:ar,[56]:ar,[57]:ar,[62]:ta},uw={[91]:Mu},fw={[-2]:Yo,[-1]:Yo,[32]:Yo},cw={[35]:Uu,[42]:Ii,[45]:[ua,Ii],[60]:Gu,[61]:ua,[95]:Ii,[96]:ia,[126]:ia},pw={[38]:na,[92]:ra},dw={[-5]:Xo,[-4]:Xo,[-3]:Xo,[33]:Wu,[38]:na,[42]:Qo,[60]:[Lu,Ku],[91]:Zu,[92]:[Vu,ra],[93]:Ti,[95]:Qo,[96]:Bu},mw={null:[Qo,hm]},hw={null:[42,95]},gw={null:[]};function km(t={}){let r=ea([Ju].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:i(um),document:i(cm),flow:i(mm),string:i(gm),text:i(ym)};return e;function i(s){return a;function a(l){return vm(e,s,l)}}}var wm=/[\0\t\n\r]/g;function xm(){let t=1,r="",e=!0,i;return s;function s(a,l,f){let c=[],m,d,b,x,k;for(a=r+a.toString(l),b=0,r="",e&&(a.charCodeAt(0)===65279&&b++,e=void 0);b<a.length;){if(wm.lastIndex=b,m=wm.exec(a),x=m&&m.index!==void 0?m.index:a.length,k=a.charCodeAt(x),!m){r=a.slice(b);break}if(k===10&&b===x&&i)c.push(-3),i=void 0;else switch(i&&(c.push(-5),i=void 0),b<x&&(c.push(a.slice(b,x)),t+=x-b),k){case 0:{c.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,c.push(-2);t++<d;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:i=!0,t=1}b=x+1}return f&&(i&&c.push(-5),r&&c.push(r),c.push(null)),c}}function Cm(t){for(;!oa(t););return t}function fa(t,r){let e=Number.parseInt(t,r);return e<9||e===11||e>13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(e&65535)===65535||(e&65535)===65534||e>1114111?"\uFFFD":String.fromCharCode(e)}var yw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ca(t){return t.replace(yw,$w)}function $w(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let s=e.charCodeAt(1),a=s===120||s===88;return fa(e.slice(a?2:1),a?16:10)}return lo(e)||t}var Qu={}.hasOwnProperty,Yu=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),bw(e)(Cm(km(e).document().write(xm()(t,r,!0))))};function bw(t={}){let r=Em({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Ke),autolinkProtocol:_e,autolinkEmail:_e,atxHeading:c(wn),blockQuote:c(zt),characterEscape:_e,characterReference:_e,codeFenced:c(_r),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:c(_r,m),codeText:c(Mt,m),codeTextData:_e,data:_e,codeFlowValue:_e,definition:c(Xn),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:c(jn),hardBreakEscape:c(He),hardBreakTrailing:c(He),htmlFlow:c(Ge,m),htmlFlowData:_e,htmlText:c(Ge,m),htmlTextData:_e,image:c(st),label:m,link:c(Ke),listItem:c(ze),listItemValue:I,listOrdered:c(Sr,E),listUnordered:c(Sr),paragraph:c(Me),reference:_t,referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:c(wn),strong:c(ft),thematicBreak:c(Vt)},exit:{atxHeading:b(),atxHeadingSequence:xe,autolink:b(),autolinkEmail:yr,autolinkProtocol:ye,blockQuote:b(),characterEscapeValue:de,characterReferenceMarkerHexadecimal:ot,characterReferenceMarkerNumeric:ot,characterReferenceValue:Er,codeFenced:b(se),codeFencedFence:Y,codeFencedFenceInfo:N,codeFencedFenceMeta:M,codeFlowValue:de,codeIndented:b($e),codeText:b(We),codeTextData:de,data:de,definition:b(),definitionDestinationString:be,definitionLabelString:he,definitionTitleString:ne,emphasis:b(),hardBreakEscape:b(it),hardBreakTrailing:b(it),htmlFlow:b(X),htmlFlowData:de,htmlText:b(xt),htmlTextData:de,image:b(et),label:V,labelText:B,lineEnding:Ce,link:b(yt),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:Ct,resourceDestinationString:Zt,resourceTitleString:Dt,resource:bt,setextHeading:b(Ee),setextHeadingLineSequence:Le,setextHeadingText:ke,strong:b(),thematicBreak:b()}},t.mdastExtensions||[]),e={};return i;function i(re){let ae={type:"root",children:[]},ve=[ae],Ie=[],Nt=[],Ur={stack:ve,tokenStack:Ie,config:r,enter:d,exit:x,buffer:m,resume:k,setData:a,getData:l},tt=-1;for(;++tt<re.length;)if(re[tt][1].type==="listOrdered"||re[tt][1].type==="listUnordered")if(re[tt][0]==="enter")Nt.push(tt);else{let vt=Nt.pop();tt=s(re,vt,tt)}for(tt=-1;++tt<re.length;){let vt=r[re[tt][0]];Qu.call(vt,re[tt][1].type)&&vt[re[tt][1].type].call(Object.assign({sliceSerialize:re[tt][2].sliceSerialize},Ur),re[tt][1])}if(Ie.length>0){let vt=Ie[Ie.length-1];(vt[1]||Am).call(Ur,void 0,vt[0])}for(ae.position={start:f(re.length>0?re[0][1].start:{line:1,column:1,offset:0}),end:f(re.length>0?re[re.length-2][1].end:{line:1,column:1,offset:0})},tt=-1;++tt<r.transforms.length;)ae=r.transforms[tt](ae)||ae;return ae}function s(re,ae,ve){let Ie=ae-1,Nt=-1,Ur=!1,tt,vt,St,Hr;for(;++Ie<=ve;){let pt=re[Ie];if(pt[1].type==="listUnordered"||pt[1].type==="listOrdered"||pt[1].type==="blockQuote"?(pt[0]==="enter"?Nt++:Nt--,Hr=void 0):pt[1].type==="lineEndingBlank"?pt[0]==="enter"&&(tt&&!Hr&&!Nt&&!St&&(St=Ie),Hr=void 0):pt[1].type==="linePrefix"||pt[1].type==="listItemValue"||pt[1].type==="listItemMarker"||pt[1].type==="listItemPrefix"||pt[1].type==="listItemPrefixWhitespace"||(Hr=void 0),!Nt&&pt[0]==="enter"&&pt[1].type==="listItemPrefix"||Nt===-1&&pt[0]==="exit"&&(pt[1].type==="listUnordered"||pt[1].type==="listOrdered")){if(tt){let xn=Ie;for(vt=void 0;xn--;){let Tt=re[xn];if(Tt[1].type==="lineEnding"||Tt[1].type==="lineEndingBlank"){if(Tt[0]==="exit")continue;vt&&(re[vt][1].type="lineEndingBlank",Ur=!0),Tt[1].type="lineEnding",vt=xn}else if(!(Tt[1].type==="linePrefix"||Tt[1].type==="blockQuotePrefix"||Tt[1].type==="blockQuotePrefixWhitespace"||Tt[1].type==="blockQuoteMarker"||Tt[1].type==="listItemIndent"))break}St&&(!vt||St<vt)&&(tt._spread=!0),tt.end=Object.assign({},vt?re[vt][1].start:pt[1].end),re.splice(vt||Ie,0,["exit",tt,pt[2]]),Ie++,ve++}pt[1].type==="listItemPrefix"&&(tt={type:"listItem",_spread:!1,start:Object.assign({},pt[1].start)},re.splice(Ie,0,["enter",tt,pt[2]]),Ie++,ve++,St=void 0,Hr=!0)}}return re[ae][1]._spread=Ur,ve}function a(re,ae){e[re]=ae}function l(re){return e[re]}function f(re){return{line:re.line,column:re.column,offset:re.offset}}function c(re,ae){return ve;function ve(Ie){d.call(this,re(Ie),Ie),ae&&ae.call(this,Ie)}}function m(){this.stack.push({type:"fragment",children:[]})}function d(re,ae,ve){return this.stack[this.stack.length-1].children.push(re),this.stack.push(re),this.tokenStack.push([ae,ve]),re.position={start:f(ae.start)},re}function b(re){return ae;function ae(ve){re&&re.call(this,ve),x.call(this,ve)}}function x(re,ae){let ve=this.stack.pop(),Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==re.type&&(ae?ae.call(this,re,Ie[0]):(Ie[1]||Am).call(this,re,Ie[0]));else throw new Error("Cannot close `"+re.type+"` ("+Ei({start:re.start,end:re.end})+"): it\u2019s not open");return ve.position.end=f(re.end),ve}function k(){return nm(this.stack.pop())}function E(){a("expectingFirstListItemValue",!0)}function I(re){if(l("expectingFirstListItemValue")){let ae=this.stack[this.stack.length-2];ae.start=Number.parseInt(this.sliceSerialize(re),10),a("expectingFirstListItemValue")}}function N(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.lang=re}function M(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.meta=re}function Y(){l("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function se(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function $e(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re.replace(/(\r?\n|\r)$/g,"")}function he(re){let ae=this.resume(),ve=this.stack[this.stack.length-1];ve.label=ae,ve.identifier=sr(this.sliceSerialize(re)).toLowerCase()}function ne(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.title=re}function be(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.url=re}function xe(re){let ae=this.stack[this.stack.length-1];if(!ae.depth){let ve=this.sliceSerialize(re).length;ae.depth=ve}}function ke(){a("setextHeadingSlurpLineEnding",!0)}function Le(re){let ae=this.stack[this.stack.length-1];ae.depth=this.sliceSerialize(re).charCodeAt(0)===61?1:2}function Ee(){a("setextHeadingSlurpLineEnding")}function _e(re){let ae=this.stack[this.stack.length-1],ve=ae.children[ae.children.length-1];(!ve||ve.type!=="text")&&(ve=ct(),ve.position={start:f(re.start)},ae.children.push(ve)),this.stack.push(ve)}function de(re){let ae=this.stack.pop();ae.value+=this.sliceSerialize(re),ae.position.end=f(re.end)}function Ce(re){let ae=this.stack[this.stack.length-1];if(l("atHardBreak")){let ve=ae.children[ae.children.length-1];ve.position.end=f(re.end),a("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(ae.type)&&(_e.call(this,re),de.call(this,re))}function it(){a("atHardBreak",!0)}function X(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function xt(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function We(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function yt(){let re=this.stack[this.stack.length-1];l("inReference")?(re.type+="Reference",re.referenceType=l("referenceType")||"shortcut",delete re.url,delete re.title):(delete re.identifier,delete re.label),a("referenceType")}function et(){let re=this.stack[this.stack.length-1];l("inReference")?(re.type+="Reference",re.referenceType=l("referenceType")||"shortcut",delete re.url,delete re.title):(delete re.identifier,delete re.label),a("referenceType")}function B(re){let ae=this.stack[this.stack.length-2],ve=this.sliceSerialize(re);ae.label=ca(ve),ae.identifier=sr(ve).toLowerCase()}function V(){let re=this.stack[this.stack.length-1],ae=this.resume(),ve=this.stack[this.stack.length-1];a("inReference",!0),ve.type==="link"?ve.children=re.children:ve.alt=ae}function Zt(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.url=re}function Dt(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.title=re}function bt(){a("inReference")}function _t(){a("referenceType","collapsed")}function Ct(re){let ae=this.resume(),ve=this.stack[this.stack.length-1];ve.label=ae,ve.identifier=sr(this.sliceSerialize(re)).toLowerCase(),a("referenceType","full")}function ot(re){a("characterReferenceType",re.type)}function Er(re){let ae=this.sliceSerialize(re),ve=l("characterReferenceType"),Ie;ve?(Ie=fa(ae,ve==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):Ie=lo(ae);let Nt=this.stack.pop();Nt.value+=Ie,Nt.position.end=f(re.end)}function ye(re){de.call(this,re);let ae=this.stack[this.stack.length-1];ae.url=this.sliceSerialize(re)}function yr(re){de.call(this,re);let ae=this.stack[this.stack.length-1];ae.url="mailto:"+this.sliceSerialize(re)}function zt(){return{type:"blockquote",children:[]}}function _r(){return{type:"code",lang:null,meta:null,value:""}}function Mt(){return{type:"inlineCode",value:""}}function Xn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function jn(){return{type:"emphasis",children:[]}}function wn(){return{type:"heading",depth:void 0,children:[]}}function He(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function st(){return{type:"image",title:null,url:"",alt:null}}function Ke(){return{type:"link",title:null,url:"",children:[]}}function Sr(re){return{type:"list",ordered:re.type==="listOrdered",start:null,spread:re._spread,children:[]}}function ze(re){return{type:"listItem",spread:re._spread,checked:null,children:[]}}function Me(){return{type:"paragraph",children:[]}}function ft(){return{type:"strong",children:[]}}function ct(){return{type:"text",value:""}}function Vt(){return{type:"thematicBreak"}}}function Em(t,r){let e=-1;for(;++e<r.length;){let i=r[e];Array.isArray(i)?Em(t,i):vw(t,i)}return t}function vw(t,r){let e;for(e in r)if(Qu.call(r,e)){let i=e==="canContainEols"||e==="transforms",a=(Qu.call(t,e)?t[e]:void 0)||(t[e]=i?[]:{}),l=r[e];l&&(i?t[e]=[...a,...l]:Object.assign(a,l))}}function Am(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Ei({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Ei({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Ei({start:r.start,end:r.end})+") is still open")}function Xu(t){Object.assign(this,{Parser:e=>{let i=this.data("settings");return Yu(e,Object.assign({},i,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var _m=Xu;var kw={tokenize:Aw,partial:!0},Pm={tokenize:Ew,partial:!0},Fm={tokenize:_w,partial:!0},uo={tokenize:Pw,partial:!0},Tm={tokenize:Sw,partial:!0},Im={tokenize:xw,previous:Nm},Om={tokenize:Cw,previous:rf},Ln={tokenize:ww,previous:Dm},kn={},ef={text:kn},Oi=48;for(;Oi<123;)kn[Oi]=Ln,Oi++,Oi===58?Oi=65:Oi===91&&(Oi=97);kn[43]=Ln;kn[45]=Ln;kn[46]=Ln;kn[95]=Ln;kn[72]=[Ln,Om];kn[104]=[Ln,Om];kn[87]=[Ln,Im];kn[119]=[Ln,Im];function ww(t,r,e){let i=this,s,a;return l;function l(k){return!Sm(k)||!Dm(i.previous)||nf(i.events)?e(k):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(k))}function f(k){return Sm(k)?(t.consume(k),f):k===64?(t.consume(k),c):e(k)}function c(k){return k===46?t.check(uo,x,m)(k):k===45||k===95?t.check(uo,e,d)(k):Bt(k)?(!a&&_i(k)&&(a=!0),t.consume(k),c):x(k)}function m(k){return t.consume(k),s=!0,a=void 0,c}function d(k){return t.consume(k),b}function b(k){return k===46?t.check(uo,e,m)(k):c(k)}function x(k){return s&&!a?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(k)):e(k)}}function xw(t,r,e){let i=this;return s;function s(l){return l!==87&&l!==119||!Nm(i.previous)||nf(i.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(kw,t.attempt(Pm,t.attempt(Fm,a),e),e)(l))}function a(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function Cw(t,r,e){let i=this;return s;function s(E){return E!==72&&E!==104||!rf(i.previous)||nf(i.events)?e(E):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(E),a)}function a(E){return E===84||E===116?(t.consume(E),l):e(E)}function l(E){return E===84||E===116?(t.consume(E),f):e(E)}function f(E){return E===80||E===112?(t.consume(E),c):e(E)}function c(E){return E===83||E===115?(t.consume(E),m):m(E)}function m(E){return E===58?(t.consume(E),d):e(E)}function d(E){return E===47?(t.consume(E),b):e(E)}function b(E){return E===47?(t.consume(E),x):e(E)}function x(E){return E===null||Jn(E)||Si(E)||Pi(E)?e(E):t.attempt(Pm,t.attempt(Fm,k),e)(E)}function k(E){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(E)}}function Aw(t,r,e){return i;function i(c){return t.consume(c),s}function s(c){return c===87||c===119?(t.consume(c),a):e(c)}function a(c){return c===87||c===119?(t.consume(c),l):e(c)}function l(c){return c===46?(t.consume(c),f):e(c)}function f(c){return c===null||fe(c)?e(c):r(c)}}function Ew(t,r,e){let i,s;return a;function a(c){return c===38?t.check(Tm,f,l)(c):c===46||c===95?t.check(uo,f,l)(c):c===null||Jn(c)||Si(c)||c!==45&&Pi(c)?f(c):(t.consume(c),a)}function l(c){return c===46?(s=i,i=void 0,t.consume(c),a):(c===95&&(i=!0),t.consume(c),a)}function f(c){return!s&&!i?r(c):e(c)}}function _w(t,r){let e=0;return i;function i(l){return l===38?t.check(Tm,r,s)(l):(l===40&&e++,l===41?t.check(uo,a,s)(l):tf(l)?r(l):qm(l)?t.check(uo,r,s)(l):(t.consume(l),i))}function s(l){return t.consume(l),i}function a(l){return e--,e<0?r(l):s(l)}}function Sw(t,r,e){return i;function i(l){return t.consume(l),s}function s(l){return or(l)?(t.consume(l),s):l===59?(t.consume(l),a):e(l)}function a(l){return tf(l)?r(l):e(l)}}function Pw(t,r,e){return i;function i(a){return t.consume(a),s}function s(a){return qm(a)?(t.consume(a),s):tf(a)?r(a):e(a)}}function qm(t){return t===33||t===34||t===39||t===41||t===42||t===44||t===46||t===58||t===59||t===60||t===63||t===95||t===126}function tf(t){return t===null||t===60||Xe(t)}function Sm(t){return t===43||t===45||t===46||t===95||Bt(t)}function Nm(t){return t===null||t===40||t===42||t===95||t===126||Xe(t)}function rf(t){return t===null||!or(t)}function Dm(t){return t!==47&&rf(t)}function nf(t){let r=t.length,e=!1;for(;r--;){let i=t[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){e=!0;break}if(i._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var Fw={tokenize:Rw,partial:!0};function of(){return{document:{[91]:{tokenize:qw,continuation:{tokenize:Nw},exit:Dw}},text:{[91]:{tokenize:Ow},[93]:{add:"after",tokenize:Tw,resolveTo:Iw}}}}function Tw(t,r,e){let i=this,s=i.events.length,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),l;for(;s--;){let c=i.events[s][1];if(c.type==="labelImage"){l=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return f;function f(c){if(!l||!l._balanced)return e(c);let m=sr(i.sliceSerialize({start:l.end,end:i.now()}));return m.charCodeAt(0)!==94||!a.includes(m.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function Iw(t,r){let e=t.length,i;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){i=t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";let s={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},t[t.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},c=[t[e+1],t[e+2],["enter",s,r],t[e+3],t[e+4],["enter",a,r],["exit",a,r],["enter",l,r],["enter",f,r],["exit",f,r],["exit",l,r],t[t.length-2],t[t.length-1],["exit",s,r]];return t.splice(e,t.length-e+1,...c),t}function Ow(t,r,e){let i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a=0,l;return f;function f(x){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(x),t.exit("gfmFootnoteCallLabelMarker"),c}function c(x){return x!==94?e(x):(t.enter("gfmFootnoteCallMarker"),t.consume(x),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",m)}function m(x){let k;return x===null||x===91||a++>999?e(x):x===93?l?(t.exit("chunkString"),k=t.exit("gfmFootnoteCallString"),s.includes(sr(i.sliceSerialize(k)))?b(x):e(x)):e(x):(t.consume(x),Xe(x)||(l=!0),x===92?d:m)}function d(x){return x===91||x===92||x===93?(t.consume(x),a++,m):m(x)}function b(x){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(x),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function qw(t,r,e){let i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a,l=0,f;return c;function c(I){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(I){return I===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),d):e(I)}function d(I){let N;return I===null||I===91||l>999?e(I):I===93?f?(N=t.exit("gfmFootnoteDefinitionLabelString"),a=sr(i.sliceSerialize(N)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),k):e(I):fe(I)?(t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),l++,d):(t.enter("chunkString").contentType="string",b(I))}function b(I){return I===null||fe(I)||I===91||I===93||l>999?(t.exit("chunkString"),d(I)):(Xe(I)||(f=!0),l++,t.consume(I),I===92?x:b)}function x(I){return I===91||I===92||I===93?(t.consume(I),l++,b):b(I)}function k(I){return I===58?(t.enter("definitionMarker"),t.consume(I),t.exit("definitionMarker"),we(t,E,"gfmFootnoteDefinitionWhitespace")):e(I)}function E(I){return s.includes(a)||s.push(a),r(I)}}function Nw(t,r,e){return t.check(vn,r,t.attempt(Fw,r,e))}function Dw(t){t.exit("gfmFootnoteDefinition")}function Rw(t,r,e){let i=this;return we(t,s,"gfmFootnoteDefinitionIndent",4+1);function s(a){let l=i.events[i.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(a):e(a)}}function sf(t={}){let r=t.singleTilde,e={tokenize:s,resolveAll:i};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function i(a,l){let f=-1;for(;++f<a.length;)if(a[f][0]==="enter"&&a[f][1].type==="strikethroughSequenceTemporary"&&a[f][1]._close){let c=f;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[f][1].end.offset-a[f][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[f][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let m={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[f][1].end)},d={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[f][1].start)},b=[["enter",m,l],["enter",a[c][1],l],["exit",a[c][1],l],["enter",d,l]];Ft(b,b.length,0,Yn(l.parser.constructs.insideSpan.null,a.slice(c+1,f),l)),Ft(b,b.length,0,[["exit",d,l],["enter",a[f][1],l],["exit",a[f][1],l],["exit",m,l]]),Ft(a,c-1,f-c+3,b),f=c+b.length-2;break}}for(f=-1;++f<a.length;)a[f][1].type==="strikethroughSequenceTemporary"&&(a[f][1].type="data");return a}function s(a,l,f){let c=this.previous,m=this.events,d=0;return b;function b(k){return c===126&&m[m.length-1][1].type!=="characterEscape"?f(k):(a.enter("strikethroughSequenceTemporary"),x(k))}function x(k){let E=ao(c);if(k===126)return d>1?f(k):(a.consume(k),d++,x);if(d<2&&!r)return f(k);let I=a.exit("strikethroughSequenceTemporary"),N=ao(k);return I._open=!N||N===2&&Boolean(E),I._close=!E||E===2&&Boolean(N),l(k)}}}var af={flow:{null:{tokenize:jw,resolve:Lw}}},Rm={tokenize:Bw,partial:!0};function Lw(t,r){let e=-1,i,s,a,l,f,c,m;for(;++e<t.length;){let d=t[e][1];if(a&&(d.type==="temporaryTableCellContent"&&(l=l||e,f=e),(d.type==="tableCellDivider"||d.type==="tableRow")&&f)){let b={type:"tableContent",start:t[l][1].start,end:t[f][1].end},x={type:"chunkText",start:b.start,end:b.end,contentType:"text"};t.splice(l,f-l+1,["enter",b,r],["enter",x,r],["exit",x,r],["exit",b,r]),e-=f-l-3,l=void 0,f=void 0}if(t[e][0]==="exit"&&c!==void 0&&c+(m?0:1)<e&&(d.type==="tableCellDivider"||d.type==="tableRow"&&(c+3<e||t[c][1].type!=="whitespace"))){let b={type:s?"tableDelimiter":i?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(d.type==="tableCellDivider"?1:0),0,["exit",b,r]),t.splice(c,0,["enter",b,r]),e+=2,c=e+1,m=!0}d.type==="tableRow"&&(a=t[e][0]==="enter",a&&(c=e+1,m=!1)),d.type==="tableDelimiterRow"&&(s=t[e][0]==="enter",s&&(c=e+1,m=!1)),d.type==="tableHead"&&(i=t[e][0]==="enter")}return t}function jw(t,r,e){let i=this,s=[],a=0,l,f;return c;function c(X){return t.enter("table")._align=s,t.enter("tableHead"),t.enter("tableRow"),X===124?m(X):(a++,t.enter("temporaryTableCellContent"),x(X))}function m(X){return t.enter("tableCellDivider"),t.consume(X),t.exit("tableCellDivider"),l=!0,d}function d(X){return X===null||fe(X)?E(X):Re(X)?(t.enter("whitespace"),t.consume(X),b):(l&&(l=void 0,a++),X===124?m(X):(t.enter("temporaryTableCellContent"),x(X)))}function b(X){return Re(X)?(t.consume(X),b):(t.exit("whitespace"),d(X))}function x(X){return X===null||X===124||Xe(X)?(t.exit("temporaryTableCellContent"),d(X)):(t.consume(X),X===92?k:x)}function k(X){return X===92||X===124?(t.consume(X),x):x(X)}function E(X){if(X===null)return e(X);t.exit("tableRow"),t.exit("tableHead");let xt=i.interrupt;return i.interrupt=!0,t.attempt({tokenize:it,partial:!0},function(We){return i.interrupt=xt,t.enter("tableDelimiterRow"),I(We)},function(We){return i.interrupt=xt,e(We)})(X)}function I(X){return X===null||fe(X)?$e(X):Re(X)?(t.enter("whitespace"),t.consume(X),N):X===45?(t.enter("tableDelimiterFiller"),t.consume(X),f=!0,s.push("none"),M):X===58?(t.enter("tableDelimiterAlignment"),t.consume(X),t.exit("tableDelimiterAlignment"),s.push("left"),Y):X===124?(t.enter("tableCellDivider"),t.consume(X),t.exit("tableCellDivider"),I):e(X)}function N(X){return Re(X)?(t.consume(X),N):(t.exit("whitespace"),I(X))}function M(X){return X===45?(t.consume(X),M):(t.exit("tableDelimiterFiller"),X===58?(t.enter("tableDelimiterAlignment"),t.consume(X),t.exit("tableDelimiterAlignment"),s[s.length-1]=s[s.length-1]==="left"?"center":"right",se):I(X))}function Y(X){return X===45?(t.enter("tableDelimiterFiller"),t.consume(X),f=!0,M):e(X)}function se(X){return X===null||fe(X)?$e(X):Re(X)?(t.enter("whitespace"),t.consume(X),N):X===124?(t.enter("tableCellDivider"),t.consume(X),t.exit("tableCellDivider"),I):e(X)}function $e(X){return t.exit("tableDelimiterRow"),!f||a!==s.length?e(X):X===null?he(X):t.check(Rm,he,t.attempt({tokenize:it,partial:!0},we(t,ne,"linePrefix",4),he))(X)}function he(X){return t.exit("table"),r(X)}function ne(X){return t.enter("tableBody"),be(X)}function be(X){return t.enter("tableRow"),X===124?xe(X):(t.enter("temporaryTableCellContent"),Ee(X))}function xe(X){return t.enter("tableCellDivider"),t.consume(X),t.exit("tableCellDivider"),ke}function ke(X){return X===null||fe(X)?de(X):Re(X)?(t.enter("whitespace"),t.consume(X),Le):X===124?xe(X):(t.enter("temporaryTableCellContent"),Ee(X))}function Le(X){return Re(X)?(t.consume(X),Le):(t.exit("whitespace"),ke(X))}function Ee(X){return X===null||X===124||Xe(X)?(t.exit("temporaryTableCellContent"),ke(X)):(t.consume(X),X===92?_e:Ee)}function _e(X){return X===92||X===124?(t.consume(X),Ee):Ee(X)}function de(X){return t.exit("tableRow"),X===null?Ce(X):t.check(Rm,Ce,t.attempt({tokenize:it,partial:!0},we(t,be,"linePrefix",4),Ce))(X)}function Ce(X){return t.exit("tableBody"),he(X)}function it(X,xt,We){return yt;function yt(B){return X.enter("lineEnding"),X.consume(B),X.exit("lineEnding"),we(X,et,"linePrefix")}function et(B){if(i.parser.lazy[i.now().line]||B===null||fe(B))return We(B);let V=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&V&&V[1].type==="linePrefix"&&V[2].sliceSerialize(V[1],!0).length>=4?We(B):(i._gfmTableDynamicInterruptHack=!0,X.check(i.parser.constructs.flow,function(Zt){return i._gfmTableDynamicInterruptHack=!1,We(Zt)},function(Zt){return i._gfmTableDynamicInterruptHack=!1,xt(Zt)})(B))}}}function Bw(t,r,e){let i=0;return s;function s(l){return t.enter("check"),t.consume(l),a}function a(l){return l===-1||l===32?(t.consume(l),i++,i===4?r:a):l===null||Xe(l)?r(l):e(l)}}var zw={tokenize:Mw},lf={text:{[91]:zw}};function Mw(t,r,e){let i=this;return s;function s(f){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),a)}function a(f){return Xe(f)?(t.enter("taskListCheckValueUnchecked"),t.consume(f),t.exit("taskListCheckValueUnchecked"),l):f===88||f===120?(t.enter("taskListCheckValueChecked"),t.consume(f),t.exit("taskListCheckValueChecked"),l):e(f)}function l(f){return f===93?(t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:Vw},r,e)):e(f)}}function Vw(t,r,e){let i=this;return we(t,s,"whitespace");function s(a){let l=i.events[i.events.length-1];return(l&&l[1].type==="whitespace"||fe(a))&&a!==null?r(a):e(a)}}function Lm(t){return ea([ef,of(),sf(t),af,lf])}function uf(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let i=0,s=e.indexOf(r);for(;s!==-1;)i++,s=e.indexOf(r,s+r.length);return i}function ff(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var es=function(t){if(t==null)return Kw;if(typeof t=="string")return Gw(t);if(typeof t=="object")return Array.isArray(t)?Uw(t):Hw(t);if(typeof t=="function")return pa(t);throw new Error("Expected function, string, or object as test")};function Uw(t){let r=[],e=-1;for(;++e<t.length;)r[e]=es(t[e]);return pa(i);function i(...s){let a=-1;for(;++a<r.length;)if(r[a].call(this,...s))return!0;return!1}}function Hw(t){return pa(r);function r(e){let i;for(i in t)if(e[i]!==t[i])return!1;return!0}}function Gw(t){return pa(r);function r(e){return e&&e.type===t}}function pa(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function Kw(){return!0}function jm(t){return"\x1B[33m"+t+"\x1B[39m"}var Ww=!0,Zw="skip",Bm=!1,zm=function(t,r,e,i){typeof r=="function"&&typeof e!="function"&&(i=e,e=r,r=null);let s=es(r),a=i?-1:1;l(t,null,[])();function l(f,c,m){let d=typeof f=="object"&&f!==null?f:{},b;return typeof d.type=="string"&&(b=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0,Object.defineProperty(x,"name",{value:"node ("+jm(d.type+(b?"<"+b+">":""))+")"})),x;function x(){let k=[],E,I,N;if((!r||s(f,c,m[m.length-1]||null))&&(k=Jw(e(f,m)),k[0]===Bm))return k;if(f.children&&k[0]!==Zw)for(I=(i?f.children.length:-1)+a,N=m.concat(f);I>-1&&I<f.children.length;){if(E=l(f.children[I],I,N)(),E[0]===Bm)return E;I=typeof E[1]=="number"?E[1]:I+a}return k}}};function Jw(t){return Array.isArray(t)?t:typeof t=="number"?[Ww,t]:[t]}var Qw={}.hasOwnProperty,cf=function(t,r,e,i){let s,a;typeof r=="string"||r instanceof RegExp?(a=[[r,e]],s=i):(a=r,s=e),s||(s={});let l=es(s.ignore||[]),f=Yw(a),c=-1;for(;++c<f.length;)zm(t,"text",m);return t;function m(b,x){let k=-1,E;for(;++k<x.length;){let I=x[k];if(l(I,E?E.children.indexOf(I):void 0,E))return;E=I}if(E)return d(b,x)}function d(b,x){let k=x[x.length-1],E=f[c][0],I=f[c][1],N=0,M=k.children.indexOf(b),Y=!1,se=[],$e;E.lastIndex=0;let he=E.exec(b.value);for(;he;){$e=he.index;let ne={index:he.index,input:he.input,stack:[...x,b]},be=I(...he,ne);if(typeof be=="string"&&(be=be.length>0?{type:"text",value:be}:void 0),be!==!1&&(N!==$e&&se.push({type:"text",value:b.value.slice(N,$e)}),Array.isArray(be)?se.push(...be):be&&se.push(be),N=$e+he[0].length,Y=!0),!E.global)break;he=E.exec(b.value)}return Y?(N<b.value.length&&se.push({type:"text",value:b.value.slice(N)}),k.children.splice(M,1,...se)):se=[b],M+se.length}};function Yw(t){let r=[];if(typeof t!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let e=-1;for(;++e<t.length;)r.push([Mm(t[e][0]),Vm(t[e][1])])}else{let e;for(e in t)Qw.call(t,e)&&r.push([Mm(e),Vm(t[e])])}return r}function Mm(t){return typeof t=="string"?new RegExp(ff(t),"g"):t}function Vm(t){return typeof t=="function"?t:()=>t}var pf="phrasing",df=["autolink","link","image","label"],Um={transforms:[i0],enter:{literalAutolink:Xw,literalAutolinkEmail:mf,literalAutolinkHttp:mf,literalAutolinkWww:mf},exit:{literalAutolink:n0,literalAutolinkEmail:r0,literalAutolinkHttp:e0,literalAutolinkWww:t0}},Hm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:pf,notInConstruct:df},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:pf,notInConstruct:df},{character:":",before:"[ps]",after:"\\/",inConstruct:pf,notInConstruct:df}]};function Xw(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function mf(t){this.config.enter.autolinkProtocol.call(this,t)}function e0(t){this.config.exit.autolinkProtocol.call(this,t)}function t0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function r0(t){this.config.exit.autolinkEmail.call(this,t)}function n0(t){this.exit(t)}function i0(t){cf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,o0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,s0]],{ignore:["link","linkReference"]})}function o0(t,r,e,i,s){let a="";if(!Gm(s)||(/^w/i.test(r)&&(e=r+e,r="",a="http://"),!a0(e)))return!1;let l=l0(e+i);if(!l[0])return!1;let f={type:"link",title:null,url:a+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function s0(t,r,e,i){return!Gm(i,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function a0(t){let r=t.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function l0(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,i,s,a;if(r)for(t=t.slice(0,r.index),a=r[0],e=a.indexOf(")"),i=uf(t,"("),s=uf(t,")");e!==-1&&i>s;)t+=a.slice(0,e+1),a=a.slice(e+1),e=a.indexOf(")"),s++;return[t,a]}function Gm(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Si(e)||Pi(e))&&(!r||e!==47)}function hf(t){return t.label||!t.identifier?t.label||"":ca(t.identifier)}function lr(t){let r=t||{},e=r.now||{},i=r.lineShift||0,s=e.line||1,a=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:s,column:a},lineShift:i}}function f(m){i+=m}function c(m=""){let d=m.split(/\r?\n|\r/g),b=d[d.length-1];return s+=d.length-1,a=d.length===1?a+b.length:1+b.length+i,m}}function da(t,r,e){let i=r.indexStack,s=t.children||[],a=lr(e),l=[],f=-1;for(i.push(-1);++f<s.length;){let m=s[f];i[i.length-1]=f,l.push(a.move(r.handle(m,t,r,{before:`
38
+ `;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&s)continue;l=" ";break}default:l=String.fromCharCode(a)}s=a===-2,i.push(l)}return i.join("")}var Qu={};Bf(Qu,{attentionMarkers:()=>yv,contentInitial:()=>cv,disable:()=>$v,document:()=>fv,flow:()=>dv,flowInitial:()=>pv,insideSpan:()=>gv,string:()=>mv,text:()=>hv});var fv={[42]:lr,[43]:lr,[45]:lr,[48]:lr,[49]:lr,[50]:lr,[51]:lr,[52]:lr,[53]:lr,[54]:lr,[55]:lr,[56]:lr,[57]:lr,[62]:na},cv={[91]:Vu},pv={[-2]:ts,[-1]:ts,[32]:ts},dv={[35]:Hu,[42]:Ii,[45]:[ca,Ii],[60]:Ku,[61]:ca,[95]:Ii,[96]:sa,[126]:sa},mv={[38]:oa,[92]:ia},hv={[-5]:rs,[-4]:rs,[-3]:rs,[33]:Zu,[38]:oa,[42]:es,[60]:[ju,Wu],[91]:Ju,[92]:[Uu,ia],[93]:Fi,[95]:es,[96]:Mu},gv={null:[es,hm]},yv={null:[42,95]},$v={null:[]};function km(t={}){let r=ra([Qu].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:i(um),document:i(cm),flow:i(mm),string:i(gm),text:i(ym)};return e;function i(s){return a;function a(l){return wm(e,s,l)}}}var vm=/[\0\t\n\r]/g;function xm(){let t=1,r="",e=!0,i;return s;function s(a,l,f){let c=[],m,d,$,E,k;for(a=r+a.toString(l),$=0,r="",e&&(a.charCodeAt(0)===65279&&$++,e=void 0);$<a.length;){if(vm.lastIndex=$,m=vm.exec(a),E=m&&m.index!==void 0?m.index:a.length,k=a.charCodeAt(E),!m){r=a.slice($);break}if(k===10&&$===E&&i)c.push(-3),i=void 0;else switch(i&&(c.push(-5),i=void 0),$<E&&(c.push(a.slice($,E)),t+=E-$),k){case 0:{c.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,c.push(-2);t++<d;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:i=!0,t=1}$=E+1}return f&&(i&&c.push(-5),r&&c.push(r),c.push(null)),c}}function Cm(t){for(;!aa(t););return t}function pa(t,r){let e=Number.parseInt(t,r);return e<9||e===11||e>13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(e&65535)===65535||(e&65535)===65534||e>1114111?"\uFFFD":String.fromCharCode(e)}var bv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function da(t){return t.replace(bv,wv)}function wv(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let s=e.charCodeAt(1),a=s===120||s===88;return pa(e.slice(a?2:1),a?16:10)}return lo(e)||t}var Xu={}.hasOwnProperty,Yu=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),kv(e)(Cm(km(e).document().write(xm()(t,r,!0))))};function kv(t={}){let r=Em({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(We),autolinkProtocol:_e,autolinkEmail:_e,atxHeading:c(En),blockQuote:c(zt),characterEscape:_e,characterReference:_e,codeFenced:c(Ir),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:c(Ir,m),codeText:c(Vt,m),codeTextData:_e,data:_e,codeFlowValue:_e,definition:c(ei),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:c(Mn),hardBreakEscape:c(Ge),hardBreakTrailing:c(Ge),htmlFlow:c(Ke,m),htmlFlowData:_e,htmlText:c(Ke,m),htmlTextData:_e,image:c(at),label:m,link:c(We),listItem:c(ze),listItemValue:I,listOrdered:c(Or,x),listUnordered:c(Or),paragraph:c(Ve),reference:St,referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:c(En),strong:c(ct),thematicBreak:c(Ut)},exit:{atxHeading:$(),atxHeadingSequence:xe,autolink:$(),autolinkEmail:wr,autolinkProtocol:ye,blockQuote:$(),characterEscapeValue:de,characterReferenceMarkerHexadecimal:st,characterReferenceMarkerNumeric:st,characterReferenceValue:Fr,codeFenced:$(se),codeFencedFence:X,codeFencedFenceInfo:N,codeFencedFenceMeta:B,codeFlowValue:de,codeIndented:$($e),codeText:$(Ze),codeTextData:de,data:de,definition:$(),definitionDestinationString:be,definitionLabelString:he,definitionTitleString:ne,emphasis:$(),hardBreakEscape:$(ot),hardBreakTrailing:$(ot),htmlFlow:$(Y),htmlFlowData:de,htmlText:$(Ct),htmlTextData:de,image:$(tt),label:V,labelText:M,lineEnding:Ce,link:$(yt),listItem:$(),listOrdered:$(),listUnordered:$(),paragraph:$(),referenceString:At,resourceDestinationString:Jt,resourceTitleString:Rt,resource:bt,setextHeading:$(Ee),setextHeadingLineSequence:Le,setextHeadingText:ke,strong:$(),thematicBreak:$()}},t.mdastExtensions||[]),e={};return i;function i(re){let ae={type:"root",children:[]},we=[ae],Ie=[],Dt=[],Zr={stack:we,tokenStack:Ie,config:r,enter:d,exit:E,buffer:m,resume:k,setData:a,getData:l},rt=-1;for(;++rt<re.length;)if(re[rt][1].type==="listOrdered"||re[rt][1].type==="listUnordered")if(re[rt][0]==="enter")Dt.push(rt);else{let wt=Dt.pop();rt=s(re,wt,rt)}for(rt=-1;++rt<re.length;){let wt=r[re[rt][0]];Xu.call(wt,re[rt][1].type)&&wt[re[rt][1].type].call(Object.assign({sliceSerialize:re[rt][2].sliceSerialize},Zr),re[rt][1])}if(Ie.length>0){let wt=Ie[Ie.length-1];(wt[1]||Am).call(Zr,void 0,wt[0])}for(ae.position={start:f(re.length>0?re[0][1].start:{line:1,column:1,offset:0}),end:f(re.length>0?re[re.length-2][1].end:{line:1,column:1,offset:0})},rt=-1;++rt<r.transforms.length;)ae=r.transforms[rt](ae)||ae;return ae}function s(re,ae,we){let Ie=ae-1,Dt=-1,Zr=!1,rt,wt,Pt,Jr;for(;++Ie<=we;){let dt=re[Ie];if(dt[1].type==="listUnordered"||dt[1].type==="listOrdered"||dt[1].type==="blockQuote"?(dt[0]==="enter"?Dt++:Dt--,Jr=void 0):dt[1].type==="lineEndingBlank"?dt[0]==="enter"&&(rt&&!Jr&&!Dt&&!Pt&&(Pt=Ie),Jr=void 0):dt[1].type==="linePrefix"||dt[1].type==="listItemValue"||dt[1].type==="listItemMarker"||dt[1].type==="listItemPrefix"||dt[1].type==="listItemPrefixWhitespace"||(Jr=void 0),!Dt&&dt[0]==="enter"&&dt[1].type==="listItemPrefix"||Dt===-1&&dt[0]==="exit"&&(dt[1].type==="listUnordered"||dt[1].type==="listOrdered")){if(rt){let _n=Ie;for(wt=void 0;_n--;){let It=re[_n];if(It[1].type==="lineEnding"||It[1].type==="lineEndingBlank"){if(It[0]==="exit")continue;wt&&(re[wt][1].type="lineEndingBlank",Zr=!0),It[1].type="lineEnding",wt=_n}else if(!(It[1].type==="linePrefix"||It[1].type==="blockQuotePrefix"||It[1].type==="blockQuotePrefixWhitespace"||It[1].type==="blockQuoteMarker"||It[1].type==="listItemIndent"))break}Pt&&(!wt||Pt<wt)&&(rt._spread=!0),rt.end=Object.assign({},wt?re[wt][1].start:dt[1].end),re.splice(wt||Ie,0,["exit",rt,dt[2]]),Ie++,we++}dt[1].type==="listItemPrefix"&&(rt={type:"listItem",_spread:!1,start:Object.assign({},dt[1].start)},re.splice(Ie,0,["enter",rt,dt[2]]),Ie++,we++,Pt=void 0,Jr=!0)}}return re[ae][1]._spread=Zr,we}function a(re,ae){e[re]=ae}function l(re){return e[re]}function f(re){return{line:re.line,column:re.column,offset:re.offset}}function c(re,ae){return we;function we(Ie){d.call(this,re(Ie),Ie),ae&&ae.call(this,Ie)}}function m(){this.stack.push({type:"fragment",children:[]})}function d(re,ae,we){return this.stack[this.stack.length-1].children.push(re),this.stack.push(re),this.tokenStack.push([ae,we]),re.position={start:f(ae.start)},re}function $(re){return ae;function ae(we){re&&re.call(this,we),E.call(this,we)}}function E(re,ae){let we=this.stack.pop(),Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==re.type&&(ae?ae.call(this,re,Ie[0]):(Ie[1]||Am).call(this,re,Ie[0]));else throw new Error("Cannot close `"+re.type+"` ("+Ei({start:re.start,end:re.end})+"): it\u2019s not open");return we.position.end=f(re.end),we}function k(){return nm(this.stack.pop())}function x(){a("expectingFirstListItemValue",!0)}function I(re){if(l("expectingFirstListItemValue")){let ae=this.stack[this.stack.length-2];ae.start=Number.parseInt(this.sliceSerialize(re),10),a("expectingFirstListItemValue")}}function N(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.lang=re}function B(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.meta=re}function X(){l("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function se(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function $e(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re.replace(/(\r?\n|\r)$/g,"")}function he(re){let ae=this.resume(),we=this.stack[this.stack.length-1];we.label=ae,we.identifier=ar(this.sliceSerialize(re)).toLowerCase()}function ne(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.title=re}function be(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.url=re}function xe(re){let ae=this.stack[this.stack.length-1];if(!ae.depth){let we=this.sliceSerialize(re).length;ae.depth=we}}function ke(){a("setextHeadingSlurpLineEnding",!0)}function Le(re){let ae=this.stack[this.stack.length-1];ae.depth=this.sliceSerialize(re).charCodeAt(0)===61?1:2}function Ee(){a("setextHeadingSlurpLineEnding")}function _e(re){let ae=this.stack[this.stack.length-1],we=ae.children[ae.children.length-1];(!we||we.type!=="text")&&(we=pt(),we.position={start:f(re.start)},ae.children.push(we)),this.stack.push(we)}function de(re){let ae=this.stack.pop();ae.value+=this.sliceSerialize(re),ae.position.end=f(re.end)}function Ce(re){let ae=this.stack[this.stack.length-1];if(l("atHardBreak")){let we=ae.children[ae.children.length-1];we.position.end=f(re.end),a("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(ae.type)&&(_e.call(this,re),de.call(this,re))}function ot(){a("atHardBreak",!0)}function Y(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function Ct(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function Ze(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function yt(){let re=this.stack[this.stack.length-1];l("inReference")?(re.type+="Reference",re.referenceType=l("referenceType")||"shortcut",delete re.url,delete re.title):(delete re.identifier,delete re.label),a("referenceType")}function tt(){let re=this.stack[this.stack.length-1];l("inReference")?(re.type+="Reference",re.referenceType=l("referenceType")||"shortcut",delete re.url,delete re.title):(delete re.identifier,delete re.label),a("referenceType")}function M(re){let ae=this.stack[this.stack.length-2],we=this.sliceSerialize(re);ae.label=da(we),ae.identifier=ar(we).toLowerCase()}function V(){let re=this.stack[this.stack.length-1],ae=this.resume(),we=this.stack[this.stack.length-1];a("inReference",!0),we.type==="link"?we.children=re.children:we.alt=ae}function Jt(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.url=re}function Rt(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.title=re}function bt(){a("inReference")}function St(){a("referenceType","collapsed")}function At(re){let ae=this.resume(),we=this.stack[this.stack.length-1];we.label=ae,we.identifier=ar(this.sliceSerialize(re)).toLowerCase(),a("referenceType","full")}function st(re){a("characterReferenceType",re.type)}function Fr(re){let ae=this.sliceSerialize(re),we=l("characterReferenceType"),Ie;we?(Ie=pa(ae,we==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):Ie=lo(ae);let Dt=this.stack.pop();Dt.value+=Ie,Dt.position.end=f(re.end)}function ye(re){de.call(this,re);let ae=this.stack[this.stack.length-1];ae.url=this.sliceSerialize(re)}function wr(re){de.call(this,re);let ae=this.stack[this.stack.length-1];ae.url="mailto:"+this.sliceSerialize(re)}function zt(){return{type:"blockquote",children:[]}}function Ir(){return{type:"code",lang:null,meta:null,value:""}}function Vt(){return{type:"inlineCode",value:""}}function ei(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Mn(){return{type:"emphasis",children:[]}}function En(){return{type:"heading",depth:void 0,children:[]}}function Ge(){return{type:"break"}}function Ke(){return{type:"html",value:""}}function at(){return{type:"image",title:null,url:"",alt:null}}function We(){return{type:"link",title:null,url:"",children:[]}}function Or(re){return{type:"list",ordered:re.type==="listOrdered",start:null,spread:re._spread,children:[]}}function ze(re){return{type:"listItem",spread:re._spread,checked:null,children:[]}}function Ve(){return{type:"paragraph",children:[]}}function ct(){return{type:"strong",children:[]}}function pt(){return{type:"text",value:""}}function Ut(){return{type:"thematicBreak"}}}function Em(t,r){let e=-1;for(;++e<r.length;){let i=r[e];Array.isArray(i)?Em(t,i):vv(t,i)}return t}function vv(t,r){let e;for(e in r)if(Xu.call(r,e)){let i=e==="canContainEols"||e==="transforms",a=(Xu.call(t,e)?t[e]:void 0)||(t[e]=i?[]:{}),l=r[e];l&&(i?t[e]=[...a,...l]:Object.assign(a,l))}}function Am(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Ei({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Ei({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Ei({start:r.start,end:r.end})+") is still open")}function ef(t){Object.assign(this,{Parser:e=>{let i=this.data("settings");return Yu(e,Object.assign({},i,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var _m=ef;var xv={tokenize:_v,partial:!0},Pm={tokenize:Sv,partial:!0},Tm={tokenize:Pv,partial:!0},uo={tokenize:Fv,partial:!0},Fm={tokenize:Tv,partial:!0},Im={tokenize:Av,previous:Nm},Om={tokenize:Ev,previous:nf},Bn={tokenize:Cv,previous:Dm},An={},tf={text:An},Oi=48;for(;Oi<123;)An[Oi]=Bn,Oi++,Oi===58?Oi=65:Oi===91&&(Oi=97);An[43]=Bn;An[45]=Bn;An[46]=Bn;An[95]=Bn;An[72]=[Bn,Om];An[104]=[Bn,Om];An[87]=[Bn,Im];An[119]=[Bn,Im];function Cv(t,r,e){let i=this,s,a;return l;function l(k){return!Sm(k)||!Dm(i.previous)||of(i.events)?e(k):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(k))}function f(k){return Sm(k)?(t.consume(k),f):k===64?(t.consume(k),c):e(k)}function c(k){return k===46?t.check(uo,E,m)(k):k===45||k===95?t.check(uo,e,d)(k):Mt(k)?(!a&&_i(k)&&(a=!0),t.consume(k),c):E(k)}function m(k){return t.consume(k),s=!0,a=void 0,c}function d(k){return t.consume(k),$}function $(k){return k===46?t.check(uo,e,m)(k):c(k)}function E(k){return s&&!a?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(k)):e(k)}}function Av(t,r,e){let i=this;return s;function s(l){return l!==87&&l!==119||!Nm(i.previous)||of(i.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(xv,t.attempt(Pm,t.attempt(Tm,a),e),e)(l))}function a(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function Ev(t,r,e){let i=this;return s;function s(x){return x!==72&&x!==104||!nf(i.previous)||of(i.events)?e(x):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(x),a)}function a(x){return x===84||x===116?(t.consume(x),l):e(x)}function l(x){return x===84||x===116?(t.consume(x),f):e(x)}function f(x){return x===80||x===112?(t.consume(x),c):e(x)}function c(x){return x===83||x===115?(t.consume(x),m):m(x)}function m(x){return x===58?(t.consume(x),d):e(x)}function d(x){return x===47?(t.consume(x),$):e(x)}function $(x){return x===47?(t.consume(x),E):e(x)}function E(x){return x===null||Qn(x)||Si(x)||Pi(x)?e(x):t.attempt(Pm,t.attempt(Tm,k),e)(x)}function k(x){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(x)}}function _v(t,r,e){return i;function i(c){return t.consume(c),s}function s(c){return c===87||c===119?(t.consume(c),a):e(c)}function a(c){return c===87||c===119?(t.consume(c),l):e(c)}function l(c){return c===46?(t.consume(c),f):e(c)}function f(c){return c===null||fe(c)?e(c):r(c)}}function Sv(t,r,e){let i,s;return a;function a(c){return c===38?t.check(Fm,f,l)(c):c===46||c===95?t.check(uo,f,l)(c):c===null||Qn(c)||Si(c)||c!==45&&Pi(c)?f(c):(t.consume(c),a)}function l(c){return c===46?(s=i,i=void 0,t.consume(c),a):(c===95&&(i=!0),t.consume(c),a)}function f(c){return!s&&!i?r(c):e(c)}}function Pv(t,r){let e=0;return i;function i(l){return l===38?t.check(Fm,r,s)(l):(l===40&&e++,l===41?t.check(uo,a,s)(l):rf(l)?r(l):qm(l)?t.check(uo,r,s)(l):(t.consume(l),i))}function s(l){return t.consume(l),i}function a(l){return e--,e<0?r(l):s(l)}}function Tv(t,r,e){return i;function i(l){return t.consume(l),s}function s(l){return sr(l)?(t.consume(l),s):l===59?(t.consume(l),a):e(l)}function a(l){return rf(l)?r(l):e(l)}}function Fv(t,r,e){return i;function i(a){return t.consume(a),s}function s(a){return qm(a)?(t.consume(a),s):rf(a)?r(a):e(a)}}function qm(t){return t===33||t===34||t===39||t===41||t===42||t===44||t===46||t===58||t===59||t===60||t===63||t===95||t===126}function rf(t){return t===null||t===60||et(t)}function Sm(t){return t===43||t===45||t===46||t===95||Mt(t)}function Nm(t){return t===null||t===40||t===42||t===95||t===126||et(t)}function nf(t){return t===null||!sr(t)}function Dm(t){return t!==47&&nf(t)}function of(t){let r=t.length,e=!1;for(;r--;){let i=t[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){e=!0;break}if(i._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var Iv={tokenize:jv,partial:!0};function sf(){return{document:{[91]:{tokenize:Dv,continuation:{tokenize:Rv},exit:Lv}},text:{[91]:{tokenize:Nv},[93]:{add:"after",tokenize:Ov,resolveTo:qv}}}}function Ov(t,r,e){let i=this,s=i.events.length,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),l;for(;s--;){let c=i.events[s][1];if(c.type==="labelImage"){l=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return f;function f(c){if(!l||!l._balanced)return e(c);let m=ar(i.sliceSerialize({start:l.end,end:i.now()}));return m.charCodeAt(0)!==94||!a.includes(m.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function qv(t,r){let e=t.length,i;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){i=t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";let s={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},t[t.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},c=[t[e+1],t[e+2],["enter",s,r],t[e+3],t[e+4],["enter",a,r],["exit",a,r],["enter",l,r],["enter",f,r],["exit",f,r],["exit",l,r],t[t.length-2],t[t.length-1],["exit",s,r]];return t.splice(e,t.length-e+1,...c),t}function Nv(t,r,e){let i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a=0,l;return f;function f(E){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(E),t.exit("gfmFootnoteCallLabelMarker"),c}function c(E){return E!==94?e(E):(t.enter("gfmFootnoteCallMarker"),t.consume(E),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",m)}function m(E){let k;return E===null||E===91||a++>999?e(E):E===93?l?(t.exit("chunkString"),k=t.exit("gfmFootnoteCallString"),s.includes(ar(i.sliceSerialize(k)))?$(E):e(E)):e(E):(t.consume(E),et(E)||(l=!0),E===92?d:m)}function d(E){return E===91||E===92||E===93?(t.consume(E),a++,m):m(E)}function $(E){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(E),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function Dv(t,r,e){let i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a,l=0,f;return c;function c(I){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(I){return I===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),d):e(I)}function d(I){let N;return I===null||I===91||l>999?e(I):I===93?f?(N=t.exit("gfmFootnoteDefinitionLabelString"),a=ar(i.sliceSerialize(N)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),k):e(I):fe(I)?(t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),l++,d):(t.enter("chunkString").contentType="string",$(I))}function $(I){return I===null||fe(I)||I===91||I===93||l>999?(t.exit("chunkString"),d(I)):(et(I)||(f=!0),l++,t.consume(I),I===92?E:$)}function E(I){return I===91||I===92||I===93?(t.consume(I),l++,$):$(I)}function k(I){return I===58?(t.enter("definitionMarker"),t.consume(I),t.exit("definitionMarker"),ve(t,x,"gfmFootnoteDefinitionWhitespace")):e(I)}function x(I){return s.includes(a)||s.push(a),r(I)}}function Rv(t,r,e){return t.check(Cn,r,t.attempt(Iv,r,e))}function Lv(t){t.exit("gfmFootnoteDefinition")}function jv(t,r,e){let i=this;return ve(t,s,"gfmFootnoteDefinitionIndent",4+1);function s(a){let l=i.events[i.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(a):e(a)}}function af(t={}){let r=t.singleTilde,e={tokenize:s,resolveAll:i};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function i(a,l){let f=-1;for(;++f<a.length;)if(a[f][0]==="enter"&&a[f][1].type==="strikethroughSequenceTemporary"&&a[f][1]._close){let c=f;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[f][1].end.offset-a[f][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[f][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let m={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[f][1].end)},d={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[f][1].start)},$=[["enter",m,l],["enter",a[c][1],l],["exit",a[c][1],l],["enter",d,l]];Ft($,$.length,0,Yn(l.parser.constructs.insideSpan.null,a.slice(c+1,f),l)),Ft($,$.length,0,[["exit",d,l],["enter",a[f][1],l],["exit",a[f][1],l],["exit",m,l]]),Ft(a,c-1,f-c+3,$),f=c+$.length-2;break}}for(f=-1;++f<a.length;)a[f][1].type==="strikethroughSequenceTemporary"&&(a[f][1].type="data");return a}function s(a,l,f){let c=this.previous,m=this.events,d=0;return $;function $(k){return c===126&&m[m.length-1][1].type!=="characterEscape"?f(k):(a.enter("strikethroughSequenceTemporary"),E(k))}function E(k){let x=ao(c);if(k===126)return d>1?f(k):(a.consume(k),d++,E);if(d<2&&!r)return f(k);let I=a.exit("strikethroughSequenceTemporary"),N=ao(k);return I._open=!N||N===2&&Boolean(x),I._close=!x||x===2&&Boolean(N),l(k)}}}var lf={flow:{null:{tokenize:Mv,resolve:Bv}}},Rm={tokenize:zv,partial:!0};function Bv(t,r){let e=-1,i,s,a,l,f,c,m;for(;++e<t.length;){let d=t[e][1];if(a&&(d.type==="temporaryTableCellContent"&&(l=l||e,f=e),(d.type==="tableCellDivider"||d.type==="tableRow")&&f)){let $={type:"tableContent",start:t[l][1].start,end:t[f][1].end},E={type:"chunkText",start:$.start,end:$.end,contentType:"text"};t.splice(l,f-l+1,["enter",$,r],["enter",E,r],["exit",E,r],["exit",$,r]),e-=f-l-3,l=void 0,f=void 0}if(t[e][0]==="exit"&&c!==void 0&&c+(m?0:1)<e&&(d.type==="tableCellDivider"||d.type==="tableRow"&&(c+3<e||t[c][1].type!=="whitespace"))){let $={type:s?"tableDelimiter":i?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(d.type==="tableCellDivider"?1:0),0,["exit",$,r]),t.splice(c,0,["enter",$,r]),e+=2,c=e+1,m=!0}d.type==="tableRow"&&(a=t[e][0]==="enter",a&&(c=e+1,m=!1)),d.type==="tableDelimiterRow"&&(s=t[e][0]==="enter",s&&(c=e+1,m=!1)),d.type==="tableHead"&&(i=t[e][0]==="enter")}return t}function Mv(t,r,e){let i=this,s=[],a=0,l,f;return c;function c(Y){return t.enter("table")._align=s,t.enter("tableHead"),t.enter("tableRow"),Y===124?m(Y):(a++,t.enter("temporaryTableCellContent"),E(Y))}function m(Y){return t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),l=!0,d}function d(Y){return Y===null||fe(Y)?x(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),$):(l&&(l=void 0,a++),Y===124?m(Y):(t.enter("temporaryTableCellContent"),E(Y)))}function $(Y){return Re(Y)?(t.consume(Y),$):(t.exit("whitespace"),d(Y))}function E(Y){return Y===null||Y===124||et(Y)?(t.exit("temporaryTableCellContent"),d(Y)):(t.consume(Y),Y===92?k:E)}function k(Y){return Y===92||Y===124?(t.consume(Y),E):E(Y)}function x(Y){if(Y===null)return e(Y);t.exit("tableRow"),t.exit("tableHead");let Ct=i.interrupt;return i.interrupt=!0,t.attempt({tokenize:ot,partial:!0},function(Ze){return i.interrupt=Ct,t.enter("tableDelimiterRow"),I(Ze)},function(Ze){return i.interrupt=Ct,e(Ze)})(Y)}function I(Y){return Y===null||fe(Y)?$e(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),N):Y===45?(t.enter("tableDelimiterFiller"),t.consume(Y),f=!0,s.push("none"),B):Y===58?(t.enter("tableDelimiterAlignment"),t.consume(Y),t.exit("tableDelimiterAlignment"),s.push("left"),X):Y===124?(t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),I):e(Y)}function N(Y){return Re(Y)?(t.consume(Y),N):(t.exit("whitespace"),I(Y))}function B(Y){return Y===45?(t.consume(Y),B):(t.exit("tableDelimiterFiller"),Y===58?(t.enter("tableDelimiterAlignment"),t.consume(Y),t.exit("tableDelimiterAlignment"),s[s.length-1]=s[s.length-1]==="left"?"center":"right",se):I(Y))}function X(Y){return Y===45?(t.enter("tableDelimiterFiller"),t.consume(Y),f=!0,B):e(Y)}function se(Y){return Y===null||fe(Y)?$e(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),N):Y===124?(t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),I):e(Y)}function $e(Y){return t.exit("tableDelimiterRow"),!f||a!==s.length?e(Y):Y===null?he(Y):t.check(Rm,he,t.attempt({tokenize:ot,partial:!0},ve(t,ne,"linePrefix",4),he))(Y)}function he(Y){return t.exit("table"),r(Y)}function ne(Y){return t.enter("tableBody"),be(Y)}function be(Y){return t.enter("tableRow"),Y===124?xe(Y):(t.enter("temporaryTableCellContent"),Ee(Y))}function xe(Y){return t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),ke}function ke(Y){return Y===null||fe(Y)?de(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),Le):Y===124?xe(Y):(t.enter("temporaryTableCellContent"),Ee(Y))}function Le(Y){return Re(Y)?(t.consume(Y),Le):(t.exit("whitespace"),ke(Y))}function Ee(Y){return Y===null||Y===124||et(Y)?(t.exit("temporaryTableCellContent"),ke(Y)):(t.consume(Y),Y===92?_e:Ee)}function _e(Y){return Y===92||Y===124?(t.consume(Y),Ee):Ee(Y)}function de(Y){return t.exit("tableRow"),Y===null?Ce(Y):t.check(Rm,Ce,t.attempt({tokenize:ot,partial:!0},ve(t,be,"linePrefix",4),Ce))(Y)}function Ce(Y){return t.exit("tableBody"),he(Y)}function ot(Y,Ct,Ze){return yt;function yt(M){return Y.enter("lineEnding"),Y.consume(M),Y.exit("lineEnding"),ve(Y,tt,"linePrefix")}function tt(M){if(i.parser.lazy[i.now().line]||M===null||fe(M))return Ze(M);let V=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&V&&V[1].type==="linePrefix"&&V[2].sliceSerialize(V[1],!0).length>=4?Ze(M):(i._gfmTableDynamicInterruptHack=!0,Y.check(i.parser.constructs.flow,function(Jt){return i._gfmTableDynamicInterruptHack=!1,Ze(Jt)},function(Jt){return i._gfmTableDynamicInterruptHack=!1,Ct(Jt)})(M))}}}function zv(t,r,e){let i=0;return s;function s(l){return t.enter("check"),t.consume(l),a}function a(l){return l===-1||l===32?(t.consume(l),i++,i===4?r:a):l===null||et(l)?r(l):e(l)}}var Vv={tokenize:Uv},uf={text:{[91]:Vv}};function Uv(t,r,e){let i=this;return s;function s(f){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),a)}function a(f){return et(f)?(t.enter("taskListCheckValueUnchecked"),t.consume(f),t.exit("taskListCheckValueUnchecked"),l):f===88||f===120?(t.enter("taskListCheckValueChecked"),t.consume(f),t.exit("taskListCheckValueChecked"),l):e(f)}function l(f){return f===93?(t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:Hv},r,e)):e(f)}}function Hv(t,r,e){let i=this;return ve(t,s,"whitespace");function s(a){let l=i.events[i.events.length-1];return(l&&l[1].type==="whitespace"||fe(a))&&a!==null?r(a):e(a)}}function Lm(t){return ra([tf,sf(),af(t),lf,uf])}function ff(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let i=0,s=e.indexOf(r);for(;s!==-1;)i++,s=e.indexOf(r,s+r.length);return i}function cf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ns=function(t){if(t==null)return Zv;if(typeof t=="string")return Wv(t);if(typeof t=="object")return Array.isArray(t)?Gv(t):Kv(t);if(typeof t=="function")return ma(t);throw new Error("Expected function, string, or object as test")};function Gv(t){let r=[],e=-1;for(;++e<t.length;)r[e]=ns(t[e]);return ma(i);function i(...s){let a=-1;for(;++a<r.length;)if(r[a].call(this,...s))return!0;return!1}}function Kv(t){return ma(r);function r(e){let i;for(i in t)if(e[i]!==t[i])return!1;return!0}}function Wv(t){return ma(r);function r(e){return e&&e.type===t}}function ma(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function Zv(){return!0}function jm(t){return"\x1B[33m"+t+"\x1B[39m"}var Jv=!0,Qv="skip",Bm=!1,Mm=function(t,r,e,i){typeof r=="function"&&typeof e!="function"&&(i=e,e=r,r=null);let s=ns(r),a=i?-1:1;l(t,null,[])();function l(f,c,m){let d=typeof f=="object"&&f!==null?f:{},$;return typeof d.type=="string"&&($=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0,Object.defineProperty(E,"name",{value:"node ("+jm(d.type+($?"<"+$+">":""))+")"})),E;function E(){let k=[],x,I,N;if((!r||s(f,c,m[m.length-1]||null))&&(k=Xv(e(f,m)),k[0]===Bm))return k;if(f.children&&k[0]!==Qv)for(I=(i?f.children.length:-1)+a,N=m.concat(f);I>-1&&I<f.children.length;){if(x=l(f.children[I],I,N)(),x[0]===Bm)return x;I=typeof x[1]=="number"?x[1]:I+a}return k}}};function Xv(t){return Array.isArray(t)?t:typeof t=="number"?[Jv,t]:[t]}var Yv={}.hasOwnProperty,pf=function(t,r,e,i){let s,a;typeof r=="string"||r instanceof RegExp?(a=[[r,e]],s=i):(a=r,s=e),s||(s={});let l=ns(s.ignore||[]),f=e0(a),c=-1;for(;++c<f.length;)Mm(t,"text",m);return t;function m($,E){let k=-1,x;for(;++k<E.length;){let I=E[k];if(l(I,x?x.children.indexOf(I):void 0,x))return;x=I}if(x)return d($,E)}function d($,E){let k=E[E.length-1],x=f[c][0],I=f[c][1],N=0,B=k.children.indexOf($),X=!1,se=[],$e;x.lastIndex=0;let he=x.exec($.value);for(;he;){$e=he.index;let ne={index:he.index,input:he.input,stack:[...E,$]},be=I(...he,ne);if(typeof be=="string"&&(be=be.length>0?{type:"text",value:be}:void 0),be!==!1&&(N!==$e&&se.push({type:"text",value:$.value.slice(N,$e)}),Array.isArray(be)?se.push(...be):be&&se.push(be),N=$e+he[0].length,X=!0),!x.global)break;he=x.exec($.value)}return X?(N<$.value.length&&se.push({type:"text",value:$.value.slice(N)}),k.children.splice(B,1,...se)):se=[$],B+se.length}};function e0(t){let r=[];if(typeof t!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let e=-1;for(;++e<t.length;)r.push([zm(t[e][0]),Vm(t[e][1])])}else{let e;for(e in t)Yv.call(t,e)&&r.push([zm(e),Vm(t[e])])}return r}function zm(t){return typeof t=="string"?new RegExp(cf(t),"g"):t}function Vm(t){return typeof t=="function"?t:()=>t}var df="phrasing",mf=["autolink","link","image","label"],Um={transforms:[s0],enter:{literalAutolink:t0,literalAutolinkEmail:hf,literalAutolinkHttp:hf,literalAutolinkWww:hf},exit:{literalAutolink:o0,literalAutolinkEmail:i0,literalAutolinkHttp:r0,literalAutolinkWww:n0}},Hm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:df,notInConstruct:mf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:df,notInConstruct:mf},{character:":",before:"[ps]",after:"\\/",inConstruct:df,notInConstruct:mf}]};function t0(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function hf(t){this.config.enter.autolinkProtocol.call(this,t)}function r0(t){this.config.exit.autolinkProtocol.call(this,t)}function n0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function i0(t){this.config.exit.autolinkEmail.call(this,t)}function o0(t){this.exit(t)}function s0(t){pf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,a0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,l0]],{ignore:["link","linkReference"]})}function a0(t,r,e,i,s){let a="";if(!Gm(s)||(/^w/i.test(r)&&(e=r+e,r="",a="http://"),!u0(e)))return!1;let l=f0(e+i);if(!l[0])return!1;let f={type:"link",title:null,url:a+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function l0(t,r,e,i){return!Gm(i,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function u0(t){let r=t.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function f0(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,i,s,a;if(r)for(t=t.slice(0,r.index),a=r[0],e=a.indexOf(")"),i=ff(t,"("),s=ff(t,")");e!==-1&&i>s;)t+=a.slice(0,e+1),a=a.slice(e+1),e=a.indexOf(")"),s++;return[t,a]}function Gm(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Si(e)||Pi(e))&&(!r||e!==47)}function gf(t){return t.label||!t.identifier?t.label||"":da(t.identifier)}function ur(t){let r=t||{},e=r.now||{},i=r.lineShift||0,s=e.line||1,a=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:s,column:a},lineShift:i}}function f(m){i+=m}function c(m=""){let d=m.split(/\r?\n|\r/g),$=d[d.length-1];return s+=d.length-1,a=d.length===1?a+$.length:1+$.length+i,m}}function ha(t,r,e){let i=r.indexStack,s=t.children||[],a=ur(e),l=[],f=-1;for(i.push(-1);++f<s.length;){let m=s[f];i[i.length-1]=f,l.push(a.move(r.handle(m,t,r,{before:`
21
39
  `,after:`
22
- `,...a.current()}))),m.type!=="list"&&(r.bulletLastUsed=void 0),f<s.length-1&&l.push(a.move(c(m,s[f+1])))}return i.pop(),l.join("");function c(m,d){let b=r.join.length;for(;b--;){let x=r.join[b](m,d,t,r);if(x===!0||x===1)break;if(typeof x=="number")return`
23
- `.repeat(1+x);if(x===!1)return`
40
+ `,...a.current()}))),m.type!=="list"&&(r.bulletLastUsed=void 0),f<s.length-1&&l.push(a.move(c(m,s[f+1])))}return i.pop(),l.join("");function c(m,d){let $=r.join.length;for(;$--;){let E=r.join[$](m,d,t,r);if(E===!0||E===1)break;if(typeof E=="number")return`
41
+ `.repeat(1+E);if(E===!1)return`
24
42
 
25
43
  <!---->
26
44
 
27
45
  `}return`
28
46
 
29
- `}}var u0=/\r?\n|\r/g;function ma(t,r){let e=[],i=0,s=0,a;for(;a=u0.exec(t);)l(t.slice(i,a.index)),e.push(a[0]),i=a.index+a[0].length,s++;return l(t.slice(i)),e.join("");function l(f){e.push(r(f,s,!f))}}function fo(t){if(!t._compiled){let r=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((r?"("+r+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Wm(t,r){return Km(t,r.inConstruct,!0)&&!Km(t,r.notInConstruct,!1)}function Km(t,r,e){if(!r)return e;typeof r=="string"&&(r=[r]);let i=-1;for(;++i<r.length;)if(t.includes(r[i]))return!0;return!1}function ts(t,r,e){let i=(e.before||"")+(r||"")+(e.after||""),s=[],a=[],l={},f=-1;for(;++f<t.unsafe.length;){let d=t.unsafe[f];if(!Wm(t.stack,d))continue;let b=fo(d),x;for(;x=b.exec(i);){let k="before"in d||Boolean(d.atBreak),E="after"in d,I=x.index+(k?x[1].length:0);s.includes(I)?(l[I].before&&!k&&(l[I].before=!1),l[I].after&&!E&&(l[I].after=!1)):(s.push(I),l[I]={before:k,after:E})}}s.sort(f0);let c=e.before?e.before.length:0,m=i.length-(e.after?e.after.length:0);for(f=-1;++f<s.length;){let d=s[f];d<c||d>=m||d+1<m&&s[f+1]===d+1&&l[d].after&&!l[d+1].before&&!l[d+1].after||s[f-1]===d-1&&l[d].before&&!l[d-1].before&&!l[d-1].after||(c!==d&&a.push(Zm(i.slice(c,d),"\\")),c=d,/[!-/:-@[-`{-~]/.test(i.charAt(d))&&(!e.encode||!e.encode.includes(i.charAt(d)))?a.push("\\"):(a.push("&#x"+i.charCodeAt(d).toString(16).toUpperCase()+";"),c++))}return a.push(Zm(i.slice(c,m),e.after)),a.join("")}function f0(t,r){return t-r}function Zm(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,i=[],s=[],a=t+r,l=-1,f=0,c;for(;c=e.exec(a);)i.push(c.index);for(;++l<i.length;)f!==i[l]&&s.push(t.slice(f,i[l])),s.push("\\"),f=i[l];return s.push(t.slice(f)),s.join("")}function Jm(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:s,gfmFootnoteCallString:a},exit:{gfmFootnoteDefinition:i,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:f,gfmFootnoteCallString:l}};function t(c){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},c)}function r(){this.buffer()}function e(c){let m=this.resume(),d=this.stack[this.stack.length-1];d.label=m,d.identifier=sr(this.sliceSerialize(c)).toLowerCase()}function i(c){this.exit(c)}function s(c){this.enter({type:"footnoteReference",identifier:"",label:""},c)}function a(){this.buffer()}function l(c){let m=this.resume(),d=this.stack[this.stack.length-1];d.label=m,d.identifier=sr(this.sliceSerialize(c)).toLowerCase()}function f(c){this.exit(c)}}function Qm(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(i,s,a,l){let f=lr(l),c=f.move("[^"),m=a.enter("footnoteReference"),d=a.enter("reference");return c+=f.move(ts(a,hf(i),{...f.current(),before:c,after:"]"})),d(),m(),c+=f.move("]"),c}function r(){return"["}function e(i,s,a,l){let f=lr(l),c=f.move("[^"),m=a.enter("footnoteDefinition"),d=a.enter("label");return c+=f.move(ts(a,hf(i),{...f.current(),before:c,after:"]"})),d(),c+=f.move("]:"+(i.children&&i.children.length>0?" ":"")),f.shift(4),c+=f.move(ma(da(i,a,f.current()),b)),m(),c;function b(x,k,E){return k?(E?"":" ")+x:x}}}function ha(t,r,e){let i=r.indexStack,s=t.children||[],a=[],l=-1,f=e.before;i.push(-1);let c=lr(e);for(;++l<s.length;){let m=s[l],d;if(i[i.length-1]=l,l+1<s.length){let b=r.handle.handlers[s[l+1].type];b&&b.peek&&(b=b.peek),d=b?b(s[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else d=e.after;a.length>0&&(f==="\r"||f===`
30
- `)&&m.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=lr(e),c.move(a.join(""))),a.push(c.move(r.handle(m,t,r,{...c.current(),before:f,after:d}))),f=a[a.length-1].slice(-1)}return i.pop(),a.join("")}var Ym={canContainEols:["delete"],enter:{strikethrough:c0},exit:{strikethrough:p0}},Xm={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:eh}};eh.peek=d0;function c0(t){this.enter({type:"delete",children:[]},t)}function p0(t){this.exit(t)}function eh(t,r,e,i){let s=lr(i),a=e.enter("emphasis"),l=s.move("~~");return l+=ha(t,e,{...s.current(),before:l,after:"~"}),l+=s.move("~~"),a(),l}function d0(){return"~"}gf.peek=m0;function gf(t,r,e){let i=t.value||"",s="`",a=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(i);)s+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++a<e.unsafe.length;){let l=e.unsafe[a],f=fo(l),c;if(!!l.atBreak)for(;c=f.exec(i);){let m=c.index;i.charCodeAt(m)===10&&i.charCodeAt(m-1)===13&&m--,i=i.slice(0,m)+" "+i.slice(c.index+1)}}return s+i+s}function m0(){return"`"}function rh(t,r={}){let e=(r.align||[]).concat(),i=r.stringLength||g0,s=[],a=[],l=[],f=[],c=0,m=-1;for(;++m<t.length;){let E=[],I=[],N=-1;for(t[m].length>c&&(c=t[m].length);++N<t[m].length;){let M=h0(t[m][N]);if(r.alignDelimiters!==!1){let Y=i(M);I[N]=Y,(f[N]===void 0||Y>f[N])&&(f[N]=Y)}E.push(M)}a[m]=E,l[m]=I}let d=-1;if(typeof e=="object"&&"length"in e)for(;++d<c;)s[d]=th(e[d]);else{let E=th(e);for(;++d<c;)s[d]=E}d=-1;let b=[],x=[];for(;++d<c;){let E=s[d],I="",N="";E===99?(I=":",N=":"):E===108?I=":":E===114&&(N=":");let M=r.alignDelimiters===!1?1:Math.max(1,f[d]-I.length-N.length),Y=I+"-".repeat(M)+N;r.alignDelimiters!==!1&&(M=I.length+M+N.length,M>f[d]&&(f[d]=M),x[d]=M),b[d]=Y}a.splice(1,0,b),l.splice(1,0,x),m=-1;let k=[];for(;++m<a.length;){let E=a[m],I=l[m];d=-1;let N=[];for(;++d<c;){let M=E[d]||"",Y="",se="";if(r.alignDelimiters!==!1){let $e=f[d]-(I[d]||0),he=s[d];he===114?Y=" ".repeat($e):he===99?$e%2?(Y=" ".repeat($e/2+.5),se=" ".repeat($e/2-.5)):(Y=" ".repeat($e/2),se=Y):se=" ".repeat($e)}r.delimiterStart!==!1&&!d&&N.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&M==="")&&(r.delimiterStart!==!1||d)&&N.push(" "),r.alignDelimiters!==!1&&N.push(Y),N.push(M),r.alignDelimiters!==!1&&N.push(se),r.padding!==!1&&N.push(" "),(r.delimiterEnd!==!1||d!==c-1)&&N.push("|")}k.push(r.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return k.join(`
31
- `)}function h0(t){return t==null?"":String(t)}function g0(t){return t.length}function th(t){let r=typeof t=="string"?t.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}var $f={enter:{table:y0,tableData:nh,tableHeader:nh,tableRow:b0},exit:{codeText:v0,table:$0,tableData:yf,tableHeader:yf,tableRow:yf}};function y0(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function $0(t){this.exit(t),this.setData("inTable")}function b0(t){this.enter({type:"tableRow",children:[]},t)}function yf(t){this.exit(t)}function nh(t){this.enter({type:"tableCell",children:[]},t)}function v0(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,k0));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function k0(t,r){return r==="|"?r:t}function bf(t){let r=t||{},e=r.tableCellPadding,i=r.tablePipeAlign,s=r.stringLength,a=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
32
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:l,tableRow:f,tableCell:c,inlineCode:x}};function l(k,E,I,N){return m(d(k,I,N),k.align)}function f(k,E,I,N){let M=b(k,I,N),Y=m([M]);return Y.slice(0,Y.indexOf(`
33
- `))}function c(k,E,I,N){let M=I.enter("tableCell"),Y=I.enter("phrasing"),se=ha(k,I,{...N,before:a,after:a});return Y(),M(),se}function m(k,E){return rh(k,{align:E,alignDelimiters:i,padding:e,stringLength:s})}function d(k,E,I){let N=k.children,M=-1,Y=[],se=E.enter("table");for(;++M<N.length;)Y[M]=b(N[M],E,I);return se(),Y}function b(k,E,I){let N=k.children,M=-1,Y=[],se=E.enter("tableRow");for(;++M<N.length;)Y[M]=c(N[M],k,E,I);return se(),Y}function x(k,E,I){let N=gf(k,E,I);return I.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function ih(t){let r=t.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function oh(t){let r=t.options.listItemIndent||"tab";if(r===1||r==="1")return"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function sh(t,r,e,i){let s=oh(e),a=e.bulletCurrent||ih(e);r&&r.type==="list"&&r.ordered&&(a=(typeof r.start=="number"&&r.start>-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+a);let l=a.length+1;(s==="tab"||s==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(l=Math.ceil(l/4)*4);let f=lr(i);f.move(a+" ".repeat(l-a.length)),f.shift(l);let c=e.enter("listItem"),m=ma(da(t,e,f.current()),d);return c(),m;function d(b,x,k){return x?(k?"":" ".repeat(l))+b:(k?a:a+" ".repeat(l-a.length))+b}}var lh={exit:{taskListCheckValueChecked:ah,taskListCheckValueUnchecked:ah,paragraph:w0}},uh={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:x0}};function ah(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function w0(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],i=r.children,s=e.children[0],a=-1,l;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&s&&s.type==="text"){for(;++a<i.length;){let f=i[a];if(f.type==="paragraph"){l=f;break}}l===e&&(s.value=s.value.slice(1),s.value.length===0?e.children.shift():e.position&&s.position&&typeof s.position.start.offset=="number"&&(s.position.start.column++,s.position.start.offset++,e.position.start=Object.assign({},s.position.start)))}this.exit(t)}function x0(t,r,e,i){let s=t.children[0],a=typeof t.checked=="boolean"&&s&&s.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=lr(i);a&&f.move(l);let c=sh(t,r,e,{...i,...f.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),c;function m(d){return d+l}}function vf(){return[Um,Jm(),Ym,$f,lh]}function kf(t){return{extensions:[Hm,Qm(),Xm,bf(t),uh]}}function wf(t={}){let r=this.data();e("micromarkExtensions",Lm(t)),e("fromMarkdownExtensions",vf()),e("toMarkdownExtensions",kf(t));function e(i,s){(r[i]?r[i]:r[i]=[]).push(s)}}var ch={tokenize:C0,concrete:!0},fh={tokenize:A0,partial:!0};function C0(t,r,e){let i=this,s=i.events[i.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(Y){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),c(Y)}function c(Y){return Y===36?(t.consume(Y),l++,c):l<2?e(Y):(t.exit("mathFlowFenceSequence"),we(t,m,"whitespace")(Y))}function m(Y){return Y===null||fe(Y)?b(Y):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(Y))}function d(Y){return Y===null||fe(Y)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),b(Y)):Y===36?e(Y):(t.consume(Y),d)}function b(Y){return t.exit("mathFlowFence"),i.interrupt?r(Y):t.attempt(fh,x,N)(Y)}function x(Y){return t.attempt({tokenize:M,partial:!0},N,k)(Y)}function k(Y){return(a?we(t,E,"linePrefix",a+1):E)(Y)}function E(Y){return Y===null?N(Y):fe(Y)?t.attempt(fh,x,N)(Y):(t.enter("mathFlowValue"),I(Y))}function I(Y){return Y===null||fe(Y)?(t.exit("mathFlowValue"),E(Y)):(t.consume(Y),I)}function N(Y){return t.exit("mathFlow"),r(Y)}function M(Y,se,$e){let he=0;return we(Y,ne,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ne(ke){return Y.enter("mathFlowFence"),Y.enter("mathFlowFenceSequence"),be(ke)}function be(ke){return ke===36?(he++,Y.consume(ke),be):he<l?$e(ke):(Y.exit("mathFlowFenceSequence"),we(Y,xe,"whitespace")(ke))}function xe(ke){return ke===null||fe(ke)?(Y.exit("mathFlowFence"),se(ke)):$e(ke)}}}function A0(t,r,e){let i=this;return s;function s(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),a)}function a(l){return i.parser.lazy[i.now().line]?e(l):r(l)}}function ph(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:i,resolve:E0,previous:_0};function i(s,a,l){let f=this,c=0,m,d;return b;function b(N){return s.enter("mathText"),s.enter("mathTextSequence"),x(N)}function x(N){return N===36?(s.consume(N),c++,x):c<2&&!e?l(N):(s.exit("mathTextSequence"),k(N))}function k(N){return N===null?l(N):N===36?(d=s.enter("mathTextSequence"),m=0,I(N)):N===32?(s.enter("space"),s.consume(N),s.exit("space"),k):fe(N)?(s.enter("lineEnding"),s.consume(N),s.exit("lineEnding"),k):(s.enter("mathTextData"),E(N))}function E(N){return N===null||N===32||N===36||fe(N)?(s.exit("mathTextData"),k(N)):(s.consume(N),E)}function I(N){return N===36?(s.consume(N),m++,I):m===c?(s.exit("mathTextSequence"),s.exit("mathText"),a(N)):(d.type="mathTextData",E(N))}}}function E0(t){let r=t.length-4,e=3,i,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(i=e;++i<r;)if(t[i][1].type==="mathTextData"){t[r][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,r-=2;break}}for(i=e-1,r++;++i<=r;)s===void 0?i!==r&&t[i][1].type!=="lineEnding"&&(s=i):(i===r||t[i][1].type==="lineEnding")&&(t[s][1].type="mathTextData",i!==s+2&&(t[s][1].end=t[i-1][1].end,t.splice(s+2,i-s-2),r-=i-s-2,i=s+2),s=void 0);return t}function _0(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function xf(t){return{flow:{[36]:ch},text:{[36]:ph(t)}}}function dh(t,r){let e=String(t),i=e.indexOf(r),s=i,a=0,l=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;i!==-1;)i===s?++a>l&&(l=a):a=1,s=i+1,i=e.indexOf(r,s);return l}function Cf(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:a},exit:{mathFlow:s,mathFlowFence:i,mathFlowFenceMeta:e,mathFlowValue:f,mathText:l,mathTextData:f}};function t(c){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},c)}function r(){this.buffer()}function e(){let c=this.resume(),m=this.stack[this.stack.length-1];m.meta=c}function i(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function s(c){let m=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.exit(c);d.value=m,d.data.hChildren[0].value=m,this.setData("mathFlowInside")}function a(c){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},c),this.buffer()}function l(c){let m=this.resume(),d=this.exit(c);d.value=m,d.data.hChildren[0].value=m}function f(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function Af(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),i.peek=s,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
34
- `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:i}};function e(a,l,f,c){let m=a.value||"",d=lr(c),b="$".repeat(Math.max(dh(m,"$")+1,2)),x=f.enter("mathFlow"),k=d.move(b);if(a.meta){let E=f.enter("mathFlowMeta");k+=d.move(ts(f,a.meta,{before:k,after:`
35
- `,encode:["$"],...d.current()})),E()}return k+=d.move(`
47
+ `}}var c0=/\r?\n|\r/g;function ga(t,r){let e=[],i=0,s=0,a;for(;a=c0.exec(t);)l(t.slice(i,a.index)),e.push(a[0]),i=a.index+a[0].length,s++;return l(t.slice(i)),e.join("");function l(f){e.push(r(f,s,!f))}}function fo(t){if(!t._compiled){let r=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((r?"("+r+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Wm(t,r){return Km(t,r.inConstruct,!0)&&!Km(t,r.notInConstruct,!1)}function Km(t,r,e){if(!r)return e;typeof r=="string"&&(r=[r]);let i=-1;for(;++i<r.length;)if(t.includes(r[i]))return!0;return!1}function is(t,r,e){let i=(e.before||"")+(r||"")+(e.after||""),s=[],a=[],l={},f=-1;for(;++f<t.unsafe.length;){let d=t.unsafe[f];if(!Wm(t.stack,d))continue;let $=fo(d),E;for(;E=$.exec(i);){let k="before"in d||Boolean(d.atBreak),x="after"in d,I=E.index+(k?E[1].length:0);s.includes(I)?(l[I].before&&!k&&(l[I].before=!1),l[I].after&&!x&&(l[I].after=!1)):(s.push(I),l[I]={before:k,after:x})}}s.sort(p0);let c=e.before?e.before.length:0,m=i.length-(e.after?e.after.length:0);for(f=-1;++f<s.length;){let d=s[f];d<c||d>=m||d+1<m&&s[f+1]===d+1&&l[d].after&&!l[d+1].before&&!l[d+1].after||s[f-1]===d-1&&l[d].before&&!l[d-1].before&&!l[d-1].after||(c!==d&&a.push(Zm(i.slice(c,d),"\\")),c=d,/[!-/:-@[-`{-~]/.test(i.charAt(d))&&(!e.encode||!e.encode.includes(i.charAt(d)))?a.push("\\"):(a.push("&#x"+i.charCodeAt(d).toString(16).toUpperCase()+";"),c++))}return a.push(Zm(i.slice(c,m),e.after)),a.join("")}function p0(t,r){return t-r}function Zm(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,i=[],s=[],a=t+r,l=-1,f=0,c;for(;c=e.exec(a);)i.push(c.index);for(;++l<i.length;)f!==i[l]&&s.push(t.slice(f,i[l])),s.push("\\"),f=i[l];return s.push(t.slice(f)),s.join("")}function Jm(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:s,gfmFootnoteCallString:a},exit:{gfmFootnoteDefinition:i,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:f,gfmFootnoteCallString:l}};function t(c){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},c)}function r(){this.buffer()}function e(c){let m=this.resume(),d=this.stack[this.stack.length-1];d.label=m,d.identifier=ar(this.sliceSerialize(c)).toLowerCase()}function i(c){this.exit(c)}function s(c){this.enter({type:"footnoteReference",identifier:"",label:""},c)}function a(){this.buffer()}function l(c){let m=this.resume(),d=this.stack[this.stack.length-1];d.label=m,d.identifier=ar(this.sliceSerialize(c)).toLowerCase()}function f(c){this.exit(c)}}function Qm(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(i,s,a,l){let f=ur(l),c=f.move("[^"),m=a.enter("footnoteReference"),d=a.enter("reference");return c+=f.move(is(a,gf(i),{...f.current(),before:c,after:"]"})),d(),m(),c+=f.move("]"),c}function r(){return"["}function e(i,s,a,l){let f=ur(l),c=f.move("[^"),m=a.enter("footnoteDefinition"),d=a.enter("label");return c+=f.move(is(a,gf(i),{...f.current(),before:c,after:"]"})),d(),c+=f.move("]:"+(i.children&&i.children.length>0?" ":"")),f.shift(4),c+=f.move(ga(ha(i,a,f.current()),$)),m(),c;function $(E,k,x){return k?(x?"":" ")+E:E}}}function ya(t,r,e){let i=r.indexStack,s=t.children||[],a=[],l=-1,f=e.before;i.push(-1);let c=ur(e);for(;++l<s.length;){let m=s[l],d;if(i[i.length-1]=l,l+1<s.length){let $=r.handle.handlers[s[l+1].type];$&&$.peek&&($=$.peek),d=$?$(s[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else d=e.after;a.length>0&&(f==="\r"||f===`
48
+ `)&&m.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=ur(e),c.move(a.join(""))),a.push(c.move(r.handle(m,t,r,{...c.current(),before:f,after:d}))),f=a[a.length-1].slice(-1)}return i.pop(),a.join("")}var Xm={canContainEols:["delete"],enter:{strikethrough:d0},exit:{strikethrough:m0}},Ym={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:eh}};eh.peek=h0;function d0(t){this.enter({type:"delete",children:[]},t)}function m0(t){this.exit(t)}function eh(t,r,e,i){let s=ur(i),a=e.enter("emphasis"),l=s.move("~~");return l+=ya(t,e,{...s.current(),before:l,after:"~"}),l+=s.move("~~"),a(),l}function h0(){return"~"}yf.peek=g0;function yf(t,r,e){let i=t.value||"",s="`",a=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(i);)s+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++a<e.unsafe.length;){let l=e.unsafe[a],f=fo(l),c;if(!!l.atBreak)for(;c=f.exec(i);){let m=c.index;i.charCodeAt(m)===10&&i.charCodeAt(m-1)===13&&m--,i=i.slice(0,m)+" "+i.slice(c.index+1)}}return s+i+s}function g0(){return"`"}function rh(t,r={}){let e=(r.align||[]).concat(),i=r.stringLength||$0,s=[],a=[],l=[],f=[],c=0,m=-1;for(;++m<t.length;){let x=[],I=[],N=-1;for(t[m].length>c&&(c=t[m].length);++N<t[m].length;){let B=y0(t[m][N]);if(r.alignDelimiters!==!1){let X=i(B);I[N]=X,(f[N]===void 0||X>f[N])&&(f[N]=X)}x.push(B)}a[m]=x,l[m]=I}let d=-1;if(typeof e=="object"&&"length"in e)for(;++d<c;)s[d]=th(e[d]);else{let x=th(e);for(;++d<c;)s[d]=x}d=-1;let $=[],E=[];for(;++d<c;){let x=s[d],I="",N="";x===99?(I=":",N=":"):x===108?I=":":x===114&&(N=":");let B=r.alignDelimiters===!1?1:Math.max(1,f[d]-I.length-N.length),X=I+"-".repeat(B)+N;r.alignDelimiters!==!1&&(B=I.length+B+N.length,B>f[d]&&(f[d]=B),E[d]=B),$[d]=X}a.splice(1,0,$),l.splice(1,0,E),m=-1;let k=[];for(;++m<a.length;){let x=a[m],I=l[m];d=-1;let N=[];for(;++d<c;){let B=x[d]||"",X="",se="";if(r.alignDelimiters!==!1){let $e=f[d]-(I[d]||0),he=s[d];he===114?X=" ".repeat($e):he===99?$e%2?(X=" ".repeat($e/2+.5),se=" ".repeat($e/2-.5)):(X=" ".repeat($e/2),se=X):se=" ".repeat($e)}r.delimiterStart!==!1&&!d&&N.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&B==="")&&(r.delimiterStart!==!1||d)&&N.push(" "),r.alignDelimiters!==!1&&N.push(X),N.push(B),r.alignDelimiters!==!1&&N.push(se),r.padding!==!1&&N.push(" "),(r.delimiterEnd!==!1||d!==c-1)&&N.push("|")}k.push(r.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return k.join(`
49
+ `)}function y0(t){return t==null?"":String(t)}function $0(t){return t.length}function th(t){let r=typeof t=="string"?t.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}var bf={enter:{table:b0,tableData:nh,tableHeader:nh,tableRow:k0},exit:{codeText:v0,table:w0,tableData:$f,tableHeader:$f,tableRow:$f}};function b0(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function w0(t){this.exit(t),this.setData("inTable")}function k0(t){this.enter({type:"tableRow",children:[]},t)}function $f(t){this.exit(t)}function nh(t){this.enter({type:"tableCell",children:[]},t)}function v0(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,x0));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function x0(t,r){return r==="|"?r:t}function wf(t){let r=t||{},e=r.tableCellPadding,i=r.tablePipeAlign,s=r.stringLength,a=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
50
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:l,tableRow:f,tableCell:c,inlineCode:E}};function l(k,x,I,N){return m(d(k,I,N),k.align)}function f(k,x,I,N){let B=$(k,I,N),X=m([B]);return X.slice(0,X.indexOf(`
51
+ `))}function c(k,x,I,N){let B=I.enter("tableCell"),X=I.enter("phrasing"),se=ya(k,I,{...N,before:a,after:a});return X(),B(),se}function m(k,x){return rh(k,{align:x,alignDelimiters:i,padding:e,stringLength:s})}function d(k,x,I){let N=k.children,B=-1,X=[],se=x.enter("table");for(;++B<N.length;)X[B]=$(N[B],x,I);return se(),X}function $(k,x,I){let N=k.children,B=-1,X=[],se=x.enter("tableRow");for(;++B<N.length;)X[B]=c(N[B],k,x,I);return se(),X}function E(k,x,I){let N=yf(k,x,I);return I.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function ih(t){let r=t.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function oh(t){let r=t.options.listItemIndent||"tab";if(r===1||r==="1")return"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function sh(t,r,e,i){let s=oh(e),a=e.bulletCurrent||ih(e);r&&r.type==="list"&&r.ordered&&(a=(typeof r.start=="number"&&r.start>-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+a);let l=a.length+1;(s==="tab"||s==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(l=Math.ceil(l/4)*4);let f=ur(i);f.move(a+" ".repeat(l-a.length)),f.shift(l);let c=e.enter("listItem"),m=ga(ha(t,e,f.current()),d);return c(),m;function d($,E,k){return E?(k?"":" ".repeat(l))+$:(k?a:a+" ".repeat(l-a.length))+$}}var lh={exit:{taskListCheckValueChecked:ah,taskListCheckValueUnchecked:ah,paragraph:C0}},uh={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:A0}};function ah(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function C0(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],i=r.children,s=e.children[0],a=-1,l;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&s&&s.type==="text"){for(;++a<i.length;){let f=i[a];if(f.type==="paragraph"){l=f;break}}l===e&&(s.value=s.value.slice(1),s.value.length===0?e.children.shift():e.position&&s.position&&typeof s.position.start.offset=="number"&&(s.position.start.column++,s.position.start.offset++,e.position.start=Object.assign({},s.position.start)))}this.exit(t)}function A0(t,r,e,i){let s=t.children[0],a=typeof t.checked=="boolean"&&s&&s.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=ur(i);a&&f.move(l);let c=sh(t,r,e,{...i,...f.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),c;function m(d){return d+l}}function kf(){return[Um,Jm(),Xm,bf,lh]}function vf(t){return{extensions:[Hm,Qm(),Ym,wf(t),uh]}}function xf(t={}){let r=this.data();e("micromarkExtensions",Lm(t)),e("fromMarkdownExtensions",kf()),e("toMarkdownExtensions",vf(t));function e(i,s){(r[i]?r[i]:r[i]=[]).push(s)}}var ch={tokenize:E0,concrete:!0},fh={tokenize:_0,partial:!0};function E0(t,r,e){let i=this,s=i.events[i.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(X){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),c(X)}function c(X){return X===36?(t.consume(X),l++,c):l<2?e(X):(t.exit("mathFlowFenceSequence"),ve(t,m,"whitespace")(X))}function m(X){return X===null||fe(X)?$(X):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(X))}function d(X){return X===null||fe(X)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),$(X)):X===36?e(X):(t.consume(X),d)}function $(X){return t.exit("mathFlowFence"),i.interrupt?r(X):t.attempt(fh,E,N)(X)}function E(X){return t.attempt({tokenize:B,partial:!0},N,k)(X)}function k(X){return(a?ve(t,x,"linePrefix",a+1):x)(X)}function x(X){return X===null?N(X):fe(X)?t.attempt(fh,E,N)(X):(t.enter("mathFlowValue"),I(X))}function I(X){return X===null||fe(X)?(t.exit("mathFlowValue"),x(X)):(t.consume(X),I)}function N(X){return t.exit("mathFlow"),r(X)}function B(X,se,$e){let he=0;return ve(X,ne,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ne(ke){return X.enter("mathFlowFence"),X.enter("mathFlowFenceSequence"),be(ke)}function be(ke){return ke===36?(he++,X.consume(ke),be):he<l?$e(ke):(X.exit("mathFlowFenceSequence"),ve(X,xe,"whitespace")(ke))}function xe(ke){return ke===null||fe(ke)?(X.exit("mathFlowFence"),se(ke)):$e(ke)}}}function _0(t,r,e){let i=this;return s;function s(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),a)}function a(l){return i.parser.lazy[i.now().line]?e(l):r(l)}}function ph(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:i,resolve:S0,previous:P0};function i(s,a,l){let f=this,c=0,m,d;return $;function $(N){return s.enter("mathText"),s.enter("mathTextSequence"),E(N)}function E(N){return N===36?(s.consume(N),c++,E):c<2&&!e?l(N):(s.exit("mathTextSequence"),k(N))}function k(N){return N===null?l(N):N===36?(d=s.enter("mathTextSequence"),m=0,I(N)):N===32?(s.enter("space"),s.consume(N),s.exit("space"),k):fe(N)?(s.enter("lineEnding"),s.consume(N),s.exit("lineEnding"),k):(s.enter("mathTextData"),x(N))}function x(N){return N===null||N===32||N===36||fe(N)?(s.exit("mathTextData"),k(N)):(s.consume(N),x)}function I(N){return N===36?(s.consume(N),m++,I):m===c?(s.exit("mathTextSequence"),s.exit("mathText"),a(N)):(d.type="mathTextData",x(N))}}}function S0(t){let r=t.length-4,e=3,i,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(i=e;++i<r;)if(t[i][1].type==="mathTextData"){t[r][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,r-=2;break}}for(i=e-1,r++;++i<=r;)s===void 0?i!==r&&t[i][1].type!=="lineEnding"&&(s=i):(i===r||t[i][1].type==="lineEnding")&&(t[s][1].type="mathTextData",i!==s+2&&(t[s][1].end=t[i-1][1].end,t.splice(s+2,i-s-2),r-=i-s-2,i=s+2),s=void 0);return t}function P0(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Cf(t){return{flow:{[36]:ch},text:{[36]:ph(t)}}}function dh(t,r){let e=String(t),i=e.indexOf(r),s=i,a=0,l=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;i!==-1;)i===s?++a>l&&(l=a):a=1,s=i+1,i=e.indexOf(r,s);return l}function Af(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:a},exit:{mathFlow:s,mathFlowFence:i,mathFlowFenceMeta:e,mathFlowValue:f,mathText:l,mathTextData:f}};function t(c){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},c)}function r(){this.buffer()}function e(){let c=this.resume(),m=this.stack[this.stack.length-1];m.meta=c}function i(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function s(c){let m=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.exit(c);d.value=m,d.data.hChildren[0].value=m,this.setData("mathFlowInside")}function a(c){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},c),this.buffer()}function l(c){let m=this.resume(),d=this.exit(c);d.value=m,d.data.hChildren[0].value=m}function f(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function Ef(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),i.peek=s,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
52
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:i}};function e(a,l,f,c){let m=a.value||"",d=ur(c),$="$".repeat(Math.max(dh(m,"$")+1,2)),E=f.enter("mathFlow"),k=d.move($);if(a.meta){let x=f.enter("mathFlowMeta");k+=d.move(is(f,a.meta,{before:k,after:`
53
+ `,encode:["$"],...d.current()})),x()}return k+=d.move(`
36
54
  `),m&&(k+=d.move(m+`
37
- `)),k+=d.move(b),x(),k}function i(a,l,f){let c=a.value||"",m=1;for(r||m++;new RegExp("(^|[^$])"+"\\$".repeat(m)+"([^$]|$)").test(c);)m++;let d="$".repeat(m);/[^ \r\n]/.test(c)&&(/^[ \r\n]/.test(c)&&/[ \r\n]$/.test(c)||/^\$|\$$/.test(c))&&(c=" "+c+" ");let b=-1;for(;++b<f.unsafe.length;){let x=f.unsafe[b],k=fo(x),E;if(!!x.atBreak)for(;E=k.exec(c);){let I=E.index;c.codePointAt(I)===10&&c.codePointAt(I-1)===13&&I--,c=c.slice(0,I)+" "+c.slice(E.index+1)}}return d+c+d}function s(){return"$"}}function Ef(t={}){let r=this.data();e("micromarkExtensions",xf(t)),e("fromMarkdownExtensions",Cf()),e("toMarkdownExtensions",Af(t));function e(i,s){(r[i]?r[i]:r[i]=[]).push(s)}}var ga=(t,{lineOffset:r}={lineOffset:0})=>{let e=Du().use(_m).use(wf).use(Ef).parse(t),i={},s=(f=>c=>{let{start:m,end:d}=c;return{start:{...m,line:m.line+f},end:{...d,line:d.line+f}}})(r);so({processor:1}).use({"*:*":(f,c)=>(m,d,b)=>{m.children&&b(m.children,{...d})}}).use({":definition":(f,c)=>(m,d,b)=>{i[m.identifier]=m}}).run(e);let a=[];return so({processor:1}).use({"*:*":(f,c)=>(m,d,b)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(m,null,2)),m.children&&b(m.children,{...d})}}).use({":root":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return $u({},b(x,d))},":math":(f,c)=>(m,d,b)=>{let{value:x,children:k,position:E,...I}=m;return sd({value:x,location:s(E)})},":inlineMath":(f,c)=>(m,d,b)=>{let{value:x,children:k,position:E,...I}=m;return nd(x)},":heading":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return mr({type:"block",level:m.depth,name:"head",location:s(k)},b(x,d))},":text":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return m.value},":list":(f,c)=>(m,d,b)=>{let x=d.listLevel||0,{children:k,position:E,...I}=m;return mr({type:"list",level:x+1,list:m.ordered?"ordered":"itemized"},b(k,{...d,listLevel:x+1,ordered:m.ordered}))},":listItem":(f,c)=>(m,d,b)=>{let x=d.listLevel||0,{children:k,position:E,...I}=m;return mr({name:"item",type:"block",level:d.listLevel,location:s(E)},b(k,{...d,listLevel:x,ordered:m.ordered}))},":paragraph":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return mr({type:"para",location:s(k),text:"text",margin:""},b(x,{...d}))},":linkReference":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m,I=i[E.identifier],N=(I==null?void 0:I.url)||"";return yu({meta:N},b(x,{...d}))},":definition":(f,c)=>(m,d,b)=>null,":inlineCode":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return Ks({name:"C"},[m.value])},":strong":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return Ks({name:"B"},b(x,{...d}))},":emphasis":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return Ks({name:"I"},b(x,{...d}))},":link":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return yu({meta:m.url},b(x,{...d}))},":html":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return mr({type:"block",name:"Html",location:s(k)},[Ho(m.value)])},":code":(f,c)=>(m,d,b)=>{let{children:x,position:k,lang:E,meta:I,...N}=m;if(E==="mermaid"||E==="diagram")return mr({type:"block",name:"Mermaid",config:[],location:s(k)},[Ho(m.value)]);let M=[];return E&&M.push({name:"lang",value:E,type:"string"}),I&&M.push({name:"meta",value:I,type:"string"}),mr({type:"block",name:"code",config:M,location:s(k)},[Ho(m.value)])},":image":(f,c)=>(m,d,b)=>{let{title:x,alt:k,url:E,position:I,...N}=m,M=[],Y=[od(E,k)];return x&&Y.push(id([x])),mr({type:"block",name:"Image",config:M,location:s(I)},Y)},":thematicBreak":(f,c)=>(m,d,b)=>null,":blockquote":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return mr({name:"nested",location:s(k)},b(x,{...d}))},":table":(f,c)=>(m,d,b)=>{let{children:x,position:k,align:E,...I}=m;return mr({name:"table",location:s(k),align:E},b(x,{...d,isHeaderUsed:0}))},":tableRow":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m,I=d.isHeaderUsed++;return mr({name:I?"table_row":"table_head",location:s(k)},b(x,{...d}))},":tableCell":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return mr({name:"table_cell",location:s(k)},b(x,{...d}))},":delete":(f,c)=>(m,d,b)=>{let{children:x,position:k,...E}=m;return rd(b(x,{...d}))},":break":(f,c)=>(m,d,b)=>null}).run(e).interator};var ya={toAst:(t,r)=>(e,i)=>{if(typeof e!="string"&&"type"in e&&"content"in e&&e.type==="block"){let s=e.content[0];if(s&&typeof s!="string"&&"location"in e&&"value"in s){let a=e.location.start.line;return{...e,content:ga(s,{lineOffset:a})}}return e}},toJSX:t=>Rn},S0={Markdown:ya,markdown:ya},P0=ya;0&&(module.exports={PluginRegister,parseMd,plugin});
55
+ `)),k+=d.move($),E(),k}function i(a,l,f){let c=a.value||"",m=1;for(r||m++;new RegExp("(^|[^$])"+"\\$".repeat(m)+"([^$]|$)").test(c);)m++;let d="$".repeat(m);/[^ \r\n]/.test(c)&&(/^[ \r\n]/.test(c)&&/[ \r\n]$/.test(c)||/^\$|\$$/.test(c))&&(c=" "+c+" ");let $=-1;for(;++$<f.unsafe.length;){let E=f.unsafe[$],k=fo(E),x;if(!!E.atBreak)for(;x=k.exec(c);){let I=x.index;c.codePointAt(I)===10&&c.codePointAt(I-1)===13&&I--,c=c.slice(0,I)+" "+c.slice(x.index+1)}}return d+c+d}function s(){return"$"}}function _f(t={}){let r=this.data();e("micromarkExtensions",Cf(t)),e("fromMarkdownExtensions",Af()),e("toMarkdownExtensions",Ef(t));function e(i,s){(r[i]?r[i]:r[i]=[]).push(s)}}var $a=(t,{lineOffset:r}={lineOffset:0})=>{let e=Ru().use(_m).use(xf).use(_f).parse(t),i={},s=(f=>c=>{let{start:m,end:d}=c;return{start:{...m,line:m.line+f},end:{...d,line:d.line+f}}})(r);so({processor:1}).use({"*:*":(f,c)=>(m,d,$)=>{m.children&&$(m.children,{...d})}}).use({":definition":(f,c)=>(m,d,$)=>{i[m.identifier]=m}}).run(e);let a=[];return so({processor:1}).use({"*:*":(f,c)=>(m,d,$)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(m,null,2)),m.children&&$(m.children,{...d})}}).use({":root":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return wu({},$(E,d))},":math":(f,c)=>(m,d,$)=>{let{value:E,children:k,position:x,...I}=m;return ad({value:E,location:s(x)})},":inlineMath":(f,c)=>(m,d,$)=>{let{value:E,children:k,position:x,...I}=m;return id(E)},":heading":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return hr({type:"block",level:m.depth,name:"head",location:s(k)},$(E,d))},":text":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return m.value},":list":(f,c)=>(m,d,$)=>{let E=d.listLevel||0,{children:k,position:x,...I}=m;return hr({type:"list",level:E+1,list:m.ordered?"ordered":"itemized"},$(k,{...d,listLevel:E+1,ordered:m.ordered}))},":listItem":(f,c)=>(m,d,$)=>{let E=d.listLevel||0,{children:k,position:x,checked:I,...N}=m,B={name:"item",type:"block",level:d.listLevel,location:s(x)};return I!=null&&(B.checked=I,B.config=[{name:"checked",value:I,type:"boolean"}]),hr(B,$(k,{...d,listLevel:E,ordered:m.ordered}))},":paragraph":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return hr({type:"para",location:s(k),text:"text",margin:""},$(E,{...d}))},":linkReference":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m,I=i[x.identifier],N=(I==null?void 0:I.url)||"";return bu({meta:N},$(E,{...d}))},":definition":(f,c)=>(m,d,$)=>null,":inlineCode":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return Js({name:"C"},[m.value])},":strong":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return Js({name:"B"},$(E,{...d}))},":emphasis":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return Js({name:"I"},$(E,{...d}))},":link":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return bu({meta:m.url},$(E,{...d}))},":html":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return hr({type:"block",name:"Html",location:s(k)},[Ho(m.value)])},":code":(f,c)=>(m,d,$)=>{let{children:E,position:k,lang:x,meta:I,...N}=m;if(x==="mermaid"||x==="diagram")return hr({type:"block",name:"Mermaid",config:[],location:s(k)},[Ho(m.value)]);let B=[];return x&&B.push({name:"lang",value:x,type:"string"}),I&&B.push({name:"meta",value:I,type:"string"}),hr({type:"block",name:"code",config:B,location:s(k)},[Ho(m.value)])},":image":(f,c)=>(m,d,$)=>{let{title:E,alt:k,url:x,position:I,...N}=m,B=[],X=[sd(x,k)];return E&&X.push(od([E])),hr({type:"block",name:"Image",config:B,location:s(I)},X)},":thematicBreak":(f,c)=>(m,d,$)=>null,":blockquote":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return hr({name:"nested",location:s(k)},$(E,{...d}))},":table":(f,c)=>(m,d,$)=>{let{children:E,position:k,align:x,...I}=m;return hr({name:"table",location:s(k),align:x},$(E,{...d,isHeaderUsed:0}))},":tableRow":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m,I=d.isHeaderUsed++;return hr({name:I?"table_row":"table_head",location:s(k)},$(E,{...d}))},":tableCell":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return hr({name:"table_cell",location:s(k)},$(E,{...d}))},":delete":(f,c)=>(m,d,$)=>{let{children:E,position:k,...x}=m;return nd($(E,{...d}))},":break":(f,c)=>(m,d,$)=>null}).run(e).interator};var ba={toAst:(t,r)=>(e,i)=>{if(typeof e!="string"&&"type"in e&&"content"in e&&e.type==="block"){let s=e.content[0];if(s&&typeof s!="string"&&"location"in e&&"value"in s){let a=e.location.start.line;return{...e,content:$a(s,{lineOffset:a})}}return e}},toJSX:t=>yr},T0={Markdown:ba,markdown:ba},F0=ba;0&&(module.exports={PluginRegister,parseMd,plugin});
38
56
  /*!
39
57
  * Determine if an object is a Buffer
40
58
  *