@podlite/markdown 0.0.34 → 0.0.35

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,63 +1,65 @@
1
- var Uh=Object.create;var _o=Object.defineProperty;var Hh=Object.getOwnPropertyDescriptor;var Gh=Object.getOwnPropertyNames;var Kh=Object.getPrototypeOf,Wh=Object.prototype.hasOwnProperty;var be=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Qf=(t,r)=>{for(var e in r)_o(t,e,{get:r[e],enumerable:!0})},Xf=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Gh(r))!Wh.call(t,s)&&s!==e&&_o(t,s,{get:()=>r[s],enumerable:!(n=Hh(r,s))||n.enumerable});return t};var Fr=(t,r,e)=>(e=t!=null?Uh(Kh(t)):{},Xf(r||!t||!t.__esModule?_o(e,"default",{value:t,enumerable:!0}):e,t)),Jh=t=>Xf(_o({},"__esModule",{value:!0}),t);var Za=be(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.getRules=Xi.isJSONType=void 0;var Zh=["string","number","integer","boolean","null","object","array"],Qh=new Set(Zh);function Xh(t){return typeof t=="string"&&Qh.has(t)}Xi.isJSONType=Xh;function Yh(){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:{}}}Xi.getRules=Yh});var Qa=be(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.shouldUseRule=Xn.shouldUseGroup=Xn.schemaHasRulesForType=void 0;function eg({schema:t,self:r},e){let n=r.RULES.types[e];return n&&n!==!0&&Yf(t,n)}Xn.schemaHasRulesForType=eg;function Yf(t,r){return r.rules.some(e=>ec(t,e))}Xn.shouldUseGroup=Yf;function ec(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(n=>t[n]!==void 0))}Xn.shouldUseRule=ec});var So=be(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.getProperty=dt.safeStringify=dt.stringify=dt.strConcat=dt.addCodeArg=dt.str=dt._=dt.nil=dt._Code=dt.Name=dt.IDENTIFIER=dt._CodeOrName=void 0;var Os=class{};dt._CodeOrName=Os;dt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var gi=class extends Os{constructor(r){if(super(),!dt.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}}};dt.Name=gi;var Cn=class extends Os{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,n)=>`${e}${n}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,n)=>(n instanceof gi&&(e[n.str]=(e[n.str]||0)+1),e),{})}};dt._Code=Cn;dt.nil=new Cn("");function tc(t,...r){let e=[t[0]],n=0;for(;n<r.length;)Ya(e,r[n]),e.push(t[++n]);return new Cn(e)}dt._=tc;var Xa=new Cn("+");function rc(t,...r){let e=[Rs(t[0])],n=0;for(;n<r.length;)e.push(Xa),Ya(e,r[n]),e.push(Xa,Rs(t[++n]));return tg(e),new Cn(e)}dt.str=rc;function Ya(t,r){r instanceof Cn?t.push(...r._items):r instanceof gi?t.push(r):t.push(ig(r))}dt.addCodeArg=Ya;function tg(t){let r=1;for(;r<t.length-1;){if(t[r]===Xa){let e=rg(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function rg(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof gi||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 gi))return`"${t}${r.slice(1)}`}function ng(t,r){return r.emptyStr()?t:t.emptyStr()?r:rc`${t}${r}`}dt.strConcat=ng;function ig(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Rs(Array.isArray(t)?t.join(","):t)}function sg(t){return new Cn(Rs(t))}dt.stringify=sg;function Rs(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}dt.safeStringify=Rs;function og(t){return typeof t=="string"&&dt.IDENTIFIER.test(t)?new Cn(`.${t}`):tc`[${t}]`}dt.getProperty=og});var nl=be($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.ValueScope=$r.ValueScopeName=$r.Scope=$r.varKinds=$r.UsedValueState=void 0;var Ir=So(),el=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},tl;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(tl=$r.UsedValueState||($r.UsedValueState={}));$r.varKinds={const:new Ir.Name("const"),let:new Ir.Name("let"),var:new Ir.Name("var")};var Po=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof Ir.Name?r:this.name(r)}name(r){return new Ir.Name(this._newName(r))}_newName(r){let e=this._names[r]||this._nameGroup(r);return`${r}${e.index++}`}_nameGroup(r){var e,n;if(((n=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||n===void 0?void 0:n.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}}};$r.Scope=Po;var To=class extends Ir.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:n}){this.value=r,this.scopePath=Ir._`.${new Ir.Name(e)}[${n}]`}};$r.ValueScopeName=To;var ag=Ir._`\n`,rl=class extends Po{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?ag:Ir.nil}}get(){return this._scope}name(r){return new To(r,this._newName(r))}value(r,e){var n;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let s=this.toName(r),{prefix:o}=s,l=(n=e.key)!==null&&n!==void 0?n:e.ref,f=this._values[o];if(f){let m=f.get(l);if(m)return m}else f=this._values[o]=new Map;f.set(l,s);let c=this._scope[o]||(this._scope[o]=[]),h=c.length;return c[h]=e.ref,s.setValue(e,{property:o,itemIndex:h}),s}getValue(r,e){let n=this._values[r];if(!!n)return n.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return Ir._`${r}${n.scopePath}`})}scopeCode(r=this._values,e,n){return this._reduceValues(r,s=>{if(s.value===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return s.value.code},e,n)}_reduceValues(r,e,n={},s){let o=Ir.nil;for(let l in r){let f=r[l];if(!f)continue;let c=n[l]=n[l]||new Map;f.forEach(h=>{if(c.has(h))return;c.set(h,tl.Started);let m=e(h);if(m){let b=this.opts.es5?$r.varKinds.var:$r.varKinds.const;o=Ir._`${o}${b} ${h} = ${m};${this.opts._n}`}else if(m=s==null?void 0:s(h))o=Ir._`${o}${m}${this.opts._n}`;else throw new el(h);c.set(h,tl.Completed)})}return o}};$r.ValueScope=rl});var ze=be(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.or=Ue.and=Ue.not=Ue.CodeGen=Ue.operators=Ue.varKinds=Ue.ValueScopeName=Ue.ValueScope=Ue.Scope=Ue.Name=Ue.stringify=Ue.getProperty=Ue.nil=Ue.strConcat=Ue.str=Ue._=void 0;var Qe=So(),on=nl(),bi=So();Object.defineProperty(Ue,"_",{enumerable:!0,get:function(){return bi._}});Object.defineProperty(Ue,"str",{enumerable:!0,get:function(){return bi.str}});Object.defineProperty(Ue,"strConcat",{enumerable:!0,get:function(){return bi.strConcat}});Object.defineProperty(Ue,"nil",{enumerable:!0,get:function(){return bi.nil}});Object.defineProperty(Ue,"getProperty",{enumerable:!0,get:function(){return bi.getProperty}});Object.defineProperty(Ue,"stringify",{enumerable:!0,get:function(){return bi.stringify}});Object.defineProperty(Ue,"Name",{enumerable:!0,get:function(){return bi.Name}});var Ro=nl();Object.defineProperty(Ue,"Scope",{enumerable:!0,get:function(){return Ro.Scope}});Object.defineProperty(Ue,"ValueScope",{enumerable:!0,get:function(){return Ro.ValueScope}});Object.defineProperty(Ue,"ValueScopeName",{enumerable:!0,get:function(){return Ro.ValueScopeName}});Object.defineProperty(Ue,"varKinds",{enumerable:!0,get:function(){return Ro.varKinds}});Ue.operators={GT:new Qe._Code(">"),GTE:new Qe._Code(">="),LT:new Qe._Code("<"),LTE:new Qe._Code("<="),EQ:new Qe._Code("==="),NEQ:new Qe._Code("!=="),NOT:new Qe._Code("!"),OR:new Qe._Code("||"),AND:new Qe._Code("&&"),ADD:new Qe._Code("+")};var Ln=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},il=class extends Ln{constructor(r,e,n){super(),this.varKind=r,this.name=e,this.rhs=n}render({es5:r,_n:e}){let n=r?on.varKinds.var:this.varKind,s=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${s};`+e}optimizeNames(r,e){if(!!r[this.name.str])return this.rhs&&(this.rhs=es(this.rhs,r,e)),this}get names(){return this.rhs instanceof Qe._CodeOrName?this.rhs.names:{}}},Fo=class extends Ln{constructor(r,e,n){super(),this.lhs=r,this.rhs=e,this.sideEffects=n}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Qe.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=es(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Qe.Name?{}:{...this.lhs.names};return Oo(r,this.rhs)}},sl=class extends Fo{constructor(r,e,n,s){super(r,n,s),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},ol=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},al=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},ll=class extends Ln{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},ul=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=es(this.code,r,e),this}get names(){return this.code instanceof Qe._CodeOrName?this.code.names:{}}},qs=class extends Ln{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,n)=>e+n.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let n=r[e].optimizeNodes();Array.isArray(n)?r.splice(e,1,...n):n?r[e]=n:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:n}=this,s=n.length;for(;s--;){let o=n[s];o.optimizeNames(r,e)||(lg(r,o.names),n.splice(s,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>$i(r,e.names),{})}},jn=class extends qs{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},fl=class extends qs{},Yi=class extends jn{};Yi.kind="else";var an=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 n=e.optimizeNodes();e=this.else=Array.isArray(n)?new Yi(n):n}if(e)return r===!1?e instanceof an?e:e.nodes:this.nodes.length?this:new an(nc(r),e instanceof an?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(r,e),!!(super.optimizeNames(r,e)||this.else))return this.condition=es(this.condition,r,e),this}get names(){let r=super.names;return Oo(r,this.condition),this.else&&$i(r,this.else.names),r}};an.kind="if";var yi=class extends jn{};yi.kind="for";var cl=class extends yi{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=es(this.iteration,r,e),this}get names(){return $i(super.names,this.iteration.names)}},pl=class extends yi{constructor(r,e,n,s){super(),this.varKind=r,this.name=e,this.from=n,this.to=s}render(r){let e=r.es5?on.varKinds.var:this.varKind,{name:n,from:s,to:o}=this;return`for(${e} ${n}=${s}; ${n}<${o}; ${n}++)`+super.render(r)}get names(){let r=Oo(super.names,this.from);return Oo(r,this.to)}},Io=class extends yi{constructor(r,e,n,s){super(),this.loop=r,this.varKind=e,this.name=n,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=es(this.iterable,r,e),this}get names(){return $i(super.names,this.iterable.names)}},Ds=class extends jn{constructor(r,e,n){super(),this.name=r,this.args=e,this.async=n}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};Ds.kind="func";var Ns=class extends qs{render(r){return"return "+super.render(r)}};Ns.kind="return";var dl=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 n,s;return super.optimizeNames(r,e),(n=this.catch)===null||n===void 0||n.optimizeNames(r,e),(s=this.finally)===null||s===void 0||s.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&$i(r,this.catch.names),this.finally&&$i(r,this.finally.names),r}},Ls=class extends jn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};Ls.kind="catch";var js=class extends jn{render(r){return"finally"+super.render(r)}};js.kind="finally";var ml=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
- `:""},this._extScope=r,this._scope=new on.Scope({parent:r}),this._nodes=[new fl]}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 n=this._extScope.value(r,e);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}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,n,s){let o=this._scope.toName(e);return n!==void 0&&s&&(this._constants[o.str]=n),this._leafNode(new il(r,o,n)),o}const(r,e,n){return this._def(on.varKinds.const,r,e,n)}let(r,e,n){return this._def(on.varKinds.let,r,e,n)}var(r,e,n){return this._def(on.varKinds.var,r,e,n)}assign(r,e,n){return this._leafNode(new Fo(r,e,n))}add(r,e){return this._leafNode(new sl(r,Ue.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Qe.nil&&this._leafNode(new ul(r)),this}object(...r){let e=["{"];for(let[n,s]of r)e.length>1&&e.push(","),e.push(n),(n!==s||this.opts.es5)&&(e.push(":"),Qe.addCodeArg(e,s));return e.push("}"),new Qe._Code(e)}if(r,e,n){if(this._blockNode(new an(r)),e&&n)this.code(e).else().code(n).endIf();else if(e)this.code(e).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(r){return this._elseNode(new an(r))}else(){return this._elseNode(new Yi)}endIf(){return this._endBlockNode(an,Yi)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new cl(r),e)}forRange(r,e,n,s,o=this.opts.es5?on.varKinds.var:on.varKinds.let){let l=this._scope.toName(r);return this._for(new pl(o,l,e,n),()=>s(l))}forOf(r,e,n,s=on.varKinds.const){let o=this._scope.toName(r);if(this.opts.es5){let l=e instanceof Qe.Name?e:this.var("_arr",e);return this.forRange("_i",0,Qe._`${l}.length`,f=>{this.var(o,Qe._`${l}[${f}]`),n(o)})}return this._for(new Io("of",s,o,e),()=>n(o))}forIn(r,e,n,s=this.opts.es5?on.varKinds.var:on.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Qe._`Object.keys(${e})`,n);let o=this._scope.toName(r);return this._for(new Io("in",s,o,e),()=>n(o))}endFor(){return this._endBlockNode(yi)}label(r){return this._leafNode(new ol(r))}break(r){return this._leafNode(new al(r))}return(r){let e=new Ns;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Ns)}try(r,e,n){if(!e&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let s=new dl;if(this._blockNode(s),this.code(r),e){let o=this.name("e");this._currNode=s.catch=new Ls(o),e(o)}return n&&(this._currNode=s.finally=new js,this.code(n)),this._endBlockNode(Ls,js)}throw(r){return this._leafNode(new ll(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 n=this._nodes.length-e;if(n<0||r!==void 0&&n!==r)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Qe.nil,n,s){return this._blockNode(new Ds(r,e,n)),s&&this.code(s).endFunc(),this}endFunc(){return this._endBlockNode(Ds)}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 n=this._currNode;if(n instanceof r||e&&n 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 an))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}};Ue.CodeGen=ml;function $i(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function Oo(t,r){return r instanceof Qe._CodeOrName?$i(t,r.names):t}function es(t,r,e){if(t instanceof Qe.Name)return n(t);if(!s(t))return t;return new Qe._Code(t._items.reduce((o,l)=>(l instanceof Qe.Name&&(l=n(l)),l instanceof Qe._Code?o.push(...l._items):o.push(l),o),[]));function n(o){let l=e[o.str];return l===void 0||r[o.str]!==1?o:(delete r[o.str],l)}function s(o){return o instanceof Qe._Code&&o._items.some(l=>l instanceof Qe.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function lg(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function nc(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Qe._`!${hl(t)}`}Ue.not=nc;var ug=ic(Ue.operators.AND);function fg(...t){return t.reduce(ug)}Ue.and=fg;var cg=ic(Ue.operators.OR);function pg(...t){return t.reduce(cg)}Ue.or=pg;function ic(t){return(r,e)=>r===Qe.nil?e:e===Qe.nil?r:Qe._`${hl(r)} ${t} ${hl(e)}`}function hl(t){return t instanceof Qe.Name?t:Qe._`(${t})`}});var ln=be(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});var or=ze(),dg={data:new or.Name("data"),valCxt:new or.Name("valCxt"),dataPath:new or.Name("dataPath"),parentData:new or.Name("parentData"),parentDataProperty:new or.Name("parentDataProperty"),rootData:new or.Name("rootData"),dynamicAnchors:new or.Name("dynamicAnchors"),vErrors:new or.Name("vErrors"),errors:new or.Name("errors"),this:new or.Name("this"),self:new or.Name("self"),scope:new or.Name("scope"),json:new or.Name("json"),jsonPos:new or.Name("jsonPos"),jsonLen:new or.Name("jsonLen"),jsonPart:new or.Name("jsonPart")};gl.default=dg});var Bs=be(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.extendErrors=ar.resetErrorsCount=ar.reportExtraError=ar.reportError=ar.keyword$DataError=ar.keywordError=void 0;var Xe=ze(),lr=ln();ar.keywordError={message:({keyword:t})=>Xe.str`should pass "${t}" keyword validation`};ar.keyword$DataError={message:({keyword:t,schemaType:r})=>r?Xe.str`"${t}" keyword must be ${r} ($data)`:Xe.str`"${t}" keyword is invalid ($data)`};function mg(t,r=ar.keywordError,e){let{it:n}=t,{gen:s,compositeRule:o,allErrors:l}=n,f=ac(t,r);e??(o||l)?sc(s,f):oc(n,Xe._`[${f}]`)}ar.reportError=mg;function hg(t,r=ar.keywordError){let{it:e}=t,{gen:n,compositeRule:s,allErrors:o}=e,l=ac(t,r);sc(n,l),s||o||oc(e,lr.default.vErrors)}ar.reportExtraError=hg;function gg(t,r){t.assign(lr.default.errors,r),t.if(Xe._`${lr.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(Xe._`${lr.default.vErrors}.length`,r),()=>t.assign(lr.default.vErrors,null)))}ar.resetErrorsCount=gg;function yg({gen:t,keyword:r,schemaValue:e,data:n,errsCount:s,it:o}){if(s===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",s,lr.default.errors,f=>{t.const(l,Xe._`${lr.default.vErrors}[${f}]`),t.if(Xe._`${l}.dataPath === undefined`,()=>t.assign(Xe._`${l}.dataPath`,Xe.strConcat(lr.default.dataPath,o.errorPath))),t.assign(Xe._`${l}.schemaPath`,Xe.str`${o.errSchemaPath}/${r}`),o.opts.verbose&&(t.assign(Xe._`${l}.schema`,e),t.assign(Xe._`${l}.data`,n))})}ar.extendErrors=yg;function sc(t,r){let e=t.const("err",r);t.if(Xe._`${lr.default.vErrors} === null`,()=>t.assign(lr.default.vErrors,Xe._`[${e}]`),Xe._`${lr.default.vErrors}.push(${e})`),t.code(Xe._`${lr.default.errors}++`)}function oc(t,r){let{gen:e,validateName:n,schemaEnv:s}=t;s.$async?e.throw(Xe._`new ${t.ValidationError}(${r})`):(e.assign(Xe._`${n}.errors`,r),e.return(!1))}var An={keyword:new Xe.Name("keyword"),schemaPath:new Xe.Name("schemaPath"),params:new Xe.Name("params"),propertyName:new Xe.Name("propertyName"),message:new Xe.Name("message"),schema:new Xe.Name("schema"),parentSchema:new Xe.Name("parentSchema"),instancePath:new Xe.Name("instancePath")};function ac(t,r){let{createErrors:e,opts:n}=t.it;return e===!1?Xe._`{}`:(n.jtd&&!n.ajvErrors?$g:bg)(t,r)}function $g(t,{message:r}){let{gen:e,keyword:n,it:s}=t,{errorPath:o,errSchemaPath:l,opts:f}=s,c=[[An.instancePath,Xe.strConcat(lr.default.dataPath,o)],[An.schemaPath,Xe.str`${l}/${n}`]];return f.messages&&c.push([An.message,typeof r=="function"?r(t):r]),e.object(...c)}function bg(t,r){let{gen:e,keyword:n,data:s,schemaValue:o,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:h,errSchemaPath:m,propertyName:b,opts:C}=l,{params:A,message:E}=r,O=[[An.keyword,n],[lr.default.dataPath,Xe.strConcat(lr.default.dataPath,h)],[An.schemaPath,Xe.str`${m}/${n}`],[An.params,typeof A=="function"?A(t):A||Xe._`{}`]];return b&&O.push([An.propertyName,b]),C.messages&&O.push([An.message,typeof E=="function"?E(t):E]),C.verbose&&O.push([An.schema,o],[An.parentSchema,Xe._`${f}${c}`],[lr.default.data,s]),e.object(...O)}});var uc=be(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.boolOrEmptySchema=ts.topBoolOrEmptySchema=void 0;var wg=Bs(),kg=ze(),vg=ln(),xg={message:"boolean schema is false"};function Cg(t){let{gen:r,schema:e,validateName:n}=t;e===!1?lc(t,!1):typeof e=="object"&&e.$async===!0?r.return(vg.default.data):(r.assign(kg._`${n}.errors`,null),r.return(!0))}ts.topBoolOrEmptySchema=Cg;function Ag(t,r){let{gen:e,schema:n}=t;n===!1?(e.var(r,!1),lc(t)):e.var(r,!0)}ts.boolOrEmptySchema=Ag;function lc(t,r){let{gen:e,data:n}=t,s={gen:e,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};wg.reportError(s,xg,r)}});var cc=be(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.assignDefaults=void 0;var rs=ze(),Eg=Br();function _g(t,r){let{properties:e,items:n}=t.schema;if(r==="object"&&e)for(let s in e)fc(t,s,e[s].default);else r==="array"&&Array.isArray(n)&&n.forEach((s,o)=>fc(t,o,s.default))}qo.assignDefaults=_g;function fc(t,r,e){let{gen:n,compositeRule:s,data:o,opts:l}=t;if(e===void 0)return;let f=rs._`${o}${rs.getProperty(r)}`;if(s){Eg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=rs._`${f} === undefined`;l.useDefaults==="empty"&&(c=rs._`${c} || ${f} === null || ${f} === ""`),n.if(c,rs._`${f} = ${rs.stringify(e)}`)}});var ki=be(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.applySubschema=wi.Type=void 0;var Sg=Br(),pc=_t(),ur=ze(),dc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(dc=wi.Type||(wi.Type={}));function Pg(t,r,e){let n=Tg(t,r);Fg(n,t,r),Ig(n,r);let s={...t,...n,items:void 0,props:void 0};return Sg.subschemaCode(s,e),s}wi.applySubschema=Pg;function Tg(t,{keyword:r,schemaProp:e,schema:n,schemaPath:s,errSchemaPath:o,topSchemaRef:l}){if(r!==void 0&&n!==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:ur._`${t.schemaPath}${ur.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:ur._`${t.schemaPath}${ur.getProperty(r)}${ur.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${pc.escapeFragment(e)}`}}if(n!==void 0){if(s===void 0||o===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:s,topSchemaRef:l,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}function Fg(t,r,{dataProp:e,dataPropType:n,data:s,dataTypes:o,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:h,dataPathArr:m,opts:b}=r,C=f.let("data",ur._`${r.data}${ur.getProperty(e)}`,!0);c(C),t.errorPath=ur.str`${h}${Og(e,n,b.jsPropertySyntax)}`,t.parentDataProperty=ur._`${e}`,t.dataPathArr=[...m,t.parentDataProperty]}if(s!==void 0){let h=s instanceof ur.Name?s:f.let("data",s,!0);c(h),l!==void 0&&(t.propertyName=l)}o&&(t.dataTypes=o);function c(h){t.data=h,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,h]}}function Ig(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:n,createErrors:s,allErrors:o}){n!==void 0&&(t.compositeRule=n),s!==void 0&&(t.createErrors=s),o!==void 0&&(t.allErrors=o),t.jtdDiscriminator=r,t.jtdMetadata=e}function Og(t,r,e){if(t instanceof ur.Name){let n=r===dc.Num;return e?n?ur._`"[" + ${t} + "]"`:ur._`"['" + ${t} + "']"`:n?ur._`"/" + ${t}`:ur._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?ur.getProperty(t).toString():"/"+pc.escapeJsonPointer(t)}});var un=be(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.validateUnion=mt.validateArray=mt.usePattern=mt.callValidateCode=mt.schemaProperties=mt.allSchemaProperties=mt.noPropertyInData=mt.propertyInData=mt.isOwnProperty=mt.hasPropFunc=mt.reportMissingProp=mt.checkMissingProp=mt.checkReportMissingProp=void 0;var Ct=ze(),mc=_t(),Rg=ki(),Yn=ln();function qg(t,r){let{gen:e,data:n,it:s}=t;e.if($l(e,n,r,s.opts.ownProperties),()=>{t.setParams({missingProperty:Ct._`${r}`},!0),t.error()})}mt.checkReportMissingProp=qg;function Dg({gen:t,data:r,it:{opts:e}},n,s){return Ct.or(...n.map(o=>Ct.and($l(t,r,o,e.ownProperties),Ct._`${s} = ${o}`)))}mt.checkMissingProp=Dg;function Ng(t,r){t.setParams({missingProperty:r},!0),t.error()}mt.reportMissingProp=Ng;function hc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Ct._`Object.prototype.hasOwnProperty`})}mt.hasPropFunc=hc;function yl(t,r,e){return Ct._`${hc(t)}.call(${r}, ${e})`}mt.isOwnProperty=yl;function Lg(t,r,e,n){let s=Ct._`${r}${Ct.getProperty(e)} !== undefined`;return n?Ct._`${s} && ${yl(t,r,e)}`:s}mt.propertyInData=Lg;function $l(t,r,e,n){let s=Ct._`${r}${Ct.getProperty(e)} === undefined`;return n?Ct.or(s,Ct.not(yl(t,r,e))):s}mt.noPropertyInData=$l;function gc(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}mt.allSchemaProperties=gc;function jg(t,r){return gc(r).filter(e=>!mc.alwaysValidSchema(t,r[e]))}mt.schemaProperties=jg;function Bg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:n,schemaPath:s,errorPath:o},it:l},f,c,h){let m=h?Ct._`${t}, ${r}, ${n}${s}`:r,b=[[Yn.default.dataPath,Ct.strConcat(Yn.default.dataPath,o)],[Yn.default.parentData,l.parentData],[Yn.default.parentDataProperty,l.parentDataProperty],[Yn.default.rootData,Yn.default.rootData]];l.opts.dynamicRef&&b.push([Yn.default.dynamicAnchors,Yn.default.dynamicAnchors]);let C=Ct._`${m}, ${e.object(...b)}`;return c!==Ct.nil?Ct._`${f}.call(${c}, ${C})`:Ct._`${f}(${C})`}mt.callValidateCode=Bg;function Mg(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:Ct._`new RegExp(${r}, "u")`})}mt.usePattern=Mg;function zg(t){let{gen:r,data:e,keyword:n,it:s}=t,o=r.name("valid");if(s.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(o,!0),l(()=>r.break()),o;function l(f){let c=r.const("len",Ct._`${e}.length`);r.forRange("i",0,c,h=>{t.subschema({keyword:n,dataProp:h,dataPropType:Rg.Type.Num},o),r.if(Ct.not(o),f)})}}mt.validateArray=zg;function Vg(t){let{gen:r,schema:e,keyword:n,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>mc.alwaysValidSchema(s,c))&&!s.opts.unevaluated)return;let l=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((c,h)=>{let m=t.subschema({keyword:n,schemaProp:h,compositeRule:!0},f);r.assign(l,Ct._`${l} || ${f}`),t.mergeValidEvaluated(m,f)||r.if(Ct.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}mt.validateUnion=Vg});var wc=be(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.keywordCode=void 0;var Ug=Ms(),Hg=Bs(),Gg=un(),br=ze(),vi=ln();function Kg(t,r,e,n){let s=new Ug.default(t,e,r);"code"in e?e.code(s,n):s.$data&&e.validate?yc(s,e):"macro"in e?Wg(s,e):(e.compile||e.validate)&&yc(s,e)}Do.keywordCode=Kg;function Wg(t,r){let{gen:e,keyword:n,schema:s,parentSchema:o,it:l}=t,f=r.macro.call(l.self,s,o,l),c=bc(e,n,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let h=e.name("valid");t.subschema({schema:f,schemaPath:br.nil,errSchemaPath:`${l.errSchemaPath}/${n}`,topSchemaRef:c,compositeRule:!0},h),t.pass(h,()=>t.error(!0))}function yc(t,r){var e;let{gen:n,keyword:s,schema:o,parentSchema:l,$data:f,it:c}=t;Zg(c,r);let h=!f&&r.compile?r.compile.call(c.self,o,l,c):r.validate,m=bc(n,s,h),b=n.let("valid");t.block$data(b,C),t.ok((e=r.valid)!==null&&e!==void 0?e:b);function C(){if(r.errors===!1)O(),r.modifying&&$c(t),D(()=>t.error());else{let M=r.async?A():E();r.modifying&&$c(t),D(()=>Jg(t,M))}}function A(){let M=n.let("ruleErrs",null);return n.try(()=>O(br._`await `),X=>n.assign(b,!1).if(br._`${X} instanceof ${c.ValidationError}`,()=>n.assign(M,br._`${X}.errors`),()=>n.throw(X))),M}function E(){let M=br._`${m}.errors`;return n.assign(M,null),O(br.nil),M}function O(M=r.async?br._`await `:br.nil){let X=c.opts.passContext?vi.default.this:vi.default.self,le=!("compile"in r&&!f||r.schema===!1);n.assign(b,br._`${M}${Gg.callValidateCode(t,m,X,le)}`,r.modifying)}function D(M){var X;n.if(br.not((X=r.valid)!==null&&X!==void 0?X:b),M)}}function $c(t){let{gen:r,data:e,it:n}=t;r.if(n.parentData,()=>r.assign(e,br._`${n.parentData}[${n.parentDataProperty}]`))}function Jg(t,r){let{gen:e}=t;e.if(br._`Array.isArray(${r})`,()=>{e.assign(vi.default.vErrors,br._`${vi.default.vErrors} === null ? ${r} : ${vi.default.vErrors}.concat(${r})`).assign(vi.default.errors,br._`${vi.default.vErrors}.length`),Hg.extendErrors(t)},()=>t.error())}function Zg({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function bc(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:br.stringify(e)})}});var Ac=be(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.schemaKeywords=void 0;var bl=Qa(),kc=ns(),Qg=cc(),Cc=wc(),Xg=_t(),Yg=Br(),ey=ze(),ty=ln();function ry(t,r,e,n){let{gen:s,schema:o,data:l,allErrors:f,opts:c,self:h}=t,{RULES:m}=h;if(o.$ref&&(c.ignoreKeywordsWithRef||!Xg.schemaHasRulesButRef(o,m))){s.block(()=>Cc.keywordCode(t,"$ref",m.all.$ref.definition));return}c.jtd||ny(t,r),s.block(()=>{for(let C of m.rules)b(C);b(m.post)});function b(C){!bl.shouldUseGroup(o,C)||(C.type?(s.if(kc.checkDataType(C.type,l,c.strict)),vc(t,C),r.length===1&&r[0]===C.type&&e&&(s.else(),kc.reportTypeError(t)),s.endIf()):vc(t,C),f||s.if(ey._`${ty.default.errors} === ${n||0}`))}}No.schemaKeywords=ry;function vc(t,r){let{gen:e,schema:n,opts:{useDefaults:s}}=t;s&&Qg.assignDefaults(t,r.type),e.block(()=>{for(let o of r.rules)bl.shouldUseRule(n,o)&&Cc.keywordCode(t,o.keyword,o.definition,r.type)})}function ny(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(iy(t,r),t.opts.allowUnionTypes||sy(t,r),oy(t,t.dataTypes))}function iy(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{xc(t.dataTypes,e)||wl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>xc(r,e))}}function sy(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&wl(t,"use allowUnionTypes to allow union type keyword")}function oy(t,r){let e=t.self.RULES.all;for(let n in e){let s=e[n];if(typeof s=="object"&&bl.shouldUseRule(t.schema,s)){let{type:o}=s.definition;o.length&&!o.some(l=>ay(r,l))&&wl(t,`missing type "${o.join(",")}" for keyword "${n}"`)}}}function ay(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function xc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function wl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Yg.checkStrictMode(t,r,t.opts.strictTypes)}});var zs=be((F1,Ec)=>{"use strict";Ec.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 n,s,o;if(Array.isArray(r)){if(n=r.length,n!=e.length)return!1;for(s=n;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(o=Object.keys(r),n=o.length,n!==Object.keys(e).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[s]))return!1;for(s=n;s--!==0;){var l=o[s];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var Sc=be((I1,_c)=>{"use strict";var ei=_c.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var n=typeof e=="function"?e:e.pre||function(){},s=e.post||function(){};Lo(r,n,s,t,"",t)};ei.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ei.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ei.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ei.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 Lo(t,r,e,n,s,o,l,f,c,h){if(n&&typeof n=="object"&&!Array.isArray(n)){r(n,s,o,l,f,c,h);for(var m in n){var b=n[m];if(Array.isArray(b)){if(m in ei.arrayKeywords)for(var C=0;C<b.length;C++)Lo(t,r,e,b[C],s+"/"+m+"/"+C,o,s,m,n,C)}else if(m in ei.propsKeywords){if(b&&typeof b=="object")for(var A in b)Lo(t,r,e,b[A],s+"/"+m+"/"+ly(A),o,s,m,n,A)}else(m in ei.keywords||t.allKeys&&!(m in ei.skipKeywords))&&Lo(t,r,e,b,s+"/"+m,o,s,m,n)}e(n,s,o,l,f,c,h)}}function ly(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var kl=be((jo,Pc)=>{(function(t,r){typeof jo=="object"&&typeof Pc<"u"?r(jo):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(jo,function(t){"use strict";function r(){for(var V=arguments.length,q=Array(V),Z=0;Z<V;Z++)q[Z]=arguments[Z];if(q.length>1){q[0]=q[0].slice(0,-1);for(var te=q.length-1,ie=1;ie<te;++ie)q[ie]=q[ie].slice(1,-1);return q[te]=q[te].slice(1),q.join("")}else return q[0]}function e(V){return"(?:"+V+")"}function n(V){return V===void 0?"undefined":V===null?"null":Object.prototype.toString.call(V).split(" ").pop().split("]").shift().toLowerCase()}function s(V){return V.toUpperCase()}function o(V){return V!=null?V instanceof Array?V:typeof V.length!="number"||V.split||V.setInterval||V.call?[V]:Array.prototype.slice.call(V):[]}function l(V,q){var Z=V;if(q)for(var te in q)Z[te]=q[te];return Z}function f(V){var q="[A-Za-z]",Z="[\\x0D]",te="[0-9]",ie="[\\x22]",ye=r(te,"[A-Fa-f]"),_e="[\\x0A]",Be="[\\x20]",Ge=e(e("%[EFef]"+ye+"%"+ye+ye+"%"+ye+ye)+"|"+e("%[89A-Fa-f]"+ye+"%"+ye+ye)+"|"+e("%"+ye+ye)),kt="[\\:\\/\\?\\#\\[\\]\\@]",De="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",st=r(kt,De),yt=V?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ct=V?"[\\uE000-\\uF8FF]":"[]",Ke=r(q,te,"[\\-\\.\\_\\~]",yt),ft=e(q+r(q,te,"[\\+\\-\\.]")+"*"),tt=e(e(Ge+"|"+r(Ke,De,"[\\:]"))+"*"),tn=e(e("25[0-5]")+"|"+e("2[0-4]"+te)+"|"+e("1"+te+te)+"|"+e("[1-9]"+te)+"|"+te),zt=e(e("25[0-5]")+"|"+e("2[0-4]"+te)+"|"+e("1"+te+te)+"|"+e("0?[1-9]"+te)+"|0?0?"+te),tr=e(zt+"\\."+zt+"\\."+zt+"\\."+zt),ot=e(ye+"{1,4}"),Vt=e(e(ot+"\\:"+ot)+"|"+tr),Wt=e(e(ot+"\\:")+"{6}"+Vt),Er=e("\\:\\:"+e(ot+"\\:")+"{5}"+Vt),rn=e(e(ot)+"?\\:\\:"+e(ot+"\\:")+"{4}"+Vt),_r=e(e(e(ot+"\\:")+"{0,1}"+ot)+"?\\:\\:"+e(ot+"\\:")+"{3}"+Vt),yn=e(e(e(ot+"\\:")+"{0,2}"+ot)+"?\\:\\:"+e(ot+"\\:")+"{2}"+Vt),qn=e(e(e(ot+"\\:")+"{0,3}"+ot)+"?\\:\\:"+ot+"\\:"+Vt),Dn=e(e(e(ot+"\\:")+"{0,4}"+ot)+"?\\:\\:"+Vt),rr=e(e(e(ot+"\\:")+"{0,5}"+ot)+"?\\:\\:"+ot),Sr=e(e(e(ot+"\\:")+"{0,6}"+ot)+"?\\:\\:"),Jt=e([Wt,Er,rn,_r,yn,qn,Dn,rr,Sr].join("|")),Mr=e(e(Ke+"|"+Ge)+"+"),Un=e(Jt+"\\%25"+Mr),zr=e(Jt+e("\\%25|\\%(?!"+ye+"{2})")+Mr),i=e("[vV]"+ye+"+\\."+r(Ke,De,"[\\:]")+"+"),fe=e("\\["+e(zr+"|"+Jt+"|"+i)+"\\]"),$n=e(e(Ge+"|"+r(Ke,De))+"*"),Ft=e(fe+"|"+tr+"(?!"+$n+")|"+$n),nn=e(te+"*"),x=e(e(tt+"@")+"?"+Ft+e("\\:"+nn)+"?"),Vr=e(Ge+"|"+r(Ke,De,"[\\:\\@]")),bn=e(Vr+"*"),Bi=e(Vr+"+"),ho=e(e(Ge+"|"+r(Ke,De,"[\\@]"))+"+"),Ur=e(e("\\/"+bn)+"*"),Me=e("\\/"+e(Bi+Ur)+"?"),yr=e(ho+Ur),Hn=e(Bi+Ur),wn="(?!"+Vr+")",bs=e(Ur+"|"+Me+"|"+yr+"|"+Hn+"|"+wn),Hr=e(e(Vr+"|"+r("[\\/\\?]",ct))+"*"),Pr=e(e(Vr+"|[\\/\\?]")+"*"),K=e(e("\\/\\/"+x+Ur)+"|"+Me+"|"+Hn+"|"+wn),ws=e(ft+"\\:"+K+e("\\?"+Hr)+"?"+e("\\#"+Pr)+"?"),fi=e(e("\\/\\/"+x+Ur)+"|"+Me+"|"+yr+"|"+wn),Mi=e(fi+e("\\?"+Hr)+"?"+e("\\#"+Pr)+"?"),Gn=e(ws+"|"+Mi),go=e(ft+"\\:"+K+e("\\?"+Hr)+"?"),Ta="^("+ft+")\\:"+e(e("\\/\\/("+e("("+tt+")@")+"?("+Ft+")"+e("\\:("+nn+")")+"?)")+"?("+Ur+"|"+Me+"|"+Hn+"|"+wn+")")+e("\\?("+Hr+")")+"?"+e("\\#("+Pr+")")+"?$",zi="^(){0}"+e(e("\\/\\/("+e("("+tt+")@")+"?("+Ft+")"+e("\\:("+nn+")")+"?)")+"?("+Ur+"|"+Me+"|"+yr+"|"+wn+")")+e("\\?("+Hr+")")+"?"+e("\\#("+Pr+")")+"?$",sn="^("+ft+")\\:"+e(e("\\/\\/("+e("("+tt+")@")+"?("+Ft+")"+e("\\:("+nn+")")+"?)")+"?("+Ur+"|"+Me+"|"+Hn+"|"+wn+")")+e("\\?("+Hr+")")+"?$",ks="^"+e("\\#("+Pr+")")+"?$",vs="^"+e("("+tt+")@")+"?("+Ft+")"+e("\\:("+nn+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",q,te,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",Ke,De),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",Ke,De),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",Ke,De),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",Ke,De),"g"),NOT_QUERY:new RegExp(r("[^\\%]",Ke,De,"[\\:\\@\\/\\?]",ct),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",Ke,De,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",Ke,De),"g"),UNRESERVED:new RegExp(Ke,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",Ke,st),"g"),PCT_ENCODED:new RegExp(Ge,"g"),IPV4ADDRESS:new RegExp("^("+tr+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Jt+")"+e(e("\\%25|\\%(?!"+ye+"{2})")+"("+Mr+")")+"?\\]?$")}}var c=f(!1),h=f(!0),m=function(){function V(q,Z){var te=[],ie=!0,ye=!1,_e=void 0;try{for(var Be=q[Symbol.iterator](),Ge;!(ie=(Ge=Be.next()).done)&&(te.push(Ge.value),!(Z&&te.length===Z));ie=!0);}catch(kt){ye=!0,_e=kt}finally{try{!ie&&Be.return&&Be.return()}finally{if(ye)throw _e}}return te}return function(q,Z){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return V(q,Z);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b=function(V){if(Array.isArray(V)){for(var q=0,Z=Array(V.length);q<V.length;q++)Z[q]=V[q];return Z}else return Array.from(V)},C=2147483647,A=36,E=1,O=26,D=38,M=700,X=72,le=128,we="-",ge=/^xn--/,ee=/[^\0-\x7E]/,me=/[\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"},ve=A-E,Le=Math.floor,Pe=String.fromCharCode;function Te(V){throw new RangeError(xe[V])}function he(V,q){for(var Z=[],te=V.length;te--;)Z[te]=q(V[te]);return Z}function Se(V,q){var Z=V.split("@"),te="";Z.length>1&&(te=Z[0]+"@",V=Z[1]),V=V.replace(me,".");var ie=V.split("."),ye=he(ie,q).join(".");return te+ye}function Je(V){for(var q=[],Z=0,te=V.length;Z<te;){var ie=V.charCodeAt(Z++);if(ie>=55296&&ie<=56319&&Z<te){var ye=V.charCodeAt(Z++);(ye&64512)==56320?q.push(((ie&1023)<<10)+(ye&1023)+65536):(q.push(ie),Z--)}else q.push(ie)}return q}var re=function(q){return String.fromCodePoint.apply(String,b(q))},wt=function(q){return q-48<10?q-22:q-65<26?q-65:q-97<26?q-97:A},Ye=function(q,Z){return q+22+75*(q<26)-((Z!=0)<<5)},vt=function(q,Z,te){var ie=0;for(q=te?Le(q/M):q>>1,q+=Le(q/Z);q>ve*O>>1;ie+=A)q=Le(q/ve);return Le(ie+(ve+1)*q/(q+D))},lt=function(q){var Z=[],te=q.length,ie=0,ye=le,_e=X,Be=q.lastIndexOf(we);Be<0&&(Be=0);for(var Ge=0;Ge<Be;++Ge)q.charCodeAt(Ge)>=128&&Te("not-basic"),Z.push(q.charCodeAt(Ge));for(var kt=Be>0?Be+1:0;kt<te;){for(var De=ie,st=1,yt=A;;yt+=A){kt>=te&&Te("invalid-input");var ct=wt(q.charCodeAt(kt++));(ct>=A||ct>Le((C-ie)/st))&&Te("overflow"),ie+=ct*st;var Ke=yt<=_e?E:yt>=_e+O?O:yt-_e;if(ct<Ke)break;var ft=A-Ke;st>Le(C/ft)&&Te("overflow"),st*=ft}var tt=Z.length+1;_e=vt(ie-De,tt,De==0),Le(ie/tt)>C-ye&&Te("overflow"),ye+=Le(ie/tt),ie%=tt,Z.splice(ie++,0,ye)}return String.fromCodePoint.apply(String,Z)},z=function(q){var Z=[];q=Je(q);var te=q.length,ie=le,ye=0,_e=X,Be=!0,Ge=!1,kt=void 0;try{for(var De=q[Symbol.iterator](),st;!(Be=(st=De.next()).done);Be=!0){var yt=st.value;yt<128&&Z.push(Pe(yt))}}catch(zr){Ge=!0,kt=zr}finally{try{!Be&&De.return&&De.return()}finally{if(Ge)throw kt}}var ct=Z.length,Ke=ct;for(ct&&Z.push(we);Ke<te;){var ft=C,tt=!0,tn=!1,zt=void 0;try{for(var tr=q[Symbol.iterator](),ot;!(tt=(ot=tr.next()).done);tt=!0){var Vt=ot.value;Vt>=ie&&Vt<ft&&(ft=Vt)}}catch(zr){tn=!0,zt=zr}finally{try{!tt&&tr.return&&tr.return()}finally{if(tn)throw zt}}var Wt=Ke+1;ft-ie>Le((C-ye)/Wt)&&Te("overflow"),ye+=(ft-ie)*Wt,ie=ft;var Er=!0,rn=!1,_r=void 0;try{for(var yn=q[Symbol.iterator](),qn;!(Er=(qn=yn.next()).done);Er=!0){var Dn=qn.value;if(Dn<ie&&++ye>C&&Te("overflow"),Dn==ie){for(var rr=ye,Sr=A;;Sr+=A){var Jt=Sr<=_e?E:Sr>=_e+O?O:Sr-_e;if(rr<Jt)break;var Mr=rr-Jt,Un=A-Jt;Z.push(Pe(Ye(Jt+Mr%Un,0))),rr=Le(Mr/Un)}Z.push(Pe(Ye(rr,0))),_e=vt(ye,Wt,Ke==ct),ye=0,++Ke}}}catch(zr){rn=!0,_r=zr}finally{try{!Er&&yn.return&&yn.return()}finally{if(rn)throw _r}}++ye,++ie}return Z.join("")},U=function(q){return Se(q,function(Z){return ge.test(Z)?lt(Z.slice(4).toLowerCase()):Z})},er=function(q){return Se(q,function(Z){return ee.test(Z)?"xn--"+z(Z):Z})},Rt={version:"2.1.0",ucs2:{decode:Je,encode:re},decode:lt,encode:z,toASCII:er,toUnicode:U},At={};function qt(V){var q=V.charCodeAt(0),Z=void 0;return q<16?Z="%0"+q.toString(16).toUpperCase():q<128?Z="%"+q.toString(16).toUpperCase():q<2048?Z="%"+(q>>6|192).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase():Z="%"+(q>>12|224).toString(16).toUpperCase()+"%"+(q>>6&63|128).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase(),Z}function Pt(V){for(var q="",Z=0,te=V.length;Z<te;){var ie=parseInt(V.substr(Z+1,2),16);if(ie<128)q+=String.fromCharCode(ie),Z+=3;else if(ie>=194&&ie<224){if(te-Z>=6){var ye=parseInt(V.substr(Z+4,2),16);q+=String.fromCharCode((ie&31)<<6|ye&63)}else q+=V.substr(Z,6);Z+=6}else if(ie>=224){if(te-Z>=9){var _e=parseInt(V.substr(Z+4,2),16),Be=parseInt(V.substr(Z+7,2),16);q+=String.fromCharCode((ie&15)<<12|(_e&63)<<6|Be&63)}else q+=V.substr(Z,9);Z+=9}else q+=V.substr(Z,3),Z+=3}return q}function ut(V,q){function Z(te){var ie=Pt(te);return ie.match(q.UNRESERVED)?ie:te}return V.scheme&&(V.scheme=String(V.scheme).replace(q.PCT_ENCODED,Z).toLowerCase().replace(q.NOT_SCHEME,"")),V.userinfo!==void 0&&(V.userinfo=String(V.userinfo).replace(q.PCT_ENCODED,Z).replace(q.NOT_USERINFO,qt).replace(q.PCT_ENCODED,s)),V.host!==void 0&&(V.host=String(V.host).replace(q.PCT_ENCODED,Z).toLowerCase().replace(q.NOT_HOST,qt).replace(q.PCT_ENCODED,s)),V.path!==void 0&&(V.path=String(V.path).replace(q.PCT_ENCODED,Z).replace(V.scheme?q.NOT_PATH:q.NOT_PATH_NOSCHEME,qt).replace(q.PCT_ENCODED,s)),V.query!==void 0&&(V.query=String(V.query).replace(q.PCT_ENCODED,Z).replace(q.NOT_QUERY,qt).replace(q.PCT_ENCODED,s)),V.fragment!==void 0&&(V.fragment=String(V.fragment).replace(q.PCT_ENCODED,Z).replace(q.NOT_FRAGMENT,qt).replace(q.PCT_ENCODED,s)),V}function mr(V){return V.replace(/^0*(.*)/,"$1")||"0"}function Kt(V,q){var Z=V.match(q.IPV4ADDRESS)||[],te=m(Z,2),ie=te[1];return ie?ie.split(".").map(mr).join("."):V}function hr(V,q){var Z=V.match(q.IPV6ADDRESS)||[],te=m(Z,3),ie=te[1],ye=te[2];if(ie){for(var _e=ie.toLowerCase().split("::").reverse(),Be=m(_e,2),Ge=Be[0],kt=Be[1],De=kt?kt.split(":").map(mr):[],st=Ge.split(":").map(mr),yt=q.IPV4ADDRESS.test(st[st.length-1]),ct=yt?7:8,Ke=st.length-ct,ft=Array(ct),tt=0;tt<ct;++tt)ft[tt]=De[tt]||st[Ke+tt]||"";yt&&(ft[ct-1]=Kt(ft[ct-1],q));var tn=ft.reduce(function(Wt,Er,rn){if(!Er||Er==="0"){var _r=Wt[Wt.length-1];_r&&_r.index+_r.length===rn?_r.length++:Wt.push({index:rn,length:1})}return Wt},[]),zt=tn.sort(function(Wt,Er){return Er.length-Wt.length})[0],tr=void 0;if(zt&&zt.length>1){var ot=ft.slice(0,zt.index),Vt=ft.slice(zt.index+zt.length);tr=ot.join(":")+"::"+Vt.join(":")}else tr=ft.join(":");return ye&&(tr+="%"+ye),tr}else return V}var Cr=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Ar="".match(/(){0}/)[1]===void 0;function Bt(V){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z={},te=q.iri!==!1?h:c;q.reference==="suffix"&&(V=(q.scheme?q.scheme+":":"")+"//"+V);var ie=V.match(Cr);if(ie){Ar?(Z.scheme=ie[1],Z.userinfo=ie[3],Z.host=ie[4],Z.port=parseInt(ie[5],10),Z.path=ie[6]||"",Z.query=ie[7],Z.fragment=ie[8],isNaN(Z.port)&&(Z.port=ie[5])):(Z.scheme=ie[1]||void 0,Z.userinfo=V.indexOf("@")!==-1?ie[3]:void 0,Z.host=V.indexOf("//")!==-1?ie[4]:void 0,Z.port=parseInt(ie[5],10),Z.path=ie[6]||"",Z.query=V.indexOf("?")!==-1?ie[7]:void 0,Z.fragment=V.indexOf("#")!==-1?ie[8]:void 0,isNaN(Z.port)&&(Z.port=V.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ie[4]:void 0)),Z.host&&(Z.host=hr(Kt(Z.host,te),te)),Z.scheme===void 0&&Z.userinfo===void 0&&Z.host===void 0&&Z.port===void 0&&!Z.path&&Z.query===void 0?Z.reference="same-document":Z.scheme===void 0?Z.reference="relative":Z.fragment===void 0?Z.reference="absolute":Z.reference="uri",q.reference&&q.reference!=="suffix"&&q.reference!==Z.reference&&(Z.error=Z.error||"URI is not a "+q.reference+" reference.");var ye=At[(q.scheme||Z.scheme||"").toLowerCase()];if(!q.unicodeSupport&&(!ye||!ye.unicodeSupport)){if(Z.host&&(q.domainHost||ye&&ye.domainHost))try{Z.host=Rt.toASCII(Z.host.replace(te.PCT_ENCODED,Pt).toLowerCase())}catch(_e){Z.error=Z.error||"Host's domain name can not be converted to ASCII via punycode: "+_e}ut(Z,c)}else ut(Z,te);ye&&ye.parse&&ye.parse(Z,q)}else Z.error=Z.error||"URI can not be parsed.";return Z}function Mn(V,q){var Z=q.iri!==!1?h:c,te=[];return V.userinfo!==void 0&&(te.push(V.userinfo),te.push("@")),V.host!==void 0&&te.push(hr(Kt(String(V.host),Z),Z).replace(Z.IPV6ADDRESS,function(ie,ye,_e){return"["+ye+(_e?"%25"+_e:"")+"]"})),(typeof V.port=="number"||typeof V.port=="string")&&(te.push(":"),te.push(String(V.port))),te.length?te.join(""):void 0}var Ae=/^\.\.?\//,Fn=/^\/\.(\/|$)/,In=/^\/\.\.(\/|$)/,je=/^\/?(?:.|\n)*?(?=\/|$)/;function Fe(V){for(var q=[];V.length;)if(V.match(Ae))V=V.replace(Ae,"");else if(V.match(Fn))V=V.replace(Fn,"/");else if(V.match(In))V=V.replace(In,"/"),q.pop();else if(V==="."||V==="..")V="";else{var Z=V.match(je);if(Z){var te=Z[0];V=V.slice(te.length),q.push(te)}else throw new Error("Unexpected dot segment condition")}return q.join("")}function et(V){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=q.iri?h:c,te=[],ie=At[(q.scheme||V.scheme||"").toLowerCase()];if(ie&&ie.serialize&&ie.serialize(V,q),V.host&&!Z.IPV6ADDRESS.test(V.host)){if(q.domainHost||ie&&ie.domainHost)try{V.host=q.iri?Rt.toUnicode(V.host):Rt.toASCII(V.host.replace(Z.PCT_ENCODED,Pt).toLowerCase())}catch(Be){V.error=V.error||"Host's domain name can not be converted to "+(q.iri?"Unicode":"ASCII")+" via punycode: "+Be}}ut(V,Z),q.reference!=="suffix"&&V.scheme&&(te.push(V.scheme),te.push(":"));var ye=Mn(V,q);if(ye!==void 0&&(q.reference!=="suffix"&&te.push("//"),te.push(ye),V.path&&V.path.charAt(0)!=="/"&&te.push("/")),V.path!==void 0){var _e=V.path;!q.absolutePath&&(!ie||!ie.absolutePath)&&(_e=Fe(_e)),ye===void 0&&(_e=_e.replace(/^\/\//,"/%2F")),te.push(_e)}return V.query!==void 0&&(te.push("?"),te.push(V.query)),V.fragment!==void 0&&(te.push("#"),te.push(V.fragment)),te.join("")}function bt(V,q){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},te=arguments[3],ie={};return te||(V=Bt(et(V,Z),Z),q=Bt(et(q,Z),Z)),Z=Z||{},!Z.tolerant&&q.scheme?(ie.scheme=q.scheme,ie.userinfo=q.userinfo,ie.host=q.host,ie.port=q.port,ie.path=Fe(q.path||""),ie.query=q.query):(q.userinfo!==void 0||q.host!==void 0||q.port!==void 0?(ie.userinfo=q.userinfo,ie.host=q.host,ie.port=q.port,ie.path=Fe(q.path||""),ie.query=q.query):(q.path?(q.path.charAt(0)==="/"?ie.path=Fe(q.path):((V.userinfo!==void 0||V.host!==void 0||V.port!==void 0)&&!V.path?ie.path="/"+q.path:V.path?ie.path=V.path.slice(0,V.path.lastIndexOf("/")+1)+q.path:ie.path=q.path,ie.path=Fe(ie.path)),ie.query=q.query):(ie.path=V.path,q.query!==void 0?ie.query=q.query:ie.query=V.query),ie.userinfo=V.userinfo,ie.host=V.host,ie.port=V.port),ie.scheme=V.scheme),ie.fragment=q.fragment,ie}function Xr(V,q,Z){var te=l({scheme:"null"},Z);return et(bt(Bt(V,te),Bt(q,te),te,!0),te)}function Re(V,q){return typeof V=="string"?V=et(Bt(V,q),q):n(V)==="object"&&(V=Bt(et(V,q),q)),V}function qe(V,q,Z){return typeof V=="string"?V=et(Bt(V,Z),Z):n(V)==="object"&&(V=et(V,Z)),typeof q=="string"?q=et(Bt(q,Z),Z):n(q)==="object"&&(q=et(q,Z)),V===q}function ht(V,q){return V&&V.toString().replace(!q||!q.iri?c.ESCAPE:h.ESCAPE,qt)}function Ze(V,q){return V&&V.toString().replace(!q||!q.iri?c.PCT_ENCODED:h.PCT_ENCODED,Pt)}var se={scheme:"http",domainHost:!0,parse:function(q,Z){return q.host||(q.error=q.error||"HTTP URIs must have a host."),q},serialize:function(q,Z){var te=String(q.scheme).toLowerCase()==="https";return(q.port===(te?443:80)||q.port==="")&&(q.port=void 0),q.path||(q.path="/"),q}},pe={scheme:"https",domainHost:se.domainHost,parse:se.parse,serialize:se.serialize};function ke(V){return typeof V.secure=="boolean"?V.secure:String(V.scheme).toLowerCase()==="wss"}var Ee={scheme:"ws",domainHost:!0,parse:function(q,Z){var te=q;return te.secure=ke(te),te.resourceName=(te.path||"/")+(te.query?"?"+te.query:""),te.path=void 0,te.query=void 0,te},serialize:function(q,Z){if((q.port===(ke(q)?443:80)||q.port==="")&&(q.port=void 0),typeof q.secure=="boolean"&&(q.scheme=q.secure?"wss":"ws",q.secure=void 0),q.resourceName){var te=q.resourceName.split("?"),ie=m(te,2),ye=ie[0],_e=ie[1];q.path=ye&&ye!=="/"?ye:void 0,q.query=_e,q.resourceName=void 0}return q.fragment=void 0,q}},Mt={scheme:"wss",domainHost:Ee.domainHost,parse:Ee.parse,serialize:Ee.serialize},Yr={},it=!0,xt="[A-Za-z0-9\\-\\.\\_\\~"+(it?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Tt="[0-9A-Fa-f]",en=e(e("%[EFef]"+Tt+"%"+Tt+Tt+"%"+Tt+Tt)+"|"+e("%[89A-Fa-f]"+Tt+"%"+Tt+Tt)+"|"+e("%"+Tt+Tt)),gt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",On="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",gr=r(On,'[\\"\\\\]'),mn="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",hn=new RegExp(xt,"g"),gn=new RegExp(en,"g"),oi=new RegExp(r("[^]",gt,"[\\.]",'[\\"]',gr),"g"),Rn=new RegExp(r("[^]",xt,mn),"g"),Li=Rn;function zn(V){var q=Pt(V);return q.match(hn)?q:V}var ai={scheme:"mailto",parse:function(q,Z){var te=q,ie=te.to=te.path?te.path.split(","):[];if(te.path=void 0,te.query){for(var ye=!1,_e={},Be=te.query.split("&"),Ge=0,kt=Be.length;Ge<kt;++Ge){var De=Be[Ge].split("=");switch(De[0]){case"to":for(var st=De[1].split(","),yt=0,ct=st.length;yt<ct;++yt)ie.push(st[yt]);break;case"subject":te.subject=Ze(De[1],Z);break;case"body":te.body=Ze(De[1],Z);break;default:ye=!0,_e[Ze(De[0],Z)]=Ze(De[1],Z);break}}ye&&(te.headers=_e)}te.query=void 0;for(var Ke=0,ft=ie.length;Ke<ft;++Ke){var tt=ie[Ke].split("@");if(tt[0]=Ze(tt[0]),Z.unicodeSupport)tt[1]=Ze(tt[1],Z).toLowerCase();else try{tt[1]=Rt.toASCII(Ze(tt[1],Z).toLowerCase())}catch(tn){te.error=te.error||"Email address's domain name can not be converted to ASCII via punycode: "+tn}ie[Ke]=tt.join("@")}return te},serialize:function(q,Z){var te=q,ie=o(q.to);if(ie){for(var ye=0,_e=ie.length;ye<_e;++ye){var Be=String(ie[ye]),Ge=Be.lastIndexOf("@"),kt=Be.slice(0,Ge).replace(gn,zn).replace(gn,s).replace(oi,qt),De=Be.slice(Ge+1);try{De=Z.iri?Rt.toUnicode(De):Rt.toASCII(Ze(De,Z).toLowerCase())}catch(Ke){te.error=te.error||"Email address's domain name can not be converted to "+(Z.iri?"Unicode":"ASCII")+" via punycode: "+Ke}ie[ye]=kt+"@"+De}te.path=ie.join(",")}var st=q.headers=q.headers||{};q.subject&&(st.subject=q.subject),q.body&&(st.body=q.body);var yt=[];for(var ct in st)st[ct]!==Yr[ct]&&yt.push(ct.replace(gn,zn).replace(gn,s).replace(Rn,qt)+"="+st[ct].replace(gn,zn).replace(gn,s).replace(Li,qt));return yt.length&&(te.query=yt.join("&")),te}},ji=/^([^\:]+)\:(.*)/,Vn={scheme:"urn",parse:function(q,Z){var te=q.path&&q.path.match(ji),ie=q;if(te){var ye=Z.scheme||ie.scheme||"urn",_e=te[1].toLowerCase(),Be=te[2],Ge=ye+":"+(Z.nid||_e),kt=At[Ge];ie.nid=_e,ie.nss=Be,ie.path=void 0,kt&&(ie=kt.parse(ie,Z))}else ie.error=ie.error||"URN can not be parsed.";return ie},serialize:function(q,Z){var te=Z.scheme||q.scheme||"urn",ie=q.nid,ye=te+":"+(Z.nid||ie),_e=At[ye];_e&&(q=_e.serialize(q,Z));var Be=q,Ge=q.nss;return Be.path=(ie||Z.nid)+":"+Ge,Be}},li=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ui={scheme:"urn:uuid",parse:function(q,Z){var te=q;return te.uuid=te.nss,te.nss=void 0,!Z.tolerant&&(!te.uuid||!te.uuid.match(li))&&(te.error=te.error||"UUID is not valid."),te},serialize:function(q,Z){var te=q;return te.nss=(q.uuid||"").toLowerCase(),te}};At[se.scheme]=se,At[pe.scheme]=pe,At[Ee.scheme]=Ee,At[Mt.scheme]=Mt,At[ai.scheme]=ai,At[Vn.scheme]=Vn,At[ui.scheme]=ui,t.SCHEMES=At,t.pctEncChar=qt,t.pctDecChars=Pt,t.parse=Bt,t.removeDotSegments=Fe,t.serialize=et,t.resolveComponents=bt,t.resolve=Xr,t.normalize=Re,t.equal=qe,t.escapeComponent=ht,t.unescapeComponent=Ze,Object.defineProperty(t,"__esModule",{value:!0})})});var Vs=be(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});Or.getSchemaRefs=Or.resolveUrl=Or.normalizeId=Or._getFullPath=Or.getFullPath=Or.inlineRef=void 0;var uy=_t(),fy=zs(),cy=Sc(),Bo=kl(),py=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function dy(t,r=!0){return typeof t=="boolean"?!0:r===!0?!vl(t):r?Tc(t)<=r:!1}Or.inlineRef=dy;var my=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function vl(t){for(let r in t){if(my.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(vl)||typeof e=="object"&&vl(e))return!0}return!1}function Tc(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!py.has(e)&&(typeof t[e]=="object"&&uy.eachItem(t[e],n=>r+=Tc(n)),r===1/0))return 1/0}return r}function Fc(t="",r){r!==!1&&(t=is(t));let e=Bo.parse(t);return Ic(e)}Or.getFullPath=Fc;function Ic(t){return Bo.serialize(t).split("#")[0]+"#"}Or._getFullPath=Ic;var hy=/#\/?$/;function is(t){return t?t.replace(hy,""):""}Or.normalizeId=is;function gy(t,r){return r=is(r),Bo.resolve(t,r)}Or.resolveUrl=gy;var yy=/^[a-z_][-a-z0-9._]*$/i;function $y(t){if(typeof t=="boolean")return{};let r=is(t.$id),e={"":r},n=Fc(r,!1),s={},o=new Set;return cy(t,{allKeys:!0},(c,h,m,b)=>{if(b===void 0)return;let C=n+h,A=e[b];typeof c.$id=="string"&&(A=E.call(this,c.$id)),O.call(this,c.$anchor),O.call(this,c.$dynamicAnchor),e[h]=A;function E(D){if(D=is(A?Bo.resolve(A,D):D),o.has(D))throw f(D);o.add(D);let M=this.refs[D];return typeof M=="string"&&(M=this.refs[M]),typeof M=="object"?l(c,M.schema,D):D!==is(C)&&(D[0]==="#"?(l(c,s[D],D),s[D]=c):this.refs[D]=C),D}function O(D){if(typeof D=="string"){if(!yy.test(D))throw new Error(`invalid anchor "${D}"`);E.call(this,`#${D}`)}}}),s;function l(c,h,m){if(h!==void 0&&!fy(c,h))throw f(m)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}Or.getSchemaRefs=$y});var Br=be(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.checkStrictMode=En.schemaCxtHasRules=En.subschemaCode=En.validateFunctionCode=void 0;var Dc=uc(),Oc=ns(),Rc=Ac(),We=ze(),Ie=ln(),by=Vs(),Nc=_t();function wy(t){if(jc(t)&&(Bc(t),xl(t))){xy(t);return}Lc(t,()=>Dc.topBoolOrEmptySchema(t))}En.validateFunctionCode=wy;function Lc({gen:t,validateName:r,schema:e,schemaEnv:n,opts:s},o){s.code.es5?t.func(r,We._`${Ie.default.data}, ${Ie.default.valCxt}`,n.$async,()=>{t.code(We._`"use strict"; ${qc(e,s)}`),vy(t,s),t.code(o)}):t.func(r,We._`${Ie.default.data}, ${ky(s)}`,n.$async,()=>t.code(qc(e,s)).code(o))}function ky(t){return We._`{${Ie.default.dataPath}="", ${Ie.default.parentData}, ${Ie.default.parentDataProperty}, ${Ie.default.rootData}=${Ie.default.data}${t.dynamicRef?We._`, ${Ie.default.dynamicAnchors}={}`:We.nil}}={}`}function vy(t,r){t.if(Ie.default.valCxt,()=>{t.var(Ie.default.dataPath,We._`${Ie.default.valCxt}.${Ie.default.dataPath}`),t.var(Ie.default.parentData,We._`${Ie.default.valCxt}.${Ie.default.parentData}`),t.var(Ie.default.parentDataProperty,We._`${Ie.default.valCxt}.${Ie.default.parentDataProperty}`),t.var(Ie.default.rootData,We._`${Ie.default.valCxt}.${Ie.default.rootData}`),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,We._`${Ie.default.valCxt}.${Ie.default.dynamicAnchors}`)},()=>{t.var(Ie.default.dataPath,We._`""`),t.var(Ie.default.parentData,We._`undefined`),t.var(Ie.default.parentDataProperty,We._`undefined`),t.var(Ie.default.rootData,Ie.default.data),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,We._`{}`)})}function xy(t){let{schema:r,opts:e,gen:n}=t;Lc(t,()=>{e.$comment&&r.$comment&&zc(t),Sy(t),n.let(Ie.default.vErrors,null),n.let(Ie.default.errors,0),e.unevaluated&&Cy(t),Mc(t),Fy(t)})}function Cy(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",We._`${e}.evaluated`),r.if(We._`${t.evaluated}.dynamicProps`,()=>r.assign(We._`${t.evaluated}.props`,We._`undefined`)),r.if(We._`${t.evaluated}.dynamicItems`,()=>r.assign(We._`${t.evaluated}.items`,We._`undefined`))}function qc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?We._`/*# sourceURL=${t.$id} */`:We.nil}function Ay(t,r){if(jc(t)&&(Bc(t),xl(t))){Ey(t,r);return}Dc.boolOrEmptySchema(t,r)}En.subschemaCode=Ay;function xl({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}En.schemaCxtHasRules=xl;function jc(t){return typeof t.schema!="boolean"}function Ey(t,r){let{schema:e,gen:n,opts:s}=t;s.$comment&&e.$comment&&zc(t),Py(t),Ty(t);let o=n.const("_errs",Ie.default.errors);Mc(t,o),n.var(r,We._`${o} === ${Ie.default.errors}`)}function Bc(t){Nc.checkUnknownRules(t),_y(t)}function Mc(t,r){if(t.opts.jtd)return Rc.schemaKeywords(t,[],!1,r);let e=Oc.getSchemaTypes(t.schema),n=Oc.coerceAndCheckDataType(t,e);Rc.schemaKeywords(t,e,!n,r)}function _y(t){let{schema:r,errSchemaPath:e,opts:n,self:s}=t;r.$ref&&n.ignoreKeywordsWithRef&&Nc.schemaHasRulesButRef(r,s.RULES)&&s.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function Sy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&Vc(t,"default is ignored in the schema root")}function Py(t){t.schema.$id&&(t.baseId=by.resolveUrl(t.baseId,t.schema.$id))}function Ty(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function zc({gen:t,schemaEnv:r,schema:e,errSchemaPath:n,opts:s}){let o=e.$comment;if(s.$comment===!0)t.code(We._`${Ie.default.self}.logger.log(${o})`);else if(typeof s.$comment=="function"){let l=We.str`${n}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(We._`${Ie.default.self}.opts.$comment(${o}, ${l}, ${f}.schema)`)}}function Fy(t){let{gen:r,schemaEnv:e,validateName:n,ValidationError:s,opts:o}=t;e.$async?r.if(We._`${Ie.default.errors} === 0`,()=>r.return(Ie.default.data),()=>r.throw(We._`new ${s}(${Ie.default.vErrors})`)):(r.assign(We._`${n}.errors`,Ie.default.vErrors),o.unevaluated&&Iy(t),r.return(We._`${Ie.default.errors} === 0`))}function Iy({gen:t,evaluated:r,props:e,items:n}){e instanceof We.Name&&t.assign(We._`${r}.props`,e),n instanceof We.Name&&t.assign(We._`${r}.items`,n)}function Vc(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}En.checkStrictMode=Vc});var _t=be(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.func=rt.setEvaluated=rt.evaluatedPropsToName=rt.mergeEvaluated=rt.eachItem=rt.unescapeJsonPointer=rt.escapeJsonPointer=rt.escapeFragment=rt.unescapeFragment=rt.schemaRefOrVal=rt.schemaHasRulesButRef=rt.schemaHasRules=rt.checkUnknownRules=rt.alwaysValidSchema=rt.toHash=void 0;var It=ze(),Oy=Br();function Ry(t){let r={};for(let e of t)r[e]=!0;return r}rt.toHash=Ry;function qy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(Hc(t,r),!Gc(r,t.self.RULES.all))}rt.alwaysValidSchema=qy;function Hc(t,r=t.schema){let{opts:e,self:n}=t;if(!e.strict||typeof r=="boolean")return;let s=n.RULES.keywords;for(let o in r)s[o]||Oy.checkStrictMode(t,`unknown keyword: "${o}"`)}rt.checkUnknownRules=Hc;function Gc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}rt.schemaHasRules=Gc;function Dy(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}rt.schemaHasRulesButRef=Dy;function Ny({topSchemaRef:t,schemaPath:r},e,n,s){if(!s){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return It._`${e}`}return It._`${t}${r}${It.getProperty(n)}`}rt.schemaRefOrVal=Ny;function Ly(t){return Wc(decodeURIComponent(t))}rt.unescapeFragment=Ly;function jy(t){return encodeURIComponent(Kc(t))}rt.escapeFragment=jy;function Kc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}rt.escapeJsonPointer=Kc;function Wc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}rt.unescapeJsonPointer=Wc;function By(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}rt.eachItem=By;function Uc({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:n}){return(s,o,l,f)=>{let c=l===void 0?o:l instanceof It.Name?(o instanceof It.Name?t(s,o,l):r(s,o,l),l):o instanceof It.Name?(r(s,l,o),o):e(o,l);return f===It.Name&&!(c instanceof It.Name)?n(s,c):c}}rt.mergeEvaluated={props:Uc({mergeNames:(t,r,e)=>t.if(It._`${e} !== true && ${r} !== undefined`,()=>{t.if(It._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,It._`${e} || {}`).code(It._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(It._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,It._`${e} || {}`),Cl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Jc}),items:Uc({mergeNames:(t,r,e)=>t.if(It._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,It._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(It._`${e} !== true`,()=>t.assign(e,r===!0?!0:It._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Jc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",It._`{}`);return r!==void 0&&Cl(t,e,r),e}rt.evaluatedPropsToName=Jc;function Cl(t,r,e){Object.keys(e).forEach(n=>t.assign(It._`${r}${It.getProperty(n)}`,!0))}rt.setEvaluated=Cl;function My(t,r){return t.scopeValue("func",{ref:r,code:r.code})}rt.func=My});var ns=be(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.reportTypeError=Qt.checkDataTypes=Qt.checkDataType=Qt.coerceAndCheckDataType=Qt.getJSONTypes=Qt.getSchemaTypes=Qt.DataType=void 0;var zy=Za(),Vy=Qa(),Uy=Bs(),Oe=ze(),Zc=_t(),Us;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Us=Qt.DataType||(Qt.DataType={}));function Hy(t){let r=Qc(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}Qt.getSchemaTypes=Hy;function Qc(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(zy.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Qt.getJSONTypes=Qc;function Gy(t,r){let{gen:e,data:n,opts:s}=t,o=Ky(r,s.coerceTypes),l=r.length>0&&!(o.length===0&&r.length===1&&Vy.schemaHasRulesForType(t,r[0]));if(l){let f=El(r,n,s.strict,Us.Wrong);e.if(f,()=>{o.length?Wy(t,r,o):_l(t)})}return l}Qt.coerceAndCheckDataType=Gy;var Xc=new Set(["string","number","integer","boolean","null"]);function Ky(t,r){return r?t.filter(e=>Xc.has(e)||r==="array"&&e==="array"):[]}function Wy(t,r,e){let{gen:n,data:s,opts:o}=t,l=n.let("dataType",Oe._`typeof ${s}`),f=n.let("coerced",Oe._`undefined`);o.coerceTypes==="array"&&n.if(Oe._`${l} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,()=>n.assign(s,Oe._`${s}[0]`).assign(l,Oe._`typeof ${s}`).if(El(r,s,o.strict),()=>n.assign(f,s))),n.if(Oe._`${f} !== undefined`);for(let h of e)(Xc.has(h)||h==="array"&&o.coerceTypes==="array")&&c(h);n.else(),_l(t),n.endIf(),n.if(Oe._`${f} !== undefined`,()=>{n.assign(s,f),Jy(t,f)});function c(h){switch(h){case"string":n.elseIf(Oe._`${l} == "number" || ${l} == "boolean"`).assign(f,Oe._`"" + ${s}`).elseIf(Oe._`${s} === null`).assign(f,Oe._`""`);return;case"number":n.elseIf(Oe._`${l} == "boolean" || ${s} === null
1
+ var ig=Object.create;var Ro=Object.defineProperty;var sg=Object.getOwnPropertyDescriptor;var og=Object.getOwnPropertyNames;var ag=Object.getPrototypeOf,lg=Object.prototype.hasOwnProperty;var be=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),uc=(t,r)=>{for(var e in r)Ro(t,e,{get:r[e],enumerable:!0})},fc=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of og(r))!lg.call(t,s)&&s!==e&&Ro(t,s,{get:()=>r[s],enumerable:!(n=sg(r,s))||n.enumerable});return t};var Sr=(t,r,e)=>(e=t!=null?ig(ag(t)):{},fc(r||!t||!t.__esModule?Ro(e,"default",{value:t,enumerable:!0}):e,t)),ug=t=>fc(Ro({},"__esModule",{value:!0}),t);var sl=be(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.getRules=Yi.isJSONType=void 0;var fg=["string","number","integer","boolean","null","object","array"],cg=new Set(fg);function pg(t){return typeof t=="string"&&cg.has(t)}Yi.isJSONType=pg;function dg(){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:{}}}Yi.getRules=dg});var ol=be(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.shouldUseRule=Qn.shouldUseGroup=Qn.schemaHasRulesForType=void 0;function mg({schema:t,self:r},e){let n=r.RULES.types[e];return n&&n!==!0&&cc(t,n)}Qn.schemaHasRulesForType=mg;function cc(t,r){return r.rules.some(e=>pc(t,e))}Qn.shouldUseGroup=cc;function pc(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(n=>t[n]!==void 0))}Qn.shouldUseRule=pc});var qo=be(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.getProperty=dt.safeStringify=dt.stringify=dt.strConcat=dt.addCodeArg=dt.str=dt._=dt.nil=dt._Code=dt.Name=dt.IDENTIFIER=dt._CodeOrName=void 0;var qs=class{};dt._CodeOrName=qs;dt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var yi=class extends qs{constructor(r){if(super(),!dt.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}}};dt.Name=yi;var kn=class extends qs{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,n)=>`${e}${n}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,n)=>(n instanceof yi&&(e[n.str]=(e[n.str]||0)+1),e),{})}};dt._Code=kn;dt.nil=new kn("");function dc(t,...r){let e=[t[0]],n=0;for(;n<r.length;)ll(e,r[n]),e.push(t[++n]);return new kn(e)}dt._=dc;var al=new kn("+");function mc(t,...r){let e=[Ns(t[0])],n=0;for(;n<r.length;)e.push(al),ll(e,r[n]),e.push(al,Ns(t[++n]));return hg(e),new kn(e)}dt.str=mc;function ll(t,r){r instanceof kn?t.push(...r._items):r instanceof yi?t.push(r):t.push(bg(r))}dt.addCodeArg=ll;function hg(t){let r=1;for(;r<t.length-1;){if(t[r]===al){let e=gg(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function gg(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof yi||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 yi))return`"${t}${r.slice(1)}`}function yg(t,r){return r.emptyStr()?t:t.emptyStr()?r:mc`${t}${r}`}dt.strConcat=yg;function bg(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Ns(Array.isArray(t)?t.join(","):t)}function $g(t){return new kn(Ns(t))}dt.stringify=$g;function Ns(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}dt.safeStringify=Ns;function wg(t){return typeof t=="string"&&dt.IDENTIFIER.test(t)?new kn(`.${t}`):dc`[${t}]`}dt.getProperty=wg});var pl=be(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});gr.ValueScope=gr.ValueScopeName=gr.Scope=gr.varKinds=gr.UsedValueState=void 0;var Pr=qo(),ul=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},fl;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(fl=gr.UsedValueState||(gr.UsedValueState={}));gr.varKinds={const:new Pr.Name("const"),let:new Pr.Name("let"),var:new Pr.Name("var")};var No=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof Pr.Name?r:this.name(r)}name(r){return new Pr.Name(this._newName(r))}_newName(r){let e=this._names[r]||this._nameGroup(r);return`${r}${e.index++}`}_nameGroup(r){var e,n;if(((n=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||n===void 0?void 0:n.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}}};gr.Scope=No;var Do=class extends Pr.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:n}){this.value=r,this.scopePath=Pr._`.${new Pr.Name(e)}[${n}]`}};gr.ValueScopeName=Do;var kg=Pr._`\n`,cl=class extends No{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?kg:Pr.nil}}get(){return this._scope}name(r){return new Do(r,this._newName(r))}value(r,e){var n;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let s=this.toName(r),{prefix:o}=s,l=(n=e.key)!==null&&n!==void 0?n:e.ref,f=this._values[o];if(f){let h=f.get(l);if(h)return h}else f=this._values[o]=new Map;f.set(l,s);let c=this._scope[o]||(this._scope[o]=[]),g=c.length;return c[g]=e.ref,s.setValue(e,{property:o,itemIndex:g}),s}getValue(r,e){let n=this._values[r];if(!!n)return n.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return Pr._`${r}${n.scopePath}`})}scopeCode(r=this._values,e,n){return this._reduceValues(r,s=>{if(s.value===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return s.value.code},e,n)}_reduceValues(r,e,n={},s){let o=Pr.nil;for(let l in r){let f=r[l];if(!f)continue;let c=n[l]=n[l]||new Map;f.forEach(g=>{if(c.has(g))return;c.set(g,fl.Started);let h=e(g);if(h){let $=this.opts.es5?gr.varKinds.var:gr.varKinds.const;o=Pr._`${o}${$} ${g} = ${h};${this.opts._n}`}else if(h=s==null?void 0:s(g))o=Pr._`${o}${h}${this.opts._n}`;else throw new ul(g);c.set(g,fl.Completed)})}return o}};gr.ValueScope=cl});var ze=be(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.or=Ue.and=Ue.not=Ue.CodeGen=Ue.operators=Ue.varKinds=Ue.ValueScopeName=Ue.ValueScope=Ue.Scope=Ue.Name=Ue.stringify=Ue.getProperty=Ue.nil=Ue.strConcat=Ue.str=Ue._=void 0;var Ze=qo(),on=pl(),wi=qo();Object.defineProperty(Ue,"_",{enumerable:!0,get:function(){return wi._}});Object.defineProperty(Ue,"str",{enumerable:!0,get:function(){return wi.str}});Object.defineProperty(Ue,"strConcat",{enumerable:!0,get:function(){return wi.strConcat}});Object.defineProperty(Ue,"nil",{enumerable:!0,get:function(){return wi.nil}});Object.defineProperty(Ue,"getProperty",{enumerable:!0,get:function(){return wi.getProperty}});Object.defineProperty(Ue,"stringify",{enumerable:!0,get:function(){return wi.stringify}});Object.defineProperty(Ue,"Name",{enumerable:!0,get:function(){return wi.Name}});var Mo=pl();Object.defineProperty(Ue,"Scope",{enumerable:!0,get:function(){return Mo.Scope}});Object.defineProperty(Ue,"ValueScope",{enumerable:!0,get:function(){return Mo.ValueScope}});Object.defineProperty(Ue,"ValueScopeName",{enumerable:!0,get:function(){return Mo.ValueScopeName}});Object.defineProperty(Ue,"varKinds",{enumerable:!0,get:function(){return Mo.varKinds}});Ue.operators={GT:new Ze._Code(">"),GTE:new Ze._Code(">="),LT:new Ze._Code("<"),LTE:new Ze._Code("<="),EQ:new Ze._Code("==="),NEQ:new Ze._Code("!=="),NOT:new Ze._Code("!"),OR:new Ze._Code("||"),AND:new Ze._Code("&&"),ADD:new Ze._Code("+")};var Mn=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},dl=class extends Mn{constructor(r,e,n){super(),this.varKind=r,this.name=e,this.rhs=n}render({es5:r,_n:e}){let n=r?on.varKinds.var:this.varKind,s=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${s};`+e}optimizeNames(r,e){if(!!r[this.name.str])return this.rhs&&(this.rhs=ts(this.rhs,r,e)),this}get names(){return this.rhs instanceof Ze._CodeOrName?this.rhs.names:{}}},Lo=class extends Mn{constructor(r,e,n){super(),this.lhs=r,this.rhs=e,this.sideEffects=n}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Ze.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=ts(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Ze.Name?{}:{...this.lhs.names};return Bo(r,this.rhs)}},ml=class extends Lo{constructor(r,e,n,s){super(r,n,s),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},hl=class extends Mn{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},gl=class extends Mn{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},yl=class extends Mn{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},bl=class extends Mn{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=ts(this.code,r,e),this}get names(){return this.code instanceof Ze._CodeOrName?this.code.names:{}}},Ds=class extends Mn{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,n)=>e+n.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let n=r[e].optimizeNodes();Array.isArray(n)?r.splice(e,1,...n):n?r[e]=n:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:n}=this,s=n.length;for(;s--;){let o=n[s];o.optimizeNames(r,e)||(vg(r,o.names),n.splice(s,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>$i(r,e.names),{})}},zn=class extends Ds{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},$l=class extends Ds{},es=class extends zn{};es.kind="else";var an=class extends zn{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 n=e.optimizeNodes();e=this.else=Array.isArray(n)?new es(n):n}if(e)return r===!1?e instanceof an?e:e.nodes:this.nodes.length?this:new an(hc(r),e instanceof an?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(r,e),!!(super.optimizeNames(r,e)||this.else))return this.condition=ts(this.condition,r,e),this}get names(){let r=super.names;return Bo(r,this.condition),this.else&&$i(r,this.else.names),r}};an.kind="if";var bi=class extends zn{};bi.kind="for";var wl=class extends bi{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=ts(this.iteration,r,e),this}get names(){return $i(super.names,this.iteration.names)}},kl=class extends bi{constructor(r,e,n,s){super(),this.varKind=r,this.name=e,this.from=n,this.to=s}render(r){let e=r.es5?on.varKinds.var:this.varKind,{name:n,from:s,to:o}=this;return`for(${e} ${n}=${s}; ${n}<${o}; ${n}++)`+super.render(r)}get names(){let r=Bo(super.names,this.from);return Bo(r,this.to)}},jo=class extends bi{constructor(r,e,n,s){super(),this.loop=r,this.varKind=e,this.name=n,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=ts(this.iterable,r,e),this}get names(){return $i(super.names,this.iterable.names)}},Ls=class extends zn{constructor(r,e,n){super(),this.name=r,this.args=e,this.async=n}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};Ls.kind="func";var js=class extends Ds{render(r){return"return "+super.render(r)}};js.kind="return";var vl=class extends zn{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 n,s;return super.optimizeNames(r,e),(n=this.catch)===null||n===void 0||n.optimizeNames(r,e),(s=this.finally)===null||s===void 0||s.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&$i(r,this.catch.names),this.finally&&$i(r,this.finally.names),r}},Bs=class extends zn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};Bs.kind="catch";var Ms=class extends zn{render(r){return"finally"+super.render(r)}};Ms.kind="finally";var xl=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
+ `:""},this._extScope=r,this._scope=new on.Scope({parent:r}),this._nodes=[new $l]}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 n=this._extScope.value(r,e);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}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,n,s){let o=this._scope.toName(e);return n!==void 0&&s&&(this._constants[o.str]=n),this._leafNode(new dl(r,o,n)),o}const(r,e,n){return this._def(on.varKinds.const,r,e,n)}let(r,e,n){return this._def(on.varKinds.let,r,e,n)}var(r,e,n){return this._def(on.varKinds.var,r,e,n)}assign(r,e,n){return this._leafNode(new Lo(r,e,n))}add(r,e){return this._leafNode(new ml(r,Ue.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Ze.nil&&this._leafNode(new bl(r)),this}object(...r){let e=["{"];for(let[n,s]of r)e.length>1&&e.push(","),e.push(n),(n!==s||this.opts.es5)&&(e.push(":"),Ze.addCodeArg(e,s));return e.push("}"),new Ze._Code(e)}if(r,e,n){if(this._blockNode(new an(r)),e&&n)this.code(e).else().code(n).endIf();else if(e)this.code(e).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(r){return this._elseNode(new an(r))}else(){return this._elseNode(new es)}endIf(){return this._endBlockNode(an,es)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new wl(r),e)}forRange(r,e,n,s,o=this.opts.es5?on.varKinds.var:on.varKinds.let){let l=this._scope.toName(r);return this._for(new kl(o,l,e,n),()=>s(l))}forOf(r,e,n,s=on.varKinds.const){let o=this._scope.toName(r);if(this.opts.es5){let l=e instanceof Ze.Name?e:this.var("_arr",e);return this.forRange("_i",0,Ze._`${l}.length`,f=>{this.var(o,Ze._`${l}[${f}]`),n(o)})}return this._for(new jo("of",s,o,e),()=>n(o))}forIn(r,e,n,s=this.opts.es5?on.varKinds.var:on.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Ze._`Object.keys(${e})`,n);let o=this._scope.toName(r);return this._for(new jo("in",s,o,e),()=>n(o))}endFor(){return this._endBlockNode(bi)}label(r){return this._leafNode(new hl(r))}break(r){return this._leafNode(new gl(r))}return(r){let e=new js;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(js)}try(r,e,n){if(!e&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let s=new vl;if(this._blockNode(s),this.code(r),e){let o=this.name("e");this._currNode=s.catch=new Bs(o),e(o)}return n&&(this._currNode=s.finally=new Ms,this.code(n)),this._endBlockNode(Bs,Ms)}throw(r){return this._leafNode(new yl(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 n=this._nodes.length-e;if(n<0||r!==void 0&&n!==r)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Ze.nil,n,s){return this._blockNode(new Ls(r,e,n)),s&&this.code(s).endFunc(),this}endFunc(){return this._endBlockNode(Ls)}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 n=this._currNode;if(n instanceof r||e&&n 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 an))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}};Ue.CodeGen=xl;function $i(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function Bo(t,r){return r instanceof Ze._CodeOrName?$i(t,r.names):t}function ts(t,r,e){if(t instanceof Ze.Name)return n(t);if(!s(t))return t;return new Ze._Code(t._items.reduce((o,l)=>(l instanceof Ze.Name&&(l=n(l)),l instanceof Ze._Code?o.push(...l._items):o.push(l),o),[]));function n(o){let l=e[o.str];return l===void 0||r[o.str]!==1?o:(delete r[o.str],l)}function s(o){return o instanceof Ze._Code&&o._items.some(l=>l instanceof Ze.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function vg(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function hc(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Ze._`!${Cl(t)}`}Ue.not=hc;var xg=gc(Ue.operators.AND);function Cg(...t){return t.reduce(xg)}Ue.and=Cg;var Ag=gc(Ue.operators.OR);function Eg(...t){return t.reduce(Ag)}Ue.or=Eg;function gc(t){return(r,e)=>r===Ze.nil?e:e===Ze.nil?r:Ze._`${Cl(r)} ${t} ${Cl(e)}`}function Cl(t){return t instanceof Ze.Name?t:Ze._`(${t})`}});var ln=be(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});var ir=ze(),_g={data:new ir.Name("data"),valCxt:new ir.Name("valCxt"),dataPath:new ir.Name("dataPath"),parentData:new ir.Name("parentData"),parentDataProperty:new ir.Name("parentDataProperty"),rootData:new ir.Name("rootData"),dynamicAnchors:new ir.Name("dynamicAnchors"),vErrors:new ir.Name("vErrors"),errors:new ir.Name("errors"),this:new ir.Name("this"),self:new ir.Name("self"),scope:new ir.Name("scope"),json:new ir.Name("json"),jsonPos:new ir.Name("jsonPos"),jsonLen:new ir.Name("jsonLen"),jsonPart:new ir.Name("jsonPart")};Al.default=_g});var zs=be(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.extendErrors=sr.resetErrorsCount=sr.reportExtraError=sr.reportError=sr.keyword$DataError=sr.keywordError=void 0;var Je=ze(),or=ln();sr.keywordError={message:({keyword:t})=>Je.str`should pass "${t}" keyword validation`};sr.keyword$DataError={message:({keyword:t,schemaType:r})=>r?Je.str`"${t}" keyword must be ${r} ($data)`:Je.str`"${t}" keyword is invalid ($data)`};function Sg(t,r=sr.keywordError,e){let{it:n}=t,{gen:s,compositeRule:o,allErrors:l}=n,f=$c(t,r);e??(o||l)?yc(s,f):bc(n,Je._`[${f}]`)}sr.reportError=Sg;function Pg(t,r=sr.keywordError){let{it:e}=t,{gen:n,compositeRule:s,allErrors:o}=e,l=$c(t,r);yc(n,l),s||o||bc(e,or.default.vErrors)}sr.reportExtraError=Pg;function Tg(t,r){t.assign(or.default.errors,r),t.if(Je._`${or.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(Je._`${or.default.vErrors}.length`,r),()=>t.assign(or.default.vErrors,null)))}sr.resetErrorsCount=Tg;function Fg({gen:t,keyword:r,schemaValue:e,data:n,errsCount:s,it:o}){if(s===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",s,or.default.errors,f=>{t.const(l,Je._`${or.default.vErrors}[${f}]`),t.if(Je._`${l}.dataPath === undefined`,()=>t.assign(Je._`${l}.dataPath`,Je.strConcat(or.default.dataPath,o.errorPath))),t.assign(Je._`${l}.schemaPath`,Je.str`${o.errSchemaPath}/${r}`),o.opts.verbose&&(t.assign(Je._`${l}.schema`,e),t.assign(Je._`${l}.data`,n))})}sr.extendErrors=Fg;function yc(t,r){let e=t.const("err",r);t.if(Je._`${or.default.vErrors} === null`,()=>t.assign(or.default.vErrors,Je._`[${e}]`),Je._`${or.default.vErrors}.push(${e})`),t.code(Je._`${or.default.errors}++`)}function bc(t,r){let{gen:e,validateName:n,schemaEnv:s}=t;s.$async?e.throw(Je._`new ${t.ValidationError}(${r})`):(e.assign(Je._`${n}.errors`,r),e.return(!1))}var vn={keyword:new Je.Name("keyword"),schemaPath:new Je.Name("schemaPath"),params:new Je.Name("params"),propertyName:new Je.Name("propertyName"),message:new Je.Name("message"),schema:new Je.Name("schema"),parentSchema:new Je.Name("parentSchema"),instancePath:new Je.Name("instancePath")};function $c(t,r){let{createErrors:e,opts:n}=t.it;return e===!1?Je._`{}`:(n.jtd&&!n.ajvErrors?Ig:Og)(t,r)}function Ig(t,{message:r}){let{gen:e,keyword:n,it:s}=t,{errorPath:o,errSchemaPath:l,opts:f}=s,c=[[vn.instancePath,Je.strConcat(or.default.dataPath,o)],[vn.schemaPath,Je.str`${l}/${n}`]];return f.messages&&c.push([vn.message,typeof r=="function"?r(t):r]),e.object(...c)}function Og(t,r){let{gen:e,keyword:n,data:s,schemaValue:o,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:g,errSchemaPath:h,propertyName:$,opts:k}=l,{params:x,message:A}=r,I=[[vn.keyword,n],[or.default.dataPath,Je.strConcat(or.default.dataPath,g)],[vn.schemaPath,Je.str`${h}/${n}`],[vn.params,typeof x=="function"?x(t):x||Je._`{}`]];return $&&I.push([vn.propertyName,$]),k.messages&&I.push([vn.message,typeof A=="function"?A(t):A]),k.verbose&&I.push([vn.schema,o],[vn.parentSchema,Je._`${f}${c}`],[or.default.data,s]),e.object(...I)}});var kc=be(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.boolOrEmptySchema=rs.topBoolOrEmptySchema=void 0;var Rg=zs(),qg=ze(),Ng=ln(),Dg={message:"boolean schema is false"};function Lg(t){let{gen:r,schema:e,validateName:n}=t;e===!1?wc(t,!1):typeof e=="object"&&e.$async===!0?r.return(Ng.default.data):(r.assign(qg._`${n}.errors`,null),r.return(!0))}rs.topBoolOrEmptySchema=Lg;function jg(t,r){let{gen:e,schema:n}=t;n===!1?(e.var(r,!1),wc(t)):e.var(r,!0)}rs.boolOrEmptySchema=jg;function wc(t,r){let{gen:e,data:n}=t,s={gen:e,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};Rg.reportError(s,Dg,r)}});var xc=be(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.assignDefaults=void 0;var ns=ze(),Bg=Br();function Mg(t,r){let{properties:e,items:n}=t.schema;if(r==="object"&&e)for(let s in e)vc(t,s,e[s].default);else r==="array"&&Array.isArray(n)&&n.forEach((s,o)=>vc(t,o,s.default))}zo.assignDefaults=Mg;function vc(t,r,e){let{gen:n,compositeRule:s,data:o,opts:l}=t;if(e===void 0)return;let f=ns._`${o}${ns.getProperty(r)}`;if(s){Bg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=ns._`${f} === undefined`;l.useDefaults==="empty"&&(c=ns._`${c} || ${f} === null || ${f} === ""`),n.if(c,ns._`${f} = ${ns.stringify(e)}`)}});var vi=be(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.applySubschema=ki.Type=void 0;var zg=Br(),Cc=_t(),ar=ze(),Ac;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(Ac=ki.Type||(ki.Type={}));function Vg(t,r,e){let n=Ug(t,r);Hg(n,t,r),Gg(n,r);let s={...t,...n,items:void 0,props:void 0};return zg.subschemaCode(s,e),s}ki.applySubschema=Vg;function Ug(t,{keyword:r,schemaProp:e,schema:n,schemaPath:s,errSchemaPath:o,topSchemaRef:l}){if(r!==void 0&&n!==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:ar._`${t.schemaPath}${ar.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:ar._`${t.schemaPath}${ar.getProperty(r)}${ar.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${Cc.escapeFragment(e)}`}}if(n!==void 0){if(s===void 0||o===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:s,topSchemaRef:l,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}function Hg(t,r,{dataProp:e,dataPropType:n,data:s,dataTypes:o,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:g,dataPathArr:h,opts:$}=r,k=f.let("data",ar._`${r.data}${ar.getProperty(e)}`,!0);c(k),t.errorPath=ar.str`${g}${Kg(e,n,$.jsPropertySyntax)}`,t.parentDataProperty=ar._`${e}`,t.dataPathArr=[...h,t.parentDataProperty]}if(s!==void 0){let g=s instanceof ar.Name?s:f.let("data",s,!0);c(g),l!==void 0&&(t.propertyName=l)}o&&(t.dataTypes=o);function c(g){t.data=g,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,g]}}function Gg(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:n,createErrors:s,allErrors:o}){n!==void 0&&(t.compositeRule=n),s!==void 0&&(t.createErrors=s),o!==void 0&&(t.allErrors=o),t.jtdDiscriminator=r,t.jtdMetadata=e}function Kg(t,r,e){if(t instanceof ar.Name){let n=r===Ac.Num;return e?n?ar._`"[" + ${t} + "]"`:ar._`"['" + ${t} + "']"`:n?ar._`"/" + ${t}`:ar._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?ar.getProperty(t).toString():"/"+Cc.escapeJsonPointer(t)}});var un=be(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.validateUnion=mt.validateArray=mt.usePattern=mt.callValidateCode=mt.schemaProperties=mt.allSchemaProperties=mt.noPropertyInData=mt.propertyInData=mt.isOwnProperty=mt.hasPropFunc=mt.reportMissingProp=mt.checkMissingProp=mt.checkReportMissingProp=void 0;var xt=ze(),Ec=_t(),Wg=vi(),Xn=ln();function Zg(t,r){let{gen:e,data:n,it:s}=t;e.if(_l(e,n,r,s.opts.ownProperties),()=>{t.setParams({missingProperty:xt._`${r}`},!0),t.error()})}mt.checkReportMissingProp=Zg;function Jg({gen:t,data:r,it:{opts:e}},n,s){return xt.or(...n.map(o=>xt.and(_l(t,r,o,e.ownProperties),xt._`${s} = ${o}`)))}mt.checkMissingProp=Jg;function Qg(t,r){t.setParams({missingProperty:r},!0),t.error()}mt.reportMissingProp=Qg;function _c(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:xt._`Object.prototype.hasOwnProperty`})}mt.hasPropFunc=_c;function El(t,r,e){return xt._`${_c(t)}.call(${r}, ${e})`}mt.isOwnProperty=El;function Xg(t,r,e,n){let s=xt._`${r}${xt.getProperty(e)} !== undefined`;return n?xt._`${s} && ${El(t,r,e)}`:s}mt.propertyInData=Xg;function _l(t,r,e,n){let s=xt._`${r}${xt.getProperty(e)} === undefined`;return n?xt.or(s,xt.not(El(t,r,e))):s}mt.noPropertyInData=_l;function Sc(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}mt.allSchemaProperties=Sc;function Yg(t,r){return Sc(r).filter(e=>!Ec.alwaysValidSchema(t,r[e]))}mt.schemaProperties=Yg;function ey({schemaCode:t,data:r,it:{gen:e,topSchemaRef:n,schemaPath:s,errorPath:o},it:l},f,c,g){let h=g?xt._`${t}, ${r}, ${n}${s}`:r,$=[[Xn.default.dataPath,xt.strConcat(Xn.default.dataPath,o)],[Xn.default.parentData,l.parentData],[Xn.default.parentDataProperty,l.parentDataProperty],[Xn.default.rootData,Xn.default.rootData]];l.opts.dynamicRef&&$.push([Xn.default.dynamicAnchors,Xn.default.dynamicAnchors]);let k=xt._`${h}, ${e.object(...$)}`;return c!==xt.nil?xt._`${f}.call(${c}, ${k})`:xt._`${f}(${k})`}mt.callValidateCode=ey;function ty(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:xt._`new RegExp(${r}, "u")`})}mt.usePattern=ty;function ry(t){let{gen:r,data:e,keyword:n,it:s}=t,o=r.name("valid");if(s.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(o,!0),l(()=>r.break()),o;function l(f){let c=r.const("len",xt._`${e}.length`);r.forRange("i",0,c,g=>{t.subschema({keyword:n,dataProp:g,dataPropType:Wg.Type.Num},o),r.if(xt.not(o),f)})}}mt.validateArray=ry;function ny(t){let{gen:r,schema:e,keyword:n,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>Ec.alwaysValidSchema(s,c))&&!s.opts.unevaluated)return;let l=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((c,g)=>{let h=t.subschema({keyword:n,schemaProp:g,compositeRule:!0},f);r.assign(l,xt._`${l} || ${f}`),t.mergeValidEvaluated(h,f)||r.if(xt.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}mt.validateUnion=ny});var Ic=be(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.keywordCode=void 0;var iy=Vs(),sy=zs(),oy=un(),yr=ze(),xi=ln();function ay(t,r,e,n){let s=new iy.default(t,e,r);"code"in e?e.code(s,n):s.$data&&e.validate?Pc(s,e):"macro"in e?ly(s,e):(e.compile||e.validate)&&Pc(s,e)}Vo.keywordCode=ay;function ly(t,r){let{gen:e,keyword:n,schema:s,parentSchema:o,it:l}=t,f=r.macro.call(l.self,s,o,l),c=Fc(e,n,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let g=e.name("valid");t.subschema({schema:f,schemaPath:yr.nil,errSchemaPath:`${l.errSchemaPath}/${n}`,topSchemaRef:c,compositeRule:!0},g),t.pass(g,()=>t.error(!0))}function Pc(t,r){var e;let{gen:n,keyword:s,schema:o,parentSchema:l,$data:f,it:c}=t;fy(c,r);let g=!f&&r.compile?r.compile.call(c.self,o,l,c):r.validate,h=Fc(n,s,g),$=n.let("valid");t.block$data($,k),t.ok((e=r.valid)!==null&&e!==void 0?e:$);function k(){if(r.errors===!1)I(),r.modifying&&Tc(t),q(()=>t.error());else{let B=r.async?x():A();r.modifying&&Tc(t),q(()=>uy(t,B))}}function x(){let B=n.let("ruleErrs",null);return n.try(()=>I(yr._`await `),X=>n.assign($,!1).if(yr._`${X} instanceof ${c.ValidationError}`,()=>n.assign(B,yr._`${X}.errors`),()=>n.throw(X))),B}function A(){let B=yr._`${h}.errors`;return n.assign(B,null),I(yr.nil),B}function I(B=r.async?yr._`await `:yr.nil){let X=c.opts.passContext?xi.default.this:xi.default.self,le=!("compile"in r&&!f||r.schema===!1);n.assign($,yr._`${B}${oy.callValidateCode(t,h,X,le)}`,r.modifying)}function q(B){var X;n.if(yr.not((X=r.valid)!==null&&X!==void 0?X:$),B)}}function Tc(t){let{gen:r,data:e,it:n}=t;r.if(n.parentData,()=>r.assign(e,yr._`${n.parentData}[${n.parentDataProperty}]`))}function uy(t,r){let{gen:e}=t;e.if(yr._`Array.isArray(${r})`,()=>{e.assign(xi.default.vErrors,yr._`${xi.default.vErrors} === null ? ${r} : ${xi.default.vErrors}.concat(${r})`).assign(xi.default.errors,yr._`${xi.default.vErrors}.length`),sy.extendErrors(t)},()=>t.error())}function fy({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function Fc(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:yr.stringify(e)})}});var Dc=be(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.schemaKeywords=void 0;var Sl=ol(),Oc=is(),cy=xc(),Nc=Ic(),py=_t(),dy=Br(),my=ze(),hy=ln();function gy(t,r,e,n){let{gen:s,schema:o,data:l,allErrors:f,opts:c,self:g}=t,{RULES:h}=g;if(o.$ref&&(c.ignoreKeywordsWithRef||!py.schemaHasRulesButRef(o,h))){s.block(()=>Nc.keywordCode(t,"$ref",h.all.$ref.definition));return}c.jtd||yy(t,r),s.block(()=>{for(let k of h.rules)$(k);$(h.post)});function $(k){!Sl.shouldUseGroup(o,k)||(k.type?(s.if(Oc.checkDataType(k.type,l,c.strict)),Rc(t,k),r.length===1&&r[0]===k.type&&e&&(s.else(),Oc.reportTypeError(t)),s.endIf()):Rc(t,k),f||s.if(my._`${hy.default.errors} === ${n||0}`))}}Uo.schemaKeywords=gy;function Rc(t,r){let{gen:e,schema:n,opts:{useDefaults:s}}=t;s&&cy.assignDefaults(t,r.type),e.block(()=>{for(let o of r.rules)Sl.shouldUseRule(n,o)&&Nc.keywordCode(t,o.keyword,o.definition,r.type)})}function yy(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(by(t,r),t.opts.allowUnionTypes||$y(t,r),wy(t,t.dataTypes))}function by(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{qc(t.dataTypes,e)||Pl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>qc(r,e))}}function $y(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&Pl(t,"use allowUnionTypes to allow union type keyword")}function wy(t,r){let e=t.self.RULES.all;for(let n in e){let s=e[n];if(typeof s=="object"&&Sl.shouldUseRule(t.schema,s)){let{type:o}=s.definition;o.length&&!o.some(l=>ky(r,l))&&Pl(t,`missing type "${o.join(",")}" for keyword "${n}"`)}}}function ky(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function qc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function Pl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,dy.checkStrictMode(t,r,t.opts.strictTypes)}});var Us=be((U1,Lc)=>{"use strict";Lc.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 n,s,o;if(Array.isArray(r)){if(n=r.length,n!=e.length)return!1;for(s=n;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(o=Object.keys(r),n=o.length,n!==Object.keys(e).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[s]))return!1;for(s=n;s--!==0;){var l=o[s];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var Bc=be((H1,jc)=>{"use strict";var Yn=jc.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var n=typeof e=="function"?e:e.pre||function(){},s=e.post||function(){};Ho(r,n,s,t,"",t)};Yn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Yn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Yn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Yn.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 Ho(t,r,e,n,s,o,l,f,c,g){if(n&&typeof n=="object"&&!Array.isArray(n)){r(n,s,o,l,f,c,g);for(var h in n){var $=n[h];if(Array.isArray($)){if(h in Yn.arrayKeywords)for(var k=0;k<$.length;k++)Ho(t,r,e,$[k],s+"/"+h+"/"+k,o,s,h,n,k)}else if(h in Yn.propsKeywords){if($&&typeof $=="object")for(var x in $)Ho(t,r,e,$[x],s+"/"+h+"/"+vy(x),o,s,h,n,x)}else(h in Yn.keywords||t.allKeys&&!(h in Yn.skipKeywords))&&Ho(t,r,e,$,s+"/"+h,o,s,h,n)}e(n,s,o,l,f,c,g)}}function vy(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Tl=be((Go,Mc)=>{(function(t,r){typeof Go=="object"&&typeof Mc<"u"?r(Go):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(Go,function(t){"use strict";function r(){for(var V=arguments.length,R=Array(V),J=0;J<V;J++)R[J]=arguments[J];if(R.length>1){R[0]=R[0].slice(0,-1);for(var re=R.length-1,se=1;se<re;++se)R[se]=R[se].slice(1,-1);return R[re]=R[re].slice(1),R.join("")}else return R[0]}function e(V){return"(?:"+V+")"}function n(V){return V===void 0?"undefined":V===null?"null":Object.prototype.toString.call(V).split(" ").pop().split("]").shift().toLowerCase()}function s(V){return V.toUpperCase()}function o(V){return V!=null?V instanceof Array?V:typeof V.length!="number"||V.split||V.setInterval||V.call?[V]:Array.prototype.slice.call(V):[]}function l(V,R){var J=V;if(R)for(var re in R)J[re]=R[re];return J}function f(V){var R="[A-Za-z]",J="[\\x0D]",re="[0-9]",se="[\\x22]",we=r(re,"[A-Fa-f]"),Se="[\\x0A]",je="[\\x20]",We=e(e("%[EFef]"+we+"%"+we+we+"%"+we+we)+"|"+e("%[89A-Fa-f]"+we+"%"+we+we)+"|"+e("%"+we+we)),bt="[\\:\\/\\?\\#\\[\\]\\@]",Ne="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",at=r(bt,Ne),ft=V?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",lt=V?"[\\uE000-\\uF8FF]":"[]",Ge=r(R,re,"[\\-\\.\\_\\~]",ft),ct=e(R+r(R,re,"[\\+\\-\\.]")+"*"),et=e(e(We+"|"+r(Ge,Ne,"[\\:]"))+"*"),Mr=e(e("25[0-5]")+"|"+e("2[0-4]"+re)+"|"+e("1"+re+re)+"|"+e("[1-9]"+re)+"|"+re),Bt=e(e("25[0-5]")+"|"+e("2[0-4]"+re)+"|"+e("1"+re+re)+"|"+e("0?[1-9]"+re)+"|0?0?"+re),rr=e(Bt+"\\."+Bt+"\\."+Bt+"\\."+Bt),st=e(we+"{1,4}"),Ut=e(e(st+"\\:"+st)+"|"+rr),Zt=e(e(st+"\\:")+"{6}"+Ut),Cr=e("\\:\\:"+e(st+"\\:")+"{5}"+Ut),Yr=e(e(st)+"?\\:\\:"+e(st+"\\:")+"{4}"+Ut),Ar=e(e(e(st+"\\:")+"{0,1}"+st)+"?\\:\\:"+e(st+"\\:")+"{3}"+Ut),hn=e(e(e(st+"\\:")+"{0,2}"+st)+"?\\:\\:"+e(st+"\\:")+"{2}"+Ut),On=e(e(e(st+"\\:")+"{0,3}"+st)+"?\\:\\:"+st+"\\:"+Ut),Rn=e(e(e(st+"\\:")+"{0,4}"+st)+"?\\:\\:"+Ut),en=e(e(e(st+"\\:")+"{0,5}"+st)+"?\\:\\:"+st),tn=e(e(e(st+"\\:")+"{0,6}"+st)+"?\\:\\:"),Mt=e([Zt,Cr,Yr,Ar,hn,On,Rn,en,tn].join("|")),Er=e(e(Ge+"|"+We)+"+"),gn=e(Mt+"\\%25"+Er),zr=e(Mt+e("\\%25|\\%(?!"+we+"{2})")+Er),Mi=e("[vV]"+we+"+\\."+r(Ge,Ne,"[\\:]")+"+"),li=e("\\["+e(zr+"|"+Mt+"|"+Mi)+"\\]"),i=e(e(We+"|"+r(Ge,Ne))+"*"),ue=e(li+"|"+rr+"(?!"+i+")|"+i),Vr=e(re+"*"),Jt=e(e(et+"@")+"?"+ue+e("\\:"+Vr)+"?"),rn=e(We+"|"+r(Ge,Ne,"[\\:\\@]")),v=e(rn+"*"),yn=e(rn+"+"),qn=e(e(We+"|"+r(Ge,Ne,"[\\@]"))+"+"),Ur=e(e("\\/"+v)+"*"),Nn=e("\\/"+e(yn+Ur)+"?"),zi=e(qn+Ur),Me=e(yn+Ur),Ht="(?!"+rn+")",vs=e(Ur+"|"+Nn+"|"+zi+"|"+Me+"|"+Ht),nn=e(e(rn+"|"+r("[\\/\\?]",lt))+"*"),bn=e(e(rn+"|[\\/\\?]")+"*"),ui=e(e("\\/\\/"+Jt+Ur)+"|"+Nn+"|"+Me+"|"+Ht),Dn=e(ct+"\\:"+ui+e("\\?"+nn)+"?"+e("\\#"+bn)+"?"),W=e(e("\\/\\/"+Jt+Ur)+"|"+Nn+"|"+zi+"|"+Ht),xs=e(W+e("\\?"+nn)+"?"+e("\\#"+bn)+"?"),Vi=e(Dn+"|"+xs),Cs=e(ct+"\\:"+ui+e("\\?"+nn)+"?"),fi="^("+ct+")\\:"+e(e("\\/\\/("+e("("+et+")@")+"?("+ue+")"+e("\\:("+Vr+")")+"?)")+"?("+Ur+"|"+Nn+"|"+Me+"|"+Ht+")")+e("\\?("+nn+")")+"?"+e("\\#("+bn+")")+"?$",bo="^(){0}"+e(e("\\/\\/("+e("("+et+")@")+"?("+ue+")"+e("\\:("+Vr+")")+"?)")+"?("+Ur+"|"+Nn+"|"+zi+"|"+Ht+")")+e("\\?("+nn+")")+"?"+e("\\#("+bn+")")+"?$",ja="^("+ct+")\\:"+e(e("\\/\\/("+e("("+et+")@")+"?("+ue+")"+e("\\:("+Vr+")")+"?)")+"?("+Ur+"|"+Nn+"|"+Me+"|"+Ht+")")+e("\\?("+nn+")")+"?$",Ui="^"+e("\\#("+bn+")")+"?$",sn="^"+e("("+et+")@")+"?("+ue+")"+e("\\:("+Vr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",R,re,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",Ge,Ne),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",Ge,Ne),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",Ge,Ne),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",Ge,Ne),"g"),NOT_QUERY:new RegExp(r("[^\\%]",Ge,Ne,"[\\:\\@\\/\\?]",lt),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",Ge,Ne,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",Ge,Ne),"g"),UNRESERVED:new RegExp(Ge,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",Ge,at),"g"),PCT_ENCODED:new RegExp(We,"g"),IPV4ADDRESS:new RegExp("^("+rr+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Mt+")"+e(e("\\%25|\\%(?!"+we+"{2})")+"("+Er+")")+"?\\]?$")}}var c=f(!1),g=f(!0),h=function(){function V(R,J){var re=[],se=!0,we=!1,Se=void 0;try{for(var je=R[Symbol.iterator](),We;!(se=(We=je.next()).done)&&(re.push(We.value),!(J&&re.length===J));se=!0);}catch(bt){we=!0,Se=bt}finally{try{!se&&je.return&&je.return()}finally{if(we)throw Se}}return re}return function(R,J){if(Array.isArray(R))return R;if(Symbol.iterator in Object(R))return V(R,J);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),$=function(V){if(Array.isArray(V)){for(var R=0,J=Array(V.length);R<V.length;R++)J[R]=V[R];return J}else return Array.from(V)},k=2147483647,x=36,A=1,I=26,q=38,B=700,X=72,le=128,$e="-",he=/^xn--/,Y=/[^\0-\x7E]/,pe=/[\x2E\u3002\uFF0E\uFF61]/g,ve={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=x-A,Le=Math.floor,Te=String.fromCharCode;function Fe(V){throw new RangeError(ve[V])}function ge(V,R){for(var J=[],re=V.length;re--;)J[re]=R(V[re]);return J}function Pe(V,R){var J=V.split("@"),re="";J.length>1&&(re=J[0]+"@",V=J[1]),V=V.replace(pe,".");var se=V.split("."),we=ge(se,R).join(".");return re+we}function Qe(V){for(var R=[],J=0,re=V.length;J<re;){var se=V.charCodeAt(J++);if(se>=55296&&se<=56319&&J<re){var we=V.charCodeAt(J++);(we&64512)==56320?R.push(((se&1023)<<10)+(we&1023)+65536):(R.push(se),J--)}else R.push(se)}return R}var ne=function(R){return String.fromCodePoint.apply(String,$(R))},$t=function(R){return R-48<10?R-22:R-65<26?R-65:R-97<26?R-97:x},Xe=function(R,J){return R+22+75*(R<26)-((J!=0)<<5)},wt=function(R,J,re){var se=0;for(R=re?Le(R/B):R>>1,R+=Le(R/J);R>ke*I>>1;se+=x)R=Le(R/ke);return Le(se+(ke+1)*R/(R+q))},nt=function(R){var J=[],re=R.length,se=0,we=le,Se=X,je=R.lastIndexOf($e);je<0&&(je=0);for(var We=0;We<je;++We)R.charCodeAt(We)>=128&&Fe("not-basic"),J.push(R.charCodeAt(We));for(var bt=je>0?je+1:0;bt<re;){for(var Ne=se,at=1,ft=x;;ft+=x){bt>=re&&Fe("invalid-input");var lt=$t(R.charCodeAt(bt++));(lt>=x||lt>Le((k-se)/at))&&Fe("overflow"),se+=lt*at;var Ge=ft<=Se?A:ft>=Se+I?I:ft-Se;if(lt<Ge)break;var ct=x-Ge;at>Le(k/ct)&&Fe("overflow"),at*=ct}var et=J.length+1;Se=wt(se-Ne,et,Ne==0),Le(se/et)>k-we&&Fe("overflow"),we+=Le(se/et),se%=et,J.splice(se++,0,we)}return String.fromCodePoint.apply(String,J)},z=function(R){var J=[];R=Qe(R);var re=R.length,se=le,we=0,Se=X,je=!0,We=!1,bt=void 0;try{for(var Ne=R[Symbol.iterator](),at;!(je=(at=Ne.next()).done);je=!0){var ft=at.value;ft<128&&J.push(Te(ft))}}catch(zr){We=!0,bt=zr}finally{try{!je&&Ne.return&&Ne.return()}finally{if(We)throw bt}}var lt=J.length,Ge=lt;for(lt&&J.push($e);Ge<re;){var ct=k,et=!0,Mr=!1,Bt=void 0;try{for(var rr=R[Symbol.iterator](),st;!(et=(st=rr.next()).done);et=!0){var Ut=st.value;Ut>=se&&Ut<ct&&(ct=Ut)}}catch(zr){Mr=!0,Bt=zr}finally{try{!et&&rr.return&&rr.return()}finally{if(Mr)throw Bt}}var Zt=Ge+1;ct-se>Le((k-we)/Zt)&&Fe("overflow"),we+=(ct-se)*Zt,se=ct;var Cr=!0,Yr=!1,Ar=void 0;try{for(var hn=R[Symbol.iterator](),On;!(Cr=(On=hn.next()).done);Cr=!0){var Rn=On.value;if(Rn<se&&++we>k&&Fe("overflow"),Rn==se){for(var en=we,tn=x;;tn+=x){var Mt=tn<=Se?A:tn>=Se+I?I:tn-Se;if(en<Mt)break;var Er=en-Mt,gn=x-Mt;J.push(Te(Xe(Mt+Er%gn,0))),en=Le(Er/gn)}J.push(Te(Xe(en,0))),Se=wt(we,Zt,Ge==lt),we=0,++Ge}}}catch(zr){Yr=!0,Ar=zr}finally{try{!Cr&&hn.return&&hn.return()}finally{if(Yr)throw Ar}}++we,++se}return J.join("")},U=function(R){return Pe(R,function(J){return he.test(J)?nt(J.slice(4).toLowerCase()):J})},dr=function(R){return Pe(R,function(J){return Y.test(J)?"xn--"+z(J):J})},Lt={version:"2.1.0",ucs2:{decode:Qe,encode:ne},decode:nt,encode:z,toASCII:dr,toUnicode:U},kt={};function Tt(V){var R=V.charCodeAt(0),J=void 0;return R<16?J="%0"+R.toString(16).toUpperCase():R<128?J="%"+R.toString(16).toUpperCase():R<2048?J="%"+(R>>6|192).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase():J="%"+(R>>12|224).toString(16).toUpperCase()+"%"+(R>>6&63|128).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase(),J}function Ft(V){for(var R="",J=0,re=V.length;J<re;){var se=parseInt(V.substr(J+1,2),16);if(se<128)R+=String.fromCharCode(se),J+=3;else if(se>=194&&se<224){if(re-J>=6){var we=parseInt(V.substr(J+4,2),16);R+=String.fromCharCode((se&31)<<6|we&63)}else R+=V.substr(J,6);J+=6}else if(se>=224){if(re-J>=9){var Se=parseInt(V.substr(J+4,2),16),je=parseInt(V.substr(J+7,2),16);R+=String.fromCharCode((se&15)<<12|(Se&63)<<6|je&63)}else R+=V.substr(J,9);J+=9}else R+=V.substr(J,3),J+=3}return R}function ut(V,R){function J(re){var se=Ft(re);return se.match(R.UNRESERVED)?se:re}return V.scheme&&(V.scheme=String(V.scheme).replace(R.PCT_ENCODED,J).toLowerCase().replace(R.NOT_SCHEME,"")),V.userinfo!==void 0&&(V.userinfo=String(V.userinfo).replace(R.PCT_ENCODED,J).replace(R.NOT_USERINFO,Tt).replace(R.PCT_ENCODED,s)),V.host!==void 0&&(V.host=String(V.host).replace(R.PCT_ENCODED,J).toLowerCase().replace(R.NOT_HOST,Tt).replace(R.PCT_ENCODED,s)),V.path!==void 0&&(V.path=String(V.path).replace(R.PCT_ENCODED,J).replace(V.scheme?R.NOT_PATH:R.NOT_PATH_NOSCHEME,Tt).replace(R.PCT_ENCODED,s)),V.query!==void 0&&(V.query=String(V.query).replace(R.PCT_ENCODED,J).replace(R.NOT_QUERY,Tt).replace(R.PCT_ENCODED,s)),V.fragment!==void 0&&(V.fragment=String(V.fragment).replace(R.PCT_ENCODED,J).replace(R.NOT_FRAGMENT,Tt).replace(R.PCT_ENCODED,s)),V}function tr(V){return V.replace(/^0*(.*)/,"$1")||"0"}function Vt(V,R){var J=V.match(R.IPV4ADDRESS)||[],re=h(J,2),se=re[1];return se?se.split(".").map(tr).join("."):V}function vr(V,R){var J=V.match(R.IPV6ADDRESS)||[],re=h(J,3),se=re[1],we=re[2];if(se){for(var Se=se.toLowerCase().split("::").reverse(),je=h(Se,2),We=je[0],bt=je[1],Ne=bt?bt.split(":").map(tr):[],at=We.split(":").map(tr),ft=R.IPV4ADDRESS.test(at[at.length-1]),lt=ft?7:8,Ge=at.length-lt,ct=Array(lt),et=0;et<lt;++et)ct[et]=Ne[et]||at[Ge+et]||"";ft&&(ct[lt-1]=Vt(ct[lt-1],R));var Mr=ct.reduce(function(Zt,Cr,Yr){if(!Cr||Cr==="0"){var Ar=Zt[Zt.length-1];Ar&&Ar.index+Ar.length===Yr?Ar.length++:Zt.push({index:Yr,length:1})}return Zt},[]),Bt=Mr.sort(function(Zt,Cr){return Cr.length-Zt.length})[0],rr=void 0;if(Bt&&Bt.length>1){var st=ct.slice(0,Bt.index),Ut=ct.slice(Bt.index+Bt.length);rr=st.join(":")+"::"+Ut.join(":")}else rr=ct.join(":");return we&&(rr+="%"+we),rr}else return V}var Rr=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,xr="".match(/(){0}/)[1]===void 0;function jt(V){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J={},re=R.iri!==!1?g:c;R.reference==="suffix"&&(V=(R.scheme?R.scheme+":":"")+"//"+V);var se=V.match(Rr);if(se){xr?(J.scheme=se[1],J.userinfo=se[3],J.host=se[4],J.port=parseInt(se[5],10),J.path=se[6]||"",J.query=se[7],J.fragment=se[8],isNaN(J.port)&&(J.port=se[5])):(J.scheme=se[1]||void 0,J.userinfo=V.indexOf("@")!==-1?se[3]:void 0,J.host=V.indexOf("//")!==-1?se[4]:void 0,J.port=parseInt(se[5],10),J.path=se[6]||"",J.query=V.indexOf("?")!==-1?se[7]:void 0,J.fragment=V.indexOf("#")!==-1?se[8]:void 0,isNaN(J.port)&&(J.port=V.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?se[4]:void 0)),J.host&&(J.host=vr(Vt(J.host,re),re)),J.scheme===void 0&&J.userinfo===void 0&&J.host===void 0&&J.port===void 0&&!J.path&&J.query===void 0?J.reference="same-document":J.scheme===void 0?J.reference="relative":J.fragment===void 0?J.reference="absolute":J.reference="uri",R.reference&&R.reference!=="suffix"&&R.reference!==J.reference&&(J.error=J.error||"URI is not a "+R.reference+" reference.");var we=kt[(R.scheme||J.scheme||"").toLowerCase()];if(!R.unicodeSupport&&(!we||!we.unicodeSupport)){if(J.host&&(R.domainHost||we&&we.domainHost))try{J.host=Lt.toASCII(J.host.replace(re.PCT_ENCODED,Ft).toLowerCase())}catch(Se){J.error=J.error||"Host's domain name can not be converted to ASCII via punycode: "+Se}ut(J,c)}else ut(J,re);we&&we.parse&&we.parse(J,R)}else J.error=J.error||"URI can not be parsed.";return J}function Sn(V,R){var J=R.iri!==!1?g:c,re=[];return V.userinfo!==void 0&&(re.push(V.userinfo),re.push("@")),V.host!==void 0&&re.push(vr(Vt(String(V.host),J),J).replace(J.IPV6ADDRESS,function(se,we,Se){return"["+we+(Se?"%25"+Se:"")+"]"})),(typeof V.port=="number"||typeof V.port=="string")&&(re.push(":"),re.push(String(V.port))),re.length?re.join(""):void 0}var Pn=/^\.\.?\//,Tn=/^\/\.(\/|$)/,Ce=/^\/\.\.(\/|$)/,Un=/^\/?(?:.|\n)*?(?=\/|$)/;function qr(V){for(var R=[];V.length;)if(V.match(Pn))V=V.replace(Pn,"");else if(V.match(Tn))V=V.replace(Tn,"/");else if(V.match(Ce))V=V.replace(Ce,"/"),R.pop();else if(V==="."||V==="..")V="";else{var J=V.match(Un);if(J){var re=J[0];V=V.slice(re.length),R.push(re)}else throw new Error("Unexpected dot segment condition")}return R.join("")}function Ee(V){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=R.iri?g:c,re=[],se=kt[(R.scheme||V.scheme||"").toLowerCase()];if(se&&se.serialize&&se.serialize(V,R),V.host&&!J.IPV6ADDRESS.test(V.host)){if(R.domainHost||se&&se.domainHost)try{V.host=R.iri?Lt.toUnicode(V.host):Lt.toASCII(V.host.replace(J.PCT_ENCODED,Ft).toLowerCase())}catch(je){V.error=V.error||"Host's domain name can not be converted to "+(R.iri?"Unicode":"ASCII")+" via punycode: "+je}}ut(V,J),R.reference!=="suffix"&&V.scheme&&(re.push(V.scheme),re.push(":"));var we=Sn(V,R);if(we!==void 0&&(R.reference!=="suffix"&&re.push("//"),re.push(we),V.path&&V.path.charAt(0)!=="/"&&re.push("/")),V.path!==void 0){var Se=V.path;!R.absolutePath&&(!se||!se.absolutePath)&&(Se=qr(Se)),we===void 0&&(Se=Se.replace(/^\/\//,"/%2F")),re.push(Se)}return V.query!==void 0&&(re.push("?"),re.push(V.query)),V.fragment!==void 0&&(re.push("#"),re.push(V.fragment)),re.join("")}function Re(V,R){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=arguments[3],se={};return re||(V=jt(Ee(V,J),J),R=jt(Ee(R,J),J)),J=J||{},!J.tolerant&&R.scheme?(se.scheme=R.scheme,se.userinfo=R.userinfo,se.host=R.host,se.port=R.port,se.path=qr(R.path||""),se.query=R.query):(R.userinfo!==void 0||R.host!==void 0||R.port!==void 0?(se.userinfo=R.userinfo,se.host=R.host,se.port=R.port,se.path=qr(R.path||""),se.query=R.query):(R.path?(R.path.charAt(0)==="/"?se.path=qr(R.path):((V.userinfo!==void 0||V.host!==void 0||V.port!==void 0)&&!V.path?se.path="/"+R.path:V.path?se.path=V.path.slice(0,V.path.lastIndexOf("/")+1)+R.path:se.path=R.path,se.path=qr(se.path)),se.query=R.query):(se.path=V.path,R.query!==void 0?se.query=R.query:se.query=V.query),se.userinfo=V.userinfo,se.host=V.host,se.port=V.port),se.scheme=V.scheme),se.fragment=R.fragment,se}function At(V,R,J){var re=l({scheme:"null"},J);return Ee(Re(jt(V,re),jt(R,re),re,!0),re)}function ht(V,R){return typeof V=="string"?V=Ee(jt(V,R),R):n(V)==="object"&&(V=jt(Ee(V,R),R)),V}function mr(V,R,J){return typeof V=="string"?V=Ee(jt(V,J),J):n(V)==="object"&&(V=Ee(V,J)),typeof R=="string"?R=Ee(jt(R,J),J):n(R)==="object"&&(R=Ee(R,J)),V===R}function qe(V,R){return V&&V.toString().replace(!R||!R.iri?c.ESCAPE:g.ESCAPE,Tt)}function _e(V,R){return V&&V.toString().replace(!R||!R.iri?c.PCT_ENCODED:g.PCT_ENCODED,Ft)}var te={scheme:"http",domainHost:!0,parse:function(R,J){return R.host||(R.error=R.error||"HTTP URIs must have a host."),R},serialize:function(R,J){var re=String(R.scheme).toLowerCase()==="https";return(R.port===(re?443:80)||R.port==="")&&(R.port=void 0),R.path||(R.path="/"),R}},ce={scheme:"https",domainHost:te.domainHost,parse:te.parse,serialize:te.serialize};function Ae(V){return typeof V.secure=="boolean"?V.secure:String(V.scheme).toLowerCase()==="wss"}var Be={scheme:"ws",domainHost:!0,parse:function(R,J){var re=R;return re.secure=Ae(re),re.resourceName=(re.path||"/")+(re.query?"?"+re.query:""),re.path=void 0,re.query=void 0,re},serialize:function(R,J){if((R.port===(Ae(R)?443:80)||R.port==="")&&(R.port=void 0),typeof R.secure=="boolean"&&(R.scheme=R.secure?"wss":"ws",R.secure=void 0),R.resourceName){var re=R.resourceName.split("?"),se=h(re,2),we=se[0],Se=se[1];R.path=we&&we!=="/"?we:void 0,R.query=Se,R.resourceName=void 0}return R.fragment=void 0,R}},Ye={scheme:"wss",domainHost:Be.domainHost,parse:Be.parse,serialize:Be.serialize},Pt={},it=!0,vt="[A-Za-z0-9\\-\\.\\_\\~"+(it?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",It="[0-9A-Fa-f]",Xr=e(e("%[EFef]"+It+"%"+It+It+"%"+It+It)+"|"+e("%[89A-Fa-f]"+It+"%"+It+It)+"|"+e("%"+It+It)),gt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Fn="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",hr=r(Fn,'[\\"\\\\]'),si="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",oi=new RegExp(vt,"g"),Nr=new RegExp(Xr,"g"),mn=new RegExp(r("[^]",gt,"[\\.]",'[\\"]',hr),"g"),Hn=new RegExp(r("[^]",vt,si),"g"),ks=Hn;function Gn(V){var R=Ft(V);return R.match(oi)?R:V}var ai={scheme:"mailto",parse:function(R,J){var re=R,se=re.to=re.path?re.path.split(","):[];if(re.path=void 0,re.query){for(var we=!1,Se={},je=re.query.split("&"),We=0,bt=je.length;We<bt;++We){var Ne=je[We].split("=");switch(Ne[0]){case"to":for(var at=Ne[1].split(","),ft=0,lt=at.length;ft<lt;++ft)se.push(at[ft]);break;case"subject":re.subject=_e(Ne[1],J);break;case"body":re.body=_e(Ne[1],J);break;default:we=!0,Se[_e(Ne[0],J)]=_e(Ne[1],J);break}}we&&(re.headers=Se)}re.query=void 0;for(var Ge=0,ct=se.length;Ge<ct;++Ge){var et=se[Ge].split("@");if(et[0]=_e(et[0]),J.unicodeSupport)et[1]=_e(et[1],J).toLowerCase();else try{et[1]=Lt.toASCII(_e(et[1],J).toLowerCase())}catch(Mr){re.error=re.error||"Email address's domain name can not be converted to ASCII via punycode: "+Mr}se[Ge]=et.join("@")}return re},serialize:function(R,J){var re=R,se=o(R.to);if(se){for(var we=0,Se=se.length;we<Se;++we){var je=String(se[we]),We=je.lastIndexOf("@"),bt=je.slice(0,We).replace(Nr,Gn).replace(Nr,s).replace(mn,Tt),Ne=je.slice(We+1);try{Ne=J.iri?Lt.toUnicode(Ne):Lt.toASCII(_e(Ne,J).toLowerCase())}catch(Ge){re.error=re.error||"Email address's domain name can not be converted to "+(J.iri?"Unicode":"ASCII")+" via punycode: "+Ge}se[we]=bt+"@"+Ne}re.path=se.join(",")}var at=R.headers=R.headers||{};R.subject&&(at.subject=R.subject),R.body&&(at.body=R.body);var ft=[];for(var lt in at)at[lt]!==Pt[lt]&&ft.push(lt.replace(Nr,Gn).replace(Nr,s).replace(Hn,Tt)+"="+at[lt].replace(Nr,Gn).replace(Nr,s).replace(ks,Tt));return ft.length&&(re.query=ft.join("&")),re}},ji=/^([^\:]+)\:(.*)/,In={scheme:"urn",parse:function(R,J){var re=R.path&&R.path.match(ji),se=R;if(re){var we=J.scheme||se.scheme||"urn",Se=re[1].toLowerCase(),je=re[2],We=we+":"+(J.nid||Se),bt=kt[We];se.nid=Se,se.nss=je,se.path=void 0,bt&&(se=bt.parse(se,J))}else se.error=se.error||"URN can not be parsed.";return se},serialize:function(R,J){var re=J.scheme||R.scheme||"urn",se=R.nid,we=re+":"+(J.nid||se),Se=kt[we];Se&&(R=Se.serialize(R,J));var je=R,We=R.nss;return je.path=(se||J.nid)+":"+We,je}},Kn=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Bi={scheme:"urn:uuid",parse:function(R,J){var re=R;return re.uuid=re.nss,re.nss=void 0,!J.tolerant&&(!re.uuid||!re.uuid.match(Kn))&&(re.error=re.error||"UUID is not valid."),re},serialize:function(R,J){var re=R;return re.nss=(R.uuid||"").toLowerCase(),re}};kt[te.scheme]=te,kt[ce.scheme]=ce,kt[Be.scheme]=Be,kt[Ye.scheme]=Ye,kt[ai.scheme]=ai,kt[In.scheme]=In,kt[Bi.scheme]=Bi,t.SCHEMES=kt,t.pctEncChar=Tt,t.pctDecChars=Ft,t.parse=jt,t.removeDotSegments=qr,t.serialize=Ee,t.resolveComponents=Re,t.resolve=At,t.normalize=ht,t.equal=mr,t.escapeComponent=qe,t.unescapeComponent=_e,Object.defineProperty(t,"__esModule",{value:!0})})});var Hs=be(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.getSchemaRefs=Tr.resolveUrl=Tr.normalizeId=Tr._getFullPath=Tr.getFullPath=Tr.inlineRef=void 0;var xy=_t(),Cy=Us(),Ay=Bc(),Ko=Tl(),Ey=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function _y(t,r=!0){return typeof t=="boolean"?!0:r===!0?!Fl(t):r?zc(t)<=r:!1}Tr.inlineRef=_y;var Sy=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Fl(t){for(let r in t){if(Sy.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(Fl)||typeof e=="object"&&Fl(e))return!0}return!1}function zc(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!Ey.has(e)&&(typeof t[e]=="object"&&xy.eachItem(t[e],n=>r+=zc(n)),r===1/0))return 1/0}return r}function Vc(t="",r){r!==!1&&(t=ss(t));let e=Ko.parse(t);return Uc(e)}Tr.getFullPath=Vc;function Uc(t){return Ko.serialize(t).split("#")[0]+"#"}Tr._getFullPath=Uc;var Py=/#\/?$/;function ss(t){return t?t.replace(Py,""):""}Tr.normalizeId=ss;function Ty(t,r){return r=ss(r),Ko.resolve(t,r)}Tr.resolveUrl=Ty;var Fy=/^[a-z_][-a-z0-9._]*$/i;function Iy(t){if(typeof t=="boolean")return{};let r=ss(t.$id),e={"":r},n=Vc(r,!1),s={},o=new Set;return Ay(t,{allKeys:!0},(c,g,h,$)=>{if($===void 0)return;let k=n+g,x=e[$];typeof c.$id=="string"&&(x=A.call(this,c.$id)),I.call(this,c.$anchor),I.call(this,c.$dynamicAnchor),e[g]=x;function A(q){if(q=ss(x?Ko.resolve(x,q):q),o.has(q))throw f(q);o.add(q);let B=this.refs[q];return typeof B=="string"&&(B=this.refs[B]),typeof B=="object"?l(c,B.schema,q):q!==ss(k)&&(q[0]==="#"?(l(c,s[q],q),s[q]=c):this.refs[q]=k),q}function I(q){if(typeof q=="string"){if(!Fy.test(q))throw new Error(`invalid anchor "${q}"`);A.call(this,`#${q}`)}}}),s;function l(c,g,h){if(g!==void 0&&!Cy(c,g))throw f(h)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}Tr.getSchemaRefs=Iy});var Br=be(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.checkStrictMode=xn.schemaCxtHasRules=xn.subschemaCode=xn.validateFunctionCode=void 0;var Wc=kc(),Hc=is(),Gc=Dc(),Ke=ze(),Ie=ln(),Oy=Hs(),Zc=_t();function Ry(t){if(Qc(t)&&(Xc(t),Il(t))){Dy(t);return}Jc(t,()=>Wc.topBoolOrEmptySchema(t))}xn.validateFunctionCode=Ry;function Jc({gen:t,validateName:r,schema:e,schemaEnv:n,opts:s},o){s.code.es5?t.func(r,Ke._`${Ie.default.data}, ${Ie.default.valCxt}`,n.$async,()=>{t.code(Ke._`"use strict"; ${Kc(e,s)}`),Ny(t,s),t.code(o)}):t.func(r,Ke._`${Ie.default.data}, ${qy(s)}`,n.$async,()=>t.code(Kc(e,s)).code(o))}function qy(t){return Ke._`{${Ie.default.dataPath}="", ${Ie.default.parentData}, ${Ie.default.parentDataProperty}, ${Ie.default.rootData}=${Ie.default.data}${t.dynamicRef?Ke._`, ${Ie.default.dynamicAnchors}={}`:Ke.nil}}={}`}function Ny(t,r){t.if(Ie.default.valCxt,()=>{t.var(Ie.default.dataPath,Ke._`${Ie.default.valCxt}.${Ie.default.dataPath}`),t.var(Ie.default.parentData,Ke._`${Ie.default.valCxt}.${Ie.default.parentData}`),t.var(Ie.default.parentDataProperty,Ke._`${Ie.default.valCxt}.${Ie.default.parentDataProperty}`),t.var(Ie.default.rootData,Ke._`${Ie.default.valCxt}.${Ie.default.rootData}`),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Ke._`${Ie.default.valCxt}.${Ie.default.dynamicAnchors}`)},()=>{t.var(Ie.default.dataPath,Ke._`""`),t.var(Ie.default.parentData,Ke._`undefined`),t.var(Ie.default.parentDataProperty,Ke._`undefined`),t.var(Ie.default.rootData,Ie.default.data),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Ke._`{}`)})}function Dy(t){let{schema:r,opts:e,gen:n}=t;Jc(t,()=>{e.$comment&&r.$comment&&ep(t),zy(t),n.let(Ie.default.vErrors,null),n.let(Ie.default.errors,0),e.unevaluated&&Ly(t),Yc(t),Hy(t)})}function Ly(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Ke._`${e}.evaluated`),r.if(Ke._`${t.evaluated}.dynamicProps`,()=>r.assign(Ke._`${t.evaluated}.props`,Ke._`undefined`)),r.if(Ke._`${t.evaluated}.dynamicItems`,()=>r.assign(Ke._`${t.evaluated}.items`,Ke._`undefined`))}function Kc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Ke._`/*# sourceURL=${t.$id} */`:Ke.nil}function jy(t,r){if(Qc(t)&&(Xc(t),Il(t))){By(t,r);return}Wc.boolOrEmptySchema(t,r)}xn.subschemaCode=jy;function Il({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}xn.schemaCxtHasRules=Il;function Qc(t){return typeof t.schema!="boolean"}function By(t,r){let{schema:e,gen:n,opts:s}=t;s.$comment&&e.$comment&&ep(t),Vy(t),Uy(t);let o=n.const("_errs",Ie.default.errors);Yc(t,o),n.var(r,Ke._`${o} === ${Ie.default.errors}`)}function Xc(t){Zc.checkUnknownRules(t),My(t)}function Yc(t,r){if(t.opts.jtd)return Gc.schemaKeywords(t,[],!1,r);let e=Hc.getSchemaTypes(t.schema),n=Hc.coerceAndCheckDataType(t,e);Gc.schemaKeywords(t,e,!n,r)}function My(t){let{schema:r,errSchemaPath:e,opts:n,self:s}=t;r.$ref&&n.ignoreKeywordsWithRef&&Zc.schemaHasRulesButRef(r,s.RULES)&&s.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function zy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&tp(t,"default is ignored in the schema root")}function Vy(t){t.schema.$id&&(t.baseId=Oy.resolveUrl(t.baseId,t.schema.$id))}function Uy(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function ep({gen:t,schemaEnv:r,schema:e,errSchemaPath:n,opts:s}){let o=e.$comment;if(s.$comment===!0)t.code(Ke._`${Ie.default.self}.logger.log(${o})`);else if(typeof s.$comment=="function"){let l=Ke.str`${n}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Ke._`${Ie.default.self}.opts.$comment(${o}, ${l}, ${f}.schema)`)}}function Hy(t){let{gen:r,schemaEnv:e,validateName:n,ValidationError:s,opts:o}=t;e.$async?r.if(Ke._`${Ie.default.errors} === 0`,()=>r.return(Ie.default.data),()=>r.throw(Ke._`new ${s}(${Ie.default.vErrors})`)):(r.assign(Ke._`${n}.errors`,Ie.default.vErrors),o.unevaluated&&Gy(t),r.return(Ke._`${Ie.default.errors} === 0`))}function Gy({gen:t,evaluated:r,props:e,items:n}){e instanceof Ke.Name&&t.assign(Ke._`${r}.props`,e),n instanceof Ke.Name&&t.assign(Ke._`${r}.items`,n)}function tp(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}xn.checkStrictMode=tp});var _t=be(tt=>{"use strict";Object.defineProperty(tt,"__esModule",{value:!0});tt.func=tt.setEvaluated=tt.evaluatedPropsToName=tt.mergeEvaluated=tt.eachItem=tt.unescapeJsonPointer=tt.escapeJsonPointer=tt.escapeFragment=tt.unescapeFragment=tt.schemaRefOrVal=tt.schemaHasRulesButRef=tt.schemaHasRules=tt.checkUnknownRules=tt.alwaysValidSchema=tt.toHash=void 0;var Ot=ze(),Ky=Br();function Wy(t){let r={};for(let e of t)r[e]=!0;return r}tt.toHash=Wy;function Zy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(np(t,r),!ip(r,t.self.RULES.all))}tt.alwaysValidSchema=Zy;function np(t,r=t.schema){let{opts:e,self:n}=t;if(!e.strict||typeof r=="boolean")return;let s=n.RULES.keywords;for(let o in r)s[o]||Ky.checkStrictMode(t,`unknown keyword: "${o}"`)}tt.checkUnknownRules=np;function ip(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}tt.schemaHasRules=ip;function Jy(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}tt.schemaHasRulesButRef=Jy;function Qy({topSchemaRef:t,schemaPath:r},e,n,s){if(!s){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Ot._`${e}`}return Ot._`${t}${r}${Ot.getProperty(n)}`}tt.schemaRefOrVal=Qy;function Xy(t){return op(decodeURIComponent(t))}tt.unescapeFragment=Xy;function Yy(t){return encodeURIComponent(sp(t))}tt.escapeFragment=Yy;function sp(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}tt.escapeJsonPointer=sp;function op(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}tt.unescapeJsonPointer=op;function eb(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}tt.eachItem=eb;function rp({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:n}){return(s,o,l,f)=>{let c=l===void 0?o:l instanceof Ot.Name?(o instanceof Ot.Name?t(s,o,l):r(s,o,l),l):o instanceof Ot.Name?(r(s,l,o),o):e(o,l);return f===Ot.Name&&!(c instanceof Ot.Name)?n(s,c):c}}tt.mergeEvaluated={props:rp({mergeNames:(t,r,e)=>t.if(Ot._`${e} !== true && ${r} !== undefined`,()=>{t.if(Ot._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,Ot._`${e} || {}`).code(Ot._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(Ot._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,Ot._`${e} || {}`),Ol(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:ap}),items:rp({mergeNames:(t,r,e)=>t.if(Ot._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,Ot._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(Ot._`${e} !== true`,()=>t.assign(e,r===!0?!0:Ot._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function ap(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",Ot._`{}`);return r!==void 0&&Ol(t,e,r),e}tt.evaluatedPropsToName=ap;function Ol(t,r,e){Object.keys(e).forEach(n=>t.assign(Ot._`${r}${Ot.getProperty(n)}`,!0))}tt.setEvaluated=Ol;function tb(t,r){return t.scopeValue("func",{ref:r,code:r.code})}tt.func=tb});var is=be(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.reportTypeError=Xt.checkDataTypes=Xt.checkDataType=Xt.coerceAndCheckDataType=Xt.getJSONTypes=Xt.getSchemaTypes=Xt.DataType=void 0;var rb=sl(),nb=ol(),ib=zs(),Oe=ze(),lp=_t(),Gs;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Gs=Xt.DataType||(Xt.DataType={}));function sb(t){let r=up(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}Xt.getSchemaTypes=sb;function up(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(rb.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Xt.getJSONTypes=up;function ob(t,r){let{gen:e,data:n,opts:s}=t,o=ab(r,s.coerceTypes),l=r.length>0&&!(o.length===0&&r.length===1&&nb.schemaHasRulesForType(t,r[0]));if(l){let f=ql(r,n,s.strict,Gs.Wrong);e.if(f,()=>{o.length?lb(t,r,o):Nl(t)})}return l}Xt.coerceAndCheckDataType=ob;var fp=new Set(["string","number","integer","boolean","null"]);function ab(t,r){return r?t.filter(e=>fp.has(e)||r==="array"&&e==="array"):[]}function lb(t,r,e){let{gen:n,data:s,opts:o}=t,l=n.let("dataType",Oe._`typeof ${s}`),f=n.let("coerced",Oe._`undefined`);o.coerceTypes==="array"&&n.if(Oe._`${l} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,()=>n.assign(s,Oe._`${s}[0]`).assign(l,Oe._`typeof ${s}`).if(ql(r,s,o.strict),()=>n.assign(f,s))),n.if(Oe._`${f} !== undefined`);for(let g of e)(fp.has(g)||g==="array"&&o.coerceTypes==="array")&&c(g);n.else(),Nl(t),n.endIf(),n.if(Oe._`${f} !== undefined`,()=>{n.assign(s,f),ub(t,f)});function c(g){switch(g){case"string":n.elseIf(Oe._`${l} == "number" || ${l} == "boolean"`).assign(f,Oe._`"" + ${s}`).elseIf(Oe._`${s} === null`).assign(f,Oe._`""`);return;case"number":n.elseIf(Oe._`${l} == "boolean" || ${s} === null
3
3
  || (${l} == "string" && ${s} && ${s} == +${s})`).assign(f,Oe._`+${s}`);return;case"integer":n.elseIf(Oe._`${l} === "boolean" || ${s} === null
4
4
  || (${l} === "string" && ${s} && ${s} == +${s} && !(${s} % 1))`).assign(f,Oe._`+${s}`);return;case"boolean":n.elseIf(Oe._`${s} === "false" || ${s} === 0 || ${s} === null`).assign(f,!1).elseIf(Oe._`${s} === "true" || ${s} === 1`).assign(f,!0);return;case"null":n.elseIf(Oe._`${s} === "" || ${s} === 0 || ${s} === false`),n.assign(f,null);return;case"array":n.elseIf(Oe._`${l} === "string" || ${l} === "number"
5
- || ${l} === "boolean" || ${s} === null`).assign(f,Oe._`[${s}]`)}}}function Jy({gen:t,parentData:r,parentDataProperty:e},n){t.if(Oe._`${r} !== undefined`,()=>t.assign(Oe._`${r}[${e}]`,n))}function Al(t,r,e,n=Us.Correct){let s=n===Us.Correct?Oe.operators.EQ:Oe.operators.NEQ,o;switch(t){case"null":return Oe._`${r} ${s} null`;case"array":o=Oe._`Array.isArray(${r})`;break;case"object":o=Oe._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":o=l(Oe._`!(${r} % 1) && !isNaN(${r})`);break;case"number":o=l();break;default:return Oe._`typeof ${r} ${s} ${t}`}return n===Us.Correct?o:Oe.not(o);function l(f=Oe.nil){return Oe.and(Oe._`typeof ${r} == "number"`,f,e?Oe._`isFinite(${r})`:Oe.nil)}}Qt.checkDataType=Al;function El(t,r,e,n){if(t.length===1)return Al(t[0],r,e,n);let s,o=Zc.toHash(t);if(o.array&&o.object){let l=Oe._`typeof ${r} != "object"`;s=o.null?l:Oe._`!${r} || ${l}`,delete o.null,delete o.array,delete o.object}else s=Oe.nil;o.number&&delete o.integer;for(let l in o)s=Oe.and(s,Al(l,r,e,n));return s}Qt.checkDataTypes=El;var Zy={message:({schema:t})=>Oe.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Oe._`{type: ${t}}`:Oe._`{type: ${r}}`};function _l(t){let r=Qy(t);Uy.reportError(r,Zy)}Qt.reportTypeError=_l;function Qy(t){let{gen:r,data:e,schema:n}=t,s=Zc.schemaRefOrVal(t,n,"type");return{gen:r,keyword:"type",data:e,schema:n.type,schemaCode:s,schemaValue:s,parentSchema:n,params:{},it:t}}});var Ms=be(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.getData=void 0;var Yc=ns(),Mo=_t(),Hs=Bs(),Nt=ze(),Sl=ln(),Xy=ki(),Pl=class{constructor(r,e,n){if(e$(r,e,n),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=n,this.data=r.data,this.schema=r.schema[n],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Mo.schemaRefOrVal(r,this.schema,n,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",ep(this.$data,r));else if(this.schemaCode=this.schemaValue,!Yy(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=r.gen.const("_errs",Sl.default.errors))}result(r,e,n){this.gen.if(Nt.not(r)),n?n():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(Nt._`${e} !== undefined && (${Nt.or(this.invalid$data(),r)})`)}error(r){(r?Hs.reportExtraError:Hs.reportError)(this,this.def.error)}$dataError(){Hs.reportError(this,this.def.$dataError||Hs.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Hs.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,n=Nt.nil){this.gen.block(()=>{this.check$data(r,n),e()})}check$data(r=Nt.nil,e=Nt.nil){if(!this.$data)return;let{gen:n,schemaCode:s,schemaType:o,def:l}=this;n.if(Nt.or(Nt._`${s} === undefined`,e)),r!==Nt.nil&&n.assign(r,!0),(o.length||l.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),r!==Nt.nil&&n.assign(r,!1)),n.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:n,def:s,it:o}=this;return Nt.or(l(),f());function l(){if(n.length){if(!(e instanceof Nt.Name))throw new Error("ajv implementation error");let c=Array.isArray(n)?n:[n];return Nt._`${Yc.checkDataTypes(c,e,o.opts.strict,Yc.DataType.Wrong)}`}return Nt.nil}function f(){if(s.validateSchema){let c=r.scopeValue("validate$data",{ref:s.validateSchema});return Nt._`!${c}(${e})`}return Nt.nil}}subschema(r,e){return Xy.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:n,gen:s}=this;!n.opts.unevaluated||(n.props!==!0&&r.props!==void 0&&(n.props=Mo.mergeEvaluated.props(s,r.props,n.props,e)),n.items!==!0&&r.items!==void 0&&(n.items=Mo.mergeEvaluated.items(s,r.items,n.items,e)))}mergeValidEvaluated(r,e){let{it:n,gen:s}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return s.if(e,()=>this.mergeEvaluated(r,Nt.Name)),!0}};Gs.default=Pl;function Yy(t,r,e=!1){return!r.length||r.some(n=>n==="array"?Array.isArray(t):n==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==n||e&&typeof t>"u")}function e$({schema:t,opts:r,self:e},n,s){if(Array.isArray(n.keyword)?!n.keyword.includes(s):n.keyword!==s)throw new Error("ajv implementation error");let o=n.dependencies;if(o!=null&&o.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`);if(n.validateSchema&&!n.validateSchema(t[s])){let f="keyword value is invalid: "+e.errorsText(n.validateSchema.errors);if(r.validateSchema==="log")e.logger.error(f);else throw new Error(f)}}var t$=/^\/(?:[^~]|~0|~1)*$/,r$=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ep(t,{dataLevel:r,dataNames:e,dataPathArr:n}){let s,o;if(t==="")return Sl.default.rootData;if(t[0]==="/"){if(!t$.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);s=t,o=Sl.default.rootData}else{let h=r$.exec(t);if(!h)throw new Error(`Invalid JSON-pointer: ${t}`);let m=+h[1];if(s=h[2],s==="#"){if(m>=r)throw new Error(c("property/index",m));return n[r-m]}if(m>r)throw new Error(c("data",m));if(o=e[r-m],!s)return o}let l=o,f=s.split("/");for(let h of f)h&&(o=Nt._`${o}${Nt.getProperty(Mo.unescapeJsonPointer(h))}`,l=Nt._`${l} && ${o}`);return l;function c(h,m){return`Cannot access ${h} ${m} levels up, current level is ${r}`}}Gs.getData=ep});var Uo=be((ss,tp)=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.MissingRefError=ss.ValidationError=void 0;var Tl=Vs(),zo=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};ss.ValidationError=zo;var Vo=class extends Error{constructor(r,e,n){super(n||`can't resolve reference ${e} from id ${r}`),this.missingRef=Tl.resolveUrl(r,e),this.missingSchema=Tl.normalizeId(Tl.getFullPath(this.missingRef))}};ss.MissingRefError=Vo;tp.exports={ValidationError:zo,MissingRefError:Vo}});var Ol=be(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.resolveSchema=Zr.getCompilingSchema=Zr.resolveRef=Zr.compileSchema=Zr.SchemaEnv=void 0;var fn=ze(),n$=Uo(),xi=ln(),cn=Vs(),rp=_t(),i$=Br(),s$=kl(),os=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let n;typeof r.schema=="object"&&(n=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:cn.normalizeId(n==null?void 0:n.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};Zr.SchemaEnv=os;function Il(t){let r=np.call(this,t);if(r)return r;let e=cn.getFullPath(t.root.baseId),{es5:n,lines:s}=this.opts.code,{ownProperties:o}=this.opts,l=new fn.CodeGen(this.scope,{es5:n,lines:s,ownProperties:o}),f;t.$async&&(f=l.scopeValue("Error",{ref:n$.ValidationError,code:fn._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let h={gen:l,allErrors:this.opts.allErrors,data:xi.default.data,parentData:xi.default.parentData,parentDataProperty:xi.default.parentDataProperty,dataNames:[xi.default.data],dataPathArr:[fn.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:fn.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:fn.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:fn._`""`,opts:this.opts,self:this},m;try{this._compilations.add(t),i$.validateFunctionCode(h),l.optimize(this.opts.code.optimize);let b=l.toString();m=`${l.scopeRefs(xi.default.scope)}return ${b}`,this.opts.code.process&&(m=this.opts.code.process(m,t));let A=new Function(`${xi.default.self}`,`${xi.default.scope}`,m)(this,this.scope.get());if(this.scope.value(c,{ref:A}),A.errors=null,A.schema=t.schema,A.schemaEnv=t,t.$async&&(A.$async=!0),this.opts.code.source===!0&&(A.source={validateName:c,validateCode:b,scopeValues:l._values}),this.opts.unevaluated){let{props:E,items:O}=h;A.evaluated={props:E instanceof fn.Name?void 0:E,items:O instanceof fn.Name?void 0:O,dynamicProps:E instanceof fn.Name,dynamicItems:O instanceof fn.Name},A.source&&(A.source.evaluated=fn.stringify(A.evaluated))}return t.validate=A,t}catch(b){throw delete t.validate,delete t.validateName,m&&this.logger.error("Error compiling schema, function code:",m),b}finally{this._compilations.delete(t)}}Zr.compileSchema=Il;function o$(t,r,e){var n;e=cn.resolveUrl(r,e);let s=t.refs[e];if(s)return s;let o=u$.call(this,t,e);if(o===void 0){let l=(n=t.localRefs)===null||n===void 0?void 0:n[e];l&&(o=new os({schema:l,root:t,baseId:r}))}if(o!==void 0)return t.refs[e]=a$.call(this,o)}Zr.resolveRef=o$;function a$(t){return cn.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Il.call(this,t)}function np(t){for(let r of this._compilations)if(l$(r,t))return r}Zr.getCompilingSchema=np;function l$(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function u$(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Ho.call(this,t,r)}function Ho(t,r){let e=s$.parse(r),n=cn._getFullPath(e),s=cn.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&n===s)return Fl.call(this,e,t);let o=cn.normalizeId(n),l=this.refs[o]||this.schemas[o];if(typeof l=="string"){let f=Ho.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:Fl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Il.call(this,l),o===cn.normalizeId(r)){let{schema:f}=l;return f.$id&&(s=cn.resolveUrl(s,f.$id)),new os({schema:f,root:t,baseId:s})}return Fl.call(this,e,l)}}Zr.resolveSchema=Ho;var f$=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Fl(t,{baseId:r,schema:e,root:n}){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[rp.unescapeFragment(l)],e===void 0))return;!f$.has(l)&&typeof e=="object"&&e.$id&&(r=cn.resolveUrl(r,e.$id))}let o;if(typeof e!="boolean"&&e.$ref&&!rp.schemaHasRulesButRef(e,this.RULES)){let l=cn.resolveUrl(r,e.$ref);o=Ho.call(this,n,l)}if(o=o||new os({schema:e,root:n,baseId:r}),o.schema!==o.root.schema)return o}});var ip=be((j1,c$)=>{c$.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 up=be(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.CodeGen=Xt.Name=Xt.nil=Xt.stringify=Xt.str=Xt._=Xt.KeywordCxt=void 0;var p$=Ms();Xt.KeywordCxt=p$.default;var as=ze();Object.defineProperty(Xt,"_",{enumerable:!0,get:function(){return as._}});Object.defineProperty(Xt,"str",{enumerable:!0,get:function(){return as.str}});Object.defineProperty(Xt,"stringify",{enumerable:!0,get:function(){return as.stringify}});Object.defineProperty(Xt,"nil",{enumerable:!0,get:function(){return as.nil}});Object.defineProperty(Xt,"Name",{enumerable:!0,get:function(){return as.Name}});Object.defineProperty(Xt,"CodeGen",{enumerable:!0,get:function(){return as.CodeGen}});var Dl=Uo(),d$=Za(),Ks=Ol(),m$=ze(),Go=Vs(),Ko=ns(),ql=_t(),sp=ip(),h$=["removeAdditional","useDefaults","coerceTypes"],g$=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),y$={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."},$$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function b$(t){var r,e,n,s,o,l,f,c,h,m,b,C;let A=(r=t.strict)!==null&&r!==void 0?r:!0,E=A?"log":!1,O=(e=t.code)===null||e===void 0?void 0:e.optimize,D=O===!0||O===void 0?1:O||0;return{strict:A,strictTypes:(n=t.strictTypes)!==null&&n!==void 0?n:E,strictTuples:(s=t.strictTuples)!==null&&s!==void 0?s:E,code:t.code?{...t.code,optimize:D}:{optimize:D},loopRequired:(o=t.loopRequired)!==null&&o!==void 0?o: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:(h=t.inlineRefs)!==null&&h!==void 0?h:!0,addUsedSchema:(m=t.addUsedSchema)!==null&&m!==void 0?m:!0,validateSchema:(b=t.validateSchema)!==null&&b!==void 0?b:!0,validateFormats:(C=t.validateFormats)!==null&&C!==void 0?C:!0}}var Ws=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...b$(r)};let{es5:e,lines:n}=this.opts.code;this.scope=new m$.ValueScope({scope:{},prefixes:g$,es5:e,lines:n}),this.logger=A$(r.logger);let s=r.validateFormats;r.validateFormats=!1,this.RULES=d$.getRules(),op.call(this,y$,r,"NOT SUPPORTED"),op.call(this,$$,r,"DEPRECATED","warn"),this._metaOpts=x$.call(this),r.formats&&k$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&v$.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),w$.call(this),r.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(sp,sp.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let n;if(typeof r=="string"){if(n=this.getSchema(r),!n)throw new Error(`no schema with key or ref "${r}"`)}else n=this.compile(r);let s=n(e);return"$async"in n||(this.errors=n.errors),s}compile(r,e){let n=this._addSchema(r,e);return n.validate||this._compileSchemaEnv(n)}compileAsync(r,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return s.call(this,r,e);async function s(m,b){await o.call(this,m.$schema);let C=this._addSchema(m,b);return C.validate||l.call(this,C)}async function o(m){m&&!this.getSchema(m)&&await s.call(this,{$ref:m},!0)}async function l(m){try{return this._compileSchemaEnv(m)}catch(b){if(!(b instanceof Dl.MissingRefError))throw b;return f.call(this,b),await c.call(this,b.missingSchema),l.call(this,m)}}function f({missingSchema:m,missingRef:b}){if(this.refs[m])throw new Error(`AnySchema ${m} is loaded but ${b} cannot be resolved`)}async function c(m){let b=await h.call(this,m);this.refs[m]||await o.call(this,b.$schema),this.refs[m]||this.addSchema(b,m,e)}async function h(m){let b=this._loading[m];if(b)return b;try{return await(this._loading[m]=n(m))}finally{delete this._loading[m]}}}addSchema(r,e,n,s=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,n,s);return this}let o;if(typeof r=="object"&&(o=r.$id,o!==void 0&&typeof o!="string"))throw new Error("schema id must be string");return e=Go.normalizeId(e||o),this._checkUnique(e),this.schemas[e]=this._addSchema(r,n,s,!0),this}addMetaSchema(r,e,n=this.opts.validateSchema){return this.addSchema(r,e,!0,n),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let n;if(n=r.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let s=this.validate(n,r);if(!s&&e){let o="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(o);else throw new Error(o)}return s}getSchema(r){let e;for(;typeof(e=ap.call(this,r))=="string";)r=e;if(e===void 0){let n=new Ks.SchemaEnv({schema:{}});if(e=Ks.resolveSchema.call(this,n,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=ap.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 n=r.$id;return n&&(n=Go.normalizeId(n),delete this.schemas[n],delete this.refs[n]),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 n;if(typeof r=="string")n=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=n);else if(typeof r=="object"&&e===void 0){if(e=r,n=e.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(_$.call(this,n,e),!e)return ql.eachItem(n,o=>Rl.call(this,o)),this;P$.call(this,e);let s={...e,type:Ko.getJSONTypes(e.type),schemaType:Ko.getJSONTypes(e.schemaType)};return ql.eachItem(n,s.type.length===0?o=>Rl.call(this,o,s):o=>s.type.forEach(l=>Rl.call(this,o,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 n of e.rules){let s=n.rules.findIndex(o=>o.keyword===r);s>=0&&n.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:n="data"}={}){return!r||r.length===0?"No errors":r.map(s=>`${n}${s.dataPath} ${s.message}`).reduce((s,o)=>s+e+o)}$dataMetaSchema(r,e){let n=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let s of e){let o=s.split("/").slice(1),l=r;for(let f of o)l=l[f];for(let f in n){let c=n[f];if(typeof c!="object")continue;let{$data:h}=c.definition,m=l[f];h&&m&&(l[f]=lp(m))}}return r}_removeAllSchemas(r,e){for(let n in r){let s=r[n];(!e||e.test(n))&&(typeof s=="string"?delete r[n]:s&&!s.meta&&(this._cache.delete(s.schema),delete r[n]))}}_addSchema(r,e,n=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 o=this._cache.get(r);if(o!==void 0)return o;let l=Go.getSchemaRefs.call(this,r);o=new Ks.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(o.schema,o);let f=o.baseId;return s&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=o),n&&this.validateSchema(r,!0),o}_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):Ks.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{Ks.compileSchema.call(this,r)}finally{this.opts=e}}};Xt.default=Ws;Ws.ValidationError=Dl.ValidationError;Ws.MissingRefError=Dl.MissingRefError;function op(t,r,e,n="error"){for(let s in t){let o=s;o in r&&this.logger[n](`${e}: option ${s}. ${t[o]}`)}}function ap(t){return t=Go.normalizeId(t),this.schemas[t]||this.refs[t]}function w$(){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 k$(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function v$(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 x$(){let t={...this.opts};for(let r of h$)delete t[r];return t}var C$={log(){},warn(){},error(){}};function A$(t){if(t===!1)return C$;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 E$=/^[a-z_$][a-z0-9_$:-]*$/i;function _$(t,r){let{RULES:e}=this;if(ql.eachItem(t,n=>{if(e.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!E$.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function Rl(t,r,e){var n;let s=r==null?void 0:r.post;if(e&&s)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:o}=this,l=s?o.post:o.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},o.rules.push(l)),o.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:Ko.getJSONTypes(r.type),schemaType:Ko.getJSONTypes(r.schemaType)}};r.before?S$.call(this,l,f,r.before):l.rules.push(f),o.all[t]=f,(n=r.implements)===null||n===void 0||n.forEach(c=>this.addKeyword(c))}function S$(t,r,e){let n=t.rules.findIndex(s=>s.keyword===e);n>=0?t.rules.splice(n,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function P$(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=lp(r)),t.validateSchema=this.compile(r,!0))}var T$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function lp(t){return{anyOf:[t,T$]}}});var fp=be(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var F$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Nl.default=F$});var mp=be(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.callRef=Ci.getValidate=void 0;var I$=Uo(),cp=un(),Rr=ze(),ls=ln(),pp=Ol(),Wo=_t(),O$={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:n}=t,{baseId:s,schemaEnv:o,validateName:l,opts:f,self:c}=n;if(e==="#"||e==="#/")return m();let h=pp.resolveRef.call(c,o.root,s,e);if(h===void 0)throw new I$.MissingRefError(s,e);if(h instanceof pp.SchemaEnv)return b(h);return C(h);function m(){if(o===o.root)return Jo(t,l,o,o.$async);let A=r.scopeValue("root",{ref:o.root});return Jo(t,Rr._`${A}.validate`,o.root,o.root.$async)}function b(A){let E=dp(t,A);Jo(t,E,A,A.$async)}function C(A){let E=r.scopeValue("schema",f.code.source===!0?{ref:A,code:Rr.stringify(A)}:{ref:A}),O=r.name("valid"),D=t.subschema({schema:A,dataTypes:[],schemaPath:Rr.nil,topSchemaRef:E,errSchemaPath:e},O);t.mergeEvaluated(D),t.ok(O)}}};function dp(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Rr._`${e.scopeValue("wrapper",{ref:r})}.validate`}Ci.getValidate=dp;function Jo(t,r,e,n){let{gen:s,it:o}=t,{allErrors:l,schemaEnv:f,opts:c}=o,h=c.passContext?ls.default.this:Rr.nil;n?m():b();function m(){if(!f.$async)throw new Error("async schema referenced by sync schema");let E=s.let("valid");s.try(()=>{s.code(Rr._`await ${cp.callValidateCode(t,r,h)}`),A(r),l||s.assign(E,!0)},O=>{s.if(Rr._`!(${O} instanceof ${o.ValidationError})`,()=>s.throw(O)),C(O),l||s.assign(E,!1)}),t.ok(E)}function b(){t.result(cp.callValidateCode(t,r,h),()=>A(r),()=>C(r))}function C(E){let O=Rr._`${E}.errors`;s.assign(ls.default.vErrors,Rr._`${ls.default.vErrors} === null ? ${O} : ${ls.default.vErrors}.concat(${O})`),s.assign(ls.default.errors,Rr._`${ls.default.vErrors}.length`)}function A(E){var O;if(!o.opts.unevaluated)return;let D=(O=e==null?void 0:e.validate)===null||O===void 0?void 0:O.evaluated;if(o.props!==!0)if(D&&!D.dynamicProps)D.props!==void 0&&(o.props=Wo.mergeEvaluated.props(s,D.props,o.props));else{let M=s.var("props",Rr._`${E}.evaluated.props`);o.props=Wo.mergeEvaluated.props(s,M,o.props,Rr.Name)}if(o.items!==!0)if(D&&!D.dynamicItems)D.items!==void 0&&(o.items=Wo.mergeEvaluated.items(s,D.items,o.items));else{let M=s.var("items",Rr._`${E}.evaluated.items`);o.items=Wo.mergeEvaluated.items(s,M,o.items,Rr.Name)}}}Ci.callRef=Jo;Ci.default=O$});var hp=be(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var R$=fp(),q$=mp(),D$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",R$.default,q$.default];Ll.default=D$});var gp=be(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var Zo=ze(),ti=Zo.operators,Qo={maximum:{okStr:"<=",ok:ti.LTE,fail:ti.GT},minimum:{okStr:">=",ok:ti.GTE,fail:ti.LT},exclusiveMaximum:{okStr:"<",ok:ti.LT,fail:ti.GTE},exclusiveMinimum:{okStr:">",ok:ti.GT,fail:ti.LTE}},N$={message:({keyword:t,schemaCode:r})=>Zo.str`should be ${Qo[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Zo._`{comparison: ${Qo[t].okStr}, limit: ${r}}`},L$={keyword:Object.keys(Qo),type:"number",schemaType:"number",$data:!0,error:N$,code(t){let{keyword:r,data:e,schemaCode:n}=t;t.fail$data(Zo._`${e} ${Qo[r].fail} ${n} || isNaN(${e})`)}};jl.default=L$});var yp=be(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});var Js=ze(),j$={message:({schemaCode:t})=>Js.str`should be multiple of ${t}`,params:({schemaCode:t})=>Js._`{multipleOf: ${t}}`},B$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:j$,code(t){let{gen:r,data:e,schemaCode:n,it:s}=t,o=s.opts.multipleOfPrecision,l=r.let("res"),f=o?Js._`Math.abs(Math.round(${l}) - ${l}) > 1e-${o}`:Js._`${l} !== parseInt(${l})`;t.fail$data(Js._`(${n} === 0 || (${l} = ${e}/${n}, ${f}))`)}};Bl.default=B$});var $p=be(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});function M$(t){let r=t.length,e=0,n=0,s;for(;n<r;)e++,s=t.charCodeAt(n++),s>=55296&&s<=56319&&n<r&&(s=t.charCodeAt(n),(s&64512)===56320&&n++);return e}Ml.default=M$});var bp=be(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var ri=ze(),z$=$p(),V$={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return ri.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>ri._`{limit: ${t}}`},U$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:V$,code(t){let{keyword:r,data:e,schemaCode:n,it:s}=t,o=r==="maxLength"?ri.operators.GT:ri.operators.LT,l;if(s.opts.unicode===!1)l=ri._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:z$.default,code:ri._`require("ajv/dist/compile/ucs2length").default`});l=ri._`${f}(${e})`}t.fail$data(ri._`${l} ${o} ${n}`)}};zl.default=U$});var wp=be(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var H$=un(),Xo=ze(),G$={message:({schemaCode:t})=>Xo.str`should match pattern "${t}"`,params:({schemaCode:t})=>Xo._`{pattern: ${t}}`},K$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:G$,code(t){let{gen:r,data:e,$data:n,schema:s,schemaCode:o}=t,l=n?Xo._`(new RegExp(${o}, "u"))`:H$.usePattern(r,s);t.fail$data(Xo._`!${l}.test(${e})`)}};Vl.default=K$});var kp=be(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var Zs=ze(),W$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Zs.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Zs._`{limit: ${t}}`},J$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:W$,code(t){let{keyword:r,data:e,schemaCode:n}=t,s=r==="maxProperties"?Zs.operators.GT:Zs.operators.LT;t.fail$data(Zs._`Object.keys(${e}).length ${s} ${n}`)}};Ul.default=J$});var vp=be(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var Qs=un(),Xs=ze(),Z$=Br(),Q$={message:({params:{missingProperty:t}})=>Xs.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>Xs._`{missingProperty: ${t}}`},X$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:Q$,code(t){let{gen:r,schema:e,schemaCode:n,data:s,$data:o,it:l}=t,{opts:f}=l;if(!o&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?h():m(),f.strictRequired){let A=t.parentSchema.properties,{definedProperties:E}=t.it;for(let O of e)if((A==null?void 0:A[O])===void 0&&!E.has(O)){let D=l.schemaEnv.baseId+l.errSchemaPath,M=`required property "${O}" is not defined at "${D}" (strictRequired)`;Z$.checkStrictMode(l,M,l.opts.strictRequired)}}function h(){if(c||o)t.block$data(Xs.nil,b);else for(let A of e)Qs.checkReportMissingProp(t,A)}function m(){let A=r.let("missing");if(c||o){let E=r.let("valid",!0);t.block$data(E,()=>C(A,E)),t.ok(E)}else r.if(Qs.checkMissingProp(t,e,A)),Qs.reportMissingProp(t,A),r.else()}function b(){r.forOf("prop",n,A=>{t.setParams({missingProperty:A}),r.if(Qs.noPropertyInData(r,s,A,f.ownProperties),()=>t.error())})}function C(A,E){t.setParams({missingProperty:A}),r.forOf(A,n,()=>{r.assign(E,Qs.propertyInData(r,s,A,f.ownProperties)),r.if(Xs.not(E),()=>{t.error(),r.break()})},Xs.nil)}}};Hl.default=X$});var xp=be(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});var Ys=ze(),Y$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return Ys.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Ys._`{limit: ${t}}`},eb={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Y$,code(t){let{keyword:r,data:e,schemaCode:n}=t,s=r==="maxItems"?Ys.operators.GT:Ys.operators.LT;t.fail$data(Ys._`${e}.length ${s} ${n}`)}};Gl.default=eb});var Cp=be(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});var Kl=ns(),Ht=ze(),tb=zs(),rb={message:({params:{i:t,j:r}})=>Ht.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Ht._`{i: ${t}, j: ${r}}`},nb={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:rb,code(t){let{gen:r,data:e,$data:n,schema:s,parentSchema:o,schemaCode:l,it:f}=t;if(!n&&!s)return;let c=r.let("valid"),h=o.items?Kl.getSchemaTypes(o.items):[];t.block$data(c,m,Ht._`${l} === false`),t.ok(c);function m(){let E=r.let("i",Ht._`${e}.length`),O=r.let("j");t.setParams({i:E,j:O}),r.assign(c,!0),r.if(Ht._`${E} > 1`,()=>(b()?C:A)(E,O))}function b(){return h.length>0&&!h.some(E=>E==="object"||E==="array")}function C(E,O){let D=r.name("item"),M=Kl.checkDataTypes(h,D,f.opts.strict,Kl.DataType.Wrong),X=r.const("indices",Ht._`{}`);r.for(Ht._`;${E}--;`,()=>{r.let(D,Ht._`${e}[${E}]`),r.if(M,Ht._`continue`),h.length>1&&r.if(Ht._`typeof ${D} == "string"`,Ht._`${D} += "_"`),r.if(Ht._`typeof ${X}[${D}] == "number"`,()=>{r.assign(O,Ht._`${X}[${D}]`),t.error(),r.assign(c,!1).break()}).code(Ht._`${X}[${D}] = ${E}`)})}function A(E,O){let D=t.gen.scopeValue("func",{ref:tb,code:Ht._`require("ajv/dist/compile/equal")`}),M=r.name("outer");r.label(M).for(Ht._`;${E}--;`,()=>r.for(Ht._`${O} = ${E}; ${O}--;`,()=>r.if(Ht._`${D}(${e}[${E}], ${e}[${O}])`,()=>{t.error(),r.assign(c,!1).break(M)})))}}};Wl.default=nb});var Ap=be(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});var Jl=ze(),ib=zs(),sb={message:"should be equal to constant",params:({schemaCode:t})=>Jl._`{allowedValue: ${t}}`},ob={keyword:"const",$data:!0,error:sb,code(t){let r=t.gen.scopeValue("func",{ref:ib,code:Jl._`require("ajv/dist/compile/equal")`});t.fail$data(Jl._`!${r}(${t.data}, ${t.schemaCode})`)}};Zl.default=ob});var Ep=be(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var us=ze(),ab=zs(),lb={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>us._`{allowedValues: ${t}}`},ub={keyword:"enum",schemaType:"array",$data:!0,error:lb,code(t){let{gen:r,data:e,$data:n,schema:s,schemaCode:o,it:l}=t;if(!n&&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:ab,code:us._`require("ajv/dist/compile/equal")`}),h;if(f||n)h=r.let("valid"),t.block$data(h,m);else{if(!Array.isArray(s))throw new Error("ajv implementation error");let C=r.const("vSchema",o);h=us.or(...s.map((A,E)=>b(C,E)))}t.pass(h);function m(){r.assign(h,!1),r.forOf("v",o,C=>r.if(us._`${c}(${e}, ${C})`,()=>r.assign(h,!0).break()))}function b(C,A){let E=s[A];return E&&typeof E=="object"?us._`${c}(${e}, ${C}[${A}])`:us._`${e} === ${E}`}}};Ql.default=ub});var _p=be(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var fb=gp(),cb=yp(),pb=bp(),db=wp(),mb=kp(),hb=vp(),gb=xp(),yb=Cp(),$b=Ap(),bb=Ep(),wb=[fb.default,cb.default,pb.default,db.default,mb.default,hb.default,gb.default,yb.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},$b.default,bb.default];Xl.default=wb});var Sp=be(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});var Ai=ze(),kb=ki(),vb=_t(),xb=Br(),Cb={message:({params:{len:t}})=>Ai.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Ai._`{limit: ${t}}`},Ab={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:Cb,code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t,{items:l}=n;if(!Array.isArray(l)){xb.checkStrictMode(o,'"additionalItems" is ignored when "items" is not an array of schemas');return}o.items=!0;let f=r.const("len",Ai._`${s}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(Ai._`${f} <= ${l.length}`);else if(typeof e=="object"&&!vb.alwaysValidSchema(o,e)){let h=r.var("valid",Ai._`${f} <= ${l.length}`);r.if(Ai.not(h),()=>c(h)),t.ok(h)}function c(h){r.forRange("i",l.length,f,m=>{t.subschema({keyword:"additionalItems",dataProp:m,dataPropType:kb.Type.Num},h),o.allErrors||r.if(Ai.not(h),()=>r.break())})}}};Yl.default=Ab});var Tp=be(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});var Pp=ze(),eu=_t(),Eb=Br(),_b=un(),Sb={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:n}=t;if(Array.isArray(e))n.opts.unevaluated&&e.length&&n.items!==!0&&(n.items=eu.mergeEvaluated.items(r,e.length,n.items)),s(e);else{if(n.items=!0,eu.alwaysValidSchema(n,e))return;t.ok(_b.validateArray(t))}function s(o){let{parentSchema:l,data:f}=t;if(n.opts.strictTuples&&!Pb(o.length,l)){let m=`"items" is ${o.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;Eb.checkStrictMode(n,m,n.opts.strictTuples)}let c=r.name("valid"),h=r.const("len",Pp._`${f}.length`);o.forEach((m,b)=>{eu.alwaysValidSchema(n,m)||(r.if(Pp._`${h} > ${b}`,()=>t.subschema({keyword:"items",schemaProp:b,dataProp:b},c)),t.ok(c))})}}};function Pb(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}tu.default=Sb});var Ip=be(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});var pn=ze(),Tb=ki(),Fb=_t(),Fp=Br(),Ib={message:({params:{min:t,max:r}})=>r===void 0?pn.str`should contain at least ${t} valid item(s)`:pn.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?pn._`{minContains: ${t}}`:pn._`{minContains: ${t}, maxContains: ${r}}`},Ob={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Ib,code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t,l,f,{minContains:c,maxContains:h}=n;o.opts.next?(l=c===void 0?1:c,f=h):l=1;let m=r.const("len",pn._`${s}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){Fp.checkStrictMode(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){Fp.checkStrictMode(o,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(Fb.alwaysValidSchema(o,e)){let E=pn._`${m} >= ${l}`;f!==void 0&&(E=pn._`${E} && ${m} <= ${f}`),t.pass(E);return}o.items=!0;let b=r.name("valid");if(f===void 0&&l===1)C(b,()=>r.if(b,()=>r.break()));else{r.let(b,!1);let E=r.name("_valid"),O=r.let("count",0);C(E,()=>r.if(E,()=>A(O)))}t.result(b,()=>t.reset());function C(E,O){r.forRange("i",0,m,D=>{t.subschema({keyword:"contains",dataProp:D,dataPropType:Tb.Type.Num,compositeRule:!0},E),O()})}function A(E){r.code(pn._`${E}++`),f===void 0?r.if(pn._`${E} >= ${l}`,()=>r.assign(b,!0).break()):(r.if(pn._`${E} > ${f}`,()=>r.assign(b,!1).break()),l===1?r.assign(b,!0):r.if(pn._`${E} >= ${l}`,()=>r.assign(b,!0)))}}};ru.default=Ob});var qp=be(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.validateSchemaDeps=_n.validatePropertyDeps=_n.error=void 0;var nu=ze(),Rb=_t(),eo=un();_n.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let n=r===1?"property":"properties";return nu.str`should have ${n} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:n}})=>nu._`{property: ${t},
5
+ || ${l} === "boolean" || ${s} === null`).assign(f,Oe._`[${s}]`)}}}function ub({gen:t,parentData:r,parentDataProperty:e},n){t.if(Oe._`${r} !== undefined`,()=>t.assign(Oe._`${r}[${e}]`,n))}function Rl(t,r,e,n=Gs.Correct){let s=n===Gs.Correct?Oe.operators.EQ:Oe.operators.NEQ,o;switch(t){case"null":return Oe._`${r} ${s} null`;case"array":o=Oe._`Array.isArray(${r})`;break;case"object":o=Oe._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":o=l(Oe._`!(${r} % 1) && !isNaN(${r})`);break;case"number":o=l();break;default:return Oe._`typeof ${r} ${s} ${t}`}return n===Gs.Correct?o:Oe.not(o);function l(f=Oe.nil){return Oe.and(Oe._`typeof ${r} == "number"`,f,e?Oe._`isFinite(${r})`:Oe.nil)}}Xt.checkDataType=Rl;function ql(t,r,e,n){if(t.length===1)return Rl(t[0],r,e,n);let s,o=lp.toHash(t);if(o.array&&o.object){let l=Oe._`typeof ${r} != "object"`;s=o.null?l:Oe._`!${r} || ${l}`,delete o.null,delete o.array,delete o.object}else s=Oe.nil;o.number&&delete o.integer;for(let l in o)s=Oe.and(s,Rl(l,r,e,n));return s}Xt.checkDataTypes=ql;var fb={message:({schema:t})=>Oe.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Oe._`{type: ${t}}`:Oe._`{type: ${r}}`};function Nl(t){let r=cb(t);ib.reportError(r,fb)}Xt.reportTypeError=Nl;function cb(t){let{gen:r,data:e,schema:n}=t,s=lp.schemaRefOrVal(t,n,"type");return{gen:r,keyword:"type",data:e,schema:n.type,schemaCode:s,schemaValue:s,parentSchema:n,params:{},it:t}}});var Vs=be(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.getData=void 0;var cp=is(),Wo=_t(),Ks=zs(),Nt=ze(),Dl=ln(),pb=vi(),Ll=class{constructor(r,e,n){if(mb(r,e,n),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=n,this.data=r.data,this.schema=r.schema[n],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Wo.schemaRefOrVal(r,this.schema,n,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",pp(this.$data,r));else if(this.schemaCode=this.schemaValue,!db(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=r.gen.const("_errs",Dl.default.errors))}result(r,e,n){this.gen.if(Nt.not(r)),n?n():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(Nt._`${e} !== undefined && (${Nt.or(this.invalid$data(),r)})`)}error(r){(r?Ks.reportExtraError:Ks.reportError)(this,this.def.error)}$dataError(){Ks.reportError(this,this.def.$dataError||Ks.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Ks.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,n=Nt.nil){this.gen.block(()=>{this.check$data(r,n),e()})}check$data(r=Nt.nil,e=Nt.nil){if(!this.$data)return;let{gen:n,schemaCode:s,schemaType:o,def:l}=this;n.if(Nt.or(Nt._`${s} === undefined`,e)),r!==Nt.nil&&n.assign(r,!0),(o.length||l.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),r!==Nt.nil&&n.assign(r,!1)),n.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:n,def:s,it:o}=this;return Nt.or(l(),f());function l(){if(n.length){if(!(e instanceof Nt.Name))throw new Error("ajv implementation error");let c=Array.isArray(n)?n:[n];return Nt._`${cp.checkDataTypes(c,e,o.opts.strict,cp.DataType.Wrong)}`}return Nt.nil}function f(){if(s.validateSchema){let c=r.scopeValue("validate$data",{ref:s.validateSchema});return Nt._`!${c}(${e})`}return Nt.nil}}subschema(r,e){return pb.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:n,gen:s}=this;!n.opts.unevaluated||(n.props!==!0&&r.props!==void 0&&(n.props=Wo.mergeEvaluated.props(s,r.props,n.props,e)),n.items!==!0&&r.items!==void 0&&(n.items=Wo.mergeEvaluated.items(s,r.items,n.items,e)))}mergeValidEvaluated(r,e){let{it:n,gen:s}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return s.if(e,()=>this.mergeEvaluated(r,Nt.Name)),!0}};Ws.default=Ll;function db(t,r,e=!1){return!r.length||r.some(n=>n==="array"?Array.isArray(t):n==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==n||e&&typeof t>"u")}function mb({schema:t,opts:r,self:e},n,s){if(Array.isArray(n.keyword)?!n.keyword.includes(s):n.keyword!==s)throw new Error("ajv implementation error");let o=n.dependencies;if(o!=null&&o.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`);if(n.validateSchema&&!n.validateSchema(t[s])){let f="keyword value is invalid: "+e.errorsText(n.validateSchema.errors);if(r.validateSchema==="log")e.logger.error(f);else throw new Error(f)}}var hb=/^\/(?:[^~]|~0|~1)*$/,gb=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function pp(t,{dataLevel:r,dataNames:e,dataPathArr:n}){let s,o;if(t==="")return Dl.default.rootData;if(t[0]==="/"){if(!hb.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);s=t,o=Dl.default.rootData}else{let g=gb.exec(t);if(!g)throw new Error(`Invalid JSON-pointer: ${t}`);let h=+g[1];if(s=g[2],s==="#"){if(h>=r)throw new Error(c("property/index",h));return n[r-h]}if(h>r)throw new Error(c("data",h));if(o=e[r-h],!s)return o}let l=o,f=s.split("/");for(let g of f)g&&(o=Nt._`${o}${Nt.getProperty(Wo.unescapeJsonPointer(g))}`,l=Nt._`${l} && ${o}`);return l;function c(g,h){return`Cannot access ${g} ${h} levels up, current level is ${r}`}}Ws.getData=pp});var Qo=be((os,dp)=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.MissingRefError=os.ValidationError=void 0;var jl=Hs(),Zo=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};os.ValidationError=Zo;var Jo=class extends Error{constructor(r,e,n){super(n||`can't resolve reference ${e} from id ${r}`),this.missingRef=jl.resolveUrl(r,e),this.missingSchema=jl.normalizeId(jl.getFullPath(this.missingRef))}};os.MissingRefError=Jo;dp.exports={ValidationError:Zo,MissingRefError:Jo}});var zl=be(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.resolveSchema=Zr.getCompilingSchema=Zr.resolveRef=Zr.compileSchema=Zr.SchemaEnv=void 0;var fn=ze(),yb=Qo(),Ci=ln(),cn=Hs(),mp=_t(),bb=Br(),$b=Tl(),as=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let n;typeof r.schema=="object"&&(n=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:cn.normalizeId(n==null?void 0:n.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};Zr.SchemaEnv=as;function Ml(t){let r=hp.call(this,t);if(r)return r;let e=cn.getFullPath(t.root.baseId),{es5:n,lines:s}=this.opts.code,{ownProperties:o}=this.opts,l=new fn.CodeGen(this.scope,{es5:n,lines:s,ownProperties:o}),f;t.$async&&(f=l.scopeValue("Error",{ref:yb.ValidationError,code:fn._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let g={gen:l,allErrors:this.opts.allErrors,data:Ci.default.data,parentData:Ci.default.parentData,parentDataProperty:Ci.default.parentDataProperty,dataNames:[Ci.default.data],dataPathArr:[fn.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:fn.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:fn.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:fn._`""`,opts:this.opts,self:this},h;try{this._compilations.add(t),bb.validateFunctionCode(g),l.optimize(this.opts.code.optimize);let $=l.toString();h=`${l.scopeRefs(Ci.default.scope)}return ${$}`,this.opts.code.process&&(h=this.opts.code.process(h,t));let x=new Function(`${Ci.default.self}`,`${Ci.default.scope}`,h)(this,this.scope.get());if(this.scope.value(c,{ref:x}),x.errors=null,x.schema=t.schema,x.schemaEnv=t,t.$async&&(x.$async=!0),this.opts.code.source===!0&&(x.source={validateName:c,validateCode:$,scopeValues:l._values}),this.opts.unevaluated){let{props:A,items:I}=g;x.evaluated={props:A instanceof fn.Name?void 0:A,items:I instanceof fn.Name?void 0:I,dynamicProps:A instanceof fn.Name,dynamicItems:I instanceof fn.Name},x.source&&(x.source.evaluated=fn.stringify(x.evaluated))}return t.validate=x,t}catch($){throw delete t.validate,delete t.validateName,h&&this.logger.error("Error compiling schema, function code:",h),$}finally{this._compilations.delete(t)}}Zr.compileSchema=Ml;function wb(t,r,e){var n;e=cn.resolveUrl(r,e);let s=t.refs[e];if(s)return s;let o=xb.call(this,t,e);if(o===void 0){let l=(n=t.localRefs)===null||n===void 0?void 0:n[e];l&&(o=new as({schema:l,root:t,baseId:r}))}if(o!==void 0)return t.refs[e]=kb.call(this,o)}Zr.resolveRef=wb;function kb(t){return cn.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Ml.call(this,t)}function hp(t){for(let r of this._compilations)if(vb(r,t))return r}Zr.getCompilingSchema=hp;function vb(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function xb(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Xo.call(this,t,r)}function Xo(t,r){let e=$b.parse(r),n=cn._getFullPath(e),s=cn.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&n===s)return Bl.call(this,e,t);let o=cn.normalizeId(n),l=this.refs[o]||this.schemas[o];if(typeof l=="string"){let f=Xo.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:Bl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Ml.call(this,l),o===cn.normalizeId(r)){let{schema:f}=l;return f.$id&&(s=cn.resolveUrl(s,f.$id)),new as({schema:f,root:t,baseId:s})}return Bl.call(this,e,l)}}Zr.resolveSchema=Xo;var Cb=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Bl(t,{baseId:r,schema:e,root:n}){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[mp.unescapeFragment(l)],e===void 0))return;!Cb.has(l)&&typeof e=="object"&&e.$id&&(r=cn.resolveUrl(r,e.$id))}let o;if(typeof e!="boolean"&&e.$ref&&!mp.schemaHasRulesButRef(e,this.RULES)){let l=cn.resolveUrl(r,e.$ref);o=Xo.call(this,n,l)}if(o=o||new as({schema:e,root:n,baseId:r}),o.schema!==o.root.schema)return o}});var gp=be((X1,Ab)=>{Ab.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 kp=be(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.CodeGen=Yt.Name=Yt.nil=Yt.stringify=Yt.str=Yt._=Yt.KeywordCxt=void 0;var Eb=Vs();Yt.KeywordCxt=Eb.default;var ls=ze();Object.defineProperty(Yt,"_",{enumerable:!0,get:function(){return ls._}});Object.defineProperty(Yt,"str",{enumerable:!0,get:function(){return ls.str}});Object.defineProperty(Yt,"stringify",{enumerable:!0,get:function(){return ls.stringify}});Object.defineProperty(Yt,"nil",{enumerable:!0,get:function(){return ls.nil}});Object.defineProperty(Yt,"Name",{enumerable:!0,get:function(){return ls.Name}});Object.defineProperty(Yt,"CodeGen",{enumerable:!0,get:function(){return ls.CodeGen}});var Hl=Qo(),_b=sl(),Zs=zl(),Sb=ze(),Yo=Hs(),ea=is(),Ul=_t(),yp=gp(),Pb=["removeAdditional","useDefaults","coerceTypes"],Tb=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Fb={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."},Ib={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function Ob(t){var r,e,n,s,o,l,f,c,g,h,$,k;let x=(r=t.strict)!==null&&r!==void 0?r:!0,A=x?"log":!1,I=(e=t.code)===null||e===void 0?void 0:e.optimize,q=I===!0||I===void 0?1:I||0;return{strict:x,strictTypes:(n=t.strictTypes)!==null&&n!==void 0?n:A,strictTuples:(s=t.strictTuples)!==null&&s!==void 0?s:A,code:t.code?{...t.code,optimize:q}:{optimize:q},loopRequired:(o=t.loopRequired)!==null&&o!==void 0?o: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:(g=t.inlineRefs)!==null&&g!==void 0?g:!0,addUsedSchema:(h=t.addUsedSchema)!==null&&h!==void 0?h:!0,validateSchema:($=t.validateSchema)!==null&&$!==void 0?$:!0,validateFormats:(k=t.validateFormats)!==null&&k!==void 0?k:!0}}var Js=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...Ob(r)};let{es5:e,lines:n}=this.opts.code;this.scope=new Sb.ValueScope({scope:{},prefixes:Tb,es5:e,lines:n}),this.logger=jb(r.logger);let s=r.validateFormats;r.validateFormats=!1,this.RULES=_b.getRules(),bp.call(this,Fb,r,"NOT SUPPORTED"),bp.call(this,Ib,r,"DEPRECATED","warn"),this._metaOpts=Db.call(this),r.formats&&qb.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&Nb.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),Rb.call(this),r.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(yp,yp.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let n;if(typeof r=="string"){if(n=this.getSchema(r),!n)throw new Error(`no schema with key or ref "${r}"`)}else n=this.compile(r);let s=n(e);return"$async"in n||(this.errors=n.errors),s}compile(r,e){let n=this._addSchema(r,e);return n.validate||this._compileSchemaEnv(n)}compileAsync(r,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return s.call(this,r,e);async function s(h,$){await o.call(this,h.$schema);let k=this._addSchema(h,$);return k.validate||l.call(this,k)}async function o(h){h&&!this.getSchema(h)&&await s.call(this,{$ref:h},!0)}async function l(h){try{return this._compileSchemaEnv(h)}catch($){if(!($ instanceof Hl.MissingRefError))throw $;return f.call(this,$),await c.call(this,$.missingSchema),l.call(this,h)}}function f({missingSchema:h,missingRef:$}){if(this.refs[h])throw new Error(`AnySchema ${h} is loaded but ${$} cannot be resolved`)}async function c(h){let $=await g.call(this,h);this.refs[h]||await o.call(this,$.$schema),this.refs[h]||this.addSchema($,h,e)}async function g(h){let $=this._loading[h];if($)return $;try{return await(this._loading[h]=n(h))}finally{delete this._loading[h]}}}addSchema(r,e,n,s=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,n,s);return this}let o;if(typeof r=="object"&&(o=r.$id,o!==void 0&&typeof o!="string"))throw new Error("schema id must be string");return e=Yo.normalizeId(e||o),this._checkUnique(e),this.schemas[e]=this._addSchema(r,n,s,!0),this}addMetaSchema(r,e,n=this.opts.validateSchema){return this.addSchema(r,e,!0,n),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let n;if(n=r.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let s=this.validate(n,r);if(!s&&e){let o="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(o);else throw new Error(o)}return s}getSchema(r){let e;for(;typeof(e=$p.call(this,r))=="string";)r=e;if(e===void 0){let n=new Zs.SchemaEnv({schema:{}});if(e=Zs.resolveSchema.call(this,n,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=$p.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 n=r.$id;return n&&(n=Yo.normalizeId(n),delete this.schemas[n],delete this.refs[n]),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 n;if(typeof r=="string")n=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=n);else if(typeof r=="object"&&e===void 0){if(e=r,n=e.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(Mb.call(this,n,e),!e)return Ul.eachItem(n,o=>Vl.call(this,o)),this;Vb.call(this,e);let s={...e,type:ea.getJSONTypes(e.type),schemaType:ea.getJSONTypes(e.schemaType)};return Ul.eachItem(n,s.type.length===0?o=>Vl.call(this,o,s):o=>s.type.forEach(l=>Vl.call(this,o,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 n of e.rules){let s=n.rules.findIndex(o=>o.keyword===r);s>=0&&n.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:n="data"}={}){return!r||r.length===0?"No errors":r.map(s=>`${n}${s.dataPath} ${s.message}`).reduce((s,o)=>s+e+o)}$dataMetaSchema(r,e){let n=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let s of e){let o=s.split("/").slice(1),l=r;for(let f of o)l=l[f];for(let f in n){let c=n[f];if(typeof c!="object")continue;let{$data:g}=c.definition,h=l[f];g&&h&&(l[f]=wp(h))}}return r}_removeAllSchemas(r,e){for(let n in r){let s=r[n];(!e||e.test(n))&&(typeof s=="string"?delete r[n]:s&&!s.meta&&(this._cache.delete(s.schema),delete r[n]))}}_addSchema(r,e,n=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 o=this._cache.get(r);if(o!==void 0)return o;let l=Yo.getSchemaRefs.call(this,r);o=new Zs.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(o.schema,o);let f=o.baseId;return s&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=o),n&&this.validateSchema(r,!0),o}_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):Zs.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{Zs.compileSchema.call(this,r)}finally{this.opts=e}}};Yt.default=Js;Js.ValidationError=Hl.ValidationError;Js.MissingRefError=Hl.MissingRefError;function bp(t,r,e,n="error"){for(let s in t){let o=s;o in r&&this.logger[n](`${e}: option ${s}. ${t[o]}`)}}function $p(t){return t=Yo.normalizeId(t),this.schemas[t]||this.refs[t]}function Rb(){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 qb(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function Nb(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 Db(){let t={...this.opts};for(let r of Pb)delete t[r];return t}var Lb={log(){},warn(){},error(){}};function jb(t){if(t===!1)return Lb;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 Bb=/^[a-z_$][a-z0-9_$:-]*$/i;function Mb(t,r){let{RULES:e}=this;if(Ul.eachItem(t,n=>{if(e.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!Bb.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function Vl(t,r,e){var n;let s=r==null?void 0:r.post;if(e&&s)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:o}=this,l=s?o.post:o.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},o.rules.push(l)),o.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:ea.getJSONTypes(r.type),schemaType:ea.getJSONTypes(r.schemaType)}};r.before?zb.call(this,l,f,r.before):l.rules.push(f),o.all[t]=f,(n=r.implements)===null||n===void 0||n.forEach(c=>this.addKeyword(c))}function zb(t,r,e){let n=t.rules.findIndex(s=>s.keyword===e);n>=0?t.rules.splice(n,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function Vb(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=wp(r)),t.validateSchema=this.compile(r,!0))}var Ub={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function wp(t){return{anyOf:[t,Ub]}}});var vp=be(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});var Hb={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Gl.default=Hb});var Ep=be(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.callRef=Ai.getValidate=void 0;var Gb=Qo(),xp=un(),Fr=ze(),us=ln(),Cp=zl(),ta=_t(),Kb={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:n}=t,{baseId:s,schemaEnv:o,validateName:l,opts:f,self:c}=n;if(e==="#"||e==="#/")return h();let g=Cp.resolveRef.call(c,o.root,s,e);if(g===void 0)throw new Gb.MissingRefError(s,e);if(g instanceof Cp.SchemaEnv)return $(g);return k(g);function h(){if(o===o.root)return ra(t,l,o,o.$async);let x=r.scopeValue("root",{ref:o.root});return ra(t,Fr._`${x}.validate`,o.root,o.root.$async)}function $(x){let A=Ap(t,x);ra(t,A,x,x.$async)}function k(x){let A=r.scopeValue("schema",f.code.source===!0?{ref:x,code:Fr.stringify(x)}:{ref:x}),I=r.name("valid"),q=t.subschema({schema:x,dataTypes:[],schemaPath:Fr.nil,topSchemaRef:A,errSchemaPath:e},I);t.mergeEvaluated(q),t.ok(I)}}};function Ap(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Fr._`${e.scopeValue("wrapper",{ref:r})}.validate`}Ai.getValidate=Ap;function ra(t,r,e,n){let{gen:s,it:o}=t,{allErrors:l,schemaEnv:f,opts:c}=o,g=c.passContext?us.default.this:Fr.nil;n?h():$();function h(){if(!f.$async)throw new Error("async schema referenced by sync schema");let A=s.let("valid");s.try(()=>{s.code(Fr._`await ${xp.callValidateCode(t,r,g)}`),x(r),l||s.assign(A,!0)},I=>{s.if(Fr._`!(${I} instanceof ${o.ValidationError})`,()=>s.throw(I)),k(I),l||s.assign(A,!1)}),t.ok(A)}function $(){t.result(xp.callValidateCode(t,r,g),()=>x(r),()=>k(r))}function k(A){let I=Fr._`${A}.errors`;s.assign(us.default.vErrors,Fr._`${us.default.vErrors} === null ? ${I} : ${us.default.vErrors}.concat(${I})`),s.assign(us.default.errors,Fr._`${us.default.vErrors}.length`)}function x(A){var I;if(!o.opts.unevaluated)return;let q=(I=e==null?void 0:e.validate)===null||I===void 0?void 0:I.evaluated;if(o.props!==!0)if(q&&!q.dynamicProps)q.props!==void 0&&(o.props=ta.mergeEvaluated.props(s,q.props,o.props));else{let B=s.var("props",Fr._`${A}.evaluated.props`);o.props=ta.mergeEvaluated.props(s,B,o.props,Fr.Name)}if(o.items!==!0)if(q&&!q.dynamicItems)q.items!==void 0&&(o.items=ta.mergeEvaluated.items(s,q.items,o.items));else{let B=s.var("items",Fr._`${A}.evaluated.items`);o.items=ta.mergeEvaluated.items(s,B,o.items,Fr.Name)}}}Ai.callRef=ra;Ai.default=Kb});var _p=be(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var Wb=vp(),Zb=Ep(),Jb=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Wb.default,Zb.default];Kl.default=Jb});var Sp=be(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});var na=ze(),ei=na.operators,ia={maximum:{okStr:"<=",ok:ei.LTE,fail:ei.GT},minimum:{okStr:">=",ok:ei.GTE,fail:ei.LT},exclusiveMaximum:{okStr:"<",ok:ei.LT,fail:ei.GTE},exclusiveMinimum:{okStr:">",ok:ei.GT,fail:ei.LTE}},Qb={message:({keyword:t,schemaCode:r})=>na.str`should be ${ia[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>na._`{comparison: ${ia[t].okStr}, limit: ${r}}`},Xb={keyword:Object.keys(ia),type:"number",schemaType:"number",$data:!0,error:Qb,code(t){let{keyword:r,data:e,schemaCode:n}=t;t.fail$data(na._`${e} ${ia[r].fail} ${n} || isNaN(${e})`)}};Wl.default=Xb});var Pp=be(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});var Qs=ze(),Yb={message:({schemaCode:t})=>Qs.str`should be multiple of ${t}`,params:({schemaCode:t})=>Qs._`{multipleOf: ${t}}`},e$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:Yb,code(t){let{gen:r,data:e,schemaCode:n,it:s}=t,o=s.opts.multipleOfPrecision,l=r.let("res"),f=o?Qs._`Math.abs(Math.round(${l}) - ${l}) > 1e-${o}`:Qs._`${l} !== parseInt(${l})`;t.fail$data(Qs._`(${n} === 0 || (${l} = ${e}/${n}, ${f}))`)}};Zl.default=e$});var Tp=be(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});function t$(t){let r=t.length,e=0,n=0,s;for(;n<r;)e++,s=t.charCodeAt(n++),s>=55296&&s<=56319&&n<r&&(s=t.charCodeAt(n),(s&64512)===56320&&n++);return e}Jl.default=t$});var Fp=be(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var ti=ze(),r$=Tp(),n$={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return ti.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>ti._`{limit: ${t}}`},i$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:n$,code(t){let{keyword:r,data:e,schemaCode:n,it:s}=t,o=r==="maxLength"?ti.operators.GT:ti.operators.LT,l;if(s.opts.unicode===!1)l=ti._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:r$.default,code:ti._`require("ajv/dist/compile/ucs2length").default`});l=ti._`${f}(${e})`}t.fail$data(ti._`${l} ${o} ${n}`)}};Ql.default=i$});var Ip=be(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var s$=un(),sa=ze(),o$={message:({schemaCode:t})=>sa.str`should match pattern "${t}"`,params:({schemaCode:t})=>sa._`{pattern: ${t}}`},a$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:o$,code(t){let{gen:r,data:e,$data:n,schema:s,schemaCode:o}=t,l=n?sa._`(new RegExp(${o}, "u"))`:s$.usePattern(r,s);t.fail$data(sa._`!${l}.test(${e})`)}};Xl.default=a$});var Op=be(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});var Xs=ze(),l$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Xs.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Xs._`{limit: ${t}}`},u$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:l$,code(t){let{keyword:r,data:e,schemaCode:n}=t,s=r==="maxProperties"?Xs.operators.GT:Xs.operators.LT;t.fail$data(Xs._`Object.keys(${e}).length ${s} ${n}`)}};Yl.default=u$});var Rp=be(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});var Ys=un(),eo=ze(),f$=Br(),c$={message:({params:{missingProperty:t}})=>eo.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>eo._`{missingProperty: ${t}}`},p$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:c$,code(t){let{gen:r,schema:e,schemaCode:n,data:s,$data:o,it:l}=t,{opts:f}=l;if(!o&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?g():h(),f.strictRequired){let x=t.parentSchema.properties,{definedProperties:A}=t.it;for(let I of e)if((x==null?void 0:x[I])===void 0&&!A.has(I)){let q=l.schemaEnv.baseId+l.errSchemaPath,B=`required property "${I}" is not defined at "${q}" (strictRequired)`;f$.checkStrictMode(l,B,l.opts.strictRequired)}}function g(){if(c||o)t.block$data(eo.nil,$);else for(let x of e)Ys.checkReportMissingProp(t,x)}function h(){let x=r.let("missing");if(c||o){let A=r.let("valid",!0);t.block$data(A,()=>k(x,A)),t.ok(A)}else r.if(Ys.checkMissingProp(t,e,x)),Ys.reportMissingProp(t,x),r.else()}function $(){r.forOf("prop",n,x=>{t.setParams({missingProperty:x}),r.if(Ys.noPropertyInData(r,s,x,f.ownProperties),()=>t.error())})}function k(x,A){t.setParams({missingProperty:x}),r.forOf(x,n,()=>{r.assign(A,Ys.propertyInData(r,s,x,f.ownProperties)),r.if(eo.not(A),()=>{t.error(),r.break()})},eo.nil)}}};eu.default=p$});var qp=be(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});var to=ze(),d$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return to.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>to._`{limit: ${t}}`},m$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:d$,code(t){let{keyword:r,data:e,schemaCode:n}=t,s=r==="maxItems"?to.operators.GT:to.operators.LT;t.fail$data(to._`${e}.length ${s} ${n}`)}};tu.default=m$});var Np=be(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});var ru=is(),Kt=ze(),h$=Us(),g$={message:({params:{i:t,j:r}})=>Kt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Kt._`{i: ${t}, j: ${r}}`},y$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:g$,code(t){let{gen:r,data:e,$data:n,schema:s,parentSchema:o,schemaCode:l,it:f}=t;if(!n&&!s)return;let c=r.let("valid"),g=o.items?ru.getSchemaTypes(o.items):[];t.block$data(c,h,Kt._`${l} === false`),t.ok(c);function h(){let A=r.let("i",Kt._`${e}.length`),I=r.let("j");t.setParams({i:A,j:I}),r.assign(c,!0),r.if(Kt._`${A} > 1`,()=>($()?k:x)(A,I))}function $(){return g.length>0&&!g.some(A=>A==="object"||A==="array")}function k(A,I){let q=r.name("item"),B=ru.checkDataTypes(g,q,f.opts.strict,ru.DataType.Wrong),X=r.const("indices",Kt._`{}`);r.for(Kt._`;${A}--;`,()=>{r.let(q,Kt._`${e}[${A}]`),r.if(B,Kt._`continue`),g.length>1&&r.if(Kt._`typeof ${q} == "string"`,Kt._`${q} += "_"`),r.if(Kt._`typeof ${X}[${q}] == "number"`,()=>{r.assign(I,Kt._`${X}[${q}]`),t.error(),r.assign(c,!1).break()}).code(Kt._`${X}[${q}] = ${A}`)})}function x(A,I){let q=t.gen.scopeValue("func",{ref:h$,code:Kt._`require("ajv/dist/compile/equal")`}),B=r.name("outer");r.label(B).for(Kt._`;${A}--;`,()=>r.for(Kt._`${I} = ${A}; ${I}--;`,()=>r.if(Kt._`${q}(${e}[${A}], ${e}[${I}])`,()=>{t.error(),r.assign(c,!1).break(B)})))}}};nu.default=y$});var Dp=be(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var iu=ze(),b$=Us(),$$={message:"should be equal to constant",params:({schemaCode:t})=>iu._`{allowedValue: ${t}}`},w$={keyword:"const",$data:!0,error:$$,code(t){let r=t.gen.scopeValue("func",{ref:b$,code:iu._`require("ajv/dist/compile/equal")`});t.fail$data(iu._`!${r}(${t.data}, ${t.schemaCode})`)}};su.default=w$});var Lp=be(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var fs=ze(),k$=Us(),v$={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>fs._`{allowedValues: ${t}}`},x$={keyword:"enum",schemaType:"array",$data:!0,error:v$,code(t){let{gen:r,data:e,$data:n,schema:s,schemaCode:o,it:l}=t;if(!n&&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:k$,code:fs._`require("ajv/dist/compile/equal")`}),g;if(f||n)g=r.let("valid"),t.block$data(g,h);else{if(!Array.isArray(s))throw new Error("ajv implementation error");let k=r.const("vSchema",o);g=fs.or(...s.map((x,A)=>$(k,A)))}t.pass(g);function h(){r.assign(g,!1),r.forOf("v",o,k=>r.if(fs._`${c}(${e}, ${k})`,()=>r.assign(g,!0).break()))}function $(k,x){let A=s[x];return A&&typeof A=="object"?fs._`${c}(${e}, ${k}[${x}])`:fs._`${e} === ${A}`}}};ou.default=x$});var jp=be(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var C$=Sp(),A$=Pp(),E$=Fp(),_$=Ip(),S$=Op(),P$=Rp(),T$=qp(),F$=Np(),I$=Dp(),O$=Lp(),R$=[C$.default,A$.default,E$.default,_$.default,S$.default,P$.default,T$.default,F$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},I$.default,O$.default];au.default=R$});var Bp=be(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});var Ei=ze(),q$=vi(),N$=_t(),D$=Br(),L$={message:({params:{len:t}})=>Ei.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Ei._`{limit: ${t}}`},j$={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:L$,code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t,{items:l}=n;if(!Array.isArray(l)){D$.checkStrictMode(o,'"additionalItems" is ignored when "items" is not an array of schemas');return}o.items=!0;let f=r.const("len",Ei._`${s}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(Ei._`${f} <= ${l.length}`);else if(typeof e=="object"&&!N$.alwaysValidSchema(o,e)){let g=r.var("valid",Ei._`${f} <= ${l.length}`);r.if(Ei.not(g),()=>c(g)),t.ok(g)}function c(g){r.forRange("i",l.length,f,h=>{t.subschema({keyword:"additionalItems",dataProp:h,dataPropType:q$.Type.Num},g),o.allErrors||r.if(Ei.not(g),()=>r.break())})}}};lu.default=j$});var zp=be(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var Mp=ze(),uu=_t(),B$=Br(),M$=un(),z$={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:n}=t;if(Array.isArray(e))n.opts.unevaluated&&e.length&&n.items!==!0&&(n.items=uu.mergeEvaluated.items(r,e.length,n.items)),s(e);else{if(n.items=!0,uu.alwaysValidSchema(n,e))return;t.ok(M$.validateArray(t))}function s(o){let{parentSchema:l,data:f}=t;if(n.opts.strictTuples&&!V$(o.length,l)){let h=`"items" is ${o.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;B$.checkStrictMode(n,h,n.opts.strictTuples)}let c=r.name("valid"),g=r.const("len",Mp._`${f}.length`);o.forEach((h,$)=>{uu.alwaysValidSchema(n,h)||(r.if(Mp._`${g} > ${$}`,()=>t.subschema({keyword:"items",schemaProp:$,dataProp:$},c)),t.ok(c))})}}};function V$(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}fu.default=z$});var Up=be(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var pn=ze(),U$=vi(),H$=_t(),Vp=Br(),G$={message:({params:{min:t,max:r}})=>r===void 0?pn.str`should contain at least ${t} valid item(s)`:pn.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?pn._`{minContains: ${t}}`:pn._`{minContains: ${t}, maxContains: ${r}}`},K$={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:G$,code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t,l,f,{minContains:c,maxContains:g}=n;o.opts.next?(l=c===void 0?1:c,f=g):l=1;let h=r.const("len",pn._`${s}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){Vp.checkStrictMode(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){Vp.checkStrictMode(o,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(H$.alwaysValidSchema(o,e)){let A=pn._`${h} >= ${l}`;f!==void 0&&(A=pn._`${A} && ${h} <= ${f}`),t.pass(A);return}o.items=!0;let $=r.name("valid");if(f===void 0&&l===1)k($,()=>r.if($,()=>r.break()));else{r.let($,!1);let A=r.name("_valid"),I=r.let("count",0);k(A,()=>r.if(A,()=>x(I)))}t.result($,()=>t.reset());function k(A,I){r.forRange("i",0,h,q=>{t.subschema({keyword:"contains",dataProp:q,dataPropType:U$.Type.Num,compositeRule:!0},A),I()})}function x(A){r.code(pn._`${A}++`),f===void 0?r.if(pn._`${A} >= ${l}`,()=>r.assign($,!0).break()):(r.if(pn._`${A} > ${f}`,()=>r.assign($,!1).break()),l===1?r.assign($,!0):r.if(pn._`${A} >= ${l}`,()=>r.assign($,!0)))}}};cu.default=K$});var Kp=be(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.validateSchemaDeps=Cn.validatePropertyDeps=Cn.error=void 0;var pu=ze(),W$=_t(),ro=un();Cn.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let n=r===1?"property":"properties";return pu.str`should have ${n} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:n}})=>pu._`{property: ${t},
6
6
  missingProperty: ${n},
7
7
  depsCount: ${r},
8
- deps: ${e}}`};var qb={keyword:"dependencies",type:"object",schemaType:"object",error:_n.error,code(t){let[r,e]=Db(t);Op(t,r),Rp(t,e)}};function Db({schema:t}){let r={},e={};for(let n in t){if(n==="__proto__")continue;let s=Array.isArray(t[n])?r:e;s[n]=t[n]}return[r,e]}function Op(t,r=t.schema){let{gen:e,data:n,it:s}=t;if(Object.keys(r).length===0)return;let o=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=eo.propertyInData(e,n,l,s.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),s.allErrors?e.if(c,()=>{for(let h of f)eo.checkReportMissingProp(t,h)}):(e.if(nu._`${c} && (${eo.checkMissingProp(t,f,o)})`),eo.reportMissingProp(t,o),e.else())}}_n.validatePropertyDeps=Op;function Rp(t,r=t.schema){let{gen:e,data:n,keyword:s,it:o}=t,l=e.name("valid");for(let f in r)Rb.alwaysValidSchema(o,r[f])||(e.if(eo.propertyInData(e,n,f,o.opts.ownProperties),()=>{let c=t.subschema({keyword:s,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}_n.validateSchemaDeps=Rp;_n.default=qb});var Dp=be(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var iu=ze(),Nb=_t(),Lb={message:({params:t})=>iu.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>iu._`{propertyName: ${t.propertyName}}`},jb={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Lb,code(t){let{gen:r,schema:e,data:n,it:s}=t;if(Nb.alwaysValidSchema(s,e))return;let o=r.name("valid");r.forIn("key",n,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},o),r.if(iu.not(o),()=>{t.error(!0),s.allErrors||r.break()})}),t.ok(o)}};su.default=jb});var lu=be(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var Yo=un(),dn=ze(),Bb=ln(),Mb=ki(),ou=_t(),zb={message:"should NOT have additional properties",params:({params:t})=>dn._`{additionalProperty: ${t.additionalProperty}}`},Vb={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:zb,code(t){let{gen:r,schema:e,parentSchema:n,data:s,errsCount:o,it:l}=t;if(!o)throw new Error("ajv implementation error");let{allErrors:f,opts:c}=l;if(l.props=!0,c.removeAdditional!=="all"&&ou.alwaysValidSchema(l,e))return;let h=Yo.allSchemaProperties(n.properties),m=Yo.allSchemaProperties(n.patternProperties);b(),t.ok(dn._`${o} === ${Bb.default.errors}`);function b(){r.forIn("key",s,D=>{!h.length&&!m.length?E(D):r.if(C(D),()=>E(D))})}function C(D){let M;if(h.length>8){let X=ou.schemaRefOrVal(l,n.properties,"properties");M=Yo.isOwnProperty(r,X,D)}else h.length?M=dn.or(...h.map(X=>dn._`${D} === ${X}`)):M=dn.nil;return m.length&&(M=dn.or(M,...m.map(X=>dn._`${Yo.usePattern(r,X)}.test(${D})`))),dn.not(M)}function A(D){r.code(dn._`delete ${s}[${D}]`)}function E(D){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){A(D);return}if(e===!1){t.setParams({additionalProperty:D}),t.error(),f||r.break();return}if(typeof e=="object"&&!ou.alwaysValidSchema(l,e)){let M=r.name("valid");c.removeAdditional==="failing"?(O(D,M,!1),r.if(dn.not(M),()=>{t.reset(),A(D)})):(O(D,M),f||r.if(dn.not(M),()=>r.break()))}}function O(D,M,X){let le={keyword:"additionalProperties",dataProp:D,dataPropType:Mb.Type.Str};X===!1&&Object.assign(le,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(le,M)}}};au.default=Vb});var jp=be(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var Ub=Ms(),Np=un(),uu=_t(),Lp=lu(),Hb={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t;o.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&Lp.default.code(new Ub.default(o,Lp.default,"additionalProperties"));let l=Np.allSchemaProperties(e);for(let b of l)o.definedProperties.add(b);o.opts.unevaluated&&l.length&&o.props!==!0&&(o.props=uu.mergeEvaluated.props(r,uu.toHash(l),o.props));let f=l.filter(b=>!uu.alwaysValidSchema(o,e[b]));if(f.length===0)return;let c=r.name("valid");for(let b of f)h(b)?m(b):(r.if(Np.propertyInData(r,s,b,o.opts.ownProperties)),m(b),o.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add(b),t.ok(c);function h(b){return o.opts.useDefaults&&!o.compositeRule&&e[b].default!==void 0}function m(b){t.subschema({keyword:"properties",schemaProp:b,dataProp:b},c)}}};fu.default=Hb});var Mp=be(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var Bp=un(),ea=ze(),Gb=ki(),Kb=Br(),Wb=_t(),Jb={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:n,parentSchema:s,it:o}=t,{opts:l}=o,f=Bp.schemaProperties(o,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&s.properties,h=r.name("valid");o.props!==!0&&!(o.props instanceof ea.Name)&&(o.props=Wb.evaluatedPropsToName(r,o.props));let{props:m}=o;b();function b(){for(let E of f)c&&C(E),o.allErrors?A(E):(r.var(h,!0),A(E),r.if(h))}function C(E){for(let O in c)new RegExp(E).test(O)&&Kb.checkStrictMode(o,`property ${O} matches pattern ${E} (use allowMatchingProperties)`)}function A(E){r.forIn("key",n,O=>{r.if(ea._`${Bp.usePattern(r,E)}.test(${O})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:E,dataProp:O,dataPropType:Gb.Type.Str},h),o.opts.unevaluated&&m!==!0?r.assign(ea._`${m}[${O}]`,!0):o.allErrors||r.if(ea.not(h),()=>r.break())})})}}};cu.default=Jb});var zp=be(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var Zb=_t(),Qb={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:n}=t;if(Zb.alwaysValidSchema(n,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"}};pu.default=Qb});var Vp=be(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var Xb=un(),Yb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Xb.validateUnion,error:{message:"should match some schema in anyOf"}};du.default=Yb});var Up=be(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});var ta=ze(),ew=_t(),tw={message:"should match exactly one schema in oneOf",params:({params:t})=>ta._`{passingSchemas: ${t.passing}}`},rw={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:tw,code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=e,o=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(o,()=>t.reset(),()=>t.error(!0));function c(){s.forEach((h,m)=>{let b;ew.alwaysValidSchema(n,h)?r.var(f,!0):b=t.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},f),m>0&&r.if(ta._`${f} && ${o}`).assign(o,!1).assign(l,ta._`[${l}, ${m}]`).else(),r.if(f,()=>{r.assign(o,!0),r.assign(l,m),b&&t.mergeEvaluated(b,ta.Name)})})}}};mu.default=rw});var Hp=be(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});var nw=_t(),iw={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=r.name("valid");e.forEach((o,l)=>{if(nw.alwaysValidSchema(n,o))return;let f=t.subschema({keyword:"allOf",schemaProp:l},s);t.ok(s),t.mergeEvaluated(f)})}};hu.default=iw});var Kp=be(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});var ra=ze(),sw=_t(),ow=Br(),aw={message:({params:t})=>ra.str`should match "${t.ifClause}" schema`,params:({params:t})=>ra._`{failingKeyword: ${t.ifClause}}`},lw={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:aw,code(t){let{gen:r,parentSchema:e,it:n}=t;e.then===void 0&&e.else===void 0&&ow.checkStrictMode(n,'"if" without "then" and "else" is ignored');let s=Gp(n,"then"),o=Gp(n,"else");if(!s&&!o)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),s&&o){let m=r.let("ifClause");t.setParams({ifClause:m}),r.if(f,h("then",m),h("else",m))}else s?r.if(f,h("then")):r.if(ra.not(f),h("else"));t.pass(l,()=>t.error(!0));function c(){let m=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(m)}function h(m,b){return()=>{let C=t.subschema({keyword:m},f);r.assign(l,f),t.mergeValidEvaluated(C,l),b?r.assign(b,ra._`${m}`):t.setParams({ifClause:m})}}}};function Gp(t,r){let e=t.schema[r];return e!==void 0&&!sw.alwaysValidSchema(t,e)}gu.default=lw});var Wp=be(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});var uw=Br(),fw={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&uw.checkStrictMode(e,`"${t}" without "if" is ignored`)}};yu.default=fw});var Jp=be($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});var cw=Sp(),pw=Tp(),dw=Ip(),mw=qp(),hw=Dp(),gw=lu(),yw=jp(),$w=Mp(),bw=zp(),ww=Vp(),kw=Up(),vw=Hp(),xw=Kp(),Cw=Wp(),Aw=[bw.default,ww.default,kw.default,vw.default,xw.default,Cw.default,cw.default,pw.default,dw.default,hw.default,gw.default,mw.default,yw.default,$w.default];$u.default=Aw});var Zp=be(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});var Lt=ze(),Ew={message:({schemaCode:t})=>Lt.str`should match format "${t}"`,params:({schemaCode:t})=>Lt._`{format: ${t}}`},_w={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Ew,code(t,r){let{gen:e,data:n,$data:s,schema:o,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:h,schemaEnv:m,self:b}=f;if(!c.validateFormats)return;s?C():A();function C(){let E=e.scopeValue("formats",{ref:b.formats,code:c.code.formats}),O=e.const("fDef",Lt._`${E}[${l}]`),D=e.let("fType"),M=e.let("format");e.if(Lt._`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>e.assign(D,Lt._`${O}.type || "string"`).assign(M,Lt._`${O}.validate`),()=>e.assign(D,Lt._`"string"`).assign(M,O)),t.fail$data(Lt.or(X(),le()));function X(){return c.strict===!1?Lt.nil:Lt._`${l} && !${M}`}function le(){let we=m.$async?Lt._`(${O}.async ? await ${M}(${n}) : ${M}(${n}))`:Lt._`${M}(${n})`,ge=Lt._`(typeof ${M} == "function" ? ${we} : ${M}.test(${n}))`;return Lt._`${M} && ${M} !== true && ${D} === ${r} && !${ge}`}}function A(){let E=b.formats[o];if(!E){X();return}if(E===!0)return;let[O,D,M]=le(E);O===r&&t.pass(we());function X(){if(c.strict===!1){b.logger.warn(ge());return}throw new Error(ge());function ge(){return`unknown format "${o}" ignored in schema at path "${h}"`}}function le(ge){let ee=e.scopeValue("formats",{key:o,ref:ge,code:c.code.formats?Lt._`${c.code.formats}${Lt.getProperty(o)}`:void 0});return typeof ge=="object"&&!(ge instanceof RegExp)?[ge.type||"string",ge.validate,Lt._`${ee}.validate`]:["string",ge,ee]}function we(){if(typeof E=="object"&&!(E instanceof RegExp)&&E.async){if(!m.$async)throw new Error("async format in sync schema");return Lt._`await ${M}(${n})`}return typeof D=="function"?Lt._`${M}(${n})`:Lt._`${M}.test(${n})`}}}};bu.default=_w});var Qp=be(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});var Sw=Zp(),Pw=[Sw.default];wu.default=Pw});var Xp=be(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.contentVocabulary=fs.metadataVocabulary=void 0;fs.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];fs.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var ed=be(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});var Tw=hp(),Fw=_p(),Iw=Jp(),Ow=Qp(),Yp=Xp(),Rw=[Tw.default,Fw.default,Iw.default,Ow.default,Yp.metadataVocabulary,Yp.contentVocabulary];ku.default=Rw});var td=be((kx,qw)=>{qw.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 nd=be(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.CodeGen=Yt.Name=Yt.nil=Yt.stringify=Yt.str=Yt._=Yt.KeywordCxt=void 0;var Dw=Ms();Yt.KeywordCxt=Dw.default;var cs=ze();Object.defineProperty(Yt,"_",{enumerable:!0,get:function(){return cs._}});Object.defineProperty(Yt,"str",{enumerable:!0,get:function(){return cs.str}});Object.defineProperty(Yt,"stringify",{enumerable:!0,get:function(){return cs.stringify}});Object.defineProperty(Yt,"nil",{enumerable:!0,get:function(){return cs.nil}});Object.defineProperty(Yt,"Name",{enumerable:!0,get:function(){return cs.Name}});Object.defineProperty(Yt,"CodeGen",{enumerable:!0,get:function(){return cs.CodeGen}});var Nw=up(),Lw=ed(),rd=td(),jw=["/properties"],na="http://json-schema.org/draft-07/schema",vu=class extends Nw.default{_addVocabularies(){super._addVocabularies(),Lw.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(rd,jw):rd;this.addMetaSchema(r,na,!1),this.refs["http://json-schema.org/schema"]=na}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(na)?na:void 0)}};Yt.default=vu});var sd=be((xx,id)=>{var Bw=Object.prototype.hasOwnProperty,Mw=Object.prototype.toString;id.exports=function(r,e,n){if(Mw.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var o=0;o<s;o++)e.call(n,r[o],o,r);else for(var l in r)Bw.call(r,l)&&e.call(n,r[l],l,r)}});var ad=be((Cx,od)=>{"use strict";var zw=sd();od.exports=$t;function $t(t,r,e){if(arguments.length===3)return $t.set(t,r,e);if(arguments.length===2)return $t.get(t,r);var n=$t.bind($t,t);for(var s in $t)$t.hasOwnProperty(s)&&(n[s]=$t[s].bind(n,t));return n}$t.get=function(r,e){for(var n=Array.isArray(e)?e:$t.parse(e),s=0;s<n.length;++s){var o=n[s];if(!(typeof r=="object"&&o in r))throw new Error("Invalid reference token: "+o);r=r[o]}return r};$t.set=function(r,e,n){var s=Array.isArray(e)?e:$t.parse(e),o=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),o=s[l+1],f in r||(o.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return o==="-"&&Array.isArray(r)&&(o=r.length),r[o]=n,this};$t.remove=function(t,r){var e=Array.isArray(r)?r:$t.parse(r),n=e[e.length-1];if(n===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var s=$t.get(t,e.slice(0,-1));if(Array.isArray(s)){var o=+n;if(n===""&&isNaN(o))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(s,o,1)}else delete s[n]};$t.dict=function(r,e){var n={};return $t.walk(r,function(s,o){n[o]=s},e),n};$t.walk=function(r,e,n){var s=[];n=n||function(o){var l=Object.prototype.toString.call(o);return l==="[object Object]"||l==="[object Array]"},function o(l){zw(l,function(f,c){s.push(String(c)),n(f)?o(f):e(f,$t.compile(s)),s.pop()})}(r)};$t.has=function(r,e){try{$t.get(r,e)}catch{return!1}return!0};$t.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};$t.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};$t.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map($t.unescape)};$t.compile=function(r){return r.length===0?"":"/"+r.map($t.escape).join("/")}});var ld=be((Ax,Vw)=>{Vw.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var ud=be((Ex,Uw)=>{Uw.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:["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:["cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["row"]},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"},folded:{type:"boolean"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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 fd=be((_x,Hw)=>{Hw.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:["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:["cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["row"]},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"},folded:{type:"boolean"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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 cd=be(ia=>{ia.Test=ld();ia.AstTree=ud();ia.PodliteDocument=fd()});var Fu=be((nC,xd)=>{"use strict";function Qw(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Si(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Si)}Qw(Si,Error);Si.buildMessage=function(t,r){var e={literal:function(h){return'"'+s(h.text)+'"'},class:function(h){var m="",b;for(b=0;b<h.parts.length;b++)m+=h.parts[b]instanceof Array?o(h.parts[b][0])+"-"+o(h.parts[b][1]):o(h.parts[b]);return"["+(h.inverted?"^":"")+m+"]"},any:function(h){return"any character"},end:function(h){return"end of input"},other:function(h){return h.description}};function n(h){return h.charCodeAt(0).toString(16).toUpperCase()}function s(h){return h.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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function o(h){return h.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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function l(h){return e[h.type](h)}function f(h){var m=new Array(h.length),b,C;for(b=0;b<h.length;b++)m[b]=l(h[b]);if(m.sort(),m.length>0){for(b=1,C=1;b<m.length;b++)m[b-1]!==m[b]&&(m[C]=m[b],C++);m.length=C}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}function c(h){return h?'"'+s(h)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Xw(t,r){r=r!==void 0?r:{};var e={},n={Document:zf,attributesOnly:Fh},s=zf,o=function(u){return u},l=function(u){return u},f=function(){return!!r.podMode},c=function(u){return u},h=P(),m=function(){return{text:v(),type:"ambient",location:I()}},b=/^[ \xA0\u2001\t\f\u2008]/,C=W([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),A=/^[ \t\f]/,E=W([" "," ","\f"],!1,!1),O=/^[\n\r]/,D=W([`
9
- `,"\r"],!1,!1),M=function(u){return u},X=/^[^\n\r]/,le=W([`
10
- `,"\r"],!0,!1),we=`
11
- `,ge=R(`
12
- `,!1),ee="\r",me=R("\r",!1),xe=function(){return{type:"blankline"}},ve="=begin ",Le=R("=begin ",!1),Pe="=end ",Te=R("=end ",!1),he="=for ",Se=R("=for ",!1),Je="=config",re=R("=config",!1),wt="=alias",Ye=R("=alias",!1),vt=function(u){return zh(u)},lt=function(u){return u},z="=",U=R("=",!1),er=H("text"),Rt=function(){return v()},At=function(){return{type:"para",value:v(),error:!0,location:I()}},qt=function(u,p){return Qi([u,p])},Pt=function(u){return[u]},ut=",",mr=R(",",!1),Kt=function(u,p){return Qi([u,p])},hr=/^[a-zA-Z0-9]/,Cr=W([["a","z"],["A","Z"],["0","9"]],!1,!1),Ar=/^[a-zA-Z0-9_\-]/,Bt=W([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Mn="=>",Ae=R("=>",!1),Fn=function(u,p){return{[u]:p}},In=function(u,p){return{...u,...p}},je=function(u){return u},Fe=":",et=R(":",!1),bt="allow",Xr=R("allow",!1),Re="<",qe=R("<",!1),ht=">",Ze=R(">",!1),se=function(u,p){return{value:p,type:"array"}},pe=function(u,p){return{name:"allow",...p}},ke=function(u){return u},Ee=function(u){return u},Mt=function(u){return[u]},Yr=function(){return[]},it=/^[!]/,xt=W(["!"],!1,!1),Tt="{",en=R("{",!1),gt="}",On=R("}",!1),gr=function(u,p,y){return{value:y,type:"map"}},mn="[",hn=R("[",!1),gn=function(u,p,y){return y},oi="]",Rn=R("]",!1),Li=function(u,p){return[v()]},zn=function(u,p,y){return{value:y,type:"array"}},ai=function(u,p,y){return{value:y,type:"array"}},ji=function(u,p,y){return{value:y,type:"string"}},Vn="(",li=R("(",!1),ui=function(u,p,y){return y.length>1?{type:"array",value:y}:{type:"value",value:y[0]}},V=")",q=R(")",!1),Z=function(u,p){return{value:v()}},te=function(u,p,y){return{type:"value",...y}},ie=function(u,p){return{value:!u,type:"boolean"}},ye=function(u,p,y){return{name:p,...y}},_e=function(u,p){return p},Be=function(u,p){return Qi([...u,...p])},Ge=/^[^'"]/,kt=W(["'",'"'],!0,!1),De=function(u){return u},st=/^[0-9]/,yt=W([["0","9"]],!1,!1),ct=/^[\-+]/,Ke=W(["-","+"],!1,!1),ft="True",tt=R("True",!1),tn=function(){return!0},zt="False",tr=R("False",!1),ot=function(){return!1},Vt=".",Wt=R(".",!1),Er=/^[eE]/,rn=W(["e","E"],!1,!1),_r=/^["]/,yn=W(['"'],!1,!1),qn=/^[^"]/,Dn=W(['"'],!0,!1),rr=/^[']/,Sr=W(["'"],!1,!1),Jt=/^[^']/,Mr=W(["'"],!0,!1),Un=function(u){return parseFloat(u)},zr=function(u){return parseInt(u,10)},i=function(u,p,y){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Eo(p)},fe=function(u,p,y,w,S){return u.length===w.length&&p===S},$n=function(u,p,y,w,S){return Vh(u,`${w}${S}`)},Ft=function(u,p,y,w,S,_){return p===_},nn=function(u,p,y,w,S,_){return{type:"block",content:w===""?[]:[{type:"verbatim",value:w.join("")}],name:p,margin:u}},x=function(u,p,y,w,S,_){return!0},Vr=function(u,p,y,w,S,_){return{..._,text:v(),config:y,location:I()}},bn=/^[\-+=_|]/,Bi=W(["-","+","=","_","|"],!1,!1),ho=function(){return{type:"separator",text:v()}},Ur=function(){return r.isDelimited},Me=function(){return{type:"separator",text:v()}},yr=function(u){return{name:"row",type:"text",value:u}},Hn=function(){return r.separators=[],!0},wn=function(u,p){return r.separators.push(p.text),p},bs=function(u,p,y,w){return r.separators.push(w.text),w},Hr=function(u,p,y,w){return[{name:"row",type:"text",value:y},w]},Pr=function(u,p,y){return[y]},K=function(u,p,y){return r.separators.length>1?!r.separators.every(w=>w===r.separators[0]):!0},ws=function(u,p,y){return[{name:"head",type:"text",value:u},p,...Qi(y)]},fi=function(u,p){return[{name:"row",type:"text",value:u},p]},Mi=function(u){return[...Qi(u)]},Gn=function(u,p,y){return p==="table"},go=function(u,p,y){return r.isDelimited=!0,!0},Ta=function(u,p,y,w){return w},zi=function(u,p,y,w){return w.some(S=>S&&(S.name==="row"||S.name==="cell"))},sn=function(u,p,y,w,S,_){return{type:"block",content:w,name:p,margin:u}},ks=function(u,p,y,w,S,_){return{..._,text:v(),config:y,location:I()}},vs=function(u,p,y){return r.isDelimited=!0,!0},Fa=function(u,p,y,w){return w},Ia=function(u,p,y,w,S,_){return{type:"block",content:w,name:p,margin:u}},Oa=function(u,p,y,w,S,_){return{..._,text:v(),config:y,location:I()}},yo=function(u,p,y,w){return w},$o=function(u,p,y,w,S){let _=p.match(/pod|nested|item|code|defn/)&&w.length-u.length>0?"code":"para";return{text:S,margin:w,type:_,content:[{type:_==="code"?"verbatim":"text",value:S}],location:I()}},bo=function(u,p,y,w,S,_){return{type:"block",content:w,name:p,margin:u}},Kn=function(u,p,y,w,S,_){return{..._,config:y,location:I()}},nr=function(){return{text:v(),type:"para",margin:"",content:[{type:"text",value:v()}],location:I()}},Vi=function(){return{empty:1}},kn=/^[s]/,ir=W(["s"],!1,!1),Ra=function(u){return{text:v(),type:"ambient1"}},wo=function(u,p){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Eo(p)},vn=function(u,p,y){return{margin:u,type:"block",content:y===""?[]:[{type:"verbatim",value:y}],name:p,config:[],location:I()}},ci=function(u,p){return p==="table"},Ui=function(u,p){return r.isDelimited=!1,!0},qa=function(u,p,y){return{margin:u,type:"block",content:y===""?[]:y,name:p,config:[],location:I()}},Da=function(u,p,y,w){let S=(y===`
13
- `?"":y)+w;return{margin:u,type:"block",content:S===""?[]:[{type:"para",text:S,margin:"",content:[{type:"text",value:S}],location:I()}],name:p,location:I()}},Hi="= ",ko=R("= ",!1),Na=function(u,p,y,w){return{name:y,type:"alias",replacement:w,margin:u}},La=/^[A-Z]/,vo=W([["A","Z"]],!1,!1),xs="<>",ja=R("<>",!1),Cs=function(u,p,y,w){return{name:y,type:"config",config:w,margin:u}},Et=function(u,p,y,w){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Eo(y)},Ne=function(u,p,y,w,S){return{type:"block",content:S===""?[]:[{type:"verbatim",value:S}],name:y,margin:u,config:w,location:I()}},Gi=function(u,p,y,w){return y==="table"},Bf=function(u,p,y,w){return r.isDelimited=!1,!0},sr=function(u,p,y,w,S){return{type:"block",content:S===""?[]:S,name:y,margin:u,config:w,location:I()}},xn=function(u,p,y,w,S){return{type:"block",content:S===""?[]:[{type:"para",content:[{type:"text",value:S}],margin:u,text:S,location:I()}],name:y,margin:u,config:w,location:I()}},pt=/^[a-zA-Z]/,Ba=W([["a","z"],["A","Z"]],!1,!1),Ma=H("whitespace"),Ki=/^[\r\n \t\f]/,Wi=W(["\r",`
14
- `," "," ","\f"],!1,!1),za=H("space characters"),a=0,oe=0,Wn=[{line:1,column:1}],d=0,$=[],g=0,k;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=n[r.startRule]}function v(){return t.substring(oe,a)}function I(){return J(oe,a)}function j(u,p){throw p=p!==void 0?p:J(oe,a),Mf([H(u)],t.substring(oe,a),p)}function T(u,p){throw p=p!==void 0?p:J(oe,a),Th(u,p)}function R(u,p){return{type:"literal",text:u,ignoreCase:p}}function W(u,p,y){return{type:"class",parts:u,inverted:p,ignoreCase:y}}function P(){return{type:"any"}}function Y(){return{type:"end"}}function H(u){return{type:"other",description:u}}function B(u){var p=Wn[u],y;if(p)return p;for(y=u-1;!Wn[y];)y--;for(p=Wn[y],p={line:p.line,column:p.column};y<u;)t.charCodeAt(y)===10?(p.line++,p.column=1):p.column++,y++;return Wn[u]=p,p}function J(u,p){var y=B(u),w=B(p);return{start:{offset:u,line:y.line,column:y.column},end:{offset:p,line:w.line,column:w.column}}}function ae(u){a<d||(a>d&&(d=a,$=[]),$.push(u))}function Th(u,p){return new Si(u,null,null,p)}function Mf(u,p,y){return new Si(Si.buildMessage(u,p),u,p,y)}function zf(){var u,p,y;for(u=a,p=[],y=Vf();y!==e;)p.push(y),y=Vf();return p!==e&&(oe=u,p=o(p)),u=p,u}function Fh(){var u,p,y,w;if(u=a,p=$e(),p!==e){for(y=[],w=Zn();w!==e;)y.push(w),w=Zn();y!==e?(w=$e(),w!==e?(oe=u,p=l(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function Vf(){var u,p,y,w,S,_,G,Q;if(u=_s(),u===e&&(u=Lh(),u===e&&(u=Ua(),u===e&&(u=Ss(),u===e&&(u=Fs(),u===e&&(u=Wa(),u===e&&(u=Is(),u===e&&(u=Ga(),u===e&&(u=Ka(),u===e&&(u=Ps(),u===e&&(u=Ha(),u===e&&(u=Ts(),u===e&&(u=a,oe=a,p=f(),p?p=void 0:p=e,p!==e?(y=jh(),y===e&&(y=Gr(),y===e&&(y=Oh())),y!==e?(oe=u,p=c(y),u=p):(a=u,u=e)):(a=u,u=e),u===e))))))))))))){if(u=a,p=a,y=[],w=a,S=a,g++,_=a,G=Nn(),G!==e?(Q=Ut(),Q!==e?(G=[G,Q],_=G):(a=_,_=e)):(a=_,_=e),_===e&&(_=hi()),g--,_===e?S=void 0:(a=S,S=e),S!==e?(t.length>a?(_=t.charAt(a),a++):(_=e,g===0&&ae(h)),_!==e?(S=[S,_],w=S):(a=w,w=e)):(a=w,w=e),w!==e)for(;w!==e;)y.push(w),w=a,S=a,g++,_=a,G=Nn(),G!==e?(Q=Ut(),Q!==e?(G=[G,Q],_=G):(a=_,_=e)):(a=_,_=e),_===e&&(_=hi()),g--,_===e?S=void 0:(a=S,S=e),S!==e?(t.length>a?(_=t.charAt(a),a++):(_=e,g===0&&ae(h)),_!==e?(S=[S,_],w=S):(a=w,w=e)):(a=w,w=e);else y=e;y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=m()),u=p}return u}function Dt(){var u;return b.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,g===0&&ae(C)),u}function $e(){var u,p;for(u=[],A.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(E));p!==e;)u.push(p),A.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(E));return u}function Jn(){var u,p,y,w;for(u=a,p=a,y=[],w=Dt();w!==e;)y.push(w),w=Dt();return y!==e?(O.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(D)),w!==e?(y=[y,w],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function c1(){var u,p,y,w;if(u=a,p=a,y=[],w=As(),w!==e)for(;w!==e;)y.push(w),w=As();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=di(),y!==e?(oe=u,p=M(p),u=p):(a=u,u=e)):(a=u,u=e),u}function As(){var u;return X.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,g===0&&ae(le)),u}function pi(){var u,p,y;return t.charCodeAt(a)===10?(u=we,a++):(u=e,g===0&&ae(ge)),u===e&&(u=a,t.charCodeAt(a)===13?(p=ee,a++):(p=e,g===0&&ae(me)),p!==e?(t.charCodeAt(a)===10?(y=we,a++):(y=e,g===0&&ae(ge)),y===e&&(y=null),y!==e?(p=[p,y],u=p):(a=u,u=e)):(a=u,u=e)),u}function di(){var u,p;return u=pi(),u===e&&(u=a,g++,t.length>a?(p=t.charAt(a),a++):(p=e,g===0&&ae(h)),g--,p===e?u=void 0:(a=u,u=e)),u}function Lr(){var u,p,y,w;for(u=a,p=a,y=[],w=Dt();w!==e;)y.push(w),w=Dt();return y!==e?(O.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(D)),w!==e?(y=[y,w],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function Gr(){var u,p,y,w,S;for(u=a,p=a,y=a,w=[],S=Dt();S!==e;)w.push(S),S=Dt();return w!==e?(O.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(D)),S!==e?(w=[w,S],y=w):(a=y,y=e)):(a=y,y=e),y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=xe()),u=p,u}function Es(){var u;return t.substr(a,7)===ve?(u=ve,a+=7):(u=e,g===0&&ae(Le)),u}function mi(){var u;return t.substr(a,5)===Pe?(u=Pe,a+=5):(u=e,g===0&&ae(Te)),u}function xo(){var u;return t.substr(a,5)===he?(u=he,a+=5):(u=e,g===0&&ae(Se)),u}function Uf(){var u;return t.substr(a,7)===Je?(u=Je,a+=7):(u=e,g===0&&ae(re)),u}function Hf(){var u;return t.substr(a,6)===wt?(u=wt,a+=6):(u=e,g===0&&ae(Ye)),u}function Ut(){var u,p,y;return u=a,p=Ja(),p!==e?(oe=a,y=vt(p),y?y=void 0:y=e,y!==e?(oe=u,p=lt(p),u=p):(a=u,u=e)):(a=u,u=e),u}function hi(){var u,p,y;return u=a,t.charCodeAt(a)===61?(p=z,a++):(p=e,g===0&&ae(U)),p!==e?(y=Ut(),y!==e?(oe=u,p=lt(y),u=p):(a=u,u=e)):(a=u,u=e),u}function Nn(){var u;return u=Es(),u===e&&(u=mi(),u===e&&(u=xo(),u===e&&(u=Uf(),u===e&&(u=Hf())))),u}function Kr(){var u,p,y;if(g++,u=a,p=[],y=As(),y!==e)for(;y!==e;)p.push(y),y=As();else p=e;return p!==e?u=t.substring(u,a):u=p,g--,u===e&&(p=e,g===0&&ae(er)),u}function Zt(){var u,p,y,w,S,_,G;if(u=a,p=a,g++,y=a,w=$e(),w!==e?(S=Uf(),S===e&&(S=Hf(),S===e&&(S=a,_=Nn(),_!==e?(G=Ut(),G!==e?(_=[_,G],S=_):(a=S,S=e)):(a=S,S=e),S===e&&(S=hi()))),S!==e?(w=[w,S],y=w):(a=y,y=e)):(a=y,y=e),y===e&&(y=Gr()),g--,y===e?p=void 0:(a=p,p=e),p!==e){if(y=a,w=[],S=Kr(),S!==e)for(;S!==e;)w.push(S),S=Kr();else w=e;w!==e?y=t.substring(y,a):y=w,y!==e?(w=di(),w!==e?(oe=u,p=Rt(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function Ih(){var u,p,y,w;if(u=a,p=a,y=[],w=Kr(),w!==e)for(;w!==e;)y.push(w),w=Kr();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=di(),y!==e?(oe=u,p=Rt(),u=p):(a=u,u=e)):(a=u,u=e),u}function Oh(){var u,p,y,w,S,_;if(u=a,p=a,y=[],w=a,S=a,g++,_=di(),g--,_===e?S=void 0:(a=S,S=e),S!==e?(t.length>a?(_=t.charAt(a),a++):(_=e,g===0&&ae(h)),_!==e?(S=[S,_],w=S):(a=w,w=e)):(a=w,w=e),w!==e)for(;w!==e;)y.push(w),w=a,S=a,g++,_=di(),g--,_===e?S=void 0:(a=S,S=e),S!==e?(t.length>a?(_=t.charAt(a),a++):(_=e,g===0&&ae(h)),_!==e?(S=[S,_],w=S):(a=w,w=e)):(a=w,w=e);else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=di(),y!==e?(oe=u,p=At(),u=p):(a=u,u=e)):(a=u,u=e),u}function Gf(){var u,p,y,w;if(u=a,p=Kf(),p!==e){if(y=[],w=Dt(),w!==e)for(;w!==e;)y.push(w),w=Dt();else y=e;y!==e?(w=Gf(),w!==e?(oe=u,p=qt(p,w),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=Kf(),p!==e&&(oe=u,p=Pt(p)),u=p),u}function Kf(){var u,p;return u=a,p=As(),p!==e?u=t.substring(u,a):u=p,u}function Co(){var u,p,y,w,S,_;if(u=a,p=Ji(),p!==e){if(y=[],w=Dt(),w!==e)for(;w!==e;)y.push(w),w=Dt();else y=e;y===e&&(y=a,w=$e(),w!==e?(t.charCodeAt(a)===44?(S=ut,a++):(S=e,g===0&&ae(mr)),S!==e?(_=$e(),_!==e?(w=[w,S,_],y=w):(a=y,y=e)):(a=y,y=e)):(a=y,y=e)),y!==e?(w=Co(),w!==e?(oe=u,p=Kt(p,w),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=Ji(),p!==e&&(oe=u,p=Pt(p)),u=p),u}function Rh(){var u,p,y,w,S;if(u=a,p=a,y=[],hr.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(Cr)),w!==e)for(;w!==e;)y.push(w),hr.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(Cr));else y=e;if(y!==e){for(w=[],Ar.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Bt));S!==e;)w.push(S),Ar.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Bt));w!==e?(y=[y,w],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function Wf(){var u,p,y,w,S,_;return u=a,p=Rh(),p!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(w=ut,a++):(w=e,g===0&&ae(mr)),w===e&&(t.substr(a,2)===Mn?(w=Mn,a+=2):(w=e,g===0&&ae(Ae))),w!==e?(S=$e(),S!==e?(_=Ji(),_!==e?(oe=u,p=Fn(p,_),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Jf(){var u,p,y,w,S,_;return u=a,p=Wf(),p!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(w=ut,a++):(w=e,g===0&&ae(mr)),w!==e?(S=$e(),S!==e?(_=Jf(),_!==e?(oe=u,p=In(p,_),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u===e&&(u=a,p=Wf(),p!==e&&(oe=u,p=je(p)),u=p),u}function qh(){var u,p,y,w,S,_,G,Q,F,N;return u=a,p=$e(),p!==e?(t.charCodeAt(a)===58?(y=Fe,a++):(y=e,g===0&&ae(et)),y!==e?(t.substr(a,5)===bt?(w=bt,a+=5):(w=e,g===0&&ae(Xr)),w!==e?(S=a,t.charCodeAt(a)===60?(_=Re,a++):(_=e,g===0&&ae(qe)),_!==e?(G=$e(),G!==e?(Q=Gf(),Q!==e?(F=$e(),F!==e?(t.charCodeAt(a)===62?(N=ht,a++):(N=e,g===0&&ae(Ze)),N!==e?(oe=S,_=se(w,Q),S=_):(a=S,S=e)):(a=S,S=e)):(a=S,S=e)):(a=S,S=e)):(a=S,S=e),S!==e?(_=$e(),_!==e?(oe=u,p=pe(w,S),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function p1(){var u,p,y,w,S,_;for(u=a,p=[],y=a,w=$e(),w!==e?(S=Ji(),S!==e?(_=$e(),_!==e?(oe=y,w=ke(S),y=w):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);y!==e;)p.push(y),y=a,w=$e(),w!==e?(S=Ji(),S!==e?(_=$e(),_!==e?(oe=y,w=ke(S),y=w):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);return p!==e&&(oe=u,p=Ee(p)),u=p,u===e&&(u=a,p=Ji(),p!==e&&(oe=u,p=Mt(p)),u=p,u===e&&(u=a,p=$e(),p!==e&&(oe=u,p=Yr()),u=p)),u}function Zn(){var u,p,y,w,S,_,G,Q,F,N,L,ne,ue,de;if(u=qh(),u===e)if(u=a,p=$e(),p!==e)if(t.charCodeAt(a)===58?(y=Fe,a++):(y=e,g===0&&ae(et)),y!==e)if(it.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(xt)),w===e&&(w=null),w!==e)if(S=Ja(),S!==e){if(_=a,t.charCodeAt(a)===123?(G=Tt,a++):(G=e,g===0&&ae(en)),G!==e?(Q=$e(),Q!==e?(F=Jf(),F!==e?(N=$e(),N!==e?(t.charCodeAt(a)===125?(L=gt,a++):(L=e,g===0&&ae(On)),L!==e?(oe=_,G=gr(w,S,F),_=G):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e),_===e){if(_=a,t.charCodeAt(a)===91?(G=mn,a++):(G=e,g===0&&ae(hn)),G!==e)if(Q=$e(),Q!==e){if(F=a,N=Co(),N!==e&&(oe=F,N=gn(w,S,N)),F=N,F===e){if(F=a,N=a,L=[],ne=a,ue=a,g++,t.charCodeAt(a)===93?(de=oi,a++):(de=e,g===0&&ae(Rn)),de===e&&(t.charCodeAt(a)===91?(de=mn,a++):(de=e,g===0&&ae(hn))),g--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,g===0&&ae(h)),de!==e?(ue=[ue,de],ne=ue):(a=ne,ne=e)):(a=ne,ne=e),ne!==e)for(;ne!==e;)L.push(ne),ne=a,ue=a,g++,t.charCodeAt(a)===93?(de=oi,a++):(de=e,g===0&&ae(Rn)),de===e&&(t.charCodeAt(a)===91?(de=mn,a++):(de=e,g===0&&ae(hn))),g--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,g===0&&ae(h)),de!==e?(ue=[ue,de],ne=ue):(a=ne,ne=e)):(a=ne,ne=e);else L=e;L!==e?N=t.substring(N,a):N=L,N!==e&&(oe=F,N=Li(w,S)),F=N}F!==e?(N=$e(),N!==e?(t.charCodeAt(a)===93?(L=oi,a++):(L=e,g===0&&ae(Rn)),L!==e?(oe=_,G=zn(w,S,F),_=G):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;if(_===e&&(_=a,t.charCodeAt(a)===60?(G=Re,a++):(G=e,g===0&&ae(qe)),G!==e?(Q=$e(),Q!==e?(F=Co(),F!==e?(N=$e(),N!==e?(t.charCodeAt(a)===62?(L=ht,a++):(L=e,g===0&&ae(Ze)),L!==e?(oe=_,G=ai(w,S,F),_=G):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e),_===e)){if(_=a,t.charCodeAt(a)===60?(G=Re,a++):(G=e,g===0&&ae(qe)),G!==e)if(Q=$e(),Q!==e){if(F=a,N=[],L=a,ne=a,g++,t.charCodeAt(a)===60?(ue=Re,a++):(ue=e,g===0&&ae(qe)),ue===e&&(t.charCodeAt(a)===62?(ue=ht,a++):(ue=e,g===0&&ae(Ze))),g--,ue===e?ne=void 0:(a=ne,ne=e),ne!==e?(t.length>a?(ue=t.charAt(a),a++):(ue=e,g===0&&ae(h)),ue!==e?(ne=[ne,ue],L=ne):(a=L,L=e)):(a=L,L=e),L!==e)for(;L!==e;)N.push(L),L=a,ne=a,g++,t.charCodeAt(a)===60?(ue=Re,a++):(ue=e,g===0&&ae(qe)),ue===e&&(t.charCodeAt(a)===62?(ue=ht,a++):(ue=e,g===0&&ae(Ze))),g--,ue===e?ne=void 0:(a=ne,ne=e),ne!==e?(t.length>a?(ue=t.charAt(a),a++):(ue=e,g===0&&ae(h)),ue!==e?(ne=[ne,ue],L=ne):(a=L,L=e)):(a=L,L=e);else N=e;N!==e?F=t.substring(F,a):F=N,F!==e?(N=$e(),N!==e?(t.charCodeAt(a)===62?(L=ht,a++):(L=e,g===0&&ae(Ze)),L!==e?(oe=_,G=ji(w,S,F),_=G):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;if(_===e){if(_=a,t.charCodeAt(a)===40?(G=Vn,a++):(G=e,g===0&&ae(li)),G!==e)if(Q=$e(),Q!==e){if(F=a,N=Co(),N!==e&&(oe=F,N=ui(w,S,N)),F=N,F===e){if(F=a,N=a,L=[],ne=a,ue=a,g++,t.charCodeAt(a)===41?(de=V,a++):(de=e,g===0&&ae(q)),de===e&&(t.charCodeAt(a)===40?(de=Vn,a++):(de=e,g===0&&ae(li))),g--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,g===0&&ae(h)),de!==e?(ue=[ue,de],ne=ue):(a=ne,ne=e)):(a=ne,ne=e),ne!==e)for(;ne!==e;)L.push(ne),ne=a,ue=a,g++,t.charCodeAt(a)===41?(de=V,a++):(de=e,g===0&&ae(q)),de===e&&(t.charCodeAt(a)===40?(de=Vn,a++):(de=e,g===0&&ae(li))),g--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,g===0&&ae(h)),de!==e?(ue=[ue,de],ne=ue):(a=ne,ne=e)):(a=ne,ne=e);else L=e;L!==e?N=t.substring(N,a):N=L,N!==e&&(oe=F,N=Z(w,S)),F=N}F!==e?(N=$e(),N!==e?(t.charCodeAt(a)===41?(L=V,a++):(L=e,g===0&&ae(q)),L!==e?(oe=_,G=te(w,S,F),_=G):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;_===e&&(_=a,G=$e(),G!==e&&(oe=_,G=ie(w,S)),_=G)}}}_!==e?(G=$e(),G!==e?(oe=u,p=ye(w,S,_),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Qn(){var u,p,y,w,S,_,G,Q,F,N;for(u=a,p=[],y=Zn();y!==e;)p.push(y),y=Zn();if(p!==e)if(y=pi(),y!==e){if(w=[],S=a,t.charCodeAt(a)===61?(_=z,a++):(_=e,g===0&&ae(U)),_!==e)if(G=$e(),G!==e){if(Q=[],F=Zn(),F!==e)for(;F!==e;)Q.push(F),F=Zn();else Q=e;Q!==e?(F=$e(),F!==e?(N=pi(),N!==e?(oe=S,_=_e(p,Q),S=_):(a=S,S=e)):(a=S,S=e)):(a=S,S=e)}else a=S,S=e;else a=S,S=e;for(;S!==e;)if(w.push(S),S=a,t.charCodeAt(a)===61?(_=z,a++):(_=e,g===0&&ae(U)),_!==e)if(G=$e(),G!==e){if(Q=[],F=Zn(),F!==e)for(;F!==e;)Q.push(F),F=Zn();else Q=e;Q!==e?(F=$e(),F!==e?(N=pi(),N!==e?(oe=S,_=_e(p,Q),S=_):(a=S,S=e)):(a=S,S=e)):(a=S,S=e)}else a=S,S=e;else a=S,S=e;w!==e?(oe=u,p=Be(p,w),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function d1(){var u,p,y,w;if(u=a,p=a,y=[],Ge.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(kt)),w!==e)for(;w!==e;)y.push(w),Ge.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(kt));else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=De(p)),u=p,u}function Zf(){var u,p,y;if(u=a,p=[],st.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,g===0&&ae(yt)),y!==e)for(;y!==e;)p.push(y),st.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,g===0&&ae(yt));else p=e;return p!==e?u=t.substring(u,a):u=p,u}function Ao(){var u,p,y,w,S;if(u=a,p=a,ct.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,g===0&&ae(Ke)),y===e&&(y=null),y!==e){if(w=[],st.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(yt)),S!==e)for(;S!==e;)w.push(S),st.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(yt));else w=e;w!==e?(y=[y,w],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function Dh(){var u,p;return u=a,t.substr(a,4)===ft?(p=ft,a+=4):(p=e,g===0&&ae(tt)),p!==e&&(oe=u,p=tn()),u=p,u===e&&(u=a,t.substr(a,5)===zt?(p=zt,a+=5):(p=e,g===0&&ae(tr)),p!==e&&(oe=u,p=ot()),u=p),u}function Nh(){var u,p,y,w,S,_;return u=a,p=a,y=Ao(),y!==e?(w=a,t.charCodeAt(a)===46?(S=Vt,a++):(S=e,g===0&&ae(Wt)),S!==e?(_=Zf(),_!==e?(S=[S,_],w=S):(a=w,w=e)):(a=w,w=e),w===e&&(w=null),w!==e?(Er.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(rn)),S!==e?(_=Ao(),_!==e?(y=[y,w,S,_],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u===e&&(u=a,p=a,y=Ao(),y!==e?(t.charCodeAt(a)===46?(w=Vt,a++):(w=e,g===0&&ae(Wt)),w!==e?(S=Zf(),S!==e?(y=[y,w,S],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p),u}function Ji(){var u,p,y,w,S;if(u=a,_r.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(yn)),p!==e){for(y=a,w=[],qn.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Dn));S!==e;)w.push(S),qn.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Dn));w!==e?y=t.substring(y,a):y=w,y!==e?(_r.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(yn)),w!==e?(oe=u,p=De(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;if(u===e){if(u=a,rr.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(Sr)),p!==e){for(y=a,w=[],Jt.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Mr));S!==e;)w.push(S),Jt.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Mr));w!==e?y=t.substring(y,a):y=w,y!==e?(rr.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(Sr)),w!==e?(oe=u,p=De(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;u===e&&(u=Dh(),u===e&&(u=a,p=Nh(),p!==e&&(oe=u,p=Un(p)),u=p,u===e&&(u=a,p=Ao(),p!==e&&(oe=u,p=zr(p)),u=p)))}return u}function _s(){var u,p,y,w,S,_,G,Q,F,N,L,ne,ue,de,at,jr,Jr;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Es(),y!==e)if(w=Ut(),w!==e)if(S=$e(),S!==e)if(_=Qn(),_!==e)if(oe=a,G=i(p,w,_),G?G=void 0:G=e,G!==e){if(Q=[],F=a,N=a,L=$e(),L!==e?N=t.substring(N,a):N=L,N!==e?(L=a,ne=Jn(),ne===e&&(ne=a,ue=a,g++,de=Nn(),g--,de===e?ue=void 0:(a=ue,ue=e),ue===e&&(ue=a,g++,de=a,at=mi(),at!==e?(jr=Ut(),jr!==e?(oe=a,Jr=fe(p,w,_,N,jr),Jr?Jr=void 0:Jr=e,Jr!==e?(at=[at,jr,Jr],de=at):(a=de,de=e)):(a=de,de=e)):(a=de,de=e),g--,de===e?ue=void 0:(a=ue,ue=e)),ue!==e?(de=Kr(),de!==e?(at=Jn(),at===e&&(at=null),at!==e?(ue=[ue,de,at],ne=ue):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e)),ne!==e?L=t.substring(L,a):L=ne,L!==e?(oe=F,N=$n(p,w,_,N,L),F=N):(a=F,F=e)):(a=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=a,N=a,L=$e(),L!==e?N=t.substring(N,a):N=L,N!==e?(L=a,ne=Jn(),ne===e&&(ne=a,ue=a,g++,de=Nn(),g--,de===e?ue=void 0:(a=ue,ue=e),ue===e&&(ue=a,g++,de=a,at=mi(),at!==e?(jr=Ut(),jr!==e?(oe=a,Jr=fe(p,w,_,N,jr),Jr?Jr=void 0:Jr=e,Jr!==e?(at=[at,jr,Jr],de=at):(a=de,de=e)):(a=de,de=e)):(a=de,de=e),g--,de===e?ue=void 0:(a=ue,ue=e)),ue!==e?(de=Kr(),de!==e?(at=Jn(),at===e&&(at=null),at!==e?(ue=[ue,de,at],ne=ue):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e)),ne!==e?L=t.substring(L,a):L=ne,L!==e?(oe=F,N=$n(p,w,_,N,L),F=N):(a=F,F=e)):(a=F,F=e);else Q=e;Q!==e?(F=a,N=$e(),N!==e?F=t.substring(F,a):F=N,F!==e?(N=a,L=mi(),L!==e?(ne=Ut(),ne!==e?(oe=a,ue=Ft(p,w,_,Q,F,ne),ue?ue=void 0:ue=e,ue!==e?(de=Jn(),de===e&&(de=null),de!==e?(oe=N,L=nn(p,w,_,Q,F,ne),N=L):(a=N,N=e)):(a=N,N=e)):(a=N,N=e)):(a=N,N=e),N!==e?(oe=a,L=x(p,w,_,Q,F,N),L?L=void 0:L=e,L!==e?(oe=u,p=Vr(p,w,_,Q,F,N),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Zi(){var u,p,y,w,S,_,G,Q,F;if(u=a,p=a,g++,y=a,w=$e(),w!==e?(S=Nn(),S===e&&(S=hi()),S!==e?(w=[w,S],y=w):(a=y,y=e)):(a=y,y=e),y===e&&(y=Gr()),g--,y===e?p=void 0:(a=p,p=e),p!==e){for(y=[],w=Dt();w!==e;)y.push(w),w=Dt();if(y!==e){if(w=a,S=[],_=a,bn.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,g===0&&ae(Bi)),G!==e){for(Q=[],F=Dt();F!==e;)Q.push(F),F=Dt();Q!==e?(G=[G,Q],_=G):(a=_,_=e)}else a=_,_=e;if(_!==e)for(;_!==e;)if(S.push(_),_=a,bn.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,g===0&&ae(Bi)),G!==e){for(Q=[],F=Dt();F!==e;)Q.push(F),F=Dt();Q!==e?(G=[G,Q],_=G):(a=_,_=e)}else a=_,_=e;else S=e;S!==e?w=t.substring(w,a):w=S,w!==e?(S=di(),S!==e?(oe=u,p=ho(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e}else a=u,u=e;return u}function Tr(){var u,p,y,w,S;return u=a,p=a,y=Zi(),y===e&&(y=a,oe=a,w=Ur(),w?w=void 0:w=e,w!==e?(S=Gr(),S!==e?(w=[w,S],y=w):(a=y,y=e)):(a=y,y=e)),y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=Me()),u=p,u}function Wr(){var u,p;return u=a,p=Zt(),p!==e&&(oe=u,p=yr(p)),u=p,u}function Va(){var u,p,y,w,S,_,G,Q,F,N,L;if(u=a,oe=a,p=Hn(),p?p=void 0:p=e,p!==e){if(y=a,w=[],S=a,_=a,g++,G=Zi(),g--,G===e?_=void 0:(a=_,_=e),_!==e?(G=Wr(),G!==e?(_=[_,G],S=_):(a=S,S=e)):(a=S,S=e),S!==e)for(;S!==e;)w.push(S),S=a,_=a,g++,G=Zi(),g--,G===e?_=void 0:(a=_,_=e),_!==e?(G=Wr(),G!==e?(_=[_,G],S=_):(a=S,S=e)):(a=S,S=e);else w=e;if(w!==e?y=t.substring(y,a):y=w,y!==e)if(w=a,S=Zi(),S!==e&&(oe=w,S=wn(y,S)),w=S,w!==e){if(S=[],_=a,G=a,Q=[],F=a,N=a,g++,L=Tr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Wr(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=a,N=a,g++,L=Tr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Wr(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e);else Q=e;if(Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,F=Tr(),F!==e&&(oe=Q,F=bs(y,w,G,F)),Q=F,Q!==e?(oe=_,G=Hr(y,w,G,Q),_=G):(a=_,_=e)):(a=_,_=e),_===e&&(_=a,G=a,g++,Q=Zi(),g--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,g++,F=Tr(),g--,F===e?Q=void 0:(a=Q,Q=e),Q!==e?(F=Wr(),F!==e?(oe=_,G=Pr(y,w,F),_=G):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)),_!==e)for(;_!==e;){if(S.push(_),_=a,G=a,Q=[],F=a,N=a,g++,L=Tr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Wr(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=a,N=a,g++,L=Tr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Wr(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e);else Q=e;Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,F=Tr(),F!==e&&(oe=Q,F=bs(y,w,G,F)),Q=F,Q!==e?(oe=_,G=Hr(y,w,G,Q),_=G):(a=_,_=e)):(a=_,_=e),_===e&&(_=a,G=a,g++,Q=Zi(),g--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,g++,F=Tr(),g--,F===e?Q=void 0:(a=Q,Q=e),Q!==e?(F=Wr(),F!==e?(oe=_,G=Pr(y,w,F),_=G):(a=_,_=e)):(a=_,_=e)):(a=_,_=e))}else S=e;S!==e?(oe=a,_=K(y,w,S),_?_=void 0:_=e,_!==e?(oe=u,p=ws(y,w,S),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e}else a=u,u=e;if(u===e){if(u=a,p=[],y=a,w=a,S=a,_=a,g++,G=Tr(),g--,G===e?_=void 0:(a=_,_=e),_!==e?(G=Wr(),G!==e?(_=[_,G],S=_):(a=S,S=e)):(a=S,S=e),S!==e?w=t.substring(w,a):w=S,w!==e){for(S=[],_=Tr();_!==e;)S.push(_),_=Tr();S!==e?(oe=y,w=fi(w,S),y=w):(a=y,y=e)}else a=y,y=e;if(y!==e)for(;y!==e;)if(p.push(y),y=a,w=a,S=a,_=a,g++,G=Tr(),g--,G===e?_=void 0:(a=_,_=e),_!==e?(G=Wr(),G!==e?(_=[_,G],S=_):(a=S,S=e)):(a=S,S=e),S!==e?w=t.substring(w,a):w=S,w!==e){for(S=[],_=Tr();_!==e;)S.push(_),_=Tr();S!==e?(oe=y,w=fi(w,S),y=w):(a=y,y=e)}else a=y,y=e;else p=e;if(p!==e&&(oe=u,p=Mi(p)),u=p,u===e)if(u=[],p=Wr(),p!==e)for(;p!==e;)u.push(p),p=Wr();else u=e}return u}function Lh(){var u,p,y,w,S,_,G,Q,F,N,L,ne,ue,de,at,jr;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Es(),y!==e)if(w=Ut(),w!==e)if(S=$e(),S!==e)if(_=Qn(),_!==e)if(oe=a,G=Gn(p,w,_),G?G=void 0:G=e,G!==e)if(oe=a,Q=go(p,w,_),Q?Q=void 0:Q=e,Q!==e){for(F=a,N=[],L=Gr(),L===e&&(L=_s(),L===e&&(L=Ss(),L===e&&(L=Fs(),L===e&&(L=Is(),L===e&&(L=Ps(),L===e&&(L=Ts()))))));L!==e;)N.push(L),L=Gr(),L===e&&(L=_s(),L===e&&(L=Ss(),L===e&&(L=Fs(),L===e&&(L=Is(),L===e&&(L=Ps(),L===e&&(L=Ts()))))));N!==e&&(oe=F,N=Ta(p,w,_,N)),F=N,F!==e?(oe=a,N=zi(p,w,_,F),N?N=void 0:N=e,N!==e?(L=a,ne=$e(),ne!==e?L=t.substring(L,a):L=ne,L!==e?(ne=a,ue=mi(),ue!==e?(de=Ut(),de!==e?(oe=a,at=Ft(p,w,_,F,L,de),at?at=void 0:at=e,at!==e?(jr=Jn(),jr===e&&(jr=null),jr!==e?(oe=ne,ue=sn(p,w,_,F,L,de),ne=ue):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e),ne!==e?(oe=u,p=ks(p,w,_,F,L,ne),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ua(){var u,p,y,w,S,_,G,Q,F,N,L,ne,ue,de,at;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Es(),y!==e)if(w=Ut(),w!==e)if(S=$e(),S!==e)if(_=Qn(),_!==e)if(oe=a,G=Gn(p,w,_),G?G=void 0:G=e,G!==e)if(oe=a,Q=vs(p,w,_),Q?Q=void 0:Q=e,Q!==e){for(F=a,N=[],L=Gr();L!==e;)N.push(L),L=Gr();if(N!==e)if(L=Va(),L!==e){for(ne=[],ue=Gr();ue!==e;)ne.push(ue),ue=Gr();ne!==e?(oe=F,N=Fa(p,w,_,L),F=N):(a=F,F=e)}else a=F,F=e;else a=F,F=e;F!==e?(N=a,L=$e(),L!==e?N=t.substring(N,a):N=L,N!==e?(L=a,ne=mi(),ne!==e?(ue=Ut(),ue!==e?(oe=a,de=Ft(p,w,_,F,N,ue),de?de=void 0:de=e,de!==e?(at=Jn(),at===e&&(at=null),at!==e?(oe=L,ne=Ia(p,w,_,F,N,ue),L=ne):(a=L,L=e)):(a=L,L=e)):(a=L,L=e)):(a=L,L=e),L!==e?(oe=a,ne=x(p,w,_,F,N,L),ne?ne=void 0:ne=e,ne!==e?(oe=u,p=Oa(p,w,_,F,N,L),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ss(){var u,p,y,w,S,_,G,Q,F,N,L,ne,ue;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Es(),y!==e)if(w=Ut(),w!==e)if(S=$e(),S!==e)if(_=Qn(),_!==e){if(G=[],Q=a,F=Gr(),F===e&&(F=_s(),F===e&&(F=Ua(),F===e&&(F=Ss(),F===e&&(F=Fs(),F===e&&(F=Wa(),F===e&&(F=Is(),F===e&&(F=Ga(),F===e&&(F=Ka(),F===e&&(F=Ps(),F===e&&(F=Ha(),F===e&&(F=Ts()))))))))))),F!==e&&(oe=Q,F=yo(p,w,_,F)),Q=F,Q===e){for(Q=a,F=a,N=[],L=Dt();L!==e;)N.push(L),L=Dt();if(N!==e?F=t.substring(F,a):F=N,F!==e){if(N=a,L=[],ne=Zt(),ne!==e)for(;ne!==e;)L.push(ne),ne=Zt();else L=e;L!==e?N=t.substring(N,a):N=L,N!==e?(oe=Q,F=$o(p,w,_,F,N),Q=F):(a=Q,Q=e)}else a=Q,Q=e}for(;Q!==e;)if(G.push(Q),Q=a,F=Gr(),F===e&&(F=_s(),F===e&&(F=Ua(),F===e&&(F=Ss(),F===e&&(F=Fs(),F===e&&(F=Wa(),F===e&&(F=Is(),F===e&&(F=Ga(),F===e&&(F=Ka(),F===e&&(F=Ps(),F===e&&(F=Ha(),F===e&&(F=Ts()))))))))))),F!==e&&(oe=Q,F=yo(p,w,_,F)),Q=F,Q===e){for(Q=a,F=a,N=[],L=Dt();L!==e;)N.push(L),L=Dt();if(N!==e?F=t.substring(F,a):F=N,F!==e){if(N=a,L=[],ne=Zt(),ne!==e)for(;ne!==e;)L.push(ne),ne=Zt();else L=e;L!==e?N=t.substring(N,a):N=L,N!==e?(oe=Q,F=$o(p,w,_,F,N),Q=F):(a=Q,Q=e)}else a=Q,Q=e}G!==e?(Q=a,F=$e(),F!==e?Q=t.substring(Q,a):Q=F,Q!==e?(F=a,N=mi(),N!==e?(L=Ut(),L!==e?(oe=a,ne=Ft(p,w,_,G,Q,L),ne?ne=void 0:ne=e,ne!==e?(ue=Jn(),ue===e&&(ue=null),ue!==e?(oe=F,N=bo(p,w,_,G,Q,L),F=N):(a=F,F=e)):(a=F,F=e)):(a=F,F=e)):(a=F,F=e),F!==e?(oe=a,N=x(p,w,_,G,Q,F),N?N=void 0:N=e,N!==e?(oe=u,p=Kn(p,w,_,G,Q,F),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function jh(){var u,p,y;if(u=a,p=[],y=Zt(),y!==e)for(;y!==e;)p.push(y),y=Zt();else p=e;return p!==e&&(oe=u,p=nr()),u=p,u}function m1(){var u,p,y,w;if(u=a,p=[],y=a,w=Lr(),w!==e&&(oe=y,w=Vi()),y=w,y===e){if(y=[],kn.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(ir)),w!==e)for(;w!==e;)y.push(w),kn.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(ir));else y=e;y===e&&(y=Zt())}if(y!==e){for(;y!==e;)if(p.push(y),y=a,w=Lr(),w!==e&&(oe=y,w=Vi()),y=w,y===e){if(y=[],kn.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(ir)),w!==e)for(;w!==e;)y.push(w),kn.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,g===0&&ae(ir));else y=e;y===e&&(y=Zt())}}else p=e;return p!==e&&(oe=u,p=Ra(p)),u=p,u}function Ps(){var u,p,y,w,S,_,G,Q,F,N,L,ne;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,g++,w=Nn(),g--,w===e?y=void 0:(a=y,y=e),y!==e)if(w=hi(),w!==e)if(S=$e(),S!==e)if(_=Lr(),_===e&&(_=null),_!==e)if(oe=a,G=wo(p,w),G?G=void 0:G=e,G!==e){for(Q=a,F=[],N=a,L=a,g++,ne=Lr(),g--,ne===e?L=void 0:(a=L,L=e),L!==e?(ne=Zt(),ne!==e?(L=[L,ne],N=L):(a=N,N=e)):(a=N,N=e);N!==e;)F.push(N),N=a,L=a,g++,ne=Lr(),g--,ne===e?L=void 0:(a=L,L=e),L!==e?(ne=Zt(),ne!==e?(L=[L,ne],N=L):(a=N,N=e)):(a=N,N=e);F!==e?Q=t.substring(Q,a):Q=F,Q!==e?(oe=u,p=vn(p,w,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ha(){var u,p,y,w,S,_,G,Q,F;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=a,g++,w=Nn(),g--,w===e?y=void 0:(a=y,y=e),y!==e?(w=hi(),w!==e?(S=$e(),S!==e?(_=Lr(),_===e&&(_=null),_!==e?(oe=a,G=ci(p,w),G?G=void 0:G=e,G!==e?(oe=a,Q=Ui(p,w),Q?Q=void 0:Q=e,Q!==e?(F=Va(),F!==e?(oe=u,p=qa(p,w,F),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Ts(){var u,p,y,w,S,_,G,Q,F,N,L;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,g++,w=Nn(),g--,w===e?y=void 0:(a=y,y=e),y!==e)if(w=hi(),w!==e)if(S=$e(),S!==e)if(_=Lr(),_===e&&(_=Ih()),_!==e){for(G=a,Q=[],F=a,N=a,g++,L=Lr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Zt(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e);F!==e;)Q.push(F),F=a,N=a,g++,L=Lr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Zt(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(oe=u,p=Da(p,w,_,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Bh(){var u,p,y,w,S,_,G,Q,F,N,L;for(u=a,p=[],y=Kr();y!==e;)p.push(y),y=Kr();if(p!==e)if(y=pi(),y!==e){if(w=[],S=a,_=$e(),_!==e)if(t.substr(a,2)===Hi?(G=Hi,a+=2):(G=e,g===0&&ae(ko)),G!==e)if(Q=$e(),Q!==e){if(F=[],N=Kr(),N!==e)for(;N!==e;)F.push(N),N=Kr();else F=e;F!==e?(N=$e(),N!==e?(L=pi(),L!==e?(oe=S,_=_e(p,F),S=_):(a=S,S=e)):(a=S,S=e)):(a=S,S=e)}else a=S,S=e;else a=S,S=e;else a=S,S=e;for(;S!==e;)if(w.push(S),S=a,_=$e(),_!==e)if(t.substr(a,2)===Hi?(G=Hi,a+=2):(G=e,g===0&&ae(ko)),G!==e)if(Q=$e(),Q!==e){if(F=[],N=Kr(),N!==e)for(;N!==e;)F.push(N),N=Kr();else F=e;F!==e?(N=$e(),N!==e?(L=pi(),L!==e?(oe=S,_=_e(p,F),S=_):(a=S,S=e)):(a=S,S=e)):(a=S,S=e)}else a=S,S=e;else a=S,S=e;else a=S,S=e;w!==e?(oe=u,p=Be(p,w),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function Ga(){var u,p,y,w,S,_,G;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,6)===wt?(y=wt,a+=6):(y=e,g===0&&ae(Ye)),y!==e?(w=$e(),w!==e?(S=a,_=Ja(),_!==e?S=t.substring(S,a):S=_,S!==e?(_=$e(),_!==e?(G=Bh(),G!==e?(oe=u,p=Na(p,y,S,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Ka(){var u,p,y,w,S,_,G,Q;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,7)===Je?(y=Je,a+=7):(y=e,g===0&&ae(re)),y!==e?(w=$e(),w!==e?(S=a,_=Ut(),_===e&&(_=a,La.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,g===0&&ae(vo)),G!==e?(t.substr(a,2)===xs?(Q=xs,a+=2):(Q=e,g===0&&ae(ja)),Q!==e?(G=[G,Q],_=G):(a=_,_=e)):(a=_,_=e)),_!==e?S=t.substring(S,a):S=_,S!==e?(_=$e(),_!==e?(G=Qn(),G!==e?(oe=u,p=Cs(p,y,S,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Fs(){var u,p,y,w,S,_,G,Q,F,N,L,ne;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=xo(),y!==e)if(w=Ut(),w!==e)if(S=$e(),S!==e)if(_=Qn(),_!==e)if(oe=a,G=Et(p,y,w,_),G?G=void 0:G=e,G!==e){for(Q=a,F=[],N=a,L=a,g++,ne=Lr(),g--,ne===e?L=void 0:(a=L,L=e),L!==e?(ne=Zt(),ne!==e?(L=[L,ne],N=L):(a=N,N=e)):(a=N,N=e);N!==e;)F.push(N),N=a,L=a,g++,ne=Lr(),g--,ne===e?L=void 0:(a=L,L=e),L!==e?(ne=Zt(),ne!==e?(L=[L,ne],N=L):(a=N,N=e)):(a=N,N=e);F!==e?Q=t.substring(Q,a):Q=F,Q!==e?(oe=u,p=Ne(p,y,w,_,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Wa(){var u,p,y,w,S,_,G,Q,F;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=xo(),y!==e?(w=Ut(),w!==e?(S=$e(),S!==e?(_=Qn(),_!==e?(oe=a,G=Gi(p,y,w,_),G?G=void 0:G=e,G!==e?(oe=a,Q=Bf(p,y,w,_),Q?Q=void 0:Q=e,Q!==e?(F=Va(),F!==e?(oe=u,p=sr(p,y,w,_,F),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Is(){var u,p,y,w,S,_,G,Q,F,N,L;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=xo(),y!==e)if(w=Ut(),w!==e)if(S=$e(),S!==e)if(_=Qn(),_!==e){for(G=a,Q=[],F=a,N=a,g++,L=Lr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Zt(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e);F!==e;)Q.push(F),F=a,N=a,g++,L=Lr(),g--,L===e?N=void 0:(a=N,N=e),N!==e?(L=Zt(),L!==e?(N=[N,L],F=N):(a=F,F=e)):(a=F,F=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(oe=u,p=xn(p,y,w,_,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ja(){var u,p,y,w,S;if(u=a,p=a,pt.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,g===0&&ae(Ba)),y!==e){if(w=[],Ar.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Bt)),S!==e)for(;S!==e;)w.push(S),Ar.test(t.charAt(a))?(S=t.charAt(a),a++):(S=e,g===0&&ae(Bt));else w=e;w!==e?(y=[y,w],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function h1(){var u,p;for(g++,u=[],Ki.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(Wi));p!==e;)u.push(p),Ki.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(Wi));return g--,u===e&&(p=e,g===0&&ae(Ma)),u}function g1(){var u,p;for(g++,u=[],Ki.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(Wi));p!==e;)u.push(p),Ki.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,g===0&&ae(Wi));return g--,u===e&&(p=e,g===0&&ae(za)),u}function Eo(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function Mh(u){return u===u.toUpperCase()}function Qi(u){return u.reduce((p,y)=>Array.isArray(y)?p.concat(Qi(y)):p.concat(y),[])}function zh(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","table","toc"].includes(u)||Mh(u)||u.match(/^(head|item)\d+$/)||Eo(u)}function Vh(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(k=s(),k!==e&&a===t.length)return k;throw k!==e&&a<t.length&&ae(Y()),Mf($,d<t.length?t.charAt(d):null,d<t.length?J(d,d+1):J(d,d))}xd.exports={SyntaxError:Si,parse:Xw}});var Ed=be((Ou,Ru)=>{(function(t,r,e){typeof Ou=="object"?(Ru.exports=e(),Ru.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",Ou,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(n,s){if(typeof n!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var o=r[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,f=s.trim===void 0?!0:s.trim,c=n.normalize().split("").reduce(function(h,m){var b=o[m];return b===void 0&&(b=t[m]),b===void 0&&(b=m),b===l&&(b=" "),h+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(n){Object.assign(t,n)},e})});var Td=be((DC,Pd)=>{"use strict";function lk(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Pi(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Pi)}lk(Pi,Error);Pi.buildMessage=function(t,r){var e={literal:function(h){return'"'+s(h.text)+'"'},class:function(h){var m="",b;for(b=0;b<h.parts.length;b++)m+=h.parts[b]instanceof Array?o(h.parts[b][0])+"-"+o(h.parts[b][1]):o(h.parts[b]);return"["+(h.inverted?"^":"")+m+"]"},any:function(h){return"any character"},end:function(h){return"end of input"},other:function(h){return h.description}};function n(h){return h.charCodeAt(0).toString(16).toUpperCase()}function s(h){return h.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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function o(h){return h.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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function l(h){return e[h.type](h)}function f(h){var m=new Array(h.length),b,C;for(b=0;b<h.length;b++)m[b]=l(h[b]);if(m.sort(),m.length>0){for(b=1,C=1;b<m.length;b++)m[b-1]!==m[b]&&(m[C]=m[b],C++);m.length=C}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}function c(h){return h?'"'+s(h)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function uk(t,r){r=r!==void 0?r:{};var e={},n={Expression:Mi},s=Mi,o="A",l=Me("A",!1),f="V",c=Me("V",!1),h="R",m=Me("R",!1),b="B",C=Me("B",!1),A="I",E=Me("I",!1),O="C",D=Me("C",!1),M="D",X=Me("D",!1),le="E",we=Me("E",!1),ge="H",ee=Me("H",!1),me="J",xe=Me("J",!1),ve="K",Le=Me("K",!1),Pe="L",Te=Me("L",!1),he="O",Se=Me("O",!1),Je="S",re=Me("S",!1),wt="T",Ye=Me("T",!1),vt="F",lt=Me("F",!1),z="U",U=Me("U",!1),er="Z",Rt=Me("Z",!1),At="N",qt=Me("N",!1),Pt="X",ut=Me("X",!1),mr=/^[a-zA-Z]/,Kt=yr([["a","z"],["A","Z"]],!1,!1),hr=/^[a-zA-Z0-9_\-]/,Cr=yr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ar=/^[ \t\f]/,Bt=yr([" "," ","\f"],!1,!1),Mn=function(d){return!(r.allowed||[]).length||(r.allowed||[]).includes(d)},Ae=Hn(),Fn=function(d){return{content:d.content,type:"fcode",name:d.name,synonyms:d.items}},In=function(d){return{content:d.content,type:"fcode",name:d.name,entry:d.items}},je="<",Fe=Me("<",!1),et=">",bt=Me(">",!1),Xr=function(){return bn()},Re="\xAB",qe=Me("\xAB",!1),ht="\xBB",Ze=Me("\xBB",!1),se=function(d){return d},pe=function(d){return d.code==="C"},ke=function(d,$){return $===d.end_tag},Ee=function(d,$){return $},Mt=function(d,$,g){return g===d.end_tag},Yr=function(d,$,g){return{content:$,type:"fcode",name:d.code}},it="|",xt=Me("|",!1),Tt=function(d){return d},en=function(d){return d.code==="L"},gt=function(d,$,g){return g},On=function(d,$,g,k){return k===d.end_tag},gr=function(d,$,g,k){return{content:$,type:"fcode",name:d.code,meta:g}},mn=";",hn=Me(";",!1),gn=/^[ \xA0\u2001\t\f\u2008]/,oi=yr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Rn=function(d,$){return oe([d,$])},Li=function(d){return[d]},zn=/^[0-9]/,ai=yr([["0","9"]],!1,!1),ji="0d",Vn=Me("0d",!1),li=function(d){return parseInt(d,10)},ui="0o",V=Me("0o",!1),q=function(d){return parseInt(d,8)},Z="0b",te=Me("0b",!1),ie=function(d){return parseInt(d,2)},ye="0x",_e=Me("0x",!1),Be=/^[0-9A-Fa-f]/,Ge=yr([["0","9"],["A","F"],["a","f"]],!1,!1),kt=function(){return parseInt(bn())},De=/^[A-Z ]/,st=yr([["A","Z"]," "],!1,!1),yt=function(){return bn()===bn().toUpperCase()},ct=/^[a-z]/,Ke=yr([["a","z"]],!1,!1),ft=/^[a-z0-9]/,tt=yr([["a","z"],["0","9"]],!1,!1),tn=function(d){return bn()},zt=function(d){return{type:"number",value:parseInt(d,10)}},tr=function(d){return{type:"unicode_name",value:d}},ot=function(d){return{type:"html_named",value:d}},Vt=function(d){return d==="E"},Wt=function(d,$){return oe($)},Er=function(d,$){return{content:$||[],type:"fcode",name:d}},rn=function(d){return d},_r=function(d,$){return{code:d,begin_tag:$,end_tag:Wn($)}},yn=function(d){return d.code!=="C"},qn=function(d,$,g){return g===d.end_tag},Dn=function(d,$,g){return{content:$,type:"fcode",name:d.code}},rr=function(d){return!(r.allowed||[]).length||(r.allowed||[]).includes(d)},Sr=function(d,$,g,k){return k===Wn($)},Jt=function(d,$,g,k){return{content:g,type:"fcode",name:d}},Mr=function(d,$,g,k){return oe(k)},Un=function(d,$,g,k,v){return v===Wn($)},zr=function(d,$,g,k,v){return{name:d,content:g,items:k}},i=0,fe=0,$n=[{line:1,column:1}],Ft=0,nn=[],x=0,Vr;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=n[r.startRule]}function bn(){return t.substring(fe,i)}function Bi(){return Pr(fe,i)}function ho(d,$){throw $=$!==void 0?$:Pr(fe,i),fi([bs(d)],t.substring(fe,i),$)}function Ur(d,$){throw $=$!==void 0?$:Pr(fe,i),ws(d,$)}function Me(d,$){return{type:"literal",text:d,ignoreCase:$}}function yr(d,$,g){return{type:"class",parts:d,inverted:$,ignoreCase:g}}function Hn(){return{type:"any"}}function wn(){return{type:"end"}}function bs(d){return{type:"other",description:d}}function Hr(d){var $=$n[d],g;if($)return $;for(g=d-1;!$n[g];)g--;for($=$n[g],$={line:$.line,column:$.column};g<d;)t.charCodeAt(g)===10?($.line++,$.column=1):$.column++,g++;return $n[d]=$,$}function Pr(d,$){var g=Hr(d),k=Hr($);return{start:{offset:d,line:g.line,column:g.column},end:{offset:$,line:k.line,column:k.column}}}function K(d){i<Ft||(i>Ft&&(Ft=i,nn=[]),nn.push(d))}function ws(d,$){return new Pi(d,null,null,$)}function fi(d,$,g){return new Pi(Pi.buildMessage(d,$),d,$,g)}function Mi(){var d,$;for(d=[],$=Gn(),$===e&&($=Gi(),$===e&&($=sr(),$===e&&($=ks())));$!==e;)d.push($),$=Gn(),$===e&&($=Gi(),$===e&&($=sr(),$===e&&($=ks())));return d}function Gn(){var d;return d=Ba(),d===e&&(d=Ki(),d===e&&(d=Vi(),d===e&&(d=yo(),d===e&&(d=ja(),d===e&&(d=Ma(),d===e&&(d=Ra(),d===e&&(d=$o(),d===e&&(d=Wi())))))))),d}function go(){var d;return t.charCodeAt(i)===65?(d=o,i++):(d=e,x===0&&K(l)),d===e&&(t.charCodeAt(i)===86?(d=f,i++):(d=e,x===0&&K(c)),d===e&&(t.charCodeAt(i)===82?(d=h,i++):(d=e,x===0&&K(m)),d===e&&(t.charCodeAt(i)===66?(d=b,i++):(d=e,x===0&&K(C)),d===e&&(t.charCodeAt(i)===73?(d=A,i++):(d=e,x===0&&K(E)),d===e&&(t.charCodeAt(i)===67?(d=O,i++):(d=e,x===0&&K(D)),d===e&&(t.charCodeAt(i)===68?(d=M,i++):(d=e,x===0&&K(X)),d===e&&(t.charCodeAt(i)===69?(d=le,i++):(d=e,x===0&&K(we)),d===e&&(t.charCodeAt(i)===72?(d=ge,i++):(d=e,x===0&&K(ee)),d===e&&(t.charCodeAt(i)===74?(d=me,i++):(d=e,x===0&&K(xe)),d===e&&(t.charCodeAt(i)===75?(d=ve,i++):(d=e,x===0&&K(Le)),d===e&&(t.charCodeAt(i)===76?(d=Pe,i++):(d=e,x===0&&K(Te)),d===e&&(t.charCodeAt(i)===79?(d=he,i++):(d=e,x===0&&K(Se)),d===e&&(t.charCodeAt(i)===83?(d=Je,i++):(d=e,x===0&&K(re)),d===e&&(t.charCodeAt(i)===84?(d=wt,i++):(d=e,x===0&&K(Ye)),d===e&&(t.charCodeAt(i)===70?(d=vt,i++):(d=e,x===0&&K(lt)),d===e&&(t.charCodeAt(i)===85?(d=z,i++):(d=e,x===0&&K(U)),d===e&&(t.charCodeAt(i)===90?(d=er,i++):(d=e,x===0&&K(Rt)),d===e&&(t.charCodeAt(i)===78?(d=At,i++):(d=e,x===0&&K(qt)),d===e&&(t.charCodeAt(i)===88?(d=Pt,i++):(d=e,x===0&&K(ut))))))))))))))))))))),d}function Ta(){var d,$,g,k,v;if(d=i,$=i,mr.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,x===0&&K(Kt)),g!==e){if(k=[],hr.test(t.charAt(i))?(v=t.charAt(i),i++):(v=e,x===0&&K(Cr)),v!==e)for(;v!==e;)k.push(v),hr.test(t.charAt(i))?(v=t.charAt(i),i++):(v=e,x===0&&K(Cr));else k=e;k!==e?(g=[g,k],$=g):(i=$,$=e)}else i=$,$=e;return $!==e?d=t.substring(d,i):d=$,d}function zi(){var d,$;for(d=[],Ar.test(t.charAt(i))?($=t.charAt(i),i++):($=e,x===0&&K(Bt));$!==e;)d.push($),Ar.test(t.charAt(i))?($=t.charAt(i),i++):($=e,x===0&&K(Bt));return d}function sn(){var d,$,g;return d=i,$=go(),$!==e?(fe=i,g=Mn($),g?g=void 0:g=e,g!==e?($=[$,g],d=$):(i=d,d=e)):(i=d,d=e),d}function ks(){var d,$;return d=i,t.length>i?($=t.charAt(i),i++):($=e,x===0&&K(Ae)),$!==e?d=t.substring(d,i):d=$,d}function vs(){var d,$,g,k,v;for(d=i,$=[],g=i,k=i,x++,v=Ne(),x--,v===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(v=t.charAt(i),i++):(v=e,x===0&&K(Ae)),v!==e?(k=[k,v],g=k):(i=g,g=e)):(i=g,g=e);g!==e;)$.push(g),g=i,k=i,x++,v=Ne(),x--,v===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(v=t.charAt(i),i++):(v=e,x===0&&K(Ae)),v!==e?(k=[k,v],g=k):(i=g,g=e)):(i=g,g=e);return $!==e?d=t.substring(d,i):d=$,d}function Fa(){var d,$,g;if(d=i,$=[],g=nr(),g!==e)for(;g!==e;)$.push(g),g=nr();else $=e;return $!==e?d=t.substring(d,i):d=$,d}function Ia(){var d,$;if(d=[],$=ir(),$!==e)for(;$!==e;)d.push($),$=ir();else d=e;return d}function Oa(){var d,$;for(d=[],$=ir();$!==e;)d.push($),$=ir();return d}function yo(){var d,$;return d=i,$=za(),$!==e&&(fe=d,$=Fn($)),d=$,d}function $o(){var d,$;return d=i,$=a(),$!==e&&(fe=d,$=In($)),d=$,d}function bo(){var d;return t.charCodeAt(i)===66?(d=b,i++):(d=e,x===0&&K(C)),d}function Kn(){var d,$,g,k,v;return d=i,$=i,g=i,x++,k=bo(),x--,k===e?g=void 0:(i=g,g=e),g!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,x===0&&K(Ae)),k!==e?(g=[g,k],$=g):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===60?(g=je,i++):(g=e,x===0&&K(Fe)),g!==e?(k=xn(),k!==e?(t.charCodeAt(i)===62?(v=et,i++):(v=e,x===0&&K(bt)),v!==e?(fe=d,$=Xr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=i,g=i,x++,k=bo(),x--,k===e?g=void 0:(i=g,g=e),g!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,x===0&&K(Ae)),k!==e?(g=[g,k],$=g):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===171?(g=Re,i++):(g=e,x===0&&K(qe)),g!==e?(k=xn(),k!==e?(t.charCodeAt(i)===187?(v=ht,i++):(v=e,x===0&&K(Ze)),v!==e?(fe=d,$=Xr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function nr(){var d,$,g,k,v,I,j,T;if(d=i,$=i,g=[],k=i,v=i,I=i,x++,t.charCodeAt(i)===60?(j=je,i++):(j=e,x===0&&K(Fe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(j=t.charAt(i),i++):(j=e,x===0&&K(Ae)),j!==e?(I=[I,j],v=I):(i=v,v=e)):(i=v,v=e),v===e&&(v=null),v!==e?(t.charCodeAt(i)===60?(I=je,i++):(I=e,x===0&&K(Fe)),I!==e?(j=nr(),j===e&&(j=null),j!==e?(t.charCodeAt(i)===62?(T=et,i++):(T=e,x===0&&K(bt)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,v=i,I=i,x++,t.charCodeAt(i)===171?(j=Re,i++):(j=e,x===0&&K(qe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(j=t.charAt(i),i++):(j=e,x===0&&K(Ae)),j!==e?(I=[I,j],v=I):(i=v,v=e)):(i=v,v=e),v===e&&(v=null),v!==e?(t.charCodeAt(i)===171?(I=Re,i++):(I=e,x===0&&K(qe)),I!==e?(j=nr(),j===e&&(j=null),j!==e?(t.charCodeAt(i)===187?(T=ht,i++):(T=e,x===0&&K(Ze)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=Kn(),k===e&&(k=xn()))),k!==e)for(;k!==e;)g.push(k),k=i,v=i,I=i,x++,t.charCodeAt(i)===60?(j=je,i++):(j=e,x===0&&K(Fe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(j=t.charAt(i),i++):(j=e,x===0&&K(Ae)),j!==e?(I=[I,j],v=I):(i=v,v=e)):(i=v,v=e),v===e&&(v=null),v!==e?(t.charCodeAt(i)===60?(I=je,i++):(I=e,x===0&&K(Fe)),I!==e?(j=nr(),j===e&&(j=null),j!==e?(t.charCodeAt(i)===62?(T=et,i++):(T=e,x===0&&K(bt)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,v=i,I=i,x++,t.charCodeAt(i)===171?(j=Re,i++):(j=e,x===0&&K(qe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(j=t.charAt(i),i++):(j=e,x===0&&K(Ae)),j!==e?(I=[I,j],v=I):(i=v,v=e)):(i=v,v=e),v===e&&(v=null),v!==e?(t.charCodeAt(i)===171?(I=Re,i++):(I=e,x===0&&K(qe)),I!==e?(j=nr(),j===e&&(j=null),j!==e?(t.charCodeAt(i)===187?(T=ht,i++):(T=e,x===0&&K(Ze)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=Kn(),k===e&&(k=xn())));else g=e;return g!==e?$=t.substring($,i):$=g,$!==e&&(fe=d,$=se($)),d=$,d}function Vi(){var d,$,g,k,v,I,j,T,R,W,P,Y,H,B,J;if(d=i,$=Et(),$!==e)if(fe=i,g=pe($),g?g=void 0:g=e,g!==e){if(k=[],v=i,I=i,j=[],T=i,R=i,W=i,x++,t.charCodeAt(i)===60?(P=je,i++):(P=e,x===0&&K(Fe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===60?(W=je,i++):(W=e,x===0&&K(Fe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(Y=et,i++):(Y=e,x===0&&K(bt)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,R=i,W=i,x++,t.charCodeAt(i)===171?(P=Re,i++):(P=e,x===0&&K(qe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===171?(W=Re,i++):(W=e,x===0&&K(qe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(Y=ht,i++):(Y=e,x===0&&K(Ze)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Kn(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}if(T!==e){for(;T!==e;)if(j.push(T),T=i,R=i,W=i,x++,t.charCodeAt(i)===60?(P=je,i++):(P=e,x===0&&K(Fe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===60?(W=je,i++):(W=e,x===0&&K(Fe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(Y=et,i++):(Y=e,x===0&&K(bt)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,R=i,W=i,x++,t.charCodeAt(i)===171?(P=Re,i++):(P=e,x===0&&K(qe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===171?(W=Re,i++):(W=e,x===0&&K(qe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(Y=ht,i++):(Y=e,x===0&&K(Ze)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Kn(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}}else j=e;if(j!==e?I=t.substring(I,i):I=j,I!==e&&(fe=v,I=Ee($,I)),v=I,v!==e)for(;v!==e;){if(k.push(v),v=i,I=i,j=[],T=i,R=i,W=i,x++,t.charCodeAt(i)===60?(P=je,i++):(P=e,x===0&&K(Fe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===60?(W=je,i++):(W=e,x===0&&K(Fe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(Y=et,i++):(Y=e,x===0&&K(bt)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,R=i,W=i,x++,t.charCodeAt(i)===171?(P=Re,i++):(P=e,x===0&&K(qe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===171?(W=Re,i++):(W=e,x===0&&K(qe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(Y=ht,i++):(Y=e,x===0&&K(Ze)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Kn(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}if(T!==e){for(;T!==e;)if(j.push(T),T=i,R=i,W=i,x++,t.charCodeAt(i)===60?(P=je,i++):(P=e,x===0&&K(Fe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===60?(W=je,i++):(W=e,x===0&&K(Fe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(Y=et,i++):(Y=e,x===0&&K(bt)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,R=i,W=i,x++,t.charCodeAt(i)===171?(P=Re,i++):(P=e,x===0&&K(qe)),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(i)===171?(W=Re,i++):(W=e,x===0&&K(qe)),W!==e?(P=nr(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(Y=ht,i++):(Y=e,x===0&&K(Ze)),Y!==e?(R=[R,W,P,Y],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Kn(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}}else j=e;j!==e?I=t.substring(I,i):I=j,I!==e&&(fe=v,I=Ee($,I)),v=I}else k=e;k!==e?(v=Ne(),v!==e?(fe=i,I=Mt($,k,v),I?I=void 0:I=e,I!==e?(fe=d,$=Yr($,k,v),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function kn(){var d;return t.charCodeAt(i)===124?(d=it,i++):(d=e,x===0&&K(xt)),d}function ir(){var d,$,g,k,v,I,j,T,R;if(d=i,$=i,g=[],k=i,v=i,I=i,x++,t.charCodeAt(i)===60?(j=je,i++):(j=e,x===0&&K(Fe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=sn(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,x===0&&K(Ae)),T!==e?(I=[I,j,T],v=I):(i=v,v=e)):(i=v,v=e)):(i=v,v=e),v!==e?(t.charCodeAt(i)===60?(I=je,i++):(I=e,x===0&&K(Fe)),I!==e?(j=ir(),j!==e?(t.charCodeAt(i)===62?(T=et,i++):(T=e,x===0&&K(bt)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,v=i,I=i,x++,t.charCodeAt(i)===171?(j=Re,i++):(j=e,x===0&&K(qe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=sn(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,x===0&&K(Ae)),T!==e?(I=[I,j,T],v=I):(i=v,v=e)):(i=v,v=e)):(i=v,v=e),v!==e?(t.charCodeAt(i)===171?(I=Re,i++):(I=e,x===0&&K(qe)),I!==e?(j=ir(),j===e&&(j=null),j!==e?(t.charCodeAt(i)===187?(T=ht,i++):(T=e,x===0&&K(Ze)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,v=i,x++,I=kn(),x--,I===e?v=void 0:(i=v,v=e),v!==e?(I=i,x++,j=Ne(),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=Cs(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(T=i,x++,R=pt(),x--,R===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(R=t.charAt(i),i++):(R=e,x===0&&K(Ae)),R!==e?(v=[v,I,j,T,R],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e))),k!==e)for(;k!==e;)g.push(k),k=i,v=i,I=i,x++,t.charCodeAt(i)===60?(j=je,i++):(j=e,x===0&&K(Fe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=sn(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,x===0&&K(Ae)),T!==e?(I=[I,j,T],v=I):(i=v,v=e)):(i=v,v=e)):(i=v,v=e),v!==e?(t.charCodeAt(i)===60?(I=je,i++):(I=e,x===0&&K(Fe)),I!==e?(j=ir(),j!==e?(t.charCodeAt(i)===62?(T=et,i++):(T=e,x===0&&K(bt)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,v=i,I=i,x++,t.charCodeAt(i)===171?(j=Re,i++):(j=e,x===0&&K(qe)),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=sn(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,x===0&&K(Ae)),T!==e?(I=[I,j,T],v=I):(i=v,v=e)):(i=v,v=e)):(i=v,v=e),v!==e?(t.charCodeAt(i)===171?(I=Re,i++):(I=e,x===0&&K(qe)),I!==e?(j=ir(),j===e&&(j=null),j!==e?(t.charCodeAt(i)===187?(T=ht,i++):(T=e,x===0&&K(Ze)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,v=i,x++,I=kn(),x--,I===e?v=void 0:(i=v,v=e),v!==e?(I=i,x++,j=Ne(),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=Cs(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(T=i,x++,R=pt(),x--,R===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(R=t.charAt(i),i++):(R=e,x===0&&K(Ae)),R!==e?(v=[v,I,j,T,R],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)));else g=e;return g!==e?$=t.substring($,i):$=g,$!==e&&(fe=d,$=Tt($)),d=$,d}function Ra(){var d,$,g,k,v,I,j,T,R,W,P;if(d=i,$=Et(),$!==e)if(fe=i,g=en($),g?g=void 0:g=e,g!==e){if(k=[],v=Vi(),v===e&&(v=ir()),v!==e)for(;v!==e;)k.push(v),v=Vi(),v===e&&(v=ir());else k=e;if(k!==e){if(v=i,I=kn(),I!==e){for(j=i,T=[],R=i,W=i,x++,P=Ne(),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e);R!==e;)T.push(R),R=i,W=i,x++,P=Ne(),x--,P===e?W=void 0:(i=W,W=e),W!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,x===0&&K(Ae)),P!==e?(W=[W,P],R=W):(i=R,R=e)):(i=R,R=e);T!==e?j=t.substring(j,i):j=T,j!==e?(fe=v,I=gt($,k,j),v=I):(i=v,v=e)}else i=v,v=e;v===e&&(v=null),v!==e?(I=Ne(),I!==e?(fe=i,j=On($,k,v,I),j?j=void 0:j=e,j!==e?(fe=d,$=gr($,k,v,I),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function wo(){var d,$,g,k,v,I;if(d=i,$=[],g=i,k=i,x++,t.charCodeAt(i)===59?(v=mn,i++):(v=e,x===0&&K(hn)),x--,v===e?k=void 0:(i=k,k=e),k!==e?(v=i,x++,I=Ne(),x--,I===e?v=void 0:(i=v,v=e),v!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,x===0&&K(Ae)),I!==e?(k=[k,v,I],g=k):(i=g,g=e)):(i=g,g=e)):(i=g,g=e),g!==e)for(;g!==e;)$.push(g),g=i,k=i,x++,t.charCodeAt(i)===59?(v=mn,i++):(v=e,x===0&&K(hn)),x--,v===e?k=void 0:(i=k,k=e),k!==e?(v=i,x++,I=Ne(),x--,I===e?v=void 0:(i=v,v=e),v!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,x===0&&K(Ae)),I!==e?(k=[k,v,I],g=k):(i=g,g=e)):(i=g,g=e)):(i=g,g=e);else $=e;return $!==e?d=t.substring(d,i):d=$,d}function vn(){var d;return gn.test(t.charAt(i))?(d=t.charAt(i),i++):(d=e,x===0&&K(oi)),d}function ci(){var d,$,g,k,v,I;if(d=i,$=wo(),$!==e){for(g=[],k=vn();k!==e;)g.push(k),k=vn();if(g!==e)if(t.charCodeAt(i)===59?(k=mn,i++):(k=e,x===0&&K(hn)),k!==e){for(v=[],I=vn();I!==e;)v.push(I),I=vn();v!==e?(I=ci(),I!==e?(fe=d,$=Rn($,I),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,$=wo(),$!==e&&(fe=d,$=Li($)),d=$),d}function Ui(){var d,$,g;if(d=i,$=[],zn.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,x===0&&K(ai)),g!==e)for(;g!==e;)$.push(g),zn.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,x===0&&K(ai));else $=e;return $!==e?d=t.substring(d,i):d=$,d}function qa(){var d,$,g;return d=i,t.substr(i,2)===ji?($=ji,i+=2):($=e,x===0&&K(Vn)),$!==e?(g=Ui(),g!==e?(fe=d,$=li(g),d=$):(i=d,d=e)):(i=d,d=e),d}function Da(){var d,$,g;return d=i,t.substr(i,2)===ui?($=ui,i+=2):($=e,x===0&&K(V)),$!==e?(g=Ui(),g!==e?(fe=d,$=q(g),d=$):(i=d,d=e)):(i=d,d=e),d}function Hi(){var d,$,g;return d=i,t.substr(i,2)===Z?($=Z,i+=2):($=e,x===0&&K(te)),$!==e?(g=Ui(),g!==e?(fe=d,$=ie(g),d=$):(i=d,d=e)):(i=d,d=e),d}function ko(){var d,$,g,k,v,I;if(d=i,$=i,g=i,t.substr(i,2)===ye?(k=ye,i+=2):(k=e,x===0&&K(_e)),k!==e){if(v=[],Be.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,x===0&&K(Ge)),I!==e)for(;I!==e;)v.push(I),Be.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,x===0&&K(Ge));else v=e;v!==e?(k=[k,v],g=k):(i=g,g=e)}else i=g,g=e;return g!==e?$=t.substring($,i):$=g,$!==e&&(fe=d,$=kt()),d=$,d}function Na(){var d,$,g,k;if(d=i,$=i,g=[],De.test(t.charAt(i))?(k=t.charAt(i),i++):(k=e,x===0&&K(st)),k!==e)for(;k!==e;)g.push(k),De.test(t.charAt(i))?(k=t.charAt(i),i++):(k=e,x===0&&K(st));else g=e;return g!==e?$=t.substring($,i):$=g,$!==e?(fe=i,g=yt(),g?g=void 0:g=e,g!==e?(fe=d,$=Xr(),d=$):(i=d,d=e)):(i=d,d=e),d}function La(){var d,$,g,k,v,I;if(d=i,$=i,g=i,ct.test(t.charAt(i))?(k=t.charAt(i),i++):(k=e,x===0&&K(Ke)),k!==e){if(v=[],ft.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,x===0&&K(tt)),I!==e)for(;I!==e;)v.push(I),ft.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,x===0&&K(tt));else v=e;v!==e?(k=[k,v],g=k):(i=g,g=e)}else i=g,g=e;return g!==e?$=t.substring($,i):$=g,$!==e&&(fe=d,$=tn($)),d=$,d}function vo(){var d,$,g;return d=i,$=zi(),$!==e?(g=Da(),g===e&&(g=qa(),g===e&&(g=Hi(),g===e&&(g=ko(),g===e&&(g=Ui())))),g!==e?(fe=d,$=zt(g),d=$):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=zi(),$!==e?(g=Na(),g!==e?(fe=d,$=tr(g),d=$):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=zi(),$!==e?(g=La(),g!==e?(fe=d,$=ot(g),d=$):(i=d,d=e)):(i=d,d=e))),d}function xs(){var d,$,g,k,v,I;if(d=i,$=vo(),$!==e){for(g=[],k=vn();k!==e;)g.push(k),k=vn();if(g!==e)if(t.charCodeAt(i)===59?(k=mn,i++):(k=e,x===0&&K(hn)),k!==e){for(v=[],I=vn();I!==e;)v.push(I),I=vn();v!==e?(I=xs(),I!==e?(fe=d,$=Rn($,I),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,$=vo(),$!==e&&(fe=d,$=Li($)),d=$),d}function ja(){var d,$,g,k,v;return d=i,$=Cs(),$!==e?(fe=i,g=Vt($),g?g=void 0:g=e,g!==e?(k=i,v=xs(),v!==e&&(fe=k,v=Wt($,v)),k=v,k===e&&(k=null),k!==e?(v=Ne(),v!==e?(fe=d,$=Er($,k),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Cs(){var d,$,g;return d=i,$=i,g=sn(),g!==e?$=t.substring($,i):$=g,$!==e?(t.charCodeAt(i)===60?(g=je,i++):(g=e,x===0&&K(Fe)),g!==e?(fe=d,$=rn($),d=$):(i=d,d=e)):(i=d,d=e),d}function Et(){var d,$,g,k;return d=i,$=i,g=sn(),g!==e?$=t.substring($,i):$=g,$!==e?(g=i,t.charCodeAt(i)===60?(k=je,i++):(k=e,x===0&&K(Fe)),k===e&&(t.charCodeAt(i)===171?(k=Re,i++):(k=e,x===0&&K(qe))),k!==e?g=t.substring(g,i):g=k,g!==e?(fe=d,$=_r($,g),d=$):(i=d,d=e)):(i=d,d=e),d}function Ne(){var d;return t.charCodeAt(i)===62?(d=et,i++):(d=e,x===0&&K(bt)),d===e&&(t.charCodeAt(i)===187?(d=ht,i++):(d=e,x===0&&K(Ze))),d}function Gi(){var d,$,g,k,v,I,j,T,R,W,P,Y,H,B,J;if(d=i,$=Et(),$!==e)if(fe=i,g=yn($),g?g=void 0:g=e,g!==e){if(k=[],v=Gn(),v===e&&(v=Gi(),v===e)){if(v=i,I=i,j=[],T=i,t.charCodeAt(i)===60?(R=je,i++):(R=e,x===0&&K(Fe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===62?(P=et,i++):(P=e,x===0&&K(bt)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(R=Re,i++):(R=e,x===0&&K(qe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===187?(P=ht,i++):(P=e,x===0&&K(Ze)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}if(T!==e){for(;T!==e;)if(j.push(T),T=i,t.charCodeAt(i)===60?(R=je,i++):(R=e,x===0&&K(Fe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===62?(P=et,i++):(P=e,x===0&&K(bt)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(R=Re,i++):(R=e,x===0&&K(qe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===187?(P=ht,i++):(P=e,x===0&&K(Ze)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}}else j=e;j!==e?I=t.substring(I,i):I=j,I!==e&&(fe=v,I=Ee($,I)),v=I}for(;v!==e;)if(k.push(v),v=Gn(),v===e&&(v=Gi(),v===e)){if(v=i,I=i,j=[],T=i,t.charCodeAt(i)===60?(R=je,i++):(R=e,x===0&&K(Fe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===62?(P=et,i++):(P=e,x===0&&K(bt)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(R=Re,i++):(R=e,x===0&&K(qe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===187?(P=ht,i++):(P=e,x===0&&K(Ze)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}if(T!==e){for(;T!==e;)if(j.push(T),T=i,t.charCodeAt(i)===60?(R=je,i++):(R=e,x===0&&K(Fe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===62?(P=et,i++):(P=e,x===0&&K(bt)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(R=Re,i++):(R=e,x===0&&K(qe)),R!==e?(W=sr(),W!==e?(t.charCodeAt(i)===187?(P=ht,i++):(P=e,x===0&&K(Ze)),P!==e?(R=[R,W,P],T=R):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,R=i,W=[],P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)W.push(P),P=i,Y=i,x++,H=i,B=Ne(),B!==e?(fe=i,J=ke($,B),J?J=void 0:J=e,J!==e?(B=[B,J],H=B):(i=H,H=e)):(i=H,H=e),x--,H===e?Y=void 0:(i=Y,Y=e),Y!==e?(H=i,x++,B=Et(),x--,B===e?H=void 0:(i=H,H=e),H!==e?(B=i,x++,J=pt(),x--,J===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(J=t.charAt(i),i++):(J=e,x===0&&K(Ae)),J!==e?(Y=[Y,H,B,J],P=Y):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else W=e;W!==e?R=t.substring(R,i):R=W,R!==e&&(fe=T,R=Ee($,R)),T=R}}else j=e;j!==e?I=t.substring(I,i):I=j,I!==e&&(fe=v,I=Ee($,I)),v=I}k!==e?(v=Ne(),v!==e?(fe=i,I=qn($,k,v),I?I=void 0:I=e,I!==e?(fe=d,$=Dn($,k,v),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function Bf(){var d,$,g,k,v;for(d=i,$=[],g=i,k=i,x++,v=Ne(),x--,v===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(v=t.charAt(i),i++):(v=e,x===0&&K(Ae)),v!==e?(k=[k,v],g=k):(i=g,g=e)):(i=g,g=e);g!==e;)$.push(g),g=i,k=i,x++,v=Ne(),x--,v===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(v=t.charAt(i),i++):(v=e,x===0&&K(Ae)),v!==e?(k=[k,v],g=k):(i=g,g=e)):(i=g,g=e);return $!==e?d=t.substring(d,i):d=$,d}function sr(){var d,$,g,k,v,I,j;if(d=i,$=i,g=[],k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v!==e?(I=sr(),I!==e?(t.charCodeAt(i)===62?(j=et,i++):(j=e,x===0&&K(bt)),j!==e?(v=[v,I,j],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe)),v!==e?(I=sr(),I!==e?(t.charCodeAt(i)===187?(j=ht,i++):(j=e,x===0&&K(Ze)),j!==e?(v=[v,I,j],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=pt(),k===e&&(k=xn()))),k!==e)for(;k!==e;)g.push(k),k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v!==e?(I=sr(),I!==e?(t.charCodeAt(i)===62?(j=et,i++):(j=e,x===0&&K(bt)),j!==e?(v=[v,I,j],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe)),v!==e?(I=sr(),I!==e?(t.charCodeAt(i)===187?(j=ht,i++):(j=e,x===0&&K(Ze)),j!==e?(v=[v,I,j],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=pt(),k===e&&(k=xn())));else g=e;return g!==e?$=t.substring($,i):$=g,$!==e&&(fe=d,$=se($)),d=$,d}function xn(){var d,$,g,k,v,I,j,T;if(d=i,$=i,g=[],k=i,v=i,x++,I=Ne(),x--,I===e?v=void 0:(i=v,v=e),v!==e?(I=i,x++,j=Et(),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=pt(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,x===0&&K(Ae)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e)for(;k!==e;)g.push(k),k=i,v=i,x++,I=Ne(),x--,I===e?v=void 0:(i=v,v=e),v!==e?(I=i,x++,j=Et(),x--,j===e?I=void 0:(i=I,I=e),I!==e?(j=i,x++,T=pt(),x--,T===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,x===0&&K(Ae)),T!==e?(v=[v,I,j,T],k=v):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e);else g=e;return g!==e?$=t.substring($,i):$=g,$!==e&&(fe=d,$=se($)),d=$,d}function pt(){var d,$,g,k,v;return d=i,$=i,g=i,x++,k=sn(),x--,k===e?g=void 0:(i=g,g=e),g!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,x===0&&K(Ae)),k!==e?(g=[g,k],$=g):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===60?(g=je,i++):(g=e,x===0&&K(Fe)),g!==e?(k=xn(),k!==e?(t.charCodeAt(i)===62?(v=et,i++):(v=e,x===0&&K(bt)),v!==e?(fe=d,$=Xr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=i,g=i,x++,k=sn(),x--,k===e?g=void 0:(i=g,g=e),g!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,x===0&&K(Ae)),k!==e?(g=[g,k],$=g):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===171?(g=Re,i++):(g=e,x===0&&K(qe)),g!==e?(k=xn(),k!==e?(t.charCodeAt(i)===187?(v=ht,i++):(v=e,x===0&&K(Ze)),v!==e?(fe=d,$=Xr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function Ba(){var d,$,g,k,v,I,j;return d=i,$=i,t.charCodeAt(i)===65?(g=o,i++):(g=e,x===0&&K(l)),g!==e?$=t.substring($,i):$=g,$!==e?(fe=i,g=rr($),g?g=void 0:g=e,g!==e?(k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v===e&&(t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe))),v!==e?k=t.substring(k,i):k=v,k!==e?(v=ir(),v!==e?(I=Ne(),I!==e?(fe=i,j=Sr($,k,v,I),j?j=void 0:j=e,j!==e?(fe=d,$=Jt($,k,v,I),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Ma(){var d,$,g,k,v,I,j;return d=i,$=i,t.charCodeAt(i)===86?(g=f,i++):(g=e,x===0&&K(c)),g!==e?$=t.substring($,i):$=g,$!==e?(fe=i,g=rr($),g?g=void 0:g=e,g!==e?(k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v===e&&(t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe))),v!==e?k=t.substring(k,i):k=v,k!==e?(v=Fa(),v!==e?(I=Ne(),I!==e?(fe=i,j=Sr($,k,v,I),j?j=void 0:j=e,j!==e?(fe=d,$=Jt($,k,v,I),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Ki(){var d,$,g,k,v,I,j;return d=i,$=i,t.charCodeAt(i)===83?(g=Je,i++):(g=e,x===0&&K(re)),g!==e?$=t.substring($,i):$=g,$!==e?(fe=i,g=rr($),g?g=void 0:g=e,g!==e?(k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v===e&&(t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe))),v!==e?k=t.substring(k,i):k=v,k!==e?(v=vs(),v!==e?(I=Ne(),I!==e?(fe=i,j=Sr($,k,v,I),j?j=void 0:j=e,j!==e?(fe=d,$=Jt($,k,v,I),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Wi(){var d,$,g,k,v,I,j;return d=i,$=i,t.charCodeAt(i)===90?(g=er,i++):(g=e,x===0&&K(Rt)),g!==e?$=t.substring($,i):$=g,$!==e?(fe=i,g=rr($),g?g=void 0:g=e,g!==e?(k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v===e&&(t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe))),v!==e?k=t.substring(k,i):k=v,k!==e?(v=vs(),v!==e?(I=Ne(),I!==e?(fe=i,j=Sr($,k,v,I),j?j=void 0:j=e,j!==e?(fe=d,$=Jt($,k,v,I),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function za(){var d,$,g,k,v,I,j,T,R;if(d=i,$=i,t.charCodeAt(i)===68?(g=M,i++):(g=e,x===0&&K(X)),g!==e?$=t.substring($,i):$=g,$!==e)if(fe=i,g=rr($),g?g=void 0:g=e,g!==e)if(k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v===e&&(t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe))),v!==e?k=t.substring(k,i):k=v,k!==e)if(v=Ia(),v!==e){if(I=i,j=kn(),j!==e){for(T=[],R=ci();R!==e;)T.push(R),R=ci();T!==e?(fe=I,j=Mr($,k,v,T),I=j):(i=I,I=e)}else i=I,I=e;I===e&&(I=null),I!==e?(j=Ne(),j!==e?(fe=i,T=Un($,k,v,I,j),T?T=void 0:T=e,T!==e?(fe=d,$=zr($,k,v,I,j),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;else i=d,d=e;else i=d,d=e;return d}function a(){var d,$,g,k,v,I,j,T,R;if(d=i,$=i,t.charCodeAt(i)===88?(g=Pt,i++):(g=e,x===0&&K(ut)),g!==e?$=t.substring($,i):$=g,$!==e)if(fe=i,g=rr($),g?g=void 0:g=e,g!==e)if(k=i,t.charCodeAt(i)===60?(v=je,i++):(v=e,x===0&&K(Fe)),v===e&&(t.charCodeAt(i)===171?(v=Re,i++):(v=e,x===0&&K(qe))),v!==e?k=t.substring(k,i):k=v,k!==e)if(v=Oa(),v!==e){if(I=i,j=kn(),j!==e){for(T=[],R=ci();R!==e;)T.push(R),R=ci();T!==e?(fe=I,j=Mr($,k,v,T),I=j):(i=I,I=e)}else i=I,I=e;I===e&&(I=null),I!==e?(j=Ne(),j!==e?(fe=i,T=Un($,k,v,I,j),T?T=void 0:T=e,T!==e?(fe=d,$=zr($,k,v,I,j),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;else i=d,d=e;else i=d,d=e;return d}function oe(d){return d.reduce(($,g)=>Array.isArray(g)?$.concat(oe(g)):$.concat(g),[])}function Wn(d){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[d]}if(Vr=s(),Vr!==e&&i===t.length)return Vr;throw Vr!==e&&i<t.length&&K(wn()),fi(nn,Ft<t.length?t.charAt(Ft):null,Ft<t.length?Pr(Ft,Ft+1):Pr(Ft,Ft))}Pd.exports={SyntaxError:Pi,parse:uk}});var Hd=be((mA,Ak)=>{Ak.exports={name:"@podlite/schema",version:"0.0.41",description:"AST tools and schema for Podlite markup language \u2014 validate, traverse, and transform document trees",main:"./src/index.ts",homepage:"https://podlite.org",bugs:{url:"https://github.com/podlite/podlite/issues"},repository:{type:"git",url:"https://github.com/podlite/podlite.git",directory:"packages/podlite-schema"},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 --allowed-start-rules Document,attributesOnly -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:["podlite","schema","ast","syntax-tree","markup-language","transform","visitor","parser","markdown","tree"],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.2","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Jd=be((eE,Wd)=>{Wd.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var im=be((tE,nm)=>{"use strict";var fa=Object.prototype.hasOwnProperty,rm=Object.prototype.toString,Zd=Object.defineProperty,Qd=Object.getOwnPropertyDescriptor,Xd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):rm.call(r)==="[object Array]"},Yd=function(r){if(!r||rm.call(r)!=="[object Object]")return!1;var e=fa.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&fa.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!n)return!1;var s;for(s in r);return typeof s>"u"||fa.call(r,s)},em=function(r,e){Zd&&e.name==="__proto__"?Zd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},tm=function(r,e){if(e==="__proto__")if(fa.call(r,e)){if(Qd)return Qd(r,e).value}else return;return r[e]};nm.exports=function t(){var r,e,n,s,o,l,f=arguments[0],c=1,h=arguments.length,m=!1;for(typeof f=="boolean"&&(m=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<h;++c)if(r=arguments[c],r!=null)for(e in r)n=tm(f,e),s=tm(r,e),f!==s&&(m&&s&&(Yd(s)||(o=Xd(s)))?(o?(o=!1,l=n&&Xd(n)?n:[]):l=n&&Yd(n)?n:{},em(f,{name:e,newValue:t(m,l,s)})):typeof s<"u"&&em(f,{name:e,newValue:s}));return f}});var am=be((iE,om)=>{om.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var f1={};Qf(f1,{PluginRegister:()=>l1,default:()=>u1,parseMd:()=>Sa,plugin:()=>Pa});module.exports=Jh(f1);var Gd=Fr(nd()),_k=Fr(ad());var kA=Fr(cd());var Gw=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 n=r.match(/(.+)\<\>/);return n?{type:"fcode",name:n[1]}:{name:r,type:"block"}}return{name:r,type:e}},Ei=t=>{let r=Gw(t),{name:e,type:n}=r;return n&&n==="*"?{name:e}:e&&e==="*"?{type:n}:r};function Kw(t,r){function e(s){for(var o in s)if(s.hasOwnProperty(o))return!1;return!0}if(e(t))return!0;for(var n in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(n))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(n)){if(t[n]!==r[n])return!1}else return!1;return!0}var Sn=(t,r)=>{return e.rule=t,e.isFor=n,e.fn=r,e;function e(){}function n(s){return typeof s=="string"?!1:Kw(t,s)}},xu=(t,r)=>{if(t instanceof Array)return t.reduce((n,s)=>(n.push(...xu(s)),n),[]);if(t instanceof Object){let n=[];for(var e in t)t.hasOwnProperty(e)&&n.push(Sn(Ei(e),t[e]));return n}return[Sn(Ei(t),r)]};var Cu=Fr(require("crypto"),1);var pd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Ww=128,_i,ps,Jw=t=>{!_i||_i.length<t?(_i=Buffer.allocUnsafe(t*Ww),Cu.default.randomFillSync(_i),ps=0):ps+t>_i.length&&(Cu.default.randomFillSync(_i),ps=0),ps+=t};var dd=(t=21)=>{Jw(t);let r="";for(let e=ps-t;e<ps;e++)r+=pd[_i[e]&63];return r};var ds=t=>({...t}),Au=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},wr=(t,r)=>{let e="block",n=t.name,s={id:dd(),margin:"",...t};var o=ds({type:e,...s,content:Au(r)});return o};var sa=(t,r)=>ds({type:"fcode",...t,content:r}),Eu=(t,r)=>ds({...t,type:"fcode",name:"L",content:Au(r)}),md=t=>ds({type:"fcode",name:"O",content:Au(t)}),hd=t=>ds({type:"fcode",name:"F",content:[{type:"text",value:t}]}),to=t=>ds({type:"verbatim",value:t});var gd=t=>({type:"block",name:"caption",content:t}),yd=(t,r)=>({type:"image",src:t,alt:r}),_u=({margin:t=""},r)=>wr({name:"root",margin:t},r);var $d=({value:t,location:r})=>wr({name:"formula",location:r},[to(t)]);var Su=(t,r={})=>{let e=t.config instanceof Array?t.config:[],n=[];r.config&&r.config.hasOwnProperty(t.name)&&(n=r.config[t.name]);let s={};[...e,...n].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 o=function(){};return o.exists=l=>s.hasOwnProperty(l),o.getAllValues=l=>o.exists(l)?s[l]:[],o.getFirstValue=l=>o.exists(l)?o.getAllValues(l)[0]:void 0,o.getMapValue=l=>{let f=o.getFirstValue(l);return f&&typeof f=="object"&&!Array.isArray(f)?f:void 0},o.asHash=()=>s,o},jt=Su;var Pu=(t,r)=>{let e=jt(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function bd(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(bd(e)):r.concat(e),[]):t}function Zw(t){function r(e,n){if(e==null)return e;if(e instanceof Array)return bd(e.map(l=>r(l,n))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},n);let s=t.slice();s.reverse();let o=s.findIndex(l=>l.isFor(e));if(o!==-1){let l=s.slice(o+1),f=l.findIndex(h=>h.isFor(e)),c=(h=e,m=n,b=r)=>{if(f!==-1)l[f].fn(h,m,b,()=>{});else return};return typeof s[o].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[o].fn(e,n,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,n)}}return r.rules=t,r}var aa=Zw;var Ve=(t,r)=>(e,n)=>(s,o,l)=>{e.writeRaw(t),s.content&&l(s.content,o),e.writeRaw(r)},St=()=>()=>()=>{},kr=(t,r)=>(e,n,s)=>{if(e.content)return s(e.content,n)},qr=t=>(r,e)=>(n,s,o)=>t(n,s)(r,e)(n,s,o);var la=(t,r)=>{let e=xu(t).reverse();return(n,s)=>{let o=e.map(c=>Sn(c.rule,c.fn(n,s))).reverse(),l=r(n,s),f;return(c,h,m)=>(f||(f=aa([...m.rules,...o])),l(c,h,f))}},Dr=(t,r)=>(e,n)=>{let s=t(e,n);return(o,l,f)=>{let c=jt(o,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(o,l,f),c!==void 0&&e.removeLevel(c)}};function ro(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function wd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(wd(e)):r.concat(e),[])}var oa=t=>{let r=[];function e(s,o){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(Sn(Ei(s),o))}function n(s,o={}){if(s==null)return s;if(s instanceof Array)return wd(s.map(c=>n(c,o)));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,o,n);{let c={...s};return c.hasOwnProperty("content")&&(c.content=n(c.content,o)),c}}return e(t),n.rules=r,n},Nr=oa;var kd=Fr(require("events")),Tu=class extends kd.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)}},no=Tu;var ms=(t={},r=[])=>{let e=r,n=t.processor||vd,s=t.writer;return o.use=l,o.run=f,o.getPlugins=()=>e,o;function o(c){}function l(c,h){if(c instanceof Array)return ms(t,[...e,...h]);if(c instanceof Object){for(var m in c)c.hasOwnProperty(m)&&l(m,c[m]);return o}return e.push(Sn(Ei(c),h)),o}function f(c,h){let m="",b=h||s||new no(X=>{m=m+X}),C=typeof b=="function"?new b(X=>{m=m+X}):b,A=typeof c=="string"?n(c):c,E=e.slice();E.reverse();let O=aa(E.map(X=>Sn(X.rule,X.fn(C,n,A))).reverse()),D={};C.startWrite(A);let M=O(A,D);return C.endWrite(),{errors:C.errors,toString:()=>m,valueOf:()=>m,indexingTerms:C.INDEXTERMS,annotations:C.FOOTNOTES,defenitions:C.DEFINITIONS,interator:M}}};var Cd=Fr(Fu());function Iu(t){if(!t||!t.trim())return[];try{return Cd.parse(t,{startRule:"attributesOnly"})}catch{return[]}}var Ad=()=>t=>Nr({"*":(e,n,s)=>(e.content&&(e.content=s(e.content,n,s)),delete e.location,e)})(t,{}),ua=Ad;var yC={":text":(t,r)=>(e,n,s)=>{e.value?t.write(e.value):s(e.content,n)},"A<>":(t,r)=>(e,n,s)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.writeRaw(`A<${e.content}>`);else{let o=n.alias[e.content].join(`
15
- `),l=r(o),f=ua()(l);f[0].type==="para"?s(f[0].content,n):s(f,n)}},"C<>":Ve("`","`"),"D<>":(t,r)=>(e,n,s)=>{t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:[e.content[0]]}),t.writeRaw("**"),s(e.content,n),t.writeRaw("**")},"B<>":Ve("**","**"),"I<>":Ve("*","*"),"R<>":Ve("*","*"),"K<>":Ve("`","`"),"O<>":Ve("~~","~~"),"H<>":Ve("<sup>","</sup>"),"J<>":Ve("<sub>","</sub>"),"L<>":qr((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Ve("[",`](${e})`)}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw(`
8
+ deps: ${e}}`};var Z$={keyword:"dependencies",type:"object",schemaType:"object",error:Cn.error,code(t){let[r,e]=J$(t);Hp(t,r),Gp(t,e)}};function J$({schema:t}){let r={},e={};for(let n in t){if(n==="__proto__")continue;let s=Array.isArray(t[n])?r:e;s[n]=t[n]}return[r,e]}function Hp(t,r=t.schema){let{gen:e,data:n,it:s}=t;if(Object.keys(r).length===0)return;let o=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=ro.propertyInData(e,n,l,s.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),s.allErrors?e.if(c,()=>{for(let g of f)ro.checkReportMissingProp(t,g)}):(e.if(pu._`${c} && (${ro.checkMissingProp(t,f,o)})`),ro.reportMissingProp(t,o),e.else())}}Cn.validatePropertyDeps=Hp;function Gp(t,r=t.schema){let{gen:e,data:n,keyword:s,it:o}=t,l=e.name("valid");for(let f in r)W$.alwaysValidSchema(o,r[f])||(e.if(ro.propertyInData(e,n,f,o.opts.ownProperties),()=>{let c=t.subschema({keyword:s,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}Cn.validateSchemaDeps=Gp;Cn.default=Z$});var Wp=be(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});var du=ze(),Q$=_t(),X$={message:({params:t})=>du.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>du._`{propertyName: ${t.propertyName}}`},Y$={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:X$,code(t){let{gen:r,schema:e,data:n,it:s}=t;if(Q$.alwaysValidSchema(s,e))return;let o=r.name("valid");r.forIn("key",n,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},o),r.if(du.not(o),()=>{t.error(!0),s.allErrors||r.break()})}),t.ok(o)}};mu.default=Y$});var yu=be(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});var oa=un(),dn=ze(),ew=ln(),tw=vi(),hu=_t(),rw={message:"should NOT have additional properties",params:({params:t})=>dn._`{additionalProperty: ${t.additionalProperty}}`},nw={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:rw,code(t){let{gen:r,schema:e,parentSchema:n,data:s,errsCount:o,it:l}=t;if(!o)throw new Error("ajv implementation error");let{allErrors:f,opts:c}=l;if(l.props=!0,c.removeAdditional!=="all"&&hu.alwaysValidSchema(l,e))return;let g=oa.allSchemaProperties(n.properties),h=oa.allSchemaProperties(n.patternProperties);$(),t.ok(dn._`${o} === ${ew.default.errors}`);function $(){r.forIn("key",s,q=>{!g.length&&!h.length?A(q):r.if(k(q),()=>A(q))})}function k(q){let B;if(g.length>8){let X=hu.schemaRefOrVal(l,n.properties,"properties");B=oa.isOwnProperty(r,X,q)}else g.length?B=dn.or(...g.map(X=>dn._`${q} === ${X}`)):B=dn.nil;return h.length&&(B=dn.or(B,...h.map(X=>dn._`${oa.usePattern(r,X)}.test(${q})`))),dn.not(B)}function x(q){r.code(dn._`delete ${s}[${q}]`)}function A(q){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){x(q);return}if(e===!1){t.setParams({additionalProperty:q}),t.error(),f||r.break();return}if(typeof e=="object"&&!hu.alwaysValidSchema(l,e)){let B=r.name("valid");c.removeAdditional==="failing"?(I(q,B,!1),r.if(dn.not(B),()=>{t.reset(),x(q)})):(I(q,B),f||r.if(dn.not(B),()=>r.break()))}}function I(q,B,X){let le={keyword:"additionalProperties",dataProp:q,dataPropType:tw.Type.Str};X===!1&&Object.assign(le,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(le,B)}}};gu.default=nw});var Qp=be($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});var iw=Vs(),Zp=un(),bu=_t(),Jp=yu(),sw={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t;o.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&Jp.default.code(new iw.default(o,Jp.default,"additionalProperties"));let l=Zp.allSchemaProperties(e);for(let $ of l)o.definedProperties.add($);o.opts.unevaluated&&l.length&&o.props!==!0&&(o.props=bu.mergeEvaluated.props(r,bu.toHash(l),o.props));let f=l.filter($=>!bu.alwaysValidSchema(o,e[$]));if(f.length===0)return;let c=r.name("valid");for(let $ of f)g($)?h($):(r.if(Zp.propertyInData(r,s,$,o.opts.ownProperties)),h($),o.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add($),t.ok(c);function g($){return o.opts.useDefaults&&!o.compositeRule&&e[$].default!==void 0}function h($){t.subschema({keyword:"properties",schemaProp:$,dataProp:$},c)}}};$u.default=sw});var Yp=be(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});var Xp=un(),aa=ze(),ow=vi(),aw=Br(),lw=_t(),uw={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:n,parentSchema:s,it:o}=t,{opts:l}=o,f=Xp.schemaProperties(o,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&s.properties,g=r.name("valid");o.props!==!0&&!(o.props instanceof aa.Name)&&(o.props=lw.evaluatedPropsToName(r,o.props));let{props:h}=o;$();function $(){for(let A of f)c&&k(A),o.allErrors?x(A):(r.var(g,!0),x(A),r.if(g))}function k(A){for(let I in c)new RegExp(A).test(I)&&aw.checkStrictMode(o,`property ${I} matches pattern ${A} (use allowMatchingProperties)`)}function x(A){r.forIn("key",n,I=>{r.if(aa._`${Xp.usePattern(r,A)}.test(${I})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:A,dataProp:I,dataPropType:ow.Type.Str},g),o.opts.unevaluated&&h!==!0?r.assign(aa._`${h}[${I}]`,!0):o.allErrors||r.if(aa.not(g),()=>r.break())})})}}};wu.default=uw});var ed=be(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});var fw=_t(),cw={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:n}=t;if(fw.alwaysValidSchema(n,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"}};ku.default=cw});var td=be(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});var pw=un(),dw={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:pw.validateUnion,error:{message:"should match some schema in anyOf"}};vu.default=dw});var rd=be(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});var la=ze(),mw=_t(),hw={message:"should match exactly one schema in oneOf",params:({params:t})=>la._`{passingSchemas: ${t.passing}}`},gw={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:hw,code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=e,o=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(o,()=>t.reset(),()=>t.error(!0));function c(){s.forEach((g,h)=>{let $;mw.alwaysValidSchema(n,g)?r.var(f,!0):$=t.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},f),h>0&&r.if(la._`${f} && ${o}`).assign(o,!1).assign(l,la._`[${l}, ${h}]`).else(),r.if(f,()=>{r.assign(o,!0),r.assign(l,h),$&&t.mergeEvaluated($,la.Name)})})}}};xu.default=gw});var nd=be(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});var yw=_t(),bw={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=r.name("valid");e.forEach((o,l)=>{if(yw.alwaysValidSchema(n,o))return;let f=t.subschema({keyword:"allOf",schemaProp:l},s);t.ok(s),t.mergeEvaluated(f)})}};Cu.default=bw});var sd=be(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});var ua=ze(),$w=_t(),ww=Br(),kw={message:({params:t})=>ua.str`should match "${t.ifClause}" schema`,params:({params:t})=>ua._`{failingKeyword: ${t.ifClause}}`},vw={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:kw,code(t){let{gen:r,parentSchema:e,it:n}=t;e.then===void 0&&e.else===void 0&&ww.checkStrictMode(n,'"if" without "then" and "else" is ignored');let s=id(n,"then"),o=id(n,"else");if(!s&&!o)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),s&&o){let h=r.let("ifClause");t.setParams({ifClause:h}),r.if(f,g("then",h),g("else",h))}else s?r.if(f,g("then")):r.if(ua.not(f),g("else"));t.pass(l,()=>t.error(!0));function c(){let h=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(h)}function g(h,$){return()=>{let k=t.subschema({keyword:h},f);r.assign(l,f),t.mergeValidEvaluated(k,l),$?r.assign($,ua._`${h}`):t.setParams({ifClause:h})}}}};function id(t,r){let e=t.schema[r];return e!==void 0&&!$w.alwaysValidSchema(t,e)}Au.default=vw});var od=be(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});var xw=Br(),Cw={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&xw.checkStrictMode(e,`"${t}" without "if" is ignored`)}};Eu.default=Cw});var ad=be(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});var Aw=Bp(),Ew=zp(),_w=Up(),Sw=Kp(),Pw=Wp(),Tw=yu(),Fw=Qp(),Iw=Yp(),Ow=ed(),Rw=td(),qw=rd(),Nw=nd(),Dw=sd(),Lw=od(),jw=[Ow.default,Rw.default,qw.default,Nw.default,Dw.default,Lw.default,Aw.default,Ew.default,_w.default,Pw.default,Tw.default,Sw.default,Fw.default,Iw.default];_u.default=jw});var ld=be(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});var Dt=ze(),Bw={message:({schemaCode:t})=>Dt.str`should match format "${t}"`,params:({schemaCode:t})=>Dt._`{format: ${t}}`},Mw={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Bw,code(t,r){let{gen:e,data:n,$data:s,schema:o,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:g,schemaEnv:h,self:$}=f;if(!c.validateFormats)return;s?k():x();function k(){let A=e.scopeValue("formats",{ref:$.formats,code:c.code.formats}),I=e.const("fDef",Dt._`${A}[${l}]`),q=e.let("fType"),B=e.let("format");e.if(Dt._`typeof ${I} == "object" && !(${I} instanceof RegExp)`,()=>e.assign(q,Dt._`${I}.type || "string"`).assign(B,Dt._`${I}.validate`),()=>e.assign(q,Dt._`"string"`).assign(B,I)),t.fail$data(Dt.or(X(),le()));function X(){return c.strict===!1?Dt.nil:Dt._`${l} && !${B}`}function le(){let $e=h.$async?Dt._`(${I}.async ? await ${B}(${n}) : ${B}(${n}))`:Dt._`${B}(${n})`,he=Dt._`(typeof ${B} == "function" ? ${$e} : ${B}.test(${n}))`;return Dt._`${B} && ${B} !== true && ${q} === ${r} && !${he}`}}function x(){let A=$.formats[o];if(!A){X();return}if(A===!0)return;let[I,q,B]=le(A);I===r&&t.pass($e());function X(){if(c.strict===!1){$.logger.warn(he());return}throw new Error(he());function he(){return`unknown format "${o}" ignored in schema at path "${g}"`}}function le(he){let Y=e.scopeValue("formats",{key:o,ref:he,code:c.code.formats?Dt._`${c.code.formats}${Dt.getProperty(o)}`:void 0});return typeof he=="object"&&!(he instanceof RegExp)?[he.type||"string",he.validate,Dt._`${Y}.validate`]:["string",he,Y]}function $e(){if(typeof A=="object"&&!(A instanceof RegExp)&&A.async){if(!h.$async)throw new Error("async format in sync schema");return Dt._`await ${B}(${n})`}return typeof q=="function"?Dt._`${B}(${n})`:Dt._`${B}.test(${n})`}}}};Su.default=Mw});var ud=be(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var zw=ld(),Vw=[zw.default];Pu.default=Vw});var fd=be(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});cs.contentVocabulary=cs.metadataVocabulary=void 0;cs.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];cs.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var pd=be(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});var Uw=_p(),Hw=jp(),Gw=ad(),Kw=ud(),cd=fd(),Ww=[Uw.default,Hw.default,Gw.default,Kw.default,cd.metadataVocabulary,cd.contentVocabulary];Tu.default=Ww});var dd=be((Rx,Zw)=>{Zw.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 hd=be(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.CodeGen=er.Name=er.nil=er.stringify=er.str=er._=er.KeywordCxt=void 0;var Jw=Vs();er.KeywordCxt=Jw.default;var ps=ze();Object.defineProperty(er,"_",{enumerable:!0,get:function(){return ps._}});Object.defineProperty(er,"str",{enumerable:!0,get:function(){return ps.str}});Object.defineProperty(er,"stringify",{enumerable:!0,get:function(){return ps.stringify}});Object.defineProperty(er,"nil",{enumerable:!0,get:function(){return ps.nil}});Object.defineProperty(er,"Name",{enumerable:!0,get:function(){return ps.Name}});Object.defineProperty(er,"CodeGen",{enumerable:!0,get:function(){return ps.CodeGen}});var Qw=kp(),Xw=pd(),md=dd(),Yw=["/properties"],fa="http://json-schema.org/draft-07/schema",Fu=class extends Qw.default{_addVocabularies(){super._addVocabularies(),Xw.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(md,Yw):md;this.addMetaSchema(r,fa,!1),this.refs["http://json-schema.org/schema"]=fa}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(fa)?fa:void 0)}};er.default=Fu});var yd=be((Nx,gd)=>{var ek=Object.prototype.hasOwnProperty,tk=Object.prototype.toString;gd.exports=function(r,e,n){if(tk.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var o=0;o<s;o++)e.call(n,r[o],o,r);else for(var l in r)ek.call(r,l)&&e.call(n,r[l],l,r)}});var $d=be((Dx,bd)=>{"use strict";var rk=yd();bd.exports=yt;function yt(t,r,e){if(arguments.length===3)return yt.set(t,r,e);if(arguments.length===2)return yt.get(t,r);var n=yt.bind(yt,t);for(var s in yt)yt.hasOwnProperty(s)&&(n[s]=yt[s].bind(n,t));return n}yt.get=function(r,e){for(var n=Array.isArray(e)?e:yt.parse(e),s=0;s<n.length;++s){var o=n[s];if(!(typeof r=="object"&&o in r))throw new Error("Invalid reference token: "+o);r=r[o]}return r};yt.set=function(r,e,n){var s=Array.isArray(e)?e:yt.parse(e),o=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),o=s[l+1],f in r||(o.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return o==="-"&&Array.isArray(r)&&(o=r.length),r[o]=n,this};yt.remove=function(t,r){var e=Array.isArray(r)?r:yt.parse(r),n=e[e.length-1];if(n===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var s=yt.get(t,e.slice(0,-1));if(Array.isArray(s)){var o=+n;if(n===""&&isNaN(o))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(s,o,1)}else delete s[n]};yt.dict=function(r,e){var n={};return yt.walk(r,function(s,o){n[o]=s},e),n};yt.walk=function(r,e,n){var s=[];n=n||function(o){var l=Object.prototype.toString.call(o);return l==="[object Object]"||l==="[object Array]"},function o(l){rk(l,function(f,c){s.push(String(c)),n(f)?o(f):e(f,yt.compile(s)),s.pop()})}(r)};yt.has=function(r,e){try{yt.get(r,e)}catch{return!1}return!0};yt.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};yt.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};yt.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(yt.unescape)};yt.compile=function(r){return r.length===0?"":"/"+r.map(yt.escape).join("/")}});var wd=be((Lx,nk)=>{nk.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var kd=be((jx,ik)=>{ik.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:["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:["cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["row"]},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"},folded:{type:"boolean"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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 vd=be((Bx,sk)=>{sk.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:["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:["cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["row"]},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"},folded:{type:"boolean"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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 xd=be(ca=>{ca.Test=wd();ca.AstTree=kd();ca.PodliteDocument=vd()});var Bu=be((gC,qd)=>{"use strict";function pk(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Pi(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Pi)}pk(Pi,Error);Pi.buildMessage=function(t,r){var e={literal:function(g){return'"'+s(g.text)+'"'},class:function(g){var h="",$;for($=0;$<g.parts.length;$++)h+=g.parts[$]instanceof Array?o(g.parts[$][0])+"-"+o(g.parts[$][1]):o(g.parts[$]);return"["+(g.inverted?"^":"")+h+"]"},any:function(g){return"any character"},end:function(g){return"end of input"},other:function(g){return g.description}};function n(g){return g.charCodeAt(0).toString(16).toUpperCase()}function s(g){return 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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function o(g){return g.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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function l(g){return e[g.type](g)}function f(g){var h=new Array(g.length),$,k;for($=0;$<g.length;$++)h[$]=l(g[$]);if(h.sort(),h.length>0){for($=1,k=1;$<h.length;$++)h[$-1]!==h[$]&&(h[k]=h[$],k++);h.length=k}switch(h.length){case 1:return h[0];case 2:return h[0]+" or "+h[1];default:return h.slice(0,-1).join(", ")+", or "+h[h.length-1]}}function c(g){return g?'"'+s(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function dk(t,r){r=r!==void 0?r:{};var e={},n={Document:ec,attributesOnly:Hh},s=ec,o=function(u){return u},l=function(u){return u},f=function(){return!!r.podMode},c=function(u){return u},g=ee(),h=function(){return{text:O(),type:"ambient",location:L()}},$=/^[ \xA0\u2001\t\f\u2008]/,k=P([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),x=/^[ \t\f]/,A=P([" "," ","\f"],!1,!1),I=/^[\n\r]/,q=P([`
9
+ `,"\r"],!1,!1),B=function(u){return u},X=/^[^\n\r]/,le=P([`
10
+ `,"\r"],!0,!1),$e=`
11
+ `,he=K(`
12
+ `,!1),Y="\r",pe=K("\r",!1),ve=function(){return{type:"blankline"}},ke="=begin ",Le=K("=begin ",!1),Te="=end ",Fe=K("=end ",!1),ge="=for ",Pe=K("=for ",!1),Qe="=config",ne=K("=config",!1),$t="=alias",Xe=K("=alias",!1),wt=function(u){return rg(u)},nt=function(u){return u},z="=",U=K("=",!1),dr=M("text"),Lt=function(){return O()},kt=function(){return{type:"para",value:O(),error:!0,location:L()}},Tt=function(u,p){return Xi([u,p])},Ft=function(u){return[u]},ut=",",tr=K(",",!1),Vt=function(u,p){return Xi([u,p])},vr=/^[a-zA-Z0-9]/,Rr=P([["a","z"],["A","Z"],["0","9"]],!1,!1),xr=/^[a-zA-Z0-9_\-]/,jt=P([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Sn="=>",Pn=K("=>",!1),Tn=function(u,p){return{[u]:p}},Ce=function(u,p){return{...u,...p}},Un=function(u){return u},qr=":",Ee=K(":",!1),Re="allow",At=K("allow",!1),ht="<",mr=K("<",!1),qe=">",_e=K(">",!1),te=function(u,p){return{value:p,type:"array"}},ce=function(u,p){return{name:"allow",...p}},Ae=function(u){return u},Be=function(u){return u},Ye=function(u){return[u]},Pt=function(){return[]},it=/^[!]/,vt=P(["!"],!1,!1),It="{",Xr=K("{",!1),gt="}",Fn=K("}",!1),hr=function(u,p,y){return{value:y,type:"map"}},si="[",oi=K("[",!1),Nr=function(u,p,y){return y},mn="]",Hn=K("]",!1),ks=function(u,p){return[O()]},Gn=function(u,p,y){return{value:y,type:"array"}},ai=function(u,p,y){return{value:y,type:"array"}},ji=function(u,p,y){return{value:y,type:"string"}},In="(",Kn=K("(",!1),Bi=function(u,p,y){return y.length>1?{type:"array",value:y}:{type:"value",value:y[0]}},V=")",R=K(")",!1),J=function(u,p){return{value:O()}},re=function(u,p,y){return{type:"value",...y}},se=function(u,p){return{value:!u,type:"boolean"}},we=function(u,p,y){return{name:p,...y}},Se=function(u,p){return p},je=function(u,p){return Xi([...u,...p])},We=/^[^'"]/,bt=P(["'",'"'],!0,!1),Ne=function(u){return u},at=/^[0-9]/,ft=P([["0","9"]],!1,!1),lt=/^[\-+]/,Ge=P(["-","+"],!1,!1),ct="True",et=K("True",!1),Mr=function(){return!0},Bt="False",rr=K("False",!1),st=function(){return!1},Ut=".",Zt=K(".",!1),Cr=/^[eE]/,Yr=P(["e","E"],!1,!1),Ar=/^["]/,hn=P(['"'],!1,!1),On=/^[^"]/,Rn=P(['"'],!0,!1),en=/^[']/,tn=P(["'"],!1,!1),Mt=/^[^']/,Er=P(["'"],!0,!1),gn=function(u){return parseFloat(u)},zr=function(u){return parseInt(u,10)},Mi=function(u,p,y){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Oo(p)},li=function(u,p,y,w,_){return u.length===w.length&&p===_},i=function(u,p,y,w,_){return ng(u,`${w}${_}`)},ue=function(u,p,y,w,_,E){return p===E},Vr=function(u,p,y,w,_,E){return{type:"block",content:w===""?[]:[{type:"verbatim",value:w.join("")}],name:p,margin:u}},Jt=function(u,p,y,w,_,E){return!0},rn=function(u,p,y,w,_,E){return{...E,text:O(),config:y,location:L()}},v=/^[\-+=_|]/,yn=P(["-","+","=","_","|"],!1,!1),qn=function(){return{type:"separator",text:O()}},Ur=function(){return r.isDelimited},Nn=function(){return{type:"separator",text:O()}},zi=function(u){return{name:"row",type:"text",value:u}},Me=function(){return r.separators=[],!0},Ht=function(u,p){return r.separators.push(p.text),p},vs=function(u,p,y,w){return r.separators.push(w.text),w},nn=function(u,p,y,w){return[{name:"row",type:"text",value:y},w]},bn=function(u,p,y){return[y]},ui=function(u,p,y){return r.separators.length>1?!r.separators.every(w=>w===r.separators[0]):!0},Dn=function(u,p,y){return[{name:"head",type:"text",value:u},p,...Xi(y)]},W=function(u,p){return[{name:"row",type:"text",value:u},p]},xs=function(u){return[...Xi(u)]},Vi=function(u,p,y){return p==="table"},Cs=function(u,p,y){return r.isDelimited=!0,!0},fi=function(u,p,y,w){return w},bo=function(u,p,y,w){return w.some(_=>_&&(_.name==="row"||_.name==="cell"))},ja=function(u,p,y,w,_,E){return{type:"block",content:w,name:p,margin:u}},Ui=function(u,p,y,w,_,E){return{...E,text:O(),config:y,location:L()}},sn=function(u,p,y){return r.isDelimited=!0,!0},$o=function(u,p,y,w){return w},wo=function(u,p,y,w,_,E){return{type:"block",content:w,name:p,margin:u}},Ba=function(u,p,y,w,_,E){return{...E,text:O(),config:y,location:L()}},ko=function(u,p,y,w){return w},vo=function(u,p,y,w,_){let E=p.match(/pod|nested|item|code|defn/)&&w.length-u.length>0?"code":"para";return{text:_,margin:w,type:E,content:[{type:E==="code"?"verbatim":"text",value:_}],location:L()}},Ma=function(u,p,y,w,_,E){return{type:"block",content:w,name:p,margin:u}},za=function(u,p,y,w,_,E){return{...E,config:y,location:L()}},xo=function(){return{text:O(),type:"para",margin:"",content:[{type:"text",value:O()}],location:L()}},Ln=function(){return{empty:1}},zt=/^[s]/,Wn=P(["s"],!1,!1),ci=function(u){return{text:O(),type:"ambient1"}},Dr=function(u,p){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Oo(p)},Va=function(u,p,y){return{margin:u,type:"block",content:y===""?[]:[{type:"verbatim",value:y}],name:p,config:[],location:L()}},Co=function(u,p){return p==="table"},$n=function(u,p){return r.isDelimited=!1,!0},pi=function(u,p,y){return{margin:u,type:"block",content:y===""?[]:y,name:p,config:[],location:L()}},Hi=function(u,p,y,w){let _=(y===`
13
+ `?"":y)+w;return{margin:u,type:"block",content:_===""?[]:[{type:"para",text:_,margin:"",content:[{type:"text",value:_}],location:L()}],name:p,location:L()}},Gi="= ",Ao=K("= ",!1),Ua=function(u,p,y,w){return{name:y,type:"alias",replacement:w,margin:u}},Ha=/^[A-Z]/,Ga=P([["A","Z"]],!1,!1),Eo="<>",_o=K("<>",!1),So=function(u,p,y,w){return{name:y,type:"config",config:w,margin:u}},Po="=boundary",As=K("=boundary",!1),Et=function(u,p,y){return{name:"boundary",type:"block",content:[],config:y,margin:u,location:L()}},De=function(u,p,y,w){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Oo(y)},Ki=function(u,p,y,w,_){return{type:"block",content:_===""?[]:[{type:"verbatim",value:_}],name:y,margin:u,config:w,location:L()}},Xf=function(u,p,y,w){return y==="table"},nr=function(u,p,y,w){return r.isDelimited=!1,!0},wn=function(u,p,y,w,_){return{type:"block",content:_===""?[]:_,name:y,margin:u,config:w,location:L()}},pt=function(u,p,y,w,_){return{type:"block",content:_===""?[]:[{type:"para",content:[{type:"text",value:_}],margin:u,text:_,location:L()}],name:y,margin:u,config:w,location:L()}},Ka=/^[a-zA-Z]/,Wa=P([["a","z"],["A","Z"]],!1,!1),Za=M("whitespace"),Wi=/^[\r\n \t\f]/,Zi=P(["\r",`
14
+ `," "," ","\f"],!1,!1),Ja=M("space characters"),a=0,oe=0,d=[{line:1,column:1}],b=0,S=[],m=0,C;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=n[r.startRule]}function O(){return t.substring(oe,a)}function L(){return Es(oe,a)}function T(u,p){throw p=p!==void 0?p:Es(oe,a),Yf([M(u)],t.substring(oe,a),p)}function D(u,p){throw p=p!==void 0?p:Es(oe,a),Uh(u,p)}function K(u,p){return{type:"literal",text:u,ignoreCase:p}}function P(u,p,y){return{type:"class",parts:u,inverted:p,ignoreCase:y}}function ee(){return{type:"any"}}function H(){return{type:"end"}}function M(u){return{type:"other",description:u}}function Z(u){var p=d[u],y;if(p)return p;for(y=u-1;!d[y];)y--;for(p=d[y],p={line:p.line,column:p.column};y<u;)t.charCodeAt(y)===10?(p.line++,p.column=1):p.column++,y++;return d[u]=p,p}function Es(u,p){var y=Z(u),w=Z(p);return{start:{offset:u,line:y.line,column:y.column},end:{offset:p,line:w.line,column:w.column}}}function ae(u){a<b||(a>b&&(b=a,S=[]),S.push(u))}function Uh(u,p){return new Pi(u,null,null,p)}function Yf(u,p,y){return new Pi(Pi.buildMessage(u,p),u,p,y)}function ec(){var u,p,y;for(u=a,p=[],y=tc();y!==e;)p.push(y),y=tc();return p!==e&&(oe=u,p=o(p)),u=p,u}function Hh(){var u,p,y,w;if(u=a,p=ye(),p!==e){for(y=[],w=Jn();w!==e;)y.push(w),w=Jn();y!==e?(w=ye(),w!==e?(oe=u,p=l(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function tc(){var u,p,y,w,_,E,G,Q;if(u=Ps(),u===e&&(u=Xh(),u===e&&(u=Xa(),u===e&&(u=Ts(),u===e&&(u=Os(),u===e&&(u=nl(),u===e&&(u=Rs(),u===e&&(u=el(),u===e&&(u=tl(),u===e&&(u=rl(),u===e&&(u=Fs(),u===e&&(u=Ya(),u===e&&(u=Is(),u===e&&(u=a,oe=a,p=f(),p?p=void 0:p=e,p!==e?(y=Yh(),y===e&&(y=Hr(),y===e&&(y=Kh())),y!==e?(oe=u,p=c(y),u=p):(a=u,u=e)):(a=u,u=e),u===e)))))))))))))){if(u=a,p=a,y=[],w=a,_=a,m++,E=a,G=jn(),G!==e?(Q=Gt(),Q!==e?(G=[G,Q],E=G):(a=E,E=e)):(a=E,E=e),E===e&&(E=gi()),m--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,m===0&&ae(g)),E!==e?(_=[_,E],w=_):(a=w,w=e)):(a=w,w=e),w!==e)for(;w!==e;)y.push(w),w=a,_=a,m++,E=a,G=jn(),G!==e?(Q=Gt(),Q!==e?(G=[G,Q],E=G):(a=E,E=e)):(a=E,E=e),E===e&&(E=gi()),m--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,m===0&&ae(g)),E!==e?(_=[_,E],w=_):(a=w,w=e)):(a=w,w=e);else y=e;y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=h()),u=p}return u}function qt(){var u;return $.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,m===0&&ae(k)),u}function ye(){var u,p;for(u=[],x.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(A));p!==e;)u.push(p),x.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(A));return u}function Zn(){var u,p,y,w;for(u=a,p=a,y=[],w=qt();w!==e;)y.push(w),w=qt();return y!==e?(I.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(q)),w!==e?(y=[y,w],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function C1(){var u,p,y,w;if(u=a,p=a,y=[],w=_s(),w!==e)for(;w!==e;)y.push(w),w=_s();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=mi(),y!==e?(oe=u,p=B(p),u=p):(a=u,u=e)):(a=u,u=e),u}function _s(){var u;return X.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,m===0&&ae(le)),u}function di(){var u,p,y;return t.charCodeAt(a)===10?(u=$e,a++):(u=e,m===0&&ae(he)),u===e&&(u=a,t.charCodeAt(a)===13?(p=Y,a++):(p=e,m===0&&ae(pe)),p!==e?(t.charCodeAt(a)===10?(y=$e,a++):(y=e,m===0&&ae(he)),y===e&&(y=null),y!==e?(p=[p,y],u=p):(a=u,u=e)):(a=u,u=e)),u}function mi(){var u,p;return u=di(),u===e&&(u=a,m++,t.length>a?(p=t.charAt(a),a++):(p=e,m===0&&ae(g)),m--,p===e?u=void 0:(a=u,u=e)),u}function Lr(){var u,p,y,w;for(u=a,p=a,y=[],w=qt();w!==e;)y.push(w),w=qt();return y!==e?(I.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(q)),w!==e?(y=[y,w],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function Hr(){var u,p,y,w,_;for(u=a,p=a,y=a,w=[],_=qt();_!==e;)w.push(_),_=qt();return w!==e?(I.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(q)),_!==e?(w=[w,_],y=w):(a=y,y=e)):(a=y,y=e),y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=ve()),u=p,u}function Ss(){var u;return t.substr(a,7)===ke?(u=ke,a+=7):(u=e,m===0&&ae(Le)),u}function hi(){var u;return t.substr(a,5)===Te?(u=Te,a+=5):(u=e,m===0&&ae(Fe)),u}function To(){var u;return t.substr(a,5)===ge?(u=ge,a+=5):(u=e,m===0&&ae(Pe)),u}function rc(){var u;return t.substr(a,7)===Qe?(u=Qe,a+=7):(u=e,m===0&&ae(ne)),u}function nc(){var u;return t.substr(a,6)===$t?(u=$t,a+=6):(u=e,m===0&&ae(Xe)),u}function Gt(){var u,p,y;return u=a,p=il(),p!==e?(oe=a,y=wt(p),y?y=void 0:y=e,y!==e?(oe=u,p=nt(p),u=p):(a=u,u=e)):(a=u,u=e),u}function gi(){var u,p,y;return u=a,t.charCodeAt(a)===61?(p=z,a++):(p=e,m===0&&ae(U)),p!==e?(y=Gt(),y!==e?(oe=u,p=nt(y),u=p):(a=u,u=e)):(a=u,u=e),u}function jn(){var u;return u=Ss(),u===e&&(u=hi(),u===e&&(u=To(),u===e&&(u=rc(),u===e&&(u=nc())))),u}function Gr(){var u,p,y;if(m++,u=a,p=[],y=_s(),y!==e)for(;y!==e;)p.push(y),y=_s();else p=e;return p!==e?u=t.substring(u,a):u=p,m--,u===e&&(p=e,m===0&&ae(dr)),u}function Qt(){var u,p,y,w,_,E,G;if(u=a,p=a,m++,y=a,w=ye(),w!==e?(_=rc(),_===e&&(_=nc(),_===e&&(_=a,E=jn(),E!==e?(G=Gt(),G!==e?(E=[E,G],_=E):(a=_,_=e)):(a=_,_=e),_===e&&(_=gi()))),_!==e?(w=[w,_],y=w):(a=y,y=e)):(a=y,y=e),y===e&&(y=Hr()),m--,y===e?p=void 0:(a=p,p=e),p!==e){if(y=a,w=[],_=Gr(),_!==e)for(;_!==e;)w.push(_),_=Gr();else w=e;w!==e?y=t.substring(y,a):y=w,y!==e?(w=mi(),w!==e?(oe=u,p=Lt(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function Gh(){var u,p,y,w;if(u=a,p=a,y=[],w=Gr(),w!==e)for(;w!==e;)y.push(w),w=Gr();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=mi(),y!==e?(oe=u,p=Lt(),u=p):(a=u,u=e)):(a=u,u=e),u}function Kh(){var u,p,y,w,_,E;if(u=a,p=a,y=[],w=a,_=a,m++,E=mi(),m--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,m===0&&ae(g)),E!==e?(_=[_,E],w=_):(a=w,w=e)):(a=w,w=e),w!==e)for(;w!==e;)y.push(w),w=a,_=a,m++,E=mi(),m--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,m===0&&ae(g)),E!==e?(_=[_,E],w=_):(a=w,w=e)):(a=w,w=e);else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=mi(),y!==e?(oe=u,p=kt(),u=p):(a=u,u=e)):(a=u,u=e),u}function ic(){var u,p,y,w;if(u=a,p=sc(),p!==e){if(y=[],w=qt(),w!==e)for(;w!==e;)y.push(w),w=qt();else y=e;y!==e?(w=ic(),w!==e?(oe=u,p=Tt(p,w),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=sc(),p!==e&&(oe=u,p=Ft(p)),u=p),u}function sc(){var u,p;return u=a,p=_s(),p!==e?u=t.substring(u,a):u=p,u}function Fo(){var u,p,y,w,_,E;if(u=a,p=Ji(),p!==e){if(y=[],w=qt(),w!==e)for(;w!==e;)y.push(w),w=qt();else y=e;y===e&&(y=a,w=ye(),w!==e?(t.charCodeAt(a)===44?(_=ut,a++):(_=e,m===0&&ae(tr)),_!==e?(E=ye(),E!==e?(w=[w,_,E],y=w):(a=y,y=e)):(a=y,y=e)):(a=y,y=e)),y!==e?(w=Fo(),w!==e?(oe=u,p=Vt(p,w),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=Ji(),p!==e&&(oe=u,p=Ft(p)),u=p),u}function Wh(){var u,p,y,w,_;if(u=a,p=a,y=[],vr.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(Rr)),w!==e)for(;w!==e;)y.push(w),vr.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(Rr));else y=e;if(y!==e){for(w=[],xr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(jt));_!==e;)w.push(_),xr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(jt));w!==e?(y=[y,w],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function oc(){var u,p,y,w,_,E;return u=a,p=Wh(),p!==e?(y=ye(),y!==e?(t.charCodeAt(a)===44?(w=ut,a++):(w=e,m===0&&ae(tr)),w===e&&(t.substr(a,2)===Sn?(w=Sn,a+=2):(w=e,m===0&&ae(Pn))),w!==e?(_=ye(),_!==e?(E=Ji(),E!==e?(oe=u,p=Tn(p,E),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function ac(){var u,p,y,w,_,E;return u=a,p=oc(),p!==e?(y=ye(),y!==e?(t.charCodeAt(a)===44?(w=ut,a++):(w=e,m===0&&ae(tr)),w!==e?(_=ye(),_!==e?(E=ac(),E!==e?(oe=u,p=Ce(p,E),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u===e&&(u=a,p=oc(),p!==e&&(oe=u,p=Un(p)),u=p),u}function Zh(){var u,p,y,w,_,E,G,Q,F,N;return u=a,p=ye(),p!==e?(t.charCodeAt(a)===58?(y=qr,a++):(y=e,m===0&&ae(Ee)),y!==e?(t.substr(a,5)===Re?(w=Re,a+=5):(w=e,m===0&&ae(At)),w!==e?(_=a,t.charCodeAt(a)===60?(E=ht,a++):(E=e,m===0&&ae(mr)),E!==e?(G=ye(),G!==e?(Q=ic(),Q!==e?(F=ye(),F!==e?(t.charCodeAt(a)===62?(N=qe,a++):(N=e,m===0&&ae(_e)),N!==e?(oe=_,E=te(w,Q),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e),_!==e?(E=ye(),E!==e?(oe=u,p=ce(w,_),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function A1(){var u,p,y,w,_,E;for(u=a,p=[],y=a,w=ye(),w!==e?(_=Ji(),_!==e?(E=ye(),E!==e?(oe=y,w=Ae(_),y=w):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);y!==e;)p.push(y),y=a,w=ye(),w!==e?(_=Ji(),_!==e?(E=ye(),E!==e?(oe=y,w=Ae(_),y=w):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);return p!==e&&(oe=u,p=Be(p)),u=p,u===e&&(u=a,p=Ji(),p!==e&&(oe=u,p=Ye(p)),u=p,u===e&&(u=a,p=ye(),p!==e&&(oe=u,p=Pt()),u=p)),u}function Jn(){var u,p,y,w,_,E,G,Q,F,N,j,ie,fe,me;if(u=Zh(),u===e)if(u=a,p=ye(),p!==e)if(t.charCodeAt(a)===58?(y=qr,a++):(y=e,m===0&&ae(Ee)),y!==e)if(it.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(vt)),w===e&&(w=null),w!==e)if(_=il(),_!==e){if(E=a,t.charCodeAt(a)===123?(G=It,a++):(G=e,m===0&&ae(Xr)),G!==e?(Q=ye(),Q!==e?(F=ac(),F!==e?(N=ye(),N!==e?(t.charCodeAt(a)===125?(j=gt,a++):(j=e,m===0&&ae(Fn)),j!==e?(oe=E,G=hr(w,_,F),E=G):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e),E===e){if(E=a,t.charCodeAt(a)===91?(G=si,a++):(G=e,m===0&&ae(oi)),G!==e)if(Q=ye(),Q!==e){if(F=a,N=Fo(),N!==e&&(oe=F,N=Nr(w,_,N)),F=N,F===e){if(F=a,N=a,j=[],ie=a,fe=a,m++,t.charCodeAt(a)===93?(me=mn,a++):(me=e,m===0&&ae(Hn)),me===e&&(t.charCodeAt(a)===91?(me=si,a++):(me=e,m===0&&ae(oi))),m--,me===e?fe=void 0:(a=fe,fe=e),fe!==e?(t.length>a?(me=t.charAt(a),a++):(me=e,m===0&&ae(g)),me!==e?(fe=[fe,me],ie=fe):(a=ie,ie=e)):(a=ie,ie=e),ie!==e)for(;ie!==e;)j.push(ie),ie=a,fe=a,m++,t.charCodeAt(a)===93?(me=mn,a++):(me=e,m===0&&ae(Hn)),me===e&&(t.charCodeAt(a)===91?(me=si,a++):(me=e,m===0&&ae(oi))),m--,me===e?fe=void 0:(a=fe,fe=e),fe!==e?(t.length>a?(me=t.charAt(a),a++):(me=e,m===0&&ae(g)),me!==e?(fe=[fe,me],ie=fe):(a=ie,ie=e)):(a=ie,ie=e);else j=e;j!==e?N=t.substring(N,a):N=j,N!==e&&(oe=F,N=ks(w,_)),F=N}F!==e?(N=ye(),N!==e?(t.charCodeAt(a)===93?(j=mn,a++):(j=e,m===0&&ae(Hn)),j!==e?(oe=E,G=Gn(w,_,F),E=G):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;if(E===e&&(E=a,t.charCodeAt(a)===60?(G=ht,a++):(G=e,m===0&&ae(mr)),G!==e?(Q=ye(),Q!==e?(F=Fo(),F!==e?(N=ye(),N!==e?(t.charCodeAt(a)===62?(j=qe,a++):(j=e,m===0&&ae(_e)),j!==e?(oe=E,G=ai(w,_,F),E=G):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e),E===e)){if(E=a,t.charCodeAt(a)===60?(G=ht,a++):(G=e,m===0&&ae(mr)),G!==e)if(Q=ye(),Q!==e){if(F=a,N=[],j=a,ie=a,m++,t.charCodeAt(a)===60?(fe=ht,a++):(fe=e,m===0&&ae(mr)),fe===e&&(t.charCodeAt(a)===62?(fe=qe,a++):(fe=e,m===0&&ae(_e))),m--,fe===e?ie=void 0:(a=ie,ie=e),ie!==e?(t.length>a?(fe=t.charAt(a),a++):(fe=e,m===0&&ae(g)),fe!==e?(ie=[ie,fe],j=ie):(a=j,j=e)):(a=j,j=e),j!==e)for(;j!==e;)N.push(j),j=a,ie=a,m++,t.charCodeAt(a)===60?(fe=ht,a++):(fe=e,m===0&&ae(mr)),fe===e&&(t.charCodeAt(a)===62?(fe=qe,a++):(fe=e,m===0&&ae(_e))),m--,fe===e?ie=void 0:(a=ie,ie=e),ie!==e?(t.length>a?(fe=t.charAt(a),a++):(fe=e,m===0&&ae(g)),fe!==e?(ie=[ie,fe],j=ie):(a=j,j=e)):(a=j,j=e);else N=e;N!==e?F=t.substring(F,a):F=N,F!==e?(N=ye(),N!==e?(t.charCodeAt(a)===62?(j=qe,a++):(j=e,m===0&&ae(_e)),j!==e?(oe=E,G=ji(w,_,F),E=G):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;if(E===e){if(E=a,t.charCodeAt(a)===40?(G=In,a++):(G=e,m===0&&ae(Kn)),G!==e)if(Q=ye(),Q!==e){if(F=a,N=Fo(),N!==e&&(oe=F,N=Bi(w,_,N)),F=N,F===e){if(F=a,N=a,j=[],ie=a,fe=a,m++,t.charCodeAt(a)===41?(me=V,a++):(me=e,m===0&&ae(R)),me===e&&(t.charCodeAt(a)===40?(me=In,a++):(me=e,m===0&&ae(Kn))),m--,me===e?fe=void 0:(a=fe,fe=e),fe!==e?(t.length>a?(me=t.charAt(a),a++):(me=e,m===0&&ae(g)),me!==e?(fe=[fe,me],ie=fe):(a=ie,ie=e)):(a=ie,ie=e),ie!==e)for(;ie!==e;)j.push(ie),ie=a,fe=a,m++,t.charCodeAt(a)===41?(me=V,a++):(me=e,m===0&&ae(R)),me===e&&(t.charCodeAt(a)===40?(me=In,a++):(me=e,m===0&&ae(Kn))),m--,me===e?fe=void 0:(a=fe,fe=e),fe!==e?(t.length>a?(me=t.charAt(a),a++):(me=e,m===0&&ae(g)),me!==e?(fe=[fe,me],ie=fe):(a=ie,ie=e)):(a=ie,ie=e);else j=e;j!==e?N=t.substring(N,a):N=j,N!==e&&(oe=F,N=J(w,_)),F=N}F!==e?(N=ye(),N!==e?(t.charCodeAt(a)===41?(j=V,a++):(j=e,m===0&&ae(R)),j!==e?(oe=E,G=re(w,_,F),E=G):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;E===e&&(E=a,G=ye(),G!==e&&(oe=E,G=se(w,_)),E=G)}}}E!==e?(G=ye(),G!==e?(oe=u,p=we(w,_,E),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Bn(){var u,p,y,w,_,E,G,Q,F,N;for(u=a,p=[],y=Jn();y!==e;)p.push(y),y=Jn();if(p!==e)if(y=di(),y!==e){if(w=[],_=a,t.charCodeAt(a)===61?(E=z,a++):(E=e,m===0&&ae(U)),E!==e)if(G=ye(),G!==e){if(Q=[],F=Jn(),F!==e)for(;F!==e;)Q.push(F),F=Jn();else Q=e;Q!==e?(F=ye(),F!==e?(N=di(),N!==e?(oe=_,E=Se(p,Q),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;for(;_!==e;)if(w.push(_),_=a,t.charCodeAt(a)===61?(E=z,a++):(E=e,m===0&&ae(U)),E!==e)if(G=ye(),G!==e){if(Q=[],F=Jn(),F!==e)for(;F!==e;)Q.push(F),F=Jn();else Q=e;Q!==e?(F=ye(),F!==e?(N=di(),N!==e?(oe=_,E=Se(p,Q),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;w!==e?(oe=u,p=je(p,w),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function E1(){var u,p,y,w;if(u=a,p=a,y=[],We.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(bt)),w!==e)for(;w!==e;)y.push(w),We.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(bt));else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=Ne(p)),u=p,u}function lc(){var u,p,y;if(u=a,p=[],at.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(ft)),y!==e)for(;y!==e;)p.push(y),at.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(ft));else p=e;return p!==e?u=t.substring(u,a):u=p,u}function Io(){var u,p,y,w,_;if(u=a,p=a,lt.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(Ge)),y===e&&(y=null),y!==e){if(w=[],at.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(ft)),_!==e)for(;_!==e;)w.push(_),at.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(ft));else w=e;w!==e?(y=[y,w],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function Jh(){var u,p;return u=a,t.substr(a,4)===ct?(p=ct,a+=4):(p=e,m===0&&ae(et)),p!==e&&(oe=u,p=Mr()),u=p,u===e&&(u=a,t.substr(a,5)===Bt?(p=Bt,a+=5):(p=e,m===0&&ae(rr)),p!==e&&(oe=u,p=st()),u=p),u}function Qh(){var u,p,y,w,_,E;return u=a,p=a,y=Io(),y!==e?(w=a,t.charCodeAt(a)===46?(_=Ut,a++):(_=e,m===0&&ae(Zt)),_!==e?(E=lc(),E!==e?(_=[_,E],w=_):(a=w,w=e)):(a=w,w=e),w===e&&(w=null),w!==e?(Cr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(Yr)),_!==e?(E=Io(),E!==e?(y=[y,w,_,E],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u===e&&(u=a,p=a,y=Io(),y!==e?(t.charCodeAt(a)===46?(w=Ut,a++):(w=e,m===0&&ae(Zt)),w!==e?(_=lc(),_!==e?(y=[y,w,_],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p),u}function Ji(){var u,p,y,w,_;if(u=a,Ar.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(hn)),p!==e){for(y=a,w=[],On.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(Rn));_!==e;)w.push(_),On.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(Rn));w!==e?y=t.substring(y,a):y=w,y!==e?(Ar.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(hn)),w!==e?(oe=u,p=Ne(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;if(u===e){if(u=a,en.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(tn)),p!==e){for(y=a,w=[],Mt.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(Er));_!==e;)w.push(_),Mt.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(Er));w!==e?y=t.substring(y,a):y=w,y!==e?(en.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(tn)),w!==e?(oe=u,p=Ne(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;u===e&&(u=Jh(),u===e&&(u=a,p=Qh(),p!==e&&(oe=u,p=gn(p)),u=p,u===e&&(u=a,p=Io(),p!==e&&(oe=u,p=zr(p)),u=p)))}return u}function Ps(){var u,p,y,w,_,E,G,Q,F,N,j,ie,fe,me,ot,jr,Wr;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Ss(),y!==e)if(w=Gt(),w!==e)if(_=ye(),_!==e)if(E=Bn(),E!==e)if(oe=a,G=Mi(p,w,E),G?G=void 0:G=e,G!==e){if(Q=[],F=a,N=a,j=ye(),j!==e?N=t.substring(N,a):N=j,N!==e?(j=a,ie=Zn(),ie===e&&(ie=a,fe=a,m++,me=jn(),m--,me===e?fe=void 0:(a=fe,fe=e),fe===e&&(fe=a,m++,me=a,ot=hi(),ot!==e?(jr=Gt(),jr!==e?(oe=a,Wr=li(p,w,E,N,jr),Wr?Wr=void 0:Wr=e,Wr!==e?(ot=[ot,jr,Wr],me=ot):(a=me,me=e)):(a=me,me=e)):(a=me,me=e),m--,me===e?fe=void 0:(a=fe,fe=e)),fe!==e?(me=Gr(),me!==e?(ot=Zn(),ot===e&&(ot=null),ot!==e?(fe=[fe,me,ot],ie=fe):(a=ie,ie=e)):(a=ie,ie=e)):(a=ie,ie=e)),ie!==e?j=t.substring(j,a):j=ie,j!==e?(oe=F,N=i(p,w,E,N,j),F=N):(a=F,F=e)):(a=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=a,N=a,j=ye(),j!==e?N=t.substring(N,a):N=j,N!==e?(j=a,ie=Zn(),ie===e&&(ie=a,fe=a,m++,me=jn(),m--,me===e?fe=void 0:(a=fe,fe=e),fe===e&&(fe=a,m++,me=a,ot=hi(),ot!==e?(jr=Gt(),jr!==e?(oe=a,Wr=li(p,w,E,N,jr),Wr?Wr=void 0:Wr=e,Wr!==e?(ot=[ot,jr,Wr],me=ot):(a=me,me=e)):(a=me,me=e)):(a=me,me=e),m--,me===e?fe=void 0:(a=fe,fe=e)),fe!==e?(me=Gr(),me!==e?(ot=Zn(),ot===e&&(ot=null),ot!==e?(fe=[fe,me,ot],ie=fe):(a=ie,ie=e)):(a=ie,ie=e)):(a=ie,ie=e)),ie!==e?j=t.substring(j,a):j=ie,j!==e?(oe=F,N=i(p,w,E,N,j),F=N):(a=F,F=e)):(a=F,F=e);else Q=e;Q!==e?(F=a,N=ye(),N!==e?F=t.substring(F,a):F=N,F!==e?(N=a,j=hi(),j!==e?(ie=Gt(),ie!==e?(oe=a,fe=ue(p,w,E,Q,F,ie),fe?fe=void 0:fe=e,fe!==e?(me=Zn(),me===e&&(me=null),me!==e?(oe=N,j=Vr(p,w,E,Q,F,ie),N=j):(a=N,N=e)):(a=N,N=e)):(a=N,N=e)):(a=N,N=e),N!==e?(oe=a,j=Jt(p,w,E,Q,F,N),j?j=void 0:j=e,j!==e?(oe=u,p=rn(p,w,E,Q,F,N),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Qi(){var u,p,y,w,_,E,G,Q,F;if(u=a,p=a,m++,y=a,w=ye(),w!==e?(_=jn(),_===e&&(_=gi()),_!==e?(w=[w,_],y=w):(a=y,y=e)):(a=y,y=e),y===e&&(y=Hr()),m--,y===e?p=void 0:(a=p,p=e),p!==e){for(y=[],w=qt();w!==e;)y.push(w),w=qt();if(y!==e){if(w=a,_=[],E=a,v.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,m===0&&ae(yn)),G!==e){for(Q=[],F=qt();F!==e;)Q.push(F),F=qt();Q!==e?(G=[G,Q],E=G):(a=E,E=e)}else a=E,E=e;if(E!==e)for(;E!==e;)if(_.push(E),E=a,v.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,m===0&&ae(yn)),G!==e){for(Q=[],F=qt();F!==e;)Q.push(F),F=qt();Q!==e?(G=[G,Q],E=G):(a=E,E=e)}else a=E,E=e;else _=e;_!==e?w=t.substring(w,a):w=_,w!==e?(_=mi(),_!==e?(oe=u,p=qn(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e}else a=u,u=e;return u}function _r(){var u,p,y,w,_;return u=a,p=a,y=Qi(),y===e&&(y=a,oe=a,w=Ur(),w?w=void 0:w=e,w!==e?(_=Hr(),_!==e?(w=[w,_],y=w):(a=y,y=e)):(a=y,y=e)),y!==e?p=t.substring(p,a):p=y,p!==e&&(oe=u,p=Nn()),u=p,u}function Kr(){var u,p;return u=a,p=Qt(),p!==e&&(oe=u,p=zi(p)),u=p,u}function Qa(){var u,p,y,w,_,E,G,Q,F,N,j;if(u=a,oe=a,p=Me(),p?p=void 0:p=e,p!==e){if(y=a,w=[],_=a,E=a,m++,G=Qi(),m--,G===e?E=void 0:(a=E,E=e),E!==e?(G=Kr(),G!==e?(E=[E,G],_=E):(a=_,_=e)):(a=_,_=e),_!==e)for(;_!==e;)w.push(_),_=a,E=a,m++,G=Qi(),m--,G===e?E=void 0:(a=E,E=e),E!==e?(G=Kr(),G!==e?(E=[E,G],_=E):(a=_,_=e)):(a=_,_=e);else w=e;if(w!==e?y=t.substring(y,a):y=w,y!==e)if(w=a,_=Qi(),_!==e&&(oe=w,_=Ht(y,_)),w=_,w!==e){if(_=[],E=a,G=a,Q=[],F=a,N=a,m++,j=_r(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Kr(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=a,N=a,m++,j=_r(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Kr(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e);else Q=e;if(Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,F=_r(),F!==e&&(oe=Q,F=vs(y,w,G,F)),Q=F,Q!==e?(oe=E,G=nn(y,w,G,Q),E=G):(a=E,E=e)):(a=E,E=e),E===e&&(E=a,G=a,m++,Q=Qi(),m--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,m++,F=_r(),m--,F===e?Q=void 0:(a=Q,Q=e),Q!==e?(F=Kr(),F!==e?(oe=E,G=bn(y,w,F),E=G):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)),E!==e)for(;E!==e;){if(_.push(E),E=a,G=a,Q=[],F=a,N=a,m++,j=_r(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Kr(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=a,N=a,m++,j=_r(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Kr(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e);else Q=e;Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,F=_r(),F!==e&&(oe=Q,F=vs(y,w,G,F)),Q=F,Q!==e?(oe=E,G=nn(y,w,G,Q),E=G):(a=E,E=e)):(a=E,E=e),E===e&&(E=a,G=a,m++,Q=Qi(),m--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,m++,F=_r(),m--,F===e?Q=void 0:(a=Q,Q=e),Q!==e?(F=Kr(),F!==e?(oe=E,G=bn(y,w,F),E=G):(a=E,E=e)):(a=E,E=e)):(a=E,E=e))}else _=e;_!==e?(oe=a,E=ui(y,w,_),E?E=void 0:E=e,E!==e?(oe=u,p=Dn(y,w,_),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e}else a=u,u=e;if(u===e){if(u=a,p=[],y=a,w=a,_=a,E=a,m++,G=_r(),m--,G===e?E=void 0:(a=E,E=e),E!==e?(G=Kr(),G!==e?(E=[E,G],_=E):(a=_,_=e)):(a=_,_=e),_!==e?w=t.substring(w,a):w=_,w!==e){for(_=[],E=_r();E!==e;)_.push(E),E=_r();_!==e?(oe=y,w=W(w,_),y=w):(a=y,y=e)}else a=y,y=e;if(y!==e)for(;y!==e;)if(p.push(y),y=a,w=a,_=a,E=a,m++,G=_r(),m--,G===e?E=void 0:(a=E,E=e),E!==e?(G=Kr(),G!==e?(E=[E,G],_=E):(a=_,_=e)):(a=_,_=e),_!==e?w=t.substring(w,a):w=_,w!==e){for(_=[],E=_r();E!==e;)_.push(E),E=_r();_!==e?(oe=y,w=W(w,_),y=w):(a=y,y=e)}else a=y,y=e;else p=e;if(p!==e&&(oe=u,p=xs(p)),u=p,u===e)if(u=[],p=Kr(),p!==e)for(;p!==e;)u.push(p),p=Kr();else u=e}return u}function Xh(){var u,p,y,w,_,E,G,Q,F,N,j,ie,fe,me,ot,jr;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Ss(),y!==e)if(w=Gt(),w!==e)if(_=ye(),_!==e)if(E=Bn(),E!==e)if(oe=a,G=Vi(p,w,E),G?G=void 0:G=e,G!==e)if(oe=a,Q=Cs(p,w,E),Q?Q=void 0:Q=e,Q!==e){for(F=a,N=[],j=Hr(),j===e&&(j=Ps(),j===e&&(j=Ts(),j===e&&(j=Os(),j===e&&(j=Rs(),j===e&&(j=Fs(),j===e&&(j=Is()))))));j!==e;)N.push(j),j=Hr(),j===e&&(j=Ps(),j===e&&(j=Ts(),j===e&&(j=Os(),j===e&&(j=Rs(),j===e&&(j=Fs(),j===e&&(j=Is()))))));N!==e&&(oe=F,N=fi(p,w,E,N)),F=N,F!==e?(oe=a,N=bo(p,w,E,F),N?N=void 0:N=e,N!==e?(j=a,ie=ye(),ie!==e?j=t.substring(j,a):j=ie,j!==e?(ie=a,fe=hi(),fe!==e?(me=Gt(),me!==e?(oe=a,ot=ue(p,w,E,F,j,me),ot?ot=void 0:ot=e,ot!==e?(jr=Zn(),jr===e&&(jr=null),jr!==e?(oe=ie,fe=ja(p,w,E,F,j,me),ie=fe):(a=ie,ie=e)):(a=ie,ie=e)):(a=ie,ie=e)):(a=ie,ie=e),ie!==e?(oe=u,p=Ui(p,w,E,F,j,ie),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Xa(){var u,p,y,w,_,E,G,Q,F,N,j,ie,fe,me,ot;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Ss(),y!==e)if(w=Gt(),w!==e)if(_=ye(),_!==e)if(E=Bn(),E!==e)if(oe=a,G=Vi(p,w,E),G?G=void 0:G=e,G!==e)if(oe=a,Q=sn(p,w,E),Q?Q=void 0:Q=e,Q!==e){for(F=a,N=[],j=Hr();j!==e;)N.push(j),j=Hr();if(N!==e)if(j=Qa(),j!==e){for(ie=[],fe=Hr();fe!==e;)ie.push(fe),fe=Hr();ie!==e?(oe=F,N=$o(p,w,E,j),F=N):(a=F,F=e)}else a=F,F=e;else a=F,F=e;F!==e?(N=a,j=ye(),j!==e?N=t.substring(N,a):N=j,N!==e?(j=a,ie=hi(),ie!==e?(fe=Gt(),fe!==e?(oe=a,me=ue(p,w,E,F,N,fe),me?me=void 0:me=e,me!==e?(ot=Zn(),ot===e&&(ot=null),ot!==e?(oe=j,ie=wo(p,w,E,F,N,fe),j=ie):(a=j,j=e)):(a=j,j=e)):(a=j,j=e)):(a=j,j=e),j!==e?(oe=a,ie=Jt(p,w,E,F,N,j),ie?ie=void 0:ie=e,ie!==e?(oe=u,p=Ba(p,w,E,F,N,j),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ts(){var u,p,y,w,_,E,G,Q,F,N,j,ie,fe;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=Ss(),y!==e)if(w=Gt(),w!==e)if(_=ye(),_!==e)if(E=Bn(),E!==e){if(G=[],Q=a,F=Hr(),F===e&&(F=Ps(),F===e&&(F=Xa(),F===e&&(F=Ts(),F===e&&(F=Os(),F===e&&(F=nl(),F===e&&(F=Rs(),F===e&&(F=el(),F===e&&(F=tl(),F===e&&(F=rl(),F===e&&(F=Fs(),F===e&&(F=Ya(),F===e&&(F=Is())))))))))))),F!==e&&(oe=Q,F=ko(p,w,E,F)),Q=F,Q===e){for(Q=a,F=a,N=[],j=qt();j!==e;)N.push(j),j=qt();if(N!==e?F=t.substring(F,a):F=N,F!==e){if(N=a,j=[],ie=Qt(),ie!==e)for(;ie!==e;)j.push(ie),ie=Qt();else j=e;j!==e?N=t.substring(N,a):N=j,N!==e?(oe=Q,F=vo(p,w,E,F,N),Q=F):(a=Q,Q=e)}else a=Q,Q=e}for(;Q!==e;)if(G.push(Q),Q=a,F=Hr(),F===e&&(F=Ps(),F===e&&(F=Xa(),F===e&&(F=Ts(),F===e&&(F=Os(),F===e&&(F=nl(),F===e&&(F=Rs(),F===e&&(F=el(),F===e&&(F=tl(),F===e&&(F=rl(),F===e&&(F=Fs(),F===e&&(F=Ya(),F===e&&(F=Is())))))))))))),F!==e&&(oe=Q,F=ko(p,w,E,F)),Q=F,Q===e){for(Q=a,F=a,N=[],j=qt();j!==e;)N.push(j),j=qt();if(N!==e?F=t.substring(F,a):F=N,F!==e){if(N=a,j=[],ie=Qt(),ie!==e)for(;ie!==e;)j.push(ie),ie=Qt();else j=e;j!==e?N=t.substring(N,a):N=j,N!==e?(oe=Q,F=vo(p,w,E,F,N),Q=F):(a=Q,Q=e)}else a=Q,Q=e}G!==e?(Q=a,F=ye(),F!==e?Q=t.substring(Q,a):Q=F,Q!==e?(F=a,N=hi(),N!==e?(j=Gt(),j!==e?(oe=a,ie=ue(p,w,E,G,Q,j),ie?ie=void 0:ie=e,ie!==e?(fe=Zn(),fe===e&&(fe=null),fe!==e?(oe=F,N=Ma(p,w,E,G,Q,j),F=N):(a=F,F=e)):(a=F,F=e)):(a=F,F=e)):(a=F,F=e),F!==e?(oe=a,N=Jt(p,w,E,G,Q,F),N?N=void 0:N=e,N!==e?(oe=u,p=za(p,w,E,G,Q,F),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Yh(){var u,p,y;if(u=a,p=[],y=Qt(),y!==e)for(;y!==e;)p.push(y),y=Qt();else p=e;return p!==e&&(oe=u,p=xo()),u=p,u}function _1(){var u,p,y,w;if(u=a,p=[],y=a,w=Lr(),w!==e&&(oe=y,w=Ln()),y=w,y===e){if(y=[],zt.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(Wn)),w!==e)for(;w!==e;)y.push(w),zt.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(Wn));else y=e;y===e&&(y=Qt())}if(y!==e){for(;y!==e;)if(p.push(y),y=a,w=Lr(),w!==e&&(oe=y,w=Ln()),y=w,y===e){if(y=[],zt.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(Wn)),w!==e)for(;w!==e;)y.push(w),zt.test(t.charAt(a))?(w=t.charAt(a),a++):(w=e,m===0&&ae(Wn));else y=e;y===e&&(y=Qt())}}else p=e;return p!==e&&(oe=u,p=ci(p)),u=p,u}function Fs(){var u,p,y,w,_,E,G,Q,F,N,j,ie;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,m++,w=jn(),m--,w===e?y=void 0:(a=y,y=e),y!==e)if(w=gi(),w!==e)if(_=ye(),_!==e)if(E=Lr(),E===e&&(E=null),E!==e)if(oe=a,G=Dr(p,w),G?G=void 0:G=e,G!==e){for(Q=a,F=[],N=a,j=a,m++,ie=Lr(),m--,ie===e?j=void 0:(a=j,j=e),j!==e?(ie=Qt(),ie!==e?(j=[j,ie],N=j):(a=N,N=e)):(a=N,N=e);N!==e;)F.push(N),N=a,j=a,m++,ie=Lr(),m--,ie===e?j=void 0:(a=j,j=e),j!==e?(ie=Qt(),ie!==e?(j=[j,ie],N=j):(a=N,N=e)):(a=N,N=e);F!==e?Q=t.substring(Q,a):Q=F,Q!==e?(oe=u,p=Va(p,w,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ya(){var u,p,y,w,_,E,G,Q,F;return u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=a,m++,w=jn(),m--,w===e?y=void 0:(a=y,y=e),y!==e?(w=gi(),w!==e?(_=ye(),_!==e?(E=Lr(),E===e&&(E=null),E!==e?(oe=a,G=Co(p,w),G?G=void 0:G=e,G!==e?(oe=a,Q=$n(p,w),Q?Q=void 0:Q=e,Q!==e?(F=Qa(),F!==e?(oe=u,p=pi(p,w,F),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Is(){var u,p,y,w,_,E,G,Q,F,N,j;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,m++,w=jn(),m--,w===e?y=void 0:(a=y,y=e),y!==e)if(w=gi(),w!==e)if(_=ye(),_!==e)if(E=Lr(),E===e&&(E=Gh()),E!==e){for(G=a,Q=[],F=a,N=a,m++,j=Lr(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Qt(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e);F!==e;)Q.push(F),F=a,N=a,m++,j=Lr(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Qt(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(oe=u,p=Hi(p,w,E,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function eg(){var u,p,y,w,_,E,G,Q,F,N,j;for(u=a,p=[],y=Gr();y!==e;)p.push(y),y=Gr();if(p!==e)if(y=di(),y!==e){if(w=[],_=a,E=ye(),E!==e)if(t.substr(a,2)===Gi?(G=Gi,a+=2):(G=e,m===0&&ae(Ao)),G!==e)if(Q=ye(),Q!==e){if(F=[],N=Gr(),N!==e)for(;N!==e;)F.push(N),N=Gr();else F=e;F!==e?(N=ye(),N!==e?(j=di(),j!==e?(oe=_,E=Se(p,F),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;else a=_,_=e;for(;_!==e;)if(w.push(_),_=a,E=ye(),E!==e)if(t.substr(a,2)===Gi?(G=Gi,a+=2):(G=e,m===0&&ae(Ao)),G!==e)if(Q=ye(),Q!==e){if(F=[],N=Gr(),N!==e)for(;N!==e;)F.push(N),N=Gr();else F=e;F!==e?(N=ye(),N!==e?(j=di(),j!==e?(oe=_,E=Se(p,F),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;else a=_,_=e;w!==e?(oe=u,p=je(p,w),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function el(){var u,p,y,w,_,E,G;return u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,6)===$t?(y=$t,a+=6):(y=e,m===0&&ae(Xe)),y!==e?(w=ye(),w!==e?(_=a,E=il(),E!==e?_=t.substring(_,a):_=E,_!==e?(E=ye(),E!==e?(G=eg(),G!==e?(oe=u,p=Ua(p,y,_,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function tl(){var u,p,y,w,_,E,G,Q;return u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,7)===Qe?(y=Qe,a+=7):(y=e,m===0&&ae(ne)),y!==e?(w=ye(),w!==e?(_=a,E=Gt(),E===e&&(E=a,Ha.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,m===0&&ae(Ga)),G!==e?(t.substr(a,2)===Eo?(Q=Eo,a+=2):(Q=e,m===0&&ae(_o)),Q!==e?(G=[G,Q],E=G):(a=E,E=e)):(a=E,E=e)),E!==e?_=t.substring(_,a):_=E,_!==e?(E=ye(),E!==e?(G=Bn(),G!==e?(oe=u,p=So(p,y,_,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function rl(){var u,p,y,w,_;return u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,9)===Po?(y=Po,a+=9):(y=e,m===0&&ae(As)),y!==e?(w=ye(),w!==e?(_=Bn(),_!==e?(oe=u,p=Et(p,y,_),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Os(){var u,p,y,w,_,E,G,Q,F,N,j,ie;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=To(),y!==e)if(w=Gt(),w!==e)if(_=ye(),_!==e)if(E=Bn(),E!==e)if(oe=a,G=De(p,y,w,E),G?G=void 0:G=e,G!==e){for(Q=a,F=[],N=a,j=a,m++,ie=Lr(),m--,ie===e?j=void 0:(a=j,j=e),j!==e?(ie=Qt(),ie!==e?(j=[j,ie],N=j):(a=N,N=e)):(a=N,N=e);N!==e;)F.push(N),N=a,j=a,m++,ie=Lr(),m--,ie===e?j=void 0:(a=j,j=e),j!==e?(ie=Qt(),ie!==e?(j=[j,ie],N=j):(a=N,N=e)):(a=N,N=e);F!==e?Q=t.substring(Q,a):Q=F,Q!==e?(oe=u,p=Ki(p,y,w,E,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function nl(){var u,p,y,w,_,E,G,Q,F;return u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=To(),y!==e?(w=Gt(),w!==e?(_=ye(),_!==e?(E=Bn(),E!==e?(oe=a,G=Xf(p,y,w,E),G?G=void 0:G=e,G!==e?(oe=a,Q=nr(p,y,w,E),Q?Q=void 0:Q=e,Q!==e?(F=Qa(),F!==e?(oe=u,p=wn(p,y,w,E,F),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Rs(){var u,p,y,w,_,E,G,Q,F,N,j;if(u=a,p=a,y=ye(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=To(),y!==e)if(w=Gt(),w!==e)if(_=ye(),_!==e)if(E=Bn(),E!==e){for(G=a,Q=[],F=a,N=a,m++,j=Lr(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Qt(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e);F!==e;)Q.push(F),F=a,N=a,m++,j=Lr(),m--,j===e?N=void 0:(a=N,N=e),N!==e?(j=Qt(),j!==e?(N=[N,j],F=N):(a=F,F=e)):(a=F,F=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(oe=u,p=pt(p,y,w,E,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function il(){var u,p,y,w,_;if(u=a,p=a,Ka.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(Wa)),y!==e){if(w=[],xr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(jt)),_!==e)for(;_!==e;)w.push(_),xr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,m===0&&ae(jt));else w=e;w!==e?(y=[y,w],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function S1(){var u,p;for(m++,u=[],Wi.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Zi));p!==e;)u.push(p),Wi.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Zi));return m--,u===e&&(p=e,m===0&&ae(Za)),u}function P1(){var u,p;for(m++,u=[],Wi.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Zi));p!==e;)u.push(p),Wi.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Zi));return m--,u===e&&(p=e,m===0&&ae(Ja)),u}function Oo(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function tg(u){return u===u.toUpperCase()}function Xi(u){return u.reduce((p,y)=>Array.isArray(y)?p.concat(Xi(y)):p.concat(y),[])}function rg(u){return["boundary","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","table","toc"].includes(u)||tg(u)||u.match(/^(head|item)\d+$/)||Oo(u)}function ng(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(C=s(),C!==e&&a===t.length)return C;throw C!==e&&a<t.length&&ae(H()),Yf(S,b<t.length?t.charAt(b):null,b<t.length?Es(b,b+1):Es(b,b))}qd.exports={SyntaxError:Pi,parse:dk}});var Ld=be((zu,Vu)=>{(function(t,r,e){typeof zu=="object"?(Vu.exports=e(),Vu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",zu,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(n,s){if(typeof n!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var o=r[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,f=s.trim===void 0?!0:s.trim,c=n.normalize().split("").reduce(function(g,h){var $=o[h];return $===void 0&&($=t[h]),$===void 0&&($=h),$===l&&($=" "),g+$.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(n){Object.assign(t,n)},e})});var zd=be((ZC,Md)=>{"use strict";function xk(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ti(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ti)}xk(Ti,Error);Ti.buildMessage=function(t,r){var e={literal:function(g){return'"'+s(g.text)+'"'},class:function(g){var h="",$;for($=0;$<g.parts.length;$++)h+=g.parts[$]instanceof Array?o(g.parts[$][0])+"-"+o(g.parts[$][1]):o(g.parts[$]);return"["+(g.inverted?"^":"")+h+"]"},any:function(g){return"any character"},end:function(g){return"end of input"},other:function(g){return g.description}};function n(g){return g.charCodeAt(0).toString(16).toUpperCase()}function s(g){return 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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function o(g){return g.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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function l(g){return e[g.type](g)}function f(g){var h=new Array(g.length),$,k;for($=0;$<g.length;$++)h[$]=l(g[$]);if(h.sort(),h.length>0){for($=1,k=1;$<h.length;$++)h[$-1]!==h[$]&&(h[k]=h[$],k++);h.length=k}switch(h.length){case 1:return h[0];case 2:return h[0]+" or "+h[1];default:return h.slice(0,-1).join(", ")+", or "+h[h.length-1]}}function c(g){return g?'"'+s(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Ck(t,r){r=r!==void 0?r:{};var e={},n={Expression:Cs},s=Cs,o="A",l=Me("A",!1),f="V",c=Me("V",!1),g="R",h=Me("R",!1),$="B",k=Me("B",!1),x="I",A=Me("I",!1),I="C",q=Me("C",!1),B="D",X=Me("D",!1),le="E",$e=Me("E",!1),he="F",Y=Me("F",!1),pe="G",ve=Me("G",!1),ke="H",Le=Me("H",!1),Te="J",Fe=Me("J",!1),ge="K",Pe=Me("K",!1),Qe="L",ne=Me("L",!1),$t="O",Xe=Me("O",!1),wt="S",nt=Me("S",!1),z="T",U=Me("T",!1),dr="U",Lt=Me("U",!1),kt="Z",Tt=Me("Z",!1),Ft="N",ut=Me("N",!1),tr="X",Vt=Me("X",!1),vr=/^[a-zA-Z]/,Rr=Ht([["a","z"],["A","Z"]],!1,!1),xr=/^[a-zA-Z0-9_\-]/,jt=Ht([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Sn=/^[ \t\f]/,Pn=Ht([" "," ","\f"],!1,!1),Tn=function(d){return!(r.allowed||[]).length||(r.allowed||[]).includes(d)},Ce=vs(),Un=function(d){return{content:d.content,type:"fcode",name:d.name,synonyms:d.items}},qr=function(d){return{content:d.content,type:"fcode",name:d.name,entry:d.items}},Ee="<",Re=Me("<",!1),At=">",ht=Me(">",!1),mr=function(){return qn()},qe="\xAB",_e=Me("\xAB",!1),te="\xBB",ce=Me("\xBB",!1),Ae=function(d){return d},Be=function(d){return d.code==="C"},Ye=function(d,b){return b===d.end_tag},Pt=function(d,b){return b},it=function(d,b,S){return S===d.end_tag},vt=function(d,b,S){return{content:b,type:"fcode",name:d.code}},It="|",Xr=Me("|",!1),gt=function(d){return d},Fn=function(d){return d.code==="L"},hr=function(d,b,S){return S},si=function(d,b,S,m){return m===d.end_tag},oi=function(d,b,S,m){return{content:b,type:"fcode",name:d.code,meta:S}},Nr=";",mn=Me(";",!1),Hn=/^[ \xA0\u2001\t\f\u2008]/,ks=Ht([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Gn=function(d,b){return a([d,b])},ai=function(d){return[d]},ji=/^[0-9]/,In=Ht([["0","9"]],!1,!1),Kn="0d",Bi=Me("0d",!1),V=function(d){return parseInt(d,10)},R="0o",J=Me("0o",!1),re=function(d){return parseInt(d,8)},se="0b",we=Me("0b",!1),Se=function(d){return parseInt(d,2)},je="0x",We=Me("0x",!1),bt=/^[0-9A-Fa-f]/,Ne=Ht([["0","9"],["A","F"],["a","f"]],!1,!1),at=function(){return parseInt(qn())},ft=/^[A-Z ]/,lt=Ht([["A","Z"]," "],!1,!1),Ge=function(){return qn()===qn().toUpperCase()},ct=/^[a-z]/,et=Ht([["a","z"]],!1,!1),Mr=/^[a-z0-9]/,Bt=Ht([["a","z"],["0","9"]],!1,!1),rr=function(d){return qn()},st=function(d){return{type:"number",value:parseInt(d,10)}},Ut=function(d){return{type:"unicode_name",value:d}},Zt=function(d){return{type:"html_named",value:d}},Cr=function(d){return d==="E"},Yr=function(d,b){return a(b)},Ar=function(d,b){return{content:b||[],type:"fcode",name:d}},hn=function(d){return d},On=function(d,b){return{code:d,begin_tag:b,end_tag:oe(b)}},Rn=function(d){return d.code!=="C"},en=function(d,b,S){return S===d.end_tag},tn=function(d,b,S){return{content:b,type:"fcode",name:d.code}},Mt=function(d){return!(r.allowed||[]).length||(r.allowed||[]).includes(d)},Er=function(d,b,S,m){return m===oe(b)},gn=function(d,b,S,m){return{content:S,type:"fcode",name:d}},zr=function(d,b,S,m){return a(m)},Mi=function(d,b,S,m,C){return C===oe(b)},li=function(d,b,S,m,C){return{name:d,content:S,items:m}},i=0,ue=0,Vr=[{line:1,column:1}],Jt=0,rn=[],v=0,yn;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=n[r.startRule]}function qn(){return t.substring(ue,i)}function Ur(){return Dn(ue,i)}function Nn(d,b){throw b=b!==void 0?b:Dn(ue,i),Vi([bn(d)],t.substring(ue,i),b)}function zi(d,b){throw b=b!==void 0?b:Dn(ue,i),xs(d,b)}function Me(d,b){return{type:"literal",text:d,ignoreCase:b}}function Ht(d,b,S){return{type:"class",parts:d,inverted:b,ignoreCase:S}}function vs(){return{type:"any"}}function nn(){return{type:"end"}}function bn(d){return{type:"other",description:d}}function ui(d){var b=Vr[d],S;if(b)return b;for(S=d-1;!Vr[S];)S--;for(b=Vr[S],b={line:b.line,column:b.column};S<d;)t.charCodeAt(S)===10?(b.line++,b.column=1):b.column++,S++;return Vr[d]=b,b}function Dn(d,b){var S=ui(d),m=ui(b);return{start:{offset:d,line:S.line,column:S.column},end:{offset:b,line:m.line,column:m.column}}}function W(d){i<Jt||(i>Jt&&(Jt=i,rn=[]),rn.push(d))}function xs(d,b){return new Ti(d,null,null,b)}function Vi(d,b,S){return new Ti(Ti.buildMessage(d,b),d,b,S)}function Cs(){var d,b;for(d=[],b=fi(),b===e&&(b=Ki(),b===e&&(b=nr(),b===e&&(b=$o())));b!==e;)d.push(b),b=fi(),b===e&&(b=Ki(),b===e&&(b=nr(),b===e&&(b=$o())));return d}function fi(){var d;return d=Ka(),d===e&&(d=Za(),d===e&&(d=Wn(),d===e&&(d=Ma(),d===e&&(d=Po(),d===e&&(d=Wa(),d===e&&(d=Va(),d===e&&(d=za(),d===e&&(d=Wi())))))))),d}function bo(){var d;return t.charCodeAt(i)===65?(d=o,i++):(d=e,v===0&&W(l)),d===e&&(t.charCodeAt(i)===86?(d=f,i++):(d=e,v===0&&W(c)),d===e&&(t.charCodeAt(i)===82?(d=g,i++):(d=e,v===0&&W(h)),d===e&&(t.charCodeAt(i)===66?(d=$,i++):(d=e,v===0&&W(k)),d===e&&(t.charCodeAt(i)===73?(d=x,i++):(d=e,v===0&&W(A)),d===e&&(t.charCodeAt(i)===67?(d=I,i++):(d=e,v===0&&W(q)),d===e&&(t.charCodeAt(i)===68?(d=B,i++):(d=e,v===0&&W(X)),d===e&&(t.charCodeAt(i)===69?(d=le,i++):(d=e,v===0&&W($e)),d===e&&(t.charCodeAt(i)===70?(d=he,i++):(d=e,v===0&&W(Y)),d===e&&(t.charCodeAt(i)===71?(d=pe,i++):(d=e,v===0&&W(ve)),d===e&&(t.charCodeAt(i)===72?(d=ke,i++):(d=e,v===0&&W(Le)),d===e&&(t.charCodeAt(i)===74?(d=Te,i++):(d=e,v===0&&W(Fe)),d===e&&(t.charCodeAt(i)===75?(d=ge,i++):(d=e,v===0&&W(Pe)),d===e&&(t.charCodeAt(i)===76?(d=Qe,i++):(d=e,v===0&&W(ne)),d===e&&(t.charCodeAt(i)===79?(d=$t,i++):(d=e,v===0&&W(Xe)),d===e&&(t.charCodeAt(i)===83?(d=wt,i++):(d=e,v===0&&W(nt)),d===e&&(t.charCodeAt(i)===84?(d=z,i++):(d=e,v===0&&W(U)),d===e&&(t.charCodeAt(i)===85?(d=dr,i++):(d=e,v===0&&W(Lt)),d===e&&(t.charCodeAt(i)===90?(d=kt,i++):(d=e,v===0&&W(Tt)),d===e&&(t.charCodeAt(i)===78?(d=Ft,i++):(d=e,v===0&&W(ut)),d===e&&(t.charCodeAt(i)===88?(d=tr,i++):(d=e,v===0&&W(Vt)))))))))))))))))))))),d}function ja(){var d,b,S,m,C;if(d=i,b=i,vr.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,v===0&&W(Rr)),S!==e){if(m=[],xr.test(t.charAt(i))?(C=t.charAt(i),i++):(C=e,v===0&&W(jt)),C!==e)for(;C!==e;)m.push(C),xr.test(t.charAt(i))?(C=t.charAt(i),i++):(C=e,v===0&&W(jt));else m=e;m!==e?(S=[S,m],b=S):(i=b,b=e)}else i=b,b=e;return b!==e?d=t.substring(d,i):d=b,d}function Ui(){var d,b;for(d=[],Sn.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,v===0&&W(Pn));b!==e;)d.push(b),Sn.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,v===0&&W(Pn));return d}function sn(){var d,b,S;return d=i,b=bo(),b!==e?(ue=i,S=Tn(b),S?S=void 0:S=e,S!==e?(b=[b,S],d=b):(i=d,d=e)):(i=d,d=e),d}function $o(){var d,b;return d=i,t.length>i?(b=t.charAt(i),i++):(b=e,v===0&&W(Ce)),b!==e?d=t.substring(d,i):d=b,d}function wo(){var d,b,S,m,C;for(d=i,b=[],S=i,m=i,v++,C=De(),v--,C===e?m=void 0:(i=m,m=e),m!==e?(t.length>i?(C=t.charAt(i),i++):(C=e,v===0&&W(Ce)),C!==e?(m=[m,C],S=m):(i=S,S=e)):(i=S,S=e);S!==e;)b.push(S),S=i,m=i,v++,C=De(),v--,C===e?m=void 0:(i=m,m=e),m!==e?(t.length>i?(C=t.charAt(i),i++):(C=e,v===0&&W(Ce)),C!==e?(m=[m,C],S=m):(i=S,S=e)):(i=S,S=e);return b!==e?d=t.substring(d,i):d=b,d}function Ba(){var d,b,S;if(d=i,b=[],S=zt(),S!==e)for(;S!==e;)b.push(S),S=zt();else b=e;return b!==e?d=t.substring(d,i):d=b,d}function ko(){var d,b;if(d=[],b=Dr(),b!==e)for(;b!==e;)d.push(b),b=Dr();else d=e;return d}function vo(){var d,b;for(d=[],b=Dr();b!==e;)d.push(b),b=Dr();return d}function Ma(){var d,b;return d=i,b=Zi(),b!==e&&(ue=d,b=Un(b)),d=b,d}function za(){var d,b;return d=i,b=Ja(),b!==e&&(ue=d,b=qr(b)),d=b,d}function xo(){var d;return t.charCodeAt(i)===66?(d=$,i++):(d=e,v===0&&W(k)),d}function Ln(){var d,b,S,m,C;return d=i,b=i,S=i,v++,m=xo(),v--,m===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,v===0&&W(Ce)),m!==e?(S=[S,m],b=S):(i=b,b=e)):(i=b,b=e),b!==e?(t.charCodeAt(i)===60?(S=Ee,i++):(S=e,v===0&&W(Re)),S!==e?(m=wn(),m!==e?(t.charCodeAt(i)===62?(C=At,i++):(C=e,v===0&&W(ht)),C!==e?(ue=d,b=mr(),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,b=i,S=i,v++,m=xo(),v--,m===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,v===0&&W(Ce)),m!==e?(S=[S,m],b=S):(i=b,b=e)):(i=b,b=e),b!==e?(t.charCodeAt(i)===171?(S=qe,i++):(S=e,v===0&&W(_e)),S!==e?(m=wn(),m!==e?(t.charCodeAt(i)===187?(C=te,i++):(C=e,v===0&&W(ce)),C!==e?(ue=d,b=mr(),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function zt(){var d,b,S,m,C,O,L,T;if(d=i,b=i,S=[],m=i,C=i,O=i,v++,t.charCodeAt(i)===60?(L=Ee,i++):(L=e,v===0&&W(Re)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,v===0&&W(Ce)),L!==e?(O=[O,L],C=O):(i=C,C=e)):(i=C,C=e),C===e&&(C=null),C!==e?(t.charCodeAt(i)===60?(O=Ee,i++):(O=e,v===0&&W(Re)),O!==e?(L=zt(),L===e&&(L=null),L!==e?(t.charCodeAt(i)===62?(T=At,i++):(T=e,v===0&&W(ht)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,C=i,O=i,v++,t.charCodeAt(i)===171?(L=qe,i++):(L=e,v===0&&W(_e)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,v===0&&W(Ce)),L!==e?(O=[O,L],C=O):(i=C,C=e)):(i=C,C=e),C===e&&(C=null),C!==e?(t.charCodeAt(i)===171?(O=qe,i++):(O=e,v===0&&W(_e)),O!==e?(L=zt(),L===e&&(L=null),L!==e?(t.charCodeAt(i)===187?(T=te,i++):(T=e,v===0&&W(ce)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=Ln(),m===e&&(m=wn()))),m!==e)for(;m!==e;)S.push(m),m=i,C=i,O=i,v++,t.charCodeAt(i)===60?(L=Ee,i++):(L=e,v===0&&W(Re)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,v===0&&W(Ce)),L!==e?(O=[O,L],C=O):(i=C,C=e)):(i=C,C=e),C===e&&(C=null),C!==e?(t.charCodeAt(i)===60?(O=Ee,i++):(O=e,v===0&&W(Re)),O!==e?(L=zt(),L===e&&(L=null),L!==e?(t.charCodeAt(i)===62?(T=At,i++):(T=e,v===0&&W(ht)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,C=i,O=i,v++,t.charCodeAt(i)===171?(L=qe,i++):(L=e,v===0&&W(_e)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,v===0&&W(Ce)),L!==e?(O=[O,L],C=O):(i=C,C=e)):(i=C,C=e),C===e&&(C=null),C!==e?(t.charCodeAt(i)===171?(O=qe,i++):(O=e,v===0&&W(_e)),O!==e?(L=zt(),L===e&&(L=null),L!==e?(t.charCodeAt(i)===187?(T=te,i++):(T=e,v===0&&W(ce)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=Ln(),m===e&&(m=wn())));else S=e;return S!==e?b=t.substring(b,i):b=S,b!==e&&(ue=d,b=Ae(b)),d=b,d}function Wn(){var d,b,S,m,C,O,L,T,D,K,P,ee,H,M,Z;if(d=i,b=Et(),b!==e)if(ue=i,S=Be(b),S?S=void 0:S=e,S!==e){if(m=[],C=i,O=i,L=[],T=i,D=i,K=i,v++,t.charCodeAt(i)===60?(P=Ee,i++):(P=e,v===0&&W(Re)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(K=Ee,i++):(K=e,v===0&&W(Re)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(ee=At,i++):(ee=e,v===0&&W(ht)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,D=i,K=i,v++,t.charCodeAt(i)===171?(P=qe,i++):(P=e,v===0&&W(_e)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(K=qe,i++):(K=e,v===0&&W(_e)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(ee=te,i++):(ee=e,v===0&&W(ce)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Ln(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}if(T!==e){for(;T!==e;)if(L.push(T),T=i,D=i,K=i,v++,t.charCodeAt(i)===60?(P=Ee,i++):(P=e,v===0&&W(Re)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(K=Ee,i++):(K=e,v===0&&W(Re)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(ee=At,i++):(ee=e,v===0&&W(ht)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,D=i,K=i,v++,t.charCodeAt(i)===171?(P=qe,i++):(P=e,v===0&&W(_e)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(K=qe,i++):(K=e,v===0&&W(_e)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(ee=te,i++):(ee=e,v===0&&W(ce)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Ln(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}}else L=e;if(L!==e?O=t.substring(O,i):O=L,O!==e&&(ue=C,O=Pt(b,O)),C=O,C!==e)for(;C!==e;){if(m.push(C),C=i,O=i,L=[],T=i,D=i,K=i,v++,t.charCodeAt(i)===60?(P=Ee,i++):(P=e,v===0&&W(Re)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(K=Ee,i++):(K=e,v===0&&W(Re)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(ee=At,i++):(ee=e,v===0&&W(ht)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,D=i,K=i,v++,t.charCodeAt(i)===171?(P=qe,i++):(P=e,v===0&&W(_e)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(K=qe,i++):(K=e,v===0&&W(_e)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(ee=te,i++):(ee=e,v===0&&W(ce)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Ln(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}if(T!==e){for(;T!==e;)if(L.push(T),T=i,D=i,K=i,v++,t.charCodeAt(i)===60?(P=Ee,i++):(P=e,v===0&&W(Re)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(K=Ee,i++):(K=e,v===0&&W(Re)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===62?(ee=At,i++):(ee=e,v===0&&W(ht)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,D=i,K=i,v++,t.charCodeAt(i)===171?(P=qe,i++):(P=e,v===0&&W(_e)),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(K=qe,i++):(K=e,v===0&&W(_e)),K!==e?(P=zt(),P===e&&(P=null),P!==e?(t.charCodeAt(i)===187?(ee=te,i++):(ee=e,v===0&&W(ce)),ee!==e?(D=[D,K,P,ee],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=Ln(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}}else L=e;L!==e?O=t.substring(O,i):O=L,O!==e&&(ue=C,O=Pt(b,O)),C=O}else m=e;m!==e?(C=De(),C!==e?(ue=i,O=it(b,m,C),O?O=void 0:O=e,O!==e?(ue=d,b=vt(b,m,C),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function ci(){var d;return t.charCodeAt(i)===124?(d=It,i++):(d=e,v===0&&W(Xr)),d}function Dr(){var d,b,S,m,C,O,L,T,D;if(d=i,b=i,S=[],m=i,C=i,O=i,v++,t.charCodeAt(i)===60?(L=Ee,i++):(L=e,v===0&&W(Re)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=sn(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,v===0&&W(Ce)),T!==e?(O=[O,L,T],C=O):(i=C,C=e)):(i=C,C=e)):(i=C,C=e),C!==e?(t.charCodeAt(i)===60?(O=Ee,i++):(O=e,v===0&&W(Re)),O!==e?(L=Dr(),L!==e?(t.charCodeAt(i)===62?(T=At,i++):(T=e,v===0&&W(ht)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,C=i,O=i,v++,t.charCodeAt(i)===171?(L=qe,i++):(L=e,v===0&&W(_e)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=sn(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,v===0&&W(Ce)),T!==e?(O=[O,L,T],C=O):(i=C,C=e)):(i=C,C=e)):(i=C,C=e),C!==e?(t.charCodeAt(i)===171?(O=qe,i++):(O=e,v===0&&W(_e)),O!==e?(L=Dr(),L===e&&(L=null),L!==e?(t.charCodeAt(i)===187?(T=te,i++):(T=e,v===0&&W(ce)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,C=i,v++,O=ci(),v--,O===e?C=void 0:(i=C,C=e),C!==e?(O=i,v++,L=De(),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=As(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(T=i,v++,D=pt(),v--,D===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(D=t.charAt(i),i++):(D=e,v===0&&W(Ce)),D!==e?(C=[C,O,L,T,D],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e))),m!==e)for(;m!==e;)S.push(m),m=i,C=i,O=i,v++,t.charCodeAt(i)===60?(L=Ee,i++):(L=e,v===0&&W(Re)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=sn(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,v===0&&W(Ce)),T!==e?(O=[O,L,T],C=O):(i=C,C=e)):(i=C,C=e)):(i=C,C=e),C!==e?(t.charCodeAt(i)===60?(O=Ee,i++):(O=e,v===0&&W(Re)),O!==e?(L=Dr(),L!==e?(t.charCodeAt(i)===62?(T=At,i++):(T=e,v===0&&W(ht)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,C=i,O=i,v++,t.charCodeAt(i)===171?(L=qe,i++):(L=e,v===0&&W(_e)),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=sn(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,v===0&&W(Ce)),T!==e?(O=[O,L,T],C=O):(i=C,C=e)):(i=C,C=e)):(i=C,C=e),C!==e?(t.charCodeAt(i)===171?(O=qe,i++):(O=e,v===0&&W(_e)),O!==e?(L=Dr(),L===e&&(L=null),L!==e?(t.charCodeAt(i)===187?(T=te,i++):(T=e,v===0&&W(ce)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,C=i,v++,O=ci(),v--,O===e?C=void 0:(i=C,C=e),C!==e?(O=i,v++,L=De(),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=As(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(T=i,v++,D=pt(),v--,D===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(D=t.charAt(i),i++):(D=e,v===0&&W(Ce)),D!==e?(C=[C,O,L,T,D],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)));else S=e;return S!==e?b=t.substring(b,i):b=S,b!==e&&(ue=d,b=gt(b)),d=b,d}function Va(){var d,b,S,m,C,O,L,T,D,K,P;if(d=i,b=Et(),b!==e)if(ue=i,S=Fn(b),S?S=void 0:S=e,S!==e){if(m=[],C=Wn(),C===e&&(C=Dr()),C!==e)for(;C!==e;)m.push(C),C=Wn(),C===e&&(C=Dr());else m=e;if(m!==e){if(C=i,O=ci(),O!==e){for(L=i,T=[],D=i,K=i,v++,P=De(),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e);D!==e;)T.push(D),D=i,K=i,v++,P=De(),v--,P===e?K=void 0:(i=K,K=e),K!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(Ce)),P!==e?(K=[K,P],D=K):(i=D,D=e)):(i=D,D=e);T!==e?L=t.substring(L,i):L=T,L!==e?(ue=C,O=hr(b,m,L),C=O):(i=C,C=e)}else i=C,C=e;C===e&&(C=null),C!==e?(O=De(),O!==e?(ue=i,L=si(b,m,C,O),L?L=void 0:L=e,L!==e?(ue=d,b=oi(b,m,C,O),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function Co(){var d,b,S,m,C,O;if(d=i,b=[],S=i,m=i,v++,t.charCodeAt(i)===59?(C=Nr,i++):(C=e,v===0&&W(mn)),v--,C===e?m=void 0:(i=m,m=e),m!==e?(C=i,v++,O=De(),v--,O===e?C=void 0:(i=C,C=e),C!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,v===0&&W(Ce)),O!==e?(m=[m,C,O],S=m):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)b.push(S),S=i,m=i,v++,t.charCodeAt(i)===59?(C=Nr,i++):(C=e,v===0&&W(mn)),v--,C===e?m=void 0:(i=m,m=e),m!==e?(C=i,v++,O=De(),v--,O===e?C=void 0:(i=C,C=e),C!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,v===0&&W(Ce)),O!==e?(m=[m,C,O],S=m):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else b=e;return b!==e?d=t.substring(d,i):d=b,d}function $n(){var d;return Hn.test(t.charAt(i))?(d=t.charAt(i),i++):(d=e,v===0&&W(ks)),d}function pi(){var d,b,S,m,C,O;if(d=i,b=Co(),b!==e){for(S=[],m=$n();m!==e;)S.push(m),m=$n();if(S!==e)if(t.charCodeAt(i)===59?(m=Nr,i++):(m=e,v===0&&W(mn)),m!==e){for(C=[],O=$n();O!==e;)C.push(O),O=$n();C!==e?(O=pi(),O!==e?(ue=d,b=Gn(b,O),d=b):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,b=Co(),b!==e&&(ue=d,b=ai(b)),d=b),d}function Hi(){var d,b,S;if(d=i,b=[],ji.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,v===0&&W(In)),S!==e)for(;S!==e;)b.push(S),ji.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,v===0&&W(In));else b=e;return b!==e?d=t.substring(d,i):d=b,d}function Gi(){var d,b,S;return d=i,t.substr(i,2)===Kn?(b=Kn,i+=2):(b=e,v===0&&W(Bi)),b!==e?(S=Hi(),S!==e?(ue=d,b=V(S),d=b):(i=d,d=e)):(i=d,d=e),d}function Ao(){var d,b,S;return d=i,t.substr(i,2)===R?(b=R,i+=2):(b=e,v===0&&W(J)),b!==e?(S=Hi(),S!==e?(ue=d,b=re(S),d=b):(i=d,d=e)):(i=d,d=e),d}function Ua(){var d,b,S;return d=i,t.substr(i,2)===se?(b=se,i+=2):(b=e,v===0&&W(we)),b!==e?(S=Hi(),S!==e?(ue=d,b=Se(S),d=b):(i=d,d=e)):(i=d,d=e),d}function Ha(){var d,b,S,m,C,O;if(d=i,b=i,S=i,t.substr(i,2)===je?(m=je,i+=2):(m=e,v===0&&W(We)),m!==e){if(C=[],bt.test(t.charAt(i))?(O=t.charAt(i),i++):(O=e,v===0&&W(Ne)),O!==e)for(;O!==e;)C.push(O),bt.test(t.charAt(i))?(O=t.charAt(i),i++):(O=e,v===0&&W(Ne));else C=e;C!==e?(m=[m,C],S=m):(i=S,S=e)}else i=S,S=e;return S!==e?b=t.substring(b,i):b=S,b!==e&&(ue=d,b=at()),d=b,d}function Ga(){var d,b,S,m;if(d=i,b=i,S=[],ft.test(t.charAt(i))?(m=t.charAt(i),i++):(m=e,v===0&&W(lt)),m!==e)for(;m!==e;)S.push(m),ft.test(t.charAt(i))?(m=t.charAt(i),i++):(m=e,v===0&&W(lt));else S=e;return S!==e?b=t.substring(b,i):b=S,b!==e?(ue=i,S=Ge(),S?S=void 0:S=e,S!==e?(ue=d,b=mr(),d=b):(i=d,d=e)):(i=d,d=e),d}function Eo(){var d,b,S,m,C,O;if(d=i,b=i,S=i,ct.test(t.charAt(i))?(m=t.charAt(i),i++):(m=e,v===0&&W(et)),m!==e){if(C=[],Mr.test(t.charAt(i))?(O=t.charAt(i),i++):(O=e,v===0&&W(Bt)),O!==e)for(;O!==e;)C.push(O),Mr.test(t.charAt(i))?(O=t.charAt(i),i++):(O=e,v===0&&W(Bt));else C=e;C!==e?(m=[m,C],S=m):(i=S,S=e)}else i=S,S=e;return S!==e?b=t.substring(b,i):b=S,b!==e&&(ue=d,b=rr(b)),d=b,d}function _o(){var d,b,S;return d=i,b=Ui(),b!==e?(S=Ao(),S===e&&(S=Gi(),S===e&&(S=Ua(),S===e&&(S=Ha(),S===e&&(S=Hi())))),S!==e?(ue=d,b=st(S),d=b):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,b=Ui(),b!==e?(S=Ga(),S!==e?(ue=d,b=Ut(S),d=b):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,b=Ui(),b!==e?(S=Eo(),S!==e?(ue=d,b=Zt(S),d=b):(i=d,d=e)):(i=d,d=e))),d}function So(){var d,b,S,m,C,O;if(d=i,b=_o(),b!==e){for(S=[],m=$n();m!==e;)S.push(m),m=$n();if(S!==e)if(t.charCodeAt(i)===59?(m=Nr,i++):(m=e,v===0&&W(mn)),m!==e){for(C=[],O=$n();O!==e;)C.push(O),O=$n();C!==e?(O=So(),O!==e?(ue=d,b=Gn(b,O),d=b):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,b=_o(),b!==e&&(ue=d,b=ai(b)),d=b),d}function Po(){var d,b,S,m,C;return d=i,b=As(),b!==e?(ue=i,S=Cr(b),S?S=void 0:S=e,S!==e?(m=i,C=So(),C!==e&&(ue=m,C=Yr(b,C)),m=C,m===e&&(m=null),m!==e?(C=De(),C!==e?(ue=d,b=Ar(b,m),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function As(){var d,b,S;return d=i,b=i,S=sn(),S!==e?b=t.substring(b,i):b=S,b!==e?(t.charCodeAt(i)===60?(S=Ee,i++):(S=e,v===0&&W(Re)),S!==e?(ue=d,b=hn(b),d=b):(i=d,d=e)):(i=d,d=e),d}function Et(){var d,b,S,m;return d=i,b=i,S=sn(),S!==e?b=t.substring(b,i):b=S,b!==e?(S=i,t.charCodeAt(i)===60?(m=Ee,i++):(m=e,v===0&&W(Re)),m===e&&(t.charCodeAt(i)===171?(m=qe,i++):(m=e,v===0&&W(_e))),m!==e?S=t.substring(S,i):S=m,S!==e?(ue=d,b=On(b,S),d=b):(i=d,d=e)):(i=d,d=e),d}function De(){var d;return t.charCodeAt(i)===62?(d=At,i++):(d=e,v===0&&W(ht)),d===e&&(t.charCodeAt(i)===187?(d=te,i++):(d=e,v===0&&W(ce))),d}function Ki(){var d,b,S,m,C,O,L,T,D,K,P,ee,H,M,Z;if(d=i,b=Et(),b!==e)if(ue=i,S=Rn(b),S?S=void 0:S=e,S!==e){if(m=[],C=fi(),C===e&&(C=Ki(),C===e)){if(C=i,O=i,L=[],T=i,t.charCodeAt(i)===60?(D=Ee,i++):(D=e,v===0&&W(Re)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===62?(P=At,i++):(P=e,v===0&&W(ht)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(_e)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===187?(P=te,i++):(P=e,v===0&&W(ce)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}if(T!==e){for(;T!==e;)if(L.push(T),T=i,t.charCodeAt(i)===60?(D=Ee,i++):(D=e,v===0&&W(Re)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===62?(P=At,i++):(P=e,v===0&&W(ht)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(_e)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===187?(P=te,i++):(P=e,v===0&&W(ce)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}}else L=e;L!==e?O=t.substring(O,i):O=L,O!==e&&(ue=C,O=Pt(b,O)),C=O}for(;C!==e;)if(m.push(C),C=fi(),C===e&&(C=Ki(),C===e)){if(C=i,O=i,L=[],T=i,t.charCodeAt(i)===60?(D=Ee,i++):(D=e,v===0&&W(Re)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===62?(P=At,i++):(P=e,v===0&&W(ht)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(_e)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===187?(P=te,i++):(P=e,v===0&&W(ce)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}if(T!==e){for(;T!==e;)if(L.push(T),T=i,t.charCodeAt(i)===60?(D=Ee,i++):(D=e,v===0&&W(Re)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===62?(P=At,i++):(P=e,v===0&&W(ht)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(_e)),D!==e?(K=nr(),K!==e?(t.charCodeAt(i)===187?(P=te,i++):(P=e,v===0&&W(ce)),P!==e?(D=[D,K,P],T=D):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T===e&&(T=pt(),T===e))){if(T=i,D=i,K=[],P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)K.push(P),P=i,ee=i,v++,H=i,M=De(),M!==e?(ue=i,Z=Ye(b,M),Z?Z=void 0:Z=e,Z!==e?(M=[M,Z],H=M):(i=H,H=e)):(i=H,H=e),v--,H===e?ee=void 0:(i=ee,ee=e),ee!==e?(H=i,v++,M=Et(),v--,M===e?H=void 0:(i=H,H=e),H!==e?(M=i,v++,Z=pt(),v--,Z===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,v===0&&W(Ce)),Z!==e?(ee=[ee,H,M,Z],P=ee):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e);else K=e;K!==e?D=t.substring(D,i):D=K,D!==e&&(ue=T,D=Pt(b,D)),T=D}}else L=e;L!==e?O=t.substring(O,i):O=L,O!==e&&(ue=C,O=Pt(b,O)),C=O}m!==e?(C=De(),C!==e?(ue=i,O=en(b,m,C),O?O=void 0:O=e,O!==e?(ue=d,b=tn(b,m,C),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function Xf(){var d,b,S,m,C;for(d=i,b=[],S=i,m=i,v++,C=De(),v--,C===e?m=void 0:(i=m,m=e),m!==e?(t.length>i?(C=t.charAt(i),i++):(C=e,v===0&&W(Ce)),C!==e?(m=[m,C],S=m):(i=S,S=e)):(i=S,S=e);S!==e;)b.push(S),S=i,m=i,v++,C=De(),v--,C===e?m=void 0:(i=m,m=e),m!==e?(t.length>i?(C=t.charAt(i),i++):(C=e,v===0&&W(Ce)),C!==e?(m=[m,C],S=m):(i=S,S=e)):(i=S,S=e);return b!==e?d=t.substring(d,i):d=b,d}function nr(){var d,b,S,m,C,O,L;if(d=i,b=i,S=[],m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C!==e?(O=nr(),O!==e?(t.charCodeAt(i)===62?(L=At,i++):(L=e,v===0&&W(ht)),L!==e?(C=[C,O,L],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e)),C!==e?(O=nr(),O!==e?(t.charCodeAt(i)===187?(L=te,i++):(L=e,v===0&&W(ce)),L!==e?(C=[C,O,L],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=pt(),m===e&&(m=wn()))),m!==e)for(;m!==e;)S.push(m),m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C!==e?(O=nr(),O!==e?(t.charCodeAt(i)===62?(L=At,i++):(L=e,v===0&&W(ht)),L!==e?(C=[C,O,L],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e)),C!==e?(O=nr(),O!==e?(t.charCodeAt(i)===187?(L=te,i++):(L=e,v===0&&W(ce)),L!==e?(C=[C,O,L],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=pt(),m===e&&(m=wn())));else S=e;return S!==e?b=t.substring(b,i):b=S,b!==e&&(ue=d,b=Ae(b)),d=b,d}function wn(){var d,b,S,m,C,O,L,T;if(d=i,b=i,S=[],m=i,C=i,v++,O=De(),v--,O===e?C=void 0:(i=C,C=e),C!==e?(O=i,v++,L=Et(),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=pt(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,v===0&&W(Ce)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m!==e)for(;m!==e;)S.push(m),m=i,C=i,v++,O=De(),v--,O===e?C=void 0:(i=C,C=e),C!==e?(O=i,v++,L=Et(),v--,L===e?O=void 0:(i=O,O=e),O!==e?(L=i,v++,T=pt(),v--,T===e?L=void 0:(i=L,L=e),L!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,v===0&&W(Ce)),T!==e?(C=[C,O,L,T],m=C):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e);else S=e;return S!==e?b=t.substring(b,i):b=S,b!==e&&(ue=d,b=Ae(b)),d=b,d}function pt(){var d,b,S,m,C;return d=i,b=i,S=i,v++,m=sn(),v--,m===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,v===0&&W(Ce)),m!==e?(S=[S,m],b=S):(i=b,b=e)):(i=b,b=e),b!==e?(t.charCodeAt(i)===60?(S=Ee,i++):(S=e,v===0&&W(Re)),S!==e?(m=wn(),m!==e?(t.charCodeAt(i)===62?(C=At,i++):(C=e,v===0&&W(ht)),C!==e?(ue=d,b=mr(),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,b=i,S=i,v++,m=sn(),v--,m===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,v===0&&W(Ce)),m!==e?(S=[S,m],b=S):(i=b,b=e)):(i=b,b=e),b!==e?(t.charCodeAt(i)===171?(S=qe,i++):(S=e,v===0&&W(_e)),S!==e?(m=wn(),m!==e?(t.charCodeAt(i)===187?(C=te,i++):(C=e,v===0&&W(ce)),C!==e?(ue=d,b=mr(),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function Ka(){var d,b,S,m,C,O,L;return d=i,b=i,t.charCodeAt(i)===65?(S=o,i++):(S=e,v===0&&W(l)),S!==e?b=t.substring(b,i):b=S,b!==e?(ue=i,S=Mt(b),S?S=void 0:S=e,S!==e?(m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C===e&&(t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e))),C!==e?m=t.substring(m,i):m=C,m!==e?(C=Dr(),C!==e?(O=De(),O!==e?(ue=i,L=Er(b,m,C,O),L?L=void 0:L=e,L!==e?(ue=d,b=gn(b,m,C,O),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Wa(){var d,b,S,m,C,O,L;return d=i,b=i,t.charCodeAt(i)===86?(S=f,i++):(S=e,v===0&&W(c)),S!==e?b=t.substring(b,i):b=S,b!==e?(ue=i,S=Mt(b),S?S=void 0:S=e,S!==e?(m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C===e&&(t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e))),C!==e?m=t.substring(m,i):m=C,m!==e?(C=Ba(),C!==e?(O=De(),O!==e?(ue=i,L=Er(b,m,C,O),L?L=void 0:L=e,L!==e?(ue=d,b=gn(b,m,C,O),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Za(){var d,b,S,m,C,O,L;return d=i,b=i,t.charCodeAt(i)===83?(S=wt,i++):(S=e,v===0&&W(nt)),S!==e?b=t.substring(b,i):b=S,b!==e?(ue=i,S=Mt(b),S?S=void 0:S=e,S!==e?(m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C===e&&(t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e))),C!==e?m=t.substring(m,i):m=C,m!==e?(C=wo(),C!==e?(O=De(),O!==e?(ue=i,L=Er(b,m,C,O),L?L=void 0:L=e,L!==e?(ue=d,b=gn(b,m,C,O),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Wi(){var d,b,S,m,C,O,L;return d=i,b=i,t.charCodeAt(i)===90?(S=kt,i++):(S=e,v===0&&W(Tt)),S!==e?b=t.substring(b,i):b=S,b!==e?(ue=i,S=Mt(b),S?S=void 0:S=e,S!==e?(m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C===e&&(t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e))),C!==e?m=t.substring(m,i):m=C,m!==e?(C=wo(),C!==e?(O=De(),O!==e?(ue=i,L=Er(b,m,C,O),L?L=void 0:L=e,L!==e?(ue=d,b=gn(b,m,C,O),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Zi(){var d,b,S,m,C,O,L,T,D;if(d=i,b=i,t.charCodeAt(i)===68?(S=B,i++):(S=e,v===0&&W(X)),S!==e?b=t.substring(b,i):b=S,b!==e)if(ue=i,S=Mt(b),S?S=void 0:S=e,S!==e)if(m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C===e&&(t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e))),C!==e?m=t.substring(m,i):m=C,m!==e)if(C=ko(),C!==e){if(O=i,L=ci(),L!==e){for(T=[],D=pi();D!==e;)T.push(D),D=pi();T!==e?(ue=O,L=zr(b,m,C,T),O=L):(i=O,O=e)}else i=O,O=e;O===e&&(O=null),O!==e?(L=De(),L!==e?(ue=i,T=Mi(b,m,C,O,L),T?T=void 0:T=e,T!==e?(ue=d,b=li(b,m,C,O,L),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;else i=d,d=e;else i=d,d=e;return d}function Ja(){var d,b,S,m,C,O,L,T,D;if(d=i,b=i,t.charCodeAt(i)===88?(S=tr,i++):(S=e,v===0&&W(Vt)),S!==e?b=t.substring(b,i):b=S,b!==e)if(ue=i,S=Mt(b),S?S=void 0:S=e,S!==e)if(m=i,t.charCodeAt(i)===60?(C=Ee,i++):(C=e,v===0&&W(Re)),C===e&&(t.charCodeAt(i)===171?(C=qe,i++):(C=e,v===0&&W(_e))),C!==e?m=t.substring(m,i):m=C,m!==e)if(C=vo(),C!==e){if(O=i,L=ci(),L!==e){for(T=[],D=pi();D!==e;)T.push(D),D=pi();T!==e?(ue=O,L=zr(b,m,C,T),O=L):(i=O,O=e)}else i=O,O=e;O===e&&(O=null),O!==e?(L=De(),L!==e?(ue=i,T=Mi(b,m,C,O,L),T?T=void 0:T=e,T!==e?(ue=d,b=li(b,m,C,O,L),d=b):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;else i=d,d=e;else i=d,d=e;return d}function a(d){return d.reduce((b,S)=>Array.isArray(S)?b.concat(a(S)):b.concat(S),[])}function oe(d){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[d]}if(yn=s(),yn!==e&&i===t.length)return yn;throw yn!==e&&i<t.length&&W(nn()),Vi(rn,Jt<t.length?t.charAt(Jt):null,Jt<t.length?Dn(Jt,Jt+1):Dn(Jt,Jt))}Md.exports={SyntaxError:Ti,parse:Ck}});var sm=be((FA,Lk)=>{Lk.exports={name:"@podlite/schema",version:"0.0.42",description:"AST tools and schema for Podlite markup language \u2014 validate, traverse, and transform document trees",main:"./src/index.ts",homepage:"https://podlite.org",bugs:{url:"https://github.com/podlite/podlite/issues"},repository:{type:"git",url:"https://github.com/podlite/podlite.git",directory:"packages/podlite-schema"},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 --allowed-start-rules Document,attributesOnly -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:["podlite","schema","ast","syntax-tree","markup-language","transform","visitor","parser","markdown","tree"],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.2","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var um=be((bE,lm)=>{lm.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var bm=be(($E,ym)=>{"use strict";var $a=Object.prototype.hasOwnProperty,gm=Object.prototype.toString,fm=Object.defineProperty,cm=Object.getOwnPropertyDescriptor,pm=function(r){return typeof Array.isArray=="function"?Array.isArray(r):gm.call(r)==="[object Array]"},dm=function(r){if(!r||gm.call(r)!=="[object Object]")return!1;var e=$a.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&$a.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!n)return!1;var s;for(s in r);return typeof s>"u"||$a.call(r,s)},mm=function(r,e){fm&&e.name==="__proto__"?fm(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},hm=function(r,e){if(e==="__proto__")if($a.call(r,e)){if(cm)return cm(r,e).value}else return;return r[e]};ym.exports=function t(){var r,e,n,s,o,l,f=arguments[0],c=1,g=arguments.length,h=!1;for(typeof f=="boolean"&&(h=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<g;++c)if(r=arguments[c],r!=null)for(e in r)n=hm(f,e),s=hm(r,e),f!==s&&(h&&s&&(dm(s)||(o=pm(s)))?(o?(o=!1,l=n&&pm(n)?n:[]):l=n&&dm(n)?n:{},mm(f,{name:e,newValue:t(h,l,s)})):typeof s<"u"&&mm(f,{name:e,newValue:s}));return f}});var km=be((vE,wm)=>{wm.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var x1={};uc(x1,{PluginRegister:()=>k1,default:()=>v1,parseMd:()=>Da,plugin:()=>La});module.exports=ug(x1);var om=Sr(hd()),Bk=Sr($d());var LA=Sr(xd());var ok=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 n=r.match(/(.+)\<\>/);return n?{type:"fcode",name:n[1]}:{name:r,type:"block"}}return{name:r,type:e}},_i=t=>{let r=ok(t),{name:e,type:n}=r;return n&&n==="*"?{name:e}:e&&e==="*"?{type:n}:r};function ak(t,r){function e(s){for(var o in s)if(s.hasOwnProperty(o))return!1;return!0}if(e(t))return!0;for(var n in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(n))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(n)){if(t[n]!==r[n])return!1}else return!1;return!0}var An=(t,r)=>{return e.rule=t,e.isFor=n,e.fn=r,e;function e(){}function n(s){return typeof s=="string"?!1:ak(t,s)}},Iu=(t,r)=>{if(t instanceof Array)return t.reduce((n,s)=>(n.push(...Iu(s)),n),[]);if(t instanceof Object){let n=[];for(var e in t)t.hasOwnProperty(e)&&n.push(An(_i(e),t[e]));return n}return[An(_i(t),r)]};var Ou=Sr(require("crypto"),1);var Cd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var lk=128,Si,ds,uk=t=>{!Si||Si.length<t?(Si=Buffer.allocUnsafe(t*lk),Ou.default.randomFillSync(Si),ds=0):ds+t>Si.length&&(Ou.default.randomFillSync(Si),ds=0),ds+=t};var Ad=(t=21)=>{uk(t);let r="";for(let e=ds-t;e<ds;e++)r+=Cd[Si[e]&63];return r};var ms=t=>({...t}),Ru=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},br=(t,r)=>{let e="block",n=t.name,s={id:Ad(),margin:"",...t};var o=ms({type:e,...s,content:Ru(r)});return o};var pa=(t,r)=>ms({type:"fcode",...t,content:r}),qu=(t,r)=>ms({...t,type:"fcode",name:"L",content:Ru(r)}),Ed=t=>ms({type:"fcode",name:"O",content:Ru(t)});var _d=t=>ms({type:"fcode",name:"F",content:[{type:"text",value:t}]}),no=t=>ms({type:"verbatim",value:t});var Sd=t=>({type:"block",name:"caption",content:t}),Pd=(t,r)=>({type:"image",src:t,alt:r}),Nu=({margin:t=""},r)=>br({name:"root",margin:t},r);var Td=({value:t,location:r})=>br({name:"formula",location:r},[no(t)]);var Du=(t,r={})=>{let e=t.config instanceof Array?t.config:[],n=[];r.config&&r.config.hasOwnProperty(t.name)&&(n=r.config[t.name]);let s={};[...e,...n].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 o=function(){};return o.exists=l=>s.hasOwnProperty(l),o.getAllValues=l=>o.exists(l)?s[l]:[],o.getFirstValue=l=>o.exists(l)?o.getAllValues(l)[0]:void 0,o.getMapValue=l=>{let f=o.getFirstValue(l);return f&&typeof f=="object"&&!Array.isArray(f)?f:void 0},o.asHash=()=>s,o},Ct=Du;var Lu=(t,r)=>{let e=Ct(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 fk(t){function r(e,n){if(e==null)return e;if(e instanceof Array)return Fd(e.map(l=>r(l,n))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},n);let s=t.slice();s.reverse();let o=s.findIndex(l=>l.isFor(e));if(o!==-1){let l=s.slice(o+1),f=l.findIndex(g=>g.isFor(e)),c=(g=e,h=n,$=r)=>{if(f!==-1)return l[f].fn(g,h,$,()=>{})};return typeof s[o].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[o].fn(e,n,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,n)}}return r.rules=t,r}var ma=fk;var Ve=(t,r)=>(e,n)=>(s,o,l)=>{e.writeRaw(t),s.content&&l(s.content,o),e.writeRaw(r)},St=()=>()=>()=>{},ck="\u2588",Jr=t=>t.replace(/\S/g,ck),hs=t=>{if(typeof t=="string")return t;if(!Array.isArray(t)){if(t&&typeof t=="object"){let r=t;return r.type==="text"||r.type==="verbatim"?r.value||"":hs(r.content)}return""}return t.map(hs).join("")},$r=(t,r)=>(e,n,s)=>{if(e.content)return s(e.content,n)},Ir=t=>(r,e)=>(n,s,o)=>t(n,s)(r,e)(n,s,o);var ha=(t,r)=>{let e=Iu(t).reverse();return(n,s)=>{let o=e.map(c=>An(c.rule,c.fn(n,s))).reverse(),l=r(n,s),f;return(c,g,h)=>(f||(f=ma([...h.rules,...o])),l(c,g,f))}},Or=(t,r)=>(e,n)=>{let s=t(e,n);return(o,l,f)=>{let c=Ct(o,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(o,l,f),c!==void 0&&e.removeLevel(c)}};function io(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function Id(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(Id(e)):r.concat(e),[])}var da=t=>{let r=[];function e(s,o){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(An(_i(s),o))}function n(s,o={}){if(s==null)return s;if(s instanceof Array)return Id(s.map(c=>n(c,o)));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,o,n);{let c={...s};return c.hasOwnProperty("content")&&(c.content=n(c.content,o)),c}}return e(t),n.rules=r,n},lr=da;var Od=Sr(require("events")),ju=class extends Od.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)}},so=ju;var gs=(t={},r=[])=>{let e=r,n=t.processor||Rd,s=t.writer;return o.use=l,o.run=f,o.getPlugins=()=>e,o;function o(c){}function l(c,g){if(c instanceof Array)return gs(t,[...e,...g]);if(c instanceof Object){for(var h in c)c.hasOwnProperty(h)&&l(h,c[h]);return o}return e.push(An(_i(c),g)),o}function f(c,g){let h="",$=g||s||new so(X=>{h=h+X}),k=typeof $=="function"?new $(X=>{h=h+X}):$,x=typeof c=="string"?n(c):c,A=e.slice();A.reverse();let I=ma(A.map(X=>An(X.rule,X.fn(k,n,x))).reverse()),q={...t.context||{}};k.startWrite(x);let B=I(x,q);return k.endWrite(),{errors:k.errors,toString:()=>h,valueOf:()=>h,indexingTerms:k.INDEXTERMS,annotations:k.FOOTNOTES,defenitions:k.DEFINITIONS,interator:B}}};var Nd=Sr(Bu());function Mu(t){if(!t||!t.trim())return[];try{return Nd.parse(t,{startRule:"attributesOnly"})}catch{return[]}}var Dd=()=>t=>lr({"*":(e,n,s)=>(e.content&&(e.content=s(e.content,n,s)),delete e.location,e)})(t,{}),ga=Dd;var TC={":text":(t,r)=>(e,n,s)=>{e.value?t.write(n!=null&&n.maskMode?Jr(e.value):e.value):s(e.content,n)},"A<>":(t,r)=>(e,n,s)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.writeRaw(`A<${e.content}>`);else{let o=n.alias[e.content].join(`
15
+ `),l=r(o),f=ga()(l);f[0].type==="para"?s(f[0].content,n):s(f,n)}},"C<>":Ve("`","`"),"D<>":(t,r)=>(e,n,s)=>{t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:[e.content[0]]}),t.writeRaw("**"),s(e.content,n),t.writeRaw("**")},"B<>":Ve("**","**"),"I<>":Ve("*","*"),"R<>":Ve("*","*"),"K<>":Ve("`","`"),"O<>":Ve("~~","~~"),"G<>":(t,r)=>(e,n,s)=>{if(n.renderMode==="draft"){s(e.content,n);return}t.write(Jr(hs(e.content)))},"H<>":Ve("<sup>","</sup>"),"J<>":Ve("<sub>","</sub>"),"L<>":Ir((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Ve("[",`](${e})`)}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw(`
16
16
 
17
17
  ---
18
18
 
19
19
  `),e.map(n=>{t.writeRaw(`[^${n.gid}]: `),n.make(),t.writeRaw(`
20
20
  `)}))}),(e,n,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let o=t.gid++;t.writeRaw(`[^${o}]`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:o,fnRefId:`fnref:${o}`,fnId:`fn:${o}`,make:()=>{s(e.content,n)}})}),"S<>":(t,r)=>(e,n,s)=>{let o=e.content||"";t.writeRaw(o.replace(/ /g,"&nbsp;").replace(/\n/g,`
21
- `))},"T<>":Ve("`","`"),"U<>":Ve("",""),"V<>":kr,"X<>":(t,r)=>(e,n,s)=>{s(e.content,n);let{entry:o}=e;if(o===null&&e.content.length>0)o=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:o})},"Z<>":St,pod:kr,":code":(t,r)=>(e,n,s)=>{let o=jt(e,n),l=o.exists("lang")?o.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],n)}),t.writeRaw("```\n")},code:Dr((t,r)=>(e,n,s)=>{let o=jt(e,n),l=o.exists("lang")?o.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],n)}),t.writeRaw("```\n")}),data:St,":verbatim":(t,r)=>(e,n,s)=>{e.error&&t.emit("errors",e.location),t.writeRaw(e.value)},":blankline":St,":ambient":St,":config":qr((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,St)),":alias":qr((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,St)),para:Dr(kr),":para":(t,r)=>(e,n,s)=>{e.content&&s(e.content,n),t.writeRaw(`
24
- `)},"head:block":la({":para":kr},qr((t,r)=>{let{level:e}=t,n="#".repeat(e)+" ";return(s,o)=>(l,f,c)=>{s.writeRaw(n),l.content&&c(l.content,f),s.writeRaw(`
25
- `)}})),":list":qr((t,r)=>(e,n)=>(s,o,l)=>{let f={...o,listType:s.list,listCounter:{value:1},listDepth:(o.listDepth||0)+1};s.content&&l(s.content,f)}),"item:block":(t,r)=>(e,n,s)=>{let o=" ".repeat(Math.max(0,(n.listDepth||1)-1)),l=n.listType||"unordered",f;if(l==="ordered"){let c=n.listCounter||{value:1};f=`${c.value}. `,c.value++}else f="- ";t.writeRaw(o+f),e.content&&s(e.content,n)},"comment:block":St,defn:(t,r)=>(e,n,s)=>{e.content&&s(e.content,n),t.writeRaw(`
26
- `)},"term:para":(t,r)=>(e,n,s)=>{t.writeRaw("**"),e.content&&s(e.content,n),t.writeRaw(":** ")},nested:Dr(kr,1),output:Dr((t,r)=>(e,n,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,n),t.writeRaw("```\n")},1),input:Dr((t,r)=>(e,n,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,n),t.writeRaw("```\n")},1),"table:block":Dr((t,r)=>(e,n,s)=>{let o=jt(e,n);o.exists("caption")&&(t.writeRaw("**"),t.write(o.getFirstValue("caption")),t.writeRaw(`**
21
+ `))},"T<>":Ve("`","`"),"U<>":Ve("",""),"V<>":$r,"X<>":(t,r)=>(e,n,s)=>{s(e.content,n);let{entry:o}=e;if(o===null&&e.content.length>0)o=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:o})},"Z<>":St,pod:$r,":code":(t,r)=>(e,n,s)=>{let o=Ct(e,n),l=o.exists("lang")?o.getFirstValue("lang"):"";t.writeRaw("```"+l+`
22
+ `);let f=n==null?void 0:n.maskMode;e.content&&e.content.forEach(c=>{typeof c=="string"?t.writeRaw(f?Jr(c):c):c.type==="verbatim"?t.writeRaw(f?Jr(c.value):c.value):s([c],n)}),t.writeRaw("```\n")},code:Or((t,r)=>(e,n,s)=>{let o=Ct(e,n),l=o.exists("lang")?o.getFirstValue("lang"):"";t.writeRaw("```"+l+`
23
+ `);let f=n==null?void 0:n.maskMode;e.content&&e.content.forEach(c=>{typeof c=="string"?t.writeRaw(f?Jr(c):c):c.type==="verbatim"?t.writeRaw(f?Jr(c.value):c.value):s([c],n)}),t.writeRaw("```\n")}),data:St,":verbatim":(t,r)=>(e,n,s)=>{e.error&&t.emit("errors",e.location),t.writeRaw(n!=null&&n.maskMode?Jr(e.value):e.value)},":blankline":St,":ambient":St,":config":Ir((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,St)),":alias":Ir((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,St)),para:Or($r),":para":(t,r)=>(e,n,s)=>{e.content&&s(e.content,n),t.writeRaw(`
24
+ `)},"head:block":ha({":para":$r},Ir((t,r)=>{let{level:e}=t,n="#".repeat(e)+" ";return(s,o)=>(l,f,c)=>{s.writeRaw(n),l.content&&c(l.content,f),s.writeRaw(`
25
+ `)}})),":list":Ir((t,r)=>(e,n)=>(s,o,l)=>{let f={...o,listType:s.list,listCounter:{value:1},listDepth:(o.listDepth||0)+1};s.content&&l(s.content,f)}),"item:block":(t,r)=>(e,n,s)=>{let o=" ".repeat(Math.max(0,(n.listDepth||1)-1)),l=n.listType||"unordered",f;if(l==="ordered"){let c=n.listCounter||{value:1};f=`${c.value}. `,c.value++}else f="- ";t.writeRaw(o+f),e.content&&s(e.content,n)},"comment:block":St,"boundary:block":(t,r)=>(e,n)=>{t.writeRaw(`
26
+ ---
27
+ `)},defn:(t,r)=>(e,n,s)=>{e.content&&s(e.content,n),t.writeRaw(`
28
+ `)},"term:para":(t,r)=>(e,n,s)=>{t.writeRaw("**"),e.content&&s(e.content,n),t.writeRaw(":** ")},nested:Or($r,1),output:Or((t,r)=>(e,n,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,n),t.writeRaw("```\n")},1),input:Or((t,r)=>(e,n,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,n),t.writeRaw("```\n")},1),"table:block":Or((t,r)=>(e,n,s)=>{let o=Ct(e,n);o.exists("caption")&&(t.writeRaw("**"),t.write(o.getFirstValue("caption")),t.writeRaw(`**
27
29
 
28
- `));let l=(e.content||[]).filter(b=>b.name==="row");if(l.length===0)return;let f=b=>Array.isArray(b.config)&&b.config.some(C=>C.name==="header"&&C.value!==!1),c=(b,C)=>{if(!Array.isArray(b.config))return 0;let A=b.config.find(O=>O.name===C);if(!A)return 0;let E=Number(A.value);return Number.isFinite(E)&&E>1?E:0},h=l.some(b=>(b.content||[]).some(C=>C.name==="cell"&&(c(C,"colspan")||c(C,"rowspan")))),m=f(l[0]);if(h){t.writeRaw(`<table>
29
- `),l.forEach(b=>{let C=f(b)?"th":"td";t.writeRaw("<tr>"),(b.content||[]).filter(E=>E.name==="cell").forEach(E=>{let O=c(E,"colspan"),D=c(E,"rowspan"),M="";O&&(M+=` colspan="${O}"`),D&&(M+=` rowspan="${D}"`),t.writeRaw(`<${C}${M}>`),E.content&&E.content.forEach(X=>{typeof X=="string"?t.write(X.trim()):s([X],n)}),t.writeRaw(`</${C}>`)}),t.writeRaw(`</tr>
30
+ `));let l=(e.content||[]).filter($=>$.name==="row");if(l.length===0)return;let f=$=>Array.isArray($.config)&&$.config.some(k=>k.name==="header"&&k.value!==!1),c=($,k)=>{if(!Array.isArray($.config))return 0;let x=$.config.find(I=>I.name===k);if(!x)return 0;let A=Number(x.value);return Number.isFinite(A)&&A>1?A:0},g=l.some($=>($.content||[]).some(k=>k.name==="cell"&&(c(k,"colspan")||c(k,"rowspan")))),h=f(l[0]);if(g){t.writeRaw(`<table>
31
+ `),l.forEach($=>{let k=f($)?"th":"td";t.writeRaw("<tr>"),($.content||[]).filter(A=>A.name==="cell").forEach(A=>{let I=c(A,"colspan"),q=c(A,"rowspan"),B="";I&&(B+=` colspan="${I}"`),q&&(B+=` rowspan="${q}"`),t.writeRaw(`<${k}${B}>`),A.content&&A.content.forEach(X=>{typeof X=="string"?t.write(X.trim()):s([X],n)}),t.writeRaw(`</${k}>`)}),t.writeRaw(`</tr>
30
32
  `)}),t.writeRaw(`</table>
31
- `);return}l.forEach((b,C)=>{let A=(b.content||[]).filter(E=>E.name==="cell");t.writeRaw("|"),A.forEach(E=>{t.writeRaw(" "),E.content&&E.content.forEach(O=>{typeof O=="string"?t.write(O.trim()):s([O],n)}),t.writeRaw(" |")}),t.writeRaw(`
32
- `),C===0&&m&&(t.writeRaw("|"),A.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
33
- `)),C===0&&!m&&(t.writeRaw("|"),A.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
33
+ `);return}l.forEach(($,k)=>{let x=($.content||[]).filter(A=>A.name==="cell");t.writeRaw("|"),x.forEach(A=>{t.writeRaw(" "),A.content&&A.content.forEach(I=>{typeof I=="string"?t.write(I.trim()):s([I],n)}),t.writeRaw(" |")}),t.writeRaw(`
34
+ `),k===0&&h&&(t.writeRaw("|"),x.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
35
+ `)),k===0&&!h&&(t.writeRaw("|"),x.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
34
36
  `))}),t.writeRaw(`
35
- `)}),":separator":St,row:St,cell:St,":toc":St,":toc-list":St,":toc-item":St,":image":(t,r)=>(e,n,s)=>{t.writeRaw(`![${e.alt||""}](${e.src})`)}};var ek=Fr(Ed());var Kd=Fr(Fu());var ak=()=>t=>{let r=(n,s={})=>{if((n.type=="code"||n.type=="text")&&(n.margin&&s.margin&&s.margin.length>0&&s.margin.length==n.margin.length&&(n.type="para"),n.type==="code")){var o=new RegExp(`^[ ]{0,${n.margin.length}}`,"gm");n.text=n.text.replace(o,"")}if(n.type==="block"){s.margin=typeof n.margin!="string"?"":n.margin;let l={...s};l.nest=(l.nest||0)+1,n.content.map(f=>{r(f,s)})}};var e={};return t.forEach(n=>r(n,e)),t},Sd=ak;var io=Fr(Td());var fk=()=>t=>{let r=Nr({":para":(e,n,s)=>Nr({":text":(o,l)=>io.parse(o.value),":verbatim":(o,l)=>io.parse(o.value)})(e,{...n}),":block":(e,n,s)=>{if("name"in e&&e.name==="pod")return{...e,content:s(e.content,n,s)};let o=jt(e,n),l="name"in e?e.name:"",f=["code","data","markdown","picture","formula"].includes(l),c=o.getAllValues("allow");if(ro(l)||f&&c.length===0)return e;let h=c.sort(),m=Nr({":verbatim":(b,C)=>io.parse(b.value,{allowed:h}),":text":(b,C)=>io.parse(b.value,{allowed:h}),":block":(b,C)=>r(b,{...C})});return{...e,content:m(e.content,{...n})}}});return r(t,{})},Fd=fk;var Id=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(n)});else if(e&&e.type==="block"){let n=/^item(\d+)?/.exec(e.name);if(n){e.name="item",e.level=n[1]||1;let s=(e.config||[]).find(o=>o.name==="checked");if(s&&(e.checked=s.value!==!1&&s.value!==0&&s.value!=="0"),e.content[0]){let o=e.content[0];if(o.text){if(!s){let c=/^\[( |x)\]\s*/,h=c.exec(o.text);h&&(e.checked=h[1]==="x",o.text=o.text.replace(c,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let l=/^(\s*#\s*)/;l.exec(o.text)&&(o.text=o.text.replace(l,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}r(e.content)}};return r(t),t};var Od=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(n)});else if(e&&e.type==="block"){let n=/^head(\d+)?/.exec(e.name);if(n&&(e.name="head",e.level=n[1]||1,e.content[0])){let s=e.content[0];if(s.text){let o=/(\s*#\s*)/;o.exec(s.text)&&(s.text=s.text.replace(o,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Rd=()=>t=>{let r=(o,l)=>(o.name==="item"||o.name==="defn")&&l.name===o.name&&o.level===l.level&&e(o)===e(l),e=o=>Boolean(o.config&&o.config.numbered),n=o=>{let l={};return o.reduce((c,h)=>(h.name==="defn"?r(l,h)?c[c.length-1].push(h):c.push([h]):c.push(h),l=h,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=n(c.content)),c))};return t=(o=>Array.isArray(o)?n(o):(o.type==="block"&&o.name!=="table"&&(o.content=n(o.content)),o))(t),t};var qd=()=>t=>{let r=(l,f)=>(l.name==="item"||l.name==="defn")&&f.name===l.name&&l.level===f.level&&e(l)===e(f)&&n(l)===n(f),e=l=>Boolean(jt(l,{}).exists("numbered")),n=l=>l.checked!==void 0,s=(l,f=1)=>{let c=A=>A.length>0&&A[A.length-1].type==="list",h=A=>{if(c(A))return A[A.length-1]},m=(A,E)=>E.name&&E.name==="item"&&E.type&&E.type==="block"||E.type==="blankline",b={};return l.reduce((A,E)=>E.name==="item"&&E.type==="block"&&E.level<f?[...A,E]:(E.name==="item"&&E.type==="block"&&(!c(A)||Number(E.level)===f&&h(A).list!==(e(E)?"ordered":n(E)?"task":"itemized"))&&A.push({type:"list",level:E.level,content:[],list:e(E)?"ordered":n(E)?"task":"itemized"}),c(A)&&m(h(A),E)?h(A).content.push(E):A.push(E),A),[]).map(A=>(A.content&&A.type!=="fcode"&&(A.content=s(A.content,Number(A.level||0)+1)),A))};return t=(l=>(Array.isArray(l)?l=s(l):l.type==="block"&&l.name!=="table"&&(l.content=s(l.content)),l))(t),t};var Dd=()=>t=>Nr({defn:e=>{let n=e.content,s=n.length,o=[],l=!1;for(let f=0;f<s;f++){let c=n[f];if(c.type==="para"&&!l){let h=c.content[0],b=h.value.split(`
36
- `),C=b.shift(),A={type:"para",name:"term",text:C,content:[{type:"text",value:C}]};o.push(A),b.length==1&&b[0]===""||(h.value=b.join(`
37
- `),c.text=h.value,o.push(c)),l=!0}else o.push(c)}return e.content=o,e}})(t,{});function so(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(so(e)):r.concat(e),[])}function ck(t){let r=[],e="",n=[],s=!1,o=0;for(;o<t.length;){let l=t[o];if(s){if(l==='"'&&t[o+1]==='"'){e+='"',o+=2;continue}if(l==='"'){s=!1,o++;continue}e+=l,o++;continue}if(l==='"'&&e===""){s=!0,o++;continue}if(l===","){n.push(e),e="",o++;continue}if(l==="\r"){o++;continue}if(l===`
38
- `){n.push(e),r.push(n),n=[],e="",o++;continue}e+=l,o++}return(e!==""||n.length>0)&&(n.push(e),r.push(n)),r.filter(l=>!(l.length===1&&l[0].trim()===""))}function pk(t){return t.split(/\r?\n/).map(n=>n.split(" ")).filter(n=>!(n.length===1&&n[0].trim()===""))}function dk(t){if(!t||typeof t!="string")return{type:"",params:{}};let r=t.split(";").map(s=>s.trim()),e=(r.shift()||"").toLowerCase(),n={};for(let s of r){if(!s)continue;let o=s.indexOf("=");if(o<0)continue;let l=s.slice(0,o).trim().toLowerCase(),f=s.slice(o+1).trim();(f.startsWith('"')&&f.endsWith('"')||f.startsWith("'")&&f.endsWith("'"))&&(f=f.slice(1,-1)),l&&(n[l]=f)}return{type:e,params:n}}function mk(t,r){let e=null,n=s=>{if(!e){if(Array.isArray(s)){s.forEach(n);return}if(!(!s||typeof s!="object")){if(s.type==="block"&&s.name==="data"&&jt(s,{}).getFirstValue("key")===r){e=s;return}Array.isArray(s.content)&&s.content.forEach(n)}}};return n(t),e}function hk(t){if(!t||!Array.isArray(t.content))return"";let r=t.content.find(e=>e&&e.type==="verbatim");return r&&typeof r.value=="string"?r.value:""}function gk(t){let r=[];Nr({"row:text":l=>(r.push(l.value),l),"head:text":l=>(r.push(l.value),l)})(t,{});let s=r.join(`
39
- `).trim().split(/\r?\n/).map(l=>l.trim()).filter(l=>l.length>0);if(s.length!==1)return null;let o=s[0].match(/^(data|file):(\S+)$/);return o?{scheme:o[1],target:o[2]}:null}function Ld(t){return{name:"cell",type:"block",margin:"",content:[{type:"text",value:t}]}}function yk(t,r){let e={name:"row",type:"block",margin:"",content:t};return r&&(e.config=[{name:"header",value:!0,type:"boolean"}]),e}function $k(t,r=!1){return t.map((e,n)=>{let s=e.map(o=>Ld(o.trim()));return yk(s,r&&n===0)})}function qu(t,r="table"){if(!t||!Array.isArray(t.content))return t;let e=t.content.filter(b=>b&&b.type==="block"&&b.name==="row");if(e.length===0)return t;let n=b=>Array.isArray(b.content)?b.content.filter(C=>C&&C.name==="cell"):[],s=b=>Array.isArray(b.config)&&b.config.some(C=>C.name==="header"&&C.value===!0),o=b=>Array.isArray(b.config)&&b.config.some(C=>C.name==="colspan"||C.name==="rowspan"),l=b=>n(b).some(o);if(e.some(l))return t;let f=e.find(s),c=f?n(f).length:Math.max(...e.map(b=>n(b).length));if(c===0)return t;let h=!1,m=t.content.map(b=>{if(!b||b.type!=="block"||b.name!=="row")return b;let C=n(b);if(C.length===c)return b;if(C.length<c){let D=[];for(let M=C.length;M<c;M++)D.push(Ld(""));return console.warn(`[${r}] row has ${C.length} cells, expected ${c} \u2014 padded with ${D.length} empty`),h=!0,{...b,content:[...b.content,...D]}}let A=C.length-c;console.warn(`[${r}] row has ${C.length} cells, expected ${c} \u2014 truncated ${A}`),h=!0;let E=c,O=[];for(let D of b.content||[])D&&D.type==="block"&&D.name==="cell"?E>0&&(O.push(D),E--):O.push(D);return{...b,content:O}});return h?{...t,content:m}:t}function bk(t){let r=new Set;for(let e of t)if(!(!e||typeof e!="string")&&(/\s\|\s/.test(e)?r.add("pipe"):/\s\+\s/.test(e)?r.add("plus"):e.trim().length>0&&r.add("whitespace"),r.size>1))break;r.size>1&&console.warn(`[table] mixed separator types detected: ${Array.from(r).join(", ")} \u2014 recommend a single style`)}function wk(t,r){return{type:"block",name:"code",margin:t.margin||"",content:Array.isArray(r.content)?r.content:[],config:Array.isArray(t.config)?t.config:[]}}var Du=(t,r,e)=>{let n=[];for(let s=0;t.length>s;s++)n.push(e(parseInt(t[s],10),parseInt(r[s],10)));return n.join("")},kk=(t,r)=>{let e=Math.max(...[...t,...r].map(o=>o.length));return t.map(o=>{let l=o+" ".repeat(e-o.length),f=[],c=/\s+[+|\s]\s/g,h;for(;(h=c.exec(l))!=null;){let m="1".repeat(h.index)+"0".repeat(h[0].length);f.push(m+"1".repeat(e-m.length))}return f.reduce((m,b)=>Du(m,b,(C,A)=>C&A),"1".repeat(e))}).map(o=>Du(o,"",l=>l==0?1:0)).reduce((o,l)=>Du(o,l,(f,c)=>f&c),"1".repeat(e))},Nd=(t,r)=>{let n=so(t.split(/\n/).filter(o=>o.length>0)).map(o=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;)c[0][0]!="1"&&f.push(o.substring(c.index,c.index+c[0].length));return f}),s=[];return n.reduce((o,l)=>{for(let f=0;f<l.length;f++)o[f]=(o[f]===void 0?"":o[f])+" "+l[f];return o},s),s},Nu=t=>/(?:^|\s)\|(?:\s|$)/.test(t)?"pipe":/(?:^|\s)\+(?:\s|$)/.test(t)?"plus":"whitespace",jd=t=>{let r=0,e=t.length;return t[r]===""&&r++,e>r&&t[e-1]===""&&e--,t.slice(r,e)},Bd=t=>jd(t.split(/\s*\|\s*/).map(r=>r.trim())),Md=t=>jd(t.split(/\s*\+\s*/).map(r=>r.trim())),zd=t=>t.trim().split(/\s{2,}/).filter(r=>r!==""),Vd=t=>{if(t.trim()==="")return[];let e=Nu(t);return e==="pipe"?Bd(t):e==="plus"?Md(t):zd(t)},vk=t=>{let r=t.split(/\r?\n/).filter(f=>f.trim()!=="");if(r.length===0)return[];if(r.length===1)return Vd(r[0]);let e=Nu(r[0]),n=e==="pipe"?Bd:e==="plus"?Md:zd,s=r.map(n),o=Math.max(...s.map(f=>f.length)),l=[];for(let f=0;f<o;f++){let c=s.map(h=>h[f]??"").filter(h=>h!=="");l.push(c.join(" "))}return l},xk=t=>{if(!Array.isArray(t.content)||t.content.length===0||!t.content.some(n=>n&&n.type==="block"&&n.name!=="cell"&&n.name!=="blankline"))return t;let e=t.content.map(n=>!n||n.type!=="block"||n.name==="cell"||n.name==="blankline"?n:{type:"block",name:"cell",content:[n],margin:n.margin||""});return{...t,content:e}},Ck=t=>Array.isArray(t.content)&&t.content.some(r=>r&&r.type==="block"&&(r.name==="row"||r.name==="cell")),Ud=()=>t=>Nr({table:e=>{let n=gk(e);if(n&&n.scheme==="data"){let ee=mk(t,n.target);if(!ee)return console.warn(`[table] no =data block found for data:${n.target} \u2014 rendered as empty`),{...e,content:[]};let me=jt(ee,{}).getFirstValue("mime-type"),{type:xe,params:ve}=dk(me),Le=xe==="text/csv";if(Le||xe==="text/tab-separated-values"){let Te=hk(ee),he=Le?ck(Te):pk(Te);if(he.length===0)return console.warn(`[table] ${Le?"CSV":"TSV"} parse produced no rows for data:${n.target} \u2014 rendered as empty`),{...e,content:[]};let Se=ve.header==="present",Je={...e,content:$k(he,Se)};return qu(Je,`table data:${n.target}`)}return console.warn(`[table] =data :key<${n.target}> has non-tabular mime-type ${me||"(none)"} \u2014 rendered as =code`),wk(e,ee)}if(Ck(e)){let ee=(e.content||[]).map(me=>me&&me.name==="row"?xk(me):me);return qu({...e,content:ee},"table")}let s=[],o=ee=>{s.push(ee.value)},l=[];if(Nr({"row:text":o,"head:text":o,":separator":ee=>{l.push(ee.text)}})(e),!s.length)return e;let f=ee=>ee.split(/\n/).filter(me=>me.length>0),c=so(s.map(f)),h=so(l.map(f));bk(c);let m=[];Nr({"row:text":ee=>{m.push(ee.value)}})(e);let b=(ee,me,xe={})=>({...xe,name:ee,type:"block",content:Array.isArray(me)?me:[me]}),C=ee=>b("row",ee),A=ee=>b("row",ee,{config:[{name:"header",value:!0,type:"boolean"}]}),E=ee=>b("cell",{type:"text",value:ee}),O=kk(c,h),D=new Set(c.map(Nu)),M=D.has("pipe")||D.has("plus"),X=D.has("whitespace"),le=M&&X,we=ee=>le&&ee.split(/\r?\n/).filter(xe=>xe.trim()!=="").length<=1?vk(ee):Nd(ee,O),ge=Nr({"row:text":ee=>{if(m.length==1){let me=so([ee.value].map(f));return le?me.map(xe=>C(Vd(xe).map(E))):me.map(xe=>C(Nd(xe,O).map(E)))}return C(we(ee.value).map(E))},"head:text":ee=>A(we(ee.value).map(E))})(e);return qu(ge,"table")}})(t,{});var aA={":text":(t,r)=>(e,n,s)=>{e.value?t.write(e.value):s(e.content,n)},"A<>":(t,r)=>(e,n,s)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let o=n.alias[e.content].join(`
40
- `),l=r(o),f=ua()(l);f[0].type==="para"?s(f[0].content,n):s(f,n)}},"C<>":Ve("<code>","</code>"),"D<>":(t,r)=>(e,n,s)=>{let o={node:e},l=[e.content[0]];o&&(l=o),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),s(e.content,n),t.writeRaw("</dfn>")},"B<>":Ve("<strong>","</strong>"),"I<>":Ve("<em>","</em>"),"R<>":Ve("<var>","</var>"),"K<>":Ve("<kbd>","</kbd>"),"O<>":Ve("<del>","</del>"),"H<>":Ve("<sup>","</sup>"),"J<>":Ve("<sub>","</sub>"),"L<>":qr((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Ve(`<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(n=>{t.writeRaw(`<p><sup id="${n.fnId}" class="footnote"><a href="#${n.fnRefId}">[${n.gid}]</a></sup> `),n.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,n,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let o=t.gid++,l=`fnref:${o}`,f=`fn:${o}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${o}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:o,fnRefId:l,fnId:f,make:()=>{s(e.content,n)}})}),"S<>":(t,r)=>(e,n,s)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":Ve("<samp>","</samp>"),"U<>":Ve("<u>","</u>"),"V<>":kr,"X<>":(t,r)=>(e,n,s)=>{s(e.content,n);let{entry:o}=e;if(o===null&&e.content.length>0)o=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:o})},"Z<>":St,pod:kr,":code":Ve("<pre><code>","</code></pre>"),code:Dr(Ve("<pre><code>","</code></pre>")),data:St,":verbatim":(t,r)=>(e,n,s)=>{e.error&&t.emit("errors",e.location),s(e.value)},":blankline":St,":ambient":St,":config":qr((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,St)),":alias":qr((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,St)),para:Dr(kr),":para":Ve("<p>","</p>"),"head:block":la({":para":kr},qr((t,r)=>{let{level:e}=t,n=Pu(t,r);return Ve(`<h${e}${n?` id="${n}"`:""}>`,`</h${e}>`)})),":list":qr((t,r)=>t.list==="ordered"?Ve("<ol>","</ol>"):t.list==="variable"?Ve("<dl>","</dl>"):t.list==="task"?Ve('<ul class="task-list">',"</ul>"):Ve("<ul>","</ul>")),"item:block":(t,r)=>(e,n,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,n),t.writeRaw("</li>")},"comment:block":St,defn:Ve("","</dd>"),"term:para":Ve("<dt>","</dt><dd>"),nested:Dr(kr,1),output:Dr(Ve("<pre><samp>","</samp></pre>"),1),input:Dr(Ve("<pre><kbd>","</kbd></pre>"),1),"table:block":Dr((t,r)=>(e,n,s)=>{let o=jt(e,n);t.writeRaw("<table>"),o.exists("caption")&&(t.writeRaw("<caption>"),t.write(o.getFirstValue("caption")),t.writeRaw("</caption>"));let l={...n,...e.align&&{"table.align":e.align}},f=e.content||[],c=O=>O&&O.name==="row"&&Array.isArray(O.config)&&O.config.some(D=>D.name==="header"&&D.value!==!1);if(!f.some(c)){s(f,l),t.writeRaw("</table>");return}let m=f.filter(O=>O&&O.name==="row"),b=f.filter(O=>!O||O.name!=="row"),C=0;for(;C<m.length&&c(m[C]);)C++;let A=m.slice(0,C),E=m.slice(C);s(b,l),t.writeRaw("<thead>"),s(A,l),t.writeRaw("</thead>"),E.length>0&&(t.writeRaw("<tbody>"),s(E,l),t.writeRaw("</tbody>")),t.writeRaw("</table>")}),":separator":St,row:(t,r)=>(e,n,s)=>{let o=jt(e,n),l=o.exists("header")&&o.getFirstValue("header")!==!1;t.writeRaw("<tr>"),s(e.content,{...n,__row_header:l,cellinRow:0}),t.writeRaw("</tr>")},cell:(t,r)=>(e,n,s)=>{let o=n.__row_header?"th":"td",l=jt(e,n),f=l.exists("colspan")?l.getFirstValue("colspan"):null,c=l.exists("rowspan")?l.getFirstValue("rowspan"):null,h=(b=>{if(!Array.isArray(b))return null;let C=n.cellinRow++;return b[C]||null})(n["table.align"]),m="";f!==null&&Number(f)>1&&(m+=` colspan="${f}"`),c!==null&&Number(c)>1&&(m+=` rowspan="${c}"`),h&&["left","right","center","justify"].includes(h)&&(m+=` style="text-align:${h}"`),t.writeRaw(`<${o}${m}>`),s(e.content,n),t.writeRaw(`</${o}>`)},":toc":(t,r)=>(e,n,s)=>{t.writeRaw('<div className="toc">');let o=jt(e,n);if(o.exists("title")){let l=o.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}s(e.content,n),t.writeRaw("</div>")},":toc-list":qr((t,r)=>Ve(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":qr((t,r)=>Ve('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,n,s)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var FA=new Gd.default({strict:!0,allowUnionTypes:!0});function _d(){var t=[];return r.use=e,r.parse=n,r.use(Sd),r.use(Id),r.use(Od),r.use(Dd),r.use(Ud),r.use(Fd),r.use(qd),r.use(Rd),r;function r(){}function e(s){if(!["function"].includes(typeof s))throw s;return t.push(s),r}function n(s,o={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=o,c=Kd.parse(s,{podMode:f});if(!l)for(let h=0;h<t.length;h++){let m=t[h];c=m(o)(c)}return c}}var vd=_d().parse;var{version:IA}=Hd();function Lu(t){if(t)throw t}var hm=Fr(Jd(),1),Wu=Fr(im(),1);function oo(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 sm(){let t=[],r={run:e,use:n};return r;function e(...s){let o=-1,l=s.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...s);function f(c,...h){let m=t[++o],b=-1;if(c){l(c);return}for(;++b<s.length;)(h[b]===null||h[b]===void 0)&&(h[b]=s[b]);s=h,m?Sk(m,f)(...h):l(null,...h)}}function n(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),r}}function Sk(t,r){let e;return n;function n(...l){let f=t.length>l.length,c;f&&l.push(s);try{c=t.apply(this,l)}catch(h){let m=h;if(f&&e)throw m;return s(m)}f||(c instanceof Promise?c.then(o,s):c instanceof Error?s(c):o(c))}function s(l,...f){e||(e=!0,r(l,...f))}function o(l){s(null,l)}}var cm=Fr(am(),1);function Ti(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?lm(t.position):"start"in t||"end"in t?lm(t):"line"in t||"column"in t?ju(t):""}function ju(t){return um(t&&t.line)+":"+um(t&&t.column)}function lm(t){return ju(t&&t.start)+"-"+ju(t&&t.end)}function um(t){return t&&typeof t=="number"?t:1}var vr=class extends Error{constructor(r,e,n){let s=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(n=e,e=void 0),typeof n=="string"){let l=n.indexOf(":");l===-1?s[1]=n:(s[0]=n.slice(0,l),s[1]=n.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(o=e.position):"start"in e||"end"in e?o=e:("line"in e||"column"in e)&&(o.start=e)),this.name=Ti(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=o.start.line,this.column=o.start.column,this.source=s[0],this.ruleId=s[1],this.position=o,this.actual,this.expected,this.file,this.url,this.note}};vr.prototype.file="";vr.prototype.name="";vr.prototype.reason="";vr.prototype.message="";vr.prototype.stack="";vr.prototype.fatal=null;vr.prototype.column=null;vr.prototype.line=null;vr.prototype.source=null;vr.prototype.ruleId=null;vr.prototype.position=null;var Qr=Fr(require("path"),1);var Bu=Fr(require("process"),1);var Mu=require("url");function ca(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var zu=["history","path","basename","stem","extname","dirname"],ao=class{constructor(r){let e;r?typeof r=="string"||(0,cm.default)(r)?e={value:r}:ca(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=Bu.default.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<zu.length;){let o=zu[n];o in e&&e[o]!==void 0&&(this[o]=o==="history"?[...e[o]]:e[o])}let s;for(s in e)zu.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(r){ca(r)&&(r=(0,Mu.fileURLToPath)(r)),Uu(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?Qr.default.dirname(this.path):void 0}set dirname(r){fm(this.basename,"dirname"),this.path=Qr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Qr.default.basename(this.path):void 0}set basename(r){Uu(r,"basename"),Vu(r,"basename"),this.path=Qr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Qr.default.extname(this.path):void 0}set extname(r){if(Vu(r,"extname"),fm(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=Qr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Qr.default.basename(this.path,this.extname):void 0}set stem(r){Uu(r,"stem"),Vu(r,"stem"),this.path=Qr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,n){let s=new vr(r,e,n);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(r,e,n){let s=this.message(r,e,n);return s.fatal=null,s}fail(r,e,n){let s=this.message(r,e,n);throw s.fatal=!0,s}};function Vu(t,r){if(t&&t.includes(Qr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Qr.default.sep+"`")}function Uu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function fm(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Ju=ym().freeze(),gm={}.hasOwnProperty;function ym(){let t=sm(),r=[],e={},n,s=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=f,o.attachers=r,o.use=c,o.parse=h,o.stringify=m,o.run=b,o.runSync=C,o.process=A,o.processSync=E,o;function o(){let O=ym(),D=-1;for(;++D<r.length;)O.use(...r[D]);return O.data((0,Wu.default)(!0,{},e)),O}function l(O,D){return typeof O=="string"?arguments.length===2?(Ku("data",n),e[O]=D,o):gm.call(e,O)&&e[O]||null:O?(Ku("data",n),e=O,o):e}function f(){if(n)return o;for(;++s<r.length;){let[O,...D]=r[s];if(D[0]===!1)continue;D[0]===!0&&(D[0]=void 0);let M=O.call(o,...D);typeof M=="function"&&t.use(M)}return n=!0,s=Number.POSITIVE_INFINITY,o}function c(O,...D){let M;if(Ku("use",n),O!=null)if(typeof O=="function")ge(O,...D);else if(typeof O=="object")Array.isArray(O)?we(O):le(O);else throw new TypeError("Expected usable value, not `"+O+"`");return M&&(e.settings=Object.assign(e.settings||{},M)),o;function X(ee){if(typeof ee=="function")ge(ee);else if(typeof ee=="object")if(Array.isArray(ee)){let[me,...xe]=ee;ge(me,...xe)}else le(ee);else throw new TypeError("Expected usable value, not `"+ee+"`")}function le(ee){we(ee.plugins),ee.settings&&(M=Object.assign(M||{},ee.settings))}function we(ee){let me=-1;if(ee!=null)if(Array.isArray(ee))for(;++me<ee.length;){let xe=ee[me];X(xe)}else throw new TypeError("Expected a list of plugins, not `"+ee+"`")}function ge(ee,me){let xe=-1,ve;for(;++xe<r.length;)if(r[xe][0]===ee){ve=r[xe];break}ve?(oo(ve[1])&&oo(me)&&(me=(0,Wu.default)(!0,ve[1],me)),ve[1]=me):r.push([...arguments])}}function h(O){o.freeze();let D=lo(O),M=o.Parser;return Hu("parse",M),pm(M,"parse")?new M(String(D),D).parse():M(String(D),D)}function m(O,D){o.freeze();let M=lo(D),X=o.Compiler;return Gu("stringify",X),dm(O),pm(X,"compile")?new X(O,M).compile():X(O,M)}function b(O,D,M){if(dm(O),o.freeze(),!M&&typeof D=="function"&&(M=D,D=void 0),!M)return new Promise(X);X(null,M);function X(le,we){t.run(O,lo(D),ge);function ge(ee,me,xe){me=me||O,ee?we(ee):le?le(me):M(null,me,xe)}}}function C(O,D){let M,X;return o.run(O,D,le),mm("runSync","run",X),M;function le(we,ge){Lu(we),M=ge,X=!0}}function A(O,D){if(o.freeze(),Hu("process",o.Parser),Gu("process",o.Compiler),!D)return new Promise(M);M(null,D);function M(X,le){let we=lo(O);o.run(o.parse(we),we,(ee,me,xe)=>{if(ee||!me||!xe)ge(ee);else{let ve=o.stringify(me,xe);ve==null||(Fk(ve)?xe.value=ve:xe.result=ve),ge(ee,xe)}});function ge(ee,me){ee||!me?le(ee):X?X(me):D(null,me)}}}function E(O){let D;o.freeze(),Hu("processSync",o.Parser),Gu("processSync",o.Compiler);let M=lo(O);return o.process(M,X),mm("processSync","process",D),M;function X(le){D=!0,Lu(le)}}}function pm(t,r){return typeof t=="function"&&t.prototype&&(Pk(t.prototype)||r in t.prototype)}function Pk(t){let r;for(r in t)if(gm.call(t,r))return!0;return!1}function Hu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Gu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function Ku(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 dm(t){if(!oo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function mm(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function lo(t){return Tk(t)?t:new ao(t)}function Tk(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Fk(t){return typeof t=="string"||(0,hm.default)(t)}function bm(t,r){var{includeImageAlt:e=!0}=r||{};return wm(t,e)}function wm(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&$m(t.children,r)||Array.isArray(t)&&$m(t,r))||""}function $m(t,r){for(var e=[],n=-1;++n<t.length;)e[n]=wm(t[n],r);return e.join("")}function Ot(t,r,e,n){let s=t.length,o=0,l;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,e=e>0?e:0,n.length<1e4)l=Array.from(n),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);o<n.length;)l=n.slice(o,o+1e4),l.unshift(r,0),[].splice.apply(t,l),o+=1e4,r+=1e4}function xr(t,r){return t.length>0?(Ot(t,t.length,0,r),t):r}var km={}.hasOwnProperty;function pa(t){let r={},e=-1;for(;++e<t.length;)Ik(r,t[e]);return r}function Ik(t,r){let e;for(e in r){let s=(km.call(t,e)?t[e]:void 0)||(t[e]={}),o=r[e],l;for(l in o){km.call(s,l)||(s[l]=[]);let f=o[l];Ok(s[l],Array.isArray(f)?f:f?[f]:[])}}}function Ok(t,r){let e=-1,n=[];for(;++e<r.length;)(r[e].add==="after"?t:n).push(r[e]);Ot(t,0,0,n)}var vm=/[!-/:-@[-`{-~\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 fr=ii(/[A-Za-z]/),Fi=ii(/\d/),xm=ii(/[\dA-Fa-f]/),Gt=ii(/[\dA-Za-z]/),Cm=ii(/[!-/:-@[-`{-~]/),Zu=ii(/[#-'*+\--9=?A-Z^-~]/);function ni(t){return t!==null&&(t<32||t===127)}function nt(t){return t!==null&&(t<0||t===32)}function ce(t){return t!==null&&t<-2}function He(t){return t===-2||t===-1||t===32}var Ii=ii(/\s/),Oi=ii(vm);function ii(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function Ce(t,r,e,n){let s=n?n-1:Number.POSITIVE_INFINITY,o=0;return l;function l(c){return He(c)?(t.enter(e),f(c)):r(c)}function f(c){return He(c)&&o++<s?(t.consume(c),f):(t.exit(e),r(c))}}var Am={tokenize:Rk};function Rk(t){let r=t.attempt(this.parser.constructs.contentInitial,n,s),e;return r;function n(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Ce(t,r,"linePrefix")}function s(f){return t.enter("paragraph"),o(f)}function o(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 ce(f)?(t.consume(f),t.exit("chunkText"),o):(t.consume(f),l)}}var _m={tokenize:qk},Em={tokenize:Dk};function qk(t){let r=this,e=[],n=0,s,o,l;return f;function f(le){if(n<e.length){let we=e[n];return r.containerState=we[1],t.attempt(we[0].continuation,c,h)(le)}return h(le)}function c(le){if(n++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&X();let we=r.events.length,ge=we,ee;for(;ge--;)if(r.events[ge][0]==="exit"&&r.events[ge][1].type==="chunkFlow"){ee=r.events[ge][1].end;break}M(n);let me=we;for(;me<r.events.length;)r.events[me][1].end=Object.assign({},ee),me++;return Ot(r.events,ge+1,0,r.events.slice(we)),r.events.length=me,h(le)}return f(le)}function h(le){if(n===e.length){if(!s)return C(le);if(s.currentConstruct&&s.currentConstruct.concrete)return E(le);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(Em,m,b)(le)}function m(le){return s&&X(),M(n),C(le)}function b(le){return r.parser.lazy[r.now().line]=n!==e.length,l=r.now().offset,E(le)}function C(le){return r.containerState={},t.attempt(Em,A,E)(le)}function A(le){return n++,e.push([r.currentConstruct,r.containerState]),C(le)}function E(le){if(le===null){s&&X(),M(0),t.consume(le);return}return s=s||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:s}),O(le)}function O(le){if(le===null){D(t.exit("chunkFlow"),!0),M(0),t.consume(le);return}return ce(le)?(t.consume(le),D(t.exit("chunkFlow")),n=0,r.interrupt=void 0,f):(t.consume(le),O)}function D(le,we){let ge=r.sliceStream(le);if(we&&ge.push(null),le.previous=o,o&&(o.next=le),o=le,s.defineSkip(le.start),s.write(ge),r.parser.lazy[le.start.line]){let ee=s.events.length;for(;ee--;)if(s.events[ee][1].start.offset<l&&(!s.events[ee][1].end||s.events[ee][1].end.offset>l))return;let me=r.events.length,xe=me,ve,Le;for(;xe--;)if(r.events[xe][0]==="exit"&&r.events[xe][1].type==="chunkFlow"){if(ve){Le=r.events[xe][1].end;break}ve=!0}for(M(n),ee=me;ee<r.events.length;)r.events[ee][1].end=Object.assign({},Le),ee++;Ot(r.events,xe+1,0,r.events.slice(me)),r.events.length=ee}}function M(le){let we=e.length;for(;we-- >le;){let ge=e[we];r.containerState=ge[1],ge[0].exit.call(r,t)}e.length=le}function X(){s.write([null]),o=void 0,s=void 0,r.containerState._closeFlow=void 0}}function Dk(t,r,e){return Ce(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function hs(t){if(t===null||nt(t)||Ii(t))return 1;if(Oi(t))return 2}function si(t,r,e){let n=[],s=-1;for(;++s<t.length;){let o=t[s].resolveAll;o&&!n.includes(o)&&(r=o(r,e),n.push(o))}return r}var uo={name:"attention",tokenize:Lk,resolveAll:Nk};function Nk(t,r){let e=-1,n,s,o,l,f,c,h,m;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(n=e;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&r.sliceSerialize(t[n][1]).charCodeAt(0)===r.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[n][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;c=t[n][1].end.offset-t[n][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let b=Object.assign({},t[n][1].end),C=Object.assign({},t[e][1].start);Sm(b,-c),Sm(C,c),l={type:c>1?"strongSequence":"emphasisSequence",start:b,end:Object.assign({},t[n][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:C},o={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[n][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[n][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),h=[],t[n][1].end.offset-t[n][1].start.offset&&(h=xr(h,[["enter",t[n][1],r],["exit",t[n][1],r]])),h=xr(h,[["enter",s,r],["enter",l,r],["exit",l,r],["enter",o,r]]),h=xr(h,si(r.parser.constructs.insideSpan.null,t.slice(n+1,e),r)),h=xr(h,[["exit",o,r],["enter",f,r],["exit",f,r],["exit",s,r]]),t[e][1].end.offset-t[e][1].start.offset?(m=2,h=xr(h,[["enter",t[e][1],r],["exit",t[e][1],r]])):m=0,Ot(t,n-1,e-n+3,h),e=n+h.length-m-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function Lk(t,r){let e=this.parser.constructs.attentionMarkers.null,n=this.previous,s=hs(n),o;return l;function l(c){return t.enter("attentionSequence"),o=c,f(c)}function f(c){if(c===o)return t.consume(c),f;let h=t.exit("attentionSequence"),m=hs(c),b=!m||m===2&&s||e.includes(c),C=!s||s===2&&m||e.includes(n);return h._open=Boolean(o===42?b:b&&(s||!C)),h._close=Boolean(o===42?C:C&&(m||!b)),r(c)}}function Sm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var Qu={name:"autolink",tokenize:jk};function jk(t,r,e){let n=1;return s;function s(E){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(E),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(E){return fr(E)?(t.consume(E),l):Zu(E)?h(E):e(E)}function l(E){return E===43||E===45||E===46||Gt(E)?f(E):h(E)}function f(E){return E===58?(t.consume(E),c):(E===43||E===45||E===46||Gt(E))&&n++<32?(t.consume(E),f):h(E)}function c(E){return E===62?(t.exit("autolinkProtocol"),A(E)):E===null||E===32||E===60||ni(E)?e(E):(t.consume(E),c)}function h(E){return E===64?(t.consume(E),n=0,m):Zu(E)?(t.consume(E),h):e(E)}function m(E){return Gt(E)?b(E):e(E)}function b(E){return E===46?(t.consume(E),n=0,m):E===62?(t.exit("autolinkProtocol").type="autolinkEmail",A(E)):C(E)}function C(E){return(E===45||Gt(E))&&n++<63?(t.consume(E),E===45?C:b):e(E)}function A(E){return t.enter("autolinkMarker"),t.consume(E),t.exit("autolinkMarker"),t.exit("autolink"),r}}var Pn={tokenize:Bk,partial:!0};function Bk(t,r,e){return Ce(t,n,"linePrefix");function n(s){return s===null||ce(s)?r(s):e(s)}}var da={name:"blockQuote",tokenize:Mk,continuation:{tokenize:zk},exit:Vk};function Mk(t,r,e){let n=this;return s;function s(l){if(l===62){let f=n.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),o}return e(l)}function o(l){return He(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function zk(t,r,e){return Ce(t,t.attempt(da,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Vk(t){t.exit("blockQuote")}var ma={name:"characterEscape",tokenize:Uk};function Uk(t,r,e){return n;function n(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),s}function s(o){return Cm(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(o)}}var Xu={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:`
41
- `,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 Hk={}.hasOwnProperty;function gs(t){return Hk.call(Xu,t)?Xu[t]:!1}var ha={name:"characterReference",tokenize:Gk};function Gk(t,r,e){let n=this,s=0,o,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"),h):(t.enter("characterReferenceValue"),o=31,l=Gt,m(b))}function h(b){return b===88||b===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(b),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,l=xm,m):(t.enter("characterReferenceValue"),o=7,l=Fi,m(b))}function m(b){let C;return b===59&&s?(C=t.exit("characterReferenceValue"),l===Gt&&!gs(n.sliceSerialize(C))?e(b):(t.enter("characterReferenceMarker"),t.consume(b),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l(b)&&s++<o?(t.consume(b),m):e(b)}}var ga={name:"codeFenced",tokenize:Kk,concrete:!0};function Kk(t,r,e){let n=this,s={tokenize:ge,partial:!0},o={tokenize:we,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,h;return m;function m(ee){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),h=ee,b(ee)}function b(ee){return ee===h?(t.consume(ee),c++,b):(t.exit("codeFencedFenceSequence"),c<3?e(ee):Ce(t,C,"whitespace")(ee))}function C(ee){return ee===null||ce(ee)?D(ee):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),A(ee))}function A(ee){return ee===null||nt(ee)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Ce(t,E,"whitespace")(ee)):ee===96&&ee===h?e(ee):(t.consume(ee),A)}function E(ee){return ee===null||ce(ee)?D(ee):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),O(ee))}function O(ee){return ee===null||ce(ee)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),D(ee)):ee===96&&ee===h?e(ee):(t.consume(ee),O)}function D(ee){return t.exit("codeFencedFence"),n.interrupt?r(ee):M(ee)}function M(ee){return ee===null?le(ee):ce(ee)?t.attempt(o,t.attempt(s,le,f?Ce(t,M,"linePrefix",f+1):M),le)(ee):(t.enter("codeFlowValue"),X(ee))}function X(ee){return ee===null||ce(ee)?(t.exit("codeFlowValue"),M(ee)):(t.consume(ee),X)}function le(ee){return t.exit("codeFenced"),r(ee)}function we(ee,me,xe){let ve=this;return Le;function Le(Te){return ee.enter("lineEnding"),ee.consume(Te),ee.exit("lineEnding"),Pe}function Pe(Te){return ve.parser.lazy[ve.now().line]?xe(Te):me(Te)}}function ge(ee,me,xe){let ve=0;return Ce(ee,Le,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Le(he){return ee.enter("codeFencedFence"),ee.enter("codeFencedFenceSequence"),Pe(he)}function Pe(he){return he===h?(ee.consume(he),ve++,Pe):ve<c?xe(he):(ee.exit("codeFencedFenceSequence"),Ce(ee,Te,"whitespace")(he))}function Te(he){return he===null||ce(he)?(ee.exit("codeFencedFence"),me(he)):xe(he)}}}var fo={name:"codeIndented",tokenize:Jk},Wk={tokenize:Zk,partial:!0};function Jk(t,r,e){let n=this;return s;function s(h){return t.enter("codeIndented"),Ce(t,o,"linePrefix",4+1)(h)}function o(h){let m=n.events[n.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?l(h):e(h)}function l(h){return h===null?c(h):ce(h)?t.attempt(Wk,l,c)(h):(t.enter("codeFlowValue"),f(h))}function f(h){return h===null||ce(h)?(t.exit("codeFlowValue"),l(h)):(t.consume(h),f)}function c(h){return t.exit("codeIndented"),r(h)}}function Zk(t,r,e){let n=this;return s;function s(l){return n.parser.lazy[n.now().line]?e(l):ce(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s):Ce(t,o,"linePrefix",4+1)(l)}function o(l){let f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):ce(l)?s(l):e(l)}}var Yu={name:"codeText",tokenize:Yk,resolve:Qk,previous:Xk};function Qk(t){let r=t.length-4,e=3,n,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)s===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(s=n):(n===r||t[n][1].type==="lineEnding")&&(t[s][1].type="codeTextData",n!==s+2&&(t[s][1].end=t[n-1][1].end,t.splice(s+2,n-s-2),r-=n-s-2,n=s+2),s=void 0);return t}function Xk(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Yk(t,r,e){let n=this,s=0,o,l;return f;function f(C){return t.enter("codeText"),t.enter("codeTextSequence"),c(C)}function c(C){return C===96?(t.consume(C),s++,c):(t.exit("codeTextSequence"),h(C))}function h(C){return C===null?e(C):C===96?(l=t.enter("codeTextSequence"),o=0,b(C)):C===32?(t.enter("space"),t.consume(C),t.exit("space"),h):ce(C)?(t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),h):(t.enter("codeTextData"),m(C))}function m(C){return C===null||C===32||C===96||ce(C)?(t.exit("codeTextData"),h(C)):(t.consume(C),m)}function b(C){return C===96?(t.consume(C),o++,b):o===s?(t.exit("codeTextSequence"),t.exit("codeText"),r(C)):(l.type="codeTextData",m(C))}}function ya(t){let r={},e=-1,n,s,o,l,f,c,h;for(;++e<t.length;){for(;e in r;)e=r[e];if(n=t[e],e&&n[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(c=n[1]._tokenizer.events,o=0,o<c.length&&c[o][1].type==="lineEndingBlank"&&(o+=2),o<c.length&&c[o][1].type==="content"))for(;++o<c.length&&c[o][1].type!=="content";)c[o][1].type==="chunkText"&&(c[o][1]._isInFirstContentOfListItem=!0,o++);if(n[0]==="enter")n[1].contentType&&(Object.assign(r,ev(t,e)),e=r[e],h=!0);else if(n[1]._container){for(o=e,s=void 0;o--&&(l=t[o],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(s&&(t[s][1].type="lineEndingBlank"),l[1].type="lineEnding",s=o);s&&(n[1].end=Object.assign({},t[s][1].start),f=t.slice(s,e),f.unshift(n),Ot(t,s,e-s+1,f))}}return!h}function ev(t,r){let e=t[r][1],n=t[r][2],s=r-1,o=[],l=e._tokenizer||n.parser[e.contentType](e.start),f=l.events,c=[],h={},m,b,C=-1,A=e,E=0,O=0,D=[O];for(;A;){for(;t[++s][1]!==A;);o.push(s),A._tokenizer||(m=n.sliceStream(A),A.next||m.push(null),b&&l.defineSkip(A.start),A._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(m),A._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),b=A,A=A.next}for(A=e;++C<f.length;)f[C][0]==="exit"&&f[C-1][0]==="enter"&&f[C][1].type===f[C-1][1].type&&f[C][1].start.line!==f[C][1].end.line&&(O=C+1,D.push(O),A._tokenizer=void 0,A.previous=void 0,A=A.next);for(l.events=[],A?(A._tokenizer=void 0,A.previous=void 0):D.pop(),C=D.length;C--;){let M=f.slice(D[C],D[C+1]),X=o.pop();c.unshift([X,X+M.length-1]),Ot(t,X,2,M)}for(C=-1;++C<c.length;)h[E+c[C][0]]=E+c[C][1],E+=c[C][1]-c[C][0]-1;return h}var ef={tokenize:nv,resolve:rv},tv={tokenize:iv,partial:!0};function rv(t){return ya(t),t}function nv(t,r){let e;return n;function n(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?o(f):ce(f)?t.check(tv,l,o)(f):(t.consume(f),s)}function o(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 iv(t,r,e){let n=this;return s;function s(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),Ce(t,o,"linePrefix")}function o(l){if(l===null||ce(l))return e(l);let f=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):t.interrupt(n.parser.constructs.flow,e,r)(l)}}function $a(t,r,e,n,s,o,l,f,c){let h=c||Number.POSITIVE_INFINITY,m=0;return b;function b(M){return M===60?(t.enter(n),t.enter(s),t.enter(o),t.consume(M),t.exit(o),C):M===null||M===41||ni(M)?e(M):(t.enter(n),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),O(M))}function C(M){return M===62?(t.enter(o),t.consume(M),t.exit(o),t.exit(s),t.exit(n),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),A(M))}function A(M){return M===62?(t.exit("chunkString"),t.exit(f),C(M)):M===null||M===60||ce(M)?e(M):(t.consume(M),M===92?E:A)}function E(M){return M===60||M===62||M===92?(t.consume(M),A):A(M)}function O(M){return M===40?++m>h?e(M):(t.consume(M),O):M===41?m--?(t.consume(M),O):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(M)):M===null||nt(M)?m?e(M):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(M)):ni(M)?e(M):(t.consume(M),M===92?D:O)}function D(M){return M===40||M===41||M===92?(t.consume(M),O):O(M)}}function ba(t,r,e,n,s,o){let l=this,f=0,c;return h;function h(A){return t.enter(n),t.enter(s),t.consume(A),t.exit(s),t.enter(o),m}function m(A){return A===null||A===91||A===93&&!c||A===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(A):A===93?(t.exit(o),t.enter(s),t.consume(A),t.exit(s),t.exit(n),r):ce(A)?(t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),m):(t.enter("chunkString",{contentType:"string"}),b(A))}function b(A){return A===null||A===91||A===93||ce(A)||f++>999?(t.exit("chunkString"),m(A)):(t.consume(A),c=c||!He(A),A===92?C:b)}function C(A){return A===91||A===92||A===93?(t.consume(A),f++,b):b(A)}}function wa(t,r,e,n,s,o){let l;return f;function f(C){return t.enter(n),t.enter(s),t.consume(C),t.exit(s),l=C===40?41:C,c}function c(C){return C===l?(t.enter(s),t.consume(C),t.exit(s),t.exit(n),r):(t.enter(o),h(C))}function h(C){return C===l?(t.exit(o),c(l)):C===null?e(C):ce(C)?(t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),Ce(t,h,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),m(C))}function m(C){return C===l||C===null||ce(C)?(t.exit("chunkString"),h(C)):(t.consume(C),C===92?b:m)}function b(C){return C===l||C===92?(t.consume(C),m):m(C)}}function Ri(t,r){let e;return n;function n(s){return ce(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e=!0,n):He(s)?Ce(t,n,e?"linePrefix":"lineSuffix")(s):r(s)}}function cr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var tf={name:"definition",tokenize:ov},sv={tokenize:av,partial:!0};function ov(t,r,e){let n=this,s;return o;function o(c){return t.enter("definition"),ba.call(n,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return s=cr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),Ri(t,$a(t,t.attempt(sv,Ce(t,f,"whitespace"),Ce(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||ce(c)?(t.exit("definition"),n.parser.defined.includes(s)||n.parser.defined.push(s),r(c)):e(c)}}function av(t,r,e){return n;function n(l){return nt(l)?Ri(t,s)(l):e(l)}function s(l){return l===34||l===39||l===40?wa(t,Ce(t,o,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function o(l){return l===null||ce(l)?r(l):e(l)}}var rf={name:"hardBreakEscape",tokenize:lv};function lv(t,r,e){return n;function n(o){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(o),s}function s(o){return ce(o)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(o)):e(o)}}var nf={name:"headingAtx",tokenize:fv,resolve:uv};function uv(t,r){let e=t.length-2,n=3,s,o;return t[n][1].type==="whitespace"&&(n+=2),e-2>n&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(n===e-1||e-4>n&&t[e-2][1].type==="whitespace")&&(e-=n+1===e?2:4),e>n&&(s={type:"atxHeadingText",start:t[n][1].start,end:t[e][1].end},o={type:"chunkText",start:t[n][1].start,end:t[e][1].end,contentType:"text"},Ot(t,n,e-n+1,[["enter",s,r],["enter",o,r],["exit",o,r],["exit",s,r]])),t}function fv(t,r,e){let n=this,s=0;return o;function o(m){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(m)}function l(m){return m===35&&s++<6?(t.consume(m),l):m===null||nt(m)?(t.exit("atxHeadingSequence"),n.interrupt?r(m):f(m)):e(m)}function f(m){return m===35?(t.enter("atxHeadingSequence"),c(m)):m===null||ce(m)?(t.exit("atxHeading"),r(m)):He(m)?Ce(t,f,"whitespace")(m):(t.enter("atxHeadingText"),h(m))}function c(m){return m===35?(t.consume(m),c):(t.exit("atxHeadingSequence"),f(m))}function h(m){return m===null||m===35||nt(m)?(t.exit("atxHeadingText"),f(m)):(t.consume(m),h)}}var Pm=["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"],sf=["pre","script","style","textarea"];var of={name:"htmlFlow",tokenize:dv,resolveTo:pv,concrete:!0},cv={tokenize:mv,partial:!0};function pv(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 dv(t,r,e){let n=this,s,o,l,f,c;return h;function h(U){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(U),m}function m(U){return U===33?(t.consume(U),b):U===47?(t.consume(U),E):U===63?(t.consume(U),s=3,n.interrupt?r:vt):fr(U)?(t.consume(U),l=String.fromCharCode(U),o=!0,O):e(U)}function b(U){return U===45?(t.consume(U),s=2,C):U===91?(t.consume(U),s=5,l="CDATA[",f=0,A):fr(U)?(t.consume(U),s=4,n.interrupt?r:vt):e(U)}function C(U){return U===45?(t.consume(U),n.interrupt?r:vt):e(U)}function A(U){return U===l.charCodeAt(f++)?(t.consume(U),f===l.length?n.interrupt?r:Pe:A):e(U)}function E(U){return fr(U)?(t.consume(U),l=String.fromCharCode(U),O):e(U)}function O(U){return U===null||U===47||U===62||nt(U)?U!==47&&o&&sf.includes(l.toLowerCase())?(s=1,n.interrupt?r(U):Pe(U)):Pm.includes(l.toLowerCase())?(s=6,U===47?(t.consume(U),D):n.interrupt?r(U):Pe(U)):(s=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(U):o?X(U):M(U)):U===45||Gt(U)?(t.consume(U),l+=String.fromCharCode(U),O):e(U)}function D(U){return U===62?(t.consume(U),n.interrupt?r:Pe):e(U)}function M(U){return He(U)?(t.consume(U),M):ve(U)}function X(U){return U===47?(t.consume(U),ve):U===58||U===95||fr(U)?(t.consume(U),le):He(U)?(t.consume(U),X):ve(U)}function le(U){return U===45||U===46||U===58||U===95||Gt(U)?(t.consume(U),le):we(U)}function we(U){return U===61?(t.consume(U),ge):He(U)?(t.consume(U),we):X(U)}function ge(U){return U===null||U===60||U===61||U===62||U===96?e(U):U===34||U===39?(t.consume(U),c=U,ee):He(U)?(t.consume(U),ge):(c=null,me(U))}function ee(U){return U===null||ce(U)?e(U):U===c?(t.consume(U),xe):(t.consume(U),ee)}function me(U){return U===null||U===34||U===39||U===60||U===61||U===62||U===96||nt(U)?we(U):(t.consume(U),me)}function xe(U){return U===47||U===62||He(U)?X(U):e(U)}function ve(U){return U===62?(t.consume(U),Le):e(U)}function Le(U){return He(U)?(t.consume(U),Le):U===null||ce(U)?Pe(U):e(U)}function Pe(U){return U===45&&s===2?(t.consume(U),Je):U===60&&s===1?(t.consume(U),re):U===62&&s===4?(t.consume(U),lt):U===63&&s===3?(t.consume(U),vt):U===93&&s===5?(t.consume(U),Ye):ce(U)&&(s===6||s===7)?t.check(cv,lt,Te)(U):U===null||ce(U)?Te(U):(t.consume(U),Pe)}function Te(U){return t.exit("htmlFlowData"),he(U)}function he(U){return U===null?z(U):ce(U)?t.attempt({tokenize:Se,partial:!0},he,z)(U):(t.enter("htmlFlowData"),Pe(U))}function Se(U,er,Rt){return At;function At(Pt){return U.enter("lineEnding"),U.consume(Pt),U.exit("lineEnding"),qt}function qt(Pt){return n.parser.lazy[n.now().line]?Rt(Pt):er(Pt)}}function Je(U){return U===45?(t.consume(U),vt):Pe(U)}function re(U){return U===47?(t.consume(U),l="",wt):Pe(U)}function wt(U){return U===62&&sf.includes(l.toLowerCase())?(t.consume(U),lt):fr(U)&&l.length<8?(t.consume(U),l+=String.fromCharCode(U),wt):Pe(U)}function Ye(U){return U===93?(t.consume(U),vt):Pe(U)}function vt(U){return U===62?(t.consume(U),lt):U===45&&s===2?(t.consume(U),vt):Pe(U)}function lt(U){return U===null||ce(U)?(t.exit("htmlFlowData"),z(U)):(t.consume(U),lt)}function z(U){return t.exit("htmlFlow"),r(U)}}function mv(t,r,e){return n;function n(s){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),t.attempt(Pn,r,e)}}var af={name:"htmlText",tokenize:hv};function hv(t,r,e){let n=this,s,o,l,f;return c;function c(z){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(z),h}function h(z){return z===33?(t.consume(z),m):z===47?(t.consume(z),me):z===63?(t.consume(z),ge):fr(z)?(t.consume(z),Le):e(z)}function m(z){return z===45?(t.consume(z),b):z===91?(t.consume(z),o="CDATA[",l=0,D):fr(z)?(t.consume(z),we):e(z)}function b(z){return z===45?(t.consume(z),C):e(z)}function C(z){return z===null||z===62?e(z):z===45?(t.consume(z),A):E(z)}function A(z){return z===null||z===62?e(z):E(z)}function E(z){return z===null?e(z):z===45?(t.consume(z),O):ce(z)?(f=E,Ye(z)):(t.consume(z),E)}function O(z){return z===45?(t.consume(z),lt):E(z)}function D(z){return z===o.charCodeAt(l++)?(t.consume(z),l===o.length?M:D):e(z)}function M(z){return z===null?e(z):z===93?(t.consume(z),X):ce(z)?(f=M,Ye(z)):(t.consume(z),M)}function X(z){return z===93?(t.consume(z),le):M(z)}function le(z){return z===62?lt(z):z===93?(t.consume(z),le):M(z)}function we(z){return z===null||z===62?lt(z):ce(z)?(f=we,Ye(z)):(t.consume(z),we)}function ge(z){return z===null?e(z):z===63?(t.consume(z),ee):ce(z)?(f=ge,Ye(z)):(t.consume(z),ge)}function ee(z){return z===62?lt(z):ge(z)}function me(z){return fr(z)?(t.consume(z),xe):e(z)}function xe(z){return z===45||Gt(z)?(t.consume(z),xe):ve(z)}function ve(z){return ce(z)?(f=ve,Ye(z)):He(z)?(t.consume(z),ve):lt(z)}function Le(z){return z===45||Gt(z)?(t.consume(z),Le):z===47||z===62||nt(z)?Pe(z):e(z)}function Pe(z){return z===47?(t.consume(z),lt):z===58||z===95||fr(z)?(t.consume(z),Te):ce(z)?(f=Pe,Ye(z)):He(z)?(t.consume(z),Pe):lt(z)}function Te(z){return z===45||z===46||z===58||z===95||Gt(z)?(t.consume(z),Te):he(z)}function he(z){return z===61?(t.consume(z),Se):ce(z)?(f=he,Ye(z)):He(z)?(t.consume(z),he):Pe(z)}function Se(z){return z===null||z===60||z===61||z===62||z===96?e(z):z===34||z===39?(t.consume(z),s=z,Je):ce(z)?(f=Se,Ye(z)):He(z)?(t.consume(z),Se):(t.consume(z),s=void 0,wt)}function Je(z){return z===s?(t.consume(z),re):z===null?e(z):ce(z)?(f=Je,Ye(z)):(t.consume(z),Je)}function re(z){return z===62||z===47||nt(z)?Pe(z):e(z)}function wt(z){return z===null||z===34||z===39||z===60||z===61||z===96?e(z):z===62||nt(z)?Pe(z):(t.consume(z),wt)}function Ye(z){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),Ce(t,vt,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function vt(z){return t.enter("htmlTextData"),f(z)}function lt(z){return z===62?(t.consume(z),t.exit("htmlTextData"),t.exit("htmlText"),r):e(z)}}var qi={name:"labelEnd",tokenize:kv,resolveTo:wv,resolveAll:bv},gv={tokenize:vv},yv={tokenize:xv},$v={tokenize:Cv};function bv(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 wv(t,r){let e=t.length,n=0,s,o,l,f;for(;e--;)if(s=t[e][1],o){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&&(o=e,s.type!=="labelLink")){n=2;break}}else s.type==="labelEnd"&&(l=e);let c={type:t[o][1].type==="labelLink"?"link":"image",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)},h={type:"label",start:Object.assign({},t[o][1].start),end:Object.assign({},t[l][1].end)},m={type:"labelText",start:Object.assign({},t[o+n+2][1].end),end:Object.assign({},t[l-2][1].start)};return f=[["enter",c,r],["enter",h,r]],f=xr(f,t.slice(o+1,o+n+3)),f=xr(f,[["enter",m,r]]),f=xr(f,si(r.parser.constructs.insideSpan.null,t.slice(o+n+4,l-3),r)),f=xr(f,[["exit",m,r],t[l-2],t[l-1],["exit",h,r]]),f=xr(f,t.slice(l+1)),f=xr(f,[["exit",c,r]]),Ot(t,o,t.length,f),t}function kv(t,r,e){let n=this,s=n.events.length,o,l;for(;s--;)if((n.events[s][1].type==="labelImage"||n.events[s][1].type==="labelLink")&&!n.events[s][1]._balanced){o=n.events[s][1];break}return f;function f(m){return o?o._inactive?h(m):(l=n.parser.defined.includes(cr(n.sliceSerialize({start:o.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(m),t.exit("labelMarker"),t.exit("labelEnd"),c):e(m)}function c(m){return m===40?t.attempt(gv,r,l?r:h)(m):m===91?t.attempt(yv,r,l?t.attempt($v,r,h):h)(m):l?r(m):h(m)}function h(m){return o._balanced=!0,e(m)}}function vv(t,r,e){return n;function n(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),Ri(t,s)}function s(c){return c===41?f(c):$a(t,o,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function o(c){return nt(c)?Ri(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?wa(t,Ri(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 xv(t,r,e){let n=this;return s;function s(l){return ba.call(n,t,o,e,"reference","referenceMarker","referenceString")(l)}function o(l){return n.parser.defined.includes(cr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function Cv(t,r,e){return n;function n(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),s}function s(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),r):e(o)}}var lf={name:"labelStartImage",tokenize:Av,resolveAll:qi.resolveAll};function Av(t,r,e){let n=this;return s;function s(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),o}function o(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 n.parser.constructs?e(f):r(f)}}var uf={name:"labelStartLink",tokenize:Ev,resolveAll:qi.resolveAll};function Ev(t,r,e){let n=this;return s;function s(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(l):r(l)}}var co={name:"lineEnding",tokenize:_v};function _v(t,r){return e;function e(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),Ce(t,r,"linePrefix")}}var Di={name:"thematicBreak",tokenize:Sv};function Sv(t,r,e){let n=0,s;return o;function o(c){return t.enter("thematicBreak"),s=c,l(c)}function l(c){return c===s?(t.enter("thematicBreakSequence"),f(c)):He(c)?Ce(t,l,"whitespace")(c):n<3||c!==null&&!ce(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===s?(t.consume(c),n++,f):(t.exit("thematicBreakSequence"),l(c))}}var pr={name:"list",tokenize:Fv,continuation:{tokenize:Iv},exit:Rv},Pv={tokenize:qv,partial:!0},Tv={tokenize:Ov,partial:!0};function Fv(t,r,e){let n=this,s=n.events[n.events.length-1],o=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(A){let E=n.containerState.type||(A===42||A===43||A===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!n.containerState.marker||A===n.containerState.marker:Fi(A)){if(n.containerState.type||(n.containerState.type=E,t.enter(E,{_container:!0})),E==="listUnordered")return t.enter("listItemPrefix"),A===42||A===45?t.check(Di,e,h)(A):h(A);if(!n.interrupt||A===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(A)}return e(A)}function c(A){return Fi(A)&&++l<10?(t.consume(A),c):(!n.interrupt||l<2)&&(n.containerState.marker?A===n.containerState.marker:A===41||A===46)?(t.exit("listItemValue"),h(A)):e(A)}function h(A){return t.enter("listItemMarker"),t.consume(A),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||A,t.check(Pn,n.interrupt?e:m,t.attempt(Pv,C,b))}function m(A){return n.containerState.initialBlankLine=!0,o++,C(A)}function b(A){return He(A)?(t.enter("listItemPrefixWhitespace"),t.consume(A),t.exit("listItemPrefixWhitespace"),C):e(A)}function C(A){return n.containerState.size=o+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(A)}}function Iv(t,r,e){let n=this;return n.containerState._closeFlow=void 0,t.check(Pn,s,o);function s(f){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ce(t,r,"listItemIndent",n.containerState.size+1)(f)}function o(f){return n.containerState.furtherBlankLines||!He(f)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(f)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(Tv,r,l)(f))}function l(f){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ce(t,t.attempt(pr,r,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function Ov(t,r,e){let n=this;return Ce(t,s,"listItemIndent",n.containerState.size+1);function s(o){let l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?r(o):e(o)}}function Rv(t){t.exit(this.containerState.type)}function qv(t,r,e){let n=this;return Ce(t,s,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(o){let l=n.events[n.events.length-1];return!He(o)&&l&&l[1].type==="listItemPrefixWhitespace"?r(o):e(o)}}var ka={name:"setextUnderline",tokenize:Nv,resolveTo:Dv};function Dv(t,r){let e=t.length,n,s,o;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){n=e;break}t[e][1].type==="paragraph"&&(s=e)}else t[e][1].type==="content"&&t.splice(e,1),!o&&t[e][1].type==="definition"&&(o=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",o?(t.splice(s,0,["enter",l,r]),t.splice(o+1,0,["exit",t[n][1],r]),t[n][1].end=Object.assign({},t[o][1].end)):t[n][1]=l,t.push(["exit",l,r]),t}function Nv(t,r,e){let n=this,s=n.events.length,o,l;for(;s--;)if(n.events[s][1].type!=="lineEnding"&&n.events[s][1].type!=="linePrefix"&&n.events[s][1].type!=="content"){l=n.events[s][1].type==="paragraph";break}return f;function f(m){return!n.parser.lazy[n.now().line]&&(n.interrupt||l)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),o=m,c(m)):e(m)}function c(m){return m===o?(t.consume(m),c):(t.exit("setextHeadingLineSequence"),Ce(t,h,"lineSuffix")(m))}function h(m){return m===null||ce(m)?(t.exit("setextHeadingLine"),r(m)):e(m)}}var Tm={tokenize:Lv};function Lv(t){let r=this,e=t.attempt(Pn,n,t.attempt(this.parser.constructs.flowInitial,s,Ce(t,t.attempt(this.parser.constructs.flow,s,t.attempt(ef,s)),"linePrefix")));return e;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function s(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var Fm={resolveAll:qm()},Im=Rm("string"),Om=Rm("text");function Rm(t){return{tokenize:r,resolveAll:qm(t==="text"?jv:void 0)};function r(e){let n=this,s=this.parser.constructs[t],o=e.attempt(s,l,f);return l;function l(m){return h(m)?o(m):f(m)}function f(m){if(m===null){e.consume(m);return}return e.enter("data"),e.consume(m),c}function c(m){return h(m)?(e.exit("data"),o(m)):(e.consume(m),c)}function h(m){if(m===null)return!0;let b=s[m],C=-1;if(b)for(;++C<b.length;){let A=b[C];if(!A.previous||A.previous.call(n,n.previous))return!0}return!1}}}function qm(t){return r;function r(e,n){let s=-1,o;for(;++s<=e.length;)o===void 0?e[s]&&e[s][1].type==="data"&&(o=s,s++):(!e[s]||e[s][1].type!=="data")&&(s!==o+2&&(e[o][1].end=e[s-1][1].end,e.splice(o+2,s-o-2),s=o+2),o=void 0);return t?t(e,n):e}}function jv(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 n=t[e-1][1],s=r.sliceStream(n),o=s.length,l=-1,f=0,c;for(;o--;){let h=s[o];if(typeof h=="string"){for(l=h.length;h.charCodeAt(l-1)===32;)f++,l--;if(l)break;l=-1}else if(h===-2)c=!0,f++;else if(h!==-1){o++;break}}if(f){let h={type:e===t.length||c||f<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-f,offset:n.end.offset-f,_index:n.start._index+o,_bufferIndex:o?l:n.start._bufferIndex+l},end:Object.assign({},n.end)};n.end=Object.assign({},h.start),n.start.offset===n.end.offset?Object.assign(n,h):(t.splice(e,0,["enter",h,r],["exit",h,r]),e+=2)}e++}return t}function Dm(t,r,e){let n=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),s={},o=[],l=[],f=[],c=!0,h={consume:we,enter:ge,exit:ee,attempt:ve(me),check:ve(xe),interrupt:ve(xe,{interrupt:!0})},m={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:O,sliceSerialize:E,now:D,defineSkip:M,write:A},b=r.tokenize.call(m,h),C;return r.resolveAll&&o.push(r),m;function A(he){return l=xr(l,he),X(),l[l.length-1]!==null?[]:(Le(r,0),m.events=si(o,m.events,m),m.events)}function E(he,Se){return Mv(O(he),Se)}function O(he){return Bv(l,he)}function D(){return Object.assign({},n)}function M(he){s[he.line]=he.column,Te()}function X(){let he;for(;n._index<l.length;){let Se=l[n._index];if(typeof Se=="string")for(he=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===he&&n._bufferIndex<Se.length;)le(Se.charCodeAt(n._bufferIndex));else le(Se)}}function le(he){c=void 0,C=he,b=b(he)}function we(he){ce(he)?(n.line++,n.column=1,n.offset+=he===-3?2:1,Te()):he!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),m.previous=he,c=!0}function ge(he,Se){let Je=Se||{};return Je.type=he,Je.start=D(),m.events.push(["enter",Je,m]),f.push(Je),Je}function ee(he){let Se=f.pop();return Se.end=D(),m.events.push(["exit",Se,m]),Se}function me(he,Se){Le(he,Se.from)}function xe(he,Se){Se.restore()}function ve(he,Se){return Je;function Je(re,wt,Ye){let vt,lt,z,U;return Array.isArray(re)?Rt(re):"tokenize"in re?Rt([re]):er(re);function er(ut){return mr;function mr(Kt){let hr=Kt!==null&&ut[Kt],Cr=Kt!==null&&ut.null,Ar=[...Array.isArray(hr)?hr:hr?[hr]:[],...Array.isArray(Cr)?Cr:Cr?[Cr]:[]];return Rt(Ar)(Kt)}}function Rt(ut){return vt=ut,lt=0,ut.length===0?Ye:At(ut[lt])}function At(ut){return mr;function mr(Kt){return U=Pe(),z=ut,ut.partial||(m.currentConstruct=ut),ut.name&&m.parser.constructs.disable.null.includes(ut.name)?Pt(Kt):ut.tokenize.call(Se?Object.assign(Object.create(m),Se):m,h,qt,Pt)(Kt)}}function qt(ut){return c=!0,he(z,U),wt}function Pt(ut){return c=!0,U.restore(),++lt<vt.length?At(vt[lt]):Ye}}}function Le(he,Se){he.resolveAll&&!o.includes(he)&&o.push(he),he.resolve&&Ot(m.events,Se,m.events.length-Se,he.resolve(m.events.slice(Se),m)),he.resolveTo&&(m.events=he.resolveTo(m.events,m))}function Pe(){let he=D(),Se=m.previous,Je=m.currentConstruct,re=m.events.length,wt=Array.from(f);return{restore:Ye,from:re};function Ye(){n=he,m.previous=Se,m.currentConstruct=Je,m.events.length=re,f=wt,Te()}}function Te(){n.line in s&&n.column<2&&(n.column=s[n.line],n.offset+=s[n.line]-1)}}function Bv(t,r){let e=r.start._index,n=r.start._bufferIndex,s=r.end._index,o=r.end._bufferIndex,l;return e===s?l=[t[e].slice(n,o)]:(l=t.slice(e,s),n>-1&&(l[0]=l[0].slice(n)),o>0&&l.push(t[s].slice(0,o))),l}function Mv(t,r){let e=-1,n=[],s;for(;++e<t.length;){let o=t[e],l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
37
+ `)}),":separator":St,row:St,cell:St,":toc":St,":toc-list":St,":toc-item":St,":image":(t,r)=>(e,n,s)=>{t.writeRaw(`![${e.alt||""}](${e.src})`)}};var hk=Sr(Ld());var am=Sr(Bu());var vk=()=>t=>{let r=(n,s={})=>{if((n.type=="code"||n.type=="text")&&(n.margin&&s.margin&&s.margin.length>0&&s.margin.length==n.margin.length&&(n.type="para"),n.type==="code")){var o=new RegExp(`^[ ]{0,${n.margin.length}}`,"gm");n.text=n.text.replace(o,"")}if(n.type==="block"){s.margin=typeof n.margin!="string"?"":n.margin;let l={...s};l.nest=(l.nest||0)+1,n.content.map(f=>{r(f,s)})}};var e={};return t.forEach(n=>r(n,e)),t},Bd=vk;var oo=Sr(zd());var Ak=()=>t=>{let r=lr({":para":(e,n,s)=>lr({":text":(o,l)=>oo.parse(o.value),":verbatim":(o,l)=>oo.parse(o.value)})(e,{...n}),":block":(e,n,s)=>{if("name"in e&&e.name==="pod")return{...e,content:s(e.content,n,s)};let o=Ct(e,n),l="name"in e?e.name:"",f=["code","data","markdown","picture","formula"].includes(l),c=o.getAllValues("allow");if(io(l)||f&&c.length===0)return e;let g=c.sort(),h=lr({":verbatim":($,k)=>oo.parse($.value,{allowed:g}),":text":($,k)=>oo.parse($.value,{allowed:g}),":block":($,k)=>r($,{...k})});return{...e,content:h(e.content,{...n})}}});return r(t,{})},Vd=Ak;var Ud=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(n)});else if(e&&e.type==="block"){let n=/^item(\d+)?/.exec(e.name);if(n){e.name="item",e.level=n[1]||1;let s=(e.config||[]).find(o=>o.name==="checked");if(s&&(e.checked=s.value!==!1&&s.value!==0&&s.value!=="0"),e.content[0]){let o=e.content[0];if(o.text){if(!s){let c=/^\[( |x)\]\s*/,g=c.exec(o.text);g&&(e.checked=g[1]==="x",o.text=o.text.replace(c,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let l=/^(\s*#\s*)/;l.exec(o.text)&&(o.text=o.text.replace(l,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}r(e.content)}};return r(t),t};var Hd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(n)});else if(e&&e.type==="block"){let n=/^head(\d+)?/.exec(e.name);if(n&&(e.name="head",e.level=n[1]||1,e.content[0])){let s=e.content[0];if(s.text){let o=/(\s*#\s*)/;o.exec(s.text)&&(s.text=s.text.replace(o,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Gd=()=>t=>{let r=(o,l)=>(o.name==="item"||o.name==="defn")&&l.name===o.name&&o.level===l.level&&e(o)===e(l),e=o=>Boolean(o.config&&o.config.numbered),n=o=>{let l={};return o.reduce((c,g)=>(g.name==="defn"?r(l,g)?c[c.length-1].push(g):c.push([g]):c.push(g),l=g,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=n(c.content)),c))};return t=(o=>Array.isArray(o)?n(o):(o.type==="block"&&o.name!=="table"&&(o.content=n(o.content)),o))(t),t};var Kd=()=>t=>{let r=(l,f)=>(l.name==="item"||l.name==="defn")&&f.name===l.name&&l.level===f.level&&e(l)===e(f)&&n(l)===n(f),e=l=>Boolean(Ct(l,{}).exists("numbered")),n=l=>l.checked!==void 0,s=(l,f=1)=>{let c=x=>x.length>0&&x[x.length-1].type==="list",g=x=>{if(c(x))return x[x.length-1]},h=(x,A)=>A.name&&A.name==="item"&&A.type&&A.type==="block"||A.type==="blankline",$={};return l.reduce((x,A)=>A.name==="item"&&A.type==="block"&&A.level<f?[...x,A]:(A.name==="item"&&A.type==="block"&&(!c(x)||Number(A.level)===f&&g(x).list!==(e(A)?"ordered":n(A)?"task":"itemized"))&&x.push({type:"list",level:A.level,content:[],list:e(A)?"ordered":n(A)?"task":"itemized"}),c(x)&&h(g(x),A)?g(x).content.push(A):x.push(A),x),[]).map(x=>(x.content&&x.type!=="fcode"&&(x.content=s(x.content,Number(x.level||0)+1)),x))};return t=(l=>(Array.isArray(l)?l=s(l):l.type==="block"&&l.name!=="table"&&(l.content=s(l.content)),l))(t),t};var Wd=()=>t=>lr({defn:e=>{let n=e.content,s=n.length,o=[],l=!1;for(let f=0;f<s;f++){let c=n[f];if(c.type==="para"&&!l){let g=c.content[0],$=g.value.split(`
38
+ `),k=$.shift(),x={type:"para",name:"term",text:k,content:[{type:"text",value:k}]};o.push(x),$.length==1&&$[0]===""||(g.value=$.join(`
39
+ `),c.text=g.value,o.push(c)),l=!0}else o.push(c)}return e.content=o,e}})(t,{});function ao(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(ao(e)):r.concat(e),[])}function Hu(t){let r=[],e="",n=[],s=!1,o=0;for(;o<t.length;){let l=t[o];if(s){if(l==='"'&&t[o+1]==='"'){e+='"',o+=2;continue}if(l==='"'){s=!1,o++;continue}e+=l,o++;continue}if(l==='"'&&e===""){s=!0,o++;continue}if(l===","){n.push(e),e="",o++;continue}if(l==="\r"){o++;continue}if(l===`
40
+ `){n.push(e),r.push(n),n=[],e="",o++;continue}e+=l,o++}return(e!==""||n.length>0)&&(n.push(e),r.push(n)),r.filter(l=>!(l.length===1&&l[0].trim()===""))}function Gu(t){return t.split(/\r?\n/).map(n=>n.split(" ")).filter(n=>!(n.length===1&&n[0].trim()===""))}function ya(t){if(!t||typeof t!="string")return{type:"",params:{}};let r=t.split(";").map(s=>s.trim()),e=(r.shift()||"").toLowerCase(),n={};for(let s of r){if(!s)continue;let o=s.indexOf("=");if(o<0)continue;let l=s.slice(0,o).trim().toLowerCase(),f=s.slice(o+1).trim();(f.startsWith('"')&&f.endsWith('"')||f.startsWith("'")&&f.endsWith("'"))&&(f=f.slice(1,-1)),l&&(n[l]=f)}return{type:e,params:n}}function Ku(t,r){let e=null,n=s=>{if(!e){if(Array.isArray(s)){s.forEach(n);return}if(!(!s||typeof s!="object")){if(s.type==="block"&&s.name==="data"&&Ct(s,{}).getFirstValue("key")===r){e=s;return}Array.isArray(s.content)&&s.content.forEach(n)}}};return n(t),e}function ba(t){if(!t||!Array.isArray(t.content))return"";let r=t.content.find(e=>e&&e.type==="verbatim");return r&&typeof r.value=="string"?r.value:""}function Ek(t){let r=[];lr({"row:text":l=>(r.push(l.value),l),"head:text":l=>(r.push(l.value),l)})(t,{});let s=r.join(`
41
+ `).trim().split(/\r?\n/).map(l=>l.trim()).filter(l=>l.length>0);if(s.length!==1)return null;let o=s[0].match(/^(data|file):(\S+)$/);return o?{scheme:o[1],target:o[2]}:null}function Jd(t){return{name:"cell",type:"block",margin:"",content:[{type:"text",value:t}]}}function _k(t,r){let e={name:"row",type:"block",margin:"",content:t};return r&&(e.config=[{name:"header",value:!0,type:"boolean"}]),e}function Wu(t,r=!1){return t.map((e,n)=>{let s=e.map(o=>Jd(o.trim()));return _k(s,r&&n===0)})}function lo(t,r="table"){if(!t||!Array.isArray(t.content))return t;let e=t.content.filter($=>$&&$.type==="block"&&$.name==="row");if(e.length===0)return t;let n=$=>Array.isArray($.content)?$.content.filter(k=>k&&k.name==="cell"):[],s=$=>Array.isArray($.config)&&$.config.some(k=>k.name==="header"&&k.value===!0),o=$=>Array.isArray($.config)&&$.config.some(k=>k.name==="colspan"||k.name==="rowspan"),l=$=>n($).some(o);if(e.some(l))return t;let f=e.find(s),c=f?n(f).length:Math.max(...e.map($=>n($).length));if(c===0)return t;let g=!1,h=t.content.map($=>{if(!$||$.type!=="block"||$.name!=="row")return $;let k=n($);if(k.length===c)return $;if(k.length<c){let q=[];for(let B=k.length;B<c;B++)q.push(Jd(""));return console.warn(`[${r}] row has ${k.length} cells, expected ${c} \u2014 padded with ${q.length} empty`),g=!0,{...$,content:[...$.content,...q]}}let x=k.length-c;console.warn(`[${r}] row has ${k.length} cells, expected ${c} \u2014 truncated ${x}`),g=!0;let A=c,I=[];for(let q of $.content||[])q&&q.type==="block"&&q.name==="cell"?A>0&&(I.push(q),A--):I.push(q);return{...$,content:I}});return g?{...t,content:h}:t}function Sk(t){let r=new Set;for(let e of t)if(!(!e||typeof e!="string")&&(/\s\|\s/.test(e)?r.add("pipe"):/\s\+\s/.test(e)?r.add("plus"):e.trim().length>0&&r.add("whitespace"),r.size>1))break;r.size>1&&console.warn(`[table] mixed separator types detected: ${Array.from(r).join(", ")} \u2014 recommend a single style`)}function Pk(t,r){return{type:"block",name:"code",margin:t.margin||"",content:Array.isArray(r.content)?r.content:[],config:Array.isArray(t.config)?t.config:[]}}var Uu=(t,r,e)=>{let n=[];for(let s=0;t.length>s;s++)n.push(e(parseInt(t[s],10),parseInt(r[s],10)));return n.join("")},Tk=(t,r)=>{let e=Math.max(...[...t,...r].map(o=>o.length));return t.map(o=>{let l=o+" ".repeat(e-o.length),f=[],c=/\s+[+|\s]\s/g,g;for(;(g=c.exec(l))!=null;){let h="1".repeat(g.index)+"0".repeat(g[0].length);f.push(h+"1".repeat(e-h.length))}return f.reduce((h,$)=>Uu(h,$,(k,x)=>k&x),"1".repeat(e))}).map(o=>Uu(o,"",l=>l==0?1:0)).reduce((o,l)=>Uu(o,l,(f,c)=>f&c),"1".repeat(e))},Zd=(t,r)=>{let n=ao(t.split(/\n/).filter(o=>o.length>0)).map(o=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;)c[0][0]!="1"&&f.push(o.substring(c.index,c.index+c[0].length));return f}),s=[];return n.reduce((o,l)=>{for(let f=0;f<l.length;f++)o[f]=(o[f]===void 0?"":o[f])+" "+l[f];return o},s),s},Zu=t=>/(?:^|\s)\|(?:\s|$)/.test(t)?"pipe":/(?:^|\s)\+(?:\s|$)/.test(t)?"plus":"whitespace",Qd=t=>{let r=0,e=t.length;return t[r]===""&&r++,e>r&&t[e-1]===""&&e--,t.slice(r,e)},Xd=t=>Qd(t.split(/\s*\|\s*/).map(r=>r.trim())),Yd=t=>Qd(t.split(/\s*\+\s*/).map(r=>r.trim())),em=t=>t.trim().split(/\s{2,}/).filter(r=>r!==""),tm=t=>{if(t.trim()==="")return[];let e=Zu(t);return e==="pipe"?Xd(t):e==="plus"?Yd(t):em(t)},Fk=t=>{let r=t.split(/\r?\n/).filter(f=>f.trim()!=="");if(r.length===0)return[];if(r.length===1)return tm(r[0]);let e=Zu(r[0]),n=e==="pipe"?Xd:e==="plus"?Yd:em,s=r.map(n),o=Math.max(...s.map(f=>f.length)),l=[];for(let f=0;f<o;f++){let c=s.map(g=>g[f]??"").filter(g=>g!=="");l.push(c.join(" "))}return l},Ik=t=>{if(!Array.isArray(t.content)||t.content.length===0||!t.content.some(n=>n&&n.type==="block"&&n.name!=="cell"&&n.name!=="blankline"))return t;let e=t.content.map(n=>!n||n.type!=="block"||n.name==="cell"||n.name==="blankline"?n:{type:"block",name:"cell",content:[n],margin:n.margin||""});return{...t,content:e}},Ok=t=>Array.isArray(t.content)&&t.content.some(r=>r&&r.type==="block"&&(r.name==="row"||r.name==="cell")),rm=()=>t=>lr({table:e=>{let n=Ek(e);if(n&&n.scheme==="data"){let Y=Ku(t,n.target);if(!Y)return console.warn(`[table] no =data block found for data:${n.target} \u2014 rendered as empty`),{...e,content:[]};let pe=Ct(Y,{}).getFirstValue("mime-type"),{type:ve,params:ke}=ya(pe),Le=ve==="text/csv";if(Le||ve==="text/tab-separated-values"){let Fe=ba(Y),ge=Le?Hu(Fe):Gu(Fe);if(ge.length===0)return console.warn(`[table] ${Le?"CSV":"TSV"} parse produced no rows for data:${n.target} \u2014 rendered as empty`),{...e,content:[]};let Pe=ke.header==="present",Qe={...e,content:Wu(ge,Pe)};return lo(Qe,`table data:${n.target}`)}return console.warn(`[table] =data :key<${n.target}> has non-tabular mime-type ${pe||"(none)"} \u2014 rendered as =code`),Pk(e,Y)}if(Ok(e)){let Y=(e.content||[]).map(pe=>pe&&pe.name==="row"?Ik(pe):pe);return lo({...e,content:Y},"table")}let s=[],o=Y=>{s.push(Y.value)},l=[];if(lr({"row:text":o,"head:text":o,":separator":Y=>{l.push(Y.text)}})(e),!s.length)return e;let f=Y=>Y.split(/\n/).filter(pe=>pe.length>0),c=ao(s.map(f)),g=ao(l.map(f));Sk(c);let h=[];lr({"row:text":Y=>{h.push(Y.value)}})(e);let $=(Y,pe,ve={})=>({...ve,name:Y,type:"block",content:Array.isArray(pe)?pe:[pe]}),k=Y=>$("row",Y),x=Y=>$("row",Y,{config:[{name:"header",value:!0,type:"boolean"}]}),A=Y=>$("cell",{type:"text",value:Y}),I=Tk(c,g),q=new Set(c.map(Zu)),B=q.has("pipe")||q.has("plus"),X=q.has("whitespace"),le=B&&X,$e=Y=>le&&Y.split(/\r?\n/).filter(ve=>ve.trim()!=="").length<=1?Fk(Y):Zd(Y,I),he=lr({"row:text":Y=>{if(h.length==1){let pe=ao([Y.value].map(f));return le?pe.map(ve=>k(tm(ve).map(A))):pe.map(ve=>k(Zd(ve,I).map(A)))}return k($e(Y.value).map(A))},"head:text":Y=>x($e(Y.value).map(A))})(e);return lo(he,"table")}})(t,{});function Rk(t){return!Array.isArray(t)||t.length===0?[]:t.length===1&&typeof t[0]=="string"&&t[0].includes(",")?t[0].split(",").map(r=>r.trim()).filter(r=>r.length>0):t.map(r=>String(r).trim()).filter(r=>r.length>0)}function nm(t,r,e){let n=t.trim();if(/^\d+$/.test(n)){let o=parseInt(n,10),l=o-1;if(l<0||l>=e)throw new Error(`column index ${o} out of range (1..${e})`);return l}if(!r)throw new Error(`column name "${t}" requires header=present`);let s=r.indexOf(t);if(s===-1)throw new Error(`column name "${t}" not found in header`);return s}function qk(t,r,e){if(t.length===0)return t;let n=t[0].length,s=e?t[0]:null,o=r.map(l=>nm(l,s,n));return t.map(l=>o.map(f=>l[f]??""))}function Nk(t,r,e){if(!e||t.length===0)return t;let n=[...t[0]];for(let[s,o]of Object.entries(r)){let l=nm(s,n,n.length);n[l]=String(o)}return[n,...t.slice(1)]}function Dk(t,r){let e=Ct(t,{}),n=e.getFirstValue("src"),s=e.getFirstValue("mime-type"),o=e.getMapValue("rename"),l=e.exists("columns"),f=l?Rk(e.getAllValues("columns")):null,c=ba(t),g=c.trim().length>0;if(n&&g)throw new Error(":src and inline body are mutually exclusive");if(l&&(!f||f.length===0))throw new Error(":columns must have at least one entry; omit the attribute to render all columns");let h,$,k;if(n){let B=String(n),X=B.match(/^(file|data|http|https|doc):(.+)$/),le=X?X[1]:"file",$e=X?X[2]:B;if(le==="data"){let he=Ku(r,$e);if(!he)return console.warn(`[data-table] no =data block found for data:${$e} \u2014 rendered as empty`),{...t,name:"table",content:[]};if(s)throw new Error(`:mime-type cannot be declared with :src<data:${$e}> (inherited from referenced block)`);let Y=Ct(he,{}).getFirstValue("mime-type");if(!Y)return console.warn(`[data-table] =data block ${$e} has no :mime-type \u2014 rendered as empty`),{...t,name:"table",content:[]};let pe=ya(Y);$=pe.type,k=pe.params.header==="present",h=ba(he)}else return t}else{if(!s)throw new Error("inline body requires :mime-type");let B=ya(s);$=B.type,k=B.params.header==="present",h=c}let x=$==="text/csv";if(!x&&!($==="text/tab-separated-values"))return console.warn(`[data-table] unsupported mime-type ${$} \u2014 rendered as empty`),{...t,name:"table",content:[]};let I=x?Hu(h):Gu(h);if(I.length===0)return console.warn(`[data-table] ${x?"CSV":"TSV"} parse produced no rows \u2014 rendered as empty`),{...t,name:"table",content:[]};f&&(I=qk(I,f,k)),o&&(I=Nk(I,o,k));let q={...t,name:"table",content:Wu(I,k)};return lo(q,"data-table")}var im=()=>t=>lr({"data-table":e=>{try{return Dk(e,t)}catch(n){return console.warn(`[data-table] ${n.message}`),{...e,name:"table",content:[]}}}})(t);var CA={":text":(t,r)=>(e,n,s)=>{e.value?t.write(n!=null&&n.maskMode?Jr(e.value):e.value):s(e.content,n)},"A<>":(t,r)=>(e,n,s)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let o=n.alias[e.content].join(`
42
+ `),l=r(o),f=ga()(l);f[0].type==="para"?s(f[0].content,n):s(f,n)}},"C<>":Ve("<code>","</code>"),"D<>":(t,r)=>(e,n,s)=>{let o={node:e},l=[e.content[0]];o&&(l=o),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),s(e.content,n),t.writeRaw("</dfn>")},"B<>":Ve("<strong>","</strong>"),"I<>":Ve("<em>","</em>"),"R<>":Ve("<var>","</var>"),"K<>":Ve("<kbd>","</kbd>"),"O<>":Ve("<del>","</del>"),"G<>":(t,r)=>(e,n,s)=>{if(n.renderMode==="draft"){t.writeRaw('<span class="masked-draft">'),s(e.content,n),t.writeRaw("</span>");return}t.writeRaw('<span class="masked">'),t.write(Jr(hs(e.content))),t.writeRaw("</span>")},"H<>":Ve("<sup>","</sup>"),"J<>":Ve("<sub>","</sub>"),"L<>":Ir((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Ve(`<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(n=>{t.writeRaw(`<p><sup id="${n.fnId}" class="footnote"><a href="#${n.fnRefId}">[${n.gid}]</a></sup> `),n.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,n,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let o=t.gid++,l=`fnref:${o}`,f=`fn:${o}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${o}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:o,fnRefId:l,fnId:f,make:()=>{s(e.content,n)}})}),"S<>":(t,r)=>(e,n,s)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":Ve("<samp>","</samp>"),"U<>":Ve("<u>","</u>"),"V<>":$r,"X<>":(t,r)=>(e,n,s)=>{s(e.content,n);let{entry:o}=e;if(o===null&&e.content.length>0)o=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:o})},"Z<>":St,pod:$r,":code":Ve("<pre><code>","</code></pre>"),code:Or(Ve("<pre><code>","</code></pre>")),data:St,":verbatim":(t,r)=>(e,n,s)=>{if(e.error&&t.emit("errors",e.location),n!=null&&n.maskMode){t.write(Jr(e.value));return}s(e.value,n)},":blankline":St,":ambient":St,":config":Ir((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,St)),":alias":Ir((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,St)),para:Or($r),":para":Ve("<p>","</p>"),"head:block":ha({":para":$r},Ir((t,r)=>{let{level:e}=t,n=Lu(t,r);return Ve(`<h${e}${n?` id="${n}"`:""}>`,`</h${e}>`)})),":list":Ir((t,r)=>t.list==="ordered"?Ve("<ol>","</ol>"):t.list==="variable"?Ve("<dl>","</dl>"):t.list==="task"?Ve('<ul class="task-list">',"</ul>"):Ve("<ul>","</ul>")),"item:block":(t,r)=>(e,n,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,n),t.writeRaw("</li>")},"comment:block":St,"boundary:block":(t,r)=>(e,n)=>{let s=Ct(e,n);s.exists("caption")?(t.writeRaw('<hr title="'),t.write(s.getFirstValue("caption")),t.writeRaw('">')):t.writeRaw("<hr>")},defn:Ve("","</dd>"),"term:para":Ve("<dt>","</dt><dd>"),nested:Or($r,1),output:Or(Ve("<pre><samp>","</samp></pre>"),1),input:Or(Ve("<pre><kbd>","</kbd></pre>"),1),"table:block":Or((t,r)=>(e,n,s)=>{let o=Ct(e,n);t.writeRaw("<table>"),o.exists("caption")&&(t.writeRaw("<caption>"),t.write(o.getFirstValue("caption")),t.writeRaw("</caption>"));let l={...n,...e.align&&{"table.align":e.align}},f=e.content||[],c=I=>I&&I.name==="row"&&Array.isArray(I.config)&&I.config.some(q=>q.name==="header"&&q.value!==!1);if(!f.some(c)){s(f,l),t.writeRaw("</table>");return}let h=f.filter(I=>I&&I.name==="row"),$=f.filter(I=>!I||I.name!=="row"),k=0;for(;k<h.length&&c(h[k]);)k++;let x=h.slice(0,k),A=h.slice(k);s($,l),t.writeRaw("<thead>"),s(x,l),t.writeRaw("</thead>"),A.length>0&&(t.writeRaw("<tbody>"),s(A,l),t.writeRaw("</tbody>")),t.writeRaw("</table>")}),":separator":St,row:(t,r)=>(e,n,s)=>{let o=Ct(e,n),l=o.exists("header")&&o.getFirstValue("header")!==!1;t.writeRaw("<tr>"),s(e.content,{...n,__row_header:l,cellinRow:0}),t.writeRaw("</tr>")},cell:(t,r)=>(e,n,s)=>{let o=n.__row_header?"th":"td",l=Ct(e,n),f=l.exists("colspan")?l.getFirstValue("colspan"):null,c=l.exists("rowspan")?l.getFirstValue("rowspan"):null,g=($=>{if(!Array.isArray($))return null;let k=n.cellinRow++;return $[k]||null})(n["table.align"]),h="";f!==null&&Number(f)>1&&(h+=` colspan="${f}"`),c!==null&&Number(c)>1&&(h+=` rowspan="${c}"`),g&&["left","right","center","justify"].includes(g)&&(h+=` style="text-align:${g}"`),t.writeRaw(`<${o}${h}>`),s(e.content,n),t.writeRaw(`</${o}>`)},":toc":(t,r)=>(e,n,s)=>{t.writeRaw('<div className="toc">');let o=Ct(e,n);if(o.exists("title")){let l=o.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}s(e.content,n),t.writeRaw("</div>")},":toc-list":Ir((t,r)=>Ve(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Ir((t,r)=>Ve('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,n,s)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var ZA=new om.default({strict:!0,allowUnionTypes:!0});function jd(){var t=[];return r.use=e,r.parse=n,r.use(Bd),r.use(Ud),r.use(Hd),r.use(Wd),r.use(rm),r.use(im),r.use(Vd),r.use(Kd),r.use(Gd),r;function r(){}function e(s){if(!["function"].includes(typeof s))throw s;return t.push(s),r}function n(s,o={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=o,c=am.parse(s,{podMode:f});if(!l)for(let g=0;g<t.length;g++){let h=t[g];c=h(o)(c)}return c}}var Rd=jd().parse;var{version:JA}=sm();function Ju(t){if(t)throw t}var Pm=Sr(um(),1),af=Sr(bm(),1);function uo(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 $m(){let t=[],r={run:e,use:n};return r;function e(...s){let o=-1,l=s.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...s);function f(c,...g){let h=t[++o],$=-1;if(c){l(c);return}for(;++$<s.length;)(g[$]===null||g[$]===void 0)&&(g[$]=s[$]);s=g,h?Mk(h,f)(...g):l(null,...g)}}function n(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),r}}function Mk(t,r){let e;return n;function n(...l){let f=t.length>l.length,c;f&&l.push(s);try{c=t.apply(this,l)}catch(g){let h=g;if(f&&e)throw h;return s(h)}f||(c instanceof Promise?c.then(o,s):c instanceof Error?s(c):o(c))}function s(l,...f){e||(e=!0,r(l,...f))}function o(l){s(null,l)}}var Am=Sr(km(),1);function Fi(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?vm(t.position):"start"in t||"end"in t?vm(t):"line"in t||"column"in t?Qu(t):""}function Qu(t){return xm(t&&t.line)+":"+xm(t&&t.column)}function vm(t){return Qu(t&&t.start)+"-"+Qu(t&&t.end)}function xm(t){return t&&typeof t=="number"?t:1}var wr=class extends Error{constructor(r,e,n){let s=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(n=e,e=void 0),typeof n=="string"){let l=n.indexOf(":");l===-1?s[1]=n:(s[0]=n.slice(0,l),s[1]=n.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(o=e.position):"start"in e||"end"in e?o=e:("line"in e||"column"in e)&&(o.start=e)),this.name=Fi(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=o.start.line,this.column=o.start.column,this.source=s[0],this.ruleId=s[1],this.position=o,this.actual,this.expected,this.file,this.url,this.note}};wr.prototype.file="";wr.prototype.name="";wr.prototype.reason="";wr.prototype.message="";wr.prototype.stack="";wr.prototype.fatal=null;wr.prototype.column=null;wr.prototype.line=null;wr.prototype.source=null;wr.prototype.ruleId=null;wr.prototype.position=null;var Qr=Sr(require("path"),1);var Xu=Sr(require("process"),1);var Yu=require("url");function wa(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var ef=["history","path","basename","stem","extname","dirname"],fo=class{constructor(r){let e;r?typeof r=="string"||(0,Am.default)(r)?e={value:r}:wa(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=Xu.default.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<ef.length;){let o=ef[n];o in e&&e[o]!==void 0&&(this[o]=o==="history"?[...e[o]]:e[o])}let s;for(s in e)ef.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(r){wa(r)&&(r=(0,Yu.fileURLToPath)(r)),rf(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?Qr.default.dirname(this.path):void 0}set dirname(r){Cm(this.basename,"dirname"),this.path=Qr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Qr.default.basename(this.path):void 0}set basename(r){rf(r,"basename"),tf(r,"basename"),this.path=Qr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Qr.default.extname(this.path):void 0}set extname(r){if(tf(r,"extname"),Cm(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=Qr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Qr.default.basename(this.path,this.extname):void 0}set stem(r){rf(r,"stem"),tf(r,"stem"),this.path=Qr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,n){let s=new wr(r,e,n);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(r,e,n){let s=this.message(r,e,n);return s.fatal=null,s}fail(r,e,n){let s=this.message(r,e,n);throw s.fatal=!0,s}};function tf(t,r){if(t&&t.includes(Qr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Qr.default.sep+"`")}function rf(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Cm(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var lf=Fm().freeze(),Tm={}.hasOwnProperty;function Fm(){let t=$m(),r=[],e={},n,s=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=f,o.attachers=r,o.use=c,o.parse=g,o.stringify=h,o.run=$,o.runSync=k,o.process=x,o.processSync=A,o;function o(){let I=Fm(),q=-1;for(;++q<r.length;)I.use(...r[q]);return I.data((0,af.default)(!0,{},e)),I}function l(I,q){return typeof I=="string"?arguments.length===2?(of("data",n),e[I]=q,o):Tm.call(e,I)&&e[I]||null:I?(of("data",n),e=I,o):e}function f(){if(n)return o;for(;++s<r.length;){let[I,...q]=r[s];if(q[0]===!1)continue;q[0]===!0&&(q[0]=void 0);let B=I.call(o,...q);typeof B=="function"&&t.use(B)}return n=!0,s=Number.POSITIVE_INFINITY,o}function c(I,...q){let B;if(of("use",n),I!=null)if(typeof I=="function")he(I,...q);else if(typeof I=="object")Array.isArray(I)?$e(I):le(I);else throw new TypeError("Expected usable value, not `"+I+"`");return B&&(e.settings=Object.assign(e.settings||{},B)),o;function X(Y){if(typeof Y=="function")he(Y);else if(typeof Y=="object")if(Array.isArray(Y)){let[pe,...ve]=Y;he(pe,...ve)}else le(Y);else throw new TypeError("Expected usable value, not `"+Y+"`")}function le(Y){$e(Y.plugins),Y.settings&&(B=Object.assign(B||{},Y.settings))}function $e(Y){let pe=-1;if(Y!=null)if(Array.isArray(Y))for(;++pe<Y.length;){let ve=Y[pe];X(ve)}else throw new TypeError("Expected a list of plugins, not `"+Y+"`")}function he(Y,pe){let ve=-1,ke;for(;++ve<r.length;)if(r[ve][0]===Y){ke=r[ve];break}ke?(uo(ke[1])&&uo(pe)&&(pe=(0,af.default)(!0,ke[1],pe)),ke[1]=pe):r.push([...arguments])}}function g(I){o.freeze();let q=co(I),B=o.Parser;return nf("parse",B),Em(B,"parse")?new B(String(q),q).parse():B(String(q),q)}function h(I,q){o.freeze();let B=co(q),X=o.Compiler;return sf("stringify",X),_m(I),Em(X,"compile")?new X(I,B).compile():X(I,B)}function $(I,q,B){if(_m(I),o.freeze(),!B&&typeof q=="function"&&(B=q,q=void 0),!B)return new Promise(X);X(null,B);function X(le,$e){t.run(I,co(q),he);function he(Y,pe,ve){pe=pe||I,Y?$e(Y):le?le(pe):B(null,pe,ve)}}}function k(I,q){let B,X;return o.run(I,q,le),Sm("runSync","run",X),B;function le($e,he){Ju($e),B=he,X=!0}}function x(I,q){if(o.freeze(),nf("process",o.Parser),sf("process",o.Compiler),!q)return new Promise(B);B(null,q);function B(X,le){let $e=co(I);o.run(o.parse($e),$e,(Y,pe,ve)=>{if(Y||!pe||!ve)he(Y);else{let ke=o.stringify(pe,ve);ke==null||(Uk(ke)?ve.value=ke:ve.result=ke),he(Y,ve)}});function he(Y,pe){Y||!pe?le(Y):X?X(pe):q(null,pe)}}}function A(I){let q;o.freeze(),nf("processSync",o.Parser),sf("processSync",o.Compiler);let B=co(I);return o.process(B,X),Sm("processSync","process",q),B;function X(le){q=!0,Ju(le)}}}function Em(t,r){return typeof t=="function"&&t.prototype&&(zk(t.prototype)||r in t.prototype)}function zk(t){let r;for(r in t)if(Tm.call(t,r))return!0;return!1}function nf(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function sf(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function of(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 _m(t){if(!uo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Sm(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function co(t){return Vk(t)?t:new fo(t)}function Vk(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Uk(t){return typeof t=="string"||(0,Pm.default)(t)}function Om(t,r){var{includeImageAlt:e=!0}=r||{};return Rm(t,e)}function Rm(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&Im(t.children,r)||Array.isArray(t)&&Im(t,r))||""}function Im(t,r){for(var e=[],n=-1;++n<t.length;)e[n]=Rm(t[n],r);return e.join("")}function Rt(t,r,e,n){let s=t.length,o=0,l;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,e=e>0?e:0,n.length<1e4)l=Array.from(n),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);o<n.length;)l=n.slice(o,o+1e4),l.unshift(r,0),[].splice.apply(t,l),o+=1e4,r+=1e4}function kr(t,r){return t.length>0?(Rt(t,t.length,0,r),t):r}var qm={}.hasOwnProperty;function ka(t){let r={},e=-1;for(;++e<t.length;)Hk(r,t[e]);return r}function Hk(t,r){let e;for(e in r){let s=(qm.call(t,e)?t[e]:void 0)||(t[e]={}),o=r[e],l;for(l in o){qm.call(s,l)||(s[l]=[]);let f=o[l];Gk(s[l],Array.isArray(f)?f:f?[f]:[])}}}function Gk(t,r){let e=-1,n=[];for(;++e<r.length;)(r[e].add==="after"?t:n).push(r[e]);Rt(t,0,0,n)}var Nm=/[!-/:-@[-`{-~\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 ur=ni(/[A-Za-z]/),Ii=ni(/\d/),Dm=ni(/[\dA-Fa-f]/),Wt=ni(/[\dA-Za-z]/),Lm=ni(/[!-/:-@[-`{-~]/),uf=ni(/[#-'*+\--9=?A-Z^-~]/);function ri(t){return t!==null&&(t<32||t===127)}function rt(t){return t!==null&&(t<0||t===32)}function de(t){return t!==null&&t<-2}function He(t){return t===-2||t===-1||t===32}var Oi=ni(/\s/),Ri=ni(Nm);function ni(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function xe(t,r,e,n){let s=n?n-1:Number.POSITIVE_INFINITY,o=0;return l;function l(c){return He(c)?(t.enter(e),f(c)):r(c)}function f(c){return He(c)&&o++<s?(t.consume(c),f):(t.exit(e),r(c))}}var jm={tokenize:Kk};function Kk(t){let r=t.attempt(this.parser.constructs.contentInitial,n,s),e;return r;function n(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),xe(t,r,"linePrefix")}function s(f){return t.enter("paragraph"),o(f)}function o(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 de(f)?(t.consume(f),t.exit("chunkText"),o):(t.consume(f),l)}}var Mm={tokenize:Wk},Bm={tokenize:Zk};function Wk(t){let r=this,e=[],n=0,s,o,l;return f;function f(le){if(n<e.length){let $e=e[n];return r.containerState=$e[1],t.attempt($e[0].continuation,c,g)(le)}return g(le)}function c(le){if(n++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&X();let $e=r.events.length,he=$e,Y;for(;he--;)if(r.events[he][0]==="exit"&&r.events[he][1].type==="chunkFlow"){Y=r.events[he][1].end;break}B(n);let pe=$e;for(;pe<r.events.length;)r.events[pe][1].end=Object.assign({},Y),pe++;return Rt(r.events,he+1,0,r.events.slice($e)),r.events.length=pe,g(le)}return f(le)}function g(le){if(n===e.length){if(!s)return k(le);if(s.currentConstruct&&s.currentConstruct.concrete)return A(le);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(Bm,h,$)(le)}function h(le){return s&&X(),B(n),k(le)}function $(le){return r.parser.lazy[r.now().line]=n!==e.length,l=r.now().offset,A(le)}function k(le){return r.containerState={},t.attempt(Bm,x,A)(le)}function x(le){return n++,e.push([r.currentConstruct,r.containerState]),k(le)}function A(le){if(le===null){s&&X(),B(0),t.consume(le);return}return s=s||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:s}),I(le)}function I(le){if(le===null){q(t.exit("chunkFlow"),!0),B(0),t.consume(le);return}return de(le)?(t.consume(le),q(t.exit("chunkFlow")),n=0,r.interrupt=void 0,f):(t.consume(le),I)}function q(le,$e){let he=r.sliceStream(le);if($e&&he.push(null),le.previous=o,o&&(o.next=le),o=le,s.defineSkip(le.start),s.write(he),r.parser.lazy[le.start.line]){let Y=s.events.length;for(;Y--;)if(s.events[Y][1].start.offset<l&&(!s.events[Y][1].end||s.events[Y][1].end.offset>l))return;let pe=r.events.length,ve=pe,ke,Le;for(;ve--;)if(r.events[ve][0]==="exit"&&r.events[ve][1].type==="chunkFlow"){if(ke){Le=r.events[ve][1].end;break}ke=!0}for(B(n),Y=pe;Y<r.events.length;)r.events[Y][1].end=Object.assign({},Le),Y++;Rt(r.events,ve+1,0,r.events.slice(pe)),r.events.length=Y}}function B(le){let $e=e.length;for(;$e-- >le;){let he=e[$e];r.containerState=he[1],he[0].exit.call(r,t)}e.length=le}function X(){s.write([null]),o=void 0,s=void 0,r.containerState._closeFlow=void 0}}function Zk(t,r,e){return xe(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ys(t){if(t===null||rt(t)||Oi(t))return 1;if(Ri(t))return 2}function ii(t,r,e){let n=[],s=-1;for(;++s<t.length;){let o=t[s].resolveAll;o&&!n.includes(o)&&(r=o(r,e),n.push(o))}return r}var po={name:"attention",tokenize:Qk,resolveAll:Jk};function Jk(t,r){let e=-1,n,s,o,l,f,c,g,h;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(n=e;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&r.sliceSerialize(t[n][1]).charCodeAt(0)===r.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[n][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;c=t[n][1].end.offset-t[n][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let $=Object.assign({},t[n][1].end),k=Object.assign({},t[e][1].start);zm($,-c),zm(k,c),l={type:c>1?"strongSequence":"emphasisSequence",start:$,end:Object.assign({},t[n][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:k},o={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[n][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[n][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),g=[],t[n][1].end.offset-t[n][1].start.offset&&(g=kr(g,[["enter",t[n][1],r],["exit",t[n][1],r]])),g=kr(g,[["enter",s,r],["enter",l,r],["exit",l,r],["enter",o,r]]),g=kr(g,ii(r.parser.constructs.insideSpan.null,t.slice(n+1,e),r)),g=kr(g,[["exit",o,r],["enter",f,r],["exit",f,r],["exit",s,r]]),t[e][1].end.offset-t[e][1].start.offset?(h=2,g=kr(g,[["enter",t[e][1],r],["exit",t[e][1],r]])):h=0,Rt(t,n-1,e-n+3,g),e=n+g.length-h-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function Qk(t,r){let e=this.parser.constructs.attentionMarkers.null,n=this.previous,s=ys(n),o;return l;function l(c){return t.enter("attentionSequence"),o=c,f(c)}function f(c){if(c===o)return t.consume(c),f;let g=t.exit("attentionSequence"),h=ys(c),$=!h||h===2&&s||e.includes(c),k=!s||s===2&&h||e.includes(n);return g._open=Boolean(o===42?$:$&&(s||!k)),g._close=Boolean(o===42?k:k&&(h||!$)),r(c)}}function zm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var ff={name:"autolink",tokenize:Xk};function Xk(t,r,e){let n=1;return s;function s(A){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(A),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(A){return ur(A)?(t.consume(A),l):uf(A)?g(A):e(A)}function l(A){return A===43||A===45||A===46||Wt(A)?f(A):g(A)}function f(A){return A===58?(t.consume(A),c):(A===43||A===45||A===46||Wt(A))&&n++<32?(t.consume(A),f):g(A)}function c(A){return A===62?(t.exit("autolinkProtocol"),x(A)):A===null||A===32||A===60||ri(A)?e(A):(t.consume(A),c)}function g(A){return A===64?(t.consume(A),n=0,h):uf(A)?(t.consume(A),g):e(A)}function h(A){return Wt(A)?$(A):e(A)}function $(A){return A===46?(t.consume(A),n=0,h):A===62?(t.exit("autolinkProtocol").type="autolinkEmail",x(A)):k(A)}function k(A){return(A===45||Wt(A))&&n++<63?(t.consume(A),A===45?k:$):e(A)}function x(A){return t.enter("autolinkMarker"),t.consume(A),t.exit("autolinkMarker"),t.exit("autolink"),r}}var En={tokenize:Yk,partial:!0};function Yk(t,r,e){return xe(t,n,"linePrefix");function n(s){return s===null||de(s)?r(s):e(s)}}var va={name:"blockQuote",tokenize:ev,continuation:{tokenize:tv},exit:rv};function ev(t,r,e){let n=this;return s;function s(l){if(l===62){let f=n.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),o}return e(l)}function o(l){return He(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function tv(t,r,e){return xe(t,t.attempt(va,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function rv(t){t.exit("blockQuote")}var xa={name:"characterEscape",tokenize:nv};function nv(t,r,e){return n;function n(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),s}function s(o){return Lm(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(o)}}var cf={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:`
43
+ `,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 iv={}.hasOwnProperty;function bs(t){return iv.call(cf,t)?cf[t]:!1}var Ca={name:"characterReference",tokenize:sv};function sv(t,r,e){let n=this,s=0,o,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"),g):(t.enter("characterReferenceValue"),o=31,l=Wt,h($))}function g($){return $===88||$===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume($),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,l=Dm,h):(t.enter("characterReferenceValue"),o=7,l=Ii,h($))}function h($){let k;return $===59&&s?(k=t.exit("characterReferenceValue"),l===Wt&&!bs(n.sliceSerialize(k))?e($):(t.enter("characterReferenceMarker"),t.consume($),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l($)&&s++<o?(t.consume($),h):e($)}}var Aa={name:"codeFenced",tokenize:ov,concrete:!0};function ov(t,r,e){let n=this,s={tokenize:he,partial:!0},o={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,g;return h;function h(Y){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),g=Y,$(Y)}function $(Y){return Y===g?(t.consume(Y),c++,$):(t.exit("codeFencedFenceSequence"),c<3?e(Y):xe(t,k,"whitespace")(Y))}function k(Y){return Y===null||de(Y)?q(Y):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),x(Y))}function x(Y){return Y===null||rt(Y)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),xe(t,A,"whitespace")(Y)):Y===96&&Y===g?e(Y):(t.consume(Y),x)}function A(Y){return Y===null||de(Y)?q(Y):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),I(Y))}function I(Y){return Y===null||de(Y)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),q(Y)):Y===96&&Y===g?e(Y):(t.consume(Y),I)}function q(Y){return t.exit("codeFencedFence"),n.interrupt?r(Y):B(Y)}function B(Y){return Y===null?le(Y):de(Y)?t.attempt(o,t.attempt(s,le,f?xe(t,B,"linePrefix",f+1):B),le)(Y):(t.enter("codeFlowValue"),X(Y))}function X(Y){return Y===null||de(Y)?(t.exit("codeFlowValue"),B(Y)):(t.consume(Y),X)}function le(Y){return t.exit("codeFenced"),r(Y)}function $e(Y,pe,ve){let ke=this;return Le;function Le(Fe){return Y.enter("lineEnding"),Y.consume(Fe),Y.exit("lineEnding"),Te}function Te(Fe){return ke.parser.lazy[ke.now().line]?ve(Fe):pe(Fe)}}function he(Y,pe,ve){let ke=0;return xe(Y,Le,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Le(ge){return Y.enter("codeFencedFence"),Y.enter("codeFencedFenceSequence"),Te(ge)}function Te(ge){return ge===g?(Y.consume(ge),ke++,Te):ke<c?ve(ge):(Y.exit("codeFencedFenceSequence"),xe(Y,Fe,"whitespace")(ge))}function Fe(ge){return ge===null||de(ge)?(Y.exit("codeFencedFence"),pe(ge)):ve(ge)}}}var mo={name:"codeIndented",tokenize:lv},av={tokenize:uv,partial:!0};function lv(t,r,e){let n=this;return s;function s(g){return t.enter("codeIndented"),xe(t,o,"linePrefix",4+1)(g)}function o(g){let h=n.events[n.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?l(g):e(g)}function l(g){return g===null?c(g):de(g)?t.attempt(av,l,c)(g):(t.enter("codeFlowValue"),f(g))}function f(g){return g===null||de(g)?(t.exit("codeFlowValue"),l(g)):(t.consume(g),f)}function c(g){return t.exit("codeIndented"),r(g)}}function uv(t,r,e){let n=this;return s;function s(l){return n.parser.lazy[n.now().line]?e(l):de(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s):xe(t,o,"linePrefix",4+1)(l)}function o(l){let f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):de(l)?s(l):e(l)}}var pf={name:"codeText",tokenize:pv,resolve:fv,previous:cv};function fv(t){let r=t.length-4,e=3,n,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)s===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(s=n):(n===r||t[n][1].type==="lineEnding")&&(t[s][1].type="codeTextData",n!==s+2&&(t[s][1].end=t[n-1][1].end,t.splice(s+2,n-s-2),r-=n-s-2,n=s+2),s=void 0);return t}function cv(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function pv(t,r,e){let n=this,s=0,o,l;return f;function f(k){return t.enter("codeText"),t.enter("codeTextSequence"),c(k)}function c(k){return k===96?(t.consume(k),s++,c):(t.exit("codeTextSequence"),g(k))}function g(k){return k===null?e(k):k===96?(l=t.enter("codeTextSequence"),o=0,$(k)):k===32?(t.enter("space"),t.consume(k),t.exit("space"),g):de(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),g):(t.enter("codeTextData"),h(k))}function h(k){return k===null||k===32||k===96||de(k)?(t.exit("codeTextData"),g(k)):(t.consume(k),h)}function $(k){return k===96?(t.consume(k),o++,$):o===s?(t.exit("codeTextSequence"),t.exit("codeText"),r(k)):(l.type="codeTextData",h(k))}}function Ea(t){let r={},e=-1,n,s,o,l,f,c,g;for(;++e<t.length;){for(;e in r;)e=r[e];if(n=t[e],e&&n[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(c=n[1]._tokenizer.events,o=0,o<c.length&&c[o][1].type==="lineEndingBlank"&&(o+=2),o<c.length&&c[o][1].type==="content"))for(;++o<c.length&&c[o][1].type!=="content";)c[o][1].type==="chunkText"&&(c[o][1]._isInFirstContentOfListItem=!0,o++);if(n[0]==="enter")n[1].contentType&&(Object.assign(r,dv(t,e)),e=r[e],g=!0);else if(n[1]._container){for(o=e,s=void 0;o--&&(l=t[o],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(s&&(t[s][1].type="lineEndingBlank"),l[1].type="lineEnding",s=o);s&&(n[1].end=Object.assign({},t[s][1].start),f=t.slice(s,e),f.unshift(n),Rt(t,s,e-s+1,f))}}return!g}function dv(t,r){let e=t[r][1],n=t[r][2],s=r-1,o=[],l=e._tokenizer||n.parser[e.contentType](e.start),f=l.events,c=[],g={},h,$,k=-1,x=e,A=0,I=0,q=[I];for(;x;){for(;t[++s][1]!==x;);o.push(s),x._tokenizer||(h=n.sliceStream(x),x.next||h.push(null),$&&l.defineSkip(x.start),x._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(h),x._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),$=x,x=x.next}for(x=e;++k<f.length;)f[k][0]==="exit"&&f[k-1][0]==="enter"&&f[k][1].type===f[k-1][1].type&&f[k][1].start.line!==f[k][1].end.line&&(I=k+1,q.push(I),x._tokenizer=void 0,x.previous=void 0,x=x.next);for(l.events=[],x?(x._tokenizer=void 0,x.previous=void 0):q.pop(),k=q.length;k--;){let B=f.slice(q[k],q[k+1]),X=o.pop();c.unshift([X,X+B.length-1]),Rt(t,X,2,B)}for(k=-1;++k<c.length;)g[A+c[k][0]]=A+c[k][1],A+=c[k][1]-c[k][0]-1;return g}var df={tokenize:gv,resolve:hv},mv={tokenize:yv,partial:!0};function hv(t){return Ea(t),t}function gv(t,r){let e;return n;function n(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?o(f):de(f)?t.check(mv,l,o)(f):(t.consume(f),s)}function o(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 yv(t,r,e){let n=this;return s;function s(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),xe(t,o,"linePrefix")}function o(l){if(l===null||de(l))return e(l);let f=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):t.interrupt(n.parser.constructs.flow,e,r)(l)}}function _a(t,r,e,n,s,o,l,f,c){let g=c||Number.POSITIVE_INFINITY,h=0;return $;function $(B){return B===60?(t.enter(n),t.enter(s),t.enter(o),t.consume(B),t.exit(o),k):B===null||B===41||ri(B)?e(B):(t.enter(n),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),I(B))}function k(B){return B===62?(t.enter(o),t.consume(B),t.exit(o),t.exit(s),t.exit(n),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),x(B))}function x(B){return B===62?(t.exit("chunkString"),t.exit(f),k(B)):B===null||B===60||de(B)?e(B):(t.consume(B),B===92?A:x)}function A(B){return B===60||B===62||B===92?(t.consume(B),x):x(B)}function I(B){return B===40?++h>g?e(B):(t.consume(B),I):B===41?h--?(t.consume(B),I):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(B)):B===null||rt(B)?h?e(B):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(B)):ri(B)?e(B):(t.consume(B),B===92?q:I)}function q(B){return B===40||B===41||B===92?(t.consume(B),I):I(B)}}function Sa(t,r,e,n,s,o){let l=this,f=0,c;return g;function g(x){return t.enter(n),t.enter(s),t.consume(x),t.exit(s),t.enter(o),h}function h(x){return x===null||x===91||x===93&&!c||x===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(x):x===93?(t.exit(o),t.enter(s),t.consume(x),t.exit(s),t.exit(n),r):de(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),h):(t.enter("chunkString",{contentType:"string"}),$(x))}function $(x){return x===null||x===91||x===93||de(x)||f++>999?(t.exit("chunkString"),h(x)):(t.consume(x),c=c||!He(x),x===92?k:$)}function k(x){return x===91||x===92||x===93?(t.consume(x),f++,$):$(x)}}function Pa(t,r,e,n,s,o){let l;return f;function f(k){return t.enter(n),t.enter(s),t.consume(k),t.exit(s),l=k===40?41:k,c}function c(k){return k===l?(t.enter(s),t.consume(k),t.exit(s),t.exit(n),r):(t.enter(o),g(k))}function g(k){return k===l?(t.exit(o),c(l)):k===null?e(k):de(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),xe(t,g,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),h(k))}function h(k){return k===l||k===null||de(k)?(t.exit("chunkString"),g(k)):(t.consume(k),k===92?$:h)}function $(k){return k===l||k===92?(t.consume(k),h):h(k)}}function qi(t,r){let e;return n;function n(s){return de(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e=!0,n):He(s)?xe(t,n,e?"linePrefix":"lineSuffix")(s):r(s)}}function fr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var mf={name:"definition",tokenize:$v},bv={tokenize:wv,partial:!0};function $v(t,r,e){let n=this,s;return o;function o(c){return t.enter("definition"),Sa.call(n,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return s=fr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),qi(t,_a(t,t.attempt(bv,xe(t,f,"whitespace"),xe(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||de(c)?(t.exit("definition"),n.parser.defined.includes(s)||n.parser.defined.push(s),r(c)):e(c)}}function wv(t,r,e){return n;function n(l){return rt(l)?qi(t,s)(l):e(l)}function s(l){return l===34||l===39||l===40?Pa(t,xe(t,o,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function o(l){return l===null||de(l)?r(l):e(l)}}var hf={name:"hardBreakEscape",tokenize:kv};function kv(t,r,e){return n;function n(o){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(o),s}function s(o){return de(o)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(o)):e(o)}}var gf={name:"headingAtx",tokenize:xv,resolve:vv};function vv(t,r){let e=t.length-2,n=3,s,o;return t[n][1].type==="whitespace"&&(n+=2),e-2>n&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(n===e-1||e-4>n&&t[e-2][1].type==="whitespace")&&(e-=n+1===e?2:4),e>n&&(s={type:"atxHeadingText",start:t[n][1].start,end:t[e][1].end},o={type:"chunkText",start:t[n][1].start,end:t[e][1].end,contentType:"text"},Rt(t,n,e-n+1,[["enter",s,r],["enter",o,r],["exit",o,r],["exit",s,r]])),t}function xv(t,r,e){let n=this,s=0;return o;function o(h){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(h)}function l(h){return h===35&&s++<6?(t.consume(h),l):h===null||rt(h)?(t.exit("atxHeadingSequence"),n.interrupt?r(h):f(h)):e(h)}function f(h){return h===35?(t.enter("atxHeadingSequence"),c(h)):h===null||de(h)?(t.exit("atxHeading"),r(h)):He(h)?xe(t,f,"whitespace")(h):(t.enter("atxHeadingText"),g(h))}function c(h){return h===35?(t.consume(h),c):(t.exit("atxHeadingSequence"),f(h))}function g(h){return h===null||h===35||rt(h)?(t.exit("atxHeadingText"),f(h)):(t.consume(h),g)}}var Vm=["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"],yf=["pre","script","style","textarea"];var bf={name:"htmlFlow",tokenize:Ev,resolveTo:Av,concrete:!0},Cv={tokenize:_v,partial:!0};function Av(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 Ev(t,r,e){let n=this,s,o,l,f,c;return g;function g(U){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(U),h}function h(U){return U===33?(t.consume(U),$):U===47?(t.consume(U),A):U===63?(t.consume(U),s=3,n.interrupt?r:wt):ur(U)?(t.consume(U),l=String.fromCharCode(U),o=!0,I):e(U)}function $(U){return U===45?(t.consume(U),s=2,k):U===91?(t.consume(U),s=5,l="CDATA[",f=0,x):ur(U)?(t.consume(U),s=4,n.interrupt?r:wt):e(U)}function k(U){return U===45?(t.consume(U),n.interrupt?r:wt):e(U)}function x(U){return U===l.charCodeAt(f++)?(t.consume(U),f===l.length?n.interrupt?r:Te:x):e(U)}function A(U){return ur(U)?(t.consume(U),l=String.fromCharCode(U),I):e(U)}function I(U){return U===null||U===47||U===62||rt(U)?U!==47&&o&&yf.includes(l.toLowerCase())?(s=1,n.interrupt?r(U):Te(U)):Vm.includes(l.toLowerCase())?(s=6,U===47?(t.consume(U),q):n.interrupt?r(U):Te(U)):(s=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(U):o?X(U):B(U)):U===45||Wt(U)?(t.consume(U),l+=String.fromCharCode(U),I):e(U)}function q(U){return U===62?(t.consume(U),n.interrupt?r:Te):e(U)}function B(U){return He(U)?(t.consume(U),B):ke(U)}function X(U){return U===47?(t.consume(U),ke):U===58||U===95||ur(U)?(t.consume(U),le):He(U)?(t.consume(U),X):ke(U)}function le(U){return U===45||U===46||U===58||U===95||Wt(U)?(t.consume(U),le):$e(U)}function $e(U){return U===61?(t.consume(U),he):He(U)?(t.consume(U),$e):X(U)}function he(U){return U===null||U===60||U===61||U===62||U===96?e(U):U===34||U===39?(t.consume(U),c=U,Y):He(U)?(t.consume(U),he):(c=null,pe(U))}function Y(U){return U===null||de(U)?e(U):U===c?(t.consume(U),ve):(t.consume(U),Y)}function pe(U){return U===null||U===34||U===39||U===60||U===61||U===62||U===96||rt(U)?$e(U):(t.consume(U),pe)}function ve(U){return U===47||U===62||He(U)?X(U):e(U)}function ke(U){return U===62?(t.consume(U),Le):e(U)}function Le(U){return He(U)?(t.consume(U),Le):U===null||de(U)?Te(U):e(U)}function Te(U){return U===45&&s===2?(t.consume(U),Qe):U===60&&s===1?(t.consume(U),ne):U===62&&s===4?(t.consume(U),nt):U===63&&s===3?(t.consume(U),wt):U===93&&s===5?(t.consume(U),Xe):de(U)&&(s===6||s===7)?t.check(Cv,nt,Fe)(U):U===null||de(U)?Fe(U):(t.consume(U),Te)}function Fe(U){return t.exit("htmlFlowData"),ge(U)}function ge(U){return U===null?z(U):de(U)?t.attempt({tokenize:Pe,partial:!0},ge,z)(U):(t.enter("htmlFlowData"),Te(U))}function Pe(U,dr,Lt){return kt;function kt(Ft){return U.enter("lineEnding"),U.consume(Ft),U.exit("lineEnding"),Tt}function Tt(Ft){return n.parser.lazy[n.now().line]?Lt(Ft):dr(Ft)}}function Qe(U){return U===45?(t.consume(U),wt):Te(U)}function ne(U){return U===47?(t.consume(U),l="",$t):Te(U)}function $t(U){return U===62&&yf.includes(l.toLowerCase())?(t.consume(U),nt):ur(U)&&l.length<8?(t.consume(U),l+=String.fromCharCode(U),$t):Te(U)}function Xe(U){return U===93?(t.consume(U),wt):Te(U)}function wt(U){return U===62?(t.consume(U),nt):U===45&&s===2?(t.consume(U),wt):Te(U)}function nt(U){return U===null||de(U)?(t.exit("htmlFlowData"),z(U)):(t.consume(U),nt)}function z(U){return t.exit("htmlFlow"),r(U)}}function _v(t,r,e){return n;function n(s){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),t.attempt(En,r,e)}}var $f={name:"htmlText",tokenize:Sv};function Sv(t,r,e){let n=this,s,o,l,f;return c;function c(z){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(z),g}function g(z){return z===33?(t.consume(z),h):z===47?(t.consume(z),pe):z===63?(t.consume(z),he):ur(z)?(t.consume(z),Le):e(z)}function h(z){return z===45?(t.consume(z),$):z===91?(t.consume(z),o="CDATA[",l=0,q):ur(z)?(t.consume(z),$e):e(z)}function $(z){return z===45?(t.consume(z),k):e(z)}function k(z){return z===null||z===62?e(z):z===45?(t.consume(z),x):A(z)}function x(z){return z===null||z===62?e(z):A(z)}function A(z){return z===null?e(z):z===45?(t.consume(z),I):de(z)?(f=A,Xe(z)):(t.consume(z),A)}function I(z){return z===45?(t.consume(z),nt):A(z)}function q(z){return z===o.charCodeAt(l++)?(t.consume(z),l===o.length?B:q):e(z)}function B(z){return z===null?e(z):z===93?(t.consume(z),X):de(z)?(f=B,Xe(z)):(t.consume(z),B)}function X(z){return z===93?(t.consume(z),le):B(z)}function le(z){return z===62?nt(z):z===93?(t.consume(z),le):B(z)}function $e(z){return z===null||z===62?nt(z):de(z)?(f=$e,Xe(z)):(t.consume(z),$e)}function he(z){return z===null?e(z):z===63?(t.consume(z),Y):de(z)?(f=he,Xe(z)):(t.consume(z),he)}function Y(z){return z===62?nt(z):he(z)}function pe(z){return ur(z)?(t.consume(z),ve):e(z)}function ve(z){return z===45||Wt(z)?(t.consume(z),ve):ke(z)}function ke(z){return de(z)?(f=ke,Xe(z)):He(z)?(t.consume(z),ke):nt(z)}function Le(z){return z===45||Wt(z)?(t.consume(z),Le):z===47||z===62||rt(z)?Te(z):e(z)}function Te(z){return z===47?(t.consume(z),nt):z===58||z===95||ur(z)?(t.consume(z),Fe):de(z)?(f=Te,Xe(z)):He(z)?(t.consume(z),Te):nt(z)}function Fe(z){return z===45||z===46||z===58||z===95||Wt(z)?(t.consume(z),Fe):ge(z)}function ge(z){return z===61?(t.consume(z),Pe):de(z)?(f=ge,Xe(z)):He(z)?(t.consume(z),ge):Te(z)}function Pe(z){return z===null||z===60||z===61||z===62||z===96?e(z):z===34||z===39?(t.consume(z),s=z,Qe):de(z)?(f=Pe,Xe(z)):He(z)?(t.consume(z),Pe):(t.consume(z),s=void 0,$t)}function Qe(z){return z===s?(t.consume(z),ne):z===null?e(z):de(z)?(f=Qe,Xe(z)):(t.consume(z),Qe)}function ne(z){return z===62||z===47||rt(z)?Te(z):e(z)}function $t(z){return z===null||z===34||z===39||z===60||z===61||z===96?e(z):z===62||rt(z)?Te(z):(t.consume(z),$t)}function Xe(z){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),xe(t,wt,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wt(z){return t.enter("htmlTextData"),f(z)}function nt(z){return z===62?(t.consume(z),t.exit("htmlTextData"),t.exit("htmlText"),r):e(z)}}var Ni={name:"labelEnd",tokenize:Rv,resolveTo:Ov,resolveAll:Iv},Pv={tokenize:qv},Tv={tokenize:Nv},Fv={tokenize:Dv};function Iv(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 Ov(t,r){let e=t.length,n=0,s,o,l,f;for(;e--;)if(s=t[e][1],o){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&&(o=e,s.type!=="labelLink")){n=2;break}}else s.type==="labelEnd"&&(l=e);let c={type:t[o][1].type==="labelLink"?"link":"image",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)},g={type:"label",start:Object.assign({},t[o][1].start),end:Object.assign({},t[l][1].end)},h={type:"labelText",start:Object.assign({},t[o+n+2][1].end),end:Object.assign({},t[l-2][1].start)};return f=[["enter",c,r],["enter",g,r]],f=kr(f,t.slice(o+1,o+n+3)),f=kr(f,[["enter",h,r]]),f=kr(f,ii(r.parser.constructs.insideSpan.null,t.slice(o+n+4,l-3),r)),f=kr(f,[["exit",h,r],t[l-2],t[l-1],["exit",g,r]]),f=kr(f,t.slice(l+1)),f=kr(f,[["exit",c,r]]),Rt(t,o,t.length,f),t}function Rv(t,r,e){let n=this,s=n.events.length,o,l;for(;s--;)if((n.events[s][1].type==="labelImage"||n.events[s][1].type==="labelLink")&&!n.events[s][1]._balanced){o=n.events[s][1];break}return f;function f(h){return o?o._inactive?g(h):(l=n.parser.defined.includes(fr(n.sliceSerialize({start:o.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(h),t.exit("labelMarker"),t.exit("labelEnd"),c):e(h)}function c(h){return h===40?t.attempt(Pv,r,l?r:g)(h):h===91?t.attempt(Tv,r,l?t.attempt(Fv,r,g):g)(h):l?r(h):g(h)}function g(h){return o._balanced=!0,e(h)}}function qv(t,r,e){return n;function n(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),qi(t,s)}function s(c){return c===41?f(c):_a(t,o,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function o(c){return rt(c)?qi(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?Pa(t,qi(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 Nv(t,r,e){let n=this;return s;function s(l){return Sa.call(n,t,o,e,"reference","referenceMarker","referenceString")(l)}function o(l){return n.parser.defined.includes(fr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function Dv(t,r,e){return n;function n(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),s}function s(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),r):e(o)}}var wf={name:"labelStartImage",tokenize:Lv,resolveAll:Ni.resolveAll};function Lv(t,r,e){let n=this;return s;function s(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),o}function o(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 n.parser.constructs?e(f):r(f)}}var kf={name:"labelStartLink",tokenize:jv,resolveAll:Ni.resolveAll};function jv(t,r,e){let n=this;return s;function s(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(l):r(l)}}var ho={name:"lineEnding",tokenize:Bv};function Bv(t,r){return e;function e(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),xe(t,r,"linePrefix")}}var Di={name:"thematicBreak",tokenize:Mv};function Mv(t,r,e){let n=0,s;return o;function o(c){return t.enter("thematicBreak"),s=c,l(c)}function l(c){return c===s?(t.enter("thematicBreakSequence"),f(c)):He(c)?xe(t,l,"whitespace")(c):n<3||c!==null&&!de(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===s?(t.consume(c),n++,f):(t.exit("thematicBreakSequence"),l(c))}}var cr={name:"list",tokenize:Uv,continuation:{tokenize:Hv},exit:Kv},zv={tokenize:Wv,partial:!0},Vv={tokenize:Gv,partial:!0};function Uv(t,r,e){let n=this,s=n.events[n.events.length-1],o=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(x){let A=n.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!n.containerState.marker||x===n.containerState.marker:Ii(x)){if(n.containerState.type||(n.containerState.type=A,t.enter(A,{_container:!0})),A==="listUnordered")return t.enter("listItemPrefix"),x===42||x===45?t.check(Di,e,g)(x):g(x);if(!n.interrupt||x===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(x)}return e(x)}function c(x){return Ii(x)&&++l<10?(t.consume(x),c):(!n.interrupt||l<2)&&(n.containerState.marker?x===n.containerState.marker:x===41||x===46)?(t.exit("listItemValue"),g(x)):e(x)}function g(x){return t.enter("listItemMarker"),t.consume(x),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||x,t.check(En,n.interrupt?e:h,t.attempt(zv,k,$))}function h(x){return n.containerState.initialBlankLine=!0,o++,k(x)}function $(x){return He(x)?(t.enter("listItemPrefixWhitespace"),t.consume(x),t.exit("listItemPrefixWhitespace"),k):e(x)}function k(x){return n.containerState.size=o+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(x)}}function Hv(t,r,e){let n=this;return n.containerState._closeFlow=void 0,t.check(En,s,o);function s(f){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,xe(t,r,"listItemIndent",n.containerState.size+1)(f)}function o(f){return n.containerState.furtherBlankLines||!He(f)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(f)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(Vv,r,l)(f))}function l(f){return n.containerState._closeFlow=!0,n.interrupt=void 0,xe(t,t.attempt(cr,r,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function Gv(t,r,e){let n=this;return xe(t,s,"listItemIndent",n.containerState.size+1);function s(o){let l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?r(o):e(o)}}function Kv(t){t.exit(this.containerState.type)}function Wv(t,r,e){let n=this;return xe(t,s,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(o){let l=n.events[n.events.length-1];return!He(o)&&l&&l[1].type==="listItemPrefixWhitespace"?r(o):e(o)}}var Ta={name:"setextUnderline",tokenize:Jv,resolveTo:Zv};function Zv(t,r){let e=t.length,n,s,o;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){n=e;break}t[e][1].type==="paragraph"&&(s=e)}else t[e][1].type==="content"&&t.splice(e,1),!o&&t[e][1].type==="definition"&&(o=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",o?(t.splice(s,0,["enter",l,r]),t.splice(o+1,0,["exit",t[n][1],r]),t[n][1].end=Object.assign({},t[o][1].end)):t[n][1]=l,t.push(["exit",l,r]),t}function Jv(t,r,e){let n=this,s=n.events.length,o,l;for(;s--;)if(n.events[s][1].type!=="lineEnding"&&n.events[s][1].type!=="linePrefix"&&n.events[s][1].type!=="content"){l=n.events[s][1].type==="paragraph";break}return f;function f(h){return!n.parser.lazy[n.now().line]&&(n.interrupt||l)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),o=h,c(h)):e(h)}function c(h){return h===o?(t.consume(h),c):(t.exit("setextHeadingLineSequence"),xe(t,g,"lineSuffix")(h))}function g(h){return h===null||de(h)?(t.exit("setextHeadingLine"),r(h)):e(h)}}var Um={tokenize:Qv};function Qv(t){let r=this,e=t.attempt(En,n,t.attempt(this.parser.constructs.flowInitial,s,xe(t,t.attempt(this.parser.constructs.flow,s,t.attempt(df,s)),"linePrefix")));return e;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function s(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var Hm={resolveAll:Zm()},Gm=Wm("string"),Km=Wm("text");function Wm(t){return{tokenize:r,resolveAll:Zm(t==="text"?Xv:void 0)};function r(e){let n=this,s=this.parser.constructs[t],o=e.attempt(s,l,f);return l;function l(h){return g(h)?o(h):f(h)}function f(h){if(h===null){e.consume(h);return}return e.enter("data"),e.consume(h),c}function c(h){return g(h)?(e.exit("data"),o(h)):(e.consume(h),c)}function g(h){if(h===null)return!0;let $=s[h],k=-1;if($)for(;++k<$.length;){let x=$[k];if(!x.previous||x.previous.call(n,n.previous))return!0}return!1}}}function Zm(t){return r;function r(e,n){let s=-1,o;for(;++s<=e.length;)o===void 0?e[s]&&e[s][1].type==="data"&&(o=s,s++):(!e[s]||e[s][1].type!=="data")&&(s!==o+2&&(e[o][1].end=e[s-1][1].end,e.splice(o+2,s-o-2),s=o+2),o=void 0);return t?t(e,n):e}}function Xv(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 n=t[e-1][1],s=r.sliceStream(n),o=s.length,l=-1,f=0,c;for(;o--;){let g=s[o];if(typeof g=="string"){for(l=g.length;g.charCodeAt(l-1)===32;)f++,l--;if(l)break;l=-1}else if(g===-2)c=!0,f++;else if(g!==-1){o++;break}}if(f){let g={type:e===t.length||c||f<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-f,offset:n.end.offset-f,_index:n.start._index+o,_bufferIndex:o?l:n.start._bufferIndex+l},end:Object.assign({},n.end)};n.end=Object.assign({},g.start),n.start.offset===n.end.offset?Object.assign(n,g):(t.splice(e,0,["enter",g,r],["exit",g,r]),e+=2)}e++}return t}function Jm(t,r,e){let n=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),s={},o=[],l=[],f=[],c=!0,g={consume:$e,enter:he,exit:Y,attempt:ke(pe),check:ke(ve),interrupt:ke(ve,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:I,sliceSerialize:A,now:q,defineSkip:B,write:x},$=r.tokenize.call(h,g),k;return r.resolveAll&&o.push(r),h;function x(ge){return l=kr(l,ge),X(),l[l.length-1]!==null?[]:(Le(r,0),h.events=ii(o,h.events,h),h.events)}function A(ge,Pe){return e0(I(ge),Pe)}function I(ge){return Yv(l,ge)}function q(){return Object.assign({},n)}function B(ge){s[ge.line]=ge.column,Fe()}function X(){let ge;for(;n._index<l.length;){let Pe=l[n._index];if(typeof Pe=="string")for(ge=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===ge&&n._bufferIndex<Pe.length;)le(Pe.charCodeAt(n._bufferIndex));else le(Pe)}}function le(ge){c=void 0,k=ge,$=$(ge)}function $e(ge){de(ge)?(n.line++,n.column=1,n.offset+=ge===-3?2:1,Fe()):ge!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),h.previous=ge,c=!0}function he(ge,Pe){let Qe=Pe||{};return Qe.type=ge,Qe.start=q(),h.events.push(["enter",Qe,h]),f.push(Qe),Qe}function Y(ge){let Pe=f.pop();return Pe.end=q(),h.events.push(["exit",Pe,h]),Pe}function pe(ge,Pe){Le(ge,Pe.from)}function ve(ge,Pe){Pe.restore()}function ke(ge,Pe){return Qe;function Qe(ne,$t,Xe){let wt,nt,z,U;return Array.isArray(ne)?Lt(ne):"tokenize"in ne?Lt([ne]):dr(ne);function dr(ut){return tr;function tr(Vt){let vr=Vt!==null&&ut[Vt],Rr=Vt!==null&&ut.null,xr=[...Array.isArray(vr)?vr:vr?[vr]:[],...Array.isArray(Rr)?Rr:Rr?[Rr]:[]];return Lt(xr)(Vt)}}function Lt(ut){return wt=ut,nt=0,ut.length===0?Xe:kt(ut[nt])}function kt(ut){return tr;function tr(Vt){return U=Te(),z=ut,ut.partial||(h.currentConstruct=ut),ut.name&&h.parser.constructs.disable.null.includes(ut.name)?Ft(Vt):ut.tokenize.call(Pe?Object.assign(Object.create(h),Pe):h,g,Tt,Ft)(Vt)}}function Tt(ut){return c=!0,ge(z,U),$t}function Ft(ut){return c=!0,U.restore(),++nt<wt.length?kt(wt[nt]):Xe}}}function Le(ge,Pe){ge.resolveAll&&!o.includes(ge)&&o.push(ge),ge.resolve&&Rt(h.events,Pe,h.events.length-Pe,ge.resolve(h.events.slice(Pe),h)),ge.resolveTo&&(h.events=ge.resolveTo(h.events,h))}function Te(){let ge=q(),Pe=h.previous,Qe=h.currentConstruct,ne=h.events.length,$t=Array.from(f);return{restore:Xe,from:ne};function Xe(){n=ge,h.previous=Pe,h.currentConstruct=Qe,h.events.length=ne,f=$t,Fe()}}function Fe(){n.line in s&&n.column<2&&(n.column=s[n.line],n.offset+=s[n.line]-1)}}function Yv(t,r){let e=r.start._index,n=r.start._bufferIndex,s=r.end._index,o=r.end._bufferIndex,l;return e===s?l=[t[e].slice(n,o)]:(l=t.slice(e,s),n>-1&&(l[0]=l[0].slice(n)),o>0&&l.push(t[s].slice(0,o))),l}function e0(t,r){let e=-1,n=[],s;for(;++e<t.length;){let o=t[e],l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
42
44
  `;break}case-3:{l=`\r
43
- `;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&s)continue;l=" ";break}default:l=String.fromCharCode(o)}s=o===-2,n.push(l)}return n.join("")}var ff={};Qf(ff,{attentionMarkers:()=>Jv,contentInitial:()=>Vv,disable:()=>Zv,document:()=>zv,flow:()=>Hv,flowInitial:()=>Uv,insideSpan:()=>Wv,string:()=>Gv,text:()=>Kv});var zv={[42]:pr,[43]:pr,[45]:pr,[48]:pr,[49]:pr,[50]:pr,[51]:pr,[52]:pr,[53]:pr,[54]:pr,[55]:pr,[56]:pr,[57]:pr,[62]:da},Vv={[91]:tf},Uv={[-2]:fo,[-1]:fo,[32]:fo},Hv={[35]:nf,[42]:Di,[45]:[ka,Di],[60]:of,[61]:ka,[95]:Di,[96]:ga,[126]:ga},Gv={[38]:ha,[92]:ma},Kv={[-5]:co,[-4]:co,[-3]:co,[33]:lf,[38]:ha,[42]:uo,[60]:[Qu,af],[91]:uf,[92]:[rf,ma],[93]:qi,[95]:uo,[96]:Yu},Wv={null:[uo,Fm]},Jv={null:[42,95]},Zv={null:[]};function Nm(t={}){let r=pa([ff].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:n(Am),document:n(_m),flow:n(Tm),string:n(Im),text:n(Om)};return e;function n(s){return o;function o(l){return Dm(e,s,l)}}}var Lm=/[\0\t\n\r]/g;function jm(){let t=1,r="",e=!0,n;return s;function s(o,l,f){let c=[],h,m,b,C,A;for(o=r+o.toString(l),b=0,r="",e&&(o.charCodeAt(0)===65279&&b++,e=void 0);b<o.length;){if(Lm.lastIndex=b,h=Lm.exec(o),C=h&&h.index!==void 0?h.index:o.length,A=o.charCodeAt(C),!h){r=o.slice(b);break}if(A===10&&b===C&&n)c.push(-3),n=void 0;else switch(n&&(c.push(-5),n=void 0),b<C&&(c.push(o.slice(b,C)),t+=C-b),A){case 0:{c.push(65533),t++;break}case 9:{for(m=Math.ceil(t/4)*4,c.push(-2);t++<m;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:n=!0,t=1}b=C+1}return f&&(n&&c.push(-5),r&&c.push(r),c.push(null)),c}}function Bm(t){for(;!ya(t););return t}function va(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 Qv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xa(t){return t.replace(Qv,Xv)}function Xv(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let s=e.charCodeAt(1),o=s===120||s===88;return va(e.slice(o?2:1),o?16:10)}return gs(e)||t}var cf={}.hasOwnProperty,pf=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),Yv(e)(Bm(Nm(e).document().write(jm()(t,r,!0))))};function Yv(t={}){let r=zm({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(et),autolinkProtocol:Te,autolinkEmail:Te,atxHeading:c(Fn),blockQuote:c(Cr),characterEscape:Te,characterReference:Te,codeFenced:c(Ar),codeFencedFenceInfo:h,codeFencedFenceMeta:h,codeIndented:c(Ar,h),codeText:c(Bt,h),codeTextData:Te,data:Te,codeFlowValue:Te,definition:c(Mn),definitionDestinationString:h,definitionLabelString:h,definitionTitleString:h,emphasis:c(Ae),hardBreakEscape:c(In),hardBreakTrailing:c(In),htmlFlow:c(je,h),htmlFlowData:Te,htmlText:c(je,h),htmlTextData:Te,image:c(Fe),label:h,link:c(et),listItem:c(Xr),listItemValue:O,listOrdered:c(bt,E),listUnordered:c(bt),paragraph:c(Re),reference:qt,referenceString:h,resourceDestinationString:h,resourceTitleString:h,setextHeading:c(Fn),strong:c(qe),thematicBreak:c(Ze)},exit:{atxHeading:b(),atxHeadingSequence:xe,autolink:b(),autolinkEmail:hr,autolinkProtocol:Kt,blockQuote:b(),characterEscapeValue:he,characterReferenceMarkerHexadecimal:ut,characterReferenceMarkerNumeric:ut,characterReferenceValue:mr,codeFenced:b(le),codeFencedFence:X,codeFencedFenceInfo:D,codeFencedFenceMeta:M,codeFlowValue:he,codeIndented:b(we),codeText:b(Ye),codeTextData:he,data:he,definition:b(),definitionDestinationString:me,definitionLabelString:ge,definitionTitleString:ee,emphasis:b(),hardBreakEscape:b(Je),hardBreakTrailing:b(Je),htmlFlow:b(re),htmlFlowData:he,htmlText:b(wt),htmlTextData:he,image:b(lt),label:U,labelText:z,lineEnding:Se,link:b(vt),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:Pt,resourceDestinationString:er,resourceTitleString:Rt,resource:At,setextHeading:b(Pe),setextHeadingLineSequence:Le,setextHeadingText:ve,strong:b(),thematicBreak:b()}},t.mdastExtensions||[]),e={};return n;function n(se){let pe={type:"root",children:[]},ke=[pe],Ee=[],Mt=[],Yr={stack:ke,tokenStack:Ee,config:r,enter:m,exit:C,buffer:h,resume:A,setData:o,getData:l},it=-1;for(;++it<se.length;)if(se[it][1].type==="listOrdered"||se[it][1].type==="listUnordered")if(se[it][0]==="enter")Mt.push(it);else{let xt=Mt.pop();it=s(se,xt,it)}for(it=-1;++it<se.length;){let xt=r[se[it][0]];cf.call(xt,se[it][1].type)&&xt[se[it][1].type].call(Object.assign({sliceSerialize:se[it][2].sliceSerialize},Yr),se[it][1])}if(Ee.length>0){let xt=Ee[Ee.length-1];(xt[1]||Mm).call(Yr,void 0,xt[0])}for(pe.position={start:f(se.length>0?se[0][1].start:{line:1,column:1,offset:0}),end:f(se.length>0?se[se.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<r.transforms.length;)pe=r.transforms[it](pe)||pe;return pe}function s(se,pe,ke){let Ee=pe-1,Mt=-1,Yr=!1,it,xt,Tt,en;for(;++Ee<=ke;){let gt=se[Ee];if(gt[1].type==="listUnordered"||gt[1].type==="listOrdered"||gt[1].type==="blockQuote"?(gt[0]==="enter"?Mt++:Mt--,en=void 0):gt[1].type==="lineEndingBlank"?gt[0]==="enter"&&(it&&!en&&!Mt&&!Tt&&(Tt=Ee),en=void 0):gt[1].type==="linePrefix"||gt[1].type==="listItemValue"||gt[1].type==="listItemMarker"||gt[1].type==="listItemPrefix"||gt[1].type==="listItemPrefixWhitespace"||(en=void 0),!Mt&&gt[0]==="enter"&&gt[1].type==="listItemPrefix"||Mt===-1&&gt[0]==="exit"&&(gt[1].type==="listUnordered"||gt[1].type==="listOrdered")){if(it){let On=Ee;for(xt=void 0;On--;){let gr=se[On];if(gr[1].type==="lineEnding"||gr[1].type==="lineEndingBlank"){if(gr[0]==="exit")continue;xt&&(se[xt][1].type="lineEndingBlank",Yr=!0),gr[1].type="lineEnding",xt=On}else if(!(gr[1].type==="linePrefix"||gr[1].type==="blockQuotePrefix"||gr[1].type==="blockQuotePrefixWhitespace"||gr[1].type==="blockQuoteMarker"||gr[1].type==="listItemIndent"))break}Tt&&(!xt||Tt<xt)&&(it._spread=!0),it.end=Object.assign({},xt?se[xt][1].start:gt[1].end),se.splice(xt||Ee,0,["exit",it,gt[2]]),Ee++,ke++}gt[1].type==="listItemPrefix"&&(it={type:"listItem",_spread:!1,start:Object.assign({},gt[1].start)},se.splice(Ee,0,["enter",it,gt[2]]),Ee++,ke++,Tt=void 0,en=!0)}}return se[pe][1]._spread=Yr,ke}function o(se,pe){e[se]=pe}function l(se){return e[se]}function f(se){return{line:se.line,column:se.column,offset:se.offset}}function c(se,pe){return ke;function ke(Ee){m.call(this,se(Ee),Ee),pe&&pe.call(this,Ee)}}function h(){this.stack.push({type:"fragment",children:[]})}function m(se,pe,ke){return this.stack[this.stack.length-1].children.push(se),this.stack.push(se),this.tokenStack.push([pe,ke]),se.position={start:f(pe.start)},se}function b(se){return pe;function pe(ke){se&&se.call(this,ke),C.call(this,ke)}}function C(se,pe){let ke=this.stack.pop(),Ee=this.tokenStack.pop();if(Ee)Ee[0].type!==se.type&&(pe?pe.call(this,se,Ee[0]):(Ee[1]||Mm).call(this,se,Ee[0]));else throw new Error("Cannot close `"+se.type+"` ("+Ti({start:se.start,end:se.end})+"): it\u2019s not open");return ke.position.end=f(se.end),ke}function A(){return bm(this.stack.pop())}function E(){o("expectingFirstListItemValue",!0)}function O(se){if(l("expectingFirstListItemValue")){let pe=this.stack[this.stack.length-2];pe.start=Number.parseInt(this.sliceSerialize(se),10),o("expectingFirstListItemValue")}}function D(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.lang=se}function M(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.meta=se}function X(){l("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function le(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.value=se.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function we(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.value=se.replace(/(\r?\n|\r)$/g,"")}function ge(se){let pe=this.resume(),ke=this.stack[this.stack.length-1];ke.label=pe,ke.identifier=cr(this.sliceSerialize(se)).toLowerCase()}function ee(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.title=se}function me(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.url=se}function xe(se){let pe=this.stack[this.stack.length-1];if(!pe.depth){let ke=this.sliceSerialize(se).length;pe.depth=ke}}function ve(){o("setextHeadingSlurpLineEnding",!0)}function Le(se){let pe=this.stack[this.stack.length-1];pe.depth=this.sliceSerialize(se).charCodeAt(0)===61?1:2}function Pe(){o("setextHeadingSlurpLineEnding")}function Te(se){let pe=this.stack[this.stack.length-1],ke=pe.children[pe.children.length-1];(!ke||ke.type!=="text")&&(ke=ht(),ke.position={start:f(se.start)},pe.children.push(ke)),this.stack.push(ke)}function he(se){let pe=this.stack.pop();pe.value+=this.sliceSerialize(se),pe.position.end=f(se.end)}function Se(se){let pe=this.stack[this.stack.length-1];if(l("atHardBreak")){let ke=pe.children[pe.children.length-1];ke.position.end=f(se.end),o("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(pe.type)&&(Te.call(this,se),he.call(this,se))}function Je(){o("atHardBreak",!0)}function re(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.value=se}function wt(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.value=se}function Ye(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.value=se}function vt(){let se=this.stack[this.stack.length-1];l("inReference")?(se.type+="Reference",se.referenceType=l("referenceType")||"shortcut",delete se.url,delete se.title):(delete se.identifier,delete se.label),o("referenceType")}function lt(){let se=this.stack[this.stack.length-1];l("inReference")?(se.type+="Reference",se.referenceType=l("referenceType")||"shortcut",delete se.url,delete se.title):(delete se.identifier,delete se.label),o("referenceType")}function z(se){let pe=this.stack[this.stack.length-2],ke=this.sliceSerialize(se);pe.label=xa(ke),pe.identifier=cr(ke).toLowerCase()}function U(){let se=this.stack[this.stack.length-1],pe=this.resume(),ke=this.stack[this.stack.length-1];o("inReference",!0),ke.type==="link"?ke.children=se.children:ke.alt=pe}function er(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.url=se}function Rt(){let se=this.resume(),pe=this.stack[this.stack.length-1];pe.title=se}function At(){o("inReference")}function qt(){o("referenceType","collapsed")}function Pt(se){let pe=this.resume(),ke=this.stack[this.stack.length-1];ke.label=pe,ke.identifier=cr(this.sliceSerialize(se)).toLowerCase(),o("referenceType","full")}function ut(se){o("characterReferenceType",se.type)}function mr(se){let pe=this.sliceSerialize(se),ke=l("characterReferenceType"),Ee;ke?(Ee=va(pe,ke==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):Ee=gs(pe);let Mt=this.stack.pop();Mt.value+=Ee,Mt.position.end=f(se.end)}function Kt(se){he.call(this,se);let pe=this.stack[this.stack.length-1];pe.url=this.sliceSerialize(se)}function hr(se){he.call(this,se);let pe=this.stack[this.stack.length-1];pe.url="mailto:"+this.sliceSerialize(se)}function Cr(){return{type:"blockquote",children:[]}}function Ar(){return{type:"code",lang:null,meta:null,value:""}}function Bt(){return{type:"inlineCode",value:""}}function Mn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ae(){return{type:"emphasis",children:[]}}function Fn(){return{type:"heading",depth:void 0,children:[]}}function In(){return{type:"break"}}function je(){return{type:"html",value:""}}function Fe(){return{type:"image",title:null,url:"",alt:null}}function et(){return{type:"link",title:null,url:"",children:[]}}function bt(se){return{type:"list",ordered:se.type==="listOrdered",start:null,spread:se._spread,children:[]}}function Xr(se){return{type:"listItem",spread:se._spread,checked:null,children:[]}}function Re(){return{type:"paragraph",children:[]}}function qe(){return{type:"strong",children:[]}}function ht(){return{type:"text",value:""}}function Ze(){return{type:"thematicBreak"}}}function zm(t,r){let e=-1;for(;++e<r.length;){let n=r[e];Array.isArray(n)?zm(t,n):e0(t,n)}return t}function e0(t,r){let e;for(e in r)if(cf.call(r,e)){let n=e==="canContainEols"||e==="transforms",o=(cf.call(t,e)?t[e]:void 0)||(t[e]=n?[]:{}),l=r[e];l&&(n?t[e]=[...o,...l]:Object.assign(o,l))}}function Mm(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Ti({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Ti({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Ti({start:r.start,end:r.end})+") is still open")}function df(t){Object.assign(this,{Parser:e=>{let n=this.data("settings");return pf(e,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var Vm=df;var t0={tokenize:s0,partial:!0},Hm={tokenize:o0,partial:!0},Gm={tokenize:a0,partial:!0},ys={tokenize:u0,partial:!0},Km={tokenize:l0,partial:!0},Wm={tokenize:n0,previous:Qm},Jm={tokenize:i0,previous:gf},Bn={tokenize:r0,previous:Xm},Tn={},mf={text:Tn},Ni=48;for(;Ni<123;)Tn[Ni]=Bn,Ni++,Ni===58?Ni=65:Ni===91&&(Ni=97);Tn[43]=Bn;Tn[45]=Bn;Tn[46]=Bn;Tn[95]=Bn;Tn[72]=[Bn,Jm];Tn[104]=[Bn,Jm];Tn[87]=[Bn,Wm];Tn[119]=[Bn,Wm];function r0(t,r,e){let n=this,s,o;return l;function l(A){return!Um(A)||!Xm(n.previous)||yf(n.events)?e(A):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(A))}function f(A){return Um(A)?(t.consume(A),f):A===64?(t.consume(A),c):e(A)}function c(A){return A===46?t.check(ys,C,h)(A):A===45||A===95?t.check(ys,e,m)(A):Gt(A)?(!o&&Fi(A)&&(o=!0),t.consume(A),c):C(A)}function h(A){return t.consume(A),s=!0,o=void 0,c}function m(A){return t.consume(A),b}function b(A){return A===46?t.check(ys,e,h)(A):c(A)}function C(A){return s&&!o?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(A)):e(A)}}function n0(t,r,e){let n=this;return s;function s(l){return l!==87&&l!==119||!Qm(n.previous)||yf(n.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(t0,t.attempt(Hm,t.attempt(Gm,o),e),e)(l))}function o(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function i0(t,r,e){let n=this;return s;function s(E){return E!==72&&E!==104||!gf(n.previous)||yf(n.events)?e(E):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(E),o)}function o(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),h):h(E)}function h(E){return E===58?(t.consume(E),m):e(E)}function m(E){return E===47?(t.consume(E),b):e(E)}function b(E){return E===47?(t.consume(E),C):e(E)}function C(E){return E===null||ni(E)||Ii(E)||Oi(E)?e(E):t.attempt(Hm,t.attempt(Gm,A),e)(E)}function A(E){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(E)}}function s0(t,r,e){return n;function n(c){return t.consume(c),s}function s(c){return c===87||c===119?(t.consume(c),o):e(c)}function o(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||ce(c)?e(c):r(c)}}function o0(t,r,e){let n,s;return o;function o(c){return c===38?t.check(Km,f,l)(c):c===46||c===95?t.check(ys,f,l)(c):c===null||ni(c)||Ii(c)||c!==45&&Oi(c)?f(c):(t.consume(c),o)}function l(c){return c===46?(s=n,n=void 0,t.consume(c),o):(c===95&&(n=!0),t.consume(c),o)}function f(c){return!s&&!n?r(c):e(c)}}function a0(t,r){let e=0;return n;function n(l){return l===38?t.check(Km,r,s)(l):(l===40&&e++,l===41?t.check(ys,o,s)(l):hf(l)?r(l):Zm(l)?t.check(ys,r,s)(l):(t.consume(l),n))}function s(l){return t.consume(l),n}function o(l){return e--,e<0?r(l):s(l)}}function l0(t,r,e){return n;function n(l){return t.consume(l),s}function s(l){return fr(l)?(t.consume(l),s):l===59?(t.consume(l),o):e(l)}function o(l){return hf(l)?r(l):e(l)}}function u0(t,r,e){return n;function n(o){return t.consume(o),s}function s(o){return Zm(o)?(t.consume(o),s):hf(o)?r(o):e(o)}}function Zm(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 hf(t){return t===null||t===60||nt(t)}function Um(t){return t===43||t===45||t===46||t===95||Gt(t)}function Qm(t){return t===null||t===40||t===42||t===95||t===126||nt(t)}function gf(t){return t===null||!fr(t)}function Xm(t){return t!==47&&gf(t)}function yf(t){let r=t.length,e=!1;for(;r--;){let n=t[r][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){e=!0;break}if(n._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var f0={tokenize:y0,partial:!0};function $f(){return{document:{[91]:{tokenize:m0,continuation:{tokenize:h0},exit:g0}},text:{[91]:{tokenize:d0},[93]:{add:"after",tokenize:c0,resolveTo:p0}}}}function c0(t,r,e){let n=this,s=n.events.length,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),l;for(;s--;){let c=n.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 h=cr(n.sliceSerialize({start:l.end,end:n.now()}));return h.charCodeAt(0)!==94||!o.includes(h.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function p0(t,r){let e=t.length,n;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){n=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)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},o.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",o,r],["exit",o,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 d0(t,r,e){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o=0,l;return f;function f(C){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(C),t.exit("gfmFootnoteCallLabelMarker"),c}function c(C){return C!==94?e(C):(t.enter("gfmFootnoteCallMarker"),t.consume(C),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",h)}function h(C){let A;return C===null||C===91||o++>999?e(C):C===93?l?(t.exit("chunkString"),A=t.exit("gfmFootnoteCallString"),s.includes(cr(n.sliceSerialize(A)))?b(C):e(C)):e(C):(t.consume(C),nt(C)||(l=!0),C===92?m:h)}function m(C){return C===91||C===92||C===93?(t.consume(C),o++,h):h(C)}function b(C){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(C),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function m0(t,r,e){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o,l=0,f;return c;function c(O){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(O){return O===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),m):e(O)}function m(O){let D;return O===null||O===91||l>999?e(O):O===93?f?(D=t.exit("gfmFootnoteDefinitionLabelString"),o=cr(n.sliceSerialize(D)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),A):e(O):ce(O)?(t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),l++,m):(t.enter("chunkString").contentType="string",b(O))}function b(O){return O===null||ce(O)||O===91||O===93||l>999?(t.exit("chunkString"),m(O)):(nt(O)||(f=!0),l++,t.consume(O),O===92?C:b)}function C(O){return O===91||O===92||O===93?(t.consume(O),l++,b):b(O)}function A(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),Ce(t,E,"gfmFootnoteDefinitionWhitespace")):e(O)}function E(O){return s.includes(o)||s.push(o),r(O)}}function h0(t,r,e){return t.check(Pn,r,t.attempt(f0,r,e))}function g0(t){t.exit("gfmFootnoteDefinition")}function y0(t,r,e){let n=this;return Ce(t,s,"gfmFootnoteDefinitionIndent",4+1);function s(o){let l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(o):e(o)}}function bf(t={}){let r=t.singleTilde,e={tokenize:s,resolveAll:n};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function n(o,l){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let c=f;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[f][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";let h={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[f][1].end)},m={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[f][1].start)},b=[["enter",h,l],["enter",o[c][1],l],["exit",o[c][1],l],["enter",m,l]];Ot(b,b.length,0,si(l.parser.constructs.insideSpan.null,o.slice(c+1,f),l)),Ot(b,b.length,0,[["exit",m,l],["enter",o[f][1],l],["exit",o[f][1],l],["exit",h,l]]),Ot(o,c-1,f-c+3,b),f=c+b.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function s(o,l,f){let c=this.previous,h=this.events,m=0;return b;function b(A){return c===126&&h[h.length-1][1].type!=="characterEscape"?f(A):(o.enter("strikethroughSequenceTemporary"),C(A))}function C(A){let E=hs(c);if(A===126)return m>1?f(A):(o.consume(A),m++,C);if(m<2&&!r)return f(A);let O=o.exit("strikethroughSequenceTemporary"),D=hs(A);return O._open=!D||D===2&&Boolean(E),O._close=!E||E===2&&Boolean(D),l(A)}}}var wf={flow:{null:{tokenize:b0,resolve:$0}}},Ym={tokenize:w0,partial:!0};function $0(t,r){let e=-1,n,s,o,l,f,c,h;for(;++e<t.length;){let m=t[e][1];if(o&&(m.type==="temporaryTableCellContent"&&(l=l||e,f=e),(m.type==="tableCellDivider"||m.type==="tableRow")&&f)){let b={type:"tableContent",start:t[l][1].start,end:t[f][1].end},C={type:"chunkText",start:b.start,end:b.end,contentType:"text"};t.splice(l,f-l+1,["enter",b,r],["enter",C,r],["exit",C,r],["exit",b,r]),e-=f-l-3,l=void 0,f=void 0}if(t[e][0]==="exit"&&c!==void 0&&c+(h?0:1)<e&&(m.type==="tableCellDivider"||m.type==="tableRow"&&(c+3<e||t[c][1].type!=="whitespace"))){let b={type:s?"tableDelimiter":n?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(m.type==="tableCellDivider"?1:0),0,["exit",b,r]),t.splice(c,0,["enter",b,r]),e+=2,c=e+1,h=!0}m.type==="tableRow"&&(o=t[e][0]==="enter",o&&(c=e+1,h=!1)),m.type==="tableDelimiterRow"&&(s=t[e][0]==="enter",s&&(c=e+1,h=!1)),m.type==="tableHead"&&(n=t[e][0]==="enter")}return t}function b0(t,r,e){let n=this,s=[],o=0,l,f;return c;function c(re){return t.enter("table")._align=s,t.enter("tableHead"),t.enter("tableRow"),re===124?h(re):(o++,t.enter("temporaryTableCellContent"),C(re))}function h(re){return t.enter("tableCellDivider"),t.consume(re),t.exit("tableCellDivider"),l=!0,m}function m(re){return re===null||ce(re)?E(re):He(re)?(t.enter("whitespace"),t.consume(re),b):(l&&(l=void 0,o++),re===124?h(re):(t.enter("temporaryTableCellContent"),C(re)))}function b(re){return He(re)?(t.consume(re),b):(t.exit("whitespace"),m(re))}function C(re){return re===null||re===124||nt(re)?(t.exit("temporaryTableCellContent"),m(re)):(t.consume(re),re===92?A:C)}function A(re){return re===92||re===124?(t.consume(re),C):C(re)}function E(re){if(re===null)return e(re);t.exit("tableRow"),t.exit("tableHead");let wt=n.interrupt;return n.interrupt=!0,t.attempt({tokenize:Je,partial:!0},function(Ye){return n.interrupt=wt,t.enter("tableDelimiterRow"),O(Ye)},function(Ye){return n.interrupt=wt,e(Ye)})(re)}function O(re){return re===null||ce(re)?we(re):He(re)?(t.enter("whitespace"),t.consume(re),D):re===45?(t.enter("tableDelimiterFiller"),t.consume(re),f=!0,s.push("none"),M):re===58?(t.enter("tableDelimiterAlignment"),t.consume(re),t.exit("tableDelimiterAlignment"),s.push("left"),X):re===124?(t.enter("tableCellDivider"),t.consume(re),t.exit("tableCellDivider"),O):e(re)}function D(re){return He(re)?(t.consume(re),D):(t.exit("whitespace"),O(re))}function M(re){return re===45?(t.consume(re),M):(t.exit("tableDelimiterFiller"),re===58?(t.enter("tableDelimiterAlignment"),t.consume(re),t.exit("tableDelimiterAlignment"),s[s.length-1]=s[s.length-1]==="left"?"center":"right",le):O(re))}function X(re){return re===45?(t.enter("tableDelimiterFiller"),t.consume(re),f=!0,M):e(re)}function le(re){return re===null||ce(re)?we(re):He(re)?(t.enter("whitespace"),t.consume(re),D):re===124?(t.enter("tableCellDivider"),t.consume(re),t.exit("tableCellDivider"),O):e(re)}function we(re){return t.exit("tableDelimiterRow"),!f||o!==s.length?e(re):re===null?ge(re):t.check(Ym,ge,t.attempt({tokenize:Je,partial:!0},Ce(t,ee,"linePrefix",4),ge))(re)}function ge(re){return t.exit("table"),r(re)}function ee(re){return t.enter("tableBody"),me(re)}function me(re){return t.enter("tableRow"),re===124?xe(re):(t.enter("temporaryTableCellContent"),Pe(re))}function xe(re){return t.enter("tableCellDivider"),t.consume(re),t.exit("tableCellDivider"),ve}function ve(re){return re===null||ce(re)?he(re):He(re)?(t.enter("whitespace"),t.consume(re),Le):re===124?xe(re):(t.enter("temporaryTableCellContent"),Pe(re))}function Le(re){return He(re)?(t.consume(re),Le):(t.exit("whitespace"),ve(re))}function Pe(re){return re===null||re===124||nt(re)?(t.exit("temporaryTableCellContent"),ve(re)):(t.consume(re),re===92?Te:Pe)}function Te(re){return re===92||re===124?(t.consume(re),Pe):Pe(re)}function he(re){return t.exit("tableRow"),re===null?Se(re):t.check(Ym,Se,t.attempt({tokenize:Je,partial:!0},Ce(t,me,"linePrefix",4),Se))(re)}function Se(re){return t.exit("tableBody"),ge(re)}function Je(re,wt,Ye){return vt;function vt(z){return re.enter("lineEnding"),re.consume(z),re.exit("lineEnding"),Ce(re,lt,"linePrefix")}function lt(z){if(n.parser.lazy[n.now().line]||z===null||ce(z))return Ye(z);let U=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&U&&U[1].type==="linePrefix"&&U[2].sliceSerialize(U[1],!0).length>=4?Ye(z):(n._gfmTableDynamicInterruptHack=!0,re.check(n.parser.constructs.flow,function(er){return n._gfmTableDynamicInterruptHack=!1,Ye(er)},function(er){return n._gfmTableDynamicInterruptHack=!1,wt(er)})(z))}}}function w0(t,r,e){let n=0;return s;function s(l){return t.enter("check"),t.consume(l),o}function o(l){return l===-1||l===32?(t.consume(l),n++,n===4?r:o):l===null||nt(l)?r(l):e(l)}}var k0={tokenize:v0},kf={text:{[91]:k0}};function v0(t,r,e){let n=this;return s;function s(f){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),o)}function o(f){return nt(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:x0},r,e)):e(f)}}function x0(t,r,e){let n=this;return Ce(t,s,"whitespace");function s(o){let l=n.events[n.events.length-1];return(l&&l[1].type==="whitespace"||ce(o))&&o!==null?r(o):e(o)}}function eh(t){return pa([mf,$f(),bf(t),wf,kf])}function vf(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let n=0,s=e.indexOf(r);for(;s!==-1;)n++,s=e.indexOf(r,s+r.length);return n}function xf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var po=function(t){if(t==null)return _0;if(typeof t=="string")return E0(t);if(typeof t=="object")return Array.isArray(t)?C0(t):A0(t);if(typeof t=="function")return Ca(t);throw new Error("Expected function, string, or object as test")};function C0(t){let r=[],e=-1;for(;++e<t.length;)r[e]=po(t[e]);return Ca(n);function n(...s){let o=-1;for(;++o<r.length;)if(r[o].call(this,...s))return!0;return!1}}function A0(t){return Ca(r);function r(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}}function E0(t){return Ca(r);function r(e){return e&&e.type===t}}function Ca(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function _0(){return!0}function th(t){return"\x1B[33m"+t+"\x1B[39m"}var S0=!0,P0="skip",rh=!1,nh=function(t,r,e,n){typeof r=="function"&&typeof e!="function"&&(n=e,e=r,r=null);let s=po(r),o=n?-1:1;l(t,null,[])();function l(f,c,h){let m=typeof f=="object"&&f!==null?f:{},b;return typeof m.type=="string"&&(b=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0,Object.defineProperty(C,"name",{value:"node ("+th(m.type+(b?"<"+b+">":""))+")"})),C;function C(){let A=[],E,O,D;if((!r||s(f,c,h[h.length-1]||null))&&(A=T0(e(f,h)),A[0]===rh))return A;if(f.children&&A[0]!==P0)for(O=(n?f.children.length:-1)+o,D=h.concat(f);O>-1&&O<f.children.length;){if(E=l(f.children[O],O,D)(),E[0]===rh)return E;O=typeof E[1]=="number"?E[1]:O+o}return A}}};function T0(t){return Array.isArray(t)?t:typeof t=="number"?[S0,t]:[t]}var F0={}.hasOwnProperty,Cf=function(t,r,e,n){let s,o;typeof r=="string"||r instanceof RegExp?(o=[[r,e]],s=n):(o=r,s=e),s||(s={});let l=po(s.ignore||[]),f=I0(o),c=-1;for(;++c<f.length;)nh(t,"text",h);return t;function h(b,C){let A=-1,E;for(;++A<C.length;){let O=C[A];if(l(O,E?E.children.indexOf(O):void 0,E))return;E=O}if(E)return m(b,C)}function m(b,C){let A=C[C.length-1],E=f[c][0],O=f[c][1],D=0,M=A.children.indexOf(b),X=!1,le=[],we;E.lastIndex=0;let ge=E.exec(b.value);for(;ge;){we=ge.index;let ee={index:ge.index,input:ge.input,stack:[...C,b]},me=O(...ge,ee);if(typeof me=="string"&&(me=me.length>0?{type:"text",value:me}:void 0),me!==!1&&(D!==we&&le.push({type:"text",value:b.value.slice(D,we)}),Array.isArray(me)?le.push(...me):me&&le.push(me),D=we+ge[0].length,X=!0),!E.global)break;ge=E.exec(b.value)}return X?(D<b.value.length&&le.push({type:"text",value:b.value.slice(D)}),A.children.splice(M,1,...le)):le=[b],M+le.length}};function I0(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([ih(t[e][0]),sh(t[e][1])])}else{let e;for(e in t)F0.call(t,e)&&r.push([ih(e),sh(t[e])])}return r}function ih(t){return typeof t=="string"?new RegExp(xf(t),"g"):t}function sh(t){return typeof t=="function"?t:()=>t}var Af="phrasing",Ef=["autolink","link","image","label"],oh={transforms:[L0],enter:{literalAutolink:O0,literalAutolinkEmail:_f,literalAutolinkHttp:_f,literalAutolinkWww:_f},exit:{literalAutolink:N0,literalAutolinkEmail:D0,literalAutolinkHttp:R0,literalAutolinkWww:q0}},ah={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Af,notInConstruct:Ef},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Af,notInConstruct:Ef},{character:":",before:"[ps]",after:"\\/",inConstruct:Af,notInConstruct:Ef}]};function O0(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function _f(t){this.config.enter.autolinkProtocol.call(this,t)}function R0(t){this.config.exit.autolinkProtocol.call(this,t)}function q0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function D0(t){this.config.exit.autolinkEmail.call(this,t)}function N0(t){this.exit(t)}function L0(t){Cf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,j0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,B0]],{ignore:["link","linkReference"]})}function j0(t,r,e,n,s){let o="";if(!lh(s)||(/^w/i.test(r)&&(e=r+e,r="",o="http://"),!M0(e)))return!1;let l=z0(e+n);if(!l[0])return!1;let f={type:"link",title:null,url:o+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function B0(t,r,e,n){return!lh(n,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function M0(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 z0(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,n,s,o;if(r)for(t=t.slice(0,r.index),o=r[0],e=o.indexOf(")"),n=vf(t,"("),s=vf(t,")");e!==-1&&n>s;)t+=o.slice(0,e+1),o=o.slice(e+1),e=o.indexOf(")"),s++;return[t,o]}function lh(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Ii(e)||Oi(e))&&(!r||e!==47)}function Sf(t){return t.label||!t.identifier?t.label||"":xa(t.identifier)}function dr(t){let r=t||{},e=r.now||{},n=r.lineShift||0,s=e.line||1,o=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:s,column:o},lineShift:n}}function f(h){n+=h}function c(h=""){let m=h.split(/\r?\n|\r/g),b=m[m.length-1];return s+=m.length-1,o=m.length===1?o+b.length:1+b.length+n,h}}function Aa(t,r,e){let n=r.indexStack,s=t.children||[],o=dr(e),l=[],f=-1;for(n.push(-1);++f<s.length;){let h=s[f];n[n.length-1]=f,l.push(o.move(r.handle(h,t,r,{before:`
45
+ `;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&s)continue;l=" ";break}default:l=String.fromCharCode(o)}s=o===-2,n.push(l)}return n.join("")}var vf={};uc(vf,{attentionMarkers:()=>l0,contentInitial:()=>r0,disable:()=>u0,document:()=>t0,flow:()=>i0,flowInitial:()=>n0,insideSpan:()=>a0,string:()=>s0,text:()=>o0});var t0={[42]:cr,[43]:cr,[45]:cr,[48]:cr,[49]:cr,[50]:cr,[51]:cr,[52]:cr,[53]:cr,[54]:cr,[55]:cr,[56]:cr,[57]:cr,[62]:va},r0={[91]:mf},n0={[-2]:mo,[-1]:mo,[32]:mo},i0={[35]:gf,[42]:Di,[45]:[Ta,Di],[60]:bf,[61]:Ta,[95]:Di,[96]:Aa,[126]:Aa},s0={[38]:Ca,[92]:xa},o0={[-5]:ho,[-4]:ho,[-3]:ho,[33]:wf,[38]:Ca,[42]:po,[60]:[ff,$f],[91]:kf,[92]:[hf,xa],[93]:Ni,[95]:po,[96]:pf},a0={null:[po,Hm]},l0={null:[42,95]},u0={null:[]};function Qm(t={}){let r=ka([vf].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:n(jm),document:n(Mm),flow:n(Um),string:n(Gm),text:n(Km)};return e;function n(s){return o;function o(l){return Jm(e,s,l)}}}var Xm=/[\0\t\n\r]/g;function Ym(){let t=1,r="",e=!0,n;return s;function s(o,l,f){let c=[],g,h,$,k,x;for(o=r+o.toString(l),$=0,r="",e&&(o.charCodeAt(0)===65279&&$++,e=void 0);$<o.length;){if(Xm.lastIndex=$,g=Xm.exec(o),k=g&&g.index!==void 0?g.index:o.length,x=o.charCodeAt(k),!g){r=o.slice($);break}if(x===10&&$===k&&n)c.push(-3),n=void 0;else switch(n&&(c.push(-5),n=void 0),$<k&&(c.push(o.slice($,k)),t+=k-$),x){case 0:{c.push(65533),t++;break}case 9:{for(h=Math.ceil(t/4)*4,c.push(-2);t++<h;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:n=!0,t=1}$=k+1}return f&&(n&&c.push(-5),r&&c.push(r),c.push(null)),c}}function eh(t){for(;!Ea(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 f0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ia(t){return t.replace(f0,c0)}function c0(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let s=e.charCodeAt(1),o=s===120||s===88;return Fa(e.slice(o?2:1),o?16:10)}return bs(e)||t}var xf={}.hasOwnProperty,Cf=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),p0(e)(eh(Qm(e).document().write(Ym()(t,r,!0))))};function p0(t={}){let r=rh({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Ee),autolinkProtocol:Fe,autolinkEmail:Fe,atxHeading:c(Tn),blockQuote:c(Rr),characterEscape:Fe,characterReference:Fe,codeFenced:c(xr),codeFencedFenceInfo:g,codeFencedFenceMeta:g,codeIndented:c(xr,g),codeText:c(jt,g),codeTextData:Fe,data:Fe,codeFlowValue:Fe,definition:c(Sn),definitionDestinationString:g,definitionLabelString:g,definitionTitleString:g,emphasis:c(Pn),hardBreakEscape:c(Ce),hardBreakTrailing:c(Ce),htmlFlow:c(Un,g),htmlFlowData:Fe,htmlText:c(Un,g),htmlTextData:Fe,image:c(qr),label:g,link:c(Ee),listItem:c(At),listItemValue:I,listOrdered:c(Re,A),listUnordered:c(Re),paragraph:c(ht),reference:Tt,referenceString:g,resourceDestinationString:g,resourceTitleString:g,setextHeading:c(Tn),strong:c(mr),thematicBreak:c(_e)},exit:{atxHeading:$(),atxHeadingSequence:ve,autolink:$(),autolinkEmail:vr,autolinkProtocol:Vt,blockQuote:$(),characterEscapeValue:ge,characterReferenceMarkerHexadecimal:ut,characterReferenceMarkerNumeric:ut,characterReferenceValue:tr,codeFenced:$(le),codeFencedFence:X,codeFencedFenceInfo:q,codeFencedFenceMeta:B,codeFlowValue:ge,codeIndented:$($e),codeText:$(Xe),codeTextData:ge,data:ge,definition:$(),definitionDestinationString:pe,definitionLabelString:he,definitionTitleString:Y,emphasis:$(),hardBreakEscape:$(Qe),hardBreakTrailing:$(Qe),htmlFlow:$(ne),htmlFlowData:ge,htmlText:$($t),htmlTextData:ge,image:$(nt),label:U,labelText:z,lineEnding:Pe,link:$(wt),listItem:$(),listOrdered:$(),listUnordered:$(),paragraph:$(),referenceString:Ft,resourceDestinationString:dr,resourceTitleString:Lt,resource:kt,setextHeading:$(Te),setextHeadingLineSequence:Le,setextHeadingText:ke,strong:$(),thematicBreak:$()}},t.mdastExtensions||[]),e={};return n;function n(te){let ce={type:"root",children:[]},Ae=[ce],Be=[],Ye=[],Pt={stack:Ae,tokenStack:Be,config:r,enter:h,exit:k,buffer:g,resume:x,setData:o,getData:l},it=-1;for(;++it<te.length;)if(te[it][1].type==="listOrdered"||te[it][1].type==="listUnordered")if(te[it][0]==="enter")Ye.push(it);else{let vt=Ye.pop();it=s(te,vt,it)}for(it=-1;++it<te.length;){let vt=r[te[it][0]];xf.call(vt,te[it][1].type)&&vt[te[it][1].type].call(Object.assign({sliceSerialize:te[it][2].sliceSerialize},Pt),te[it][1])}if(Be.length>0){let vt=Be[Be.length-1];(vt[1]||th).call(Pt,void 0,vt[0])}for(ce.position={start:f(te.length>0?te[0][1].start:{line:1,column:1,offset:0}),end:f(te.length>0?te[te.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<r.transforms.length;)ce=r.transforms[it](ce)||ce;return ce}function s(te,ce,Ae){let Be=ce-1,Ye=-1,Pt=!1,it,vt,It,Xr;for(;++Be<=Ae;){let gt=te[Be];if(gt[1].type==="listUnordered"||gt[1].type==="listOrdered"||gt[1].type==="blockQuote"?(gt[0]==="enter"?Ye++:Ye--,Xr=void 0):gt[1].type==="lineEndingBlank"?gt[0]==="enter"&&(it&&!Xr&&!Ye&&!It&&(It=Be),Xr=void 0):gt[1].type==="linePrefix"||gt[1].type==="listItemValue"||gt[1].type==="listItemMarker"||gt[1].type==="listItemPrefix"||gt[1].type==="listItemPrefixWhitespace"||(Xr=void 0),!Ye&&gt[0]==="enter"&&gt[1].type==="listItemPrefix"||Ye===-1&&gt[0]==="exit"&&(gt[1].type==="listUnordered"||gt[1].type==="listOrdered")){if(it){let Fn=Be;for(vt=void 0;Fn--;){let hr=te[Fn];if(hr[1].type==="lineEnding"||hr[1].type==="lineEndingBlank"){if(hr[0]==="exit")continue;vt&&(te[vt][1].type="lineEndingBlank",Pt=!0),hr[1].type="lineEnding",vt=Fn}else if(!(hr[1].type==="linePrefix"||hr[1].type==="blockQuotePrefix"||hr[1].type==="blockQuotePrefixWhitespace"||hr[1].type==="blockQuoteMarker"||hr[1].type==="listItemIndent"))break}It&&(!vt||It<vt)&&(it._spread=!0),it.end=Object.assign({},vt?te[vt][1].start:gt[1].end),te.splice(vt||Be,0,["exit",it,gt[2]]),Be++,Ae++}gt[1].type==="listItemPrefix"&&(it={type:"listItem",_spread:!1,start:Object.assign({},gt[1].start)},te.splice(Be,0,["enter",it,gt[2]]),Be++,Ae++,It=void 0,Xr=!0)}}return te[ce][1]._spread=Pt,Ae}function o(te,ce){e[te]=ce}function l(te){return e[te]}function f(te){return{line:te.line,column:te.column,offset:te.offset}}function c(te,ce){return Ae;function Ae(Be){h.call(this,te(Be),Be),ce&&ce.call(this,Be)}}function g(){this.stack.push({type:"fragment",children:[]})}function h(te,ce,Ae){return this.stack[this.stack.length-1].children.push(te),this.stack.push(te),this.tokenStack.push([ce,Ae]),te.position={start:f(ce.start)},te}function $(te){return ce;function ce(Ae){te&&te.call(this,Ae),k.call(this,Ae)}}function k(te,ce){let Ae=this.stack.pop(),Be=this.tokenStack.pop();if(Be)Be[0].type!==te.type&&(ce?ce.call(this,te,Be[0]):(Be[1]||th).call(this,te,Be[0]));else throw new Error("Cannot close `"+te.type+"` ("+Fi({start:te.start,end:te.end})+"): it\u2019s not open");return Ae.position.end=f(te.end),Ae}function x(){return Om(this.stack.pop())}function A(){o("expectingFirstListItemValue",!0)}function I(te){if(l("expectingFirstListItemValue")){let ce=this.stack[this.stack.length-2];ce.start=Number.parseInt(this.sliceSerialize(te),10),o("expectingFirstListItemValue")}}function q(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.lang=te}function B(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.meta=te}function X(){l("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function le(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.value=te.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function $e(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.value=te.replace(/(\r?\n|\r)$/g,"")}function he(te){let ce=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=ce,Ae.identifier=fr(this.sliceSerialize(te)).toLowerCase()}function Y(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.title=te}function pe(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.url=te}function ve(te){let ce=this.stack[this.stack.length-1];if(!ce.depth){let Ae=this.sliceSerialize(te).length;ce.depth=Ae}}function ke(){o("setextHeadingSlurpLineEnding",!0)}function Le(te){let ce=this.stack[this.stack.length-1];ce.depth=this.sliceSerialize(te).charCodeAt(0)===61?1:2}function Te(){o("setextHeadingSlurpLineEnding")}function Fe(te){let ce=this.stack[this.stack.length-1],Ae=ce.children[ce.children.length-1];(!Ae||Ae.type!=="text")&&(Ae=qe(),Ae.position={start:f(te.start)},ce.children.push(Ae)),this.stack.push(Ae)}function ge(te){let ce=this.stack.pop();ce.value+=this.sliceSerialize(te),ce.position.end=f(te.end)}function Pe(te){let ce=this.stack[this.stack.length-1];if(l("atHardBreak")){let Ae=ce.children[ce.children.length-1];Ae.position.end=f(te.end),o("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(ce.type)&&(Fe.call(this,te),ge.call(this,te))}function Qe(){o("atHardBreak",!0)}function ne(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.value=te}function $t(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.value=te}function Xe(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.value=te}function wt(){let te=this.stack[this.stack.length-1];l("inReference")?(te.type+="Reference",te.referenceType=l("referenceType")||"shortcut",delete te.url,delete te.title):(delete te.identifier,delete te.label),o("referenceType")}function nt(){let te=this.stack[this.stack.length-1];l("inReference")?(te.type+="Reference",te.referenceType=l("referenceType")||"shortcut",delete te.url,delete te.title):(delete te.identifier,delete te.label),o("referenceType")}function z(te){let ce=this.stack[this.stack.length-2],Ae=this.sliceSerialize(te);ce.label=Ia(Ae),ce.identifier=fr(Ae).toLowerCase()}function U(){let te=this.stack[this.stack.length-1],ce=this.resume(),Ae=this.stack[this.stack.length-1];o("inReference",!0),Ae.type==="link"?Ae.children=te.children:Ae.alt=ce}function dr(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.url=te}function Lt(){let te=this.resume(),ce=this.stack[this.stack.length-1];ce.title=te}function kt(){o("inReference")}function Tt(){o("referenceType","collapsed")}function Ft(te){let ce=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=ce,Ae.identifier=fr(this.sliceSerialize(te)).toLowerCase(),o("referenceType","full")}function ut(te){o("characterReferenceType",te.type)}function tr(te){let ce=this.sliceSerialize(te),Ae=l("characterReferenceType"),Be;Ae?(Be=Fa(ce,Ae==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):Be=bs(ce);let Ye=this.stack.pop();Ye.value+=Be,Ye.position.end=f(te.end)}function Vt(te){ge.call(this,te);let ce=this.stack[this.stack.length-1];ce.url=this.sliceSerialize(te)}function vr(te){ge.call(this,te);let ce=this.stack[this.stack.length-1];ce.url="mailto:"+this.sliceSerialize(te)}function Rr(){return{type:"blockquote",children:[]}}function xr(){return{type:"code",lang:null,meta:null,value:""}}function jt(){return{type:"inlineCode",value:""}}function Sn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Pn(){return{type:"emphasis",children:[]}}function Tn(){return{type:"heading",depth:void 0,children:[]}}function Ce(){return{type:"break"}}function Un(){return{type:"html",value:""}}function qr(){return{type:"image",title:null,url:"",alt:null}}function Ee(){return{type:"link",title:null,url:"",children:[]}}function Re(te){return{type:"list",ordered:te.type==="listOrdered",start:null,spread:te._spread,children:[]}}function At(te){return{type:"listItem",spread:te._spread,checked:null,children:[]}}function ht(){return{type:"paragraph",children:[]}}function mr(){return{type:"strong",children:[]}}function qe(){return{type:"text",value:""}}function _e(){return{type:"thematicBreak"}}}function rh(t,r){let e=-1;for(;++e<r.length;){let n=r[e];Array.isArray(n)?rh(t,n):d0(t,n)}return t}function d0(t,r){let e;for(e in r)if(xf.call(r,e)){let n=e==="canContainEols"||e==="transforms",o=(xf.call(t,e)?t[e]:void 0)||(t[e]=n?[]:{}),l=r[e];l&&(n?t[e]=[...o,...l]:Object.assign(o,l))}}function th(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Fi({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Fi({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Fi({start:r.start,end:r.end})+") is still open")}function Af(t){Object.assign(this,{Parser:e=>{let n=this.data("settings");return Cf(e,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var nh=Af;var m0={tokenize:b0,partial:!0},sh={tokenize:$0,partial:!0},oh={tokenize:w0,partial:!0},$s={tokenize:v0,partial:!0},ah={tokenize:k0,partial:!0},lh={tokenize:g0,previous:ch},uh={tokenize:y0,previous:Sf},Vn={tokenize:h0,previous:ph},_n={},Ef={text:_n},Li=48;for(;Li<123;)_n[Li]=Vn,Li++,Li===58?Li=65:Li===91&&(Li=97);_n[43]=Vn;_n[45]=Vn;_n[46]=Vn;_n[95]=Vn;_n[72]=[Vn,uh];_n[104]=[Vn,uh];_n[87]=[Vn,lh];_n[119]=[Vn,lh];function h0(t,r,e){let n=this,s,o;return l;function l(x){return!ih(x)||!ph(n.previous)||Pf(n.events)?e(x):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(x))}function f(x){return ih(x)?(t.consume(x),f):x===64?(t.consume(x),c):e(x)}function c(x){return x===46?t.check($s,k,g)(x):x===45||x===95?t.check($s,e,h)(x):Wt(x)?(!o&&Ii(x)&&(o=!0),t.consume(x),c):k(x)}function g(x){return t.consume(x),s=!0,o=void 0,c}function h(x){return t.consume(x),$}function $(x){return x===46?t.check($s,e,g)(x):c(x)}function k(x){return s&&!o?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(x)):e(x)}}function g0(t,r,e){let n=this;return s;function s(l){return l!==87&&l!==119||!ch(n.previous)||Pf(n.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(m0,t.attempt(sh,t.attempt(oh,o),e),e)(l))}function o(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function y0(t,r,e){let n=this;return s;function s(A){return A!==72&&A!==104||!Sf(n.previous)||Pf(n.events)?e(A):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(A),o)}function o(A){return A===84||A===116?(t.consume(A),l):e(A)}function l(A){return A===84||A===116?(t.consume(A),f):e(A)}function f(A){return A===80||A===112?(t.consume(A),c):e(A)}function c(A){return A===83||A===115?(t.consume(A),g):g(A)}function g(A){return A===58?(t.consume(A),h):e(A)}function h(A){return A===47?(t.consume(A),$):e(A)}function $(A){return A===47?(t.consume(A),k):e(A)}function k(A){return A===null||ri(A)||Oi(A)||Ri(A)?e(A):t.attempt(sh,t.attempt(oh,x),e)(A)}function x(A){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(A)}}function b0(t,r,e){return n;function n(c){return t.consume(c),s}function s(c){return c===87||c===119?(t.consume(c),o):e(c)}function o(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||de(c)?e(c):r(c)}}function $0(t,r,e){let n,s;return o;function o(c){return c===38?t.check(ah,f,l)(c):c===46||c===95?t.check($s,f,l)(c):c===null||ri(c)||Oi(c)||c!==45&&Ri(c)?f(c):(t.consume(c),o)}function l(c){return c===46?(s=n,n=void 0,t.consume(c),o):(c===95&&(n=!0),t.consume(c),o)}function f(c){return!s&&!n?r(c):e(c)}}function w0(t,r){let e=0;return n;function n(l){return l===38?t.check(ah,r,s)(l):(l===40&&e++,l===41?t.check($s,o,s)(l):_f(l)?r(l):fh(l)?t.check($s,r,s)(l):(t.consume(l),n))}function s(l){return t.consume(l),n}function o(l){return e--,e<0?r(l):s(l)}}function k0(t,r,e){return n;function n(l){return t.consume(l),s}function s(l){return ur(l)?(t.consume(l),s):l===59?(t.consume(l),o):e(l)}function o(l){return _f(l)?r(l):e(l)}}function v0(t,r,e){return n;function n(o){return t.consume(o),s}function s(o){return fh(o)?(t.consume(o),s):_f(o)?r(o):e(o)}}function fh(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 _f(t){return t===null||t===60||rt(t)}function ih(t){return t===43||t===45||t===46||t===95||Wt(t)}function ch(t){return t===null||t===40||t===42||t===95||t===126||rt(t)}function Sf(t){return t===null||!ur(t)}function ph(t){return t!==47&&Sf(t)}function Pf(t){let r=t.length,e=!1;for(;r--;){let n=t[r][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){e=!0;break}if(n._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var x0={tokenize:T0,partial:!0};function Tf(){return{document:{[91]:{tokenize:_0,continuation:{tokenize:S0},exit:P0}},text:{[91]:{tokenize:E0},[93]:{add:"after",tokenize:C0,resolveTo:A0}}}}function C0(t,r,e){let n=this,s=n.events.length,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),l;for(;s--;){let c=n.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 g=fr(n.sliceSerialize({start:l.end,end:n.now()}));return g.charCodeAt(0)!==94||!o.includes(g.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function A0(t,r){let e=t.length,n;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){n=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)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},o.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",o,r],["exit",o,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 E0(t,r,e){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o=0,l;return f;function f(k){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(k),t.exit("gfmFootnoteCallLabelMarker"),c}function c(k){return k!==94?e(k):(t.enter("gfmFootnoteCallMarker"),t.consume(k),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",g)}function g(k){let x;return k===null||k===91||o++>999?e(k):k===93?l?(t.exit("chunkString"),x=t.exit("gfmFootnoteCallString"),s.includes(fr(n.sliceSerialize(x)))?$(k):e(k)):e(k):(t.consume(k),rt(k)||(l=!0),k===92?h:g)}function h(k){return k===91||k===92||k===93?(t.consume(k),o++,g):g(k)}function $(k){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(k),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function _0(t,r,e){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o,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"),g}function g(I){return I===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),h):e(I)}function h(I){let q;return I===null||I===91||l>999?e(I):I===93?f?(q=t.exit("gfmFootnoteDefinitionLabelString"),o=fr(n.sliceSerialize(q)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),x):e(I):de(I)?(t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),l++,h):(t.enter("chunkString").contentType="string",$(I))}function $(I){return I===null||de(I)||I===91||I===93||l>999?(t.exit("chunkString"),h(I)):(rt(I)||(f=!0),l++,t.consume(I),I===92?k:$)}function k(I){return I===91||I===92||I===93?(t.consume(I),l++,$):$(I)}function x(I){return I===58?(t.enter("definitionMarker"),t.consume(I),t.exit("definitionMarker"),xe(t,A,"gfmFootnoteDefinitionWhitespace")):e(I)}function A(I){return s.includes(o)||s.push(o),r(I)}}function S0(t,r,e){return t.check(En,r,t.attempt(x0,r,e))}function P0(t){t.exit("gfmFootnoteDefinition")}function T0(t,r,e){let n=this;return xe(t,s,"gfmFootnoteDefinitionIndent",4+1);function s(o){let l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(o):e(o)}}function Ff(t={}){let r=t.singleTilde,e={tokenize:s,resolveAll:n};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function n(o,l){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let c=f;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[f][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";let g={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[f][1].end)},h={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[f][1].start)},$=[["enter",g,l],["enter",o[c][1],l],["exit",o[c][1],l],["enter",h,l]];Rt($,$.length,0,ii(l.parser.constructs.insideSpan.null,o.slice(c+1,f),l)),Rt($,$.length,0,[["exit",h,l],["enter",o[f][1],l],["exit",o[f][1],l],["exit",g,l]]),Rt(o,c-1,f-c+3,$),f=c+$.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function s(o,l,f){let c=this.previous,g=this.events,h=0;return $;function $(x){return c===126&&g[g.length-1][1].type!=="characterEscape"?f(x):(o.enter("strikethroughSequenceTemporary"),k(x))}function k(x){let A=ys(c);if(x===126)return h>1?f(x):(o.consume(x),h++,k);if(h<2&&!r)return f(x);let I=o.exit("strikethroughSequenceTemporary"),q=ys(x);return I._open=!q||q===2&&Boolean(A),I._close=!A||A===2&&Boolean(q),l(x)}}}var If={flow:{null:{tokenize:I0,resolve:F0}}},dh={tokenize:O0,partial:!0};function F0(t,r){let e=-1,n,s,o,l,f,c,g;for(;++e<t.length;){let h=t[e][1];if(o&&(h.type==="temporaryTableCellContent"&&(l=l||e,f=e),(h.type==="tableCellDivider"||h.type==="tableRow")&&f)){let $={type:"tableContent",start:t[l][1].start,end:t[f][1].end},k={type:"chunkText",start:$.start,end:$.end,contentType:"text"};t.splice(l,f-l+1,["enter",$,r],["enter",k,r],["exit",k,r],["exit",$,r]),e-=f-l-3,l=void 0,f=void 0}if(t[e][0]==="exit"&&c!==void 0&&c+(g?0:1)<e&&(h.type==="tableCellDivider"||h.type==="tableRow"&&(c+3<e||t[c][1].type!=="whitespace"))){let $={type:s?"tableDelimiter":n?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(h.type==="tableCellDivider"?1:0),0,["exit",$,r]),t.splice(c,0,["enter",$,r]),e+=2,c=e+1,g=!0}h.type==="tableRow"&&(o=t[e][0]==="enter",o&&(c=e+1,g=!1)),h.type==="tableDelimiterRow"&&(s=t[e][0]==="enter",s&&(c=e+1,g=!1)),h.type==="tableHead"&&(n=t[e][0]==="enter")}return t}function I0(t,r,e){let n=this,s=[],o=0,l,f;return c;function c(ne){return t.enter("table")._align=s,t.enter("tableHead"),t.enter("tableRow"),ne===124?g(ne):(o++,t.enter("temporaryTableCellContent"),k(ne))}function g(ne){return t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),l=!0,h}function h(ne){return ne===null||de(ne)?A(ne):He(ne)?(t.enter("whitespace"),t.consume(ne),$):(l&&(l=void 0,o++),ne===124?g(ne):(t.enter("temporaryTableCellContent"),k(ne)))}function $(ne){return He(ne)?(t.consume(ne),$):(t.exit("whitespace"),h(ne))}function k(ne){return ne===null||ne===124||rt(ne)?(t.exit("temporaryTableCellContent"),h(ne)):(t.consume(ne),ne===92?x:k)}function x(ne){return ne===92||ne===124?(t.consume(ne),k):k(ne)}function A(ne){if(ne===null)return e(ne);t.exit("tableRow"),t.exit("tableHead");let $t=n.interrupt;return n.interrupt=!0,t.attempt({tokenize:Qe,partial:!0},function(Xe){return n.interrupt=$t,t.enter("tableDelimiterRow"),I(Xe)},function(Xe){return n.interrupt=$t,e(Xe)})(ne)}function I(ne){return ne===null||de(ne)?$e(ne):He(ne)?(t.enter("whitespace"),t.consume(ne),q):ne===45?(t.enter("tableDelimiterFiller"),t.consume(ne),f=!0,s.push("none"),B):ne===58?(t.enter("tableDelimiterAlignment"),t.consume(ne),t.exit("tableDelimiterAlignment"),s.push("left"),X):ne===124?(t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),I):e(ne)}function q(ne){return He(ne)?(t.consume(ne),q):(t.exit("whitespace"),I(ne))}function B(ne){return ne===45?(t.consume(ne),B):(t.exit("tableDelimiterFiller"),ne===58?(t.enter("tableDelimiterAlignment"),t.consume(ne),t.exit("tableDelimiterAlignment"),s[s.length-1]=s[s.length-1]==="left"?"center":"right",le):I(ne))}function X(ne){return ne===45?(t.enter("tableDelimiterFiller"),t.consume(ne),f=!0,B):e(ne)}function le(ne){return ne===null||de(ne)?$e(ne):He(ne)?(t.enter("whitespace"),t.consume(ne),q):ne===124?(t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),I):e(ne)}function $e(ne){return t.exit("tableDelimiterRow"),!f||o!==s.length?e(ne):ne===null?he(ne):t.check(dh,he,t.attempt({tokenize:Qe,partial:!0},xe(t,Y,"linePrefix",4),he))(ne)}function he(ne){return t.exit("table"),r(ne)}function Y(ne){return t.enter("tableBody"),pe(ne)}function pe(ne){return t.enter("tableRow"),ne===124?ve(ne):(t.enter("temporaryTableCellContent"),Te(ne))}function ve(ne){return t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),ke}function ke(ne){return ne===null||de(ne)?ge(ne):He(ne)?(t.enter("whitespace"),t.consume(ne),Le):ne===124?ve(ne):(t.enter("temporaryTableCellContent"),Te(ne))}function Le(ne){return He(ne)?(t.consume(ne),Le):(t.exit("whitespace"),ke(ne))}function Te(ne){return ne===null||ne===124||rt(ne)?(t.exit("temporaryTableCellContent"),ke(ne)):(t.consume(ne),ne===92?Fe:Te)}function Fe(ne){return ne===92||ne===124?(t.consume(ne),Te):Te(ne)}function ge(ne){return t.exit("tableRow"),ne===null?Pe(ne):t.check(dh,Pe,t.attempt({tokenize:Qe,partial:!0},xe(t,pe,"linePrefix",4),Pe))(ne)}function Pe(ne){return t.exit("tableBody"),he(ne)}function Qe(ne,$t,Xe){return wt;function wt(z){return ne.enter("lineEnding"),ne.consume(z),ne.exit("lineEnding"),xe(ne,nt,"linePrefix")}function nt(z){if(n.parser.lazy[n.now().line]||z===null||de(z))return Xe(z);let U=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&U&&U[1].type==="linePrefix"&&U[2].sliceSerialize(U[1],!0).length>=4?Xe(z):(n._gfmTableDynamicInterruptHack=!0,ne.check(n.parser.constructs.flow,function(dr){return n._gfmTableDynamicInterruptHack=!1,Xe(dr)},function(dr){return n._gfmTableDynamicInterruptHack=!1,$t(dr)})(z))}}}function O0(t,r,e){let n=0;return s;function s(l){return t.enter("check"),t.consume(l),o}function o(l){return l===-1||l===32?(t.consume(l),n++,n===4?r:o):l===null||rt(l)?r(l):e(l)}}var R0={tokenize:q0},Of={text:{[91]:R0}};function q0(t,r,e){let n=this;return s;function s(f){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),o)}function o(f){return rt(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:N0},r,e)):e(f)}}function N0(t,r,e){let n=this;return xe(t,s,"whitespace");function s(o){let l=n.events[n.events.length-1];return(l&&l[1].type==="whitespace"||de(o))&&o!==null?r(o):e(o)}}function mh(t){return ka([Ef,Tf(),Ff(t),If,Of])}function Rf(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let n=0,s=e.indexOf(r);for(;s!==-1;)n++,s=e.indexOf(r,s+r.length);return n}function qf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var go=function(t){if(t==null)return B0;if(typeof t=="string")return j0(t);if(typeof t=="object")return Array.isArray(t)?D0(t):L0(t);if(typeof t=="function")return Oa(t);throw new Error("Expected function, string, or object as test")};function D0(t){let r=[],e=-1;for(;++e<t.length;)r[e]=go(t[e]);return Oa(n);function n(...s){let o=-1;for(;++o<r.length;)if(r[o].call(this,...s))return!0;return!1}}function L0(t){return Oa(r);function r(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}}function j0(t){return Oa(r);function r(e){return e&&e.type===t}}function Oa(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function B0(){return!0}function hh(t){return"\x1B[33m"+t+"\x1B[39m"}var M0=!0,z0="skip",gh=!1,yh=function(t,r,e,n){typeof r=="function"&&typeof e!="function"&&(n=e,e=r,r=null);let s=go(r),o=n?-1:1;l(t,null,[])();function l(f,c,g){let h=typeof f=="object"&&f!==null?f:{},$;return typeof h.type=="string"&&($=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0,Object.defineProperty(k,"name",{value:"node ("+hh(h.type+($?"<"+$+">":""))+")"})),k;function k(){let x=[],A,I,q;if((!r||s(f,c,g[g.length-1]||null))&&(x=V0(e(f,g)),x[0]===gh))return x;if(f.children&&x[0]!==z0)for(I=(n?f.children.length:-1)+o,q=g.concat(f);I>-1&&I<f.children.length;){if(A=l(f.children[I],I,q)(),A[0]===gh)return A;I=typeof A[1]=="number"?A[1]:I+o}return x}}};function V0(t){return Array.isArray(t)?t:typeof t=="number"?[M0,t]:[t]}var U0={}.hasOwnProperty,Nf=function(t,r,e,n){let s,o;typeof r=="string"||r instanceof RegExp?(o=[[r,e]],s=n):(o=r,s=e),s||(s={});let l=go(s.ignore||[]),f=H0(o),c=-1;for(;++c<f.length;)yh(t,"text",g);return t;function g($,k){let x=-1,A;for(;++x<k.length;){let I=k[x];if(l(I,A?A.children.indexOf(I):void 0,A))return;A=I}if(A)return h($,k)}function h($,k){let x=k[k.length-1],A=f[c][0],I=f[c][1],q=0,B=x.children.indexOf($),X=!1,le=[],$e;A.lastIndex=0;let he=A.exec($.value);for(;he;){$e=he.index;let Y={index:he.index,input:he.input,stack:[...k,$]},pe=I(...he,Y);if(typeof pe=="string"&&(pe=pe.length>0?{type:"text",value:pe}:void 0),pe!==!1&&(q!==$e&&le.push({type:"text",value:$.value.slice(q,$e)}),Array.isArray(pe)?le.push(...pe):pe&&le.push(pe),q=$e+he[0].length,X=!0),!A.global)break;he=A.exec($.value)}return X?(q<$.value.length&&le.push({type:"text",value:$.value.slice(q)}),x.children.splice(B,1,...le)):le=[$],B+le.length}};function H0(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([bh(t[e][0]),$h(t[e][1])])}else{let e;for(e in t)U0.call(t,e)&&r.push([bh(e),$h(t[e])])}return r}function bh(t){return typeof t=="string"?new RegExp(qf(t),"g"):t}function $h(t){return typeof t=="function"?t:()=>t}var Df="phrasing",Lf=["autolink","link","image","label"],wh={transforms:[Q0],enter:{literalAutolink:G0,literalAutolinkEmail:jf,literalAutolinkHttp:jf,literalAutolinkWww:jf},exit:{literalAutolink:J0,literalAutolinkEmail:Z0,literalAutolinkHttp:K0,literalAutolinkWww:W0}},kh={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Df,notInConstruct:Lf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Df,notInConstruct:Lf},{character:":",before:"[ps]",after:"\\/",inConstruct:Df,notInConstruct:Lf}]};function G0(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function jf(t){this.config.enter.autolinkProtocol.call(this,t)}function K0(t){this.config.exit.autolinkProtocol.call(this,t)}function W0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function Z0(t){this.config.exit.autolinkEmail.call(this,t)}function J0(t){this.exit(t)}function Q0(t){Nf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,X0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Y0]],{ignore:["link","linkReference"]})}function X0(t,r,e,n,s){let o="";if(!vh(s)||(/^w/i.test(r)&&(e=r+e,r="",o="http://"),!e1(e)))return!1;let l=t1(e+n);if(!l[0])return!1;let f={type:"link",title:null,url:o+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function Y0(t,r,e,n){return!vh(n,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function e1(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 t1(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,n,s,o;if(r)for(t=t.slice(0,r.index),o=r[0],e=o.indexOf(")"),n=Rf(t,"("),s=Rf(t,")");e!==-1&&n>s;)t+=o.slice(0,e+1),o=o.slice(e+1),e=o.indexOf(")"),s++;return[t,o]}function vh(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Oi(e)||Ri(e))&&(!r||e!==47)}function Bf(t){return t.label||!t.identifier?t.label||"":Ia(t.identifier)}function pr(t){let r=t||{},e=r.now||{},n=r.lineShift||0,s=e.line||1,o=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:s,column:o},lineShift:n}}function f(g){n+=g}function c(g=""){let h=g.split(/\r?\n|\r/g),$=h[h.length-1];return s+=h.length-1,o=h.length===1?o+$.length:1+$.length+n,g}}function Ra(t,r,e){let n=r.indexStack,s=t.children||[],o=pr(e),l=[],f=-1;for(n.push(-1);++f<s.length;){let g=s[f];n[n.length-1]=f,l.push(o.move(r.handle(g,t,r,{before:`
44
46
  `,after:`
45
- `,...o.current()}))),h.type!=="list"&&(r.bulletLastUsed=void 0),f<s.length-1&&l.push(o.move(c(h,s[f+1])))}return n.pop(),l.join("");function c(h,m){let b=r.join.length;for(;b--;){let C=r.join[b](h,m,t,r);if(C===!0||C===1)break;if(typeof C=="number")return`
46
- `.repeat(1+C);if(C===!1)return`
47
+ `,...o.current()}))),g.type!=="list"&&(r.bulletLastUsed=void 0),f<s.length-1&&l.push(o.move(c(g,s[f+1])))}return n.pop(),l.join("");function c(g,h){let $=r.join.length;for(;$--;){let k=r.join[$](g,h,t,r);if(k===!0||k===1)break;if(typeof k=="number")return`
48
+ `.repeat(1+k);if(k===!1)return`
47
49
 
48
50
  <!---->
49
51
 
50
52
  `}return`
51
53
 
52
- `}}var V0=/\r?\n|\r/g;function Ea(t,r){let e=[],n=0,s=0,o;for(;o=V0.exec(t);)l(t.slice(n,o.index)),e.push(o[0]),n=o.index+o[0].length,s++;return l(t.slice(n)),e.join("");function l(f){e.push(r(f,s,!f))}}function $s(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 fh(t,r){return uh(t,r.inConstruct,!0)&&!uh(t,r.notInConstruct,!1)}function uh(t,r,e){if(!r)return e;typeof r=="string"&&(r=[r]);let n=-1;for(;++n<r.length;)if(t.includes(r[n]))return!0;return!1}function mo(t,r,e){let n=(e.before||"")+(r||"")+(e.after||""),s=[],o=[],l={},f=-1;for(;++f<t.unsafe.length;){let m=t.unsafe[f];if(!fh(t.stack,m))continue;let b=$s(m),C;for(;C=b.exec(n);){let A="before"in m||Boolean(m.atBreak),E="after"in m,O=C.index+(A?C[1].length:0);s.includes(O)?(l[O].before&&!A&&(l[O].before=!1),l[O].after&&!E&&(l[O].after=!1)):(s.push(O),l[O]={before:A,after:E})}}s.sort(U0);let c=e.before?e.before.length:0,h=n.length-(e.after?e.after.length:0);for(f=-1;++f<s.length;){let m=s[f];m<c||m>=h||m+1<h&&s[f+1]===m+1&&l[m].after&&!l[m+1].before&&!l[m+1].after||s[f-1]===m-1&&l[m].before&&!l[m-1].before&&!l[m-1].after||(c!==m&&o.push(ch(n.slice(c,m),"\\")),c=m,/[!-/:-@[-`{-~]/.test(n.charAt(m))&&(!e.encode||!e.encode.includes(n.charAt(m)))?o.push("\\"):(o.push("&#x"+n.charCodeAt(m).toString(16).toUpperCase()+";"),c++))}return o.push(ch(n.slice(c,h),e.after)),o.join("")}function U0(t,r){return t-r}function ch(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,n=[],s=[],o=t+r,l=-1,f=0,c;for(;c=e.exec(o);)n.push(c.index);for(;++l<n.length;)f!==n[l]&&s.push(t.slice(f,n[l])),s.push("\\"),f=n[l];return s.push(t.slice(f)),s.join("")}function ph(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:s,gfmFootnoteCallString:o},exit:{gfmFootnoteDefinition:n,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 h=this.resume(),m=this.stack[this.stack.length-1];m.label=h,m.identifier=cr(this.sliceSerialize(c)).toLowerCase()}function n(c){this.exit(c)}function s(c){this.enter({type:"footnoteReference",identifier:"",label:""},c)}function o(){this.buffer()}function l(c){let h=this.resume(),m=this.stack[this.stack.length-1];m.label=h,m.identifier=cr(this.sliceSerialize(c)).toLowerCase()}function f(c){this.exit(c)}}function dh(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(n,s,o,l){let f=dr(l),c=f.move("[^"),h=o.enter("footnoteReference"),m=o.enter("reference");return c+=f.move(mo(o,Sf(n),{...f.current(),before:c,after:"]"})),m(),h(),c+=f.move("]"),c}function r(){return"["}function e(n,s,o,l){let f=dr(l),c=f.move("[^"),h=o.enter("footnoteDefinition"),m=o.enter("label");return c+=f.move(mo(o,Sf(n),{...f.current(),before:c,after:"]"})),m(),c+=f.move("]:"+(n.children&&n.children.length>0?" ":"")),f.shift(4),c+=f.move(Ea(Aa(n,o,f.current()),b)),h(),c;function b(C,A,E){return A?(E?"":" ")+C:C}}}function _a(t,r,e){let n=r.indexStack,s=t.children||[],o=[],l=-1,f=e.before;n.push(-1);let c=dr(e);for(;++l<s.length;){let h=s[l],m;if(n[n.length-1]=l,l+1<s.length){let b=r.handle.handlers[s[l+1].type];b&&b.peek&&(b=b.peek),m=b?b(s[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else m=e.after;o.length>0&&(f==="\r"||f===`
53
- `)&&h.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=dr(e),c.move(o.join(""))),o.push(c.move(r.handle(h,t,r,{...c.current(),before:f,after:m}))),f=o[o.length-1].slice(-1)}return n.pop(),o.join("")}var mh={canContainEols:["delete"],enter:{strikethrough:H0},exit:{strikethrough:G0}},hh={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:gh}};gh.peek=K0;function H0(t){this.enter({type:"delete",children:[]},t)}function G0(t){this.exit(t)}function gh(t,r,e,n){let s=dr(n),o=e.enter("emphasis"),l=s.move("~~");return l+=_a(t,e,{...s.current(),before:l,after:"~"}),l+=s.move("~~"),o(),l}function K0(){return"~"}Pf.peek=W0;function Pf(t,r,e){let n=t.value||"",s="`",o=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(n);)s+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<e.unsafe.length;){let l=e.unsafe[o],f=$s(l),c;if(!!l.atBreak)for(;c=f.exec(n);){let h=c.index;n.charCodeAt(h)===10&&n.charCodeAt(h-1)===13&&h--,n=n.slice(0,h)+" "+n.slice(c.index+1)}}return s+n+s}function W0(){return"`"}function $h(t,r={}){let e=(r.align||[]).concat(),n=r.stringLength||Z0,s=[],o=[],l=[],f=[],c=0,h=-1;for(;++h<t.length;){let E=[],O=[],D=-1;for(t[h].length>c&&(c=t[h].length);++D<t[h].length;){let M=J0(t[h][D]);if(r.alignDelimiters!==!1){let X=n(M);O[D]=X,(f[D]===void 0||X>f[D])&&(f[D]=X)}E.push(M)}o[h]=E,l[h]=O}let m=-1;if(typeof e=="object"&&"length"in e)for(;++m<c;)s[m]=yh(e[m]);else{let E=yh(e);for(;++m<c;)s[m]=E}m=-1;let b=[],C=[];for(;++m<c;){let E=s[m],O="",D="";E===99?(O=":",D=":"):E===108?O=":":E===114&&(D=":");let M=r.alignDelimiters===!1?1:Math.max(1,f[m]-O.length-D.length),X=O+"-".repeat(M)+D;r.alignDelimiters!==!1&&(M=O.length+M+D.length,M>f[m]&&(f[m]=M),C[m]=M),b[m]=X}o.splice(1,0,b),l.splice(1,0,C),h=-1;let A=[];for(;++h<o.length;){let E=o[h],O=l[h];m=-1;let D=[];for(;++m<c;){let M=E[m]||"",X="",le="";if(r.alignDelimiters!==!1){let we=f[m]-(O[m]||0),ge=s[m];ge===114?X=" ".repeat(we):ge===99?we%2?(X=" ".repeat(we/2+.5),le=" ".repeat(we/2-.5)):(X=" ".repeat(we/2),le=X):le=" ".repeat(we)}r.delimiterStart!==!1&&!m&&D.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&M==="")&&(r.delimiterStart!==!1||m)&&D.push(" "),r.alignDelimiters!==!1&&D.push(X),D.push(M),r.alignDelimiters!==!1&&D.push(le),r.padding!==!1&&D.push(" "),(r.delimiterEnd!==!1||m!==c-1)&&D.push("|")}A.push(r.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return A.join(`
54
- `)}function J0(t){return t==null?"":String(t)}function Z0(t){return t.length}function yh(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 Ff={enter:{table:Q0,tableData:bh,tableHeader:bh,tableRow:Y0},exit:{codeText:e1,table:X0,tableData:Tf,tableHeader:Tf,tableRow:Tf}};function Q0(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function X0(t){this.exit(t),this.setData("inTable")}function Y0(t){this.enter({type:"tableRow",children:[]},t)}function Tf(t){this.exit(t)}function bh(t){this.enter({type:"tableCell",children:[]},t)}function e1(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,t1));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function t1(t,r){return r==="|"?r:t}function If(t){let r=t||{},e=r.tableCellPadding,n=r.tablePipeAlign,s=r.stringLength,o=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
55
- `,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:C}};function l(A,E,O,D){return h(m(A,O,D),A.align)}function f(A,E,O,D){let M=b(A,O,D),X=h([M]);return X.slice(0,X.indexOf(`
56
- `))}function c(A,E,O,D){let M=O.enter("tableCell"),X=O.enter("phrasing"),le=_a(A,O,{...D,before:o,after:o});return X(),M(),le}function h(A,E){return $h(A,{align:E,alignDelimiters:n,padding:e,stringLength:s})}function m(A,E,O){let D=A.children,M=-1,X=[],le=E.enter("table");for(;++M<D.length;)X[M]=b(D[M],E,O);return le(),X}function b(A,E,O){let D=A.children,M=-1,X=[],le=E.enter("tableRow");for(;++M<D.length;)X[M]=c(D[M],A,E,O);return le(),X}function C(A,E,O){let D=Pf(A,E,O);return O.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}function wh(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 kh(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 vh(t,r,e,n){let s=kh(e),o=e.bulletCurrent||wh(e);r&&r.type==="list"&&r.ordered&&(o=(typeof r.start=="number"&&r.start>-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+o);let l=o.length+1;(s==="tab"||s==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(l=Math.ceil(l/4)*4);let f=dr(n);f.move(o+" ".repeat(l-o.length)),f.shift(l);let c=e.enter("listItem"),h=Ea(Aa(t,e,f.current()),m);return c(),h;function m(b,C,A){return C?(A?"":" ".repeat(l))+b:(A?o:o+" ".repeat(l-o.length))+b}}var Ch={exit:{taskListCheckValueChecked:xh,taskListCheckValueUnchecked:xh,paragraph:r1}},Ah={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:n1}};function xh(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function r1(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],n=r.children,s=e.children[0],o=-1,l;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&s&&s.type==="text"){for(;++o<n.length;){let f=n[o];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 n1(t,r,e,n){let s=t.children[0],o=typeof t.checked=="boolean"&&s&&s.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=dr(n);o&&f.move(l);let c=vh(t,r,e,{...n,...f.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),c;function h(m){return m+l}}function Of(){return[oh,ph(),mh,Ff,Ch]}function Rf(t){return{extensions:[ah,dh(),hh,If(t),Ah]}}function qf(t={}){let r=this.data();e("micromarkExtensions",eh(t)),e("fromMarkdownExtensions",Of()),e("toMarkdownExtensions",Rf(t));function e(n,s){(r[n]?r[n]:r[n]=[]).push(s)}}var _h={tokenize:i1,concrete:!0},Eh={tokenize:s1,partial:!0};function i1(t,r,e){let n=this,s=n.events[n.events.length-1],o=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"),Ce(t,h,"whitespace")(X))}function h(X){return X===null||ce(X)?b(X):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),m(X))}function m(X){return X===null||ce(X)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),b(X)):X===36?e(X):(t.consume(X),m)}function b(X){return t.exit("mathFlowFence"),n.interrupt?r(X):t.attempt(Eh,C,D)(X)}function C(X){return t.attempt({tokenize:M,partial:!0},D,A)(X)}function A(X){return(o?Ce(t,E,"linePrefix",o+1):E)(X)}function E(X){return X===null?D(X):ce(X)?t.attempt(Eh,C,D)(X):(t.enter("mathFlowValue"),O(X))}function O(X){return X===null||ce(X)?(t.exit("mathFlowValue"),E(X)):(t.consume(X),O)}function D(X){return t.exit("mathFlow"),r(X)}function M(X,le,we){let ge=0;return Ce(X,ee,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ee(ve){return X.enter("mathFlowFence"),X.enter("mathFlowFenceSequence"),me(ve)}function me(ve){return ve===36?(ge++,X.consume(ve),me):ge<l?we(ve):(X.exit("mathFlowFenceSequence"),Ce(X,xe,"whitespace")(ve))}function xe(ve){return ve===null||ce(ve)?(X.exit("mathFlowFence"),le(ve)):we(ve)}}}function s1(t,r,e){let n=this;return s;function s(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o)}function o(l){return n.parser.lazy[n.now().line]?e(l):r(l)}}function Sh(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:n,resolve:o1,previous:a1};function n(s,o,l){let f=this,c=0,h,m;return b;function b(D){return s.enter("mathText"),s.enter("mathTextSequence"),C(D)}function C(D){return D===36?(s.consume(D),c++,C):c<2&&!e?l(D):(s.exit("mathTextSequence"),A(D))}function A(D){return D===null?l(D):D===36?(m=s.enter("mathTextSequence"),h=0,O(D)):D===32?(s.enter("space"),s.consume(D),s.exit("space"),A):ce(D)?(s.enter("lineEnding"),s.consume(D),s.exit("lineEnding"),A):(s.enter("mathTextData"),E(D))}function E(D){return D===null||D===32||D===36||ce(D)?(s.exit("mathTextData"),A(D)):(s.consume(D),E)}function O(D){return D===36?(s.consume(D),h++,O):h===c?(s.exit("mathTextSequence"),s.exit("mathText"),o(D)):(m.type="mathTextData",E(D))}}}function o1(t){let r=t.length-4,e=3,n,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="mathTextData"){t[r][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)s===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(s=n):(n===r||t[n][1].type==="lineEnding")&&(t[s][1].type="mathTextData",n!==s+2&&(t[s][1].end=t[n-1][1].end,t.splice(s+2,n-s-2),r-=n-s-2,n=s+2),s=void 0);return t}function a1(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Df(t){return{flow:{[36]:_h},text:{[36]:Sh(t)}}}function Ph(t,r){let e=String(t),n=e.indexOf(r),s=n,o=0,l=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;n!==-1;)n===s?++o>l&&(l=o):o=1,s=n+1,n=e.indexOf(r,s);return l}function Nf(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:o},exit:{mathFlow:s,mathFlowFence:n,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(),h=this.stack[this.stack.length-1];h.meta=c}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function s(c){let h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m=this.exit(c);m.value=h,m.data.hChildren[0].value=h,this.setData("mathFlowInside")}function o(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 h=this.resume(),m=this.exit(c);m.value=h,m.data.hChildren[0].value=h}function f(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function Lf(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),n.peek=s,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
57
- `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:n}};function e(o,l,f,c){let h=o.value||"",m=dr(c),b="$".repeat(Math.max(Ph(h,"$")+1,2)),C=f.enter("mathFlow"),A=m.move(b);if(o.meta){let E=f.enter("mathFlowMeta");A+=m.move(mo(f,o.meta,{before:A,after:`
58
- `,encode:["$"],...m.current()})),E()}return A+=m.move(`
59
- `),h&&(A+=m.move(h+`
60
- `)),A+=m.move(b),C(),A}function n(o,l,f){let c=o.value||"",h=1;for(r||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(c);)h++;let m="$".repeat(h);/[^ \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 C=f.unsafe[b],A=$s(C),E;if(!!C.atBreak)for(;E=A.exec(c);){let O=E.index;c.codePointAt(O)===10&&c.codePointAt(O-1)===13&&O--,c=c.slice(0,O)+" "+c.slice(E.index+1)}}return m+c+m}function s(){return"$"}}function jf(t={}){let r=this.data();e("micromarkExtensions",Df(t)),e("fromMarkdownExtensions",Nf()),e("toMarkdownExtensions",Lf(t));function e(n,s){(r[n]?r[n]:r[n]=[]).push(s)}}var Sa=(t,{lineOffset:r}={lineOffset:0})=>{let e=Ju().use(Vm).use(qf).use(jf).parse(t),n={},s=(f=>c=>{let{start:h,end:m}=c;return{start:{...h,line:h.line+f},end:{...m,line:m.line+f}}})(r);ms({processor:1}).use({"*:*":(f,c)=>(h,m,b)=>{h.children&&b(h.children,{...m})}}).use({":definition":(f,c)=>(h,m,b)=>{n[h.identifier]=h}}).run(e);let o=[];return ms({processor:1}).use({"*:*":(f,c)=>(h,m,b)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(h,null,2)),h.children&&b(h.children,{...m})}}).use({":root":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return _u({},b(C,m))},":math":(f,c)=>(h,m,b)=>{let{value:C,children:A,position:E,...O}=h;return $d({value:C,location:s(E)})},":inlineMath":(f,c)=>(h,m,b)=>{let{value:C,children:A,position:E,...O}=h;return hd(C)},":heading":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return wr({type:"block",level:h.depth,name:"head",location:s(A)},b(C,m))},":text":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return h.value},":list":(f,c)=>(h,m,b)=>{let C=m.listLevel||0,{children:A,position:E,...O}=h;return wr({type:"list",level:C+1,list:h.ordered?"ordered":"itemized"},b(A,{...m,listLevel:C+1,ordered:h.ordered}))},":listItem":(f,c)=>(h,m,b)=>{let C=m.listLevel||0,{children:A,position:E,checked:O,...D}=h,M={name:"item",type:"block",level:m.listLevel,location:s(E)};return O!=null&&(M.checked=O,M.config=[{name:"checked",value:O,type:"boolean"}]),wr(M,b(A,{...m,listLevel:C,ordered:h.ordered}))},":paragraph":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return wr({type:"para",location:s(A),text:"text",margin:""},b(C,{...m}))},":linkReference":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h,O=n[E.identifier],D=(O==null?void 0:O.url)||"";return Eu({meta:D},b(C,{...m}))},":definition":(f,c)=>(h,m,b)=>null,":inlineCode":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return sa({name:"C"},[h.value])},":strong":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return sa({name:"B"},b(C,{...m}))},":emphasis":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return sa({name:"I"},b(C,{...m}))},":link":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return Eu({meta:h.url},b(C,{...m}))},":html":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return wr({type:"block",name:"Html",location:s(A)},[to(h.value)])},":code":(f,c)=>(h,m,b)=>{let{children:C,position:A,lang:E,meta:O,...D}=h;if(E==="mermaid"||E==="diagram")return wr({type:"block",name:"Mermaid",config:[],location:s(A)},[to(h.value)]);let M=[];return E&&M.push({name:"lang",value:E,type:"string"}),O&&M.push(...Iu(O)),wr({type:"block",name:"code",config:M,location:s(A)},[to(h.value)])},":image":(f,c)=>(h,m,b)=>{let{title:C,alt:A,url:E,position:O,...D}=h,M=[],X=[yd(E,A)];return C&&X.push(gd([C])),wr({type:"block",name:"Image",config:M,location:s(O)},X)},":thematicBreak":(f,c)=>(h,m,b)=>null,":blockquote":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return wr({name:"nested",location:s(A)},b(C,{...m}))},":table":(f,c)=>(h,m,b)=>{let{children:C,position:A,align:E,...O}=h;return wr({name:"table",location:s(A),align:E},b(C,{...m,isHeaderUsed:0}))},":tableRow":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h,O=m.isHeaderUsed++,D={name:"row",location:s(A)};return O||(D.config=[{name:"header",value:!0,type:"boolean"}]),wr(D,b(C,{...m}))},":tableCell":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return wr({name:"cell",location:s(A)},b(C,{...m}))},":delete":(f,c)=>(h,m,b)=>{let{children:C,position:A,...E}=h;return md(b(C,{...m}))},":break":(f,c)=>(h,m,b)=>null}).run(e).interator};var Pa={toAst:(t,r)=>(e,n)=>{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 o=e.location.start.line;return{...e,content:Sa(s,{lineOffset:o})}}return e}},toJSX:t=>kr},l1={Markdown:Pa,markdown:Pa},u1=Pa;0&&(module.exports={PluginRegister,parseMd,plugin});
54
+ `}}var r1=/\r?\n|\r/g;function qa(t,r){let e=[],n=0,s=0,o;for(;o=r1.exec(t);)l(t.slice(n,o.index)),e.push(o[0]),n=o.index+o[0].length,s++;return l(t.slice(n)),e.join("");function l(f){e.push(r(f,s,!f))}}function ws(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 Ch(t,r){return xh(t,r.inConstruct,!0)&&!xh(t,r.notInConstruct,!1)}function xh(t,r,e){if(!r)return e;typeof r=="string"&&(r=[r]);let n=-1;for(;++n<r.length;)if(t.includes(r[n]))return!0;return!1}function yo(t,r,e){let n=(e.before||"")+(r||"")+(e.after||""),s=[],o=[],l={},f=-1;for(;++f<t.unsafe.length;){let h=t.unsafe[f];if(!Ch(t.stack,h))continue;let $=ws(h),k;for(;k=$.exec(n);){let x="before"in h||Boolean(h.atBreak),A="after"in h,I=k.index+(x?k[1].length:0);s.includes(I)?(l[I].before&&!x&&(l[I].before=!1),l[I].after&&!A&&(l[I].after=!1)):(s.push(I),l[I]={before:x,after:A})}}s.sort(n1);let c=e.before?e.before.length:0,g=n.length-(e.after?e.after.length:0);for(f=-1;++f<s.length;){let h=s[f];h<c||h>=g||h+1<g&&s[f+1]===h+1&&l[h].after&&!l[h+1].before&&!l[h+1].after||s[f-1]===h-1&&l[h].before&&!l[h-1].before&&!l[h-1].after||(c!==h&&o.push(Ah(n.slice(c,h),"\\")),c=h,/[!-/:-@[-`{-~]/.test(n.charAt(h))&&(!e.encode||!e.encode.includes(n.charAt(h)))?o.push("\\"):(o.push("&#x"+n.charCodeAt(h).toString(16).toUpperCase()+";"),c++))}return o.push(Ah(n.slice(c,g),e.after)),o.join("")}function n1(t,r){return t-r}function Ah(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,n=[],s=[],o=t+r,l=-1,f=0,c;for(;c=e.exec(o);)n.push(c.index);for(;++l<n.length;)f!==n[l]&&s.push(t.slice(f,n[l])),s.push("\\"),f=n[l];return s.push(t.slice(f)),s.join("")}function Eh(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:s,gfmFootnoteCallString:o},exit:{gfmFootnoteDefinition:n,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 g=this.resume(),h=this.stack[this.stack.length-1];h.label=g,h.identifier=fr(this.sliceSerialize(c)).toLowerCase()}function n(c){this.exit(c)}function s(c){this.enter({type:"footnoteReference",identifier:"",label:""},c)}function o(){this.buffer()}function l(c){let g=this.resume(),h=this.stack[this.stack.length-1];h.label=g,h.identifier=fr(this.sliceSerialize(c)).toLowerCase()}function f(c){this.exit(c)}}function _h(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(n,s,o,l){let f=pr(l),c=f.move("[^"),g=o.enter("footnoteReference"),h=o.enter("reference");return c+=f.move(yo(o,Bf(n),{...f.current(),before:c,after:"]"})),h(),g(),c+=f.move("]"),c}function r(){return"["}function e(n,s,o,l){let f=pr(l),c=f.move("[^"),g=o.enter("footnoteDefinition"),h=o.enter("label");return c+=f.move(yo(o,Bf(n),{...f.current(),before:c,after:"]"})),h(),c+=f.move("]:"+(n.children&&n.children.length>0?" ":"")),f.shift(4),c+=f.move(qa(Ra(n,o,f.current()),$)),g(),c;function $(k,x,A){return x?(A?"":" ")+k:k}}}function Na(t,r,e){let n=r.indexStack,s=t.children||[],o=[],l=-1,f=e.before;n.push(-1);let c=pr(e);for(;++l<s.length;){let g=s[l],h;if(n[n.length-1]=l,l+1<s.length){let $=r.handle.handlers[s[l+1].type];$&&$.peek&&($=$.peek),h=$?$(s[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else h=e.after;o.length>0&&(f==="\r"||f===`
55
+ `)&&g.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=pr(e),c.move(o.join(""))),o.push(c.move(r.handle(g,t,r,{...c.current(),before:f,after:h}))),f=o[o.length-1].slice(-1)}return n.pop(),o.join("")}var Sh={canContainEols:["delete"],enter:{strikethrough:i1},exit:{strikethrough:s1}},Ph={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:Th}};Th.peek=o1;function i1(t){this.enter({type:"delete",children:[]},t)}function s1(t){this.exit(t)}function Th(t,r,e,n){let s=pr(n),o=e.enter("emphasis"),l=s.move("~~");return l+=Na(t,e,{...s.current(),before:l,after:"~"}),l+=s.move("~~"),o(),l}function o1(){return"~"}Mf.peek=a1;function Mf(t,r,e){let n=t.value||"",s="`",o=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(n);)s+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<e.unsafe.length;){let l=e.unsafe[o],f=ws(l),c;if(!!l.atBreak)for(;c=f.exec(n);){let g=c.index;n.charCodeAt(g)===10&&n.charCodeAt(g-1)===13&&g--,n=n.slice(0,g)+" "+n.slice(c.index+1)}}return s+n+s}function a1(){return"`"}function Ih(t,r={}){let e=(r.align||[]).concat(),n=r.stringLength||u1,s=[],o=[],l=[],f=[],c=0,g=-1;for(;++g<t.length;){let A=[],I=[],q=-1;for(t[g].length>c&&(c=t[g].length);++q<t[g].length;){let B=l1(t[g][q]);if(r.alignDelimiters!==!1){let X=n(B);I[q]=X,(f[q]===void 0||X>f[q])&&(f[q]=X)}A.push(B)}o[g]=A,l[g]=I}let h=-1;if(typeof e=="object"&&"length"in e)for(;++h<c;)s[h]=Fh(e[h]);else{let A=Fh(e);for(;++h<c;)s[h]=A}h=-1;let $=[],k=[];for(;++h<c;){let A=s[h],I="",q="";A===99?(I=":",q=":"):A===108?I=":":A===114&&(q=":");let B=r.alignDelimiters===!1?1:Math.max(1,f[h]-I.length-q.length),X=I+"-".repeat(B)+q;r.alignDelimiters!==!1&&(B=I.length+B+q.length,B>f[h]&&(f[h]=B),k[h]=B),$[h]=X}o.splice(1,0,$),l.splice(1,0,k),g=-1;let x=[];for(;++g<o.length;){let A=o[g],I=l[g];h=-1;let q=[];for(;++h<c;){let B=A[h]||"",X="",le="";if(r.alignDelimiters!==!1){let $e=f[h]-(I[h]||0),he=s[h];he===114?X=" ".repeat($e):he===99?$e%2?(X=" ".repeat($e/2+.5),le=" ".repeat($e/2-.5)):(X=" ".repeat($e/2),le=X):le=" ".repeat($e)}r.delimiterStart!==!1&&!h&&q.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&B==="")&&(r.delimiterStart!==!1||h)&&q.push(" "),r.alignDelimiters!==!1&&q.push(X),q.push(B),r.alignDelimiters!==!1&&q.push(le),r.padding!==!1&&q.push(" "),(r.delimiterEnd!==!1||h!==c-1)&&q.push("|")}x.push(r.delimiterEnd===!1?q.join("").replace(/ +$/,""):q.join(""))}return x.join(`
56
+ `)}function l1(t){return t==null?"":String(t)}function u1(t){return t.length}function Fh(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 Vf={enter:{table:f1,tableData:Oh,tableHeader:Oh,tableRow:p1},exit:{codeText:d1,table:c1,tableData:zf,tableHeader:zf,tableRow:zf}};function f1(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function c1(t){this.exit(t),this.setData("inTable")}function p1(t){this.enter({type:"tableRow",children:[]},t)}function zf(t){this.exit(t)}function Oh(t){this.enter({type:"tableCell",children:[]},t)}function d1(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,m1));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function m1(t,r){return r==="|"?r:t}function Uf(t){let r=t||{},e=r.tableCellPadding,n=r.tablePipeAlign,s=r.stringLength,o=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
57
+ `,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:k}};function l(x,A,I,q){return g(h(x,I,q),x.align)}function f(x,A,I,q){let B=$(x,I,q),X=g([B]);return X.slice(0,X.indexOf(`
58
+ `))}function c(x,A,I,q){let B=I.enter("tableCell"),X=I.enter("phrasing"),le=Na(x,I,{...q,before:o,after:o});return X(),B(),le}function g(x,A){return Ih(x,{align:A,alignDelimiters:n,padding:e,stringLength:s})}function h(x,A,I){let q=x.children,B=-1,X=[],le=A.enter("table");for(;++B<q.length;)X[B]=$(q[B],A,I);return le(),X}function $(x,A,I){let q=x.children,B=-1,X=[],le=A.enter("tableRow");for(;++B<q.length;)X[B]=c(q[B],x,A,I);return le(),X}function k(x,A,I){let q=Mf(x,A,I);return I.stack.includes("tableCell")&&(q=q.replace(/\|/g,"\\$&")),q}}function Rh(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 qh(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 Nh(t,r,e,n){let s=qh(e),o=e.bulletCurrent||Rh(e);r&&r.type==="list"&&r.ordered&&(o=(typeof r.start=="number"&&r.start>-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+o);let l=o.length+1;(s==="tab"||s==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(l=Math.ceil(l/4)*4);let f=pr(n);f.move(o+" ".repeat(l-o.length)),f.shift(l);let c=e.enter("listItem"),g=qa(Ra(t,e,f.current()),h);return c(),g;function h($,k,x){return k?(x?"":" ".repeat(l))+$:(x?o:o+" ".repeat(l-o.length))+$}}var Lh={exit:{taskListCheckValueChecked:Dh,taskListCheckValueUnchecked:Dh,paragraph:h1}},jh={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:g1}};function Dh(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function h1(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],n=r.children,s=e.children[0],o=-1,l;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&s&&s.type==="text"){for(;++o<n.length;){let f=n[o];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 g1(t,r,e,n){let s=t.children[0],o=typeof t.checked=="boolean"&&s&&s.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=pr(n);o&&f.move(l);let c=Nh(t,r,e,{...n,...f.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,g)),c;function g(h){return h+l}}function Hf(){return[wh,Eh(),Sh,Vf,Lh]}function Gf(t){return{extensions:[kh,_h(),Ph,Uf(t),jh]}}function Kf(t={}){let r=this.data();e("micromarkExtensions",mh(t)),e("fromMarkdownExtensions",Hf()),e("toMarkdownExtensions",Gf(t));function e(n,s){(r[n]?r[n]:r[n]=[]).push(s)}}var Mh={tokenize:y1,concrete:!0},Bh={tokenize:b1,partial:!0};function y1(t,r,e){let n=this,s=n.events[n.events.length-1],o=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"),xe(t,g,"whitespace")(X))}function g(X){return X===null||de(X)?$(X):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),h(X))}function h(X){return X===null||de(X)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),$(X)):X===36?e(X):(t.consume(X),h)}function $(X){return t.exit("mathFlowFence"),n.interrupt?r(X):t.attempt(Bh,k,q)(X)}function k(X){return t.attempt({tokenize:B,partial:!0},q,x)(X)}function x(X){return(o?xe(t,A,"linePrefix",o+1):A)(X)}function A(X){return X===null?q(X):de(X)?t.attempt(Bh,k,q)(X):(t.enter("mathFlowValue"),I(X))}function I(X){return X===null||de(X)?(t.exit("mathFlowValue"),A(X)):(t.consume(X),I)}function q(X){return t.exit("mathFlow"),r(X)}function B(X,le,$e){let he=0;return xe(X,Y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Y(ke){return X.enter("mathFlowFence"),X.enter("mathFlowFenceSequence"),pe(ke)}function pe(ke){return ke===36?(he++,X.consume(ke),pe):he<l?$e(ke):(X.exit("mathFlowFenceSequence"),xe(X,ve,"whitespace")(ke))}function ve(ke){return ke===null||de(ke)?(X.exit("mathFlowFence"),le(ke)):$e(ke)}}}function b1(t,r,e){let n=this;return s;function s(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o)}function o(l){return n.parser.lazy[n.now().line]?e(l):r(l)}}function zh(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:n,resolve:$1,previous:w1};function n(s,o,l){let f=this,c=0,g,h;return $;function $(q){return s.enter("mathText"),s.enter("mathTextSequence"),k(q)}function k(q){return q===36?(s.consume(q),c++,k):c<2&&!e?l(q):(s.exit("mathTextSequence"),x(q))}function x(q){return q===null?l(q):q===36?(h=s.enter("mathTextSequence"),g=0,I(q)):q===32?(s.enter("space"),s.consume(q),s.exit("space"),x):de(q)?(s.enter("lineEnding"),s.consume(q),s.exit("lineEnding"),x):(s.enter("mathTextData"),A(q))}function A(q){return q===null||q===32||q===36||de(q)?(s.exit("mathTextData"),x(q)):(s.consume(q),A)}function I(q){return q===36?(s.consume(q),g++,I):g===c?(s.exit("mathTextSequence"),s.exit("mathText"),o(q)):(h.type="mathTextData",A(q))}}}function $1(t){let r=t.length-4,e=3,n,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="mathTextData"){t[r][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)s===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(s=n):(n===r||t[n][1].type==="lineEnding")&&(t[s][1].type="mathTextData",n!==s+2&&(t[s][1].end=t[n-1][1].end,t.splice(s+2,n-s-2),r-=n-s-2,n=s+2),s=void 0);return t}function w1(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Wf(t){return{flow:{[36]:Mh},text:{[36]:zh(t)}}}function Vh(t,r){let e=String(t),n=e.indexOf(r),s=n,o=0,l=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;n!==-1;)n===s?++o>l&&(l=o):o=1,s=n+1,n=e.indexOf(r,s);return l}function Zf(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:o},exit:{mathFlow:s,mathFlowFence:n,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(),g=this.stack[this.stack.length-1];g.meta=c}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function s(c){let g=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h=this.exit(c);h.value=g,h.data.hChildren[0].value=g,this.setData("mathFlowInside")}function o(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 g=this.resume(),h=this.exit(c);h.value=g,h.data.hChildren[0].value=g}function f(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function Jf(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),n.peek=s,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
59
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:n}};function e(o,l,f,c){let g=o.value||"",h=pr(c),$="$".repeat(Math.max(Vh(g,"$")+1,2)),k=f.enter("mathFlow"),x=h.move($);if(o.meta){let A=f.enter("mathFlowMeta");x+=h.move(yo(f,o.meta,{before:x,after:`
60
+ `,encode:["$"],...h.current()})),A()}return x+=h.move(`
61
+ `),g&&(x+=h.move(g+`
62
+ `)),x+=h.move($),k(),x}function n(o,l,f){let c=o.value||"",g=1;for(r||g++;new RegExp("(^|[^$])"+"\\$".repeat(g)+"([^$]|$)").test(c);)g++;let h="$".repeat(g);/[^ \r\n]/.test(c)&&(/^[ \r\n]/.test(c)&&/[ \r\n]$/.test(c)||/^\$|\$$/.test(c))&&(c=" "+c+" ");let $=-1;for(;++$<f.unsafe.length;){let k=f.unsafe[$],x=ws(k),A;if(!!k.atBreak)for(;A=x.exec(c);){let I=A.index;c.codePointAt(I)===10&&c.codePointAt(I-1)===13&&I--,c=c.slice(0,I)+" "+c.slice(A.index+1)}}return h+c+h}function s(){return"$"}}function Qf(t={}){let r=this.data();e("micromarkExtensions",Wf(t)),e("fromMarkdownExtensions",Zf()),e("toMarkdownExtensions",Jf(t));function e(n,s){(r[n]?r[n]:r[n]=[]).push(s)}}var Da=(t,{lineOffset:r}={lineOffset:0})=>{let e=lf().use(nh).use(Kf).use(Qf).parse(t),n={},s=(f=>c=>{let{start:g,end:h}=c;return{start:{...g,line:g.line+f},end:{...h,line:h.line+f}}})(r);gs({processor:1}).use({"*:*":(f,c)=>(g,h,$)=>{g.children&&$(g.children,{...h})}}).use({":definition":(f,c)=>(g,h,$)=>{n[g.identifier]=g}}).run(e);let o=[];return gs({processor:1}).use({"*:*":(f,c)=>(g,h,$)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(g,null,2)),g.children&&$(g.children,{...h})}}).use({":root":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return Nu({},$(k,h))},":math":(f,c)=>(g,h,$)=>{let{value:k,children:x,position:A,...I}=g;return Td({value:k,location:s(A)})},":inlineMath":(f,c)=>(g,h,$)=>{let{value:k,children:x,position:A,...I}=g;return _d(k)},":heading":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return br({type:"block",level:g.depth,name:"head",location:s(x)},$(k,h))},":text":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return g.value},":list":(f,c)=>(g,h,$)=>{let k=h.listLevel||0,{children:x,position:A,...I}=g;return br({type:"list",level:k+1,list:g.ordered?"ordered":"itemized"},$(x,{...h,listLevel:k+1,ordered:g.ordered}))},":listItem":(f,c)=>(g,h,$)=>{let k=h.listLevel||0,{children:x,position:A,checked:I,...q}=g,B={name:"item",type:"block",level:h.listLevel,location:s(A)};return I!=null&&(B.checked=I,B.config=[{name:"checked",value:I,type:"boolean"}]),br(B,$(x,{...h,listLevel:k,ordered:g.ordered}))},":paragraph":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return br({type:"para",location:s(x),text:"text",margin:""},$(k,{...h}))},":linkReference":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g,I=n[A.identifier],q=(I==null?void 0:I.url)||"";return qu({meta:q},$(k,{...h}))},":definition":(f,c)=>(g,h,$)=>null,":inlineCode":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return pa({name:"C"},[g.value])},":strong":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return pa({name:"B"},$(k,{...h}))},":emphasis":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return pa({name:"I"},$(k,{...h}))},":link":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return qu({meta:g.url},$(k,{...h}))},":html":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return br({type:"block",name:"Html",location:s(x)},[no(g.value)])},":code":(f,c)=>(g,h,$)=>{let{children:k,position:x,lang:A,meta:I,...q}=g;if(A==="mermaid"||A==="diagram")return br({type:"block",name:"Mermaid",config:[],location:s(x)},[no(g.value)]);let B=[];return A&&B.push({name:"lang",value:A,type:"string"}),I&&B.push(...Mu(I)),br({type:"block",name:"code",config:B,location:s(x)},[no(g.value)])},":image":(f,c)=>(g,h,$)=>{let{title:k,alt:x,url:A,position:I,...q}=g,B=[],X=[Pd(A,x)];return k&&X.push(Sd([k])),br({type:"block",name:"Image",config:B,location:s(I)},X)},":thematicBreak":(f,c)=>(g,h,$)=>null,":blockquote":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return br({name:"nested",location:s(x)},$(k,{...h}))},":table":(f,c)=>(g,h,$)=>{let{children:k,position:x,align:A,...I}=g;return br({name:"table",location:s(x),align:A},$(k,{...h,isHeaderUsed:0}))},":tableRow":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g,I=h.isHeaderUsed++,q={name:"row",location:s(x)};return I||(q.config=[{name:"header",value:!0,type:"boolean"}]),br(q,$(k,{...h}))},":tableCell":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return br({name:"cell",location:s(x)},$(k,{...h}))},":delete":(f,c)=>(g,h,$)=>{let{children:k,position:x,...A}=g;return Ed($(k,{...h}))},":break":(f,c)=>(g,h,$)=>null}).run(e).interator};var La={toAst:(t,r)=>(e,n)=>{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 o=e.location.start.line;return{...e,content:Da(s,{lineOffset:o})}}return e}},toJSX:t=>$r},k1={Markdown:La,markdown:La},v1=La;0&&(module.exports={PluginRegister,parseMd,plugin});
61
63
  /*!
62
64
  * Determine if an object is a Buffer
63
65
  *