@podlite/markdown 0.0.51 → 0.0.52

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,45 +1,45 @@
1
- var _g=Object.create;var Ma=Object.defineProperty;var Eg=Object.getOwnPropertyDescriptor;var Sg=Object.getOwnPropertyNames;var Cg=Object.getPrototypeOf,Tg=Object.prototype.hasOwnProperty;var xe=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),bf=(t,r)=>{for(var e in r)Ma(t,e,{get:r[e],enumerable:!0})},wf=(t,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of Sg(r))!Tg.call(t,a)&&a!==e&&Ma(t,a,{get:()=>r[a],enumerable:!(s=Eg(r,a))||s.enumerable});return t};var Xr=(t,r,e)=>(e=t!=null?_g(Cg(t)):{},wf(r||!t||!t.__esModule?Ma(e,"default",{value:t,enumerable:!0}):e,t)),Pg=t=>wf(Ma({},"__esModule",{value:!0}),t);var pl=xe(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.getRules=Yi.isJSONType=void 0;var Fg=["string","number","integer","boolean","null","object","array"],Dg=new Set(Fg);function Ig(t){return typeof t=="string"&&Dg.has(t)}Yi.isJSONType=Ig;function Og(){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=Og});var hl=xe(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.shouldUseRule=ai.shouldUseGroup=ai.schemaHasRulesForType=void 0;function qg({schema:t,self:r},e){let s=r.RULES.types[e];return s&&s!==!0&&vf(t,s)}ai.schemaHasRulesForType=qg;function vf(t,r){return r.rules.some(e=>$f(t,e))}ai.shouldUseGroup=vf;function $f(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(s=>t[s]!==void 0))}ai.shouldUseRule=$f});var za=xe(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.getProperty=gt.safeStringify=gt.stringify=gt.strConcat=gt.addCodeArg=gt.str=gt._=gt.nil=gt._Code=gt.Name=gt.IDENTIFIER=gt._CodeOrName=void 0;var Rs=class{};gt._CodeOrName=Rs;gt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Ai=class extends Rs{constructor(r){if(super(),!gt.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}}};gt.Name=Ai;var Dn=class extends Rs{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,s)=>`${e}${s}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,s)=>(s instanceof Ai&&(e[s.str]=(e[s.str]||0)+1),e),{})}};gt._Code=Dn;gt.nil=new Dn("");function xf(t,...r){let e=[t[0]],s=0;for(;s<r.length;)ml(e,r[s]),e.push(t[++s]);return new Dn(e)}gt._=xf;var dl=new Dn("+");function kf(t,...r){let e=[Ns(t[0])],s=0;for(;s<r.length;)e.push(dl),ml(e,r[s]),e.push(dl,Ns(t[++s]));return Rg(e),new Dn(e)}gt.str=kf;function ml(t,r){r instanceof Dn?t.push(...r._items):r instanceof Ai?t.push(r):t.push(Mg(r))}gt.addCodeArg=ml;function Rg(t){let r=1;for(;r<t.length-1;){if(t[r]===dl){let e=Ng(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function Ng(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof Ai||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 Ai))return`"${t}${r.slice(1)}`}function Lg(t,r){return r.emptyStr()?t:t.emptyStr()?r:kf`${t}${r}`}gt.strConcat=Lg;function Mg(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Ns(Array.isArray(t)?t.join(","):t)}function zg(t){return new Dn(Ns(t))}gt.stringify=zg;function Ns(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}gt.safeStringify=Ns;function jg(t){return typeof t=="string"&&gt.IDENTIFIER.test(t)?new Dn(`.${t}`):xf`[${t}]`}gt.getProperty=jg});var wl=xe(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.ValueScope=wr.ValueScopeName=wr.Scope=wr.varKinds=wr.UsedValueState=void 0;var Pr=za(),gl=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},yl;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(yl=wr.UsedValueState||(wr.UsedValueState={}));wr.varKinds={const:new Pr.Name("const"),let:new Pr.Name("let"),var:new Pr.Name("var")};var ja=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,s;if(((s=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||s===void 0?void 0:s.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}}};wr.Scope=ja;var Va=class extends Pr.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:s}){this.value=r,this.scopePath=Pr._`.${new Pr.Name(e)}[${s}]`}};wr.ValueScopeName=Va;var Vg=Pr._`\n`,bl=class extends ja{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?Vg:Pr.nil}}get(){return this._scope}name(r){return new Va(r,this._newName(r))}value(r,e){var s;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let a=this.toName(r),{prefix:o}=a,u=(s=e.key)!==null&&s!==void 0?s:e.ref,f=this._values[o];if(f){let d=f.get(u);if(d)return d}else f=this._values[o]=new Map;f.set(u,a);let p=this._scope[o]||(this._scope[o]=[]),m=p.length;return p[m]=e.ref,a.setValue(e,{property:o,itemIndex:m}),a}getValue(r,e){let s=this._values[r];if(!!s)return s.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,s=>{if(s.scopePath===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return Pr._`${r}${s.scopePath}`})}scopeCode(r=this._values,e,s){return this._reduceValues(r,a=>{if(a.value===void 0)throw new Error(`CodeGen: name "${a}" has no value`);return a.value.code},e,s)}_reduceValues(r,e,s={},a){let o=Pr.nil;for(let u in r){let f=r[u];if(!f)continue;let p=s[u]=s[u]||new Map;f.forEach(m=>{if(p.has(m))return;p.set(m,yl.Started);let d=e(m);if(d){let v=this.opts.es5?wr.varKinds.var:wr.varKinds.const;o=Pr._`${o}${v} ${m} = ${d};${this.opts._n}`}else if(d=a==null?void 0:a(m))o=Pr._`${o}${d}${this.opts._n}`;else throw new gl(m);p.set(m,yl.Completed)})}return o}};wr.ValueScope=bl});var Ue=xe(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.or=Ke.and=Ke.not=Ke.CodeGen=Ke.operators=Ke.varKinds=Ke.ValueScopeName=Ke.ValueScope=Ke.Scope=Ke.Name=Ke.stringify=Ke.getProperty=Ke.nil=Ke.strConcat=Ke.str=Ke._=void 0;var Xe=za(),un=wl(),Si=za();Object.defineProperty(Ke,"_",{enumerable:!0,get:function(){return Si._}});Object.defineProperty(Ke,"str",{enumerable:!0,get:function(){return Si.str}});Object.defineProperty(Ke,"strConcat",{enumerable:!0,get:function(){return Si.strConcat}});Object.defineProperty(Ke,"nil",{enumerable:!0,get:function(){return Si.nil}});Object.defineProperty(Ke,"getProperty",{enumerable:!0,get:function(){return Si.getProperty}});Object.defineProperty(Ke,"stringify",{enumerable:!0,get:function(){return Si.stringify}});Object.defineProperty(Ke,"Name",{enumerable:!0,get:function(){return Si.Name}});var Ga=wl();Object.defineProperty(Ke,"Scope",{enumerable:!0,get:function(){return Ga.Scope}});Object.defineProperty(Ke,"ValueScope",{enumerable:!0,get:function(){return Ga.ValueScope}});Object.defineProperty(Ke,"ValueScopeName",{enumerable:!0,get:function(){return Ga.ValueScopeName}});Object.defineProperty(Ke,"varKinds",{enumerable:!0,get:function(){return Ga.varKinds}});Ke.operators={GT:new Xe._Code(">"),GTE:new Xe._Code(">="),LT:new Xe._Code("<"),LTE:new Xe._Code("<="),EQ:new Xe._Code("==="),NEQ:new Xe._Code("!=="),NOT:new Xe._Code("!"),OR:new Xe._Code("||"),AND:new Xe._Code("&&"),ADD:new Xe._Code("+")};var Gn=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},vl=class extends Gn{constructor(r,e,s){super(),this.varKind=r,this.name=e,this.rhs=s}render({es5:r,_n:e}){let s=r?un.varKinds.var:this.varKind,a=this.rhs===void 0?"":` = ${this.rhs}`;return`${s} ${this.name}${a};`+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 Xe._CodeOrName?this.rhs.names:{}}},Ba=class extends Gn{constructor(r,e,s){super(),this.lhs=r,this.rhs=e,this.sideEffects=s}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Xe.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=ts(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Xe.Name?{}:{...this.lhs.names};return Ha(r,this.rhs)}},$l=class extends Ba{constructor(r,e,s,a){super(r,s,a),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},xl=class extends Gn{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},kl=class extends Gn{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},Al=class extends Gn{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},_l=class extends Gn{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 Xe._CodeOrName?this.code.names:{}}},Ls=class extends Gn{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,s)=>e+s.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let s=r[e].optimizeNodes();Array.isArray(s)?r.splice(e,1,...s):s?r[e]=s:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:s}=this,a=s.length;for(;a--;){let o=s[a];o.optimizeNames(r,e)||(Bg(r,o.names),s.splice(a,1))}return s.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>Ei(r,e.names),{})}},Kn=class extends Ls{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},El=class extends Ls{},es=class extends Kn{};es.kind="else";var cn=class extends Kn{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 s=e.optimizeNodes();e=this.else=Array.isArray(s)?new es(s):s}if(e)return r===!1?e instanceof cn?e:e.nodes:this.nodes.length?this:new cn(Af(r),e instanceof cn?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var s;if(this.else=(s=this.else)===null||s===void 0?void 0:s.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 Ha(r,this.condition),this.else&&Ei(r,this.else.names),r}};cn.kind="if";var _i=class extends Kn{};_i.kind="for";var Sl=class extends _i{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 Ei(super.names,this.iteration.names)}},Cl=class extends _i{constructor(r,e,s,a){super(),this.varKind=r,this.name=e,this.from=s,this.to=a}render(r){let e=r.es5?un.varKinds.var:this.varKind,{name:s,from:a,to:o}=this;return`for(${e} ${s}=${a}; ${s}<${o}; ${s}++)`+super.render(r)}get names(){let r=Ha(super.names,this.from);return Ha(r,this.to)}},Ua=class extends _i{constructor(r,e,s,a){super(),this.loop=r,this.varKind=e,this.name=s,this.iterable=a}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 Ei(super.names,this.iterable.names)}},Ms=class extends Kn{constructor(r,e,s){super(),this.name=r,this.args=e,this.async=s}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};Ms.kind="func";var zs=class extends Ls{render(r){return"return "+super.render(r)}};zs.kind="return";var Tl=class extends Kn{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 s,a;return super.optimizeNames(r,e),(s=this.catch)===null||s===void 0||s.optimizeNames(r,e),(a=this.finally)===null||a===void 0||a.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&Ei(r,this.catch.names),this.finally&&Ei(r,this.finally.names),r}},js=class extends Kn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};js.kind="catch";var Vs=class extends Kn{render(r){return"finally"+super.render(r)}};Vs.kind="finally";var Pl=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
- `:""},this._extScope=r,this._scope=new un.Scope({parent:r}),this._nodes=[new El]}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 s=this._extScope.value(r,e);return(this._values[s.prefix]||(this._values[s.prefix]=new Set)).add(s),s}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,s,a){let o=this._scope.toName(e);return s!==void 0&&a&&(this._constants[o.str]=s),this._leafNode(new vl(r,o,s)),o}const(r,e,s){return this._def(un.varKinds.const,r,e,s)}let(r,e,s){return this._def(un.varKinds.let,r,e,s)}var(r,e,s){return this._def(un.varKinds.var,r,e,s)}assign(r,e,s){return this._leafNode(new Ba(r,e,s))}add(r,e){return this._leafNode(new $l(r,Ke.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Xe.nil&&this._leafNode(new _l(r)),this}object(...r){let e=["{"];for(let[s,a]of r)e.length>1&&e.push(","),e.push(s),(s!==a||this.opts.es5)&&(e.push(":"),Xe.addCodeArg(e,a));return e.push("}"),new Xe._Code(e)}if(r,e,s){if(this._blockNode(new cn(r)),e&&s)this.code(e).else().code(s).endIf();else if(e)this.code(e).endIf();else if(s)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(r){return this._elseNode(new cn(r))}else(){return this._elseNode(new es)}endIf(){return this._endBlockNode(cn,es)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new Sl(r),e)}forRange(r,e,s,a,o=this.opts.es5?un.varKinds.var:un.varKinds.let){let u=this._scope.toName(r);return this._for(new Cl(o,u,e,s),()=>a(u))}forOf(r,e,s,a=un.varKinds.const){let o=this._scope.toName(r);if(this.opts.es5){let u=e instanceof Xe.Name?e:this.var("_arr",e);return this.forRange("_i",0,Xe._`${u}.length`,f=>{this.var(o,Xe._`${u}[${f}]`),s(o)})}return this._for(new Ua("of",a,o,e),()=>s(o))}forIn(r,e,s,a=this.opts.es5?un.varKinds.var:un.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Xe._`Object.keys(${e})`,s);let o=this._scope.toName(r);return this._for(new Ua("in",a,o,e),()=>s(o))}endFor(){return this._endBlockNode(_i)}label(r){return this._leafNode(new xl(r))}break(r){return this._leafNode(new kl(r))}return(r){let e=new zs;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(zs)}try(r,e,s){if(!e&&!s)throw new Error('CodeGen: "try" without "catch" and "finally"');let a=new Tl;if(this._blockNode(a),this.code(r),e){let o=this.name("e");this._currNode=a.catch=new js(o),e(o)}return s&&(this._currNode=a.finally=new Vs,this.code(s)),this._endBlockNode(js,Vs)}throw(r){return this._leafNode(new Al(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 s=this._nodes.length-e;if(s<0||r!==void 0&&s!==r)throw new Error(`CodeGen: wrong number of nodes: ${s} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Xe.nil,s,a){return this._blockNode(new Ms(r,e,s)),a&&this.code(a).endFunc(),this}endFunc(){return this._endBlockNode(Ms)}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 s=this._currNode;if(s instanceof r||e&&s 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 cn))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}};Ke.CodeGen=Pl;function Ei(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function Ha(t,r){return r instanceof Xe._CodeOrName?Ei(t,r.names):t}function ts(t,r,e){if(t instanceof Xe.Name)return s(t);if(!a(t))return t;return new Xe._Code(t._items.reduce((o,u)=>(u instanceof Xe.Name&&(u=s(u)),u instanceof Xe._Code?o.push(...u._items):o.push(u),o),[]));function s(o){let u=e[o.str];return u===void 0||r[o.str]!==1?o:(delete r[o.str],u)}function a(o){return o instanceof Xe._Code&&o._items.some(u=>u instanceof Xe.Name&&r[u.str]===1&&e[u.str]!==void 0)}}function Bg(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function Af(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Xe._`!${Fl(t)}`}Ke.not=Af;var Ug=_f(Ke.operators.AND);function Hg(...t){return t.reduce(Ug)}Ke.and=Hg;var Gg=_f(Ke.operators.OR);function Kg(...t){return t.reduce(Gg)}Ke.or=Kg;function _f(t){return(r,e)=>r===Xe.nil?e:e===Xe.nil?r:Xe._`${Fl(r)} ${t} ${Fl(e)}`}function Fl(t){return t instanceof Xe.Name?t:Xe._`(${t})`}});var fn=xe(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var ar=Ue(),Wg={data:new ar.Name("data"),valCxt:new ar.Name("valCxt"),dataPath:new ar.Name("dataPath"),parentData:new ar.Name("parentData"),parentDataProperty:new ar.Name("parentDataProperty"),rootData:new ar.Name("rootData"),dynamicAnchors:new ar.Name("dynamicAnchors"),vErrors:new ar.Name("vErrors"),errors:new ar.Name("errors"),this:new ar.Name("this"),self:new ar.Name("self"),scope:new ar.Name("scope"),json:new ar.Name("json"),jsonPos:new ar.Name("jsonPos"),jsonLen:new ar.Name("jsonLen"),jsonPart:new ar.Name("jsonPart")};Dl.default=Wg});var Bs=xe(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.extendErrors=or.resetErrorsCount=or.reportExtraError=or.reportError=or.keyword$DataError=or.keywordError=void 0;var Ye=Ue(),lr=fn();or.keywordError={message:({keyword:t})=>Ye.str`should pass "${t}" keyword validation`};or.keyword$DataError={message:({keyword:t,schemaType:r})=>r?Ye.str`"${t}" keyword must be ${r} ($data)`:Ye.str`"${t}" keyword is invalid ($data)`};function Jg(t,r=or.keywordError,e){let{it:s}=t,{gen:a,compositeRule:o,allErrors:u}=s,f=Cf(t,r);e??(o||u)?Ef(a,f):Sf(s,Ye._`[${f}]`)}or.reportError=Jg;function Qg(t,r=or.keywordError){let{it:e}=t,{gen:s,compositeRule:a,allErrors:o}=e,u=Cf(t,r);Ef(s,u),a||o||Sf(e,lr.default.vErrors)}or.reportExtraError=Qg;function Zg(t,r){t.assign(lr.default.errors,r),t.if(Ye._`${lr.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(Ye._`${lr.default.vErrors}.length`,r),()=>t.assign(lr.default.vErrors,null)))}or.resetErrorsCount=Zg;function Xg({gen:t,keyword:r,schemaValue:e,data:s,errsCount:a,it:o}){if(a===void 0)throw new Error("ajv implementation error");let u=t.name("err");t.forRange("i",a,lr.default.errors,f=>{t.const(u,Ye._`${lr.default.vErrors}[${f}]`),t.if(Ye._`${u}.dataPath === undefined`,()=>t.assign(Ye._`${u}.dataPath`,Ye.strConcat(lr.default.dataPath,o.errorPath))),t.assign(Ye._`${u}.schemaPath`,Ye.str`${o.errSchemaPath}/${r}`),o.opts.verbose&&(t.assign(Ye._`${u}.schema`,e),t.assign(Ye._`${u}.data`,s))})}or.extendErrors=Xg;function Ef(t,r){let e=t.const("err",r);t.if(Ye._`${lr.default.vErrors} === null`,()=>t.assign(lr.default.vErrors,Ye._`[${e}]`),Ye._`${lr.default.vErrors}.push(${e})`),t.code(Ye._`${lr.default.errors}++`)}function Sf(t,r){let{gen:e,validateName:s,schemaEnv:a}=t;a.$async?e.throw(Ye._`new ${t.ValidationError}(${r})`):(e.assign(Ye._`${s}.errors`,r),e.return(!1))}var In={keyword:new Ye.Name("keyword"),schemaPath:new Ye.Name("schemaPath"),params:new Ye.Name("params"),propertyName:new Ye.Name("propertyName"),message:new Ye.Name("message"),schema:new Ye.Name("schema"),parentSchema:new Ye.Name("parentSchema"),instancePath:new Ye.Name("instancePath")};function Cf(t,r){let{createErrors:e,opts:s}=t.it;return e===!1?Ye._`{}`:(s.jtd&&!s.ajvErrors?Yg:ey)(t,r)}function Yg(t,{message:r}){let{gen:e,keyword:s,it:a}=t,{errorPath:o,errSchemaPath:u,opts:f}=a,p=[[In.instancePath,Ye.strConcat(lr.default.dataPath,o)],[In.schemaPath,Ye.str`${u}/${s}`]];return f.messages&&p.push([In.message,typeof r=="function"?r(t):r]),e.object(...p)}function ey(t,r){let{gen:e,keyword:s,data:a,schemaValue:o,it:u}=t,{topSchemaRef:f,schemaPath:p,errorPath:m,errSchemaPath:d,propertyName:v,opts:S}=u,{params:E,message:C}=r,N=[[In.keyword,s],[lr.default.dataPath,Ye.strConcat(lr.default.dataPath,m)],[In.schemaPath,Ye.str`${d}/${s}`],[In.params,typeof E=="function"?E(t):E||Ye._`{}`]];return v&&N.push([In.propertyName,v]),S.messages&&N.push([In.message,typeof C=="function"?C(t):C]),S.verbose&&N.push([In.schema,o],[In.parentSchema,Ye._`${f}${p}`],[lr.default.data,a]),e.object(...N)}});var Pf=xe(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.boolOrEmptySchema=rs.topBoolOrEmptySchema=void 0;var ty=Bs(),ry=Ue(),ny=fn(),iy={message:"boolean schema is false"};function sy(t){let{gen:r,schema:e,validateName:s}=t;e===!1?Tf(t,!1):typeof e=="object"&&e.$async===!0?r.return(ny.default.data):(r.assign(ry._`${s}.errors`,null),r.return(!0))}rs.topBoolOrEmptySchema=sy;function ay(t,r){let{gen:e,schema:s}=t;s===!1?(e.var(r,!1),Tf(t)):e.var(r,!0)}rs.boolOrEmptySchema=ay;function Tf(t,r){let{gen:e,data:s}=t,a={gen:e,keyword:"false schema",data:s,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};ty.reportError(a,iy,r)}});var Df=xe(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});Ka.assignDefaults=void 0;var ns=Ue(),oy=jr();function ly(t,r){let{properties:e,items:s}=t.schema;if(r==="object"&&e)for(let a in e)Ff(t,a,e[a].default);else r==="array"&&Array.isArray(s)&&s.forEach((a,o)=>Ff(t,o,a.default))}Ka.assignDefaults=ly;function Ff(t,r,e){let{gen:s,compositeRule:a,data:o,opts:u}=t;if(e===void 0)return;let f=ns._`${o}${ns.getProperty(r)}`;if(a){oy.checkStrictMode(t,`default is ignored for: ${f}`);return}let p=ns._`${f} === undefined`;u.useDefaults==="empty"&&(p=ns._`${p} || ${f} === null || ${f} === ""`),s.if(p,ns._`${f} = ${ns.stringify(e)}`)}});var Ti=xe(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.applySubschema=Ci.Type=void 0;var uy=jr(),If=Tt(),ur=Ue(),Of;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(Of=Ci.Type||(Ci.Type={}));function cy(t,r,e){let s=fy(t,r);py(s,t,r),hy(s,r);let a={...t,...s,items:void 0,props:void 0};return uy.subschemaCode(a,e),a}Ci.applySubschema=cy;function fy(t,{keyword:r,schemaProp:e,schema:s,schemaPath:a,errSchemaPath:o,topSchemaRef:u}){if(r!==void 0&&s!==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}/${If.escapeFragment(e)}`}}if(s!==void 0){if(a===void 0||o===void 0||u===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:a,topSchemaRef:u,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}function py(t,r,{dataProp:e,dataPropType:s,data:a,dataTypes:o,propertyName:u}){if(a!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:f}=r;if(e!==void 0){let{errorPath:m,dataPathArr:d,opts:v}=r,S=f.let("data",ur._`${r.data}${ur.getProperty(e)}`,!0);p(S),t.errorPath=ur.str`${m}${dy(e,s,v.jsPropertySyntax)}`,t.parentDataProperty=ur._`${e}`,t.dataPathArr=[...d,t.parentDataProperty]}if(a!==void 0){let m=a instanceof ur.Name?a:f.let("data",a,!0);p(m),u!==void 0&&(t.propertyName=u)}o&&(t.dataTypes=o);function p(m){t.data=m,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,m]}}function hy(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:s,createErrors:a,allErrors:o}){s!==void 0&&(t.compositeRule=s),a!==void 0&&(t.createErrors=a),o!==void 0&&(t.allErrors=o),t.jtdDiscriminator=r,t.jtdMetadata=e}function dy(t,r,e){if(t instanceof ur.Name){let s=r===Of.Num;return e?s?ur._`"[" + ${t} + "]"`:ur._`"['" + ${t} + "']"`:s?ur._`"/" + ${t}`:ur._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?ur.getProperty(t).toString():"/"+If.escapeJsonPointer(t)}});var pn=xe(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.validateUnion=yt.validateArray=yt.usePattern=yt.callValidateCode=yt.schemaProperties=yt.allSchemaProperties=yt.noPropertyInData=yt.propertyInData=yt.isOwnProperty=yt.hasPropFunc=yt.reportMissingProp=yt.checkMissingProp=yt.checkReportMissingProp=void 0;var _t=Ue(),qf=Tt(),my=Ti(),oi=fn();function gy(t,r){let{gen:e,data:s,it:a}=t;e.if(Ol(e,s,r,a.opts.ownProperties),()=>{t.setParams({missingProperty:_t._`${r}`},!0),t.error()})}yt.checkReportMissingProp=gy;function yy({gen:t,data:r,it:{opts:e}},s,a){return _t.or(...s.map(o=>_t.and(Ol(t,r,o,e.ownProperties),_t._`${a} = ${o}`)))}yt.checkMissingProp=yy;function by(t,r){t.setParams({missingProperty:r},!0),t.error()}yt.reportMissingProp=by;function Rf(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:_t._`Object.prototype.hasOwnProperty`})}yt.hasPropFunc=Rf;function Il(t,r,e){return _t._`${Rf(t)}.call(${r}, ${e})`}yt.isOwnProperty=Il;function wy(t,r,e,s){let a=_t._`${r}${_t.getProperty(e)} !== undefined`;return s?_t._`${a} && ${Il(t,r,e)}`:a}yt.propertyInData=wy;function Ol(t,r,e,s){let a=_t._`${r}${_t.getProperty(e)} === undefined`;return s?_t.or(a,_t.not(Il(t,r,e))):a}yt.noPropertyInData=Ol;function Nf(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}yt.allSchemaProperties=Nf;function vy(t,r){return Nf(r).filter(e=>!qf.alwaysValidSchema(t,r[e]))}yt.schemaProperties=vy;function $y({schemaCode:t,data:r,it:{gen:e,topSchemaRef:s,schemaPath:a,errorPath:o},it:u},f,p,m){let d=m?_t._`${t}, ${r}, ${s}${a}`:r,v=[[oi.default.dataPath,_t.strConcat(oi.default.dataPath,o)],[oi.default.parentData,u.parentData],[oi.default.parentDataProperty,u.parentDataProperty],[oi.default.rootData,oi.default.rootData]];u.opts.dynamicRef&&v.push([oi.default.dynamicAnchors,oi.default.dynamicAnchors]);let S=_t._`${d}, ${e.object(...v)}`;return p!==_t.nil?_t._`${f}.call(${p}, ${S})`:_t._`${f}(${S})`}yt.callValidateCode=$y;function xy(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:_t._`new RegExp(${r}, "u")`})}yt.usePattern=xy;function ky(t){let{gen:r,data:e,keyword:s,it:a}=t,o=r.name("valid");if(a.allErrors){let f=r.let("valid",!0);return u(()=>r.assign(f,!1)),f}return r.var(o,!0),u(()=>r.break()),o;function u(f){let p=r.const("len",_t._`${e}.length`);r.forRange("i",0,p,m=>{t.subschema({keyword:s,dataProp:m,dataPropType:my.Type.Num},o),r.if(_t.not(o),f)})}}yt.validateArray=ky;function Ay(t){let{gen:r,schema:e,keyword:s,it:a}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(p=>qf.alwaysValidSchema(a,p))&&!a.opts.unevaluated)return;let u=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((p,m)=>{let d=t.subschema({keyword:s,schemaProp:m,compositeRule:!0},f);r.assign(u,_t._`${u} || ${f}`),t.mergeValidEvaluated(d,f)||r.if(_t.not(u))})),t.result(u,()=>t.reset(),()=>t.error(!0))}yt.validateUnion=Ay});var jf=xe(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.keywordCode=void 0;var _y=Us(),Ey=Bs(),Sy=pn(),vr=Ue(),Pi=fn();function Cy(t,r,e,s){let a=new _y.default(t,e,r);"code"in e?e.code(a,s):a.$data&&e.validate?Lf(a,e):"macro"in e?Ty(a,e):(e.compile||e.validate)&&Lf(a,e)}Wa.keywordCode=Cy;function Ty(t,r){let{gen:e,keyword:s,schema:a,parentSchema:o,it:u}=t,f=r.macro.call(u.self,a,o,u),p=zf(e,s,f);u.opts.validateSchema!==!1&&u.self.validateSchema(f,!0);let m=e.name("valid");t.subschema({schema:f,schemaPath:vr.nil,errSchemaPath:`${u.errSchemaPath}/${s}`,topSchemaRef:p,compositeRule:!0},m),t.pass(m,()=>t.error(!0))}function Lf(t,r){var e;let{gen:s,keyword:a,schema:o,parentSchema:u,$data:f,it:p}=t;Fy(p,r);let m=!f&&r.compile?r.compile.call(p.self,o,u,p):r.validate,d=zf(s,a,m),v=s.let("valid");t.block$data(v,S),t.ok((e=r.valid)!==null&&e!==void 0?e:v);function S(){if(r.errors===!1)N(),r.modifying&&Mf(t),j(()=>t.error());else{let B=r.async?E():C();r.modifying&&Mf(t),j(()=>Py(t,B))}}function E(){let B=s.let("ruleErrs",null);return s.try(()=>N(vr._`await `),re=>s.assign(v,!1).if(vr._`${re} instanceof ${p.ValidationError}`,()=>s.assign(B,vr._`${re}.errors`),()=>s.throw(re))),B}function C(){let B=vr._`${d}.errors`;return s.assign(B,null),N(vr.nil),B}function N(B=r.async?vr._`await `:vr.nil){let re=p.opts.passContext?Pi.default.this:Pi.default.self,ce=!("compile"in r&&!f||r.schema===!1);s.assign(v,vr._`${B}${Sy.callValidateCode(t,d,re,ce)}`,r.modifying)}function j(B){var re;s.if(vr.not((re=r.valid)!==null&&re!==void 0?re:v),B)}}function Mf(t){let{gen:r,data:e,it:s}=t;r.if(s.parentData,()=>r.assign(e,vr._`${s.parentData}[${s.parentDataProperty}]`))}function Py(t,r){let{gen:e}=t;e.if(vr._`Array.isArray(${r})`,()=>{e.assign(Pi.default.vErrors,vr._`${Pi.default.vErrors} === null ? ${r} : ${Pi.default.vErrors}.concat(${r})`).assign(Pi.default.errors,vr._`${Pi.default.vErrors}.length`),Ey.extendErrors(t)},()=>t.error())}function Fy({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function zf(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:vr.stringify(e)})}});var Gf=xe(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.schemaKeywords=void 0;var ql=hl(),Vf=is(),Dy=Df(),Hf=jf(),Iy=Tt(),Oy=jr(),qy=Ue(),Ry=fn();function Ny(t,r,e,s){let{gen:a,schema:o,data:u,allErrors:f,opts:p,self:m}=t,{RULES:d}=m;if(o.$ref&&(p.ignoreKeywordsWithRef||!Iy.schemaHasRulesButRef(o,d))){a.block(()=>Hf.keywordCode(t,"$ref",d.all.$ref.definition));return}p.jtd||Ly(t,r),a.block(()=>{for(let S of d.rules)v(S);v(d.post)});function v(S){!ql.shouldUseGroup(o,S)||(S.type?(a.if(Vf.checkDataType(S.type,u,p.strict)),Bf(t,S),r.length===1&&r[0]===S.type&&e&&(a.else(),Vf.reportTypeError(t)),a.endIf()):Bf(t,S),f||a.if(qy._`${Ry.default.errors} === ${s||0}`))}}Ja.schemaKeywords=Ny;function Bf(t,r){let{gen:e,schema:s,opts:{useDefaults:a}}=t;a&&Dy.assignDefaults(t,r.type),e.block(()=>{for(let o of r.rules)ql.shouldUseRule(s,o)&&Hf.keywordCode(t,o.keyword,o.definition,r.type)})}function Ly(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(My(t,r),t.opts.allowUnionTypes||zy(t,r),jy(t,t.dataTypes))}function My(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{Uf(t.dataTypes,e)||Rl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>Uf(r,e))}}function zy(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&Rl(t,"use allowUnionTypes to allow union type keyword")}function jy(t,r){let e=t.self.RULES.all;for(let s in e){let a=e[s];if(typeof a=="object"&&ql.shouldUseRule(t.schema,a)){let{type:o}=a.definition;o.length&&!o.some(u=>Vy(r,u))&&Rl(t,`missing type "${o.join(",")}" for keyword "${s}"`)}}}function Vy(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function Uf(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function Rl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Oy.checkStrictMode(t,r,t.opts.strictTypes)}});var Hs=xe((lk,Kf)=>{"use strict";Kf.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 s,a,o;if(Array.isArray(r)){if(s=r.length,s!=e.length)return!1;for(a=s;a--!==0;)if(!t(r[a],e[a]))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),s=o.length,s!==Object.keys(e).length)return!1;for(a=s;a--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[a]))return!1;for(a=s;a--!==0;){var u=o[a];if(!t(r[u],e[u]))return!1}return!0}return r!==r&&e!==e}});var Jf=xe((uk,Wf)=>{"use strict";var li=Wf.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var s=typeof e=="function"?e:e.pre||function(){},a=e.post||function(){};Qa(r,s,a,t,"",t)};li.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};li.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};li.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};li.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 Qa(t,r,e,s,a,o,u,f,p,m){if(s&&typeof s=="object"&&!Array.isArray(s)){r(s,a,o,u,f,p,m);for(var d in s){var v=s[d];if(Array.isArray(v)){if(d in li.arrayKeywords)for(var S=0;S<v.length;S++)Qa(t,r,e,v[S],a+"/"+d+"/"+S,o,a,d,s,S)}else if(d in li.propsKeywords){if(v&&typeof v=="object")for(var E in v)Qa(t,r,e,v[E],a+"/"+d+"/"+By(E),o,a,d,s,E)}else(d in li.keywords||t.allKeys&&!(d in li.skipKeywords))&&Qa(t,r,e,v,a+"/"+d,o,a,d,s)}e(s,a,o,u,f,p,m)}}function By(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Nl=xe((Za,Qf)=>{(function(t,r){typeof Za=="object"&&typeof Qf<"u"?r(Za):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(Za,function(t){"use strict";function r(){for(var K=arguments.length,M=Array(K),X=0;X<K;X++)M[X]=arguments[X];if(M.length>1){M[0]=M[0].slice(0,-1);for(var ie=M.length-1,oe=1;oe<ie;++oe)M[oe]=M[oe].slice(1,-1);return M[ie]=M[ie].slice(1),M.join("")}else return M[0]}function e(K){return"(?:"+K+")"}function s(K){return K===void 0?"undefined":K===null?"null":Object.prototype.toString.call(K).split(" ").pop().split("]").shift().toLowerCase()}function a(K){return K.toUpperCase()}function o(K){return K!=null?K instanceof Array?K:typeof K.length!="number"||K.split||K.setInterval||K.call?[K]:Array.prototype.slice.call(K):[]}function u(K,M){var X=K;if(M)for(var ie in M)X[ie]=M[ie];return X}function f(K){var M="[A-Za-z]",X="[\\x0D]",ie="[0-9]",oe="[\\x22]",ge=r(ie,"[A-Fa-f]"),Ce="[\\x0A]",Re="[\\x20]",je=e(e("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+e("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+e("%"+ge+ge)),lt="[\\:\\/\\?\\#\\[\\]\\@]",Ie="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",rt=r(lt,Ie),ut=K?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",nt=K?"[\\uE000-\\uF8FF]":"[]",Ge=r(M,ie,"[\\-\\.\\_\\~]",ut),ht=e(M+r(M,ie,"[\\+\\-\\.]")+"*"),Be=e(e(je+"|"+r(Ge,Ie,"[\\:]"))+"*"),Kt=e(e("25[0-5]")+"|"+e("2[0-4]"+ie)+"|"+e("1"+ie+ie)+"|"+e("[1-9]"+ie)+"|"+ie),Wt=e(e("25[0-5]")+"|"+e("2[0-4]"+ie)+"|"+e("1"+ie+ie)+"|"+e("0?[1-9]"+ie)+"|0?0?"+ie),kt=e(Wt+"\\."+Wt+"\\."+Wt+"\\."+Wt),Ve=e(ge+"{1,4}"),Jt=e(e(Ve+"\\:"+Ve)+"|"+kt),nr=e(e(Ve+"\\:")+"{6}"+Jt),yr=e("\\:\\:"+e(Ve+"\\:")+"{5}"+Jt),Hr=e(e(Ve)+"?\\:\\:"+e(Ve+"\\:")+"{4}"+Jt),Ar=e(e(e(Ve+"\\:")+"{0,1}"+Ve)+"?\\:\\:"+e(Ve+"\\:")+"{3}"+Jt),xn=e(e(e(Ve+"\\:")+"{0,2}"+Ve)+"?\\:\\:"+e(Ve+"\\:")+"{2}"+Jt),Qn=e(e(e(Ve+"\\:")+"{0,3}"+Ve)+"?\\:\\:"+Ve+"\\:"+Jt),Zn=e(e(e(Ve+"\\:")+"{0,4}"+Ve)+"?\\:\\:"+Jt),kn=e(e(e(Ve+"\\:")+"{0,5}"+Ve)+"?\\:\\:"+Ve),An=e(e(e(Ve+"\\:")+"{0,6}"+Ve)+"?\\:\\:"),qr=e([nr,yr,Hr,Ar,xn,Qn,Zn,kn,An].join("|")),Rr=e(e(Ge+"|"+je)+"+"),Gr=e(qr+"\\%25"+Rr),_r=e(qr+e("\\%25|\\%(?!"+ge+"{2})")+Rr),zn=e("[vV]"+ge+"+\\."+r(Ge,Ie,"[\\:]")+"+"),mi=e("\\["+e(_r+"|"+qr+"|"+zn)+"\\]"),jn=e(e(je+"|"+r(Ge,Ie))+"*"),Nr=e(mi+"|"+kt+"(?!"+jn+")|"+jn),n=e(ie+"*"),pe=e(e(Be+"@")+"?"+Nr+e("\\:"+n)+"?"),Kr=e(je+"|"+r(Ge,Ie,"[\\:\\@]")),br=e(Kr+"*"),Xn=e(Kr+"+"),k=e(e(je+"|"+r(Ge,Ie,"[\\@]"))+"+"),Qt=e(e("\\/"+br)+"*"),Er=e("\\/"+e(Xn+Qt)+"?"),Wi=e(k+Qt),Yn=e(Xn+Qt),_n="(?!"+Kr+")",Ze=e(Qt+"|"+Er+"|"+Wi+"|"+Yn+"|"+_n),jt=e(e(Kr+"|"+r("[\\/\\?]",nt))+"*"),Vn=e(e(Kr+"|[\\/\\?]")+"*"),Ji=e(e("\\/\\/"+pe+Qt)+"|"+Er+"|"+Yn+"|"+_n),$s=e(ht+"\\:"+Ji+e("\\?"+jt)+"?"+e("\\#"+Vn)+"?"),gi=e(e("\\/\\/"+pe+Qt)+"|"+Er+"|"+Wi+"|"+_n),En=e(gi+e("\\?"+jt)+"?"+e("\\#"+Vn)+"?"),J=e($s+"|"+En),ba=e(ht+"\\:"+Ji+e("\\?"+jt)+"?"),yi="^("+ht+")\\:"+e(e("\\/\\/("+e("("+Be+")@")+"?("+Nr+")"+e("\\:("+n+")")+"?)")+"?("+Qt+"|"+Er+"|"+Yn+"|"+_n+")")+e("\\?("+jt+")")+"?"+e("\\#("+Vn+")")+"?$",xs="^(){0}"+e(e("\\/\\/("+e("("+Be+")@")+"?("+Nr+")"+e("\\:("+n+")")+"?)")+"?("+Qt+"|"+Er+"|"+Wi+"|"+_n+")")+e("\\?("+jt+")")+"?"+e("\\#("+Vn+")")+"?$",ei="^("+ht+")\\:"+e(e("\\/\\/("+e("("+Be+")@")+"?("+Nr+")"+e("\\:("+n+")")+"?)")+"?("+Qt+"|"+Er+"|"+Yn+"|"+_n+")")+e("\\?("+jt+")")+"?$",ks="^"+e("\\#("+Vn+")")+"?$",Vo="^"+e("("+Be+")@")+"?("+Nr+")"+e("\\:("+n+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",M,ie,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",Ge,Ie),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",Ge,Ie),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",Ge,Ie),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",Ge,Ie),"g"),NOT_QUERY:new RegExp(r("[^\\%]",Ge,Ie,"[\\:\\@\\/\\?]",nt),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",Ge,Ie,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",Ge,Ie),"g"),UNRESERVED:new RegExp(Ge,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",Ge,rt),"g"),PCT_ENCODED:new RegExp(je,"g"),IPV4ADDRESS:new RegExp("^("+kt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+qr+")"+e(e("\\%25|\\%(?!"+ge+"{2})")+"("+Rr+")")+"?\\]?$")}}var p=f(!1),m=f(!0),d=function(){function K(M,X){var ie=[],oe=!0,ge=!1,Ce=void 0;try{for(var Re=M[Symbol.iterator](),je;!(oe=(je=Re.next()).done)&&(ie.push(je.value),!(X&&ie.length===X));oe=!0);}catch(lt){ge=!0,Ce=lt}finally{try{!oe&&Re.return&&Re.return()}finally{if(ge)throw Ce}}return ie}return function(M,X){if(Array.isArray(M))return M;if(Symbol.iterator in Object(M))return K(M,X);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v=function(K){if(Array.isArray(K)){for(var M=0,X=Array(K.length);M<K.length;M++)X[M]=K[M];return X}else return Array.from(K)},S=2147483647,E=36,C=1,N=26,j=38,B=700,re=72,ce=128,ve="-",me=/^xn--/,le=/[^\0-\x7E]/,fe=/[\x2E\u3002\uFF0E\uFF61]/g,Ae={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},be=E-C,He=Math.floor,Pe=String.fromCharCode;function Oe(K){throw new RangeError(Ae[K])}function ye(K,M){for(var X=[],ie=K.length;ie--;)X[ie]=M(K[ie]);return X}function Fe(K,M){var X=K.split("@"),ie="";X.length>1&&(ie=X[0]+"@",K=X[1]),K=K.replace(fe,".");var oe=K.split("."),ge=ye(oe,M).join(".");return ie+ge}function et(K){for(var M=[],X=0,ie=K.length;X<ie;){var oe=K.charCodeAt(X++);if(oe>=55296&&oe<=56319&&X<ie){var ge=K.charCodeAt(X++);(ge&64512)==56320?M.push(((oe&1023)<<10)+(ge&1023)+65536):(M.push(oe),X--)}else M.push(oe)}return M}var se=function(M){return String.fromCodePoint.apply(String,v(M))},vt=function(M){return M-48<10?M-22:M-65<26?M-65:M-97<26?M-97:E},tt=function(M,X){return M+22+75*(M<26)-((X!=0)<<5)},$t=function(M,X,ie){var oe=0;for(M=ie?He(M/B):M>>1,M+=He(M/X);M>be*N>>1;oe+=E)M=He(M/be);return He(oe+(be+1)*M/(M+j))},at=function(M){var X=[],ie=M.length,oe=0,ge=ce,Ce=re,Re=M.lastIndexOf(ve);Re<0&&(Re=0);for(var je=0;je<Re;++je)M.charCodeAt(je)>=128&&Oe("not-basic"),X.push(M.charCodeAt(je));for(var lt=Re>0?Re+1:0;lt<ie;){for(var Ie=oe,rt=1,ut=E;;ut+=E){lt>=ie&&Oe("invalid-input");var nt=vt(M.charCodeAt(lt++));(nt>=E||nt>He((S-oe)/rt))&&Oe("overflow"),oe+=nt*rt;var Ge=ut<=Ce?C:ut>=Ce+N?N:ut-Ce;if(nt<Ge)break;var ht=E-Ge;rt>He(S/ht)&&Oe("overflow"),rt*=ht}var Be=X.length+1;Ce=$t(oe-Ie,Be,Ie==0),He(oe/Be)>S-ge&&Oe("overflow"),ge+=He(oe/Be),oe%=Be,X.splice(oe++,0,ge)}return String.fromCodePoint.apply(String,X)},H=function(M){var X=[];M=et(M);var ie=M.length,oe=ce,ge=0,Ce=re,Re=!0,je=!1,lt=void 0;try{for(var Ie=M[Symbol.iterator](),rt;!(Re=(rt=Ie.next()).done);Re=!0){var ut=rt.value;ut<128&&X.push(Pe(ut))}}catch(_r){je=!0,lt=_r}finally{try{!Re&&Ie.return&&Ie.return()}finally{if(je)throw lt}}var nt=X.length,Ge=nt;for(nt&&X.push(ve);Ge<ie;){var ht=S,Be=!0,Kt=!1,Wt=void 0;try{for(var kt=M[Symbol.iterator](),Ve;!(Be=(Ve=kt.next()).done);Be=!0){var Jt=Ve.value;Jt>=oe&&Jt<ht&&(ht=Jt)}}catch(_r){Kt=!0,Wt=_r}finally{try{!Be&&kt.return&&kt.return()}finally{if(Kt)throw Wt}}var nr=Ge+1;ht-oe>He((S-ge)/nr)&&Oe("overflow"),ge+=(ht-oe)*nr,oe=ht;var yr=!0,Hr=!1,Ar=void 0;try{for(var xn=M[Symbol.iterator](),Qn;!(yr=(Qn=xn.next()).done);yr=!0){var Zn=Qn.value;if(Zn<oe&&++ge>S&&Oe("overflow"),Zn==oe){for(var kn=ge,An=E;;An+=E){var qr=An<=Ce?C:An>=Ce+N?N:An-Ce;if(kn<qr)break;var Rr=kn-qr,Gr=E-qr;X.push(Pe(tt(qr+Rr%Gr,0))),kn=He(Rr/Gr)}X.push(Pe(tt(kn,0))),Ce=$t(ge,nr,Ge==nt),ge=0,++Ge}}}catch(_r){Hr=!0,Ar=_r}finally{try{!yr&&xn.return&&xn.return()}finally{if(Hr)throw Ar}}++ge,++oe}return X.join("")},G=function(M){return Fe(M,function(X){return me.test(X)?at(X.slice(4).toLowerCase()):X})},dr=function(M){return Fe(M,function(X){return le.test(X)?"xn--"+H(X):X})},Lt={version:"2.1.0",ucs2:{decode:et,encode:se},decode:at,encode:H,toASCII:dr,toUnicode:G},Et={};function Ot(K){var M=K.charCodeAt(0),X=void 0;return M<16?X="%0"+M.toString(16).toUpperCase():M<128?X="%"+M.toString(16).toUpperCase():M<2048?X="%"+(M>>6|192).toString(16).toUpperCase()+"%"+(M&63|128).toString(16).toUpperCase():X="%"+(M>>12|224).toString(16).toUpperCase()+"%"+(M>>6&63|128).toString(16).toUpperCase()+"%"+(M&63|128).toString(16).toUpperCase(),X}function Pt(K){for(var M="",X=0,ie=K.length;X<ie;){var oe=parseInt(K.substr(X+1,2),16);if(oe<128)M+=String.fromCharCode(oe),X+=3;else if(oe>=194&&oe<224){if(ie-X>=6){var ge=parseInt(K.substr(X+4,2),16);M+=String.fromCharCode((oe&31)<<6|ge&63)}else M+=K.substr(X,6);X+=6}else if(oe>=224){if(ie-X>=9){var Ce=parseInt(K.substr(X+4,2),16),Re=parseInt(K.substr(X+7,2),16);M+=String.fromCharCode((oe&15)<<12|(Ce&63)<<6|Re&63)}else M+=K.substr(X,9);X+=9}else M+=K.substr(X,3),X+=3}return M}function ft(K,M){function X(ie){var oe=Pt(ie);return oe.match(M.UNRESERVED)?oe:ie}return K.scheme&&(K.scheme=String(K.scheme).replace(M.PCT_ENCODED,X).toLowerCase().replace(M.NOT_SCHEME,"")),K.userinfo!==void 0&&(K.userinfo=String(K.userinfo).replace(M.PCT_ENCODED,X).replace(M.NOT_USERINFO,Ot).replace(M.PCT_ENCODED,a)),K.host!==void 0&&(K.host=String(K.host).replace(M.PCT_ENCODED,X).toLowerCase().replace(M.NOT_HOST,Ot).replace(M.PCT_ENCODED,a)),K.path!==void 0&&(K.path=String(K.path).replace(M.PCT_ENCODED,X).replace(K.scheme?M.NOT_PATH:M.NOT_PATH_NOSCHEME,Ot).replace(M.PCT_ENCODED,a)),K.query!==void 0&&(K.query=String(K.query).replace(M.PCT_ENCODED,X).replace(M.NOT_QUERY,Ot).replace(M.PCT_ENCODED,a)),K.fragment!==void 0&&(K.fragment=String(K.fragment).replace(M.PCT_ENCODED,X).replace(M.NOT_FRAGMENT,Ot).replace(M.PCT_ENCODED,a)),K}function mr(K){return K.replace(/^0*(.*)/,"$1")||"0"}function Mt(K,M){var X=K.match(M.IPV4ADDRESS)||[],ie=d(X,2),oe=ie[1];return oe?oe.split(".").map(mr).join("."):K}function tr(K,M){var X=K.match(M.IPV6ADDRESS)||[],ie=d(X,3),oe=ie[1],ge=ie[2];if(oe){for(var Ce=oe.toLowerCase().split("::").reverse(),Re=d(Ce,2),je=Re[0],lt=Re[1],Ie=lt?lt.split(":").map(mr):[],rt=je.split(":").map(mr),ut=M.IPV4ADDRESS.test(rt[rt.length-1]),nt=ut?7:8,Ge=rt.length-nt,ht=Array(nt),Be=0;Be<nt;++Be)ht[Be]=Ie[Be]||rt[Ge+Be]||"";ut&&(ht[nt-1]=Mt(ht[nt-1],M));var Kt=ht.reduce(function(nr,yr,Hr){if(!yr||yr==="0"){var Ar=nr[nr.length-1];Ar&&Ar.index+Ar.length===Hr?Ar.length++:nr.push({index:Hr,length:1})}return nr},[]),Wt=Kt.sort(function(nr,yr){return yr.length-nr.length})[0],kt=void 0;if(Wt&&Wt.length>1){var Ve=ht.slice(0,Wt.index),Jt=ht.slice(Wt.index+Wt.length);kt=Ve.join(":")+"::"+Jt.join(":")}else kt=ht.join(":");return ge&&(kt+="%"+ge),kt}else return K}var Or=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,rn="".match(/(){0}/)[1]===void 0;function rr(K){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X={},ie=M.iri!==!1?m:p;M.reference==="suffix"&&(K=(M.scheme?M.scheme+":":"")+"//"+K);var oe=K.match(Or);if(oe){rn?(X.scheme=oe[1],X.userinfo=oe[3],X.host=oe[4],X.port=parseInt(oe[5],10),X.path=oe[6]||"",X.query=oe[7],X.fragment=oe[8],isNaN(X.port)&&(X.port=oe[5])):(X.scheme=oe[1]||void 0,X.userinfo=K.indexOf("@")!==-1?oe[3]:void 0,X.host=K.indexOf("//")!==-1?oe[4]:void 0,X.port=parseInt(oe[5],10),X.path=oe[6]||"",X.query=K.indexOf("?")!==-1?oe[7]:void 0,X.fragment=K.indexOf("#")!==-1?oe[8]:void 0,isNaN(X.port)&&(X.port=K.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?oe[4]:void 0)),X.host&&(X.host=tr(Mt(X.host,ie),ie)),X.scheme===void 0&&X.userinfo===void 0&&X.host===void 0&&X.port===void 0&&!X.path&&X.query===void 0?X.reference="same-document":X.scheme===void 0?X.reference="relative":X.fragment===void 0?X.reference="absolute":X.reference="uri",M.reference&&M.reference!=="suffix"&&M.reference!==X.reference&&(X.error=X.error||"URI is not a "+M.reference+" reference.");var ge=Et[(M.scheme||X.scheme||"").toLowerCase()];if(!M.unicodeSupport&&(!ge||!ge.unicodeSupport)){if(X.host&&(M.domainHost||ge&&ge.domainHost))try{X.host=Lt.toASCII(X.host.replace(ie.PCT_ENCODED,Pt).toLowerCase())}catch(Ce){X.error=X.error||"Host's domain name can not be converted to ASCII via punycode: "+Ce}ft(X,p)}else ft(X,ie);ge&&ge.parse&&ge.parse(X,M)}else X.error=X.error||"URI can not be parsed.";return X}function nn(K,M){var X=M.iri!==!1?m:p,ie=[];return K.userinfo!==void 0&&(ie.push(K.userinfo),ie.push("@")),K.host!==void 0&&ie.push(tr(Mt(String(K.host),X),X).replace(X.IPV6ADDRESS,function(oe,ge,Ce){return"["+ge+(Ce?"%25"+Ce:"")+"]"})),(typeof K.port=="number"||typeof K.port=="string")&&(ie.push(":"),ie.push(String(K.port))),ie.length?ie.join(""):void 0}var Vr=/^\.\.?\//,yn=/^\/\.(\/|$)/,bn=/^\/\.\.(\/|$)/,Ln=/^\/?(?:.|\n)*?(?=\/|$)/;function _e(K){for(var M=[];K.length;)if(K.match(Vr))K=K.replace(Vr,"");else if(K.match(yn))K=K.replace(yn,"/");else if(K.match(bn))K=K.replace(bn,"/"),M.pop();else if(K==="."||K==="..")K="";else{var X=K.match(Ln);if(X){var ie=X[0];K=K.slice(ie.length),M.push(ie)}else throw new Error("Unexpected dot segment condition")}return M.join("")}function Gt(K){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X=M.iri?m:p,ie=[],oe=Et[(M.scheme||K.scheme||"").toLowerCase()];if(oe&&oe.serialize&&oe.serialize(K,M),K.host&&!X.IPV6ADDRESS.test(K.host)){if(M.domainHost||oe&&oe.domainHost)try{K.host=M.iri?Lt.toUnicode(K.host):Lt.toASCII(K.host.replace(X.PCT_ENCODED,Pt).toLowerCase())}catch(Re){K.error=K.error||"Host's domain name can not be converted to "+(M.iri?"Unicode":"ASCII")+" via punycode: "+Re}}ft(K,X),M.reference!=="suffix"&&K.scheme&&(ie.push(K.scheme),ie.push(":"));var ge=nn(K,M);if(ge!==void 0&&(M.reference!=="suffix"&&ie.push("//"),ie.push(ge),K.path&&K.path.charAt(0)!=="/"&&ie.push("/")),K.path!==void 0){var Ce=K.path;!M.absolutePath&&(!oe||!oe.absolutePath)&&(Ce=_e(Ce)),ge===void 0&&(Ce=Ce.replace(/^\/\//,"/%2F")),ie.push(Ce)}return K.query!==void 0&&(ie.push("?"),ie.push(K.query)),K.fragment!==void 0&&(ie.push("#"),ie.push(K.fragment)),ie.join("")}function Mn(K,M){var X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ie=arguments[3],oe={};return ie||(K=rr(Gt(K,X),X),M=rr(Gt(M,X),X)),X=X||{},!X.tolerant&&M.scheme?(oe.scheme=M.scheme,oe.userinfo=M.userinfo,oe.host=M.host,oe.port=M.port,oe.path=_e(M.path||""),oe.query=M.query):(M.userinfo!==void 0||M.host!==void 0||M.port!==void 0?(oe.userinfo=M.userinfo,oe.host=M.host,oe.port=M.port,oe.path=_e(M.path||""),oe.query=M.query):(M.path?(M.path.charAt(0)==="/"?oe.path=_e(M.path):((K.userinfo!==void 0||K.host!==void 0||K.port!==void 0)&&!K.path?oe.path="/"+M.path:K.path?oe.path=K.path.slice(0,K.path.lastIndexOf("/")+1)+M.path:oe.path=M.path,oe.path=_e(oe.path)),oe.query=M.query):(oe.path=K.path,M.query!==void 0?oe.query=M.query:oe.query=K.query),oe.userinfo=K.userinfo,oe.host=K.host,oe.port=K.port),oe.scheme=K.scheme),oe.fragment=M.fragment,oe}function ze(K,M,X){var ie=u({scheme:"null"},X);return Gt(Mn(rr(K,ie),rr(M,ie),ie,!0),ie)}function qe(K,M){return typeof K=="string"?K=Gt(rr(K,M),M):s(K)==="object"&&(K=rr(Gt(K,M),M)),K}function wt(K,M,X){return typeof K=="string"?K=Gt(rr(K,X),X):s(K)==="object"&&(K=Gt(K,X)),typeof M=="string"?M=Gt(rr(M,X),X):s(M)==="object"&&(M=Gt(M,X)),K===M}function xt(K,M){return K&&K.toString().replace(!M||!M.iri?p.ESCAPE:m.ESCAPE,Ot)}function qt(K,M){return K&&K.toString().replace(!M||!M.iri?p.PCT_ENCODED:m.PCT_ENCODED,Pt)}var ne={scheme:"http",domainHost:!0,parse:function(M,X){return M.host||(M.error=M.error||"HTTP URIs must have a host."),M},serialize:function(M,X){var ie=String(M.scheme).toLowerCase()==="https";return(M.port===(ie?443:80)||M.port==="")&&(M.port=void 0),M.path||(M.path="/"),M}},ue={scheme:"https",domainHost:ne.domainHost,parse:ne.parse,serialize:ne.serialize};function we(K){return typeof K.secure=="boolean"?K.secure:String(K.scheme).toLowerCase()==="wss"}var ke={scheme:"ws",domainHost:!0,parse:function(M,X){var ie=M;return ie.secure=we(ie),ie.resourceName=(ie.path||"/")+(ie.query?"?"+ie.query:""),ie.path=void 0,ie.query=void 0,ie},serialize:function(M,X){if((M.port===(we(M)?443:80)||M.port==="")&&(M.port=void 0),typeof M.secure=="boolean"&&(M.scheme=M.secure?"wss":"ws",M.secure=void 0),M.resourceName){var ie=M.resourceName.split("?"),oe=d(ie,2),ge=oe[0],Ce=oe[1];M.path=ge&&ge!=="/"?ge:void 0,M.query=Ce,M.resourceName=void 0}return M.fragment=void 0,M}},pt={scheme:"wss",domainHost:ke.domainHost,parse:ke.parse,serialize:ke.serialize},zt={},De=!0,Qe="[A-Za-z0-9\\-\\.\\_\\~"+(De?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Ft="[0-9A-Fa-f]",Br=e(e("%[EFef]"+Ft+"%"+Ft+Ft+"%"+Ft+Ft)+"|"+e("%[89A-Fa-f]"+Ft+"%"+Ft+Ft)+"|"+e("%"+Ft+Ft)),mt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",wn="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",gr=r(wn,'[\\"\\\\]'),Hi="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ws=new RegExp(Qe,"g"),vn=new RegExp(Br,"g"),vs=new RegExp(r("[^]",mt,"[\\.]",'[\\"]',gr),"g"),Ur=new RegExp(r("[^]",Qe,Hi),"g"),sn=Ur;function an(K){var M=Pt(K);return M.match(ws)?M:K}var $n={scheme:"mailto",parse:function(M,X){var ie=M,oe=ie.to=ie.path?ie.path.split(","):[];if(ie.path=void 0,ie.query){for(var ge=!1,Ce={},Re=ie.query.split("&"),je=0,lt=Re.length;je<lt;++je){var Ie=Re[je].split("=");switch(Ie[0]){case"to":for(var rt=Ie[1].split(","),ut=0,nt=rt.length;ut<nt;++ut)oe.push(rt[ut]);break;case"subject":ie.subject=qt(Ie[1],X);break;case"body":ie.body=qt(Ie[1],X);break;default:ge=!0,Ce[qt(Ie[0],X)]=qt(Ie[1],X);break}}ge&&(ie.headers=Ce)}ie.query=void 0;for(var Ge=0,ht=oe.length;Ge<ht;++Ge){var Be=oe[Ge].split("@");if(Be[0]=qt(Be[0]),X.unicodeSupport)Be[1]=qt(Be[1],X).toLowerCase();else try{Be[1]=Lt.toASCII(qt(Be[1],X).toLowerCase())}catch(Kt){ie.error=ie.error||"Email address's domain name can not be converted to ASCII via punycode: "+Kt}oe[Ge]=Be.join("@")}return ie},serialize:function(M,X){var ie=M,oe=o(M.to);if(oe){for(var ge=0,Ce=oe.length;ge<Ce;++ge){var Re=String(oe[ge]),je=Re.lastIndexOf("@"),lt=Re.slice(0,je).replace(vn,an).replace(vn,a).replace(vs,Ot),Ie=Re.slice(je+1);try{Ie=X.iri?Lt.toUnicode(Ie):Lt.toASCII(qt(Ie,X).toLowerCase())}catch(Ge){ie.error=ie.error||"Email address's domain name can not be converted to "+(X.iri?"Unicode":"ASCII")+" via punycode: "+Ge}oe[ge]=lt+"@"+Ie}ie.path=oe.join(",")}var rt=M.headers=M.headers||{};M.subject&&(rt.subject=M.subject),M.body&&(rt.body=M.body);var ut=[];for(var nt in rt)rt[nt]!==zt[nt]&&ut.push(nt.replace(vn,an).replace(vn,a).replace(Ur,Ot)+"="+rt[nt].replace(vn,an).replace(vn,a).replace(sn,Ot));return ut.length&&(ie.query=ut.join("&")),ie}},Gi=/^([^\:]+)\:(.*)/,di={scheme:"urn",parse:function(M,X){var ie=M.path&&M.path.match(Gi),oe=M;if(ie){var ge=X.scheme||oe.scheme||"urn",Ce=ie[1].toLowerCase(),Re=ie[2],je=ge+":"+(X.nid||Ce),lt=Et[je];oe.nid=Ce,oe.nss=Re,oe.path=void 0,lt&&(oe=lt.parse(oe,X))}else oe.error=oe.error||"URN can not be parsed.";return oe},serialize:function(M,X){var ie=X.scheme||M.scheme||"urn",oe=M.nid,ge=ie+":"+(X.nid||oe),Ce=Et[ge];Ce&&(M=Ce.serialize(M,X));var Re=M,je=M.nss;return Re.path=(oe||X.nid)+":"+je,Re}},Ki=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Jn={scheme:"urn:uuid",parse:function(M,X){var ie=M;return ie.uuid=ie.nss,ie.nss=void 0,!X.tolerant&&(!ie.uuid||!ie.uuid.match(Ki))&&(ie.error=ie.error||"UUID is not valid."),ie},serialize:function(M,X){var ie=M;return ie.nss=(M.uuid||"").toLowerCase(),ie}};Et[ne.scheme]=ne,Et[ue.scheme]=ue,Et[ke.scheme]=ke,Et[pt.scheme]=pt,Et[$n.scheme]=$n,Et[di.scheme]=di,Et[Jn.scheme]=Jn,t.SCHEMES=Et,t.pctEncChar=Ot,t.pctDecChars=Pt,t.parse=rr,t.removeDotSegments=_e,t.serialize=Gt,t.resolveComponents=Mn,t.resolve=ze,t.normalize=qe,t.equal=wt,t.escapeComponent=xt,t.unescapeComponent=qt,Object.defineProperty(t,"__esModule",{value:!0})})});var Gs=xe(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.getSchemaRefs=Fr.resolveUrl=Fr.normalizeId=Fr._getFullPath=Fr.getFullPath=Fr.inlineRef=void 0;var Uy=Tt(),Hy=Hs(),Gy=Jf(),Xa=Nl(),Ky=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Wy(t,r=!0){return typeof t=="boolean"?!0:r===!0?!Ll(t):r?Zf(t)<=r:!1}Fr.inlineRef=Wy;var Jy=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Ll(t){for(let r in t){if(Jy.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(Ll)||typeof e=="object"&&Ll(e))return!0}return!1}function Zf(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!Ky.has(e)&&(typeof t[e]=="object"&&Uy.eachItem(t[e],s=>r+=Zf(s)),r===1/0))return 1/0}return r}function Xf(t="",r){r!==!1&&(t=ss(t));let e=Xa.parse(t);return Yf(e)}Fr.getFullPath=Xf;function Yf(t){return Xa.serialize(t).split("#")[0]+"#"}Fr._getFullPath=Yf;var Qy=/#\/?$/;function ss(t){return t?t.replace(Qy,""):""}Fr.normalizeId=ss;function Zy(t,r){return r=ss(r),Xa.resolve(t,r)}Fr.resolveUrl=Zy;var Xy=/^[a-z_][-a-z0-9._]*$/i;function Yy(t){if(typeof t=="boolean")return{};let r=ss(t.$id),e={"":r},s=Xf(r,!1),a={},o=new Set;return Gy(t,{allKeys:!0},(p,m,d,v)=>{if(v===void 0)return;let S=s+m,E=e[v];typeof p.$id=="string"&&(E=C.call(this,p.$id)),N.call(this,p.$anchor),N.call(this,p.$dynamicAnchor),e[m]=E;function C(j){if(j=ss(E?Xa.resolve(E,j):j),o.has(j))throw f(j);o.add(j);let B=this.refs[j];return typeof B=="string"&&(B=this.refs[B]),typeof B=="object"?u(p,B.schema,j):j!==ss(S)&&(j[0]==="#"?(u(p,a[j],j),a[j]=p):this.refs[j]=S),j}function N(j){if(typeof j=="string"){if(!Xy.test(j))throw new Error(`invalid anchor "${j}"`);C.call(this,`#${j}`)}}}),a;function u(p,m,d){if(m!==void 0&&!Hy(p,m))throw f(d)}function f(p){return new Error(`reference "${p}" resolves to more than one schema`)}}Fr.getSchemaRefs=Yy});var jr=xe(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.checkStrictMode=On.schemaCxtHasRules=On.subschemaCode=On.validateFunctionCode=void 0;var np=Pf(),ep=is(),tp=Gf(),Je=Ue(),Ne=fn(),e0=Gs(),ip=Tt();function t0(t){if(ap(t)&&(op(t),Ml(t))){i0(t);return}sp(t,()=>np.topBoolOrEmptySchema(t))}On.validateFunctionCode=t0;function sp({gen:t,validateName:r,schema:e,schemaEnv:s,opts:a},o){a.code.es5?t.func(r,Je._`${Ne.default.data}, ${Ne.default.valCxt}`,s.$async,()=>{t.code(Je._`"use strict"; ${rp(e,a)}`),n0(t,a),t.code(o)}):t.func(r,Je._`${Ne.default.data}, ${r0(a)}`,s.$async,()=>t.code(rp(e,a)).code(o))}function r0(t){return Je._`{${Ne.default.dataPath}="", ${Ne.default.parentData}, ${Ne.default.parentDataProperty}, ${Ne.default.rootData}=${Ne.default.data}${t.dynamicRef?Je._`, ${Ne.default.dynamicAnchors}={}`:Je.nil}}={}`}function n0(t,r){t.if(Ne.default.valCxt,()=>{t.var(Ne.default.dataPath,Je._`${Ne.default.valCxt}.${Ne.default.dataPath}`),t.var(Ne.default.parentData,Je._`${Ne.default.valCxt}.${Ne.default.parentData}`),t.var(Ne.default.parentDataProperty,Je._`${Ne.default.valCxt}.${Ne.default.parentDataProperty}`),t.var(Ne.default.rootData,Je._`${Ne.default.valCxt}.${Ne.default.rootData}`),r.dynamicRef&&t.var(Ne.default.dynamicAnchors,Je._`${Ne.default.valCxt}.${Ne.default.dynamicAnchors}`)},()=>{t.var(Ne.default.dataPath,Je._`""`),t.var(Ne.default.parentData,Je._`undefined`),t.var(Ne.default.parentDataProperty,Je._`undefined`),t.var(Ne.default.rootData,Ne.default.data),r.dynamicRef&&t.var(Ne.default.dynamicAnchors,Je._`{}`)})}function i0(t){let{schema:r,opts:e,gen:s}=t;sp(t,()=>{e.$comment&&r.$comment&&up(t),u0(t),s.let(Ne.default.vErrors,null),s.let(Ne.default.errors,0),e.unevaluated&&s0(t),lp(t),p0(t)})}function s0(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Je._`${e}.evaluated`),r.if(Je._`${t.evaluated}.dynamicProps`,()=>r.assign(Je._`${t.evaluated}.props`,Je._`undefined`)),r.if(Je._`${t.evaluated}.dynamicItems`,()=>r.assign(Je._`${t.evaluated}.items`,Je._`undefined`))}function rp(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Je._`/*# sourceURL=${t.$id} */`:Je.nil}function a0(t,r){if(ap(t)&&(op(t),Ml(t))){o0(t,r);return}np.boolOrEmptySchema(t,r)}On.subschemaCode=a0;function Ml({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}On.schemaCxtHasRules=Ml;function ap(t){return typeof t.schema!="boolean"}function o0(t,r){let{schema:e,gen:s,opts:a}=t;a.$comment&&e.$comment&&up(t),c0(t),f0(t);let o=s.const("_errs",Ne.default.errors);lp(t,o),s.var(r,Je._`${o} === ${Ne.default.errors}`)}function op(t){ip.checkUnknownRules(t),l0(t)}function lp(t,r){if(t.opts.jtd)return tp.schemaKeywords(t,[],!1,r);let e=ep.getSchemaTypes(t.schema),s=ep.coerceAndCheckDataType(t,e);tp.schemaKeywords(t,e,!s,r)}function l0(t){let{schema:r,errSchemaPath:e,opts:s,self:a}=t;r.$ref&&s.ignoreKeywordsWithRef&&ip.schemaHasRulesButRef(r,a.RULES)&&a.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function u0(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&cp(t,"default is ignored in the schema root")}function c0(t){t.schema.$id&&(t.baseId=e0.resolveUrl(t.baseId,t.schema.$id))}function f0(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function up({gen:t,schemaEnv:r,schema:e,errSchemaPath:s,opts:a}){let o=e.$comment;if(a.$comment===!0)t.code(Je._`${Ne.default.self}.logger.log(${o})`);else if(typeof a.$comment=="function"){let u=Je.str`${s}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Je._`${Ne.default.self}.opts.$comment(${o}, ${u}, ${f}.schema)`)}}function p0(t){let{gen:r,schemaEnv:e,validateName:s,ValidationError:a,opts:o}=t;e.$async?r.if(Je._`${Ne.default.errors} === 0`,()=>r.return(Ne.default.data),()=>r.throw(Je._`new ${a}(${Ne.default.vErrors})`)):(r.assign(Je._`${s}.errors`,Ne.default.vErrors),o.unevaluated&&h0(t),r.return(Je._`${Ne.default.errors} === 0`))}function h0({gen:t,evaluated:r,props:e,items:s}){e instanceof Je.Name&&t.assign(Je._`${r}.props`,e),s instanceof Je.Name&&t.assign(Je._`${r}.items`,s)}function cp(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}On.checkStrictMode=cp});var Tt=xe(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.func=it.setEvaluated=it.evaluatedPropsToName=it.mergeEvaluated=it.eachItem=it.unescapeJsonPointer=it.escapeJsonPointer=it.escapeFragment=it.unescapeFragment=it.schemaRefOrVal=it.schemaHasRulesButRef=it.schemaHasRules=it.checkUnknownRules=it.alwaysValidSchema=it.toHash=void 0;var Dt=Ue(),d0=jr();function m0(t){let r={};for(let e of t)r[e]=!0;return r}it.toHash=m0;function g0(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(pp(t,r),!hp(r,t.self.RULES.all))}it.alwaysValidSchema=g0;function pp(t,r=t.schema){let{opts:e,self:s}=t;if(!e.strict||typeof r=="boolean")return;let a=s.RULES.keywords;for(let o in r)a[o]||d0.checkStrictMode(t,`unknown keyword: "${o}"`)}it.checkUnknownRules=pp;function hp(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}it.schemaHasRules=hp;function y0(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}it.schemaHasRulesButRef=y0;function b0({topSchemaRef:t,schemaPath:r},e,s,a){if(!a){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Dt._`${e}`}return Dt._`${t}${r}${Dt.getProperty(s)}`}it.schemaRefOrVal=b0;function w0(t){return mp(decodeURIComponent(t))}it.unescapeFragment=w0;function v0(t){return encodeURIComponent(dp(t))}it.escapeFragment=v0;function dp(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}it.escapeJsonPointer=dp;function mp(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}it.unescapeJsonPointer=mp;function $0(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}it.eachItem=$0;function fp({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:s}){return(a,o,u,f)=>{let p=u===void 0?o:u instanceof Dt.Name?(o instanceof Dt.Name?t(a,o,u):r(a,o,u),u):o instanceof Dt.Name?(r(a,u,o),o):e(o,u);return f===Dt.Name&&!(p instanceof Dt.Name)?s(a,p):p}}it.mergeEvaluated={props:fp({mergeNames:(t,r,e)=>t.if(Dt._`${e} !== true && ${r} !== undefined`,()=>{t.if(Dt._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,Dt._`${e} || {}`).code(Dt._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(Dt._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,Dt._`${e} || {}`),zl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:gp}),items:fp({mergeNames:(t,r,e)=>t.if(Dt._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,Dt._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(Dt._`${e} !== true`,()=>t.assign(e,r===!0?!0:Dt._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function gp(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",Dt._`{}`);return r!==void 0&&zl(t,e,r),e}it.evaluatedPropsToName=gp;function zl(t,r,e){Object.keys(e).forEach(s=>t.assign(Dt._`${r}${Dt.getProperty(s)}`,!0))}it.setEvaluated=zl;function x0(t,r){return t.scopeValue("func",{ref:r,code:r.code})}it.func=x0});var is=xe(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 k0=pl(),A0=hl(),_0=Bs(),Le=Ue(),yp=Tt(),Ks;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Ks=Xt.DataType||(Xt.DataType={}));function E0(t){let r=bp(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=E0;function bp(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(k0.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Xt.getJSONTypes=bp;function S0(t,r){let{gen:e,data:s,opts:a}=t,o=C0(r,a.coerceTypes),u=r.length>0&&!(o.length===0&&r.length===1&&A0.schemaHasRulesForType(t,r[0]));if(u){let f=Vl(r,s,a.strict,Ks.Wrong);e.if(f,()=>{o.length?T0(t,r,o):Bl(t)})}return u}Xt.coerceAndCheckDataType=S0;var wp=new Set(["string","number","integer","boolean","null"]);function C0(t,r){return r?t.filter(e=>wp.has(e)||r==="array"&&e==="array"):[]}function T0(t,r,e){let{gen:s,data:a,opts:o}=t,u=s.let("dataType",Le._`typeof ${a}`),f=s.let("coerced",Le._`undefined`);o.coerceTypes==="array"&&s.if(Le._`${u} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>s.assign(a,Le._`${a}[0]`).assign(u,Le._`typeof ${a}`).if(Vl(r,a,o.strict),()=>s.assign(f,a))),s.if(Le._`${f} !== undefined`);for(let m of e)(wp.has(m)||m==="array"&&o.coerceTypes==="array")&&p(m);s.else(),Bl(t),s.endIf(),s.if(Le._`${f} !== undefined`,()=>{s.assign(a,f),P0(t,f)});function p(m){switch(m){case"string":s.elseIf(Le._`${u} == "number" || ${u} == "boolean"`).assign(f,Le._`"" + ${a}`).elseIf(Le._`${a} === null`).assign(f,Le._`""`);return;case"number":s.elseIf(Le._`${u} == "boolean" || ${a} === null
3
- || (${u} == "string" && ${a} && ${a} == +${a})`).assign(f,Le._`+${a}`);return;case"integer":s.elseIf(Le._`${u} === "boolean" || ${a} === null
4
- || (${u} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(f,Le._`+${a}`);return;case"boolean":s.elseIf(Le._`${a} === "false" || ${a} === 0 || ${a} === null`).assign(f,!1).elseIf(Le._`${a} === "true" || ${a} === 1`).assign(f,!0);return;case"null":s.elseIf(Le._`${a} === "" || ${a} === 0 || ${a} === false`),s.assign(f,null);return;case"array":s.elseIf(Le._`${u} === "string" || ${u} === "number"
5
- || ${u} === "boolean" || ${a} === null`).assign(f,Le._`[${a}]`)}}}function P0({gen:t,parentData:r,parentDataProperty:e},s){t.if(Le._`${r} !== undefined`,()=>t.assign(Le._`${r}[${e}]`,s))}function jl(t,r,e,s=Ks.Correct){let a=s===Ks.Correct?Le.operators.EQ:Le.operators.NEQ,o;switch(t){case"null":return Le._`${r} ${a} null`;case"array":o=Le._`Array.isArray(${r})`;break;case"object":o=Le._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":o=u(Le._`!(${r} % 1) && !isNaN(${r})`);break;case"number":o=u();break;default:return Le._`typeof ${r} ${a} ${t}`}return s===Ks.Correct?o:Le.not(o);function u(f=Le.nil){return Le.and(Le._`typeof ${r} == "number"`,f,e?Le._`isFinite(${r})`:Le.nil)}}Xt.checkDataType=jl;function Vl(t,r,e,s){if(t.length===1)return jl(t[0],r,e,s);let a,o=yp.toHash(t);if(o.array&&o.object){let u=Le._`typeof ${r} != "object"`;a=o.null?u:Le._`!${r} || ${u}`,delete o.null,delete o.array,delete o.object}else a=Le.nil;o.number&&delete o.integer;for(let u in o)a=Le.and(a,jl(u,r,e,s));return a}Xt.checkDataTypes=Vl;var F0={message:({schema:t})=>Le.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Le._`{type: ${t}}`:Le._`{type: ${r}}`};function Bl(t){let r=D0(t);_0.reportError(r,F0)}Xt.reportTypeError=Bl;function D0(t){let{gen:r,data:e,schema:s}=t,a=yp.schemaRefOrVal(t,s,"type");return{gen:r,keyword:"type",data:e,schema:s.type,schemaCode:a,schemaValue:a,parentSchema:s,params:{},it:t}}});var Us=xe(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.getData=void 0;var vp=is(),Ya=Tt(),Ws=Bs(),Rt=Ue(),Ul=fn(),I0=Ti(),Hl=class{constructor(r,e,s){if(q0(r,e,s),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=s,this.data=r.data,this.schema=r.schema[s],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Ya.schemaRefOrVal(r,this.schema,s,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",$p(this.$data,r));else if(this.schemaCode=this.schemaValue,!O0(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${s} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=r.gen.const("_errs",Ul.default.errors))}result(r,e,s){this.gen.if(Rt.not(r)),s?s():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(Rt._`${e} !== undefined && (${Rt.or(this.invalid$data(),r)})`)}error(r){(r?Ws.reportExtraError:Ws.reportError)(this,this.def.error)}$dataError(){Ws.reportError(this,this.def.$dataError||Ws.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Ws.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,s=Rt.nil){this.gen.block(()=>{this.check$data(r,s),e()})}check$data(r=Rt.nil,e=Rt.nil){if(!this.$data)return;let{gen:s,schemaCode:a,schemaType:o,def:u}=this;s.if(Rt.or(Rt._`${a} === undefined`,e)),r!==Rt.nil&&s.assign(r,!0),(o.length||u.validateSchema)&&(s.elseIf(this.invalid$data()),this.$dataError(),r!==Rt.nil&&s.assign(r,!1)),s.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:s,def:a,it:o}=this;return Rt.or(u(),f());function u(){if(s.length){if(!(e instanceof Rt.Name))throw new Error("ajv implementation error");let p=Array.isArray(s)?s:[s];return Rt._`${vp.checkDataTypes(p,e,o.opts.strict,vp.DataType.Wrong)}`}return Rt.nil}function f(){if(a.validateSchema){let p=r.scopeValue("validate$data",{ref:a.validateSchema});return Rt._`!${p}(${e})`}return Rt.nil}}subschema(r,e){return I0.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:s,gen:a}=this;!s.opts.unevaluated||(s.props!==!0&&r.props!==void 0&&(s.props=Ya.mergeEvaluated.props(a,r.props,s.props,e)),s.items!==!0&&r.items!==void 0&&(s.items=Ya.mergeEvaluated.items(a,r.items,s.items,e)))}mergeValidEvaluated(r,e){let{it:s,gen:a}=this;if(s.opts.unevaluated&&(s.props!==!0||s.items!==!0))return a.if(e,()=>this.mergeEvaluated(r,Rt.Name)),!0}};Js.default=Hl;function O0(t,r,e=!1){return!r.length||r.some(s=>s==="array"?Array.isArray(t):s==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==s||e&&typeof t>"u")}function q0({schema:t,opts:r,self:e},s,a){if(Array.isArray(s.keyword)?!s.keyword.includes(a):s.keyword!==a)throw new Error("ajv implementation error");let o=s.dependencies;if(o!=null&&o.some(u=>!Object.prototype.hasOwnProperty.call(t,u)))throw new Error(`parent schema must have dependencies of ${a}: ${o.join(",")}`);if(s.validateSchema&&!s.validateSchema(t[a])){let f="keyword value is invalid: "+e.errorsText(s.validateSchema.errors);if(r.validateSchema==="log")e.logger.error(f);else throw new Error(f)}}var R0=/^\/(?:[^~]|~0|~1)*$/,N0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function $p(t,{dataLevel:r,dataNames:e,dataPathArr:s}){let a,o;if(t==="")return Ul.default.rootData;if(t[0]==="/"){if(!R0.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);a=t,o=Ul.default.rootData}else{let m=N0.exec(t);if(!m)throw new Error(`Invalid JSON-pointer: ${t}`);let d=+m[1];if(a=m[2],a==="#"){if(d>=r)throw new Error(p("property/index",d));return s[r-d]}if(d>r)throw new Error(p("data",d));if(o=e[r-d],!a)return o}let u=o,f=a.split("/");for(let m of f)m&&(o=Rt._`${o}${Rt.getProperty(Ya.unescapeJsonPointer(m))}`,u=Rt._`${u} && ${o}`);return u;function p(m,d){return`Cannot access ${m} ${d} levels up, current level is ${r}`}}Js.getData=$p});var ro=xe((as,xp)=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});as.MissingRefError=as.ValidationError=void 0;var Gl=Gs(),eo=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};as.ValidationError=eo;var to=class extends Error{constructor(r,e,s){super(s||`can't resolve reference ${e} from id ${r}`),this.missingRef=Gl.resolveUrl(r,e),this.missingSchema=Gl.normalizeId(Gl.getFullPath(this.missingRef))}};as.MissingRefError=to;xp.exports={ValidationError:eo,MissingRefError:to}});var Jl=xe(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.resolveSchema=Yr.getCompilingSchema=Yr.resolveRef=Yr.compileSchema=Yr.SchemaEnv=void 0;var hn=Ue(),L0=ro(),Fi=fn(),dn=Gs(),kp=Tt(),M0=jr(),z0=Nl(),os=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let s;typeof r.schema=="object"&&(s=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:dn.normalizeId(s==null?void 0:s.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=s==null?void 0:s.$async,this.refs={}}};Yr.SchemaEnv=os;function Wl(t){let r=Ap.call(this,t);if(r)return r;let e=dn.getFullPath(t.root.baseId),{es5:s,lines:a}=this.opts.code,{ownProperties:o}=this.opts,u=new hn.CodeGen(this.scope,{es5:s,lines:a,ownProperties:o}),f;t.$async&&(f=u.scopeValue("Error",{ref:L0.ValidationError,code:hn._`require("ajv/dist/compile/error_classes").ValidationError`}));let p=u.scopeName("validate");t.validateName=p;let m={gen:u,allErrors:this.opts.allErrors,data:Fi.default.data,parentData:Fi.default.parentData,parentDataProperty:Fi.default.parentDataProperty,dataNames:[Fi.default.data],dataPathArr:[hn.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:hn.stringify(t.schema)}:{ref:t.schema}),validateName:p,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:hn.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:hn._`""`,opts:this.opts,self:this},d;try{this._compilations.add(t),M0.validateFunctionCode(m),u.optimize(this.opts.code.optimize);let v=u.toString();d=`${u.scopeRefs(Fi.default.scope)}return ${v}`,this.opts.code.process&&(d=this.opts.code.process(d,t));let E=new Function(`${Fi.default.self}`,`${Fi.default.scope}`,d)(this,this.scope.get());if(this.scope.value(p,{ref:E}),E.errors=null,E.schema=t.schema,E.schemaEnv=t,t.$async&&(E.$async=!0),this.opts.code.source===!0&&(E.source={validateName:p,validateCode:v,scopeValues:u._values}),this.opts.unevaluated){let{props:C,items:N}=m;E.evaluated={props:C instanceof hn.Name?void 0:C,items:N instanceof hn.Name?void 0:N,dynamicProps:C instanceof hn.Name,dynamicItems:N instanceof hn.Name},E.source&&(E.source.evaluated=hn.stringify(E.evaluated))}return t.validate=E,t}catch(v){throw delete t.validate,delete t.validateName,d&&this.logger.error("Error compiling schema, function code:",d),v}finally{this._compilations.delete(t)}}Yr.compileSchema=Wl;function j0(t,r,e){var s;e=dn.resolveUrl(r,e);let a=t.refs[e];if(a)return a;let o=U0.call(this,t,e);if(o===void 0){let u=(s=t.localRefs)===null||s===void 0?void 0:s[e];u&&(o=new os({schema:u,root:t,baseId:r}))}if(o!==void 0)return t.refs[e]=V0.call(this,o)}Yr.resolveRef=j0;function V0(t){return dn.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Wl.call(this,t)}function Ap(t){for(let r of this._compilations)if(B0(r,t))return r}Yr.getCompilingSchema=Ap;function B0(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function U0(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||no.call(this,t,r)}function no(t,r){let e=z0.parse(r),s=dn._getFullPath(e),a=dn.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&s===a)return Kl.call(this,e,t);let o=dn.normalizeId(s),u=this.refs[o]||this.schemas[o];if(typeof u=="string"){let f=no.call(this,t,u);return typeof(f==null?void 0:f.schema)!="object"?void 0:Kl.call(this,e,f)}if(typeof(u==null?void 0:u.schema)=="object"){if(u.validate||Wl.call(this,u),o===dn.normalizeId(r)){let{schema:f}=u;return f.$id&&(a=dn.resolveUrl(a,f.$id)),new os({schema:f,root:t,baseId:a})}return Kl.call(this,e,u)}}Yr.resolveSchema=no;var H0=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Kl(t,{baseId:r,schema:e,root:s}){var a;if(((a=t.fragment)===null||a===void 0?void 0:a[0])!=="/")return;for(let u of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[kp.unescapeFragment(u)],e===void 0))return;!H0.has(u)&&typeof e=="object"&&e.$id&&(r=dn.resolveUrl(r,e.$id))}let o;if(typeof e!="boolean"&&e.$ref&&!kp.schemaHasRulesButRef(e,this.RULES)){let u=dn.resolveUrl(r,e.$ref);o=no.call(this,s,u)}if(o=o||new os({schema:e,root:s,baseId:r}),o.schema!==o.root.schema)return o}});var _p=xe((gk,G0)=>{G0.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 Pp=xe(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 K0=Us();Yt.KeywordCxt=K0.default;var ls=Ue();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 Xl=ro(),W0=pl(),Qs=Jl(),J0=Ue(),io=Gs(),so=is(),Zl=Tt(),Ep=_p(),Q0=["removeAdditional","useDefaults","coerceTypes"],Z0=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),X0={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."},Y0={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function eb(t){var r,e,s,a,o,u,f,p,m,d,v,S;let E=(r=t.strict)!==null&&r!==void 0?r:!0,C=E?"log":!1,N=(e=t.code)===null||e===void 0?void 0:e.optimize,j=N===!0||N===void 0?1:N||0;return{strict:E,strictTypes:(s=t.strictTypes)!==null&&s!==void 0?s:C,strictTuples:(a=t.strictTuples)!==null&&a!==void 0?a:C,code:t.code?{...t.code,optimize:j}:{optimize:j},loopRequired:(o=t.loopRequired)!==null&&o!==void 0?o:1/0,loopEnum:(u=t.loopEnum)!==null&&u!==void 0?u:1/0,meta:(f=t.meta)!==null&&f!==void 0?f:!0,messages:(p=t.messages)!==null&&p!==void 0?p:!0,inlineRefs:(m=t.inlineRefs)!==null&&m!==void 0?m:!0,addUsedSchema:(d=t.addUsedSchema)!==null&&d!==void 0?d:!0,validateSchema:(v=t.validateSchema)!==null&&v!==void 0?v:!0,validateFormats:(S=t.validateFormats)!==null&&S!==void 0?S:!0}}var Zs=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...eb(r)};let{es5:e,lines:s}=this.opts.code;this.scope=new J0.ValueScope({scope:{},prefixes:Z0,es5:e,lines:s}),this.logger=ab(r.logger);let a=r.validateFormats;r.validateFormats=!1,this.RULES=W0.getRules(),Sp.call(this,X0,r,"NOT SUPPORTED"),Sp.call(this,Y0,r,"DEPRECATED","warn"),this._metaOpts=ib.call(this),r.formats&&rb.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&nb.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),tb.call(this),r.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(Ep,Ep.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let s;if(typeof r=="string"){if(s=this.getSchema(r),!s)throw new Error(`no schema with key or ref "${r}"`)}else s=this.compile(r);let a=s(e);return"$async"in s||(this.errors=s.errors),a}compile(r,e){let s=this._addSchema(r,e);return s.validate||this._compileSchemaEnv(s)}compileAsync(r,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:s}=this.opts;return a.call(this,r,e);async function a(d,v){await o.call(this,d.$schema);let S=this._addSchema(d,v);return S.validate||u.call(this,S)}async function o(d){d&&!this.getSchema(d)&&await a.call(this,{$ref:d},!0)}async function u(d){try{return this._compileSchemaEnv(d)}catch(v){if(!(v instanceof Xl.MissingRefError))throw v;return f.call(this,v),await p.call(this,v.missingSchema),u.call(this,d)}}function f({missingSchema:d,missingRef:v}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${v} cannot be resolved`)}async function p(d){let v=await m.call(this,d);this.refs[d]||await o.call(this,v.$schema),this.refs[d]||this.addSchema(v,d,e)}async function m(d){let v=this._loading[d];if(v)return v;try{return await(this._loading[d]=s(d))}finally{delete this._loading[d]}}}addSchema(r,e,s,a=this.opts.validateSchema){if(Array.isArray(r)){for(let u of r)this.addSchema(u,void 0,s,a);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=io.normalizeId(e||o),this._checkUnique(e),this.schemas[e]=this._addSchema(r,s,a,!0),this}addMetaSchema(r,e,s=this.opts.validateSchema){return this.addSchema(r,e,!0,s),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let s;if(s=r.$schema,s!==void 0&&typeof s!="string")throw new Error("$schema must be a string");if(s=s||this.opts.defaultMeta||this.defaultMeta(),!s)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let a=this.validate(s,r);if(!a&&e){let o="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(o);else throw new Error(o)}return a}getSchema(r){let e;for(;typeof(e=Cp.call(this,r))=="string";)r=e;if(e===void 0){let s=new Qs.SchemaEnv({schema:{}});if(e=Qs.resolveSchema.call(this,s,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=Cp.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 s=r.$id;return s&&(s=io.normalizeId(s),delete this.schemas[s],delete this.refs[s]),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 s;if(typeof r=="string")s=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=s);else if(typeof r=="object"&&e===void 0){if(e=r,s=e.keyword,Array.isArray(s)&&!s.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(lb.call(this,s,e),!e)return Zl.eachItem(s,o=>Ql.call(this,o)),this;cb.call(this,e);let a={...e,type:so.getJSONTypes(e.type),schemaType:so.getJSONTypes(e.schemaType)};return Zl.eachItem(s,a.type.length===0?o=>Ql.call(this,o,a):o=>a.type.forEach(u=>Ql.call(this,o,a,u))),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 s of e.rules){let a=s.rules.findIndex(o=>o.keyword===r);a>=0&&s.rules.splice(a,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:s="data"}={}){return!r||r.length===0?"No errors":r.map(a=>`${s}${a.dataPath} ${a.message}`).reduce((a,o)=>a+e+o)}$dataMetaSchema(r,e){let s=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let a of e){let o=a.split("/").slice(1),u=r;for(let f of o)u=u[f];for(let f in s){let p=s[f];if(typeof p!="object")continue;let{$data:m}=p.definition,d=u[f];m&&d&&(u[f]=Tp(d))}}return r}_removeAllSchemas(r,e){for(let s in r){let a=r[s];(!e||e.test(s))&&(typeof a=="string"?delete r[s]:a&&!a.meta&&(this._cache.delete(a.schema),delete r[s]))}}_addSchema(r,e,s=this.opts.validateSchema,a=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 u=io.getSchemaRefs.call(this,r);o=new Qs.SchemaEnv({schema:r,meta:e,localRefs:u}),this._cache.set(o.schema,o);let f=o.baseId;return a&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=o),s&&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):Qs.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{Qs.compileSchema.call(this,r)}finally{this.opts=e}}};Yt.default=Zs;Zs.ValidationError=Xl.ValidationError;Zs.MissingRefError=Xl.MissingRefError;function Sp(t,r,e,s="error"){for(let a in t){let o=a;o in r&&this.logger[s](`${e}: option ${a}. ${t[o]}`)}}function Cp(t){return t=io.normalizeId(t),this.schemas[t]||this.refs[t]}function tb(){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 rb(){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 ib(){let t={...this.opts};for(let r of Q0)delete t[r];return t}var sb={log(){},warn(){},error(){}};function ab(t){if(t===!1)return sb;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 ob=/^[a-z_$][a-z0-9_$:-]*$/i;function lb(t,r){let{RULES:e}=this;if(Zl.eachItem(t,s=>{if(e.keywords[s])throw new Error(`Keyword ${s} is already defined`);if(!ob.test(s))throw new Error(`Keyword ${s} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function Ql(t,r,e){var s;let a=r==null?void 0:r.post;if(e&&a)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:o}=this,u=a?o.post:o.rules.find(({type:p})=>p===e);if(u||(u={type:e,rules:[]},o.rules.push(u)),o.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:so.getJSONTypes(r.type),schemaType:so.getJSONTypes(r.schemaType)}};r.before?ub.call(this,u,f,r.before):u.rules.push(f),o.all[t]=f,(s=r.implements)===null||s===void 0||s.forEach(p=>this.addKeyword(p))}function ub(t,r,e){let s=t.rules.findIndex(a=>a.keyword===e);s>=0?t.rules.splice(s,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function cb(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=Tp(r)),t.validateSchema=this.compile(r,!0))}var fb={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Tp(t){return{anyOf:[t,fb]}}});var Fp=xe(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});var pb={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Yl.default=pb});var qp=xe(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.callRef=Di.getValidate=void 0;var hb=ro(),Dp=pn(),Dr=Ue(),us=fn(),Ip=Jl(),ao=Tt(),db={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:s}=t,{baseId:a,schemaEnv:o,validateName:u,opts:f,self:p}=s;if(e==="#"||e==="#/")return d();let m=Ip.resolveRef.call(p,o.root,a,e);if(m===void 0)throw new hb.MissingRefError(a,e);if(m instanceof Ip.SchemaEnv)return v(m);return S(m);function d(){if(o===o.root)return oo(t,u,o,o.$async);let E=r.scopeValue("root",{ref:o.root});return oo(t,Dr._`${E}.validate`,o.root,o.root.$async)}function v(E){let C=Op(t,E);oo(t,C,E,E.$async)}function S(E){let C=r.scopeValue("schema",f.code.source===!0?{ref:E,code:Dr.stringify(E)}:{ref:E}),N=r.name("valid"),j=t.subschema({schema:E,dataTypes:[],schemaPath:Dr.nil,topSchemaRef:C,errSchemaPath:e},N);t.mergeEvaluated(j),t.ok(N)}}};function Op(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Dr._`${e.scopeValue("wrapper",{ref:r})}.validate`}Di.getValidate=Op;function oo(t,r,e,s){let{gen:a,it:o}=t,{allErrors:u,schemaEnv:f,opts:p}=o,m=p.passContext?us.default.this:Dr.nil;s?d():v();function d(){if(!f.$async)throw new Error("async schema referenced by sync schema");let C=a.let("valid");a.try(()=>{a.code(Dr._`await ${Dp.callValidateCode(t,r,m)}`),E(r),u||a.assign(C,!0)},N=>{a.if(Dr._`!(${N} instanceof ${o.ValidationError})`,()=>a.throw(N)),S(N),u||a.assign(C,!1)}),t.ok(C)}function v(){t.result(Dp.callValidateCode(t,r,m),()=>E(r),()=>S(r))}function S(C){let N=Dr._`${C}.errors`;a.assign(us.default.vErrors,Dr._`${us.default.vErrors} === null ? ${N} : ${us.default.vErrors}.concat(${N})`),a.assign(us.default.errors,Dr._`${us.default.vErrors}.length`)}function E(C){var N;if(!o.opts.unevaluated)return;let j=(N=e==null?void 0:e.validate)===null||N===void 0?void 0:N.evaluated;if(o.props!==!0)if(j&&!j.dynamicProps)j.props!==void 0&&(o.props=ao.mergeEvaluated.props(a,j.props,o.props));else{let B=a.var("props",Dr._`${C}.evaluated.props`);o.props=ao.mergeEvaluated.props(a,B,o.props,Dr.Name)}if(o.items!==!0)if(j&&!j.dynamicItems)j.items!==void 0&&(o.items=ao.mergeEvaluated.items(a,j.items,o.items));else{let B=a.var("items",Dr._`${C}.evaluated.items`);o.items=ao.mergeEvaluated.items(a,B,o.items,Dr.Name)}}}Di.callRef=oo;Di.default=db});var Rp=xe(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});var mb=Fp(),gb=qp(),yb=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",mb.default,gb.default];eu.default=yb});var Np=xe(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});var lo=Ue(),ui=lo.operators,uo={maximum:{okStr:"<=",ok:ui.LTE,fail:ui.GT},minimum:{okStr:">=",ok:ui.GTE,fail:ui.LT},exclusiveMaximum:{okStr:"<",ok:ui.LT,fail:ui.GTE},exclusiveMinimum:{okStr:">",ok:ui.GT,fail:ui.LTE}},bb={message:({keyword:t,schemaCode:r})=>lo.str`should be ${uo[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>lo._`{comparison: ${uo[t].okStr}, limit: ${r}}`},wb={keyword:Object.keys(uo),type:"number",schemaType:"number",$data:!0,error:bb,code(t){let{keyword:r,data:e,schemaCode:s}=t;t.fail$data(lo._`${e} ${uo[r].fail} ${s} || isNaN(${e})`)}};tu.default=wb});var Lp=xe(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});var Xs=Ue(),vb={message:({schemaCode:t})=>Xs.str`should be multiple of ${t}`,params:({schemaCode:t})=>Xs._`{multipleOf: ${t}}`},$b={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:vb,code(t){let{gen:r,data:e,schemaCode:s,it:a}=t,o=a.opts.multipleOfPrecision,u=r.let("res"),f=o?Xs._`Math.abs(Math.round(${u}) - ${u}) > 1e-${o}`:Xs._`${u} !== parseInt(${u})`;t.fail$data(Xs._`(${s} === 0 || (${u} = ${e}/${s}, ${f}))`)}};ru.default=$b});var Mp=xe(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});function xb(t){let r=t.length,e=0,s=0,a;for(;s<r;)e++,a=t.charCodeAt(s++),a>=55296&&a<=56319&&s<r&&(a=t.charCodeAt(s),(a&64512)===56320&&s++);return e}nu.default=xb});var zp=xe(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var ci=Ue(),kb=Mp(),Ab={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return ci.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>ci._`{limit: ${t}}`},_b={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:Ab,code(t){let{keyword:r,data:e,schemaCode:s,it:a}=t,o=r==="maxLength"?ci.operators.GT:ci.operators.LT,u;if(a.opts.unicode===!1)u=ci._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:kb.default,code:ci._`require("ajv/dist/compile/ucs2length").default`});u=ci._`${f}(${e})`}t.fail$data(ci._`${u} ${o} ${s}`)}};iu.default=_b});var jp=xe(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var Eb=pn(),co=Ue(),Sb={message:({schemaCode:t})=>co.str`should match pattern "${t}"`,params:({schemaCode:t})=>co._`{pattern: ${t}}`},Cb={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:Sb,code(t){let{gen:r,data:e,$data:s,schema:a,schemaCode:o}=t,u=s?co._`(new RegExp(${o}, "u"))`:Eb.usePattern(r,a);t.fail$data(co._`!${u}.test(${e})`)}};su.default=Cb});var Vp=xe(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var Ys=Ue(),Tb={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Ys.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Ys._`{limit: ${t}}`},Pb={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Tb,code(t){let{keyword:r,data:e,schemaCode:s}=t,a=r==="maxProperties"?Ys.operators.GT:Ys.operators.LT;t.fail$data(Ys._`Object.keys(${e}).length ${a} ${s}`)}};au.default=Pb});var Bp=xe(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var ea=pn(),ta=Ue(),Fb=jr(),Db={message:({params:{missingProperty:t}})=>ta.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>ta._`{missingProperty: ${t}}`},Ib={keyword:"required",type:"object",schemaType:"array",$data:!0,error:Db,code(t){let{gen:r,schema:e,schemaCode:s,data:a,$data:o,it:u}=t,{opts:f}=u;if(!o&&e.length===0)return;let p=e.length>=f.loopRequired;if(u.allErrors?m():d(),f.strictRequired){let E=t.parentSchema.properties,{definedProperties:C}=t.it;for(let N of e)if((E==null?void 0:E[N])===void 0&&!C.has(N)){let j=u.schemaEnv.baseId+u.errSchemaPath,B=`required property "${N}" is not defined at "${j}" (strictRequired)`;Fb.checkStrictMode(u,B,u.opts.strictRequired)}}function m(){if(p||o)t.block$data(ta.nil,v);else for(let E of e)ea.checkReportMissingProp(t,E)}function d(){let E=r.let("missing");if(p||o){let C=r.let("valid",!0);t.block$data(C,()=>S(E,C)),t.ok(C)}else r.if(ea.checkMissingProp(t,e,E)),ea.reportMissingProp(t,E),r.else()}function v(){r.forOf("prop",s,E=>{t.setParams({missingProperty:E}),r.if(ea.noPropertyInData(r,a,E,f.ownProperties),()=>t.error())})}function S(E,C){t.setParams({missingProperty:E}),r.forOf(E,s,()=>{r.assign(C,ea.propertyInData(r,a,E,f.ownProperties)),r.if(ta.not(C),()=>{t.error(),r.break()})},ta.nil)}}};ou.default=Ib});var Up=xe(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});var ra=Ue(),Ob={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return ra.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>ra._`{limit: ${t}}`},qb={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Ob,code(t){let{keyword:r,data:e,schemaCode:s}=t,a=r==="maxItems"?ra.operators.GT:ra.operators.LT;t.fail$data(ra._`${e}.length ${a} ${s}`)}};lu.default=qb});var Hp=xe(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var uu=is(),Ut=Ue(),Rb=Hs(),Nb={message:({params:{i:t,j:r}})=>Ut.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Ut._`{i: ${t}, j: ${r}}`},Lb={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:Nb,code(t){let{gen:r,data:e,$data:s,schema:a,parentSchema:o,schemaCode:u,it:f}=t;if(!s&&!a)return;let p=r.let("valid"),m=o.items?uu.getSchemaTypes(o.items):[];t.block$data(p,d,Ut._`${u} === false`),t.ok(p);function d(){let C=r.let("i",Ut._`${e}.length`),N=r.let("j");t.setParams({i:C,j:N}),r.assign(p,!0),r.if(Ut._`${C} > 1`,()=>(v()?S:E)(C,N))}function v(){return m.length>0&&!m.some(C=>C==="object"||C==="array")}function S(C,N){let j=r.name("item"),B=uu.checkDataTypes(m,j,f.opts.strict,uu.DataType.Wrong),re=r.const("indices",Ut._`{}`);r.for(Ut._`;${C}--;`,()=>{r.let(j,Ut._`${e}[${C}]`),r.if(B,Ut._`continue`),m.length>1&&r.if(Ut._`typeof ${j} == "string"`,Ut._`${j} += "_"`),r.if(Ut._`typeof ${re}[${j}] == "number"`,()=>{r.assign(N,Ut._`${re}[${j}]`),t.error(),r.assign(p,!1).break()}).code(Ut._`${re}[${j}] = ${C}`)})}function E(C,N){let j=t.gen.scopeValue("func",{ref:Rb,code:Ut._`require("ajv/dist/compile/equal")`}),B=r.name("outer");r.label(B).for(Ut._`;${C}--;`,()=>r.for(Ut._`${N} = ${C}; ${N}--;`,()=>r.if(Ut._`${j}(${e}[${C}], ${e}[${N}])`,()=>{t.error(),r.assign(p,!1).break(B)})))}}};cu.default=Lb});var Gp=xe(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var fu=Ue(),Mb=Hs(),zb={message:"should be equal to constant",params:({schemaCode:t})=>fu._`{allowedValue: ${t}}`},jb={keyword:"const",$data:!0,error:zb,code(t){let r=t.gen.scopeValue("func",{ref:Mb,code:fu._`require("ajv/dist/compile/equal")`});t.fail$data(fu._`!${r}(${t.data}, ${t.schemaCode})`)}};pu.default=jb});var Kp=xe(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});var cs=Ue(),Vb=Hs(),Bb={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>cs._`{allowedValues: ${t}}`},Ub={keyword:"enum",schemaType:"array",$data:!0,error:Bb,code(t){let{gen:r,data:e,$data:s,schema:a,schemaCode:o,it:u}=t;if(!s&&a.length===0)throw new Error("enum must have non-empty array");let f=a.length>=u.opts.loopEnum,p=t.gen.scopeValue("func",{ref:Vb,code:cs._`require("ajv/dist/compile/equal")`}),m;if(f||s)m=r.let("valid"),t.block$data(m,d);else{if(!Array.isArray(a))throw new Error("ajv implementation error");let S=r.const("vSchema",o);m=cs.or(...a.map((E,C)=>v(S,C)))}t.pass(m);function d(){r.assign(m,!1),r.forOf("v",o,S=>r.if(cs._`${p}(${e}, ${S})`,()=>r.assign(m,!0).break()))}function v(S,E){let C=a[E];return C&&typeof C=="object"?cs._`${p}(${e}, ${S}[${E}])`:cs._`${e} === ${C}`}}};hu.default=Ub});var Wp=xe(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var Hb=Np(),Gb=Lp(),Kb=zp(),Wb=jp(),Jb=Vp(),Qb=Bp(),Zb=Up(),Xb=Hp(),Yb=Gp(),ew=Kp(),tw=[Hb.default,Gb.default,Kb.default,Wb.default,Jb.default,Qb.default,Zb.default,Xb.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Yb.default,ew.default];du.default=tw});var Jp=xe(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});var Ii=Ue(),rw=Ti(),nw=Tt(),iw=jr(),sw={message:({params:{len:t}})=>Ii.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Ii._`{limit: ${t}}`},aw={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sw,code(t){let{gen:r,schema:e,parentSchema:s,data:a,it:o}=t,{items:u}=s;if(!Array.isArray(u)){iw.checkStrictMode(o,'"additionalItems" is ignored when "items" is not an array of schemas');return}o.items=!0;let f=r.const("len",Ii._`${a}.length`);if(e===!1)t.setParams({len:u.length}),t.pass(Ii._`${f} <= ${u.length}`);else if(typeof e=="object"&&!nw.alwaysValidSchema(o,e)){let m=r.var("valid",Ii._`${f} <= ${u.length}`);r.if(Ii.not(m),()=>p(m)),t.ok(m)}function p(m){r.forRange("i",u.length,f,d=>{t.subschema({keyword:"additionalItems",dataProp:d,dataPropType:rw.Type.Num},m),o.allErrors||r.if(Ii.not(m),()=>r.break())})}}};mu.default=aw});var Zp=xe(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});var Qp=Ue(),gu=Tt(),ow=jr(),lw=pn(),uw={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:s}=t;if(Array.isArray(e))s.opts.unevaluated&&e.length&&s.items!==!0&&(s.items=gu.mergeEvaluated.items(r,e.length,s.items)),a(e);else{if(s.items=!0,gu.alwaysValidSchema(s,e))return;t.ok(lw.validateArray(t))}function a(o){let{parentSchema:u,data:f}=t;if(s.opts.strictTuples&&!cw(o.length,u)){let d=`"items" is ${o.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;ow.checkStrictMode(s,d,s.opts.strictTuples)}let p=r.name("valid"),m=r.const("len",Qp._`${f}.length`);o.forEach((d,v)=>{gu.alwaysValidSchema(s,d)||(r.if(Qp._`${m} > ${v}`,()=>t.subschema({keyword:"items",schemaProp:v,dataProp:v},p)),t.ok(p))})}}};function cw(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}yu.default=uw});var Yp=xe(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});var mn=Ue(),fw=Ti(),pw=Tt(),Xp=jr(),hw={message:({params:{min:t,max:r}})=>r===void 0?mn.str`should contain at least ${t} valid item(s)`:mn.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?mn._`{minContains: ${t}}`:mn._`{minContains: ${t}, maxContains: ${r}}`},dw={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:hw,code(t){let{gen:r,schema:e,parentSchema:s,data:a,it:o}=t,u,f,{minContains:p,maxContains:m}=s;o.opts.next?(u=p===void 0?1:p,f=m):u=1;let d=r.const("len",mn._`${a}.length`);if(t.setParams({min:u,max:f}),f===void 0&&u===0){Xp.checkStrictMode(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&u>f){Xp.checkStrictMode(o,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(pw.alwaysValidSchema(o,e)){let C=mn._`${d} >= ${u}`;f!==void 0&&(C=mn._`${C} && ${d} <= ${f}`),t.pass(C);return}o.items=!0;let v=r.name("valid");if(f===void 0&&u===1)S(v,()=>r.if(v,()=>r.break()));else{r.let(v,!1);let C=r.name("_valid"),N=r.let("count",0);S(C,()=>r.if(C,()=>E(N)))}t.result(v,()=>t.reset());function S(C,N){r.forRange("i",0,d,j=>{t.subschema({keyword:"contains",dataProp:j,dataPropType:fw.Type.Num,compositeRule:!0},C),N()})}function E(C){r.code(mn._`${C}++`),f===void 0?r.if(mn._`${C} >= ${u}`,()=>r.assign(v,!0).break()):(r.if(mn._`${C} > ${f}`,()=>r.assign(v,!1).break()),u===1?r.assign(v,!0):r.if(mn._`${C} >= ${u}`,()=>r.assign(v,!0)))}}};bu.default=dw});var rh=xe(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.validateSchemaDeps=qn.validatePropertyDeps=qn.error=void 0;var wu=Ue(),mw=Tt(),na=pn();qn.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let s=r===1?"property":"properties";return wu.str`should have ${s} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:s}})=>wu._`{property: ${t},
1
+ var Cg=Object.create;var La=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var Eg=Object.getOwnPropertyNames;var Sg=Object.getPrototypeOf,Tg=Object.prototype.hasOwnProperty;var Ee=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),xc=(t,n)=>{for(var e in n)La(t,e,{get:n[e],enumerable:!0})},kc=(t,n,e,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of Eg(n))!Tg.call(t,o)&&o!==e&&La(t,o,{get:()=>n[o],enumerable:!(s=_g(n,o))||s.enumerable});return t};var si=(t,n,e)=>(e=t!=null?Cg(Sg(t)):{},kc(n||!t||!t.__esModule?La(e,"default",{value:t,enumerable:!0}):e,t)),Pg=t=>kc(La({},"__esModule",{value:!0}),t);var gl=Ee(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.getRules=Xn.isJSONType=void 0;var Fg=["string","number","integer","boolean","null","object","array"],Dg=new Set(Fg);function Ig(t){return typeof t=="string"&&Dg.has(t)}Xn.isJSONType=Ig;function Og(){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:{}}}Xn.getRules=Og});var yl=Ee(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.shouldUseRule=an.shouldUseGroup=an.schemaHasRulesForType=void 0;function qg({schema:t,self:n},e){let s=n.RULES.types[e];return s&&s!==!0&&Cc(t,s)}an.schemaHasRulesForType=qg;function Cc(t,n){return n.rules.some(e=>_c(t,e))}an.shouldUseGroup=Cc;function _c(t,n){var e;return t[n.keyword]!==void 0||((e=n.definition.implements)===null||e===void 0?void 0:e.some(s=>t[s]!==void 0))}an.shouldUseRule=_c});var Ma=Ee($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.getProperty=$t.safeStringify=$t.stringify=$t.strConcat=$t.addCodeArg=$t.str=$t._=$t.nil=$t._Code=$t.Name=$t.IDENTIFIER=$t._CodeOrName=void 0;var qs=class{};$t._CodeOrName=qs;$t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var $n=class extends qs{constructor(n){if(super(),!$t.IDENTIFIER.test(n))throw new Error("CodeGen: name must be a valid identifier");this.str=n}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};$t.Name=$n;var qi=class extends qs{constructor(n){super(),this._items=typeof n=="string"?[n]:n}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let n=this._items[0];return n===""||n==='""'}get str(){var n;return(n=this._str)!==null&&n!==void 0?n:this._str=this._items.reduce((e,s)=>`${e}${s}`,"")}get names(){var n;return(n=this._names)!==null&&n!==void 0?n:this._names=this._items.reduce((e,s)=>(s instanceof $n&&(e[s.str]=(e[s.str]||0)+1),e),{})}};$t._Code=qi;$t.nil=new qi("");function Ec(t,...n){let e=[t[0]],s=0;for(;s<n.length;)bl(e,n[s]),e.push(t[++s]);return new qi(e)}$t._=Ec;var vl=new qi("+");function Sc(t,...n){let e=[Rs(t[0])],s=0;for(;s<n.length;)e.push(vl),bl(e,n[s]),e.push(vl,Rs(t[++s]));return Rg(e),new qi(e)}$t.str=Sc;function bl(t,n){n instanceof qi?t.push(...n._items):n instanceof $n?t.push(n):t.push(Mg(n))}$t.addCodeArg=bl;function Rg(t){let n=1;for(;n<t.length-1;){if(t[n]===vl){let e=Ng(t[n-1],t[n+1]);if(e!==void 0){t.splice(n-1,3,e);continue}t[n++]="+"}n++}}function Ng(t,n){if(n==='""')return t;if(t==='""')return n;if(typeof t=="string")return n instanceof $n||t[t.length-1]!=='"'?void 0:typeof n!="string"?`${t.slice(0,-1)}${n}"`:n[0]==='"'?t.slice(0,-1)+n.slice(1):void 0;if(typeof n=="string"&&n[0]==='"'&&!(t instanceof $n))return`"${t}${n.slice(1)}`}function Lg(t,n){return n.emptyStr()?t:t.emptyStr()?n:Sc`${t}${n}`}$t.strConcat=Lg;function Mg(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Rs(Array.isArray(t)?t.join(","):t)}function zg(t){return new qi(Rs(t))}$t.stringify=zg;function Rs(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}$t.safeStringify=Rs;function jg(t){return typeof t=="string"&&$t.IDENTIFIER.test(t)?new qi(`.${t}`):Ec`[${t}]`}$t.getProperty=jg});var xl=Ee(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.ValueScope=Sr.ValueScopeName=Sr.Scope=Sr.varKinds=Sr.UsedValueState=void 0;var Lr=Ma(),wl=class extends Error{constructor(n){super(`CodeGen: "code" for ${n} not defined`),this.value=n.value}},$l;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})($l=Sr.UsedValueState||(Sr.UsedValueState={}));Sr.varKinds={const:new Lr.Name("const"),let:new Lr.Name("let"),var:new Lr.Name("var")};var za=class{constructor({prefixes:n,parent:e}={}){this._names={},this._prefixes=n,this._parent=e}toName(n){return n instanceof Lr.Name?n:this.name(n)}name(n){return new Lr.Name(this._newName(n))}_newName(n){let e=this._names[n]||this._nameGroup(n);return`${n}${e.index++}`}_nameGroup(n){var e,s;if(((s=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||s===void 0?void 0:s.has(n))||this._prefixes&&!this._prefixes.has(n))throw new Error(`CodeGen: prefix "${n}" is not allowed in this scope`);return this._names[n]={prefix:n,index:0}}};Sr.Scope=za;var ja=class extends Lr.Name{constructor(n,e){super(e),this.prefix=n}setValue(n,{property:e,itemIndex:s}){this.value=n,this.scopePath=Lr._`.${new Lr.Name(e)}[${s}]`}};Sr.ValueScopeName=ja;var Bg=Lr._`\n`,Al=class extends za{constructor(n){super(n),this._values={},this._scope=n.scope,this.opts={...n,_n:n.lines?Bg:Lr.nil}}get(){return this._scope}name(n){return new ja(n,this._newName(n))}value(n,e){var s;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let o=this.toName(n),{prefix:f}=o,h=(s=e.key)!==null&&s!==void 0?s:e.ref,v=this._values[f];if(v){let w=v.get(h);if(w)return w}else v=this._values[f]=new Map;v.set(h,o);let b=this._scope[f]||(this._scope[f]=[]),A=b.length;return b[A]=e.ref,o.setValue(e,{property:f,itemIndex:A}),o}getValue(n,e){let s=this._values[n];if(!!s)return s.get(e)}scopeRefs(n,e=this._values){return this._reduceValues(e,s=>{if(s.scopePath===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return Lr._`${n}${s.scopePath}`})}scopeCode(n=this._values,e,s){return this._reduceValues(n,o=>{if(o.value===void 0)throw new Error(`CodeGen: name "${o}" has no value`);return o.value.code},e,s)}_reduceValues(n,e,s={},o){let f=Lr.nil;for(let h in n){let v=n[h];if(!v)continue;let b=s[h]=s[h]||new Map;v.forEach(A=>{if(b.has(A))return;b.set(A,$l.Started);let w=e(A);if(w){let T=this.opts.es5?Sr.varKinds.var:Sr.varKinds.const;f=Lr._`${f}${T} ${A} = ${w};${this.opts._n}`}else if(w=o==null?void 0:o(A))f=Lr._`${f}${w}${this.opts._n}`;else throw new wl(A);b.set(A,$l.Completed)})}return f}};Sr.ValueScope=Al});var Qe=Ee(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.or=Ye.and=Ye.not=Ye.CodeGen=Ye.operators=Ye.varKinds=Ye.ValueScopeName=Ye.ValueScope=Ye.Scope=Ye.Name=Ye.stringify=Ye.getProperty=Ye.nil=Ye.strConcat=Ye.str=Ye._=void 0;var rt=Ma(),$i=xl(),kn=Ma();Object.defineProperty(Ye,"_",{enumerable:!0,get:function(){return kn._}});Object.defineProperty(Ye,"str",{enumerable:!0,get:function(){return kn.str}});Object.defineProperty(Ye,"strConcat",{enumerable:!0,get:function(){return kn.strConcat}});Object.defineProperty(Ye,"nil",{enumerable:!0,get:function(){return kn.nil}});Object.defineProperty(Ye,"getProperty",{enumerable:!0,get:function(){return kn.getProperty}});Object.defineProperty(Ye,"stringify",{enumerable:!0,get:function(){return kn.stringify}});Object.defineProperty(Ye,"Name",{enumerable:!0,get:function(){return kn.Name}});var Ha=xl();Object.defineProperty(Ye,"Scope",{enumerable:!0,get:function(){return Ha.Scope}});Object.defineProperty(Ye,"ValueScope",{enumerable:!0,get:function(){return Ha.ValueScope}});Object.defineProperty(Ye,"ValueScopeName",{enumerable:!0,get:function(){return Ha.ValueScopeName}});Object.defineProperty(Ye,"varKinds",{enumerable:!0,get:function(){return Ha.varKinds}});Ye.operators={GT:new rt._Code(">"),GTE:new rt._Code(">="),LT:new rt._Code("<"),LTE:new rt._Code("<="),EQ:new rt._Code("==="),NEQ:new rt._Code("!=="),NOT:new rt._Code("!"),OR:new rt._Code("||"),AND:new rt._Code("&&"),ADD:new rt._Code("+")};var Zi=class{optimizeNodes(){return this}optimizeNames(n,e){return this}},kl=class extends Zi{constructor(n,e,s){super(),this.varKind=n,this.name=e,this.rhs=s}render({es5:n,_n:e}){let s=n?$i.varKinds.var:this.varKind,o=this.rhs===void 0?"":` = ${this.rhs}`;return`${s} ${this.name}${o};`+e}optimizeNames(n,e){if(!!n[this.name.str])return this.rhs&&(this.rhs=es(this.rhs,n,e)),this}get names(){return this.rhs instanceof rt._CodeOrName?this.rhs.names:{}}},Ba=class extends Zi{constructor(n,e,s){super(),this.lhs=n,this.rhs=e,this.sideEffects=s}render({_n:n}){return`${this.lhs} = ${this.rhs};`+n}optimizeNames(n,e){if(!(this.lhs instanceof rt.Name&&!n[this.lhs.str]&&!this.sideEffects))return this.rhs=es(this.rhs,n,e),this}get names(){let n=this.lhs instanceof rt.Name?{}:{...this.lhs.names};return Ua(n,this.rhs)}},Cl=class extends Ba{constructor(n,e,s,o){super(n,s,o),this.op=e}render({_n:n}){return`${this.lhs} ${this.op}= ${this.rhs};`+n}},_l=class extends Zi{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`${this.label}:`+n}},El=class extends Zi{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`break${this.label?` ${this.label}`:""};`+n}},Sl=class extends Zi{constructor(n){super(),this.error=n}render({_n:n}){return`throw ${this.error};`+n}get names(){return this.error.names}},Tl=class extends Zi{constructor(n){super(),this.code=n}render({_n:n}){return`${this.code};`+n}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(n,e){return this.code=es(this.code,n,e),this}get names(){return this.code instanceof rt._CodeOrName?this.code.names:{}}},Ns=class extends Zi{constructor(n=[]){super(),this.nodes=n}render(n){return this.nodes.reduce((e,s)=>e+s.render(n),"")}optimizeNodes(){let{nodes:n}=this,e=n.length;for(;e--;){let s=n[e].optimizeNodes();Array.isArray(s)?n.splice(e,1,...s):s?n[e]=s:n.splice(e,1)}return n.length>0?this:void 0}optimizeNames(n,e){let{nodes:s}=this,o=s.length;for(;o--;){let f=s[o];f.optimizeNames(n,e)||(Vg(n,f.names),s.splice(o,1))}return s.length>0?this:void 0}get names(){return this.nodes.reduce((n,e)=>xn(n,e.names),{})}},Xi=class extends Ns{render(n){return"{"+n._n+super.render(n)+"}"+n._n}},Pl=class extends Ns{},Yn=class extends Xi{};Yn.kind="else";var Ai=class extends Xi{constructor(n,e){super(e),this.condition=n}render(n){let e=`if(${this.condition})`+super.render(n);return this.else&&(e+="else "+this.else.render(n)),e}optimizeNodes(){super.optimizeNodes();let n=this.condition;if(n===!0)return this.nodes;let e=this.else;if(e){let s=e.optimizeNodes();e=this.else=Array.isArray(s)?new Yn(s):s}if(e)return n===!1?e instanceof Ai?e:e.nodes:this.nodes.length?this:new Ai(Tc(n),e instanceof Ai?[e]:e.nodes);if(!(n===!1||!this.nodes.length))return this}optimizeNames(n,e){var s;if(this.else=(s=this.else)===null||s===void 0?void 0:s.optimizeNames(n,e),!!(super.optimizeNames(n,e)||this.else))return this.condition=es(this.condition,n,e),this}get names(){let n=super.names;return Ua(n,this.condition),this.else&&xn(n,this.else.names),n}};Ai.kind="if";var An=class extends Xi{};An.kind="for";var Fl=class extends An{constructor(n){super(),this.iteration=n}render(n){return`for(${this.iteration})`+super.render(n)}optimizeNames(n,e){if(!!super.optimizeNames(n,e))return this.iteration=es(this.iteration,n,e),this}get names(){return xn(super.names,this.iteration.names)}},Dl=class extends An{constructor(n,e,s,o){super(),this.varKind=n,this.name=e,this.from=s,this.to=o}render(n){let e=n.es5?$i.varKinds.var:this.varKind,{name:s,from:o,to:f}=this;return`for(${e} ${s}=${o}; ${s}<${f}; ${s}++)`+super.render(n)}get names(){let n=Ua(super.names,this.from);return Ua(n,this.to)}},Va=class extends An{constructor(n,e,s,o){super(),this.loop=n,this.varKind=e,this.name=s,this.iterable=o}render(n){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(n)}optimizeNames(n,e){if(!!super.optimizeNames(n,e))return this.iterable=es(this.iterable,n,e),this}get names(){return xn(super.names,this.iterable.names)}},Ls=class extends Xi{constructor(n,e,s){super(),this.name=n,this.args=e,this.async=s}render(n){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(n)}};Ls.kind="func";var Ms=class extends Ns{render(n){return"return "+super.render(n)}};Ms.kind="return";var Il=class extends Xi{render(n){let e="try"+super.render(n);return this.catch&&(e+=this.catch.render(n)),this.finally&&(e+=this.finally.render(n)),e}optimizeNodes(){var n,e;return super.optimizeNodes(),(n=this.catch)===null||n===void 0||n.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(n,e){var s,o;return super.optimizeNames(n,e),(s=this.catch)===null||s===void 0||s.optimizeNames(n,e),(o=this.finally)===null||o===void 0||o.optimizeNames(n,e),this}get names(){let n=super.names;return this.catch&&xn(n,this.catch.names),this.finally&&xn(n,this.finally.names),n}},zs=class extends Xi{constructor(n){super(),this.error=n}render(n){return`catch(${this.error})`+super.render(n)}};zs.kind="catch";var js=class extends Xi{render(n){return"finally"+super.render(n)}};js.kind="finally";var Ol=class{constructor(n,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
+ `:""},this._extScope=n,this._scope=new $i.Scope({parent:n}),this._nodes=[new Pl]}toString(){return this._root.render(this.opts)}name(n){return this._scope.name(n)}scopeName(n){return this._extScope.name(n)}scopeValue(n,e){let s=this._extScope.value(n,e);return(this._values[s.prefix]||(this._values[s.prefix]=new Set)).add(s),s}getScopeValue(n,e){return this._extScope.getValue(n,e)}scopeRefs(n){return this._extScope.scopeRefs(n,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(n,e,s,o){let f=this._scope.toName(e);return s!==void 0&&o&&(this._constants[f.str]=s),this._leafNode(new kl(n,f,s)),f}const(n,e,s){return this._def($i.varKinds.const,n,e,s)}let(n,e,s){return this._def($i.varKinds.let,n,e,s)}var(n,e,s){return this._def($i.varKinds.var,n,e,s)}assign(n,e,s){return this._leafNode(new Ba(n,e,s))}add(n,e){return this._leafNode(new Cl(n,Ye.operators.ADD,e))}code(n){return typeof n=="function"?n():n!==rt.nil&&this._leafNode(new Tl(n)),this}object(...n){let e=["{"];for(let[s,o]of n)e.length>1&&e.push(","),e.push(s),(s!==o||this.opts.es5)&&(e.push(":"),rt.addCodeArg(e,o));return e.push("}"),new rt._Code(e)}if(n,e,s){if(this._blockNode(new Ai(n)),e&&s)this.code(e).else().code(s).endIf();else if(e)this.code(e).endIf();else if(s)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(n){return this._elseNode(new Ai(n))}else(){return this._elseNode(new Yn)}endIf(){return this._endBlockNode(Ai,Yn)}_for(n,e){return this._blockNode(n),e&&this.code(e).endFor(),this}for(n,e){return this._for(new Fl(n),e)}forRange(n,e,s,o,f=this.opts.es5?$i.varKinds.var:$i.varKinds.let){let h=this._scope.toName(n);return this._for(new Dl(f,h,e,s),()=>o(h))}forOf(n,e,s,o=$i.varKinds.const){let f=this._scope.toName(n);if(this.opts.es5){let h=e instanceof rt.Name?e:this.var("_arr",e);return this.forRange("_i",0,rt._`${h}.length`,v=>{this.var(f,rt._`${h}[${v}]`),s(f)})}return this._for(new Va("of",o,f,e),()=>s(f))}forIn(n,e,s,o=this.opts.es5?$i.varKinds.var:$i.varKinds.const){if(this.opts.ownProperties)return this.forOf(n,rt._`Object.keys(${e})`,s);let f=this._scope.toName(n);return this._for(new Va("in",o,f,e),()=>s(f))}endFor(){return this._endBlockNode(An)}label(n){return this._leafNode(new _l(n))}break(n){return this._leafNode(new El(n))}return(n){let e=new Ms;if(this._blockNode(e),this.code(n),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Ms)}try(n,e,s){if(!e&&!s)throw new Error('CodeGen: "try" without "catch" and "finally"');let o=new Il;if(this._blockNode(o),this.code(n),e){let f=this.name("e");this._currNode=o.catch=new zs(f),e(f)}return s&&(this._currNode=o.finally=new js,this.code(s)),this._endBlockNode(zs,js)}throw(n){return this._leafNode(new Sl(n))}block(n,e){return this._blockStarts.push(this._nodes.length),n&&this.code(n).endBlock(e),this}endBlock(n){let e=this._blockStarts.pop();if(e===void 0)throw new Error("CodeGen: not in self-balancing block");let s=this._nodes.length-e;if(s<0||n!==void 0&&s!==n)throw new Error(`CodeGen: wrong number of nodes: ${s} vs ${n} expected`);return this._nodes.length=e,this}func(n,e=rt.nil,s,o){return this._blockNode(new Ls(n,e,s)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(Ls)}optimize(n=1){for(;n-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(n){return this._currNode.nodes.push(n),this}_blockNode(n){this._currNode.nodes.push(n),this._nodes.push(n)}_endBlockNode(n,e){let s=this._currNode;if(s instanceof n||e&&s instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${n.kind}/${e.kind}`:n.kind}"`)}_elseNode(n){let e=this._currNode;if(!(e instanceof Ai))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=n,this}get _root(){return this._nodes[0]}get _currNode(){let n=this._nodes;return n[n.length-1]}set _currNode(n){let e=this._nodes;e[e.length-1]=n}};Ye.CodeGen=Ol;function xn(t,n){for(let e in n)t[e]=(t[e]||0)+(n[e]||0);return t}function Ua(t,n){return n instanceof rt._CodeOrName?xn(t,n.names):t}function es(t,n,e){if(t instanceof rt.Name)return s(t);if(!o(t))return t;return new rt._Code(t._items.reduce((f,h)=>(h instanceof rt.Name&&(h=s(h)),h instanceof rt._Code?f.push(...h._items):f.push(h),f),[]));function s(f){let h=e[f.str];return h===void 0||n[f.str]!==1?f:(delete n[f.str],h)}function o(f){return f instanceof rt._Code&&f._items.some(h=>h instanceof rt.Name&&n[h.str]===1&&e[h.str]!==void 0)}}function Vg(t,n){for(let e in n)t[e]=(t[e]||0)-(n[e]||0)}function Tc(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:rt._`!${ql(t)}`}Ye.not=Tc;var Ug=Pc(Ye.operators.AND);function Hg(...t){return t.reduce(Ug)}Ye.and=Hg;var Gg=Pc(Ye.operators.OR);function Kg(...t){return t.reduce(Gg)}Ye.or=Kg;function Pc(t){return(n,e)=>n===rt.nil?e:e===rt.nil?n:rt._`${ql(n)} ${t} ${ql(e)}`}function ql(t){return t instanceof rt.Name?t:rt._`(${t})`}});var xi=Ee(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var mr=Qe(),Wg={data:new mr.Name("data"),valCxt:new mr.Name("valCxt"),dataPath:new mr.Name("dataPath"),parentData:new mr.Name("parentData"),parentDataProperty:new mr.Name("parentDataProperty"),rootData:new mr.Name("rootData"),dynamicAnchors:new mr.Name("dynamicAnchors"),vErrors:new mr.Name("vErrors"),errors:new mr.Name("errors"),this:new mr.Name("this"),self:new mr.Name("self"),scope:new mr.Name("scope"),json:new mr.Name("json"),jsonPos:new mr.Name("jsonPos"),jsonLen:new mr.Name("jsonLen"),jsonPart:new mr.Name("jsonPart")};Rl.default=Wg});var Bs=Ee(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});gr.extendErrors=gr.resetErrorsCount=gr.reportExtraError=gr.reportError=gr.keyword$DataError=gr.keywordError=void 0;var it=Qe(),yr=xi();gr.keywordError={message:({keyword:t})=>it.str`should pass "${t}" keyword validation`};gr.keyword$DataError={message:({keyword:t,schemaType:n})=>n?it.str`"${t}" keyword must be ${n} ($data)`:it.str`"${t}" keyword is invalid ($data)`};function Jg(t,n=gr.keywordError,e){let{it:s}=t,{gen:o,compositeRule:f,allErrors:h}=s,v=Ic(t,n);e??(f||h)?Fc(o,v):Dc(s,it._`[${v}]`)}gr.reportError=Jg;function Qg(t,n=gr.keywordError){let{it:e}=t,{gen:s,compositeRule:o,allErrors:f}=e,h=Ic(t,n);Fc(s,h),o||f||Dc(e,yr.default.vErrors)}gr.reportExtraError=Qg;function Zg(t,n){t.assign(yr.default.errors,n),t.if(it._`${yr.default.vErrors} !== null`,()=>t.if(n,()=>t.assign(it._`${yr.default.vErrors}.length`,n),()=>t.assign(yr.default.vErrors,null)))}gr.resetErrorsCount=Zg;function Xg({gen:t,keyword:n,schemaValue:e,data:s,errsCount:o,it:f}){if(o===void 0)throw new Error("ajv implementation error");let h=t.name("err");t.forRange("i",o,yr.default.errors,v=>{t.const(h,it._`${yr.default.vErrors}[${v}]`),t.if(it._`${h}.dataPath === undefined`,()=>t.assign(it._`${h}.dataPath`,it.strConcat(yr.default.dataPath,f.errorPath))),t.assign(it._`${h}.schemaPath`,it.str`${f.errSchemaPath}/${n}`),f.opts.verbose&&(t.assign(it._`${h}.schema`,e),t.assign(it._`${h}.data`,s))})}gr.extendErrors=Xg;function Fc(t,n){let e=t.const("err",n);t.if(it._`${yr.default.vErrors} === null`,()=>t.assign(yr.default.vErrors,it._`[${e}]`),it._`${yr.default.vErrors}.push(${e})`),t.code(it._`${yr.default.errors}++`)}function Dc(t,n){let{gen:e,validateName:s,schemaEnv:o}=t;o.$async?e.throw(it._`new ${t.ValidationError}(${n})`):(e.assign(it._`${s}.errors`,n),e.return(!1))}var Ri={keyword:new it.Name("keyword"),schemaPath:new it.Name("schemaPath"),params:new it.Name("params"),propertyName:new it.Name("propertyName"),message:new it.Name("message"),schema:new it.Name("schema"),parentSchema:new it.Name("parentSchema"),instancePath:new it.Name("instancePath")};function Ic(t,n){let{createErrors:e,opts:s}=t.it;return e===!1?it._`{}`:(s.jtd&&!s.ajvErrors?Yg:e0)(t,n)}function Yg(t,{message:n}){let{gen:e,keyword:s,it:o}=t,{errorPath:f,errSchemaPath:h,opts:v}=o,b=[[Ri.instancePath,it.strConcat(yr.default.dataPath,f)],[Ri.schemaPath,it.str`${h}/${s}`]];return v.messages&&b.push([Ri.message,typeof n=="function"?n(t):n]),e.object(...b)}function e0(t,n){let{gen:e,keyword:s,data:o,schemaValue:f,it:h}=t,{topSchemaRef:v,schemaPath:b,errorPath:A,errSchemaPath:w,propertyName:T,opts:N}=h,{params:R,message:L}=n,V=[[Ri.keyword,s],[yr.default.dataPath,it.strConcat(yr.default.dataPath,A)],[Ri.schemaPath,it.str`${w}/${s}`],[Ri.params,typeof R=="function"?R(t):R||it._`{}`]];return T&&V.push([Ri.propertyName,T]),N.messages&&V.push([Ri.message,typeof L=="function"?L(t):L]),N.verbose&&V.push([Ri.schema,f],[Ri.parentSchema,it._`${v}${b}`],[yr.default.data,o]),e.object(...V)}});var qc=Ee(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.boolOrEmptySchema=ts.topBoolOrEmptySchema=void 0;var t0=Bs(),r0=Qe(),i0=xi(),n0={message:"boolean schema is false"};function s0(t){let{gen:n,schema:e,validateName:s}=t;e===!1?Oc(t,!1):typeof e=="object"&&e.$async===!0?n.return(i0.default.data):(n.assign(r0._`${s}.errors`,null),n.return(!0))}ts.topBoolOrEmptySchema=s0;function a0(t,n){let{gen:e,schema:s}=t;s===!1?(e.var(n,!1),Oc(t)):e.var(n,!0)}ts.boolOrEmptySchema=a0;function Oc(t,n){let{gen:e,data:s}=t,o={gen:e,keyword:"false schema",data:s,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};t0.reportError(o,n0,n)}});var Nc=Ee(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga.assignDefaults=void 0;var rs=Qe(),o0=Jr();function l0(t,n){let{properties:e,items:s}=t.schema;if(n==="object"&&e)for(let o in e)Rc(t,o,e[o].default);else n==="array"&&Array.isArray(s)&&s.forEach((o,f)=>Rc(t,f,o.default))}Ga.assignDefaults=l0;function Rc(t,n,e){let{gen:s,compositeRule:o,data:f,opts:h}=t;if(e===void 0)return;let v=rs._`${f}${rs.getProperty(n)}`;if(o){o0.checkStrictMode(t,`default is ignored for: ${v}`);return}let b=rs._`${v} === undefined`;h.useDefaults==="empty"&&(b=rs._`${b} || ${v} === null || ${v} === ""`),s.if(b,rs._`${v} = ${rs.stringify(e)}`)}});var _n=Ee(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.applySubschema=Cn.Type=void 0;var f0=Jr(),Lc=qt(),vr=Qe(),Mc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(Mc=Cn.Type||(Cn.Type={}));function u0(t,n,e){let s=c0(t,n);h0(s,t,n),d0(s,n);let o={...t,...s,items:void 0,props:void 0};return f0.subschemaCode(o,e),o}Cn.applySubschema=u0;function c0(t,{keyword:n,schemaProp:e,schema:s,schemaPath:o,errSchemaPath:f,topSchemaRef:h}){if(n!==void 0&&s!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(n!==void 0){let v=t.schema[n];return e===void 0?{schema:v,schemaPath:vr._`${t.schemaPath}${vr.getProperty(n)}`,errSchemaPath:`${t.errSchemaPath}/${n}`}:{schema:v[e],schemaPath:vr._`${t.schemaPath}${vr.getProperty(n)}${vr.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${n}/${Lc.escapeFragment(e)}`}}if(s!==void 0){if(o===void 0||f===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:o,topSchemaRef:h,errSchemaPath:f}}throw new Error('either "keyword" or "schema" must be passed')}function h0(t,n,{dataProp:e,dataPropType:s,data:o,dataTypes:f,propertyName:h}){if(o!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:v}=n;if(e!==void 0){let{errorPath:A,dataPathArr:w,opts:T}=n,N=v.let("data",vr._`${n.data}${vr.getProperty(e)}`,!0);b(N),t.errorPath=vr.str`${A}${p0(e,s,T.jsPropertySyntax)}`,t.parentDataProperty=vr._`${e}`,t.dataPathArr=[...w,t.parentDataProperty]}if(o!==void 0){let A=o instanceof vr.Name?o:v.let("data",o,!0);b(A),h!==void 0&&(t.propertyName=h)}f&&(t.dataTypes=f);function b(A){t.data=A,t.dataLevel=n.dataLevel+1,t.dataTypes=[],n.definedProperties=new Set,t.parentData=n.data,t.dataNames=[...n.dataNames,A]}}function d0(t,{jtdDiscriminator:n,jtdMetadata:e,compositeRule:s,createErrors:o,allErrors:f}){s!==void 0&&(t.compositeRule=s),o!==void 0&&(t.createErrors=o),f!==void 0&&(t.allErrors=f),t.jtdDiscriminator=n,t.jtdMetadata=e}function p0(t,n,e){if(t instanceof vr.Name){let s=n===Mc.Num;return e?s?vr._`"[" + ${t} + "]"`:vr._`"['" + ${t} + "']"`:s?vr._`"/" + ${t}`:vr._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?vr.getProperty(t).toString():"/"+Lc.escapeJsonPointer(t)}});var ki=Ee(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.validateUnion=At.validateArray=At.usePattern=At.callValidateCode=At.schemaProperties=At.allSchemaProperties=At.noPropertyInData=At.propertyInData=At.isOwnProperty=At.hasPropFunc=At.reportMissingProp=At.checkMissingProp=At.checkReportMissingProp=void 0;var Pt=Qe(),zc=qt(),m0=_n(),on=xi();function g0(t,n){let{gen:e,data:s,it:o}=t;e.if(Ll(e,s,n,o.opts.ownProperties),()=>{t.setParams({missingProperty:Pt._`${n}`},!0),t.error()})}At.checkReportMissingProp=g0;function y0({gen:t,data:n,it:{opts:e}},s,o){return Pt.or(...s.map(f=>Pt.and(Ll(t,n,f,e.ownProperties),Pt._`${o} = ${f}`)))}At.checkMissingProp=y0;function v0(t,n){t.setParams({missingProperty:n},!0),t.error()}At.reportMissingProp=v0;function jc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Pt._`Object.prototype.hasOwnProperty`})}At.hasPropFunc=jc;function Nl(t,n,e){return Pt._`${jc(t)}.call(${n}, ${e})`}At.isOwnProperty=Nl;function b0(t,n,e,s){let o=Pt._`${n}${Pt.getProperty(e)} !== undefined`;return s?Pt._`${o} && ${Nl(t,n,e)}`:o}At.propertyInData=b0;function Ll(t,n,e,s){let o=Pt._`${n}${Pt.getProperty(e)} === undefined`;return s?Pt.or(o,Pt.not(Nl(t,n,e))):o}At.noPropertyInData=Ll;function Bc(t){return t?Object.keys(t).filter(n=>n!=="__proto__"):[]}At.allSchemaProperties=Bc;function w0(t,n){return Bc(n).filter(e=>!zc.alwaysValidSchema(t,n[e]))}At.schemaProperties=w0;function $0({schemaCode:t,data:n,it:{gen:e,topSchemaRef:s,schemaPath:o,errorPath:f},it:h},v,b,A){let w=A?Pt._`${t}, ${n}, ${s}${o}`:n,T=[[on.default.dataPath,Pt.strConcat(on.default.dataPath,f)],[on.default.parentData,h.parentData],[on.default.parentDataProperty,h.parentDataProperty],[on.default.rootData,on.default.rootData]];h.opts.dynamicRef&&T.push([on.default.dynamicAnchors,on.default.dynamicAnchors]);let N=Pt._`${w}, ${e.object(...T)}`;return b!==Pt.nil?Pt._`${v}.call(${b}, ${N})`:Pt._`${v}(${N})`}At.callValidateCode=$0;function A0(t,n){return t.scopeValue("pattern",{key:n,ref:new RegExp(n,"u"),code:Pt._`new RegExp(${n}, "u")`})}At.usePattern=A0;function x0(t){let{gen:n,data:e,keyword:s,it:o}=t,f=n.name("valid");if(o.allErrors){let v=n.let("valid",!0);return h(()=>n.assign(v,!1)),v}return n.var(f,!0),h(()=>n.break()),f;function h(v){let b=n.const("len",Pt._`${e}.length`);n.forRange("i",0,b,A=>{t.subschema({keyword:s,dataProp:A,dataPropType:m0.Type.Num},f),n.if(Pt.not(f),v)})}}At.validateArray=x0;function k0(t){let{gen:n,schema:e,keyword:s,it:o}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(b=>zc.alwaysValidSchema(o,b))&&!o.opts.unevaluated)return;let h=n.let("valid",!1),v=n.name("_valid");n.block(()=>e.forEach((b,A)=>{let w=t.subschema({keyword:s,schemaProp:A,compositeRule:!0},v);n.assign(h,Pt._`${h} || ${v}`),t.mergeValidEvaluated(w,v)||n.if(Pt.not(h))})),t.result(h,()=>t.reset(),()=>t.error(!0))}At.validateUnion=k0});var Gc=Ee(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});Ka.keywordCode=void 0;var C0=Vs(),_0=Bs(),E0=ki(),Tr=Qe(),En=xi();function S0(t,n,e,s){let o=new C0.default(t,e,n);"code"in e?e.code(o,s):o.$data&&e.validate?Vc(o,e):"macro"in e?T0(o,e):(e.compile||e.validate)&&Vc(o,e)}Ka.keywordCode=S0;function T0(t,n){let{gen:e,keyword:s,schema:o,parentSchema:f,it:h}=t,v=n.macro.call(h.self,o,f,h),b=Hc(e,s,v);h.opts.validateSchema!==!1&&h.self.validateSchema(v,!0);let A=e.name("valid");t.subschema({schema:v,schemaPath:Tr.nil,errSchemaPath:`${h.errSchemaPath}/${s}`,topSchemaRef:b,compositeRule:!0},A),t.pass(A,()=>t.error(!0))}function Vc(t,n){var e;let{gen:s,keyword:o,schema:f,parentSchema:h,$data:v,it:b}=t;F0(b,n);let A=!v&&n.compile?n.compile.call(b.self,f,h,b):n.validate,w=Hc(s,o,A),T=s.let("valid");t.block$data(T,N),t.ok((e=n.valid)!==null&&e!==void 0?e:T);function N(){if(n.errors===!1)V(),n.modifying&&Uc(t),G(()=>t.error());else{let K=n.async?R():L();n.modifying&&Uc(t),G(()=>P0(t,K))}}function R(){let K=s.let("ruleErrs",null);return s.try(()=>V(Tr._`await `),re=>s.assign(T,!1).if(Tr._`${re} instanceof ${b.ValidationError}`,()=>s.assign(K,Tr._`${re}.errors`),()=>s.throw(re))),K}function L(){let K=Tr._`${w}.errors`;return s.assign(K,null),V(Tr.nil),K}function V(K=n.async?Tr._`await `:Tr.nil){let re=b.opts.passContext?En.default.this:En.default.self,ce=!("compile"in n&&!v||n.schema===!1);s.assign(T,Tr._`${K}${E0.callValidateCode(t,w,re,ce)}`,n.modifying)}function G(K){var re;s.if(Tr.not((re=n.valid)!==null&&re!==void 0?re:T),K)}}function Uc(t){let{gen:n,data:e,it:s}=t;n.if(s.parentData,()=>n.assign(e,Tr._`${s.parentData}[${s.parentDataProperty}]`))}function P0(t,n){let{gen:e}=t;e.if(Tr._`Array.isArray(${n})`,()=>{e.assign(En.default.vErrors,Tr._`${En.default.vErrors} === null ? ${n} : ${En.default.vErrors}.concat(${n})`).assign(En.default.errors,Tr._`${En.default.vErrors}.length`),_0.extendErrors(t)},()=>t.error())}function F0({schemaEnv:t},n){if(n.async&&!t.$async)throw new Error("async keyword in sync schema")}function Hc(t,n,e){if(e===void 0)throw new Error(`keyword "${n}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:Tr.stringify(e)})}});var Zc=Ee(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.schemaKeywords=void 0;var Ml=yl(),Kc=is(),D0=Nc(),Qc=Gc(),I0=qt(),O0=Jr(),q0=Qe(),R0=xi();function N0(t,n,e,s){let{gen:o,schema:f,data:h,allErrors:v,opts:b,self:A}=t,{RULES:w}=A;if(f.$ref&&(b.ignoreKeywordsWithRef||!I0.schemaHasRulesButRef(f,w))){o.block(()=>Qc.keywordCode(t,"$ref",w.all.$ref.definition));return}b.jtd||L0(t,n),o.block(()=>{for(let N of w.rules)T(N);T(w.post)});function T(N){!Ml.shouldUseGroup(f,N)||(N.type?(o.if(Kc.checkDataType(N.type,h,b.strict)),Wc(t,N),n.length===1&&n[0]===N.type&&e&&(o.else(),Kc.reportTypeError(t)),o.endIf()):Wc(t,N),v||o.if(q0._`${R0.default.errors} === ${s||0}`))}}Wa.schemaKeywords=N0;function Wc(t,n){let{gen:e,schema:s,opts:{useDefaults:o}}=t;o&&D0.assignDefaults(t,n.type),e.block(()=>{for(let f of n.rules)Ml.shouldUseRule(s,f)&&Qc.keywordCode(t,f.keyword,f.definition,n.type)})}function L0(t,n){t.schemaEnv.meta||!t.opts.strictTypes||(M0(t,n),t.opts.allowUnionTypes||z0(t,n),j0(t,t.dataTypes))}function M0(t,n){if(!!n.length){if(!t.dataTypes.length){t.dataTypes=n;return}n.forEach(e=>{Jc(t.dataTypes,e)||zl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>Jc(n,e))}}function z0(t,n){n.length>1&&!(n.length===2&&n.includes("null"))&&zl(t,"use allowUnionTypes to allow union type keyword")}function j0(t,n){let e=t.self.RULES.all;for(let s in e){let o=e[s];if(typeof o=="object"&&Ml.shouldUseRule(t.schema,o)){let{type:f}=o.definition;f.length&&!f.some(h=>B0(n,h))&&zl(t,`missing type "${f.join(",")}" for keyword "${s}"`)}}}function B0(t,n){return t.includes(n)||n==="number"&&t.includes("integer")}function Jc(t,n){return t.includes(n)||n==="integer"&&t.includes("number")}function zl(t,n){let e=t.schemaEnv.baseId+t.errSchemaPath;n+=` at "${e}" (strictTypes)`,O0.checkStrictMode(t,n,t.opts.strictTypes)}});var Us=Ee((lx,Xc)=>{"use strict";Xc.exports=function t(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){if(n.constructor!==e.constructor)return!1;var s,o,f;if(Array.isArray(n)){if(s=n.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!t(n[o],e[o]))return!1;return!0}if(n.constructor===RegExp)return n.source===e.source&&n.flags===e.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===e.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===e.toString();if(f=Object.keys(n),s=f.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,f[o]))return!1;for(o=s;o--!==0;){var h=f[o];if(!t(n[h],e[h]))return!1}return!0}return n!==n&&e!==e}});var eh=Ee((fx,Yc)=>{"use strict";var ln=Yc.exports=function(t,n,e){typeof n=="function"&&(e=n,n={}),e=n.cb||e;var s=typeof e=="function"?e:e.pre||function(){},o=e.post||function(){};Ja(n,s,o,t,"",t)};ln.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ln.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ln.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ln.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 Ja(t,n,e,s,o,f,h,v,b,A){if(s&&typeof s=="object"&&!Array.isArray(s)){n(s,o,f,h,v,b,A);for(var w in s){var T=s[w];if(Array.isArray(T)){if(w in ln.arrayKeywords)for(var N=0;N<T.length;N++)Ja(t,n,e,T[N],o+"/"+w+"/"+N,f,o,w,s,N)}else if(w in ln.propsKeywords){if(T&&typeof T=="object")for(var R in T)Ja(t,n,e,T[R],o+"/"+w+"/"+V0(R),f,o,w,s,R)}else(w in ln.keywords||t.allKeys&&!(w in ln.skipKeywords))&&Ja(t,n,e,T,o+"/"+w,f,o,w,s)}e(s,o,f,h,v,b,A)}}function V0(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var jl=Ee((Qa,th)=>{(function(t,n){typeof Qa=="object"&&typeof th<"u"?n(Qa):typeof define=="function"&&define.amd?define(["exports"],n):n(t.URI=t.URI||{})})(Qa,function(t){"use strict";function n(){for(var Q=arguments.length,U=Array(Q),ee=0;ee<Q;ee++)U[ee]=arguments[ee];if(U.length>1){U[0]=U[0].slice(0,-1);for(var se=U.length-1,ae=1;ae<se;++ae)U[ae]=U[ae].slice(1,-1);return U[se]=U[se].slice(1),U.join("")}else return U[0]}function e(Q){return"(?:"+Q+")"}function s(Q){return Q===void 0?"undefined":Q===null?"null":Object.prototype.toString.call(Q).split(" ").pop().split("]").shift().toLowerCase()}function o(Q){return Q.toUpperCase()}function f(Q){return Q!=null?Q instanceof Array?Q:typeof Q.length!="number"||Q.split||Q.setInterval||Q.call?[Q]:Array.prototype.slice.call(Q):[]}function h(Q,U){var ee=Q;if(U)for(var se in U)ee[se]=U[se];return ee}function v(Q){var U="[A-Za-z]",ee="[\\x0D]",se="[0-9]",ae="[\\x22]",be=n(se,"[A-Fa-f]"),Ie="[\\x0A]",Me="[\\x20]",Ke=e(e("%[EFef]"+be+"%"+be+be+"%"+be+be)+"|"+e("%[89A-Fa-f]"+be+"%"+be+be)+"|"+e("%"+be+be)),dt="[\\:\\/\\?\\#\\[\\]\\@]",Le="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ot=n(dt,Le),yt=Q?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",lt=Q?"[\\uE000-\\uF8FF]":"[]",Xe=n(U,se,"[\\-\\.\\_\\~]",yt),vt=e(U+n(U,se,"[\\+\\-\\.]")+"*"),We=e(e(Ke+"|"+n(Xe,Le,"[\\:]"))+"*"),rr=e(e("25[0-5]")+"|"+e("2[0-4]"+se)+"|"+e("1"+se+se)+"|"+e("[1-9]"+se)+"|"+se),ir=e(e("25[0-5]")+"|"+e("2[0-4]"+se)+"|"+e("1"+se+se)+"|"+e("0?[1-9]"+se)+"|0?0?"+se),Dt=e(ir+"\\."+ir+"\\."+ir+"\\."+ir),Je=e(be+"{1,4}"),nr=e(e(Je+"\\:"+Je)+"|"+Dt),cr=e(e(Je+"\\:")+"{6}"+nr),Cr=e("\\:\\:"+e(Je+"\\:")+"{5}"+nr),Yr=e(e(Je)+"?\\:\\:"+e(Je+"\\:")+"{4}"+nr),Wt=e(e(e(Je+"\\:")+"{0,1}"+Je)+"?\\:\\:"+e(Je+"\\:")+"{3}"+nr),Vr=e(e(e(Je+"\\:")+"{0,2}"+Je)+"?\\:\\:"+e(Je+"\\:")+"{2}"+nr),hi=e(e(e(Je+"\\:")+"{0,3}"+Je)+"?\\:\\:"+Je+"\\:"+nr),Hi=e(e(e(Je+"\\:")+"{0,4}"+Je)+"?\\:\\:"+nr),di=e(e(e(Je+"\\:")+"{0,5}"+Je)+"?\\:\\:"+Je),pi=e(e(e(Je+"\\:")+"{0,6}"+Je)+"?\\:\\:"),hr=e([cr,Cr,Yr,Wt,Vr,hi,Hi,di,pi].join("|")),dr=e(e(Xe+"|"+Ke)+"+"),en=e(hr+"\\%25"+dr),Ne=e(hr+e("\\%25|\\%(?!"+be+"{2})")+dr),It=e("[vV]"+be+"+\\."+n(Xe,Le,"[\\:]")+"+"),De=e("\\["+e(Ne+"|"+hr+"|"+It)+"\\]"),mi=e(e(Ke+"|"+n(Xe,Le))+"*"),_r=e(De+"|"+Dt+"(?!"+mi+")|"+mi),Ur=e(se+"*"),Ve=e(e(We+"@")+"?"+_r+e("\\:"+Ur)+"?"),kt=e(Ke+"|"+n(Xe,Le,"[\\:\\@]")),Gi=e(kt+"*"),Ki=e(kt+"+"),r=e(e(Ke+"|"+n(Xe,Le,"[\\@]"))+"+"),oe=e(e("\\/"+Gi)+"*"),Hr=e("\\/"+e(Ki+oe)+"?"),pr=e(r+oe),gi=e(Ki+oe),l="(?!"+kt+")",mn=e(oe+"|"+Hr+"|"+pr+"|"+gi+"|"+l),Ir=e(e(kt+"|"+n("[\\/\\?]",lt))+"*"),tn=e(e(kt+"|[\\/\\?]")+"*"),ws=e(e("\\/\\/"+Ve+oe)+"|"+Hr+"|"+gi+"|"+l),ya=e(vt+"\\:"+ws+e("\\?"+Ir)+"?"+e("\\#"+tn)+"?"),Ue=e(e("\\/\\/"+Ve+oe)+"|"+Hr+"|"+pr+"|"+l),Or=e(Ue+e("\\?"+Ir)+"?"+e("\\#"+tn)+"?"),gn=e(ya+"|"+Or),va=e(vt+"\\:"+ws+e("\\?"+Ir)+"?"),Hn="^("+vt+")\\:"+e(e("\\/\\/("+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?)")+"?("+oe+"|"+Hr+"|"+gi+"|"+l+")")+e("\\?("+Ir+")")+"?"+e("\\#("+tn+")")+"?$",$s="^(){0}"+e(e("\\/\\/("+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?)")+"?("+oe+"|"+Hr+"|"+pr+"|"+l+")")+e("\\?("+Ir+")")+"?"+e("\\#("+tn+")")+"?$",Wi="^("+vt+")\\:"+e(e("\\/\\/("+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?)")+"?("+oe+"|"+Hr+"|"+gi+"|"+l+")")+e("\\?("+Ir+")")+"?$",E="^"+e("\\#("+tn+")")+"?$",ba="^"+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?$";return{NOT_SCHEME:new RegExp(n("[^]",U,se,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(n("[^\\%\\:]",Xe,Le),"g"),NOT_HOST:new RegExp(n("[^\\%\\[\\]\\:]",Xe,Le),"g"),NOT_PATH:new RegExp(n("[^\\%\\/\\:\\@]",Xe,Le),"g"),NOT_PATH_NOSCHEME:new RegExp(n("[^\\%\\/\\@]",Xe,Le),"g"),NOT_QUERY:new RegExp(n("[^\\%]",Xe,Le,"[\\:\\@\\/\\?]",lt),"g"),NOT_FRAGMENT:new RegExp(n("[^\\%]",Xe,Le,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(n("[^]",Xe,Le),"g"),UNRESERVED:new RegExp(Xe,"g"),OTHER_CHARS:new RegExp(n("[^\\%]",Xe,ot),"g"),PCT_ENCODED:new RegExp(Ke,"g"),IPV4ADDRESS:new RegExp("^("+Dt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+hr+")"+e(e("\\%25|\\%(?!"+be+"{2})")+"("+dr+")")+"?\\]?$")}}var b=v(!1),A=v(!0),w=function(){function Q(U,ee){var se=[],ae=!0,be=!1,Ie=void 0;try{for(var Me=U[Symbol.iterator](),Ke;!(ae=(Ke=Me.next()).done)&&(se.push(Ke.value),!(ee&&se.length===ee));ae=!0);}catch(dt){be=!0,Ie=dt}finally{try{!ae&&Me.return&&Me.return()}finally{if(be)throw Ie}}return se}return function(U,ee){if(Array.isArray(U))return U;if(Symbol.iterator in Object(U))return Q(U,ee);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),T=function(Q){if(Array.isArray(Q)){for(var U=0,ee=Array(Q.length);U<Q.length;U++)ee[U]=Q[U];return ee}else return Array.from(Q)},N=2147483647,R=36,L=1,V=26,G=38,K=700,re=72,ce=128,xe="-",ye=/^xn--/,le=/[^\0-\x7E]/,de=/[\x2E\u3002\uFF0E\uFF61]/g,Te={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ae=R-L,Ze=Math.floor,qe=String.fromCharCode;function ze(Q){throw new RangeError(Te[Q])}function we(Q,U){for(var ee=[],se=Q.length;se--;)ee[se]=U(Q[se]);return ee}function Re(Q,U){var ee=Q.split("@"),se="";ee.length>1&&(se=ee[0]+"@",Q=ee[1]),Q=Q.replace(de,".");var ae=Q.split("."),be=we(ae,U).join(".");return se+be}function nt(Q){for(var U=[],ee=0,se=Q.length;ee<se;){var ae=Q.charCodeAt(ee++);if(ae>=55296&&ae<=56319&&ee<se){var be=Q.charCodeAt(ee++);(be&64512)==56320?U.push(((ae&1023)<<10)+(be&1023)+65536):(U.push(ae),ee--)}else U.push(ae)}return U}var ne=function(U){return String.fromCodePoint.apply(String,T(U))},Ct=function(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:R},st=function(U,ee){return U+22+75*(U<26)-((ee!=0)<<5)},_t=function(U,ee,se){var ae=0;for(U=se?Ze(U/K):U>>1,U+=Ze(U/ee);U>Ae*V>>1;ae+=R)U=Ze(U/Ae);return Ze(ae+(Ae+1)*U/(U+G))},ct=function(U){var ee=[],se=U.length,ae=0,be=ce,Ie=re,Me=U.lastIndexOf(xe);Me<0&&(Me=0);for(var Ke=0;Ke<Me;++Ke)U.charCodeAt(Ke)>=128&&ze("not-basic"),ee.push(U.charCodeAt(Ke));for(var dt=Me>0?Me+1:0;dt<se;){for(var Le=ae,ot=1,yt=R;;yt+=R){dt>=se&&ze("invalid-input");var lt=Ct(U.charCodeAt(dt++));(lt>=R||lt>Ze((N-ae)/ot))&&ze("overflow"),ae+=lt*ot;var Xe=yt<=Ie?L:yt>=Ie+V?V:yt-Ie;if(lt<Xe)break;var vt=R-Xe;ot>Ze(N/vt)&&ze("overflow"),ot*=vt}var We=ee.length+1;Ie=_t(ae-Le,We,Le==0),Ze(ae/We)>N-be&&ze("overflow"),be+=Ze(ae/We),ae%=We,ee.splice(ae++,0,be)}return String.fromCodePoint.apply(String,ee)},W=function(U){var ee=[];U=nt(U);var se=U.length,ae=ce,be=0,Ie=re,Me=!0,Ke=!1,dt=void 0;try{for(var Le=U[Symbol.iterator](),ot;!(Me=(ot=Le.next()).done);Me=!0){var yt=ot.value;yt<128&&ee.push(qe(yt))}}catch(Ne){Ke=!0,dt=Ne}finally{try{!Me&&Le.return&&Le.return()}finally{if(Ke)throw dt}}var lt=ee.length,Xe=lt;for(lt&&ee.push(xe);Xe<se;){var vt=N,We=!0,rr=!1,ir=void 0;try{for(var Dt=U[Symbol.iterator](),Je;!(We=(Je=Dt.next()).done);We=!0){var nr=Je.value;nr>=ae&&nr<vt&&(vt=nr)}}catch(Ne){rr=!0,ir=Ne}finally{try{!We&&Dt.return&&Dt.return()}finally{if(rr)throw ir}}var cr=Xe+1;vt-ae>Ze((N-be)/cr)&&ze("overflow"),be+=(vt-ae)*cr,ae=vt;var Cr=!0,Yr=!1,Wt=void 0;try{for(var Vr=U[Symbol.iterator](),hi;!(Cr=(hi=Vr.next()).done);Cr=!0){var Hi=hi.value;if(Hi<ae&&++be>N&&ze("overflow"),Hi==ae){for(var di=be,pi=R;;pi+=R){var hr=pi<=Ie?L:pi>=Ie+V?V:pi-Ie;if(di<hr)break;var dr=di-hr,en=R-hr;ee.push(qe(st(hr+dr%en,0))),di=Ze(dr/en)}ee.push(qe(st(di,0))),Ie=_t(be,cr,Xe==lt),be=0,++Xe}}}catch(Ne){Yr=!0,Wt=Ne}finally{try{!Cr&&Vr.return&&Vr.return()}finally{if(Yr)throw Wt}}++be,++ae}return ee.join("")},J=function(U){return Re(U,function(ee){return ye.test(ee)?ct(ee.slice(4).toLowerCase()):ee})},xr=function(U){return Re(U,function(ee){return le.test(ee)?"xn--"+W(ee):ee})},Ht={version:"2.1.0",ucs2:{decode:nt,encode:ne},decode:ct,encode:W,toASCII:xr,toUnicode:J},Ft={};function zt(Q){var U=Q.charCodeAt(0),ee=void 0;return U<16?ee="%0"+U.toString(16).toUpperCase():U<128?ee="%"+U.toString(16).toUpperCase():U<2048?ee="%"+(U>>6|192).toString(16).toUpperCase()+"%"+(U&63|128).toString(16).toUpperCase():ee="%"+(U>>12|224).toString(16).toUpperCase()+"%"+(U>>6&63|128).toString(16).toUpperCase()+"%"+(U&63|128).toString(16).toUpperCase(),ee}function Rt(Q){for(var U="",ee=0,se=Q.length;ee<se;){var ae=parseInt(Q.substr(ee+1,2),16);if(ae<128)U+=String.fromCharCode(ae),ee+=3;else if(ae>=194&&ae<224){if(se-ee>=6){var be=parseInt(Q.substr(ee+4,2),16);U+=String.fromCharCode((ae&31)<<6|be&63)}else U+=Q.substr(ee,6);ee+=6}else if(ae>=224){if(se-ee>=9){var Ie=parseInt(Q.substr(ee+4,2),16),Me=parseInt(Q.substr(ee+7,2),16);U+=String.fromCharCode((ae&15)<<12|(Ie&63)<<6|Me&63)}else U+=Q.substr(ee,9);ee+=9}else U+=Q.substr(ee,3),ee+=3}return U}function mt(Q,U){function ee(se){var ae=Rt(se);return ae.match(U.UNRESERVED)?ae:se}return Q.scheme&&(Q.scheme=String(Q.scheme).replace(U.PCT_ENCODED,ee).toLowerCase().replace(U.NOT_SCHEME,"")),Q.userinfo!==void 0&&(Q.userinfo=String(Q.userinfo).replace(U.PCT_ENCODED,ee).replace(U.NOT_USERINFO,zt).replace(U.PCT_ENCODED,o)),Q.host!==void 0&&(Q.host=String(Q.host).replace(U.PCT_ENCODED,ee).toLowerCase().replace(U.NOT_HOST,zt).replace(U.PCT_ENCODED,o)),Q.path!==void 0&&(Q.path=String(Q.path).replace(U.PCT_ENCODED,ee).replace(Q.scheme?U.NOT_PATH:U.NOT_PATH_NOSCHEME,zt).replace(U.PCT_ENCODED,o)),Q.query!==void 0&&(Q.query=String(Q.query).replace(U.PCT_ENCODED,ee).replace(U.NOT_QUERY,zt).replace(U.PCT_ENCODED,o)),Q.fragment!==void 0&&(Q.fragment=String(Q.fragment).replace(U.PCT_ENCODED,ee).replace(U.NOT_FRAGMENT,zt).replace(U.PCT_ENCODED,o)),Q}function kr(Q){return Q.replace(/^0*(.*)/,"$1")||"0"}function Gt(Q,U){var ee=Q.match(U.IPV4ADDRESS)||[],se=w(ee,2),ae=se[1];return ae?ae.split(".").map(kr).join("."):Q}function fr(Q,U){var ee=Q.match(U.IPV6ADDRESS)||[],se=w(ee,3),ae=se[1],be=se[2];if(ae){for(var Ie=ae.toLowerCase().split("::").reverse(),Me=w(Ie,2),Ke=Me[0],dt=Me[1],Le=dt?dt.split(":").map(kr):[],ot=Ke.split(":").map(kr),yt=U.IPV4ADDRESS.test(ot[ot.length-1]),lt=yt?7:8,Xe=ot.length-lt,vt=Array(lt),We=0;We<lt;++We)vt[We]=Le[We]||ot[Xe+We]||"";yt&&(vt[lt-1]=Gt(vt[lt-1],U));var rr=vt.reduce(function(cr,Cr,Yr){if(!Cr||Cr==="0"){var Wt=cr[cr.length-1];Wt&&Wt.index+Wt.length===Yr?Wt.length++:cr.push({index:Yr,length:1})}return cr},[]),ir=rr.sort(function(cr,Cr){return Cr.length-cr.length})[0],Dt=void 0;if(ir&&ir.length>1){var Je=vt.slice(0,ir.index),nr=vt.slice(ir.index+ir.length);Dt=Je.join(":")+"::"+nr.join(":")}else Dt=vt.join(":");return be&&(Dt+="%"+be),Dt}else return Q}var Br=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fi="".match(/(){0}/)[1]===void 0;function ur(Q){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee={},se=U.iri!==!1?A:b;U.reference==="suffix"&&(Q=(U.scheme?U.scheme+":":"")+"//"+Q);var ae=Q.match(Br);if(ae){fi?(ee.scheme=ae[1],ee.userinfo=ae[3],ee.host=ae[4],ee.port=parseInt(ae[5],10),ee.path=ae[6]||"",ee.query=ae[7],ee.fragment=ae[8],isNaN(ee.port)&&(ee.port=ae[5])):(ee.scheme=ae[1]||void 0,ee.userinfo=Q.indexOf("@")!==-1?ae[3]:void 0,ee.host=Q.indexOf("//")!==-1?ae[4]:void 0,ee.port=parseInt(ae[5],10),ee.path=ae[6]||"",ee.query=Q.indexOf("?")!==-1?ae[7]:void 0,ee.fragment=Q.indexOf("#")!==-1?ae[8]:void 0,isNaN(ee.port)&&(ee.port=Q.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ae[4]:void 0)),ee.host&&(ee.host=fr(Gt(ee.host,se),se)),ee.scheme===void 0&&ee.userinfo===void 0&&ee.host===void 0&&ee.port===void 0&&!ee.path&&ee.query===void 0?ee.reference="same-document":ee.scheme===void 0?ee.reference="relative":ee.fragment===void 0?ee.reference="absolute":ee.reference="uri",U.reference&&U.reference!=="suffix"&&U.reference!==ee.reference&&(ee.error=ee.error||"URI is not a "+U.reference+" reference.");var be=Ft[(U.scheme||ee.scheme||"").toLowerCase()];if(!U.unicodeSupport&&(!be||!be.unicodeSupport)){if(ee.host&&(U.domainHost||be&&be.domainHost))try{ee.host=Ht.toASCII(ee.host.replace(se.PCT_ENCODED,Rt).toLowerCase())}catch(Ie){ee.error=ee.error||"Host's domain name can not be converted to ASCII via punycode: "+Ie}mt(ee,b)}else mt(ee,se);be&&be.parse&&be.parse(ee,U)}else ee.error=ee.error||"URI can not be parsed.";return ee}function ui(Q,U){var ee=U.iri!==!1?A:b,se=[];return Q.userinfo!==void 0&&(se.push(Q.userinfo),se.push("@")),Q.host!==void 0&&se.push(fr(Gt(String(Q.host),ee),ee).replace(ee.IPV6ADDRESS,function(ae,be,Ie){return"["+be+(Ie?"%25"+Ie:"")+"]"})),(typeof Q.port=="number"||typeof Q.port=="string")&&(se.push(":"),se.push(String(Q.port))),se.length?se.join(""):void 0}var Qr=/^\.\.?\//,Ti=/^\/\.(\/|$)/,Pi=/^\/\.\.(\/|$)/,ji=/^\/?(?:.|\n)*?(?=\/|$)/;function fe(Q){for(var U=[];Q.length;)if(Q.match(Qr))Q=Q.replace(Qr,"");else if(Q.match(Ti))Q=Q.replace(Ti,"/");else if(Q.match(Pi))Q=Q.replace(Pi,"/"),U.pop();else if(Q==="."||Q==="..")Q="";else{var ee=Q.match(ji);if(ee){var se=ee[0];Q=Q.slice(se.length),U.push(se)}else throw new Error("Unexpected dot segment condition")}return U.join("")}function tr(Q){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=U.iri?A:b,se=[],ae=Ft[(U.scheme||Q.scheme||"").toLowerCase()];if(ae&&ae.serialize&&ae.serialize(Q,U),Q.host&&!ee.IPV6ADDRESS.test(Q.host)){if(U.domainHost||ae&&ae.domainHost)try{Q.host=U.iri?Ht.toUnicode(Q.host):Ht.toASCII(Q.host.replace(ee.PCT_ENCODED,Rt).toLowerCase())}catch(Me){Q.error=Q.error||"Host's domain name can not be converted to "+(U.iri?"Unicode":"ASCII")+" via punycode: "+Me}}mt(Q,ee),U.reference!=="suffix"&&Q.scheme&&(se.push(Q.scheme),se.push(":"));var be=ui(Q,U);if(be!==void 0&&(U.reference!=="suffix"&&se.push("//"),se.push(be),Q.path&&Q.path.charAt(0)!=="/"&&se.push("/")),Q.path!==void 0){var Ie=Q.path;!U.absolutePath&&(!ae||!ae.absolutePath)&&(Ie=fe(Ie)),be===void 0&&(Ie=Ie.replace(/^\/\//,"/%2F")),se.push(Ie)}return Q.query!==void 0&&(se.push("?"),se.push(Q.query)),Q.fragment!==void 0&&(se.push("#"),se.push(Q.fragment)),se.join("")}function Bi(Q,U){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=arguments[3],ae={};return se||(Q=ur(tr(Q,ee),ee),U=ur(tr(U,ee),ee)),ee=ee||{},!ee.tolerant&&U.scheme?(ae.scheme=U.scheme,ae.userinfo=U.userinfo,ae.host=U.host,ae.port=U.port,ae.path=fe(U.path||""),ae.query=U.query):(U.userinfo!==void 0||U.host!==void 0||U.port!==void 0?(ae.userinfo=U.userinfo,ae.host=U.host,ae.port=U.port,ae.path=fe(U.path||""),ae.query=U.query):(U.path?(U.path.charAt(0)==="/"?ae.path=fe(U.path):((Q.userinfo!==void 0||Q.host!==void 0||Q.port!==void 0)&&!Q.path?ae.path="/"+U.path:Q.path?ae.path=Q.path.slice(0,Q.path.lastIndexOf("/")+1)+U.path:ae.path=U.path,ae.path=fe(ae.path)),ae.query=U.query):(ae.path=Q.path,U.query!==void 0?ae.query=U.query:ae.query=Q.query),ae.userinfo=Q.userinfo,ae.host=Q.host,ae.port=Q.port),ae.scheme=Q.scheme),ae.fragment=U.fragment,ae}function $e(Q,U,ee){var se=h({scheme:"null"},ee);return tr(Bi(ur(Q,se),ur(U,se),se,!0),se)}function ve(Q,U){return typeof Q=="string"?Q=tr(ur(Q,U),U):s(Q)==="object"&&(Q=ur(tr(Q,U),U)),Q}function _e(Q,U,ee){return typeof Q=="string"?Q=tr(ur(Q,ee),ee):s(Q)==="object"&&(Q=tr(Q,ee)),typeof U=="string"?U=tr(ur(U,ee),ee):s(U)==="object"&&(U=tr(U,ee)),Q===U}function Se(Q,U){return Q&&Q.toString().replace(!U||!U.iri?b.ESCAPE:A.ESCAPE,zt)}function jt(Q,U){return Q&&Q.toString().replace(!U||!U.iri?b.PCT_ENCODED:A.PCT_ENCODED,Rt)}var Z={scheme:"http",domainHost:!0,parse:function(U,ee){return U.host||(U.error=U.error||"HTTP URIs must have a host."),U},serialize:function(U,ee){var se=String(U.scheme).toLowerCase()==="https";return(U.port===(se?443:80)||U.port==="")&&(U.port=void 0),U.path||(U.path="/"),U}},ie={scheme:"https",domainHost:Z.domainHost,parse:Z.parse,serialize:Z.serialize};function ue(Q){return typeof Q.secure=="boolean"?Q.secure:String(Q.scheme).toLowerCase()==="wss"}var he={scheme:"ws",domainHost:!0,parse:function(U,ee){var se=U;return se.secure=ue(se),se.resourceName=(se.path||"/")+(se.query?"?"+se.query:""),se.path=void 0,se.query=void 0,se},serialize:function(U,ee){if((U.port===(ue(U)?443:80)||U.port==="")&&(U.port=void 0),typeof U.secure=="boolean"&&(U.scheme=U.secure?"wss":"ws",U.secure=void 0),U.resourceName){var se=U.resourceName.split("?"),ae=w(se,2),be=ae[0],Ie=ae[1];U.path=be&&be!=="/"?be:void 0,U.query=Ie,U.resourceName=void 0}return U.fragment=void 0,U}},gt={scheme:"wss",domainHost:he.domainHost,parse:he.parse,serialize:he.serialize},Kt={},ht=!0,St="[A-Za-z0-9\\-\\.\\_\\~"+(ht?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Nt="[0-9A-Fa-f]",Zr=e(e("%[EFef]"+Nt+"%"+Nt+Nt+"%"+Nt+Nt)+"|"+e("%[89A-Fa-f]"+Nt+"%"+Nt+Nt)+"|"+e("%"+Nt+Nt)),wt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Fi="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Qt=n(Fi,'[\\"\\\\]'),Vi="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",vs=new RegExp(St,"g"),Di=new RegExp(Zr,"g"),Bn=new RegExp(n("[^]",wt,"[\\.]",'[\\"]',Qt),"g"),Ii=new RegExp(n("[^]",St,Vi),"g"),Ui=Ii;function Xr(Q){var U=Rt(Q);return U.match(vs)?U:Q}var ci={scheme:"mailto",parse:function(U,ee){var se=U,ae=se.to=se.path?se.path.split(","):[];if(se.path=void 0,se.query){for(var be=!1,Ie={},Me=se.query.split("&"),Ke=0,dt=Me.length;Ke<dt;++Ke){var Le=Me[Ke].split("=");switch(Le[0]){case"to":for(var ot=Le[1].split(","),yt=0,lt=ot.length;yt<lt;++yt)ae.push(ot[yt]);break;case"subject":se.subject=jt(Le[1],ee);break;case"body":se.body=jt(Le[1],ee);break;default:be=!0,Ie[jt(Le[0],ee)]=jt(Le[1],ee);break}}be&&(se.headers=Ie)}se.query=void 0;for(var Xe=0,vt=ae.length;Xe<vt;++Xe){var We=ae[Xe].split("@");if(We[0]=jt(We[0]),ee.unicodeSupport)We[1]=jt(We[1],ee).toLowerCase();else try{We[1]=Ht.toASCII(jt(We[1],ee).toLowerCase())}catch(rr){se.error=se.error||"Email address's domain name can not be converted to ASCII via punycode: "+rr}ae[Xe]=We.join("@")}return se},serialize:function(U,ee){var se=U,ae=f(U.to);if(ae){for(var be=0,Ie=ae.length;be<Ie;++be){var Me=String(ae[be]),Ke=Me.lastIndexOf("@"),dt=Me.slice(0,Ke).replace(Di,Xr).replace(Di,o).replace(Bn,zt),Le=Me.slice(Ke+1);try{Le=ee.iri?Ht.toUnicode(Le):Ht.toASCII(jt(Le,ee).toLowerCase())}catch(Xe){se.error=se.error||"Email address's domain name can not be converted to "+(ee.iri?"Unicode":"ASCII")+" via punycode: "+Xe}ae[be]=dt+"@"+Le}se.path=ae.join(",")}var ot=U.headers=U.headers||{};U.subject&&(ot.subject=U.subject),U.body&&(ot.body=U.body);var yt=[];for(var lt in ot)ot[lt]!==Kt[lt]&&yt.push(lt.replace(Di,Xr).replace(Di,o).replace(Ii,zt)+"="+ot[lt].replace(Di,Xr).replace(Di,o).replace(Ui,zt));return yt.length&&(se.query=yt.join("&")),se}},bs=/^([^\:]+)\:(.*)/,Vn={scheme:"urn",parse:function(U,ee){var se=U.path&&U.path.match(bs),ae=U;if(se){var be=ee.scheme||ae.scheme||"urn",Ie=se[1].toLowerCase(),Me=se[2],Ke=be+":"+(ee.nid||Ie),dt=Ft[Ke];ae.nid=Ie,ae.nss=Me,ae.path=void 0,dt&&(ae=dt.parse(ae,ee))}else ae.error=ae.error||"URN can not be parsed.";return ae},serialize:function(U,ee){var se=ee.scheme||U.scheme||"urn",ae=U.nid,be=se+":"+(ee.nid||ae),Ie=Ft[be];Ie&&(U=Ie.serialize(U,ee));var Me=U,Ke=U.nss;return Me.path=(ae||ee.nid)+":"+Ke,Me}},Un=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,pn={scheme:"urn:uuid",parse:function(U,ee){var se=U;return se.uuid=se.nss,se.nss=void 0,!ee.tolerant&&(!se.uuid||!se.uuid.match(Un))&&(se.error=se.error||"UUID is not valid."),se},serialize:function(U,ee){var se=U;return se.nss=(U.uuid||"").toLowerCase(),se}};Ft[Z.scheme]=Z,Ft[ie.scheme]=ie,Ft[he.scheme]=he,Ft[gt.scheme]=gt,Ft[ci.scheme]=ci,Ft[Vn.scheme]=Vn,Ft[pn.scheme]=pn,t.SCHEMES=Ft,t.pctEncChar=zt,t.pctDecChars=Rt,t.parse=ur,t.removeDotSegments=fe,t.serialize=tr,t.resolveComponents=Bi,t.resolve=$e,t.normalize=ve,t.equal=_e,t.escapeComponent=Se,t.unescapeComponent=jt,Object.defineProperty(t,"__esModule",{value:!0})})});var Hs=Ee(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.getSchemaRefs=Mr.resolveUrl=Mr.normalizeId=Mr._getFullPath=Mr.getFullPath=Mr.inlineRef=void 0;var U0=qt(),H0=Us(),G0=eh(),Za=jl(),K0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function W0(t,n=!0){return typeof t=="boolean"?!0:n===!0?!Bl(t):n?rh(t)<=n:!1}Mr.inlineRef=W0;var J0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Bl(t){for(let n in t){if(J0.has(n))return!0;let e=t[n];if(Array.isArray(e)&&e.some(Bl)||typeof e=="object"&&Bl(e))return!0}return!1}function rh(t){let n=0;for(let e in t){if(e==="$ref")return 1/0;if(n++,!K0.has(e)&&(typeof t[e]=="object"&&U0.eachItem(t[e],s=>n+=rh(s)),n===1/0))return 1/0}return n}function ih(t="",n){n!==!1&&(t=ns(t));let e=Za.parse(t);return nh(e)}Mr.getFullPath=ih;function nh(t){return Za.serialize(t).split("#")[0]+"#"}Mr._getFullPath=nh;var Q0=/#\/?$/;function ns(t){return t?t.replace(Q0,""):""}Mr.normalizeId=ns;function Z0(t,n){return n=ns(n),Za.resolve(t,n)}Mr.resolveUrl=Z0;var X0=/^[a-z_][-a-z0-9._]*$/i;function Y0(t){if(typeof t=="boolean")return{};let n=ns(t.$id),e={"":n},s=ih(n,!1),o={},f=new Set;return G0(t,{allKeys:!0},(b,A,w,T)=>{if(T===void 0)return;let N=s+A,R=e[T];typeof b.$id=="string"&&(R=L.call(this,b.$id)),V.call(this,b.$anchor),V.call(this,b.$dynamicAnchor),e[A]=R;function L(G){if(G=ns(R?Za.resolve(R,G):G),f.has(G))throw v(G);f.add(G);let K=this.refs[G];return typeof K=="string"&&(K=this.refs[K]),typeof K=="object"?h(b,K.schema,G):G!==ns(N)&&(G[0]==="#"?(h(b,o[G],G),o[G]=b):this.refs[G]=N),G}function V(G){if(typeof G=="string"){if(!X0.test(G))throw new Error(`invalid anchor "${G}"`);L.call(this,`#${G}`)}}}),o;function h(b,A,w){if(A!==void 0&&!H0(b,A))throw v(w)}function v(b){return new Error(`reference "${b}" resolves to more than one schema`)}}Mr.getSchemaRefs=Y0});var Jr=Ee(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.checkStrictMode=Ni.schemaCxtHasRules=Ni.subschemaCode=Ni.validateFunctionCode=void 0;var lh=qc(),sh=is(),ah=Zc(),tt=Qe(),je=xi(),ey=Hs(),fh=qt();function ty(t){if(ch(t)&&(hh(t),Vl(t))){ny(t);return}uh(t,()=>lh.topBoolOrEmptySchema(t))}Ni.validateFunctionCode=ty;function uh({gen:t,validateName:n,schema:e,schemaEnv:s,opts:o},f){o.code.es5?t.func(n,tt._`${je.default.data}, ${je.default.valCxt}`,s.$async,()=>{t.code(tt._`"use strict"; ${oh(e,o)}`),iy(t,o),t.code(f)}):t.func(n,tt._`${je.default.data}, ${ry(o)}`,s.$async,()=>t.code(oh(e,o)).code(f))}function ry(t){return tt._`{${je.default.dataPath}="", ${je.default.parentData}, ${je.default.parentDataProperty}, ${je.default.rootData}=${je.default.data}${t.dynamicRef?tt._`, ${je.default.dynamicAnchors}={}`:tt.nil}}={}`}function iy(t,n){t.if(je.default.valCxt,()=>{t.var(je.default.dataPath,tt._`${je.default.valCxt}.${je.default.dataPath}`),t.var(je.default.parentData,tt._`${je.default.valCxt}.${je.default.parentData}`),t.var(je.default.parentDataProperty,tt._`${je.default.valCxt}.${je.default.parentDataProperty}`),t.var(je.default.rootData,tt._`${je.default.valCxt}.${je.default.rootData}`),n.dynamicRef&&t.var(je.default.dynamicAnchors,tt._`${je.default.valCxt}.${je.default.dynamicAnchors}`)},()=>{t.var(je.default.dataPath,tt._`""`),t.var(je.default.parentData,tt._`undefined`),t.var(je.default.parentDataProperty,tt._`undefined`),t.var(je.default.rootData,je.default.data),n.dynamicRef&&t.var(je.default.dynamicAnchors,tt._`{}`)})}function ny(t){let{schema:n,opts:e,gen:s}=t;uh(t,()=>{e.$comment&&n.$comment&&ph(t),fy(t),s.let(je.default.vErrors,null),s.let(je.default.errors,0),e.unevaluated&&sy(t),dh(t),hy(t)})}function sy(t){let{gen:n,validateName:e}=t;t.evaluated=n.const("evaluated",tt._`${e}.evaluated`),n.if(tt._`${t.evaluated}.dynamicProps`,()=>n.assign(tt._`${t.evaluated}.props`,tt._`undefined`)),n.if(tt._`${t.evaluated}.dynamicItems`,()=>n.assign(tt._`${t.evaluated}.items`,tt._`undefined`))}function oh(t,n){return typeof t=="object"&&t.$id&&(n.code.source||n.code.process)?tt._`/*# sourceURL=${t.$id} */`:tt.nil}function ay(t,n){if(ch(t)&&(hh(t),Vl(t))){oy(t,n);return}lh.boolOrEmptySchema(t,n)}Ni.subschemaCode=ay;function Vl({schema:t,self:n}){if(typeof t=="boolean")return!t;for(let e in t)if(n.RULES.all[e])return!0;return!1}Ni.schemaCxtHasRules=Vl;function ch(t){return typeof t.schema!="boolean"}function oy(t,n){let{schema:e,gen:s,opts:o}=t;o.$comment&&e.$comment&&ph(t),uy(t),cy(t);let f=s.const("_errs",je.default.errors);dh(t,f),s.var(n,tt._`${f} === ${je.default.errors}`)}function hh(t){fh.checkUnknownRules(t),ly(t)}function dh(t,n){if(t.opts.jtd)return ah.schemaKeywords(t,[],!1,n);let e=sh.getSchemaTypes(t.schema),s=sh.coerceAndCheckDataType(t,e);ah.schemaKeywords(t,e,!s,n)}function ly(t){let{schema:n,errSchemaPath:e,opts:s,self:o}=t;n.$ref&&s.ignoreKeywordsWithRef&&fh.schemaHasRulesButRef(n,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function fy(t){let{schema:n,opts:e}=t;n.default!==void 0&&e.useDefaults&&e.strict&&mh(t,"default is ignored in the schema root")}function uy(t){t.schema.$id&&(t.baseId=ey.resolveUrl(t.baseId,t.schema.$id))}function cy(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function ph({gen:t,schemaEnv:n,schema:e,errSchemaPath:s,opts:o}){let f=e.$comment;if(o.$comment===!0)t.code(tt._`${je.default.self}.logger.log(${f})`);else if(typeof o.$comment=="function"){let h=tt.str`${s}/$comment`,v=t.scopeValue("root",{ref:n.root});t.code(tt._`${je.default.self}.opts.$comment(${f}, ${h}, ${v}.schema)`)}}function hy(t){let{gen:n,schemaEnv:e,validateName:s,ValidationError:o,opts:f}=t;e.$async?n.if(tt._`${je.default.errors} === 0`,()=>n.return(je.default.data),()=>n.throw(tt._`new ${o}(${je.default.vErrors})`)):(n.assign(tt._`${s}.errors`,je.default.vErrors),f.unevaluated&&dy(t),n.return(tt._`${je.default.errors} === 0`))}function dy({gen:t,evaluated:n,props:e,items:s}){e instanceof tt.Name&&t.assign(tt._`${n}.props`,e),s instanceof tt.Name&&t.assign(tt._`${n}.items`,s)}function mh(t,n,e=t.opts.strict){if(!!e){if(n=`strict mode: ${n}`,e===!0)throw new Error(n);t.self.logger.warn(n)}}Ni.checkStrictMode=mh});var qt=Ee(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.func=ft.setEvaluated=ft.evaluatedPropsToName=ft.mergeEvaluated=ft.eachItem=ft.unescapeJsonPointer=ft.escapeJsonPointer=ft.escapeFragment=ft.unescapeFragment=ft.schemaRefOrVal=ft.schemaHasRulesButRef=ft.schemaHasRules=ft.checkUnknownRules=ft.alwaysValidSchema=ft.toHash=void 0;var Lt=Qe(),py=Jr();function my(t){let n={};for(let e of t)n[e]=!0;return n}ft.toHash=my;function gy(t,n){return typeof n=="boolean"?n:Object.keys(n).length===0?!0:(yh(t,n),!vh(n,t.self.RULES.all))}ft.alwaysValidSchema=gy;function yh(t,n=t.schema){let{opts:e,self:s}=t;if(!e.strict||typeof n=="boolean")return;let o=s.RULES.keywords;for(let f in n)o[f]||py.checkStrictMode(t,`unknown keyword: "${f}"`)}ft.checkUnknownRules=yh;function vh(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(n[e])return!0;return!1}ft.schemaHasRules=vh;function yy(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&n.all[e])return!0;return!1}ft.schemaHasRulesButRef=yy;function vy({topSchemaRef:t,schemaPath:n},e,s,o){if(!o){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Lt._`${e}`}return Lt._`${t}${n}${Lt.getProperty(s)}`}ft.schemaRefOrVal=vy;function by(t){return wh(decodeURIComponent(t))}ft.unescapeFragment=by;function wy(t){return encodeURIComponent(bh(t))}ft.escapeFragment=wy;function bh(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}ft.escapeJsonPointer=bh;function wh(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}ft.unescapeJsonPointer=wh;function $y(t,n){if(Array.isArray(t))for(let e of t)n(e);else n(t)}ft.eachItem=$y;function gh({mergeNames:t,mergeToName:n,mergeValues:e,resultToName:s}){return(o,f,h,v)=>{let b=h===void 0?f:h instanceof Lt.Name?(f instanceof Lt.Name?t(o,f,h):n(o,f,h),h):f instanceof Lt.Name?(n(o,h,f),f):e(f,h);return v===Lt.Name&&!(b instanceof Lt.Name)?s(o,b):b}}ft.mergeEvaluated={props:gh({mergeNames:(t,n,e)=>t.if(Lt._`${e} !== true && ${n} !== undefined`,()=>{t.if(Lt._`${n} === true`,()=>t.assign(e,!0),()=>t.assign(e,Lt._`${e} || {}`).code(Lt._`Object.assign(${e}, ${n})`))}),mergeToName:(t,n,e)=>t.if(Lt._`${e} !== true`,()=>{n===!0?t.assign(e,!0):(t.assign(e,Lt._`${e} || {}`),Ul(t,e,n))}),mergeValues:(t,n)=>t===!0?!0:{...t,...n},resultToName:$h}),items:gh({mergeNames:(t,n,e)=>t.if(Lt._`${e} !== true && ${n} !== undefined`,()=>t.assign(e,Lt._`${n} === true ? true : ${e} > ${n} ? ${e} : ${n}`)),mergeToName:(t,n,e)=>t.if(Lt._`${e} !== true`,()=>t.assign(e,n===!0?!0:Lt._`${e} > ${n} ? ${e} : ${n}`)),mergeValues:(t,n)=>t===!0?!0:Math.max(t,n),resultToName:(t,n)=>t.var("items",n)})};function $h(t,n){if(n===!0)return t.var("props",!0);let e=t.var("props",Lt._`{}`);return n!==void 0&&Ul(t,e,n),e}ft.evaluatedPropsToName=$h;function Ul(t,n,e){Object.keys(e).forEach(s=>t.assign(Lt._`${n}${Lt.getProperty(s)}`,!0))}ft.setEvaluated=Ul;function Ay(t,n){return t.scopeValue("func",{ref:n,code:n.code})}ft.func=Ay});var is=Ee(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.reportTypeError=ar.checkDataTypes=ar.checkDataType=ar.coerceAndCheckDataType=ar.getJSONTypes=ar.getSchemaTypes=ar.DataType=void 0;var xy=gl(),ky=yl(),Cy=Bs(),Be=Qe(),Ah=qt(),Gs;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Gs=ar.DataType||(ar.DataType={}));function _y(t){let n=xh(t.type);if(n.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!n.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&n.push("null")}return n}ar.getSchemaTypes=_y;function xh(t){let n=Array.isArray(t)?t:t?[t]:[];if(n.every(xy.isJSONType))return n;throw new Error("type must be JSONType or JSONType[]: "+n.join(","))}ar.getJSONTypes=xh;function Ey(t,n){let{gen:e,data:s,opts:o}=t,f=Sy(n,o.coerceTypes),h=n.length>0&&!(f.length===0&&n.length===1&&ky.schemaHasRulesForType(t,n[0]));if(h){let v=Gl(n,s,o.strict,Gs.Wrong);e.if(v,()=>{f.length?Ty(t,n,f):Kl(t)})}return h}ar.coerceAndCheckDataType=Ey;var kh=new Set(["string","number","integer","boolean","null"]);function Sy(t,n){return n?t.filter(e=>kh.has(e)||n==="array"&&e==="array"):[]}function Ty(t,n,e){let{gen:s,data:o,opts:f}=t,h=s.let("dataType",Be._`typeof ${o}`),v=s.let("coerced",Be._`undefined`);f.coerceTypes==="array"&&s.if(Be._`${h} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>s.assign(o,Be._`${o}[0]`).assign(h,Be._`typeof ${o}`).if(Gl(n,o,f.strict),()=>s.assign(v,o))),s.if(Be._`${v} !== undefined`);for(let A of e)(kh.has(A)||A==="array"&&f.coerceTypes==="array")&&b(A);s.else(),Kl(t),s.endIf(),s.if(Be._`${v} !== undefined`,()=>{s.assign(o,v),Py(t,v)});function b(A){switch(A){case"string":s.elseIf(Be._`${h} == "number" || ${h} == "boolean"`).assign(v,Be._`"" + ${o}`).elseIf(Be._`${o} === null`).assign(v,Be._`""`);return;case"number":s.elseIf(Be._`${h} == "boolean" || ${o} === null
3
+ || (${h} == "string" && ${o} && ${o} == +${o})`).assign(v,Be._`+${o}`);return;case"integer":s.elseIf(Be._`${h} === "boolean" || ${o} === null
4
+ || (${h} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(v,Be._`+${o}`);return;case"boolean":s.elseIf(Be._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(v,!1).elseIf(Be._`${o} === "true" || ${o} === 1`).assign(v,!0);return;case"null":s.elseIf(Be._`${o} === "" || ${o} === 0 || ${o} === false`),s.assign(v,null);return;case"array":s.elseIf(Be._`${h} === "string" || ${h} === "number"
5
+ || ${h} === "boolean" || ${o} === null`).assign(v,Be._`[${o}]`)}}}function Py({gen:t,parentData:n,parentDataProperty:e},s){t.if(Be._`${n} !== undefined`,()=>t.assign(Be._`${n}[${e}]`,s))}function Hl(t,n,e,s=Gs.Correct){let o=s===Gs.Correct?Be.operators.EQ:Be.operators.NEQ,f;switch(t){case"null":return Be._`${n} ${o} null`;case"array":f=Be._`Array.isArray(${n})`;break;case"object":f=Be._`${n} && typeof ${n} == "object" && !Array.isArray(${n})`;break;case"integer":f=h(Be._`!(${n} % 1) && !isNaN(${n})`);break;case"number":f=h();break;default:return Be._`typeof ${n} ${o} ${t}`}return s===Gs.Correct?f:Be.not(f);function h(v=Be.nil){return Be.and(Be._`typeof ${n} == "number"`,v,e?Be._`isFinite(${n})`:Be.nil)}}ar.checkDataType=Hl;function Gl(t,n,e,s){if(t.length===1)return Hl(t[0],n,e,s);let o,f=Ah.toHash(t);if(f.array&&f.object){let h=Be._`typeof ${n} != "object"`;o=f.null?h:Be._`!${n} || ${h}`,delete f.null,delete f.array,delete f.object}else o=Be.nil;f.number&&delete f.integer;for(let h in f)o=Be.and(o,Hl(h,n,e,s));return o}ar.checkDataTypes=Gl;var Fy={message:({schema:t})=>Be.str`should be ${t}`,params:({schema:t,schemaValue:n})=>typeof t=="string"?Be._`{type: ${t}}`:Be._`{type: ${n}}`};function Kl(t){let n=Dy(t);Cy.reportError(n,Fy)}ar.reportTypeError=Kl;function Dy(t){let{gen:n,data:e,schema:s}=t,o=Ah.schemaRefOrVal(t,s,"type");return{gen:n,keyword:"type",data:e,schema:s.type,schemaCode:o,schemaValue:o,parentSchema:s,params:{},it:t}}});var Vs=Ee(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.getData=void 0;var Ch=is(),Xa=qt(),Ks=Bs(),Vt=Qe(),Wl=xi(),Iy=_n(),Jl=class{constructor(n,e,s){if(qy(n,e,s),this.gen=n.gen,this.allErrors=n.allErrors,this.keyword=s,this.data=n.data,this.schema=n.schema[s],this.$data=e.$data&&n.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Xa.schemaRefOrVal(n,this.schema,s,this.$data),this.schemaType=e.schemaType,this.parentSchema=n.schema,this.params={},this.it=n,this.def=e,this.$data)this.schemaCode=n.gen.const("vSchema",_h(this.$data,n));else if(this.schemaCode=this.schemaValue,!Oy(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${s} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=n.gen.const("_errs",Wl.default.errors))}result(n,e,s){this.gen.if(Vt.not(n)),s?s():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(n,e){this.result(n,void 0,e)}fail(n){if(n===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(n),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(n){if(!this.$data)return this.fail(n);let{schemaCode:e}=this;this.fail(Vt._`${e} !== undefined && (${Vt.or(this.invalid$data(),n)})`)}error(n){(n?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(n){this.allErrors||this.gen.if(n)}setParams(n,e){e?Object.assign(this.params,n):this.params=n}block$data(n,e,s=Vt.nil){this.gen.block(()=>{this.check$data(n,s),e()})}check$data(n=Vt.nil,e=Vt.nil){if(!this.$data)return;let{gen:s,schemaCode:o,schemaType:f,def:h}=this;s.if(Vt.or(Vt._`${o} === undefined`,e)),n!==Vt.nil&&s.assign(n,!0),(f.length||h.validateSchema)&&(s.elseIf(this.invalid$data()),this.$dataError(),n!==Vt.nil&&s.assign(n,!1)),s.else()}invalid$data(){let{gen:n,schemaCode:e,schemaType:s,def:o,it:f}=this;return Vt.or(h(),v());function h(){if(s.length){if(!(e instanceof Vt.Name))throw new Error("ajv implementation error");let b=Array.isArray(s)?s:[s];return Vt._`${Ch.checkDataTypes(b,e,f.opts.strict,Ch.DataType.Wrong)}`}return Vt.nil}function v(){if(o.validateSchema){let b=n.scopeValue("validate$data",{ref:o.validateSchema});return Vt._`!${b}(${e})`}return Vt.nil}}subschema(n,e){return Iy.applySubschema(this.it,n,e)}mergeEvaluated(n,e){let{it:s,gen:o}=this;!s.opts.unevaluated||(s.props!==!0&&n.props!==void 0&&(s.props=Xa.mergeEvaluated.props(o,n.props,s.props,e)),s.items!==!0&&n.items!==void 0&&(s.items=Xa.mergeEvaluated.items(o,n.items,s.items,e)))}mergeValidEvaluated(n,e){let{it:s,gen:o}=this;if(s.opts.unevaluated&&(s.props!==!0||s.items!==!0))return o.if(e,()=>this.mergeEvaluated(n,Vt.Name)),!0}};Ws.default=Jl;function Oy(t,n,e=!1){return!n.length||n.some(s=>s==="array"?Array.isArray(t):s==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==s||e&&typeof t>"u")}function qy({schema:t,opts:n,self:e},s,o){if(Array.isArray(s.keyword)?!s.keyword.includes(o):s.keyword!==o)throw new Error("ajv implementation error");let f=s.dependencies;if(f!=null&&f.some(h=>!Object.prototype.hasOwnProperty.call(t,h)))throw new Error(`parent schema must have dependencies of ${o}: ${f.join(",")}`);if(s.validateSchema&&!s.validateSchema(t[o])){let v="keyword value is invalid: "+e.errorsText(s.validateSchema.errors);if(n.validateSchema==="log")e.logger.error(v);else throw new Error(v)}}var Ry=/^\/(?:[^~]|~0|~1)*$/,Ny=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function _h(t,{dataLevel:n,dataNames:e,dataPathArr:s}){let o,f;if(t==="")return Wl.default.rootData;if(t[0]==="/"){if(!Ry.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);o=t,f=Wl.default.rootData}else{let A=Ny.exec(t);if(!A)throw new Error(`Invalid JSON-pointer: ${t}`);let w=+A[1];if(o=A[2],o==="#"){if(w>=n)throw new Error(b("property/index",w));return s[n-w]}if(w>n)throw new Error(b("data",w));if(f=e[n-w],!o)return f}let h=f,v=o.split("/");for(let A of v)A&&(f=Vt._`${f}${Vt.getProperty(Xa.unescapeJsonPointer(A))}`,h=Vt._`${h} && ${f}`);return h;function b(A,w){return`Cannot access ${A} ${w} levels up, current level is ${n}`}}Ws.getData=_h});var to=Ee((ss,Eh)=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.MissingRefError=ss.ValidationError=void 0;var Ql=Hs(),Ya=class extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}};ss.ValidationError=Ya;var eo=class extends Error{constructor(n,e,s){super(s||`can't resolve reference ${e} from id ${n}`),this.missingRef=Ql.resolveUrl(n,e),this.missingSchema=Ql.normalizeId(Ql.getFullPath(this.missingRef))}};ss.MissingRefError=eo;Eh.exports={ValidationError:Ya,MissingRefError:eo}});var Yl=Ee(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.resolveSchema=ai.getCompilingSchema=ai.resolveRef=ai.compileSchema=ai.SchemaEnv=void 0;var Ci=Qe(),Ly=to(),Sn=xi(),_i=Hs(),Sh=qt(),My=Jr(),zy=jl(),as=class{constructor(n){var e;this.refs={},this.dynamicAnchors={};let s;typeof n.schema=="object"&&(s=n.schema),this.schema=n.schema,this.root=n.root||this,this.baseId=(e=n.baseId)!==null&&e!==void 0?e:_i.normalizeId(s==null?void 0:s.$id),this.localRefs=n.localRefs,this.meta=n.meta,this.$async=s==null?void 0:s.$async,this.refs={}}};ai.SchemaEnv=as;function Xl(t){let n=Th.call(this,t);if(n)return n;let e=_i.getFullPath(t.root.baseId),{es5:s,lines:o}=this.opts.code,{ownProperties:f}=this.opts,h=new Ci.CodeGen(this.scope,{es5:s,lines:o,ownProperties:f}),v;t.$async&&(v=h.scopeValue("Error",{ref:Ly.ValidationError,code:Ci._`require("ajv/dist/compile/error_classes").ValidationError`}));let b=h.scopeName("validate");t.validateName=b;let A={gen:h,allErrors:this.opts.allErrors,data:Sn.default.data,parentData:Sn.default.parentData,parentDataProperty:Sn.default.parentDataProperty,dataNames:[Sn.default.data],dataPathArr:[Ci.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:h.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:Ci.stringify(t.schema)}:{ref:t.schema}),validateName:b,ValidationError:v,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:Ci.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:Ci._`""`,opts:this.opts,self:this},w;try{this._compilations.add(t),My.validateFunctionCode(A),h.optimize(this.opts.code.optimize);let T=h.toString();w=`${h.scopeRefs(Sn.default.scope)}return ${T}`,this.opts.code.process&&(w=this.opts.code.process(w,t));let R=new Function(`${Sn.default.self}`,`${Sn.default.scope}`,w)(this,this.scope.get());if(this.scope.value(b,{ref:R}),R.errors=null,R.schema=t.schema,R.schemaEnv=t,t.$async&&(R.$async=!0),this.opts.code.source===!0&&(R.source={validateName:b,validateCode:T,scopeValues:h._values}),this.opts.unevaluated){let{props:L,items:V}=A;R.evaluated={props:L instanceof Ci.Name?void 0:L,items:V instanceof Ci.Name?void 0:V,dynamicProps:L instanceof Ci.Name,dynamicItems:V instanceof Ci.Name},R.source&&(R.source.evaluated=Ci.stringify(R.evaluated))}return t.validate=R,t}catch(T){throw delete t.validate,delete t.validateName,w&&this.logger.error("Error compiling schema, function code:",w),T}finally{this._compilations.delete(t)}}ai.compileSchema=Xl;function jy(t,n,e){var s;e=_i.resolveUrl(n,e);let o=t.refs[e];if(o)return o;let f=Uy.call(this,t,e);if(f===void 0){let h=(s=t.localRefs)===null||s===void 0?void 0:s[e];h&&(f=new as({schema:h,root:t,baseId:n}))}if(f!==void 0)return t.refs[e]=By.call(this,f)}ai.resolveRef=jy;function By(t){return _i.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Xl.call(this,t)}function Th(t){for(let n of this._compilations)if(Vy(n,t))return n}ai.getCompilingSchema=Th;function Vy(t,n){return t.schema===n.schema&&t.root===n.root&&t.baseId===n.baseId}function Uy(t,n){let e;for(;typeof(e=this.refs[n])=="string";)n=e;return e||this.schemas[n]||ro.call(this,t,n)}function ro(t,n){let e=zy.parse(n),s=_i._getFullPath(e),o=_i.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&s===o)return Zl.call(this,e,t);let f=_i.normalizeId(s),h=this.refs[f]||this.schemas[f];if(typeof h=="string"){let v=ro.call(this,t,h);return typeof(v==null?void 0:v.schema)!="object"?void 0:Zl.call(this,e,v)}if(typeof(h==null?void 0:h.schema)=="object"){if(h.validate||Xl.call(this,h),f===_i.normalizeId(n)){let{schema:v}=h;return v.$id&&(o=_i.resolveUrl(o,v.$id)),new as({schema:v,root:t,baseId:o})}return Zl.call(this,e,h)}}ai.resolveSchema=ro;var Hy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Zl(t,{baseId:n,schema:e,root:s}){var o;if(((o=t.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(let h of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[Sh.unescapeFragment(h)],e===void 0))return;!Hy.has(h)&&typeof e=="object"&&e.$id&&(n=_i.resolveUrl(n,e.$id))}let f;if(typeof e!="boolean"&&e.$ref&&!Sh.schemaHasRulesButRef(e,this.RULES)){let h=_i.resolveUrl(n,e.$ref);f=ro.call(this,s,h)}if(f=f||new as({schema:e,root:s,baseId:n}),f.schema!==f.root.schema)return f}});var Ph=Ee((gx,Gy)=>{Gy.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 qh=Ee(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.CodeGen=or.Name=or.nil=or.stringify=or.str=or._=or.KeywordCxt=void 0;var Ky=Vs();or.KeywordCxt=Ky.default;var os=Qe();Object.defineProperty(or,"_",{enumerable:!0,get:function(){return os._}});Object.defineProperty(or,"str",{enumerable:!0,get:function(){return os.str}});Object.defineProperty(or,"stringify",{enumerable:!0,get:function(){return os.stringify}});Object.defineProperty(or,"nil",{enumerable:!0,get:function(){return os.nil}});Object.defineProperty(or,"Name",{enumerable:!0,get:function(){return os.Name}});Object.defineProperty(or,"CodeGen",{enumerable:!0,get:function(){return os.CodeGen}});var rf=to(),Wy=gl(),Js=Yl(),Jy=Qe(),io=Hs(),no=is(),tf=qt(),Fh=Ph(),Qy=["removeAdditional","useDefaults","coerceTypes"],Zy=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Xy={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",schemaId:"JSON Schema draft-04 is not supported in Ajv v7.",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",strictNumbers:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key."},Yy={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function e1(t){var n,e,s,o,f,h,v,b,A,w,T,N;let R=(n=t.strict)!==null&&n!==void 0?n:!0,L=R?"log":!1,V=(e=t.code)===null||e===void 0?void 0:e.optimize,G=V===!0||V===void 0?1:V||0;return{strict:R,strictTypes:(s=t.strictTypes)!==null&&s!==void 0?s:L,strictTuples:(o=t.strictTuples)!==null&&o!==void 0?o:L,code:t.code?{...t.code,optimize:G}:{optimize:G},loopRequired:(f=t.loopRequired)!==null&&f!==void 0?f:1/0,loopEnum:(h=t.loopEnum)!==null&&h!==void 0?h:1/0,meta:(v=t.meta)!==null&&v!==void 0?v:!0,messages:(b=t.messages)!==null&&b!==void 0?b:!0,inlineRefs:(A=t.inlineRefs)!==null&&A!==void 0?A:!0,addUsedSchema:(w=t.addUsedSchema)!==null&&w!==void 0?w:!0,validateSchema:(T=t.validateSchema)!==null&&T!==void 0?T:!0,validateFormats:(N=t.validateFormats)!==null&&N!==void 0?N:!0}}var Qs=class{constructor(n={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,n=this.opts={...n,...e1(n)};let{es5:e,lines:s}=this.opts.code;this.scope=new Jy.ValueScope({scope:{},prefixes:Zy,es5:e,lines:s}),this.logger=a1(n.logger);let o=n.validateFormats;n.validateFormats=!1,this.RULES=Wy.getRules(),Dh.call(this,Xy,n,"NOT SUPPORTED"),Dh.call(this,Yy,n,"DEPRECATED","warn"),this._metaOpts=n1.call(this),n.formats&&r1.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),n.keywords&&i1.call(this,n.keywords),typeof n.meta=="object"&&this.addMetaSchema(n.meta),t1.call(this),n.validateFormats=o}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:n,meta:e}=this.opts;e&&n&&this.addMetaSchema(Fh,Fh.$id,!1)}defaultMeta(){let{meta:n}=this.opts;return this.opts.defaultMeta=typeof n=="object"?n.$id||n:void 0}validate(n,e){let s;if(typeof n=="string"){if(s=this.getSchema(n),!s)throw new Error(`no schema with key or ref "${n}"`)}else s=this.compile(n);let o=s(e);return"$async"in s||(this.errors=s.errors),o}compile(n,e){let s=this._addSchema(n,e);return s.validate||this._compileSchemaEnv(s)}compileAsync(n,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:s}=this.opts;return o.call(this,n,e);async function o(w,T){await f.call(this,w.$schema);let N=this._addSchema(w,T);return N.validate||h.call(this,N)}async function f(w){w&&!this.getSchema(w)&&await o.call(this,{$ref:w},!0)}async function h(w){try{return this._compileSchemaEnv(w)}catch(T){if(!(T instanceof rf.MissingRefError))throw T;return v.call(this,T),await b.call(this,T.missingSchema),h.call(this,w)}}function v({missingSchema:w,missingRef:T}){if(this.refs[w])throw new Error(`AnySchema ${w} is loaded but ${T} cannot be resolved`)}async function b(w){let T=await A.call(this,w);this.refs[w]||await f.call(this,T.$schema),this.refs[w]||this.addSchema(T,w,e)}async function A(w){let T=this._loading[w];if(T)return T;try{return await(this._loading[w]=s(w))}finally{delete this._loading[w]}}}addSchema(n,e,s,o=this.opts.validateSchema){if(Array.isArray(n)){for(let h of n)this.addSchema(h,void 0,s,o);return this}let f;if(typeof n=="object"&&(f=n.$id,f!==void 0&&typeof f!="string"))throw new Error("schema id must be string");return e=io.normalizeId(e||f),this._checkUnique(e),this.schemas[e]=this._addSchema(n,s,o,!0),this}addMetaSchema(n,e,s=this.opts.validateSchema){return this.addSchema(n,e,!0,s),this}validateSchema(n,e){if(typeof n=="boolean")return!0;let s;if(s=n.$schema,s!==void 0&&typeof s!="string")throw new Error("$schema must be a string");if(s=s||this.opts.defaultMeta||this.defaultMeta(),!s)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let o=this.validate(s,n);if(!o&&e){let f="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(f);else throw new Error(f)}return o}getSchema(n){let e;for(;typeof(e=Ih.call(this,n))=="string";)n=e;if(e===void 0){let s=new Js.SchemaEnv({schema:{}});if(e=Js.resolveSchema.call(this,s,n),!e)return;this.refs[n]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(n){if(n instanceof RegExp)return this._removeAllSchemas(this.schemas,n),this._removeAllSchemas(this.refs,n),this;switch(typeof n){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=Ih.call(this,n);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[n],delete this.refs[n],this}case"object":{let e=n;this._cache.delete(e);let s=n.$id;return s&&(s=io.normalizeId(s),delete this.schemas[s],delete this.refs[s]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(n){for(let e of n)this.addKeyword(e);return this}addKeyword(n,e){let s;if(typeof n=="string")s=n,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=s);else if(typeof n=="object"&&e===void 0){if(e=n,s=e.keyword,Array.isArray(s)&&!s.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(l1.call(this,s,e),!e)return tf.eachItem(s,f=>ef.call(this,f)),this;u1.call(this,e);let o={...e,type:no.getJSONTypes(e.type),schemaType:no.getJSONTypes(e.schemaType)};return tf.eachItem(s,o.type.length===0?f=>ef.call(this,f,o):f=>o.type.forEach(h=>ef.call(this,f,o,h))),this}getKeyword(n){let e=this.RULES.all[n];return typeof e=="object"?e.definition:!!e}removeKeyword(n){let{RULES:e}=this;delete e.keywords[n],delete e.all[n];for(let s of e.rules){let o=s.rules.findIndex(f=>f.keyword===n);o>=0&&s.rules.splice(o,1)}return this}addFormat(n,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[n]=e,this}errorsText(n=this.errors,{separator:e=", ",dataVar:s="data"}={}){return!n||n.length===0?"No errors":n.map(o=>`${s}${o.dataPath} ${o.message}`).reduce((o,f)=>o+e+f)}$dataMetaSchema(n,e){let s=this.RULES.all;n=JSON.parse(JSON.stringify(n));for(let o of e){let f=o.split("/").slice(1),h=n;for(let v of f)h=h[v];for(let v in s){let b=s[v];if(typeof b!="object")continue;let{$data:A}=b.definition,w=h[v];A&&w&&(h[v]=Oh(w))}}return n}_removeAllSchemas(n,e){for(let s in n){let o=n[s];(!e||e.test(s))&&(typeof o=="string"?delete n[s]:o&&!o.meta&&(this._cache.delete(o.schema),delete n[s]))}}_addSchema(n,e,s=this.opts.validateSchema,o=this.opts.addUsedSchema){if(typeof n!="object"){if(this.opts.jtd)throw new Error("schema must be object");if(typeof n!="boolean")throw new Error("schema must be object or boolean")}let f=this._cache.get(n);if(f!==void 0)return f;let h=io.getSchemaRefs.call(this,n);f=new Js.SchemaEnv({schema:n,meta:e,localRefs:h}),this._cache.set(f.schema,f);let v=f.baseId;return o&&!v.startsWith("#")&&(v&&this._checkUnique(v),this.refs[v]=f),s&&this.validateSchema(n,!0),f}_checkUnique(n){if(this.schemas[n]||this.refs[n])throw new Error(`schema with key or id "${n}" already exists`)}_compileSchemaEnv(n){if(n.meta?this._compileMetaSchema(n):Js.compileSchema.call(this,n),!n.validate)throw new Error("ajv implementation error");return n.validate}_compileMetaSchema(n){let e=this.opts;this.opts=this._metaOpts;try{Js.compileSchema.call(this,n)}finally{this.opts=e}}};or.default=Qs;Qs.ValidationError=rf.ValidationError;Qs.MissingRefError=rf.MissingRefError;function Dh(t,n,e,s="error"){for(let o in t){let f=o;f in n&&this.logger[s](`${e}: option ${o}. ${t[f]}`)}}function Ih(t){return t=io.normalizeId(t),this.schemas[t]||this.refs[t]}function t1(){let t=this.opts.schemas;if(!!t)if(Array.isArray(t))this.addSchema(t);else for(let n in t)this.addSchema(t[n],n)}function r1(){for(let t in this.opts.formats){let n=this.opts.formats[t];n&&this.addFormat(t,n)}}function i1(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let n in t){let e=t[n];e.keyword||(e.keyword=n),this.addKeyword(e)}}function n1(){let t={...this.opts};for(let n of Qy)delete t[n];return t}var s1={log(){},warn(){},error(){}};function a1(t){if(t===!1)return s1;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 o1=/^[a-z_$][a-z0-9_$:-]*$/i;function l1(t,n){let{RULES:e}=this;if(tf.eachItem(t,s=>{if(e.keywords[s])throw new Error(`Keyword ${s} is already defined`);if(!o1.test(s))throw new Error(`Keyword ${s} has invalid name`)}),!!n&&n.$data&&!("code"in n||"validate"in n))throw new Error('$data keyword must have "code" or "validate" function')}function ef(t,n,e){var s;let o=n==null?void 0:n.post;if(e&&o)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:f}=this,h=o?f.post:f.rules.find(({type:b})=>b===e);if(h||(h={type:e,rules:[]},f.rules.push(h)),f.keywords[t]=!0,!n)return;let v={keyword:t,definition:{...n,type:no.getJSONTypes(n.type),schemaType:no.getJSONTypes(n.schemaType)}};n.before?f1.call(this,h,v,n.before):h.rules.push(v),f.all[t]=v,(s=n.implements)===null||s===void 0||s.forEach(b=>this.addKeyword(b))}function f1(t,n,e){let s=t.rules.findIndex(o=>o.keyword===e);s>=0?t.rules.splice(s,0,n):(t.rules.push(n),this.logger.warn(`rule ${e} is not defined`))}function u1(t){let{metaSchema:n}=t;n!==void 0&&(t.$data&&this.opts.$data&&(n=Oh(n)),t.validateSchema=this.compile(n,!0))}var c1={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Oh(t){return{anyOf:[t,c1]}}});var Rh=Ee(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});var h1={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};nf.default=h1});var zh=Ee(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.callRef=Tn.getValidate=void 0;var d1=to(),Nh=ki(),zr=Qe(),ls=xi(),Lh=Yl(),so=qt(),p1={keyword:"$ref",schemaType:"string",code(t){let{gen:n,schema:e,it:s}=t,{baseId:o,schemaEnv:f,validateName:h,opts:v,self:b}=s;if(e==="#"||e==="#/")return w();let A=Lh.resolveRef.call(b,f.root,o,e);if(A===void 0)throw new d1.MissingRefError(o,e);if(A instanceof Lh.SchemaEnv)return T(A);return N(A);function w(){if(f===f.root)return ao(t,h,f,f.$async);let R=n.scopeValue("root",{ref:f.root});return ao(t,zr._`${R}.validate`,f.root,f.root.$async)}function T(R){let L=Mh(t,R);ao(t,L,R,R.$async)}function N(R){let L=n.scopeValue("schema",v.code.source===!0?{ref:R,code:zr.stringify(R)}:{ref:R}),V=n.name("valid"),G=t.subschema({schema:R,dataTypes:[],schemaPath:zr.nil,topSchemaRef:L,errSchemaPath:e},V);t.mergeEvaluated(G),t.ok(V)}}};function Mh(t,n){let{gen:e}=t;return n.validate?e.scopeValue("validate",{ref:n.validate}):zr._`${e.scopeValue("wrapper",{ref:n})}.validate`}Tn.getValidate=Mh;function ao(t,n,e,s){let{gen:o,it:f}=t,{allErrors:h,schemaEnv:v,opts:b}=f,A=b.passContext?ls.default.this:zr.nil;s?w():T();function w(){if(!v.$async)throw new Error("async schema referenced by sync schema");let L=o.let("valid");o.try(()=>{o.code(zr._`await ${Nh.callValidateCode(t,n,A)}`),R(n),h||o.assign(L,!0)},V=>{o.if(zr._`!(${V} instanceof ${f.ValidationError})`,()=>o.throw(V)),N(V),h||o.assign(L,!1)}),t.ok(L)}function T(){t.result(Nh.callValidateCode(t,n,A),()=>R(n),()=>N(n))}function N(L){let V=zr._`${L}.errors`;o.assign(ls.default.vErrors,zr._`${ls.default.vErrors} === null ? ${V} : ${ls.default.vErrors}.concat(${V})`),o.assign(ls.default.errors,zr._`${ls.default.vErrors}.length`)}function R(L){var V;if(!f.opts.unevaluated)return;let G=(V=e==null?void 0:e.validate)===null||V===void 0?void 0:V.evaluated;if(f.props!==!0)if(G&&!G.dynamicProps)G.props!==void 0&&(f.props=so.mergeEvaluated.props(o,G.props,f.props));else{let K=o.var("props",zr._`${L}.evaluated.props`);f.props=so.mergeEvaluated.props(o,K,f.props,zr.Name)}if(f.items!==!0)if(G&&!G.dynamicItems)G.items!==void 0&&(f.items=so.mergeEvaluated.items(o,G.items,f.items));else{let K=o.var("items",zr._`${L}.evaluated.items`);f.items=so.mergeEvaluated.items(o,K,f.items,zr.Name)}}}Tn.callRef=ao;Tn.default=p1});var jh=Ee(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});var m1=Rh(),g1=zh(),y1=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",m1.default,g1.default];sf.default=y1});var Bh=Ee(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});var oo=Qe(),fn=oo.operators,lo={maximum:{okStr:"<=",ok:fn.LTE,fail:fn.GT},minimum:{okStr:">=",ok:fn.GTE,fail:fn.LT},exclusiveMaximum:{okStr:"<",ok:fn.LT,fail:fn.GTE},exclusiveMinimum:{okStr:">",ok:fn.GT,fail:fn.LTE}},v1={message:({keyword:t,schemaCode:n})=>oo.str`should be ${lo[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>oo._`{comparison: ${lo[t].okStr}, limit: ${n}}`},b1={keyword:Object.keys(lo),type:"number",schemaType:"number",$data:!0,error:v1,code(t){let{keyword:n,data:e,schemaCode:s}=t;t.fail$data(oo._`${e} ${lo[n].fail} ${s} || isNaN(${e})`)}};af.default=b1});var Vh=Ee(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});var Zs=Qe(),w1={message:({schemaCode:t})=>Zs.str`should be multiple of ${t}`,params:({schemaCode:t})=>Zs._`{multipleOf: ${t}}`},$1={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:w1,code(t){let{gen:n,data:e,schemaCode:s,it:o}=t,f=o.opts.multipleOfPrecision,h=n.let("res"),v=f?Zs._`Math.abs(Math.round(${h}) - ${h}) > 1e-${f}`:Zs._`${h} !== parseInt(${h})`;t.fail$data(Zs._`(${s} === 0 || (${h} = ${e}/${s}, ${v}))`)}};of.default=$1});var Uh=Ee(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});function A1(t){let n=t.length,e=0,s=0,o;for(;s<n;)e++,o=t.charCodeAt(s++),o>=55296&&o<=56319&&s<n&&(o=t.charCodeAt(s),(o&64512)===56320&&s++);return e}lf.default=A1});var Hh=Ee(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});var un=Qe(),x1=Uh(),k1={message({keyword:t,schemaCode:n}){let e=t==="maxLength"?"more":"fewer";return un.str`should NOT have ${e} than ${n} characters`},params:({schemaCode:t})=>un._`{limit: ${t}}`},C1={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:k1,code(t){let{keyword:n,data:e,schemaCode:s,it:o}=t,f=n==="maxLength"?un.operators.GT:un.operators.LT,h;if(o.opts.unicode===!1)h=un._`${e}.length`;else{let v=t.gen.scopeValue("func",{ref:x1.default,code:un._`require("ajv/dist/compile/ucs2length").default`});h=un._`${v}(${e})`}t.fail$data(un._`${h} ${f} ${s}`)}};ff.default=C1});var Gh=Ee(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});var _1=ki(),fo=Qe(),E1={message:({schemaCode:t})=>fo.str`should match pattern "${t}"`,params:({schemaCode:t})=>fo._`{pattern: ${t}}`},S1={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:E1,code(t){let{gen:n,data:e,$data:s,schema:o,schemaCode:f}=t,h=s?fo._`(new RegExp(${f}, "u"))`:_1.usePattern(n,o);t.fail$data(fo._`!${h}.test(${e})`)}};uf.default=S1});var Kh=Ee(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});var Xs=Qe(),T1={message({keyword:t,schemaCode:n}){let e=t==="maxProperties"?"more":"fewer";return Xs.str`should NOT have ${e} than ${n} items`},params:({schemaCode:t})=>Xs._`{limit: ${t}}`},P1={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:T1,code(t){let{keyword:n,data:e,schemaCode:s}=t,o=n==="maxProperties"?Xs.operators.GT:Xs.operators.LT;t.fail$data(Xs._`Object.keys(${e}).length ${o} ${s}`)}};cf.default=P1});var Wh=Ee(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});var Ys=ki(),ea=Qe(),F1=Jr(),D1={message:({params:{missingProperty:t}})=>ea.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>ea._`{missingProperty: ${t}}`},I1={keyword:"required",type:"object",schemaType:"array",$data:!0,error:D1,code(t){let{gen:n,schema:e,schemaCode:s,data:o,$data:f,it:h}=t,{opts:v}=h;if(!f&&e.length===0)return;let b=e.length>=v.loopRequired;if(h.allErrors?A():w(),v.strictRequired){let R=t.parentSchema.properties,{definedProperties:L}=t.it;for(let V of e)if((R==null?void 0:R[V])===void 0&&!L.has(V)){let G=h.schemaEnv.baseId+h.errSchemaPath,K=`required property "${V}" is not defined at "${G}" (strictRequired)`;F1.checkStrictMode(h,K,h.opts.strictRequired)}}function A(){if(b||f)t.block$data(ea.nil,T);else for(let R of e)Ys.checkReportMissingProp(t,R)}function w(){let R=n.let("missing");if(b||f){let L=n.let("valid",!0);t.block$data(L,()=>N(R,L)),t.ok(L)}else n.if(Ys.checkMissingProp(t,e,R)),Ys.reportMissingProp(t,R),n.else()}function T(){n.forOf("prop",s,R=>{t.setParams({missingProperty:R}),n.if(Ys.noPropertyInData(n,o,R,v.ownProperties),()=>t.error())})}function N(R,L){t.setParams({missingProperty:R}),n.forOf(R,s,()=>{n.assign(L,Ys.propertyInData(n,o,R,v.ownProperties)),n.if(ea.not(L),()=>{t.error(),n.break()})},ea.nil)}}};hf.default=I1});var Jh=Ee(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});var ta=Qe(),O1={message({keyword:t,schemaCode:n}){let e=t==="maxItems"?"more":"fewer";return ta.str`should NOT have ${e} than ${n} items`},params:({schemaCode:t})=>ta._`{limit: ${t}}`},q1={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:O1,code(t){let{keyword:n,data:e,schemaCode:s}=t,o=n==="maxItems"?ta.operators.GT:ta.operators.LT;t.fail$data(ta._`${e}.length ${o} ${s}`)}};df.default=q1});var Qh=Ee(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});var pf=is(),Yt=Qe(),R1=Us(),N1={message:({params:{i:t,j:n}})=>Yt.str`should NOT have duplicate items (items ## ${n} and ${t} are identical)`,params:({params:{i:t,j:n}})=>Yt._`{i: ${t}, j: ${n}}`},L1={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:N1,code(t){let{gen:n,data:e,$data:s,schema:o,parentSchema:f,schemaCode:h,it:v}=t;if(!s&&!o)return;let b=n.let("valid"),A=f.items?pf.getSchemaTypes(f.items):[];t.block$data(b,w,Yt._`${h} === false`),t.ok(b);function w(){let L=n.let("i",Yt._`${e}.length`),V=n.let("j");t.setParams({i:L,j:V}),n.assign(b,!0),n.if(Yt._`${L} > 1`,()=>(T()?N:R)(L,V))}function T(){return A.length>0&&!A.some(L=>L==="object"||L==="array")}function N(L,V){let G=n.name("item"),K=pf.checkDataTypes(A,G,v.opts.strict,pf.DataType.Wrong),re=n.const("indices",Yt._`{}`);n.for(Yt._`;${L}--;`,()=>{n.let(G,Yt._`${e}[${L}]`),n.if(K,Yt._`continue`),A.length>1&&n.if(Yt._`typeof ${G} == "string"`,Yt._`${G} += "_"`),n.if(Yt._`typeof ${re}[${G}] == "number"`,()=>{n.assign(V,Yt._`${re}[${G}]`),t.error(),n.assign(b,!1).break()}).code(Yt._`${re}[${G}] = ${L}`)})}function R(L,V){let G=t.gen.scopeValue("func",{ref:R1,code:Yt._`require("ajv/dist/compile/equal")`}),K=n.name("outer");n.label(K).for(Yt._`;${L}--;`,()=>n.for(Yt._`${V} = ${L}; ${V}--;`,()=>n.if(Yt._`${G}(${e}[${L}], ${e}[${V}])`,()=>{t.error(),n.assign(b,!1).break(K)})))}}};mf.default=L1});var Zh=Ee(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});var gf=Qe(),M1=Us(),z1={message:"should be equal to constant",params:({schemaCode:t})=>gf._`{allowedValue: ${t}}`},j1={keyword:"const",$data:!0,error:z1,code(t){let n=t.gen.scopeValue("func",{ref:M1,code:gf._`require("ajv/dist/compile/equal")`});t.fail$data(gf._`!${n}(${t.data}, ${t.schemaCode})`)}};yf.default=j1});var Xh=Ee(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});var fs=Qe(),B1=Us(),V1={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>fs._`{allowedValues: ${t}}`},U1={keyword:"enum",schemaType:"array",$data:!0,error:V1,code(t){let{gen:n,data:e,$data:s,schema:o,schemaCode:f,it:h}=t;if(!s&&o.length===0)throw new Error("enum must have non-empty array");let v=o.length>=h.opts.loopEnum,b=t.gen.scopeValue("func",{ref:B1,code:fs._`require("ajv/dist/compile/equal")`}),A;if(v||s)A=n.let("valid"),t.block$data(A,w);else{if(!Array.isArray(o))throw new Error("ajv implementation error");let N=n.const("vSchema",f);A=fs.or(...o.map((R,L)=>T(N,L)))}t.pass(A);function w(){n.assign(A,!1),n.forOf("v",f,N=>n.if(fs._`${b}(${e}, ${N})`,()=>n.assign(A,!0).break()))}function T(N,R){let L=o[R];return L&&typeof L=="object"?fs._`${b}(${e}, ${N}[${R}])`:fs._`${e} === ${L}`}}};vf.default=U1});var Yh=Ee(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});var H1=Bh(),G1=Vh(),K1=Hh(),W1=Gh(),J1=Kh(),Q1=Wh(),Z1=Jh(),X1=Qh(),Y1=Zh(),ev=Xh(),tv=[H1.default,G1.default,K1.default,W1.default,J1.default,Q1.default,Z1.default,X1.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Y1.default,ev.default];bf.default=tv});var ed=Ee(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});var Pn=Qe(),rv=_n(),iv=qt(),nv=Jr(),sv={message:({params:{len:t}})=>Pn.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Pn._`{limit: ${t}}`},av={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sv,code(t){let{gen:n,schema:e,parentSchema:s,data:o,it:f}=t,{items:h}=s;if(!Array.isArray(h)){nv.checkStrictMode(f,'"additionalItems" is ignored when "items" is not an array of schemas');return}f.items=!0;let v=n.const("len",Pn._`${o}.length`);if(e===!1)t.setParams({len:h.length}),t.pass(Pn._`${v} <= ${h.length}`);else if(typeof e=="object"&&!iv.alwaysValidSchema(f,e)){let A=n.var("valid",Pn._`${v} <= ${h.length}`);n.if(Pn.not(A),()=>b(A)),t.ok(A)}function b(A){n.forRange("i",h.length,v,w=>{t.subschema({keyword:"additionalItems",dataProp:w,dataPropType:rv.Type.Num},A),f.allErrors||n.if(Pn.not(A),()=>n.break())})}}};wf.default=av});var rd=Ee(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});var td=Qe(),$f=qt(),ov=Jr(),lv=ki(),fv={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:n,schema:e,it:s}=t;if(Array.isArray(e))s.opts.unevaluated&&e.length&&s.items!==!0&&(s.items=$f.mergeEvaluated.items(n,e.length,s.items)),o(e);else{if(s.items=!0,$f.alwaysValidSchema(s,e))return;t.ok(lv.validateArray(t))}function o(f){let{parentSchema:h,data:v}=t;if(s.opts.strictTuples&&!uv(f.length,h)){let w=`"items" is ${f.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;ov.checkStrictMode(s,w,s.opts.strictTuples)}let b=n.name("valid"),A=n.const("len",td._`${v}.length`);f.forEach((w,T)=>{$f.alwaysValidSchema(s,w)||(n.if(td._`${A} > ${T}`,()=>t.subschema({keyword:"items",schemaProp:T,dataProp:T},b)),t.ok(b))})}}};function uv(t,n){return t===n.minItems&&(t===n.maxItems||n.additionalItems===!1)}Af.default=fv});var nd=Ee(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});var Ei=Qe(),cv=_n(),hv=qt(),id=Jr(),dv={message:({params:{min:t,max:n}})=>n===void 0?Ei.str`should contain at least ${t} valid item(s)`:Ei.str`should contain at least ${t} and no more than ${n} valid item(s)`,params:({params:{min:t,max:n}})=>n===void 0?Ei._`{minContains: ${t}}`:Ei._`{minContains: ${t}, maxContains: ${n}}`},pv={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:dv,code(t){let{gen:n,schema:e,parentSchema:s,data:o,it:f}=t,h,v,{minContains:b,maxContains:A}=s;f.opts.next?(h=b===void 0?1:b,v=A):h=1;let w=n.const("len",Ei._`${o}.length`);if(t.setParams({min:h,max:v}),v===void 0&&h===0){id.checkStrictMode(f,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(v!==void 0&&h>v){id.checkStrictMode(f,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(hv.alwaysValidSchema(f,e)){let L=Ei._`${w} >= ${h}`;v!==void 0&&(L=Ei._`${L} && ${w} <= ${v}`),t.pass(L);return}f.items=!0;let T=n.name("valid");if(v===void 0&&h===1)N(T,()=>n.if(T,()=>n.break()));else{n.let(T,!1);let L=n.name("_valid"),V=n.let("count",0);N(L,()=>n.if(L,()=>R(V)))}t.result(T,()=>t.reset());function N(L,V){n.forRange("i",0,w,G=>{t.subschema({keyword:"contains",dataProp:G,dataPropType:cv.Type.Num,compositeRule:!0},L),V()})}function R(L){n.code(Ei._`${L}++`),v===void 0?n.if(Ei._`${L} >= ${h}`,()=>n.assign(T,!0).break()):(n.if(Ei._`${L} > ${v}`,()=>n.assign(T,!1).break()),h===1?n.assign(T,!0):n.if(Ei._`${L} >= ${h}`,()=>n.assign(T,!0)))}}};xf.default=pv});var od=Ee(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.validateSchemaDeps=Li.validatePropertyDeps=Li.error=void 0;var kf=Qe(),mv=qt(),ra=ki();Li.error={message:({params:{property:t,depsCount:n,deps:e}})=>{let s=n===1?"property":"properties";return kf.str`should have ${s} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:n,deps:e,missingProperty:s}})=>kf._`{property: ${t},
6
6
  missingProperty: ${s},
7
- depsCount: ${r},
8
- deps: ${e}}`};var gw={keyword:"dependencies",type:"object",schemaType:"object",error:qn.error,code(t){let[r,e]=yw(t);eh(t,r),th(t,e)}};function yw({schema:t}){let r={},e={};for(let s in t){if(s==="__proto__")continue;let a=Array.isArray(t[s])?r:e;a[s]=t[s]}return[r,e]}function eh(t,r=t.schema){let{gen:e,data:s,it:a}=t;if(Object.keys(r).length===0)return;let o=e.let("missing");for(let u in r){let f=r[u];if(f.length===0)continue;let p=na.propertyInData(e,s,u,a.opts.ownProperties);t.setParams({property:u,depsCount:f.length,deps:f.join(", ")}),a.allErrors?e.if(p,()=>{for(let m of f)na.checkReportMissingProp(t,m)}):(e.if(wu._`${p} && (${na.checkMissingProp(t,f,o)})`),na.reportMissingProp(t,o),e.else())}}qn.validatePropertyDeps=eh;function th(t,r=t.schema){let{gen:e,data:s,keyword:a,it:o}=t,u=e.name("valid");for(let f in r)mw.alwaysValidSchema(o,r[f])||(e.if(na.propertyInData(e,s,f,o.opts.ownProperties),()=>{let p=t.subschema({keyword:a,schemaProp:f},u);t.mergeValidEvaluated(p,u)},()=>e.var(u,!0)),t.ok(u))}qn.validateSchemaDeps=th;qn.default=gw});var nh=xe($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});var vu=Ue(),bw=Tt(),ww={message:({params:t})=>vu.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>vu._`{propertyName: ${t.propertyName}}`},vw={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:ww,code(t){let{gen:r,schema:e,data:s,it:a}=t;if(bw.alwaysValidSchema(a,e))return;let o=r.name("valid");r.forIn("key",s,u=>{t.setParams({propertyName:u}),t.subschema({keyword:"propertyNames",data:u,dataTypes:["string"],propertyName:u,compositeRule:!0},o),r.if(vu.not(o),()=>{t.error(!0),a.allErrors||r.break()})}),t.ok(o)}};$u.default=vw});var Au=xe(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});var fo=pn(),gn=Ue(),$w=fn(),xw=Ti(),xu=Tt(),kw={message:"should NOT have additional properties",params:({params:t})=>gn._`{additionalProperty: ${t.additionalProperty}}`},Aw={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:kw,code(t){let{gen:r,schema:e,parentSchema:s,data:a,errsCount:o,it:u}=t;if(!o)throw new Error("ajv implementation error");let{allErrors:f,opts:p}=u;if(u.props=!0,p.removeAdditional!=="all"&&xu.alwaysValidSchema(u,e))return;let m=fo.allSchemaProperties(s.properties),d=fo.allSchemaProperties(s.patternProperties);v(),t.ok(gn._`${o} === ${$w.default.errors}`);function v(){r.forIn("key",a,j=>{!m.length&&!d.length?C(j):r.if(S(j),()=>C(j))})}function S(j){let B;if(m.length>8){let re=xu.schemaRefOrVal(u,s.properties,"properties");B=fo.isOwnProperty(r,re,j)}else m.length?B=gn.or(...m.map(re=>gn._`${j} === ${re}`)):B=gn.nil;return d.length&&(B=gn.or(B,...d.map(re=>gn._`${fo.usePattern(r,re)}.test(${j})`))),gn.not(B)}function E(j){r.code(gn._`delete ${a}[${j}]`)}function C(j){if(p.removeAdditional==="all"||p.removeAdditional&&e===!1){E(j);return}if(e===!1){t.setParams({additionalProperty:j}),t.error(),f||r.break();return}if(typeof e=="object"&&!xu.alwaysValidSchema(u,e)){let B=r.name("valid");p.removeAdditional==="failing"?(N(j,B,!1),r.if(gn.not(B),()=>{t.reset(),E(j)})):(N(j,B),f||r.if(gn.not(B),()=>r.break()))}}function N(j,B,re){let ce={keyword:"additionalProperties",dataProp:j,dataPropType:xw.Type.Str};re===!1&&Object.assign(ce,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(ce,B)}}};ku.default=Aw});var ah=xe(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});var _w=Us(),ih=pn(),_u=Tt(),sh=Au(),Ew={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:s,data:a,it:o}=t;o.opts.removeAdditional==="all"&&s.additionalProperties===void 0&&sh.default.code(new _w.default(o,sh.default,"additionalProperties"));let u=ih.allSchemaProperties(e);for(let v of u)o.definedProperties.add(v);o.opts.unevaluated&&u.length&&o.props!==!0&&(o.props=_u.mergeEvaluated.props(r,_u.toHash(u),o.props));let f=u.filter(v=>!_u.alwaysValidSchema(o,e[v]));if(f.length===0)return;let p=r.name("valid");for(let v of f)m(v)?d(v):(r.if(ih.propertyInData(r,a,v,o.opts.ownProperties)),d(v),o.allErrors||r.else().var(p,!0),r.endIf()),t.it.definedProperties.add(v),t.ok(p);function m(v){return o.opts.useDefaults&&!o.compositeRule&&e[v].default!==void 0}function d(v){t.subschema({keyword:"properties",schemaProp:v,dataProp:v},p)}}};Eu.default=Ew});var lh=xe(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});var oh=pn(),po=Ue(),Sw=Ti(),Cw=jr(),Tw=Tt(),Pw={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:s,parentSchema:a,it:o}=t,{opts:u}=o,f=oh.schemaProperties(o,e);if(f.length===0)return;let p=u.strict&&!u.allowMatchingProperties&&a.properties,m=r.name("valid");o.props!==!0&&!(o.props instanceof po.Name)&&(o.props=Tw.evaluatedPropsToName(r,o.props));let{props:d}=o;v();function v(){for(let C of f)p&&S(C),o.allErrors?E(C):(r.var(m,!0),E(C),r.if(m))}function S(C){for(let N in p)new RegExp(C).test(N)&&Cw.checkStrictMode(o,`property ${N} matches pattern ${C} (use allowMatchingProperties)`)}function E(C){r.forIn("key",s,N=>{r.if(po._`${oh.usePattern(r,C)}.test(${N})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:C,dataProp:N,dataPropType:Sw.Type.Str},m),o.opts.unevaluated&&d!==!0?r.assign(po._`${d}[${N}]`,!0):o.allErrors||r.if(po.not(m),()=>r.break())})})}}};Su.default=Pw});var uh=xe(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});var Fw=Tt(),Dw={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:s}=t;if(Fw.alwaysValidSchema(s,e)){t.fail();return}let a=r.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),t.result(a,()=>t.error(),()=>t.reset())},error:{message:"should NOT be valid"}};Cu.default=Dw});var ch=xe(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});var Iw=pn(),Ow={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Iw.validateUnion,error:{message:"should match some schema in anyOf"}};Tu.default=Ow});var fh=xe(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var ho=Ue(),qw=Tt(),Rw={message:"should match exactly one schema in oneOf",params:({params:t})=>ho._`{passingSchemas: ${t.passing}}`},Nw={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rw,code(t){let{gen:r,schema:e,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let a=e,o=r.let("valid",!1),u=r.let("passing",null),f=r.name("_valid");t.setParams({passing:u}),r.block(p),t.result(o,()=>t.reset(),()=>t.error(!0));function p(){a.forEach((m,d)=>{let v;qw.alwaysValidSchema(s,m)?r.var(f,!0):v=t.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},f),d>0&&r.if(ho._`${f} && ${o}`).assign(o,!1).assign(u,ho._`[${u}, ${d}]`).else(),r.if(f,()=>{r.assign(o,!0),r.assign(u,d),v&&t.mergeEvaluated(v,ho.Name)})})}}};Pu.default=Nw});var ph=xe(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});var Lw=Tt(),Mw={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let a=r.name("valid");e.forEach((o,u)=>{if(Lw.alwaysValidSchema(s,o))return;let f=t.subschema({keyword:"allOf",schemaProp:u},a);t.ok(a),t.mergeEvaluated(f)})}};Fu.default=Mw});var dh=xe(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});var mo=Ue(),zw=Tt(),jw=jr(),Vw={message:({params:t})=>mo.str`should match "${t.ifClause}" schema`,params:({params:t})=>mo._`{failingKeyword: ${t.ifClause}}`},Bw={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Vw,code(t){let{gen:r,parentSchema:e,it:s}=t;e.then===void 0&&e.else===void 0&&jw.checkStrictMode(s,'"if" without "then" and "else" is ignored');let a=hh(s,"then"),o=hh(s,"else");if(!a&&!o)return;let u=r.let("valid",!0),f=r.name("_valid");if(p(),t.reset(),a&&o){let d=r.let("ifClause");t.setParams({ifClause:d}),r.if(f,m("then",d),m("else",d))}else a?r.if(f,m("then")):r.if(mo.not(f),m("else"));t.pass(u,()=>t.error(!0));function p(){let d=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(d)}function m(d,v){return()=>{let S=t.subschema({keyword:d},f);r.assign(u,f),t.mergeValidEvaluated(S,u),v?r.assign(v,mo._`${d}`):t.setParams({ifClause:d})}}}};function hh(t,r){let e=t.schema[r];return e!==void 0&&!zw.alwaysValidSchema(t,e)}Du.default=Bw});var mh=xe(Iu=>{"use strict";Object.defineProperty(Iu,"__esModule",{value:!0});var Uw=jr(),Hw={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`)}};Iu.default=Hw});var gh=xe(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});var Gw=Jp(),Kw=Zp(),Ww=Yp(),Jw=rh(),Qw=nh(),Zw=Au(),Xw=ah(),Yw=lh(),e1=uh(),t1=ch(),r1=fh(),n1=ph(),i1=dh(),s1=mh(),a1=[e1.default,t1.default,r1.default,n1.default,i1.default,s1.default,Gw.default,Kw.default,Ww.default,Qw.default,Zw.default,Jw.default,Xw.default,Yw.default];Ou.default=a1});var yh=xe(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});var Nt=Ue(),o1={message:({schemaCode:t})=>Nt.str`should match format "${t}"`,params:({schemaCode:t})=>Nt._`{format: ${t}}`},l1={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:o1,code(t,r){let{gen:e,data:s,$data:a,schema:o,schemaCode:u,it:f}=t,{opts:p,errSchemaPath:m,schemaEnv:d,self:v}=f;if(!p.validateFormats)return;a?S():E();function S(){let C=e.scopeValue("formats",{ref:v.formats,code:p.code.formats}),N=e.const("fDef",Nt._`${C}[${u}]`),j=e.let("fType"),B=e.let("format");e.if(Nt._`typeof ${N} == "object" && !(${N} instanceof RegExp)`,()=>e.assign(j,Nt._`${N}.type || "string"`).assign(B,Nt._`${N}.validate`),()=>e.assign(j,Nt._`"string"`).assign(B,N)),t.fail$data(Nt.or(re(),ce()));function re(){return p.strict===!1?Nt.nil:Nt._`${u} && !${B}`}function ce(){let ve=d.$async?Nt._`(${N}.async ? await ${B}(${s}) : ${B}(${s}))`:Nt._`${B}(${s})`,me=Nt._`(typeof ${B} == "function" ? ${ve} : ${B}.test(${s}))`;return Nt._`${B} && ${B} !== true && ${j} === ${r} && !${me}`}}function E(){let C=v.formats[o];if(!C){re();return}if(C===!0)return;let[N,j,B]=ce(C);N===r&&t.pass(ve());function re(){if(p.strict===!1){v.logger.warn(me());return}throw new Error(me());function me(){return`unknown format "${o}" ignored in schema at path "${m}"`}}function ce(me){let le=e.scopeValue("formats",{key:o,ref:me,code:p.code.formats?Nt._`${p.code.formats}${Nt.getProperty(o)}`:void 0});return typeof me=="object"&&!(me instanceof RegExp)?[me.type||"string",me.validate,Nt._`${le}.validate`]:["string",me,le]}function ve(){if(typeof C=="object"&&!(C instanceof RegExp)&&C.async){if(!d.$async)throw new Error("async format in sync schema");return Nt._`await ${B}(${s})`}return typeof j=="function"?Nt._`${B}(${s})`:Nt._`${B}.test(${s})`}}}};qu.default=l1});var bh=xe(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});var u1=yh(),c1=[u1.default];Ru.default=c1});var wh=xe(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 $h=xe(Nu=>{"use strict";Object.defineProperty(Nu,"__esModule",{value:!0});var f1=Rp(),p1=Wp(),h1=gh(),d1=bh(),vh=wh(),m1=[f1.default,p1.default,h1.default,d1.default,vh.metadataVocabulary,vh.contentVocabulary];Nu.default=m1});var xh=xe((Xk,g1)=>{g1.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 Ah=xe(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 y1=Us();er.KeywordCxt=y1.default;var ps=Ue();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 b1=Pp(),w1=$h(),kh=xh(),v1=["/properties"],go="http://json-schema.org/draft-07/schema",Lu=class extends b1.default{_addVocabularies(){super._addVocabularies(),w1.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(kh,v1):kh;this.addMetaSchema(r,go,!1),this.refs["http://json-schema.org/schema"]=go}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(go)?go:void 0)}};er.default=Lu});var Eh=xe((eA,_h)=>{var $1=Object.prototype.hasOwnProperty,x1=Object.prototype.toString;_h.exports=function(r,e,s){if(x1.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var a=r.length;if(a===+a)for(var o=0;o<a;o++)e.call(s,r[o],o,r);else for(var u in r)$1.call(r,u)&&e.call(s,r[u],u,r)}});var Ch=xe((tA,Sh)=>{"use strict";var k1=Eh();Sh.exports=bt;function bt(t,r,e){if(arguments.length===3)return bt.set(t,r,e);if(arguments.length===2)return bt.get(t,r);var s=bt.bind(bt,t);for(var a in bt)bt.hasOwnProperty(a)&&(s[a]=bt[a].bind(s,t));return s}bt.get=function(r,e){for(var s=Array.isArray(e)?e:bt.parse(e),a=0;a<s.length;++a){var o=s[a];if(!(typeof r=="object"&&o in r))throw new Error("Invalid reference token: "+o);r=r[o]}return r};bt.set=function(r,e,s){var a=Array.isArray(e)?e:bt.parse(e),o=a[0];if(a.length===0)throw Error("Can not set the root object");for(var u=0;u<a.length-1;++u){var f=a[u];f==="__proto__"||f==="constructor"||f==="prototype"||(f==="-"&&Array.isArray(r)&&(f=r.length),o=a[u+1],f in r||(o.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return o==="-"&&Array.isArray(r)&&(o=r.length),r[o]=s,this};bt.remove=function(t,r){var e=Array.isArray(r)?r:bt.parse(r),s=e[e.length-1];if(s===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var a=bt.get(t,e.slice(0,-1));if(Array.isArray(a)){var o=+s;if(s===""&&isNaN(o))throw new Error('Invalid array index: "'+s+'"');Array.prototype.splice.call(a,o,1)}else delete a[s]};bt.dict=function(r,e){var s={};return bt.walk(r,function(a,o){s[o]=a},e),s};bt.walk=function(r,e,s){var a=[];s=s||function(o){var u=Object.prototype.toString.call(o);return u==="[object Object]"||u==="[object Array]"},function o(u){k1(u,function(f,p){a.push(String(p)),s(f)?o(f):e(f,bt.compile(a)),a.pop()})}(r)};bt.has=function(r,e){try{bt.get(r,e)}catch{return!1}return!0};bt.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};bt.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};bt.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(bt.unescape)};bt.compile=function(r){return r.length===0?"":"/"+r.map(bt.escape).join("/")}});var Uu=xe((kA,Kh)=>{"use strict";function R1(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function qi(t,r,e,s){this.message=t,this.expected=r,this.found=e,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,qi)}R1(qi,Error);qi.buildMessage=function(t,r){var e={literal:function(m){return'"'+a(m.text)+'"'},class:function(m){var d="",v;for(v=0;v<m.parts.length;v++)d+=m.parts[v]instanceof Array?o(m.parts[v][0])+"-"+o(m.parts[v][1]):o(m.parts[v]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function s(m){return m.charCodeAt(0).toString(16).toUpperCase()}function a(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+s(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+s(d)})}function o(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+s(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+s(d)})}function u(m){return e[m.type](m)}function f(m){var d=new Array(m.length),v,S;for(v=0;v<m.length;v++)d[v]=u(m[v]);if(d.sort(),d.length>0){for(v=1,S=1;v<d.length;v++)d[v-1]!==d[v]&&(d[S]=d[v],S++);d.length=S}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function p(m){return m?'"'+a(m)+'"':"end of input"}return"Expected "+f(t)+" but "+p(r)+" found."};function N1(t,r){r=r!==void 0?r:{};var e={},s={Document:nf,attributesOnly:ag},a=nf,o=function(l){return l},u=function(l){return yf(l)},f=function(){return!!r.podMode},p=function(l){return l},m=ng(),d=function(){return{text:on(),type:"ambient",location:At()}},v=/^[ \xA0\u2001\t\f\u2008]/,S=Ct([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),E=/^[ \t\f]/,C=Ct([" "," ","\f"],!1,!1),N=/^[\n\r]/,j=Ct([`
9
- `,"\r"],!1,!1),B=function(l){return l},re=/^[^\n\r]/,ce=Ct([`
10
- `,"\r"],!0,!1),ve=`
11
- `,me=dt(`
12
- `,!1),le="\r",fe=dt("\r",!1),Ae=function(){return{type:"blankline"}},be="=begin ",He=dt("=begin ",!1),Pe="=end ",Oe=dt("=end ",!1),ye="=for ",Fe=dt("=for ",!1),et="=config",se=dt("=config",!1),vt="=alias",tt=dt("=alias",!1),$t=function(l){return kg(l)},at=function(l){return l},H="=",G=dt("=",!1),dr=Oa("text"),Lt=function(){return on()},Et=function(){return fl(r,"Line looks like a directive but could not be read; it stays as text",At(),"directive-unreadable"),{type:"para",value:on(),error:!0,location:At()}},Ot=function(l,c){return si([l,c])},Pt=function(l){return[l]},ft=/^[ \t]/,mr=Ct([" "," "],!1,!1),Mt=",",tr=dt(",",!1),Or=function(l,c){return si([l,c])},rn=/^[a-zA-Z0-9]/,rr=Ct([["a","z"],["A","Z"],["0","9"]],!1,!1),nn=/^[a-zA-Z0-9_\-]/,Vr=Ct([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),yn=function(l){return!l.dropped},bn=function(l){return{[l.name]:l.value}},Ln="=>",_e=dt("=>",!1),Gt=function(l,c){return{[l]:c}},Mn=function(l,c){return{...l,...c}},ze=function(l){return l},qe=":",wt=dt(":",!1),xt=/^[!]/,qt=Ct(["!"],!1,!1),ne="allow",ue=dt("allow",!1),we="<",ke=dt("<",!1),pt=">",zt=dt(">",!1),De=function(l,c,g){return{value:g,type:"array"}},Qe=function(l,c){return{value:[],type:"array"}},Ft=function(l,c,g){return{name:"allow",...g,...l?{isFalse:!0}:{}}},Br=/^[^ \t\r\n,<>[\]{}()'"]/,mt=Ct([" "," ","\r",`
13
- `,",","<",">","[","]","{","}","(",")","'",'"'],!0,!1),wn=function(l,c){return c},gr=function(l,c){return si([l,...c])},Hi=function(l){return l},ws=function(l){return l},vn=function(l){return[l]},vs=function(){return[]},Ur="{",sn=dt("{",!1),an="}",$n=dt("}",!1),Gi=function(l,c,g){return{value:g,type:"map"}},di=function(l,c){return{value:{},type:"map"}},Ki=function(l,c){return{unreadable:!0,location:At()}},Jn="[",K=dt("[",!1),M="]",X=dt("]",!1),ie=function(l,c){return{unreadable:!0,location:At(),message:"Square brackets are not an attribute value form; write a list with angle brackets or parentheses"}},oe=function(l,c,g){return{value:g,type:"array"}},ge=/^[']/,Ce=Ct(["'"],!1,!1),Re=/^[^'\n\r]/,je=Ct(["'",`
14
- `,"\r"],!0,!1),lt=function(l,c,g){return{value:g,type:"string"}},Ie=/^["]/,rt=Ct(['"'],!1,!1),ut=/^[^"\n\r]/,nt=Ct(['"',`
15
- `,"\r"],!0,!1),Ge=function(l,c,g){return{value:g.trim(),type:"string"}},ht=function(l,c){return{value:[],type:"array"}},Be="(",Kt=dt("(",!1),Wt=function(l,c,g){return g.length>1?{type:"array",value:g}:{type:$g(g[0]),value:g[0]}},kt=")",Ve=dt(")",!1),Jt=function(l,c,g){return g},nr=function(l,c){return{unreadable:!0,location:At(),message:"Bare text in parentheses; quote it or use a number"}},yr="\uFF62",Hr=dt("\uFF62",!1),Ar=/^[^\uFF63\n\r]/,xn=Ct(["\uFF63",`
16
- `,"\r"],!0,!1),Qn="\uFF63",Zn=dt("\uFF63",!1),kn=function(l,c){return{unreadable:!0,location:At(),message:"Value is not closed; only a bracketed value may continue on the next configuration line"}},An=function(l,c){return{value:!l,type:"boolean"}},qr=function(l,c,g){return g.unreadable?(fl(r,g.message||`cannot read the value of :${c}`,g.location),{name:c,dropped:!0}):{name:c,...g,...l&&g.type!=="boolean"?{isFalse:!0}:{}}},Rr=function(l,c){return c},Gr=function(l,c,g){return yf(si([...l,...c]))},_r=function(){fl(r,"Configuration continuation line could not be read",At())},zn=/^[^'"]/,mi=Ct(["'",'"'],!0,!1),jn=function(l){return l},Nr=/^[0-9]/,n=Ct([["0","9"]],!1,!1),pe=/^[\-+]/,Kr=Ct(["-","+"],!1,!1),br="True",Xn=dt("True",!1),k=function(){return!0},Qt="False",Er=dt("False",!1),Wi=function(){return!1},Yn=".",_n=dt(".",!1),Ze=/^[eE]/,jt=Ct(["e","E"],!1,!1),Vn=function(l){return parseFloat(l)},Ji=function(l){return parseInt(l,10)},$s=function(l,c,g){return c.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||La(c)},gi=function(l,c,g,b,$){return l.length===b.length&&c===$},En=function(l,c,g,b,$){return Ag(l,`${b}${$}`)},J=function(l,c,g,b,$,y){return c===y},ba=function(l,c,g,b,$,y){return{type:"block",content:b===""?[]:[{type:"verbatim",value:b.join("")}],name:c,margin:l}},yi=function(l,c,g,b,$,y){return!0},xs=function(l,c,g,b,$,y){return{...y,text:on(),config:g,location:At()}},ei=/^[\-+=_|]/,ks=Ct(["-","+","=","_","|"],!1,!1),Vo=function(){return{type:"separator",text:on()}},As=function(){return r.isDelimited},Sn=function(){return{type:"separator",text:on()}},wa=function(l){return{name:"row",type:"text",value:l}},va=function(){return r.separators=[],!0},Bo=function(l,c){return r.separators.push(c.text),c},$a=function(l,c,g,b){return r.separators.push(b.text),b},xa=function(l,c,g,b){return[{name:"row",type:"text",value:g},b]},ka=function(l,c,g){return[g]},Uo=function(l,c,g){return r.separators.length>1?!r.separators.every(b=>b===r.separators[0]):!0},Aa=function(l,c,g){return[{name:"head",type:"text",value:l},c,...si(g)]},Bn=function(l,c){return[{name:"row",type:"text",value:l},c]},ir=function(l){return[...si(l)]},Qi=function(l,c,g){return c==="table"},bi=function(l,c,g){return r.isDelimited=!0,!0},Lr=function(l,c,g,b){return b},Ho=function(l,c,g,b){return b.some($=>$&&($.name==="row"||$.name==="cell"))},_a=function(l,c,g,b,$,y){return{type:"block",content:b,name:c,margin:l}},Cn=function(l,c,g,b,$,y){return{...y,text:on(),config:g,location:At()}},wi=function(l,c,g){return r.isDelimited=!0,!0},Zi=function(l,c,g,b){return b},Go=function(l,c,g,b,$,y){return{type:"block",content:b,name:c,margin:l}},Ko=function(l,c,g,b,$,y){return{...y,text:on(),config:g,location:At()}},Ea=function(l,c,g,b){return b},Sa=function(l,c,g,b,$){let y=c.match(/pod|nested|item|code|defn/)&&b.length-l.length>0?"code":"para";return{text:$,margin:b,type:y,content:[{type:y==="code"?"verbatim":"text",value:$}],location:At()}},Wo=function(l,c,g,b,$,y){return{type:"block",content:b,name:c,margin:l}},Jo=function(l,c,g,b,$,y){return{...y,config:g,location:At()}},Ca=function(){return{text:on(),type:"para",margin:"",content:[{type:"text",value:on()}],location:At()}},_s=function(){return{empty:1}},ti=/^[s]/,ri=Ct(["s"],!1,!1),St=function(l){return{text:on(),type:"ambient1"}},Tn=function(l,c){return c.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||La(c)},Me=function(l,c,g){return{margin:l,type:"block",content:g===""?[]:[{type:"verbatim",value:g}],name:c,config:[],location:At()}},ni=function(l,c){return c==="table"},ef=function(l,c){return r.isDelimited=!1,!0},sr=function(l,c,g){return{margin:l,type:"block",content:g===""?[]:g,name:c,config:[],location:At()}},Pn=function(l,c,g,b){let $=(g===`
17
- `?"":g)+b;return{margin:l,type:"block",content:$===""?[]:[{type:"para",text:$,margin:"",content:[{type:"text",value:$}],location:At()}],name:c,location:At()}},ot="= ",Ta=dt("= ",!1),Qo=function(l,c){return si([...l,...c])},Zo=function(l){return{kind:"attrs",attrs:l}},Xo=function(l,c){return{kind:"alias",name:l,value:c}},Yo=function(l){return{kind:"value",value:l}},el=function(l){return l},vi="=set",Es=dt("=set",!1),h=function(l,c,g){let b=[],$=null,y=()=>{if(!$)return;let I=$.parts.map(z=>z.trim()).filter(z=>z.length).join(" ");b.push({name:$.name,value:I,type:"string"}),$=null};for(let I of[c,...g])I.kind==="attrs"?(y(),b.push(...I.attrs)):I.kind==="alias"?(y(),$={name:I.name,parts:[I.value]}):I.kind==="value"&&$&&$.parts.push(I.value);return y(),{type:"set",config:b,margin:l,location:At()}},w=function(l,c,g,b){return{name:g,type:"alias",replacement:b,margin:l}},T=/^[A-Z]/,x=Ct([["A","Z"]],!1,!1),_="<>",q=dt("<>",!1),V=function(l,c,g,b){return{name:g,type:"config",config:b,margin:l}},P="=boundary",R=dt("=boundary",!1),Q=function(l,c,g){return{name:"boundary",type:"block",content:[],config:g,margin:l,location:At()}},D=function(l,c,g,b){return g.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||La(g)},ee=function(l,c,g,b,$){return{type:"block",content:$===""?[]:[{type:"verbatim",value:$}],name:g,margin:l,config:b,location:At()}},W=function(l,c,g,b){return g==="table"},U=function(l,c,g,b){return r.isDelimited=!1,!0},Y=function(l,c,g,b,$){return{type:"block",content:$===""?[]:$,name:g,margin:l,config:b,location:At()}},Xm=function(l,c,g,b,$){return{type:"block",content:$===""?[]:[{type:"para",content:[{type:"text",value:$}],margin:l,text:$,location:At()}],name:g,margin:l,config:b,location:At()}},Ym=/^[a-zA-Z]/,eg=Ct([["a","z"],["A","Z"]],!1,!1),tg=Oa("whitespace"),Pa=/^[\r\n \t\f]/,Fa=Ct(["\r",`
18
- `," "," ","\f"],!1,!1),rg=Oa("space characters"),i=0,ae=0,Da=[{line:1,column:1}],Fn=0,tl=[],L=0,Ia;if("startRule"in r){if(!(r.startRule in s))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');a=s[r.startRule]}function on(){return t.substring(ae,i)}function At(){return Ss(ae,i)}function zx(l,c){throw c=c!==void 0?c:Ss(ae,i),rf([Oa(l)],t.substring(ae,i),c)}function jx(l,c){throw c=c!==void 0?c:Ss(ae,i),sg(l,c)}function dt(l,c){return{type:"literal",text:l,ignoreCase:c}}function Ct(l,c,g){return{type:"class",parts:l,inverted:c,ignoreCase:g}}function ng(){return{type:"any"}}function ig(){return{type:"end"}}function Oa(l){return{type:"other",description:l}}function tf(l){var c=Da[l],g;if(c)return c;for(g=l-1;!Da[g];)g--;for(c=Da[g],c={line:c.line,column:c.column};g<l;)t.charCodeAt(g)===10?(c.line++,c.column=1):c.column++,g++;return Da[l]=c,c}function Ss(l,c){var g=tf(l),b=tf(c);return{start:{offset:l,line:g.line,column:g.column},end:{offset:c,line:b.line,column:b.column}}}function te(l){i<Fn||(i>Fn&&(Fn=i,tl=[]),tl.push(l))}function sg(l,c){return new qi(l,null,null,c)}function rf(l,c,g){return new qi(qi.buildMessage(l,c),l,c,g)}function nf(){var l,c,g;for(l=i,c=[],g=sf();g!==e;)c.push(g),g=sf();return c!==e&&(ae=l,c=o(c)),l=c,l}function ag(){var l,c,g,b;if(l=i,c=$e(),c!==e){for(g=[],b=ln();b!==e;)g.push(b),b=ln();g!==e?(b=$e(),b!==e?(ae=l,c=u(g),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;return l}function sf(){var l,c,g,b,$,y,I,z;if(l=Ps(),l===e&&(l=gg(),l===e&&(l=il(),l===e&&(l=Fs(),l===e&&(l=Os(),l===e&&(l=cl(),l===e&&(l=qs(),l===e&&(l=al(),l===e&&(l=ol(),l===e&&(l=ll(),l===e&&(l=ul(),l===e&&(l=Ds(),l===e&&(l=sl(),l===e&&(l=Is(),l===e&&(l=i,ae=i,c=f(),c?c=void 0:c=e,c!==e?(g=yg(),g===e&&(g=Wr(),g===e&&(g=lg())),g!==e?(ae=l,c=p(g),l=c):(i=l,l=e)):(i=l,l=e),l===e))))))))))))))){if(l=i,c=i,g=[],b=i,$=i,L++,y=i,I=Un(),I!==e?(z=Bt(),z!==e?(I=[I,z],y=I):(i=y,y=e)):(i=y,y=e),y===e&&(y=xi()),L--,y===e?$=void 0:(i=$,$=e),$!==e?(t.length>i?(y=t.charAt(i),i++):(y=e,L===0&&te(m)),y!==e?($=[$,y],b=$):(i=b,b=e)):(i=b,b=e),b!==e)for(;b!==e;)g.push(b),b=i,$=i,L++,y=i,I=Un(),I!==e?(z=Bt(),z!==e?(I=[I,z],y=I):(i=y,y=e)):(i=y,y=e),y===e&&(y=xi()),L--,y===e?$=void 0:(i=$,$=e),$!==e?(t.length>i?(y=t.charAt(i),i++):(y=e,L===0&&te(m)),y!==e?($=[$,y],b=$):(i=b,b=e)):(i=b,b=e);else g=e;g!==e?c=t.substring(c,i):c=g,c!==e&&(ae=l,c=d()),l=c}return l}function ct(){var l;return v.test(t.charAt(i))?(l=t.charAt(i),i++):(l=e,L===0&&te(S)),l}function $e(){var l,c;for(l=[],E.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(C));c!==e;)l.push(c),E.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(C));return l}function ii(){var l,c,g,b;for(l=i,c=i,g=[],b=ct();b!==e;)g.push(b),b=ct();return g!==e?(N.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(j)),b!==e?(g=[g,b],c=g):(i=c,c=e)):(i=c,c=e),c!==e?l=t.substring(l,i):l=c,l}function Vx(){var l,c,g,b;if(l=i,c=i,g=[],b=Cs(),b!==e)for(;b!==e;)g.push(b),b=Cs();else g=e;return g!==e?c=t.substring(c,i):c=g,c!==e?(g=Sr(),g!==e?(ae=l,c=B(c),l=c):(i=l,l=e)):(i=l,l=e),l}function Cs(){var l;return re.test(t.charAt(i))?(l=t.charAt(i),i++):(l=e,L===0&&te(ce)),l}function Vt(){var l,c,g;return t.charCodeAt(i)===10?(l=ve,i++):(l=e,L===0&&te(me)),l===e&&(l=i,t.charCodeAt(i)===13?(c=le,i++):(c=e,L===0&&te(fe)),c!==e?(t.charCodeAt(i)===10?(g=ve,i++):(g=e,L===0&&te(me)),g===e&&(g=null),g!==e?(c=[c,g],l=c):(i=l,l=e)):(i=l,l=e)),l}function Sr(){var l,c;return l=Vt(),l===e&&(l=i,L++,t.length>i?(c=t.charAt(i),i++):(c=e,L===0&&te(m)),L--,c===e?l=void 0:(i=l,l=e)),l}function Mr(){var l,c,g,b;for(l=i,c=i,g=[],b=ct();b!==e;)g.push(b),b=ct();return g!==e?(N.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(j)),b!==e?(g=[g,b],c=g):(i=c,c=e)):(i=c,c=e),c!==e?l=t.substring(l,i):l=c,l}function Wr(){var l,c,g,b,$;for(l=i,c=i,g=i,b=[],$=ct();$!==e;)b.push($),$=ct();return b!==e?(N.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(j)),$!==e?(b=[b,$],g=b):(i=g,g=e)):(i=g,g=e),g!==e?c=t.substring(c,i):c=g,c!==e&&(ae=l,c=Ae()),l=c,l}function Ts(){var l;return t.substr(i,7)===be?(l=be,i+=7):(l=e,L===0&&te(He)),l}function $i(){var l;return t.substr(i,5)===Pe?(l=Pe,i+=5):(l=e,L===0&&te(Oe)),l}function qa(){var l;return t.substr(i,5)===ye?(l=ye,i+=5):(l=e,L===0&&te(Fe)),l}function af(){var l;return t.substr(i,7)===et?(l=et,i+=7):(l=e,L===0&&te(se)),l}function of(){var l;return t.substr(i,6)===vt?(l=vt,i+=6):(l=e,L===0&&te(tt)),l}function Bt(){var l,c,g;return l=i,c=Na(),c!==e?(ae=i,g=$t(c),g?g=void 0:g=e,g!==e?(ae=l,c=at(c),l=c):(i=l,l=e)):(i=l,l=e),l}function xi(){var l,c,g;return l=i,t.charCodeAt(i)===61?(c=H,i++):(c=e,L===0&&te(G)),c!==e?(g=Bt(),g!==e?(ae=l,c=at(g),l=c):(i=l,l=e)):(i=l,l=e),l}function Un(){var l;return l=Ts(),l===e&&(l=$i(),l===e&&(l=qa(),l===e&&(l=af(),l===e&&(l=of())))),l}function Jr(){var l,c,g;if(L++,l=i,c=[],g=Cs(),g!==e)for(;g!==e;)c.push(g),g=Cs();else c=e;return c!==e?l=t.substring(l,i):l=c,L--,l===e&&(c=e,L===0&&te(dr)),l}function Zt(){var l,c,g,b,$,y,I;if(l=i,c=i,L++,g=i,b=$e(),b!==e?($=af(),$===e&&($=of(),$===e&&($=i,y=Un(),y!==e?(I=Bt(),I!==e?(y=[y,I],$=y):(i=$,$=e)):(i=$,$=e),$===e&&($=xi()))),$!==e?(b=[b,$],g=b):(i=g,g=e)):(i=g,g=e),g===e&&(g=Wr()),L--,g===e?c=void 0:(i=c,c=e),c!==e){if(g=i,b=[],$=Jr(),$!==e)for(;$!==e;)b.push($),$=Jr();else b=e;b!==e?g=t.substring(g,i):g=b,g!==e?(b=Sr(),b!==e?(ae=l,c=Lt(),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;return l}function og(){var l,c,g,b;if(l=i,c=i,g=[],b=Jr(),b!==e)for(;b!==e;)g.push(b),b=Jr();else g=e;return g!==e?c=t.substring(c,i):c=g,c!==e?(g=Sr(),g!==e?(ae=l,c=Lt(),l=c):(i=l,l=e)):(i=l,l=e),l}function lg(){var l,c,g,b,$,y;if(l=i,c=i,g=[],b=i,$=i,L++,y=Sr(),L--,y===e?$=void 0:(i=$,$=e),$!==e?(t.length>i?(y=t.charAt(i),i++):(y=e,L===0&&te(m)),y!==e?($=[$,y],b=$):(i=b,b=e)):(i=b,b=e),b!==e)for(;b!==e;)g.push(b),b=i,$=i,L++,y=Sr(),L--,y===e?$=void 0:(i=$,$=e),$!==e?(t.length>i?(y=t.charAt(i),i++):(y=e,L===0&&te(m)),y!==e?($=[$,y],b=$):(i=b,b=e)):(i=b,b=e);else g=e;return g!==e?c=t.substring(c,i):c=g,c!==e?(g=Sr(),g!==e?(ae=l,c=Et(),l=c):(i=l,l=e)):(i=l,l=e),l}function lf(){var l,c,g,b;if(l=i,c=uf(),c!==e){if(g=[],b=ct(),b!==e)for(;b!==e;)g.push(b),b=ct();else g=e;g!==e?(b=lf(),b!==e?(ae=l,c=Ot(c,b),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;return l===e&&(l=i,c=uf(),c!==e&&(ae=l,c=Pt(c)),l=c),l}function uf(){var l,c;return l=i,c=Cs(),c!==e?l=t.substring(l,i):l=c,l}function cf(){var l,c,g,b,$;if(l=i,c=Vt(),c!==e)if(t.charCodeAt(i)===61?(g=H,i++):(g=e,L===0&&te(G)),g!==e){if(b=[],ft.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(mr)),$!==e)for(;$!==e;)b.push($),ft.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(mr));else b=e;b!==e?(c=[c,g,b],l=c):(i=l,l=e)}else i=l,l=e;else i=l,l=e;return l}function Cr(){var l,c;for(l=[],E.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(C)),c===e&&(c=cf());c!==e;)l.push(c),E.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(C)),c===e&&(c=cf());return l}function ff(){var l,c,g,b,$,y;if(l=i,c=ki(),c!==e){if(g=[],b=ct(),b!==e)for(;b!==e;)g.push(b),b=ct();else g=e;g===e&&(g=i,b=Cr(),b!==e?(t.charCodeAt(i)===44?($=Mt,i++):($=e,L===0&&te(tr)),$!==e?(y=Cr(),y!==e?(b=[b,$,y],g=b):(i=g,g=e)):(i=g,g=e)):(i=g,g=e)),g!==e?(b=ff(),b!==e?(ae=l,c=Or(c,b),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;return l===e&&(l=i,c=ki(),c!==e&&(ae=l,c=Pt(c)),l=c),l}function ug(){var l,c,g,b,$;if(l=i,c=i,g=[],rn.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(rr)),b!==e)for(;b!==e;)g.push(b),rn.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(rr));else g=e;if(g!==e){for(b=[],nn.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(Vr));$!==e;)b.push($),nn.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(Vr));b!==e?(g=[g,b],c=g):(i=c,c=e)}else i=c,c=e;return c!==e?l=t.substring(l,i):l=c,l}function pf(){var l,c,g,b,$,y,I;return l=i,c=Cr(),c!==e?(g=ln(),g!==e?(ae=i,b=yn(g),b?b=void 0:b=e,b!==e?(ae=l,c=bn(g),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l===e&&(l=i,c=Cr(),c!==e?(g=ug(),g!==e?(b=Cr(),b!==e?(t.charCodeAt(i)===44?($=Mt,i++):($=e,L===0&&te(tr)),$===e&&(t.substr(i,2)===Ln?($=Ln,i+=2):($=e,L===0&&te(_e))),$!==e?(y=Cr(),y!==e?(I=ki(),I!==e?(ae=l,c=Gt(g,I),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)),l}function hf(){var l,c,g,b,$,y;return l=i,c=pf(),c!==e?(g=Cr(),g!==e?(t.charCodeAt(i)===44?(b=Mt,i++):(b=e,L===0&&te(tr)),b!==e?($=Cr(),$!==e?(y=hf(),y!==e?(ae=l,c=Mn(c,y),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l===e&&(l=i,c=pf(),c!==e&&(ae=l,c=ze(c)),l=c),l}function cg(){var l,c,g,b,$,y,I,z,A,F,O;return l=i,c=$e(),c!==e?(t.charCodeAt(i)===58?(g=qe,i++):(g=e,L===0&&te(wt)),g!==e?(xt.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(qt)),b===e&&(b=null),b!==e?(t.substr(i,5)===ne?($=ne,i+=5):($=e,L===0&&te(ue)),$!==e?(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I!==e?(z=$e(),z!==e?(A=lf(),A!==e?(F=$e(),F!==e?(t.charCodeAt(i)===62?(O=pt,i++):(O=e,L===0&&te(zt)),O!==e?(ae=y,I=De(b,$,A),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y===e&&(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I!==e?(z=$e(),z!==e?(t.charCodeAt(i)===62?(A=pt,i++):(A=e,L===0&&te(zt)),A!==e?(ae=y,I=Qe(b,$),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)),y!==e?(I=$e(),I!==e?(ae=l,c=Ft(b,$,y),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l}function fg(){var l,c,g;if(l=i,c=[],Br.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,L===0&&te(mt)),g!==e)for(;g!==e;)c.push(g),Br.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,L===0&&te(mt));else c=e;return c!==e?l=t.substring(l,i):l=c,l}function rl(){var l;return l=ki(),l===e&&(l=fg()),l}function pg(){var l,c,g,b,$,y;if(l=i,c=rl(),c!==e){if(g=[],b=i,$=[],y=ct(),y!==e)for(;y!==e;)$.push(y),y=ct();else $=e;if($!==e?(y=rl(),y!==e?(ae=b,$=wn(c,y),b=$):(i=b,b=e)):(i=b,b=e),b!==e)for(;b!==e;){if(g.push(b),b=i,$=[],y=ct(),y!==e)for(;y!==e;)$.push(y),y=ct();else $=e;$!==e?(y=rl(),y!==e?(ae=b,$=wn(c,y),b=$):(i=b,b=e)):(i=b,b=e)}else g=e;g!==e?(ae=l,c=gr(c,g),l=c):(i=l,l=e)}else i=l,l=e;return l}function Bx(){var l,c,g,b,$,y;for(l=i,c=[],g=i,b=$e(),b!==e?($=ki(),$!==e?(y=$e(),y!==e?(ae=g,b=Hi($),g=b):(i=g,g=e)):(i=g,g=e)):(i=g,g=e);g!==e;)c.push(g),g=i,b=$e(),b!==e?($=ki(),$!==e?(y=$e(),y!==e?(ae=g,b=Hi($),g=b):(i=g,g=e)):(i=g,g=e)):(i=g,g=e);return c!==e&&(ae=l,c=ws(c)),l=c,l===e&&(l=i,c=ki(),c!==e&&(ae=l,c=vn(c)),l=c,l===e&&(l=i,c=$e(),c!==e&&(ae=l,c=vs()),l=c)),l}function ln(){var l,c,g,b,$,y,I,z,A,F,O,Z,he,Ee,Te;if(l=cg(),l===e)if(l=i,c=$e(),c!==e)if(t.charCodeAt(i)===58?(g=qe,i++):(g=e,L===0&&te(wt)),g!==e)if(xt.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(qt)),b===e&&(b=null),b!==e)if($=Na(),$!==e){if(y=i,t.charCodeAt(i)===123?(I=Ur,i++):(I=e,L===0&&te(sn)),I!==e?(z=Cr(),z!==e?(A=hf(),A!==e?(F=Cr(),F!==e?(t.charCodeAt(i)===125?(O=an,i++):(O=e,L===0&&te($n)),O!==e?(ae=y,I=Gi(b,$,A),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y===e&&(y=i,t.charCodeAt(i)===123?(I=Ur,i++):(I=e,L===0&&te(sn)),I!==e?(z=Cr(),z!==e?(t.charCodeAt(i)===125?(A=an,i++):(A=e,L===0&&te($n)),A!==e?(ae=y,I=di(b,$),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y===e)){if(y=i,t.charCodeAt(i)===123?(I=Ur,i++):(I=e,L===0&&te(sn)),I!==e){for(z=i,A=[],F=i,O=i,L++,t.charCodeAt(i)===125?(Z=an,i++):(Z=e,L===0&&te($n)),Z===e&&(Z=Vt()),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);F!==e;)A.push(F),F=i,O=i,L++,t.charCodeAt(i)===125?(Z=an,i++):(Z=e,L===0&&te($n)),Z===e&&(Z=Vt()),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);A!==e?z=t.substring(z,i):z=A,z!==e?(t.charCodeAt(i)===125?(A=an,i++):(A=e,L===0&&te($n)),A!==e?(ae=y,I=Ki(b,$),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;if(y===e){if(y=i,t.charCodeAt(i)===91?(I=Jn,i++):(I=e,L===0&&te(K)),I!==e){for(z=i,A=[],F=i,O=i,L++,t.charCodeAt(i)===93?(Z=M,i++):(Z=e,L===0&&te(X)),Z===e&&(Z=Vt()),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);F!==e;)A.push(F),F=i,O=i,L++,t.charCodeAt(i)===93?(Z=M,i++):(Z=e,L===0&&te(X)),Z===e&&(Z=Vt()),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);A!==e?z=t.substring(z,i):z=A,z!==e?(t.charCodeAt(i)===93?(A=M,i++):(A=e,L===0&&te(X)),A!==e?(ae=y,I=ie(b,$),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;if(y===e&&(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I!==e?(z=$e(),z!==e?(A=pg(),A!==e?(F=$e(),F!==e?(t.charCodeAt(i)===62?(O=pt,i++):(O=e,L===0&&te(zt)),O!==e?(ae=y,I=oe(b,$,A),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y===e)){if(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I!==e)if(z=$e(),z!==e)if(ge.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,L===0&&te(Ce)),A!==e){for(F=i,O=[],Re.test(t.charAt(i))?(Z=t.charAt(i),i++):(Z=e,L===0&&te(je));Z!==e;)O.push(Z),Re.test(t.charAt(i))?(Z=t.charAt(i),i++):(Z=e,L===0&&te(je));O!==e?F=t.substring(F,i):F=O,F!==e?(ge.test(t.charAt(i))?(O=t.charAt(i),i++):(O=e,L===0&&te(Ce)),O!==e?(Z=$e(),Z!==e?(t.charCodeAt(i)===62?(he=pt,i++):(he=e,L===0&&te(zt)),he!==e?(ae=y,I=lt(b,$,F),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;else i=y,y=e;else i=y,y=e;if(y===e){if(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I!==e)if(z=$e(),z!==e)if(Ie.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,L===0&&te(rt)),A!==e){for(F=i,O=[],ut.test(t.charAt(i))?(Z=t.charAt(i),i++):(Z=e,L===0&&te(nt));Z!==e;)O.push(Z),ut.test(t.charAt(i))?(Z=t.charAt(i),i++):(Z=e,L===0&&te(nt));O!==e?F=t.substring(F,i):F=O,F!==e?(Ie.test(t.charAt(i))?(O=t.charAt(i),i++):(O=e,L===0&&te(rt)),O!==e?(Z=$e(),Z!==e?(t.charCodeAt(i)===62?(he=pt,i++):(he=e,L===0&&te(zt)),he!==e?(ae=y,I=lt(b,$,F),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;else i=y,y=e;else i=y,y=e;if(y===e){if(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I!==e)if(z=$e(),z!==e){if(A=i,F=[],O=i,Z=i,L++,t.charCodeAt(i)===60?(he=we,i++):(he=e,L===0&&te(ke)),he===e&&(t.charCodeAt(i)===62?(he=pt,i++):(he=e,L===0&&te(zt)),he===e&&(he=Vt())),L--,he===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(he=t.charAt(i),i++):(he=e,L===0&&te(m)),he!==e?(Z=[Z,he],O=Z):(i=O,O=e)):(i=O,O=e),O!==e)for(;O!==e;)F.push(O),O=i,Z=i,L++,t.charCodeAt(i)===60?(he=we,i++):(he=e,L===0&&te(ke)),he===e&&(t.charCodeAt(i)===62?(he=pt,i++):(he=e,L===0&&te(zt)),he===e&&(he=Vt())),L--,he===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(he=t.charAt(i),i++):(he=e,L===0&&te(m)),he!==e?(Z=[Z,he],O=Z):(i=O,O=e)):(i=O,O=e);else F=e;F!==e?A=t.substring(A,i):A=F,A!==e?(t.charCodeAt(i)===62?(F=pt,i++):(F=e,L===0&&te(zt)),F!==e?(ae=y,I=Ge(b,$,A),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;else i=y,y=e;if(y===e&&(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I!==e?(z=$e(),z!==e?(t.charCodeAt(i)===62?(A=pt,i++):(A=e,L===0&&te(zt)),A!==e?(ae=y,I=ht(b,$),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y===e&&(y=i,t.charCodeAt(i)===40?(I=Be,i++):(I=e,L===0&&te(Kt)),I!==e?(z=Cr(),z!==e?(A=i,F=ff(),F!==e&&(ae=A,F=Wt(b,$,F)),A=F,A!==e?(F=Cr(),F!==e?(t.charCodeAt(i)===41?(O=kt,i++):(O=e,L===0&&te(Ve)),O!==e?(ae=y,I=Jt(b,$,A),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y===e&&(y=i,t.charCodeAt(i)===40?(I=Be,i++):(I=e,L===0&&te(Kt)),I!==e?(z=Cr(),z!==e?(t.charCodeAt(i)===41?(A=kt,i++):(A=e,L===0&&te(Ve)),A!==e?(ae=y,I=ht(b,$),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y===e)))){if(y=i,t.charCodeAt(i)===40?(I=Be,i++):(I=e,L===0&&te(Kt)),I!==e)if(z=$e(),z!==e){if(A=i,F=i,t.charCodeAt(i)===58?(O=qe,i++):(O=e,L===0&&te(wt)),O!==e){for(Z=[],he=i,Ee=i,L++,t.charCodeAt(i)===41?(Te=kt,i++):(Te=e,L===0&&te(Ve)),Te===e&&(t.charCodeAt(i)===40?(Te=Be,i++):(Te=e,L===0&&te(Kt))),L--,Te===e?Ee=void 0:(i=Ee,Ee=e),Ee!==e?(t.length>i?(Te=t.charAt(i),i++):(Te=e,L===0&&te(m)),Te!==e?(Ee=[Ee,Te],he=Ee):(i=he,he=e)):(i=he,he=e);he!==e;)Z.push(he),he=i,Ee=i,L++,t.charCodeAt(i)===41?(Te=kt,i++):(Te=e,L===0&&te(Ve)),Te===e&&(t.charCodeAt(i)===40?(Te=Be,i++):(Te=e,L===0&&te(Kt))),L--,Te===e?Ee=void 0:(i=Ee,Ee=e),Ee!==e?(t.length>i?(Te=t.charAt(i),i++):(Te=e,L===0&&te(m)),Te!==e?(Ee=[Ee,Te],he=Ee):(i=he,he=e)):(i=he,he=e);Z!==e?(O=[O,Z],F=O):(i=F,F=e)}else i=F,F=e;F!==e?A=t.substring(A,i):A=F,A!==e?(t.charCodeAt(i)===41?(F=kt,i++):(F=e,L===0&&te(Ve)),F!==e?(ae=y,I=lt(b,$,A),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;else i=y,y=e;if(y===e){if(y=i,t.charCodeAt(i)===40?(I=Be,i++):(I=e,L===0&&te(Kt)),I!==e){for(z=i,A=[],F=i,O=i,L++,t.charCodeAt(i)===41?(Z=kt,i++):(Z=e,L===0&&te(Ve)),Z===e&&(Z=Vt()),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);F!==e;)A.push(F),F=i,O=i,L++,t.charCodeAt(i)===41?(Z=kt,i++):(Z=e,L===0&&te(Ve)),Z===e&&(Z=Vt()),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);A!==e?z=t.substring(z,i):z=A,z!==e?(t.charCodeAt(i)===41?(A=kt,i++):(A=e,L===0&&te(Ve)),A!==e?(ae=y,I=nr(b,$),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;if(y===e){if(y=i,ge.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,L===0&&te(Ce)),I!==e){for(z=i,A=[],Re.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,L===0&&te(je));F!==e;)A.push(F),Re.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,L===0&&te(je));A!==e?z=t.substring(z,i):z=A,z!==e?(ge.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,L===0&&te(Ce)),A!==e?(ae=y,I=lt(b,$,z),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;if(y===e){if(y=i,Ie.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,L===0&&te(rt)),I!==e){for(z=i,A=[],ut.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,L===0&&te(nt));F!==e;)A.push(F),ut.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,L===0&&te(nt));A!==e?z=t.substring(z,i):z=A,z!==e?(Ie.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,L===0&&te(rt)),A!==e?(ae=y,I=lt(b,$,z),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;if(y===e){if(y=i,t.charCodeAt(i)===65378?(I=yr,i++):(I=e,L===0&&te(Hr)),I!==e){for(z=i,A=[],Ar.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,L===0&&te(xn));F!==e;)A.push(F),Ar.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,L===0&&te(xn));A!==e?z=t.substring(z,i):z=A,z!==e?(t.charCodeAt(i)===65379?(A=Qn,i++):(A=e,L===0&&te(Zn)),A!==e?(ae=y,I=lt(b,$,z),y=I):(i=y,y=e)):(i=y,y=e)}else i=y,y=e;if(y===e){if(y=i,t.charCodeAt(i)===60?(I=we,i++):(I=e,L===0&&te(ke)),I===e&&(t.charCodeAt(i)===40?(I=Be,i++):(I=e,L===0&&te(Kt)),I===e&&(t.charCodeAt(i)===123?(I=Ur,i++):(I=e,L===0&&te(sn)),I===e&&(t.charCodeAt(i)===91?(I=Jn,i++):(I=e,L===0&&te(K)),I===e&&(ge.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,L===0&&te(Ce)),I===e&&(Ie.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,L===0&&te(rt)),I===e&&(t.charCodeAt(i)===65378?(I=yr,i++):(I=e,L===0&&te(Hr)))))))),I!==e){for(z=i,A=[],F=i,O=i,L++,Z=Vt(),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);F!==e;)A.push(F),F=i,O=i,L++,Z=Vt(),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(t.length>i?(Z=t.charAt(i),i++):(Z=e,L===0&&te(m)),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);A!==e?z=t.substring(z,i):z=A,z!==e?(ae=y,I=kn(b,$),y=I):(i=y,y=e)}else i=y,y=e;y===e&&(y=i,I=$e(),I!==e&&(ae=y,I=An(b,$)),y=I)}}}}}}}}}}}y!==e?(I=$e(),I!==e?(ae=l,c=qr(b,$,y),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function Hn(){var l,c,g,b,$,y,I,z,A,F;for(l=i,c=[],g=ln();g!==e;)c.push(g),g=ln();if(c!==e)if(g=Vt(),g!==e){if(b=[],$=i,t.charCodeAt(i)===61?(y=H,i++):(y=e,L===0&&te(G)),y!==e)if(I=$e(),I!==e){if(z=[],A=ln(),A!==e)for(;A!==e;)z.push(A),A=ln();else z=e;z!==e?(A=$e(),A!==e?(F=Vt(),F!==e?(ae=$,y=Rr(c,z),$=y):(i=$,$=e)):(i=$,$=e)):(i=$,$=e)}else i=$,$=e;else i=$,$=e;for(;$!==e;)if(b.push($),$=i,t.charCodeAt(i)===61?(y=H,i++):(y=e,L===0&&te(G)),y!==e)if(I=$e(),I!==e){if(z=[],A=ln(),A!==e)for(;A!==e;)z.push(A),A=ln();else z=e;z!==e?(A=$e(),A!==e?(F=Vt(),F!==e?(ae=$,y=Rr(c,z),$=y):(i=$,$=e)):(i=$,$=e)):(i=$,$=e)}else i=$,$=e;else i=$,$=e;b!==e?($=hg(),$===e&&($=null),$!==e?(ae=l,c=Gr(c,b,$),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;else i=l,l=e;return l}function hg(){var l,c,g,b,$;return l=i,c=i,L++,g=i,t.charCodeAt(i)===61?(b=H,i++):(b=e,L===0&&te(G)),b!==e?(ft.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(mr)),$!==e?(b=[b,$],g=b):(i=g,g=e)):(i=g,g=e),L--,g!==e?(i=c,c=void 0):c=e,c!==e&&(ae=l,c=_r()),l=c,l}function Ux(){var l,c,g,b;if(l=i,c=i,g=[],zn.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(mi)),b!==e)for(;b!==e;)g.push(b),zn.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(mi));else g=e;return g!==e?c=t.substring(c,i):c=g,c!==e&&(ae=l,c=jn(c)),l=c,l}function df(){var l,c,g;if(l=i,c=[],Nr.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,L===0&&te(n)),g!==e)for(;g!==e;)c.push(g),Nr.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,L===0&&te(n));else c=e;return c!==e?l=t.substring(l,i):l=c,l}function Ra(){var l,c,g,b,$;if(l=i,c=i,pe.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,L===0&&te(Kr)),g===e&&(g=null),g!==e){if(b=[],Nr.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(n)),$!==e)for(;$!==e;)b.push($),Nr.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(n));else b=e;b!==e?(g=[g,b],c=g):(i=c,c=e)}else i=c,c=e;return c!==e?l=t.substring(l,i):l=c,l}function dg(){var l,c;return l=i,t.substr(i,4)===br?(c=br,i+=4):(c=e,L===0&&te(Xn)),c!==e&&(ae=l,c=k()),l=c,l===e&&(l=i,t.substr(i,5)===Qt?(c=Qt,i+=5):(c=e,L===0&&te(Er)),c!==e&&(ae=l,c=Wi()),l=c),l}function mg(){var l,c,g,b,$,y;return l=i,c=i,g=Ra(),g!==e?(b=i,t.charCodeAt(i)===46?($=Yn,i++):($=e,L===0&&te(_n)),$!==e?(y=df(),y!==e?($=[$,y],b=$):(i=b,b=e)):(i=b,b=e),b===e&&(b=null),b!==e?(Ze.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(jt)),$!==e?(y=Ra(),y!==e?(g=[g,b,$,y],c=g):(i=c,c=e)):(i=c,c=e)):(i=c,c=e)):(i=c,c=e),c!==e?l=t.substring(l,i):l=c,l===e&&(l=i,c=i,g=Ra(),g!==e?(t.charCodeAt(i)===46?(b=Yn,i++):(b=e,L===0&&te(_n)),b!==e?($=df(),$!==e?(g=[g,b,$],c=g):(i=c,c=e)):(i=c,c=e)):(i=c,c=e),c!==e?l=t.substring(l,i):l=c),l}function ki(){var l,c,g,b,$;if(l=i,Ie.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(rt)),c!==e){for(g=i,b=[],ut.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(nt));$!==e;)b.push($),ut.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(nt));b!==e?g=t.substring(g,i):g=b,g!==e?(Ie.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(rt)),b!==e?(ae=l,c=jn(g),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;if(l===e){if(l=i,ge.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(Ce)),c!==e){for(g=i,b=[],Re.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(je));$!==e;)b.push($),Re.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(je));b!==e?g=t.substring(g,i):g=b,g!==e?(ge.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(Ce)),b!==e?(ae=l,c=jn(g),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;l===e&&(l=dg(),l===e&&(l=i,c=mg(),c!==e&&(ae=l,c=Vn(c)),l=c,l===e&&(l=i,c=Ra(),c!==e&&(ae=l,c=Ji(c)),l=c)))}return l}function Ps(){var l,c,g,b,$,y,I,z,A,F,O,Z,he,Ee,Te,zr,Zr;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=Ts(),g!==e)if(b=Bt(),b!==e)if($=$e(),$!==e)if(y=Hn(),y!==e)if(ae=i,I=$s(c,b,y),I?I=void 0:I=e,I!==e){if(z=[],A=i,F=i,O=$e(),O!==e?F=t.substring(F,i):F=O,F!==e?(O=i,Z=ii(),Z===e&&(Z=i,he=i,L++,Ee=Un(),L--,Ee===e?he=void 0:(i=he,he=e),he===e&&(he=i,L++,Ee=i,Te=$i(),Te!==e?(zr=Bt(),zr!==e?(ae=i,Zr=gi(c,b,y,F,zr),Zr?Zr=void 0:Zr=e,Zr!==e?(Te=[Te,zr,Zr],Ee=Te):(i=Ee,Ee=e)):(i=Ee,Ee=e)):(i=Ee,Ee=e),L--,Ee===e?he=void 0:(i=he,he=e)),he!==e?(Ee=Jr(),Ee!==e?(Te=ii(),Te===e&&(Te=null),Te!==e?(he=[he,Ee,Te],Z=he):(i=Z,Z=e)):(i=Z,Z=e)):(i=Z,Z=e)),Z!==e?O=t.substring(O,i):O=Z,O!==e?(ae=A,F=En(c,b,y,F,O),A=F):(i=A,A=e)):(i=A,A=e),A!==e)for(;A!==e;)z.push(A),A=i,F=i,O=$e(),O!==e?F=t.substring(F,i):F=O,F!==e?(O=i,Z=ii(),Z===e&&(Z=i,he=i,L++,Ee=Un(),L--,Ee===e?he=void 0:(i=he,he=e),he===e&&(he=i,L++,Ee=i,Te=$i(),Te!==e?(zr=Bt(),zr!==e?(ae=i,Zr=gi(c,b,y,F,zr),Zr?Zr=void 0:Zr=e,Zr!==e?(Te=[Te,zr,Zr],Ee=Te):(i=Ee,Ee=e)):(i=Ee,Ee=e)):(i=Ee,Ee=e),L--,Ee===e?he=void 0:(i=he,he=e)),he!==e?(Ee=Jr(),Ee!==e?(Te=ii(),Te===e&&(Te=null),Te!==e?(he=[he,Ee,Te],Z=he):(i=Z,Z=e)):(i=Z,Z=e)):(i=Z,Z=e)),Z!==e?O=t.substring(O,i):O=Z,O!==e?(ae=A,F=En(c,b,y,F,O),A=F):(i=A,A=e)):(i=A,A=e);else z=e;z!==e?(A=i,F=$e(),F!==e?A=t.substring(A,i):A=F,A!==e?(F=i,O=$i(),O!==e?(Z=Bt(),Z!==e?(ae=i,he=J(c,b,y,z,A,Z),he?he=void 0:he=e,he!==e?(Ee=ii(),Ee===e&&(Ee=null),Ee!==e?(ae=F,O=ba(c,b,y,z,A,Z),F=O):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e?(ae=i,O=yi(c,b,y,z,A,F),O?O=void 0:O=e,O!==e?(ae=l,c=xs(c,b,y,z,A,F),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function Xi(){var l,c,g,b,$,y,I,z,A;if(l=i,c=i,L++,g=i,b=$e(),b!==e?($=Un(),$===e&&($=xi()),$!==e?(b=[b,$],g=b):(i=g,g=e)):(i=g,g=e),g===e&&(g=Wr()),L--,g===e?c=void 0:(i=c,c=e),c!==e){for(g=[],b=ct();b!==e;)g.push(b),b=ct();if(g!==e){if(b=i,$=[],y=i,ei.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,L===0&&te(ks)),I!==e){for(z=[],A=ct();A!==e;)z.push(A),A=ct();z!==e?(I=[I,z],y=I):(i=y,y=e)}else i=y,y=e;if(y!==e)for(;y!==e;)if($.push(y),y=i,ei.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,L===0&&te(ks)),I!==e){for(z=[],A=ct();A!==e;)z.push(A),A=ct();z!==e?(I=[I,z],y=I):(i=y,y=e)}else i=y,y=e;else $=e;$!==e?b=t.substring(b,i):b=$,b!==e?($=Sr(),$!==e?(ae=l,c=Vo(),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e}else i=l,l=e;return l}function Tr(){var l,c,g,b,$;return l=i,c=i,g=Xi(),g===e&&(g=i,ae=i,b=As(),b?b=void 0:b=e,b!==e?($=Wr(),$!==e?(b=[b,$],g=b):(i=g,g=e)):(i=g,g=e)),g!==e?c=t.substring(c,i):c=g,c!==e&&(ae=l,c=Sn()),l=c,l}function Qr(){var l,c;return l=i,c=Zt(),c!==e&&(ae=l,c=wa(c)),l=c,l}function nl(){var l,c,g,b,$,y,I,z,A,F,O;if(l=i,ae=i,c=va(),c?c=void 0:c=e,c!==e){if(g=i,b=[],$=i,y=i,L++,I=Xi(),L--,I===e?y=void 0:(i=y,y=e),y!==e?(I=Qr(),I!==e?(y=[y,I],$=y):(i=$,$=e)):(i=$,$=e),$!==e)for(;$!==e;)b.push($),$=i,y=i,L++,I=Xi(),L--,I===e?y=void 0:(i=y,y=e),y!==e?(I=Qr(),I!==e?(y=[y,I],$=y):(i=$,$=e)):(i=$,$=e);else b=e;if(b!==e?g=t.substring(g,i):g=b,g!==e)if(b=i,$=Xi(),$!==e&&(ae=b,$=Bo(g,$)),b=$,b!==e){if($=[],y=i,I=i,z=[],A=i,F=i,L++,O=Tr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Qr(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e),A!==e)for(;A!==e;)z.push(A),A=i,F=i,L++,O=Tr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Qr(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e);else z=e;if(z!==e?I=t.substring(I,i):I=z,I!==e?(z=i,A=Tr(),A!==e&&(ae=z,A=$a(g,b,I,A)),z=A,z!==e?(ae=y,I=xa(g,b,I,z),y=I):(i=y,y=e)):(i=y,y=e),y===e&&(y=i,I=i,L++,z=Xi(),L--,z===e?I=void 0:(i=I,I=e),I!==e?(z=i,L++,A=Tr(),L--,A===e?z=void 0:(i=z,z=e),z!==e?(A=Qr(),A!==e?(ae=y,I=ka(g,b,A),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)),y!==e)for(;y!==e;){if($.push(y),y=i,I=i,z=[],A=i,F=i,L++,O=Tr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Qr(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e),A!==e)for(;A!==e;)z.push(A),A=i,F=i,L++,O=Tr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Qr(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e);else z=e;z!==e?I=t.substring(I,i):I=z,I!==e?(z=i,A=Tr(),A!==e&&(ae=z,A=$a(g,b,I,A)),z=A,z!==e?(ae=y,I=xa(g,b,I,z),y=I):(i=y,y=e)):(i=y,y=e),y===e&&(y=i,I=i,L++,z=Xi(),L--,z===e?I=void 0:(i=I,I=e),I!==e?(z=i,L++,A=Tr(),L--,A===e?z=void 0:(i=z,z=e),z!==e?(A=Qr(),A!==e?(ae=y,I=ka(g,b,A),y=I):(i=y,y=e)):(i=y,y=e)):(i=y,y=e))}else $=e;$!==e?(ae=i,y=Uo(g,b,$),y?y=void 0:y=e,y!==e?(ae=l,c=Aa(g,b,$),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;else i=l,l=e}else i=l,l=e;if(l===e){if(l=i,c=[],g=i,b=i,$=i,y=i,L++,I=Tr(),L--,I===e?y=void 0:(i=y,y=e),y!==e?(I=Qr(),I!==e?(y=[y,I],$=y):(i=$,$=e)):(i=$,$=e),$!==e?b=t.substring(b,i):b=$,b!==e){for($=[],y=Tr();y!==e;)$.push(y),y=Tr();$!==e?(ae=g,b=Bn(b,$),g=b):(i=g,g=e)}else i=g,g=e;if(g!==e)for(;g!==e;)if(c.push(g),g=i,b=i,$=i,y=i,L++,I=Tr(),L--,I===e?y=void 0:(i=y,y=e),y!==e?(I=Qr(),I!==e?(y=[y,I],$=y):(i=$,$=e)):(i=$,$=e),$!==e?b=t.substring(b,i):b=$,b!==e){for($=[],y=Tr();y!==e;)$.push(y),y=Tr();$!==e?(ae=g,b=Bn(b,$),g=b):(i=g,g=e)}else i=g,g=e;else c=e;if(c!==e&&(ae=l,c=ir(c)),l=c,l===e)if(l=[],c=Qr(),c!==e)for(;c!==e;)l.push(c),c=Qr();else l=e}return l}function gg(){var l,c,g,b,$,y,I,z,A,F,O,Z,he,Ee,Te,zr;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=Ts(),g!==e)if(b=Bt(),b!==e)if($=$e(),$!==e)if(y=Hn(),y!==e)if(ae=i,I=Qi(c,b,y),I?I=void 0:I=e,I!==e)if(ae=i,z=bi(c,b,y),z?z=void 0:z=e,z!==e){for(A=i,F=[],O=Wr(),O===e&&(O=Ps(),O===e&&(O=Fs(),O===e&&(O=Os(),O===e&&(O=qs(),O===e&&(O=Ds(),O===e&&(O=Is()))))));O!==e;)F.push(O),O=Wr(),O===e&&(O=Ps(),O===e&&(O=Fs(),O===e&&(O=Os(),O===e&&(O=qs(),O===e&&(O=Ds(),O===e&&(O=Is()))))));F!==e&&(ae=A,F=Lr(c,b,y,F)),A=F,A!==e?(ae=i,F=Ho(c,b,y,A),F?F=void 0:F=e,F!==e?(O=i,Z=$e(),Z!==e?O=t.substring(O,i):O=Z,O!==e?(Z=i,he=$i(),he!==e?(Ee=Bt(),Ee!==e?(ae=i,Te=J(c,b,y,A,O,Ee),Te?Te=void 0:Te=e,Te!==e?(zr=ii(),zr===e&&(zr=null),zr!==e?(ae=Z,he=_a(c,b,y,A,O,Ee),Z=he):(i=Z,Z=e)):(i=Z,Z=e)):(i=Z,Z=e)):(i=Z,Z=e),Z!==e?(ae=l,c=Cn(c,b,y,A,O,Z),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function il(){var l,c,g,b,$,y,I,z,A,F,O,Z,he,Ee,Te;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=Ts(),g!==e)if(b=Bt(),b!==e)if($=$e(),$!==e)if(y=Hn(),y!==e)if(ae=i,I=Qi(c,b,y),I?I=void 0:I=e,I!==e)if(ae=i,z=wi(c,b,y),z?z=void 0:z=e,z!==e){for(A=i,F=[],O=Wr();O!==e;)F.push(O),O=Wr();if(F!==e)if(O=nl(),O!==e){for(Z=[],he=Wr();he!==e;)Z.push(he),he=Wr();Z!==e?(ae=A,F=Zi(c,b,y,O),A=F):(i=A,A=e)}else i=A,A=e;else i=A,A=e;A!==e?(F=i,O=$e(),O!==e?F=t.substring(F,i):F=O,F!==e?(O=i,Z=$i(),Z!==e?(he=Bt(),he!==e?(ae=i,Ee=J(c,b,y,A,F,he),Ee?Ee=void 0:Ee=e,Ee!==e?(Te=ii(),Te===e&&(Te=null),Te!==e?(ae=O,Z=Go(c,b,y,A,F,he),O=Z):(i=O,O=e)):(i=O,O=e)):(i=O,O=e)):(i=O,O=e),O!==e?(ae=i,Z=yi(c,b,y,A,F,O),Z?Z=void 0:Z=e,Z!==e?(ae=l,c=Ko(c,b,y,A,F,O),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function Fs(){var l,c,g,b,$,y,I,z,A,F,O,Z,he;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=Ts(),g!==e)if(b=Bt(),b!==e)if($=$e(),$!==e)if(y=Hn(),y!==e){if(I=[],z=i,A=Wr(),A===e&&(A=Ps(),A===e&&(A=il(),A===e&&(A=Fs(),A===e&&(A=Os(),A===e&&(A=cl(),A===e&&(A=qs(),A===e&&(A=al(),A===e&&(A=ol(),A===e&&(A=ll(),A===e&&(A=ul(),A===e&&(A=Ds(),A===e&&(A=sl(),A===e&&(A=Is()))))))))))))),A!==e&&(ae=z,A=Ea(c,b,y,A)),z=A,z===e){for(z=i,A=i,F=[],O=ct();O!==e;)F.push(O),O=ct();if(F!==e?A=t.substring(A,i):A=F,A!==e){if(F=i,O=[],Z=Zt(),Z!==e)for(;Z!==e;)O.push(Z),Z=Zt();else O=e;O!==e?F=t.substring(F,i):F=O,F!==e?(ae=z,A=Sa(c,b,y,A,F),z=A):(i=z,z=e)}else i=z,z=e}for(;z!==e;)if(I.push(z),z=i,A=Wr(),A===e&&(A=Ps(),A===e&&(A=il(),A===e&&(A=Fs(),A===e&&(A=Os(),A===e&&(A=cl(),A===e&&(A=qs(),A===e&&(A=al(),A===e&&(A=ol(),A===e&&(A=ll(),A===e&&(A=ul(),A===e&&(A=Ds(),A===e&&(A=sl(),A===e&&(A=Is()))))))))))))),A!==e&&(ae=z,A=Ea(c,b,y,A)),z=A,z===e){for(z=i,A=i,F=[],O=ct();O!==e;)F.push(O),O=ct();if(F!==e?A=t.substring(A,i):A=F,A!==e){if(F=i,O=[],Z=Zt(),Z!==e)for(;Z!==e;)O.push(Z),Z=Zt();else O=e;O!==e?F=t.substring(F,i):F=O,F!==e?(ae=z,A=Sa(c,b,y,A,F),z=A):(i=z,z=e)}else i=z,z=e}I!==e?(z=i,A=$e(),A!==e?z=t.substring(z,i):z=A,z!==e?(A=i,F=$i(),F!==e?(O=Bt(),O!==e?(ae=i,Z=J(c,b,y,I,z,O),Z?Z=void 0:Z=e,Z!==e?(he=ii(),he===e&&(he=null),he!==e?(ae=A,F=Wo(c,b,y,I,z,O),A=F):(i=A,A=e)):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(ae=i,F=yi(c,b,y,I,z,A),F?F=void 0:F=e,F!==e?(ae=l,c=Jo(c,b,y,I,z,A),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function yg(){var l,c,g;if(l=i,c=[],g=Zt(),g!==e)for(;g!==e;)c.push(g),g=Zt();else c=e;return c!==e&&(ae=l,c=Ca()),l=c,l}function Hx(){var l,c,g,b;if(l=i,c=[],g=i,b=Mr(),b!==e&&(ae=g,b=_s()),g=b,g===e){if(g=[],ti.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(ri)),b!==e)for(;b!==e;)g.push(b),ti.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(ri));else g=e;g===e&&(g=Zt())}if(g!==e){for(;g!==e;)if(c.push(g),g=i,b=Mr(),b!==e&&(ae=g,b=_s()),g=b,g===e){if(g=[],ti.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(ri)),b!==e)for(;b!==e;)g.push(b),ti.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,L===0&&te(ri));else g=e;g===e&&(g=Zt())}}else c=e;return c!==e&&(ae=l,c=St(c)),l=c,l}function Ds(){var l,c,g,b,$,y,I,z,A,F,O,Z;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=i,L++,b=Un(),L--,b===e?g=void 0:(i=g,g=e),g!==e)if(b=xi(),b!==e)if($=$e(),$!==e)if(y=Mr(),y===e&&(y=null),y!==e)if(ae=i,I=Tn(c,b),I?I=void 0:I=e,I!==e){for(z=i,A=[],F=i,O=i,L++,Z=Mr(),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(Z=Zt(),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);F!==e;)A.push(F),F=i,O=i,L++,Z=Mr(),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(Z=Zt(),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);A!==e?z=t.substring(z,i):z=A,z!==e?(ae=l,c=Me(c,b,z),l=c):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function sl(){var l,c,g,b,$,y,I,z,A;return l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e?(g=i,L++,b=Un(),L--,b===e?g=void 0:(i=g,g=e),g!==e?(b=xi(),b!==e?($=$e(),$!==e?(y=Mr(),y===e&&(y=null),y!==e?(ae=i,I=ni(c,b),I?I=void 0:I=e,I!==e?(ae=i,z=ef(c,b),z?z=void 0:z=e,z!==e?(A=nl(),A!==e?(ae=l,c=sr(c,b,A),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l}function Is(){var l,c,g,b,$,y,I,z,A,F,O;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=i,L++,b=Un(),L--,b===e?g=void 0:(i=g,g=e),g!==e)if(b=xi(),b!==e)if($=$e(),$!==e)if(y=Mr(),y===e&&(y=og()),y!==e){for(I=i,z=[],A=i,F=i,L++,O=Mr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Zt(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e);A!==e;)z.push(A),A=i,F=i,L++,O=Mr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Zt(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e);z!==e?I=t.substring(I,i):I=z,I!==e?(ae=l,c=Pn(c,b,y,I),l=c):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function bg(){var l,c,g,b,$,y,I,z,A,F,O;for(l=i,c=[],g=Jr();g!==e;)c.push(g),g=Jr();if(c!==e)if(g=Vt(),g!==e){if(b=[],$=i,y=$e(),y!==e)if(t.substr(i,2)===ot?(I=ot,i+=2):(I=e,L===0&&te(Ta)),I!==e)if(z=$e(),z!==e){if(A=[],F=Jr(),F!==e)for(;F!==e;)A.push(F),F=Jr();else A=e;A!==e?(F=$e(),F!==e?(O=Vt(),O!==e?(ae=$,y=Rr(c,A),$=y):(i=$,$=e)):(i=$,$=e)):(i=$,$=e)}else i=$,$=e;else i=$,$=e;else i=$,$=e;for(;$!==e;)if(b.push($),$=i,y=$e(),y!==e)if(t.substr(i,2)===ot?(I=ot,i+=2):(I=e,L===0&&te(Ta)),I!==e)if(z=$e(),z!==e){if(A=[],F=Jr(),F!==e)for(;F!==e;)A.push(F),F=Jr();else A=e;A!==e?(F=$e(),F!==e?(O=Vt(),O!==e?(ae=$,y=Rr(c,A),$=y):(i=$,$=e)):(i=$,$=e)):(i=$,$=e)}else i=$,$=e;else i=$,$=e;else i=$,$=e;b!==e?(ae=l,c=Qo(c,b),l=c):(i=l,l=e)}else i=l,l=e;else i=l,l=e;return l}function mf(){var l,c,g,b;if(l=i,c=[],g=ln(),g!==e)for(;g!==e;)c.push(g),g=ln();else c=e;return c!==e?(g=$e(),g!==e?(b=Sr(),b!==e?(ae=l,c=Zo(c),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l}function wg(){var l,c,g,b,$,y,I,z,A,F;if(l=i,c=$e(),c!==e)if(t.charCodeAt(i)===58?(g=qe,i++):(g=e,L===0&&te(wt)),g!==e)if(b=Na(),b!==e){if($=[],y=ct(),y!==e)for(;y!==e;)$.push(y),y=ct();else $=e;if($!==e){if(y=i,I=[],z=i,A=i,L++,F=Sr(),L--,F===e?A=void 0:(i=A,A=e),A!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,L===0&&te(m)),F!==e?(A=[A,F],z=A):(i=z,z=e)):(i=z,z=e),z!==e)for(;z!==e;)I.push(z),z=i,A=i,L++,F=Sr(),L--,F===e?A=void 0:(i=A,A=e),A!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,L===0&&te(m)),F!==e?(A=[A,F],z=A):(i=z,z=e)):(i=z,z=e);else I=e;I!==e?y=t.substring(y,i):y=I,y!==e?(I=Sr(),I!==e?(ae=l,c=Xo(b,y),l=c):(i=l,l=e)):(i=l,l=e)}else i=l,l=e}else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function gf(){var l,c,g,b,$,y,I,z,A;if(l=i,t.charCodeAt(i)===61?(c=H,i++):(c=e,L===0&&te(G)),c!==e){if(g=[],b=ct(),b!==e)for(;b!==e;)g.push(b),b=ct();else g=e;if(g!==e){if(b=mf(),b===e){for(b=i,$=i,y=[],I=i,z=i,L++,A=Sr(),L--,A===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(A=t.charAt(i),i++):(A=e,L===0&&te(m)),A!==e?(z=[z,A],I=z):(i=I,I=e)):(i=I,I=e);I!==e;)y.push(I),I=i,z=i,L++,A=Sr(),L--,A===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(A=t.charAt(i),i++):(A=e,L===0&&te(m)),A!==e?(z=[z,A],I=z):(i=I,I=e)):(i=I,I=e);y!==e?$=t.substring($,i):$=y,$!==e?(y=Sr(),y!==e?(ae=b,$=Yo($),b=$):(i=b,b=e)):(i=b,b=e)}b!==e?(ae=l,c=el(b),l=c):(i=l,l=e)}else i=l,l=e}else i=l,l=e;return l}function al(){var l,c,g,b,$,y,I;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(t.substr(i,4)===vi?(g=vi,i+=4):(g=e,L===0&&te(Es)),g!==e){if(b=[],$=ct(),$!==e)for(;$!==e;)b.push($),$=ct();else b=e;if(b!==e)if($=mf(),$===e&&($=wg()),$!==e){for(y=[],I=gf();I!==e;)y.push(I),I=gf();y!==e?(ae=l,c=h(c,$,y),l=c):(i=l,l=e)}else i=l,l=e;else i=l,l=e}else i=l,l=e;else i=l,l=e;return l}function ol(){var l,c,g,b,$,y,I;return l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e?(t.substr(i,6)===vt?(g=vt,i+=6):(g=e,L===0&&te(tt)),g!==e?(b=$e(),b!==e?($=i,y=Na(),y!==e?$=t.substring($,i):$=y,$!==e?(y=$e(),y!==e?(I=bg(),I!==e?(ae=l,c=w(c,g,$,I),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l}function ll(){var l,c,g,b,$,y,I,z;return l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e?(t.substr(i,7)===et?(g=et,i+=7):(g=e,L===0&&te(se)),g!==e?(b=$e(),b!==e?($=i,y=i,T.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,L===0&&te(x)),I!==e?(t.substr(i,2)===_?(z=_,i+=2):(z=e,L===0&&te(q)),z!==e?(I=[I,z],y=I):(i=y,y=e)):(i=y,y=e),y===e&&(y=Bt()),y!==e?$=t.substring($,i):$=y,$!==e?(y=$e(),y!==e?(I=Hn(),I!==e?(ae=l,c=V(c,g,$,I),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l}function ul(){var l,c,g,b,$;return l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e?(t.substr(i,9)===P?(g=P,i+=9):(g=e,L===0&&te(R)),g!==e?(b=$e(),b!==e?($=Hn(),$!==e?(ae=l,c=Q(c,g,$),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l}function Os(){var l,c,g,b,$,y,I,z,A,F,O,Z;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=qa(),g!==e)if(b=Bt(),b!==e)if($=$e(),$!==e)if(y=Hn(),y!==e)if(ae=i,I=D(c,g,b,y),I?I=void 0:I=e,I!==e){for(z=i,A=[],F=i,O=i,L++,Z=Mr(),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(Z=Zt(),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);F!==e;)A.push(F),F=i,O=i,L++,Z=Mr(),L--,Z===e?O=void 0:(i=O,O=e),O!==e?(Z=Zt(),Z!==e?(O=[O,Z],F=O):(i=F,F=e)):(i=F,F=e);A!==e?z=t.substring(z,i):z=A,z!==e?(ae=l,c=ee(c,g,b,y,z),l=c):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function cl(){var l,c,g,b,$,y,I,z,A;return l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e?(g=qa(),g!==e?(b=Bt(),b!==e?($=$e(),$!==e?(y=Hn(),y!==e?(ae=i,I=W(c,g,b,y),I?I=void 0:I=e,I!==e?(ae=i,z=U(c,g,b,y),z?z=void 0:z=e,z!==e?(A=nl(),A!==e?(ae=l,c=Y(c,g,b,y,A),l=c):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e)):(i=l,l=e),l}function qs(){var l,c,g,b,$,y,I,z,A,F,O;if(l=i,c=i,g=$e(),g!==e?c=t.substring(c,i):c=g,c!==e)if(g=qa(),g!==e)if(b=Bt(),b!==e)if($=$e(),$!==e)if(y=Hn(),y!==e){for(I=i,z=[],A=i,F=i,L++,O=Mr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Zt(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e);A!==e;)z.push(A),A=i,F=i,L++,O=Mr(),L--,O===e?F=void 0:(i=F,F=e),F!==e?(O=Zt(),O!==e?(F=[F,O],A=F):(i=A,A=e)):(i=A,A=e);z!==e?I=t.substring(I,i):I=z,I!==e?(ae=l,c=Xm(c,g,b,y,I),l=c):(i=l,l=e)}else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;else i=l,l=e;return l}function Na(){var l,c,g,b,$;if(l=i,c=i,Ym.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,L===0&&te(eg)),g!==e){for(b=[],nn.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(Vr));$!==e;)b.push($),nn.test(t.charAt(i))?($=t.charAt(i),i++):($=e,L===0&&te(Vr));b!==e?(g=[g,b],c=g):(i=c,c=e)}else i=c,c=e;return c!==e?l=t.substring(l,i):l=c,l}function Gx(){var l,c;for(L++,l=[],Pa.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(Fa));c!==e;)l.push(c),Pa.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(Fa));return L--,l===e&&(c=e,L===0&&te(tg)),l}function Kx(){var l,c;for(L++,l=[],Pa.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(Fa));c!==e;)l.push(c),Pa.test(t.charAt(i))?(c=t.charAt(i),i++):(c=e,L===0&&te(Fa));return L--,l===e&&(c=e,L===0&&te(rg)),l}function La(l){return l!==l.toLowerCase()&&l!==l.toUpperCase()}function vg(l){return l===l.toUpperCase()}function si(l){return l.reduce((c,g)=>Array.isArray(g)?c.concat(si(g)):c.concat(g),[])}function $g(l){return typeof l=="number"?"number":typeof l=="boolean"?"boolean":"string"}function fl(l,c,g,b){if(!l||!Array.isArray(l.diagnostics))return;l.diagnostics.some(y=>y.message===c&&y.location.start.offset===g.start.offset)||l.diagnostics.push({severity:"warning",code:b||"value-unreadable",message:c,location:g})}function yf(l){return l.filter(c=>!c.dropped)}function xg(){return r&&r.blockNames||["boundary","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","set","table","toc"]}function kg(l){return xg().includes(l)||vg(l)||l.match(/^(head|item)\d+$/)||La(l)}function Ag(l,c){return l.length==0?c:c.indexOf(l)==0?c.replace(l,""):c.replace(/^\s+/,"")}if(Ia=a(),Ia!==e&&i===t.length)return Ia;throw Ia!==e&&i<t.length&&te(ig()),rf(tl,Fn<t.length?t.charAt(Fn):null,Fn<t.length?Ss(Fn,Fn+1):Ss(Fn,Fn))}Kh.exports={SyntaxError:qi,parse:N1}});var Zh=xe((EA,Qh)=>{"use strict";function M1(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ri(t,r,e,s){this.message=t,this.expected=r,this.found=e,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ri)}M1(Ri,Error);Ri.buildMessage=function(t,r){var e={literal:function(m){return'"'+a(m.text)+'"'},class:function(m){var d="",v;for(v=0;v<m.parts.length;v++)d+=m.parts[v]instanceof Array?o(m.parts[v][0])+"-"+o(m.parts[v][1]):o(m.parts[v]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function s(m){return m.charCodeAt(0).toString(16).toUpperCase()}function a(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+s(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+s(d)})}function o(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+s(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+s(d)})}function u(m){return e[m.type](m)}function f(m){var d=new Array(m.length),v,S;for(v=0;v<m.length;v++)d[v]=u(m[v]);if(d.sort(),d.length>0){for(v=1,S=1;v<d.length;v++)d[v-1]!==d[v]&&(d[S]=d[v],S++);d.length=S}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function p(m){return m?'"'+a(m)+'"':"end of input"}return"Expected "+f(t)+" but "+p(r)+" found."};function z1(t,r){r=r!==void 0?r:{};var e={},s={Expression:xs},a=xs,o="A",u=Ze("A",!1),f="V",p=Ze("V",!1),m="R",d=Ze("R",!1),v="B",S=Ze("B",!1),E="I",C=Ze("I",!1),N="C",j=Ze("C",!1),B="D",re=Ze("D",!1),ce="E",ve=Ze("E",!1),me="F",le=Ze("F",!1),fe="G",Ae=Ze("G",!1),be="H",He=Ze("H",!1),Pe="J",Oe=Ze("J",!1),ye="K",Fe=Ze("K",!1),et="L",se=Ze("L",!1),vt="O",tt=Ze("O",!1),$t="S",at=Ze("S",!1),H="T",G=Ze("T",!1),dr="U",Lt=Ze("U",!1),Et="W",Ot=Ze("W",!1),Pt="Z",ft=Ze("Z",!1),mr="N",Mt=Ze("N",!1),tr="X",Or=Ze("X",!1),rn=/^[a-zA-Z]/,rr=jt([["a","z"],["A","Z"]],!1,!1),nn=/^[a-zA-Z0-9_\-]/,Vr=jt([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),yn=/^[ \t\f]/,bn=jt([" "," ","\f"],!1,!1),Ln=function(h){return!(r.allowed||[]).length||(r.allowed||[]).includes(h)},_e=Vn(),Gt=function(h){return{content:h.content,type:"fcode",name:h.name,synonyms:h.items}},Mn=function(h){return{content:h.content,type:"fcode",name:h.name,entry:h.items}},ze="<",qe=Ze("<",!1),wt=">",xt=Ze(">",!1),qt=function(){return Er()},ne="\xAB",ue=Ze("\xAB",!1),we="\xBB",ke=Ze("\xBB",!1),pt=function(h){return h},zt=function(h){return h.code==="C"},De=function(h,w){return w===h.end_tag},Qe=function(h,w){return w},Ft=function(h,w,T){return T===h.end_tag},Br=function(h,w,T){return{content:w,type:"fcode",name:h.code}},mt="|",wn=Ze("|",!1),gr=function(h){return h},Hi=function(h){return h.code==="L"||h.code==="W"},ws=function(h,w,T){return T},vn=function(h,w,T,x){return x===h.end_tag},vs=function(h,w,T,x){return{content:w,type:"fcode",name:h.code,meta:T}},Ur=";",sn=Ze(";",!1),an=/^[ \xA0\u2001\t\f\u2008]/,$n=jt([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Gi=function(h,w){return vi([h,w])},di=function(h){return[h]},Ki=/^[0-9]/,Jn=jt([["0","9"]],!1,!1),K="0d",M=Ze("0d",!1),X=function(h){return parseInt(h,10)},ie="0o",oe=Ze("0o",!1),ge=function(h){return parseInt(h,8)},Ce="0b",Re=Ze("0b",!1),je=function(h){return parseInt(h,2)},lt="0x",Ie=Ze("0x",!1),rt=/^[0-9A-Fa-f]/,ut=jt([["0","9"],["A","F"],["a","f"]],!1,!1),nt=function(){return parseInt(Er())},Ge=/^[A-Z ]/,ht=jt([["A","Z"]," "],!1,!1),Be=function(){return Er()===Er().toUpperCase()},Kt=/^[a-z]/,Wt=jt([["a","z"]],!1,!1),kt=/^[a-z0-9]/,Ve=jt([["a","z"],["0","9"]],!1,!1),Jt=function(h){return Er()},nr=function(h){return{type:"number",value:parseInt(h,10)}},yr=function(h){return{type:"unicode_name",value:h}},Hr=function(h){return{type:"html_named",value:h}},Ar=function(h){return h==="E"},xn=function(h,w){return vi(w)},Qn=function(h,w){return{content:w||[],type:"fcode",name:h}},Zn=function(h){return h},kn=function(h,w){return{code:h,begin_tag:w,end_tag:Es(w)}},An=function(h){return h.code!=="C"},qr=function(h,w,T){return T===h.end_tag},Rr=function(h,w,T){return{content:w,type:"fcode",name:h.code}},Gr=function(h){return!(r.allowed||[]).length||(r.allowed||[]).includes(h)},_r=function(h,w,T,x){return x===Es(w)},zn=function(h,w,T,x){return{content:T,type:"fcode",name:h}},mi=function(h,w,T,x){return vi(x)},jn=function(h,w,T,x,_){return _===Es(w)},Nr=function(h,w,T,x,_){return{name:h,content:T,items:x}},n=0,pe=0,Kr=[{line:1,column:1}],br=0,Xn=[],k=0,Qt;if("startRule"in r){if(!(r.startRule in s))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');a=s[r.startRule]}function Er(){return t.substring(pe,n)}function Wi(){return En(pe,n)}function Yn(h,w){throw w=w!==void 0?w:En(pe,n),yi([$s(h)],t.substring(pe,n),w)}function _n(h,w){throw w=w!==void 0?w:En(pe,n),ba(h,w)}function Ze(h,w){return{type:"literal",text:h,ignoreCase:w}}function jt(h,w,T){return{type:"class",parts:h,inverted:w,ignoreCase:T}}function Vn(){return{type:"any"}}function Ji(){return{type:"end"}}function $s(h){return{type:"other",description:h}}function gi(h){var w=Kr[h],T;if(w)return w;for(T=h-1;!Kr[T];)T--;for(w=Kr[T],w={line:w.line,column:w.column};T<h;)t.charCodeAt(T)===10?(w.line++,w.column=1):w.column++,T++;return Kr[h]=w,w}function En(h,w){var T=gi(h),x=gi(w);return{start:{offset:h,line:T.line,column:T.column},end:{offset:w,line:x.line,column:x.column}}}function J(h){n<br||(n>br&&(br=n,Xn=[]),Xn.push(h))}function ba(h,w){return new Ri(h,null,null,w)}function yi(h,w,T){return new Ri(Ri.buildMessage(h,w),h,w,T)}function xs(){var h,w;for(h=[],w=ei(),w===e&&(w=ni(),w===e&&(w=sr(),w===e&&(w=wa())));w!==e;)h.push(w),w=ei(),w===e&&(w=ni(),w===e&&(w=sr(),w===e&&(w=wa())));return h}function ei(){var h;return h=Ta(),h===e&&(h=Zo(),h===e&&(h=Qi(),h===e&&(h=ka(),h===e&&(h=ti(),h===e&&(h=Qo(),h===e&&(h=Ho(),h===e&&(h=Uo(),h===e&&(h=Xo())))))))),h}function ks(){var h;return t.charCodeAt(n)===65?(h=o,n++):(h=e,k===0&&J(u)),h===e&&(t.charCodeAt(n)===86?(h=f,n++):(h=e,k===0&&J(p)),h===e&&(t.charCodeAt(n)===82?(h=m,n++):(h=e,k===0&&J(d)),h===e&&(t.charCodeAt(n)===66?(h=v,n++):(h=e,k===0&&J(S)),h===e&&(t.charCodeAt(n)===73?(h=E,n++):(h=e,k===0&&J(C)),h===e&&(t.charCodeAt(n)===67?(h=N,n++):(h=e,k===0&&J(j)),h===e&&(t.charCodeAt(n)===68?(h=B,n++):(h=e,k===0&&J(re)),h===e&&(t.charCodeAt(n)===69?(h=ce,n++):(h=e,k===0&&J(ve)),h===e&&(t.charCodeAt(n)===70?(h=me,n++):(h=e,k===0&&J(le)),h===e&&(t.charCodeAt(n)===71?(h=fe,n++):(h=e,k===0&&J(Ae)),h===e&&(t.charCodeAt(n)===72?(h=be,n++):(h=e,k===0&&J(He)),h===e&&(t.charCodeAt(n)===74?(h=Pe,n++):(h=e,k===0&&J(Oe)),h===e&&(t.charCodeAt(n)===75?(h=ye,n++):(h=e,k===0&&J(Fe)),h===e&&(t.charCodeAt(n)===76?(h=et,n++):(h=e,k===0&&J(se)),h===e&&(t.charCodeAt(n)===79?(h=vt,n++):(h=e,k===0&&J(tt)),h===e&&(t.charCodeAt(n)===83?(h=$t,n++):(h=e,k===0&&J(at)),h===e&&(t.charCodeAt(n)===84?(h=H,n++):(h=e,k===0&&J(G)),h===e&&(t.charCodeAt(n)===85?(h=dr,n++):(h=e,k===0&&J(Lt)),h===e&&(t.charCodeAt(n)===87?(h=Et,n++):(h=e,k===0&&J(Ot)),h===e&&(t.charCodeAt(n)===90?(h=Pt,n++):(h=e,k===0&&J(ft)),h===e&&(t.charCodeAt(n)===78?(h=mr,n++):(h=e,k===0&&J(Mt)),h===e&&(t.charCodeAt(n)===88?(h=tr,n++):(h=e,k===0&&J(Or))))))))))))))))))))))),h}function Vo(){var h,w,T,x,_;if(h=n,w=n,rn.test(t.charAt(n))?(T=t.charAt(n),n++):(T=e,k===0&&J(rr)),T!==e){for(x=[],nn.test(t.charAt(n))?(_=t.charAt(n),n++):(_=e,k===0&&J(Vr));_!==e;)x.push(_),nn.test(t.charAt(n))?(_=t.charAt(n),n++):(_=e,k===0&&J(Vr));x!==e?(T=[T,x],w=T):(n=w,w=e)}else n=w,w=e;return w!==e?h=t.substring(h,n):h=w,h}function As(){var h,w;for(h=[],yn.test(t.charAt(n))?(w=t.charAt(n),n++):(w=e,k===0&&J(bn));w!==e;)h.push(w),yn.test(t.charAt(n))?(w=t.charAt(n),n++):(w=e,k===0&&J(bn));return h}function Sn(){var h,w,T;return h=n,w=ks(),w!==e?(pe=n,T=Ln(w),T?T=void 0:T=e,T!==e?(w=[w,T],h=w):(n=h,h=e)):(n=h,h=e),h}function wa(){var h,w;return h=n,t.length>n?(w=t.charAt(n),n++):(w=e,k===0&&J(_e)),w!==e?h=t.substring(h,n):h=w,h}function va(){var h,w,T,x,_;for(h=n,w=[],T=n,x=n,k++,_=Me(),k--,_===e?x=void 0:(n=x,x=e),x!==e?(t.length>n?(_=t.charAt(n),n++):(_=e,k===0&&J(_e)),_!==e?(x=[x,_],T=x):(n=T,T=e)):(n=T,T=e);T!==e;)w.push(T),T=n,x=n,k++,_=Me(),k--,_===e?x=void 0:(n=x,x=e),x!==e?(t.length>n?(_=t.charAt(n),n++):(_=e,k===0&&J(_e)),_!==e?(x=[x,_],T=x):(n=T,T=e)):(n=T,T=e);return w!==e?h=t.substring(h,n):h=w,h}function Bo(){var h,w,T;if(h=n,w=[],T=ir(),T!==e)for(;T!==e;)w.push(T),T=ir();else w=e;return w!==e?h=t.substring(h,n):h=w,h}function $a(){var h,w;if(h=[],w=Lr(),w!==e)for(;w!==e;)h.push(w),w=Lr();else h=e;return h}function xa(){var h,w;for(h=[],w=Lr();w!==e;)h.push(w),w=Lr();return h}function ka(){var h,w;return h=n,w=Yo(),w!==e&&(pe=h,w=Gt(w)),h=w,h}function Uo(){var h,w;return h=n,w=el(),w!==e&&(pe=h,w=Mn(w)),h=w,h}function Aa(){var h;return t.charCodeAt(n)===66?(h=v,n++):(h=e,k===0&&J(S)),h}function Bn(){var h,w,T,x,_;return h=n,w=n,T=n,k++,x=Aa(),k--,x===e?T=void 0:(n=T,T=e),T!==e?(t.length>n?(x=t.charAt(n),n++):(x=e,k===0&&J(_e)),x!==e?(T=[T,x],w=T):(n=w,w=e)):(n=w,w=e),w!==e?(t.charCodeAt(n)===60?(T=ze,n++):(T=e,k===0&&J(qe)),T!==e?(x=Pn(),x!==e?(t.charCodeAt(n)===62?(_=wt,n++):(_=e,k===0&&J(xt)),_!==e?(pe=h,w=qt(),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e),h===e&&(h=n,w=n,T=n,k++,x=Aa(),k--,x===e?T=void 0:(n=T,T=e),T!==e?(t.length>n?(x=t.charAt(n),n++):(x=e,k===0&&J(_e)),x!==e?(T=[T,x],w=T):(n=w,w=e)):(n=w,w=e),w!==e?(t.charCodeAt(n)===171?(T=ne,n++):(T=e,k===0&&J(ue)),T!==e?(x=Pn(),x!==e?(t.charCodeAt(n)===187?(_=we,n++):(_=e,k===0&&J(ke)),_!==e?(pe=h,w=qt(),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)),h}function ir(){var h,w,T,x,_,q,V,P;if(h=n,w=n,T=[],x=n,_=n,q=n,k++,t.charCodeAt(n)===60?(V=ze,n++):(V=e,k===0&&J(qe)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(t.length>n?(V=t.charAt(n),n++):(V=e,k===0&&J(_e)),V!==e?(q=[q,V],_=q):(n=_,_=e)):(n=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(n)===60?(q=ze,n++):(q=e,k===0&&J(qe)),q!==e?(V=ir(),V===e&&(V=null),V!==e?(t.charCodeAt(n)===62?(P=wt,n++):(P=e,k===0&&J(xt)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,_=n,q=n,k++,t.charCodeAt(n)===171?(V=ne,n++):(V=e,k===0&&J(ue)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(t.length>n?(V=t.charAt(n),n++):(V=e,k===0&&J(_e)),V!==e?(q=[q,V],_=q):(n=_,_=e)):(n=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(n)===171?(q=ne,n++):(q=e,k===0&&J(ue)),q!==e?(V=ir(),V===e&&(V=null),V!==e?(t.charCodeAt(n)===187?(P=we,n++):(P=e,k===0&&J(ke)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=Bn(),x===e&&(x=Pn()))),x!==e)for(;x!==e;)T.push(x),x=n,_=n,q=n,k++,t.charCodeAt(n)===60?(V=ze,n++):(V=e,k===0&&J(qe)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(t.length>n?(V=t.charAt(n),n++):(V=e,k===0&&J(_e)),V!==e?(q=[q,V],_=q):(n=_,_=e)):(n=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(n)===60?(q=ze,n++):(q=e,k===0&&J(qe)),q!==e?(V=ir(),V===e&&(V=null),V!==e?(t.charCodeAt(n)===62?(P=wt,n++):(P=e,k===0&&J(xt)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,_=n,q=n,k++,t.charCodeAt(n)===171?(V=ne,n++):(V=e,k===0&&J(ue)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(t.length>n?(V=t.charAt(n),n++):(V=e,k===0&&J(_e)),V!==e?(q=[q,V],_=q):(n=_,_=e)):(n=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(n)===171?(q=ne,n++):(q=e,k===0&&J(ue)),q!==e?(V=ir(),V===e&&(V=null),V!==e?(t.charCodeAt(n)===187?(P=we,n++):(P=e,k===0&&J(ke)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=Bn(),x===e&&(x=Pn())));else T=e;return T!==e?w=t.substring(w,n):w=T,w!==e&&(pe=h,w=pt(w)),h=w,h}function Qi(){var h,w,T,x,_,q,V,P,R,Q,D,ee,W,U,Y;if(h=n,w=St(),w!==e)if(pe=n,T=zt(w),T?T=void 0:T=e,T!==e){if(x=[],_=ti(),_===e){if(_=n,q=n,V=[],P=n,R=n,Q=n,k++,t.charCodeAt(n)===60?(D=ze,n++):(D=e,k===0&&J(qe)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(D=n,k++,ee=Tn(),k--,ee===e?D=void 0:(n=D,D=e),D!==e?(t.length>n?(ee=t.charAt(n),n++):(ee=e,k===0&&J(_e)),ee!==e?(Q=[Q,D,ee],R=Q):(n=R,R=e)):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===60?(Q=ze,n++):(Q=e,k===0&&J(qe)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===62?(ee=wt,n++):(ee=e,k===0&&J(xt)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,Q=n,k++,t.charCodeAt(n)===171?(D=ne,n++):(D=e,k===0&&J(ue)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(t.length>n?(D=t.charAt(n),n++):(D=e,k===0&&J(_e)),D!==e?(Q=[Q,D],R=Q):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===171?(Q=ne,n++):(Q=e,k===0&&J(ue)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===187?(ee=we,n++):(ee=e,k===0&&J(ke)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,k++,Q=Tn(),k--,Q===e?R=void 0:(n=R,R=e),R!==e?(Q=Bn(),Q!==e?(R=[R,Q],P=R):(n=P,P=e)):(n=P,P=e),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}if(P!==e){for(;P!==e;)if(V.push(P),P=n,R=n,Q=n,k++,t.charCodeAt(n)===60?(D=ze,n++):(D=e,k===0&&J(qe)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(D=n,k++,ee=Tn(),k--,ee===e?D=void 0:(n=D,D=e),D!==e?(t.length>n?(ee=t.charAt(n),n++):(ee=e,k===0&&J(_e)),ee!==e?(Q=[Q,D,ee],R=Q):(n=R,R=e)):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===60?(Q=ze,n++):(Q=e,k===0&&J(qe)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===62?(ee=wt,n++):(ee=e,k===0&&J(xt)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,Q=n,k++,t.charCodeAt(n)===171?(D=ne,n++):(D=e,k===0&&J(ue)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(t.length>n?(D=t.charAt(n),n++):(D=e,k===0&&J(_e)),D!==e?(Q=[Q,D],R=Q):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===171?(Q=ne,n++):(Q=e,k===0&&J(ue)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===187?(ee=we,n++):(ee=e,k===0&&J(ke)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,k++,Q=Tn(),k--,Q===e?R=void 0:(n=R,R=e),R!==e?(Q=Bn(),Q!==e?(R=[R,Q],P=R):(n=P,P=e)):(n=P,P=e),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}}else V=e;V!==e?q=t.substring(q,n):q=V,q!==e&&(pe=_,q=Qe(w,q)),_=q}if(_!==e){for(;_!==e;)if(x.push(_),_=ti(),_===e){if(_=n,q=n,V=[],P=n,R=n,Q=n,k++,t.charCodeAt(n)===60?(D=ze,n++):(D=e,k===0&&J(qe)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(D=n,k++,ee=Tn(),k--,ee===e?D=void 0:(n=D,D=e),D!==e?(t.length>n?(ee=t.charAt(n),n++):(ee=e,k===0&&J(_e)),ee!==e?(Q=[Q,D,ee],R=Q):(n=R,R=e)):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===60?(Q=ze,n++):(Q=e,k===0&&J(qe)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===62?(ee=wt,n++):(ee=e,k===0&&J(xt)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,Q=n,k++,t.charCodeAt(n)===171?(D=ne,n++):(D=e,k===0&&J(ue)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(t.length>n?(D=t.charAt(n),n++):(D=e,k===0&&J(_e)),D!==e?(Q=[Q,D],R=Q):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===171?(Q=ne,n++):(Q=e,k===0&&J(ue)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===187?(ee=we,n++):(ee=e,k===0&&J(ke)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,k++,Q=Tn(),k--,Q===e?R=void 0:(n=R,R=e),R!==e?(Q=Bn(),Q!==e?(R=[R,Q],P=R):(n=P,P=e)):(n=P,P=e),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}if(P!==e){for(;P!==e;)if(V.push(P),P=n,R=n,Q=n,k++,t.charCodeAt(n)===60?(D=ze,n++):(D=e,k===0&&J(qe)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(D=n,k++,ee=Tn(),k--,ee===e?D=void 0:(n=D,D=e),D!==e?(t.length>n?(ee=t.charAt(n),n++):(ee=e,k===0&&J(_e)),ee!==e?(Q=[Q,D,ee],R=Q):(n=R,R=e)):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===60?(Q=ze,n++):(Q=e,k===0&&J(qe)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===62?(ee=wt,n++):(ee=e,k===0&&J(xt)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,Q=n,k++,t.charCodeAt(n)===171?(D=ne,n++):(D=e,k===0&&J(ue)),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(t.length>n?(D=t.charAt(n),n++):(D=e,k===0&&J(_e)),D!==e?(Q=[Q,D],R=Q):(n=R,R=e)):(n=R,R=e),R===e&&(R=null),R!==e?(t.charCodeAt(n)===171?(Q=ne,n++):(Q=e,k===0&&J(ue)),Q!==e?(D=ir(),D===e&&(D=null),D!==e?(t.charCodeAt(n)===187?(ee=we,n++):(ee=e,k===0&&J(ke)),ee!==e?(R=[R,Q,D,ee],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,R=n,k++,Q=Tn(),k--,Q===e?R=void 0:(n=R,R=e),R!==e?(Q=Bn(),Q!==e?(R=[R,Q],P=R):(n=P,P=e)):(n=P,P=e),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}}else V=e;V!==e?q=t.substring(q,n):q=V,q!==e&&(pe=_,q=Qe(w,q)),_=q}}else x=e;x!==e?(_=Me(),_!==e?(pe=n,q=Ft(w,x,_),q?q=void 0:q=e,q!==e?(pe=h,w=Br(w,x,_),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)}else n=h,h=e;else n=h,h=e;return h}function bi(){var h;return t.charCodeAt(n)===124?(h=mt,n++):(h=e,k===0&&J(wn)),h}function Lr(){var h,w,T,x,_,q,V,P,R;if(h=n,w=n,T=[],x=n,_=n,q=n,k++,t.charCodeAt(n)===60?(V=ze,n++):(V=e,k===0&&J(qe)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=Sn(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(t.length>n?(P=t.charAt(n),n++):(P=e,k===0&&J(_e)),P!==e?(q=[q,V,P],_=q):(n=_,_=e)):(n=_,_=e)):(n=_,_=e),_!==e?(t.charCodeAt(n)===60?(q=ze,n++):(q=e,k===0&&J(qe)),q!==e?(V=Lr(),V!==e?(t.charCodeAt(n)===62?(P=wt,n++):(P=e,k===0&&J(xt)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,_=n,q=n,k++,t.charCodeAt(n)===171?(V=ne,n++):(V=e,k===0&&J(ue)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=Sn(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(t.length>n?(P=t.charAt(n),n++):(P=e,k===0&&J(_e)),P!==e?(q=[q,V,P],_=q):(n=_,_=e)):(n=_,_=e)):(n=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(n)===171?(q=ne,n++):(q=e,k===0&&J(ue)),q!==e?(V=Lr(),V===e&&(V=null),V!==e?(t.charCodeAt(n)===187?(P=we,n++):(P=e,k===0&&J(ke)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,_=n,k++,q=bi(),k--,q===e?_=void 0:(n=_,_=e),_!==e?(q=n,k++,V=Me(),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=ri(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(P=n,k++,R=ot(),k--,R===e?P=void 0:(n=P,P=e),P!==e?(t.length>n?(R=t.charAt(n),n++):(R=e,k===0&&J(_e)),R!==e?(_=[_,q,V,P,R],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e))),x!==e)for(;x!==e;)T.push(x),x=n,_=n,q=n,k++,t.charCodeAt(n)===60?(V=ze,n++):(V=e,k===0&&J(qe)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=Sn(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(t.length>n?(P=t.charAt(n),n++):(P=e,k===0&&J(_e)),P!==e?(q=[q,V,P],_=q):(n=_,_=e)):(n=_,_=e)):(n=_,_=e),_!==e?(t.charCodeAt(n)===60?(q=ze,n++):(q=e,k===0&&J(qe)),q!==e?(V=Lr(),V!==e?(t.charCodeAt(n)===62?(P=wt,n++):(P=e,k===0&&J(xt)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,_=n,q=n,k++,t.charCodeAt(n)===171?(V=ne,n++):(V=e,k===0&&J(ue)),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=Sn(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(t.length>n?(P=t.charAt(n),n++):(P=e,k===0&&J(_e)),P!==e?(q=[q,V,P],_=q):(n=_,_=e)):(n=_,_=e)):(n=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(n)===171?(q=ne,n++):(q=e,k===0&&J(ue)),q!==e?(V=Lr(),V===e&&(V=null),V!==e?(t.charCodeAt(n)===187?(P=we,n++):(P=e,k===0&&J(ke)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,_=n,k++,q=bi(),k--,q===e?_=void 0:(n=_,_=e),_!==e?(q=n,k++,V=Me(),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=ri(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(P=n,k++,R=ot(),k--,R===e?P=void 0:(n=P,P=e),P!==e?(t.length>n?(R=t.charAt(n),n++):(R=e,k===0&&J(_e)),R!==e?(_=[_,q,V,P,R],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)));else T=e;return T!==e?w=t.substring(w,n):w=T,w!==e&&(pe=h,w=gr(w)),h=w,h}function Ho(){var h,w,T,x,_,q,V,P,R,Q,D;if(h=n,w=St(),w!==e)if(pe=n,T=Hi(w),T?T=void 0:T=e,T!==e){if(x=[],_=Qi(),_===e&&(_=ni(),_===e&&(_=Lr())),_!==e)for(;_!==e;)x.push(_),_=Qi(),_===e&&(_=ni(),_===e&&(_=Lr()));else x=e;if(x!==e){if(_=n,q=bi(),q!==e){for(V=n,P=[],R=n,Q=n,k++,D=Me(),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(t.length>n?(D=t.charAt(n),n++):(D=e,k===0&&J(_e)),D!==e?(Q=[Q,D],R=Q):(n=R,R=e)):(n=R,R=e);R!==e;)P.push(R),R=n,Q=n,k++,D=Me(),k--,D===e?Q=void 0:(n=Q,Q=e),Q!==e?(t.length>n?(D=t.charAt(n),n++):(D=e,k===0&&J(_e)),D!==e?(Q=[Q,D],R=Q):(n=R,R=e)):(n=R,R=e);P!==e?V=t.substring(V,n):V=P,V!==e?(pe=_,q=ws(w,x,V),_=q):(n=_,_=e)}else n=_,_=e;_===e&&(_=null),_!==e?(q=Me(),q!==e?(pe=n,V=vn(w,x,_,q),V?V=void 0:V=e,V!==e?(pe=h,w=vs(w,x,_,q),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)}else n=h,h=e}else n=h,h=e;else n=h,h=e;return h}function _a(){var h,w,T,x,_,q;if(h=n,w=[],T=n,x=n,k++,t.charCodeAt(n)===59?(_=Ur,n++):(_=e,k===0&&J(sn)),k--,_===e?x=void 0:(n=x,x=e),x!==e?(_=n,k++,q=Me(),k--,q===e?_=void 0:(n=_,_=e),_!==e?(t.length>n?(q=t.charAt(n),n++):(q=e,k===0&&J(_e)),q!==e?(x=[x,_,q],T=x):(n=T,T=e)):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)w.push(T),T=n,x=n,k++,t.charCodeAt(n)===59?(_=Ur,n++):(_=e,k===0&&J(sn)),k--,_===e?x=void 0:(n=x,x=e),x!==e?(_=n,k++,q=Me(),k--,q===e?_=void 0:(n=_,_=e),_!==e?(t.length>n?(q=t.charAt(n),n++):(q=e,k===0&&J(_e)),q!==e?(x=[x,_,q],T=x):(n=T,T=e)):(n=T,T=e)):(n=T,T=e);else w=e;return w!==e?h=t.substring(h,n):h=w,h}function Cn(){var h;return an.test(t.charAt(n))?(h=t.charAt(n),n++):(h=e,k===0&&J($n)),h}function wi(){var h,w,T,x,_,q;if(h=n,w=_a(),w!==e){for(T=[],x=Cn();x!==e;)T.push(x),x=Cn();if(T!==e)if(t.charCodeAt(n)===59?(x=Ur,n++):(x=e,k===0&&J(sn)),x!==e){for(_=[],q=Cn();q!==e;)_.push(q),q=Cn();_!==e?(q=wi(),q!==e?(pe=h,w=Gi(w,q),h=w):(n=h,h=e)):(n=h,h=e)}else n=h,h=e;else n=h,h=e}else n=h,h=e;return h===e&&(h=n,w=_a(),w!==e&&(pe=h,w=di(w)),h=w),h}function Zi(){var h,w,T;if(h=n,w=[],Ki.test(t.charAt(n))?(T=t.charAt(n),n++):(T=e,k===0&&J(Jn)),T!==e)for(;T!==e;)w.push(T),Ki.test(t.charAt(n))?(T=t.charAt(n),n++):(T=e,k===0&&J(Jn));else w=e;return w!==e?h=t.substring(h,n):h=w,h}function Go(){var h,w,T;return h=n,t.substr(n,2)===K?(w=K,n+=2):(w=e,k===0&&J(M)),w!==e?(T=Zi(),T!==e?(pe=h,w=X(T),h=w):(n=h,h=e)):(n=h,h=e),h}function Ko(){var h,w,T;return h=n,t.substr(n,2)===ie?(w=ie,n+=2):(w=e,k===0&&J(oe)),w!==e?(T=Zi(),T!==e?(pe=h,w=ge(T),h=w):(n=h,h=e)):(n=h,h=e),h}function Ea(){var h,w,T;return h=n,t.substr(n,2)===Ce?(w=Ce,n+=2):(w=e,k===0&&J(Re)),w!==e?(T=Zi(),T!==e?(pe=h,w=je(T),h=w):(n=h,h=e)):(n=h,h=e),h}function Sa(){var h,w,T,x,_,q;if(h=n,w=n,T=n,t.substr(n,2)===lt?(x=lt,n+=2):(x=e,k===0&&J(Ie)),x!==e){if(_=[],rt.test(t.charAt(n))?(q=t.charAt(n),n++):(q=e,k===0&&J(ut)),q!==e)for(;q!==e;)_.push(q),rt.test(t.charAt(n))?(q=t.charAt(n),n++):(q=e,k===0&&J(ut));else _=e;_!==e?(x=[x,_],T=x):(n=T,T=e)}else n=T,T=e;return T!==e?w=t.substring(w,n):w=T,w!==e&&(pe=h,w=nt()),h=w,h}function Wo(){var h,w,T,x;if(h=n,w=n,T=[],Ge.test(t.charAt(n))?(x=t.charAt(n),n++):(x=e,k===0&&J(ht)),x!==e)for(;x!==e;)T.push(x),Ge.test(t.charAt(n))?(x=t.charAt(n),n++):(x=e,k===0&&J(ht));else T=e;return T!==e?w=t.substring(w,n):w=T,w!==e?(pe=n,T=Be(),T?T=void 0:T=e,T!==e?(pe=h,w=qt(),h=w):(n=h,h=e)):(n=h,h=e),h}function Jo(){var h,w,T,x,_,q;if(h=n,w=n,T=n,Kt.test(t.charAt(n))?(x=t.charAt(n),n++):(x=e,k===0&&J(Wt)),x!==e){if(_=[],kt.test(t.charAt(n))?(q=t.charAt(n),n++):(q=e,k===0&&J(Ve)),q!==e)for(;q!==e;)_.push(q),kt.test(t.charAt(n))?(q=t.charAt(n),n++):(q=e,k===0&&J(Ve));else _=e;_!==e?(x=[x,_],T=x):(n=T,T=e)}else n=T,T=e;return T!==e?w=t.substring(w,n):w=T,w!==e&&(pe=h,w=Jt(w)),h=w,h}function Ca(){var h,w,T;return h=n,w=As(),w!==e?(T=Ko(),T===e&&(T=Go(),T===e&&(T=Ea(),T===e&&(T=Sa(),T===e&&(T=Zi())))),T!==e?(pe=h,w=nr(T),h=w):(n=h,h=e)):(n=h,h=e),h===e&&(h=n,w=As(),w!==e?(T=Wo(),T!==e?(pe=h,w=yr(T),h=w):(n=h,h=e)):(n=h,h=e),h===e&&(h=n,w=As(),w!==e?(T=Jo(),T!==e?(pe=h,w=Hr(T),h=w):(n=h,h=e)):(n=h,h=e))),h}function _s(){var h,w,T,x,_,q;if(h=n,w=Ca(),w!==e){for(T=[],x=Cn();x!==e;)T.push(x),x=Cn();if(T!==e)if(t.charCodeAt(n)===59?(x=Ur,n++):(x=e,k===0&&J(sn)),x!==e){for(_=[],q=Cn();q!==e;)_.push(q),q=Cn();_!==e?(q=_s(),q!==e?(pe=h,w=Gi(w,q),h=w):(n=h,h=e)):(n=h,h=e)}else n=h,h=e;else n=h,h=e}else n=h,h=e;return h===e&&(h=n,w=Ca(),w!==e&&(pe=h,w=di(w)),h=w),h}function ti(){var h,w,T,x,_;return h=n,w=ri(),w!==e?(pe=n,T=Ar(w),T?T=void 0:T=e,T!==e?(x=n,_=_s(),_!==e&&(pe=x,_=xn(w,_)),x=_,x===e&&(x=null),x!==e?(_=Me(),_!==e?(pe=h,w=Qn(w,x),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e),h}function ri(){var h,w,T;return h=n,w=n,T=Sn(),T!==e?w=t.substring(w,n):w=T,w!==e?(t.charCodeAt(n)===60?(T=ze,n++):(T=e,k===0&&J(qe)),T!==e?(pe=h,w=Zn(w),h=w):(n=h,h=e)):(n=h,h=e),h}function St(){var h,w,T,x;return h=n,w=n,T=Sn(),T!==e?w=t.substring(w,n):w=T,w!==e?(T=n,t.charCodeAt(n)===60?(x=ze,n++):(x=e,k===0&&J(qe)),x===e&&(t.charCodeAt(n)===171?(x=ne,n++):(x=e,k===0&&J(ue))),x!==e?T=t.substring(T,n):T=x,T!==e?(pe=h,w=kn(w,T),h=w):(n=h,h=e)):(n=h,h=e),h}function Tn(){var h,w,T;return h=n,t.charCodeAt(n)===69?(w=ce,n++):(w=e,k===0&&J(ve)),w!==e?(t.charCodeAt(n)===60?(T=ze,n++):(T=e,k===0&&J(qe)),T===e&&(t.charCodeAt(n)===171?(T=ne,n++):(T=e,k===0&&J(ue))),T!==e?(w=[w,T],h=w):(n=h,h=e)):(n=h,h=e),h}function Me(){var h;return t.charCodeAt(n)===62?(h=wt,n++):(h=e,k===0&&J(xt)),h===e&&(t.charCodeAt(n)===187?(h=we,n++):(h=e,k===0&&J(ke))),h}function ni(){var h,w,T,x,_,q,V,P,R,Q,D,ee,W,U,Y;if(h=n,w=St(),w!==e)if(pe=n,T=An(w),T?T=void 0:T=e,T!==e){if(x=[],_=ei(),_===e&&(_=ni(),_===e)){if(_=n,q=n,V=[],P=n,t.charCodeAt(n)===60?(R=ze,n++):(R=e,k===0&&J(qe)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===62?(D=wt,n++):(D=e,k===0&&J(xt)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,t.charCodeAt(n)===171?(R=ne,n++):(R=e,k===0&&J(ue)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===187?(D=we,n++):(D=e,k===0&&J(ke)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=ot(),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}if(P!==e){for(;P!==e;)if(V.push(P),P=n,t.charCodeAt(n)===60?(R=ze,n++):(R=e,k===0&&J(qe)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===62?(D=wt,n++):(D=e,k===0&&J(xt)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,t.charCodeAt(n)===171?(R=ne,n++):(R=e,k===0&&J(ue)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===187?(D=we,n++):(D=e,k===0&&J(ke)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=ot(),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}}else V=e;V!==e?q=t.substring(q,n):q=V,q!==e&&(pe=_,q=Qe(w,q)),_=q}for(;_!==e;)if(x.push(_),_=ei(),_===e&&(_=ni(),_===e)){if(_=n,q=n,V=[],P=n,t.charCodeAt(n)===60?(R=ze,n++):(R=e,k===0&&J(qe)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===62?(D=wt,n++):(D=e,k===0&&J(xt)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,t.charCodeAt(n)===171?(R=ne,n++):(R=e,k===0&&J(ue)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===187?(D=we,n++):(D=e,k===0&&J(ke)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=ot(),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}if(P!==e){for(;P!==e;)if(V.push(P),P=n,t.charCodeAt(n)===60?(R=ze,n++):(R=e,k===0&&J(qe)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===62?(D=wt,n++):(D=e,k===0&&J(xt)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=n,t.charCodeAt(n)===171?(R=ne,n++):(R=e,k===0&&J(ue)),R!==e?(Q=sr(),Q!==e?(t.charCodeAt(n)===187?(D=we,n++):(D=e,k===0&&J(ke)),D!==e?(R=[R,Q,D],P=R):(n=P,P=e)):(n=P,P=e)):(n=P,P=e),P===e&&(P=ot(),P===e))){if(P=n,R=n,Q=[],D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e)for(;D!==e;)Q.push(D),D=n,ee=n,k++,W=n,U=Me(),U!==e?(pe=n,Y=De(w,U),Y?Y=void 0:Y=e,Y!==e?(U=[U,Y],W=U):(n=W,W=e)):(n=W,W=e),k--,W===e?ee=void 0:(n=ee,ee=e),ee!==e?(W=n,k++,U=St(),k--,U===e?W=void 0:(n=W,W=e),W!==e?(U=n,k++,Y=ot(),k--,Y===e?U=void 0:(n=U,U=e),U!==e?(t.length>n?(Y=t.charAt(n),n++):(Y=e,k===0&&J(_e)),Y!==e?(ee=[ee,W,U,Y],D=ee):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e);else Q=e;Q!==e?R=t.substring(R,n):R=Q,R!==e&&(pe=P,R=Qe(w,R)),P=R}}else V=e;V!==e?q=t.substring(q,n):q=V,q!==e&&(pe=_,q=Qe(w,q)),_=q}x!==e?(_=Me(),_!==e?(pe=n,q=qr(w,x,_),q?q=void 0:q=e,q!==e?(pe=h,w=Rr(w,x,_),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)}else n=h,h=e;else n=h,h=e;return h}function ef(){var h,w,T,x,_;for(h=n,w=[],T=n,x=n,k++,_=Me(),k--,_===e?x=void 0:(n=x,x=e),x!==e?(t.length>n?(_=t.charAt(n),n++):(_=e,k===0&&J(_e)),_!==e?(x=[x,_],T=x):(n=T,T=e)):(n=T,T=e);T!==e;)w.push(T),T=n,x=n,k++,_=Me(),k--,_===e?x=void 0:(n=x,x=e),x!==e?(t.length>n?(_=t.charAt(n),n++):(_=e,k===0&&J(_e)),_!==e?(x=[x,_],T=x):(n=T,T=e)):(n=T,T=e);return w!==e?h=t.substring(h,n):h=w,h}function sr(){var h,w,T,x,_,q,V;if(h=n,w=n,T=[],x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_!==e?(q=sr(),q!==e?(t.charCodeAt(n)===62?(V=wt,n++):(V=e,k===0&&J(xt)),V!==e?(_=[_,q,V],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue)),_!==e?(q=sr(),q!==e?(t.charCodeAt(n)===187?(V=we,n++):(V=e,k===0&&J(ke)),V!==e?(_=[_,q,V],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=ot(),x===e&&(x=Pn()))),x!==e)for(;x!==e;)T.push(x),x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_!==e?(q=sr(),q!==e?(t.charCodeAt(n)===62?(V=wt,n++):(V=e,k===0&&J(xt)),V!==e?(_=[_,q,V],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=n,t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue)),_!==e?(q=sr(),q!==e?(t.charCodeAt(n)===187?(V=we,n++):(V=e,k===0&&J(ke)),V!==e?(_=[_,q,V],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x===e&&(x=ot(),x===e&&(x=Pn())));else T=e;return T!==e?w=t.substring(w,n):w=T,w!==e&&(pe=h,w=pt(w)),h=w,h}function Pn(){var h,w,T,x,_,q,V,P;if(h=n,w=n,T=[],x=n,_=n,k++,q=Me(),k--,q===e?_=void 0:(n=_,_=e),_!==e?(q=n,k++,V=St(),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=ot(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(t.length>n?(P=t.charAt(n),n++):(P=e,k===0&&J(_e)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e),x!==e)for(;x!==e;)T.push(x),x=n,_=n,k++,q=Me(),k--,q===e?_=void 0:(n=_,_=e),_!==e?(q=n,k++,V=St(),k--,V===e?q=void 0:(n=q,q=e),q!==e?(V=n,k++,P=ot(),k--,P===e?V=void 0:(n=V,V=e),V!==e?(t.length>n?(P=t.charAt(n),n++):(P=e,k===0&&J(_e)),P!==e?(_=[_,q,V,P],x=_):(n=x,x=e)):(n=x,x=e)):(n=x,x=e)):(n=x,x=e);else T=e;return T!==e?w=t.substring(w,n):w=T,w!==e&&(pe=h,w=pt(w)),h=w,h}function ot(){var h,w,T,x,_;return h=n,w=n,T=n,k++,x=Sn(),k--,x===e?T=void 0:(n=T,T=e),T!==e?(t.length>n?(x=t.charAt(n),n++):(x=e,k===0&&J(_e)),x!==e?(T=[T,x],w=T):(n=w,w=e)):(n=w,w=e),w!==e?(t.charCodeAt(n)===60?(T=ze,n++):(T=e,k===0&&J(qe)),T!==e?(x=Pn(),x!==e?(t.charCodeAt(n)===62?(_=wt,n++):(_=e,k===0&&J(xt)),_!==e?(pe=h,w=qt(),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e),h===e&&(h=n,w=n,T=n,k++,x=Sn(),k--,x===e?T=void 0:(n=T,T=e),T!==e?(t.length>n?(x=t.charAt(n),n++):(x=e,k===0&&J(_e)),x!==e?(T=[T,x],w=T):(n=w,w=e)):(n=w,w=e),w!==e?(t.charCodeAt(n)===171?(T=ne,n++):(T=e,k===0&&J(ue)),T!==e?(x=Pn(),x!==e?(t.charCodeAt(n)===187?(_=we,n++):(_=e,k===0&&J(ke)),_!==e?(pe=h,w=qt(),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)),h}function Ta(){var h,w,T,x,_,q,V;return h=n,w=n,t.charCodeAt(n)===65?(T=o,n++):(T=e,k===0&&J(u)),T!==e?w=t.substring(w,n):w=T,w!==e?(pe=n,T=Gr(w),T?T=void 0:T=e,T!==e?(x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_===e&&(t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue))),_!==e?x=t.substring(x,n):x=_,x!==e?(_=Lr(),_!==e?(q=Me(),q!==e?(pe=n,V=_r(w,x,_,q),V?V=void 0:V=e,V!==e?(pe=h,w=zn(w,x,_,q),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e),h}function Qo(){var h,w,T,x,_,q,V;return h=n,w=n,t.charCodeAt(n)===86?(T=f,n++):(T=e,k===0&&J(p)),T!==e?w=t.substring(w,n):w=T,w!==e?(pe=n,T=Gr(w),T?T=void 0:T=e,T!==e?(x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_===e&&(t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue))),_!==e?x=t.substring(x,n):x=_,x!==e?(_=Bo(),_!==e?(q=Me(),q!==e?(pe=n,V=_r(w,x,_,q),V?V=void 0:V=e,V!==e?(pe=h,w=zn(w,x,_,q),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e),h}function Zo(){var h,w,T,x,_,q,V;return h=n,w=n,t.charCodeAt(n)===83?(T=$t,n++):(T=e,k===0&&J(at)),T!==e?w=t.substring(w,n):w=T,w!==e?(pe=n,T=Gr(w),T?T=void 0:T=e,T!==e?(x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_===e&&(t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue))),_!==e?x=t.substring(x,n):x=_,x!==e?(_=va(),_!==e?(q=Me(),q!==e?(pe=n,V=_r(w,x,_,q),V?V=void 0:V=e,V!==e?(pe=h,w=zn(w,x,_,q),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e),h}function Xo(){var h,w,T,x,_,q,V;return h=n,w=n,t.charCodeAt(n)===90?(T=Pt,n++):(T=e,k===0&&J(ft)),T!==e?w=t.substring(w,n):w=T,w!==e?(pe=n,T=Gr(w),T?T=void 0:T=e,T!==e?(x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_===e&&(t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue))),_!==e?x=t.substring(x,n):x=_,x!==e?(_=va(),_!==e?(q=Me(),q!==e?(pe=n,V=_r(w,x,_,q),V?V=void 0:V=e,V!==e?(pe=h,w=zn(w,x,_,q),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)):(n=h,h=e),h}function Yo(){var h,w,T,x,_,q,V,P,R;if(h=n,w=n,t.charCodeAt(n)===68?(T=B,n++):(T=e,k===0&&J(re)),T!==e?w=t.substring(w,n):w=T,w!==e)if(pe=n,T=Gr(w),T?T=void 0:T=e,T!==e)if(x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_===e&&(t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue))),_!==e?x=t.substring(x,n):x=_,x!==e)if(_=$a(),_!==e){if(q=n,V=bi(),V!==e){for(P=[],R=wi();R!==e;)P.push(R),R=wi();P!==e?(pe=q,V=mi(w,x,_,P),q=V):(n=q,q=e)}else n=q,q=e;q===e&&(q=null),q!==e?(V=Me(),V!==e?(pe=n,P=jn(w,x,_,q,V),P?P=void 0:P=e,P!==e?(pe=h,w=Nr(w,x,_,q,V),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)}else n=h,h=e;else n=h,h=e;else n=h,h=e;else n=h,h=e;return h}function el(){var h,w,T,x,_,q,V,P,R;if(h=n,w=n,t.charCodeAt(n)===88?(T=tr,n++):(T=e,k===0&&J(Or)),T!==e?w=t.substring(w,n):w=T,w!==e)if(pe=n,T=Gr(w),T?T=void 0:T=e,T!==e)if(x=n,t.charCodeAt(n)===60?(_=ze,n++):(_=e,k===0&&J(qe)),_===e&&(t.charCodeAt(n)===171?(_=ne,n++):(_=e,k===0&&J(ue))),_!==e?x=t.substring(x,n):x=_,x!==e)if(_=xa(),_!==e){if(q=n,V=bi(),V!==e){for(P=[],R=wi();R!==e;)P.push(R),R=wi();P!==e?(pe=q,V=mi(w,x,_,P),q=V):(n=q,q=e)}else n=q,q=e;q===e&&(q=null),q!==e?(V=Me(),V!==e?(pe=n,P=jn(w,x,_,q,V),P?P=void 0:P=e,P!==e?(pe=h,w=Nr(w,x,_,q,V),h=w):(n=h,h=e)):(n=h,h=e)):(n=h,h=e)}else n=h,h=e;else n=h,h=e;else n=h,h=e;else n=h,h=e;return h}function vi(h){return h.reduce((w,T)=>Array.isArray(T)?w.concat(vi(T)):w.concat(T),[])}function Es(h){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[h]}if(Qt=a(),Qt!==e&&n===t.length)return Qt;throw Qt!==e&&n<t.length&&J(Ji()),yi(Xn,br<t.length?t.charAt(br):null,br<t.length?En(br,br+1):En(br,br))}Qh.exports={SyntaxError:Ri,parse:z1}});var Yu=xe((d_,wd)=>{wd.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Cd=xe((m_,Sd)=>{"use strict";var xo=Object.prototype.hasOwnProperty,Ed=Object.prototype.toString,vd=Object.defineProperty,$d=Object.getOwnPropertyDescriptor,xd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Ed.call(r)==="[object Array]"},kd=function(r){if(!r||Ed.call(r)!=="[object Object]")return!1;var e=xo.call(r,"constructor"),s=r.constructor&&r.constructor.prototype&&xo.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!s)return!1;var a;for(a in r);return typeof a>"u"||xo.call(r,a)},Ad=function(r,e){vd&&e.name==="__proto__"?vd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},_d=function(r,e){if(e==="__proto__")if(xo.call(r,e)){if($d)return $d(r,e).value}else return;return r[e]};Sd.exports=function t(){var r,e,s,a,o,u,f=arguments[0],p=1,m=arguments.length,d=!1;for(typeof f=="boolean"&&(d=f,f=arguments[1]||{},p=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});p<m;++p)if(r=arguments[p],r!=null)for(e in r)s=_d(f,e),a=_d(r,e),f!==a&&(d&&a&&(kd(a)||(o=xd(a)))?(o?(o=!1,u=s&&xd(s)?s:[]):u=s&&kd(s)?s:{},Ad(f,{name:e,newValue:t(d,u,a)})):typeof a<"u"&&Ad(f,{name:e,newValue:a}));return f}});var Mx={};bf(Mx,{PluginRegister:()=>Nx,default:()=>Lx,parseMd:()=>zo,plugin:()=>jo});module.exports=Pg(Mx);var yd=Xr(Ah()),tv=Xr(Ch());var Th=["boundary","cell","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","set","table","toc"];var A1=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 s=r.match(/(.+)\<\>/);return s?{type:"fcode",name:s[1]}:{name:r,type:"block"}}return{name:r,type:e}},yo=t=>{let r=A1(t),{name:e,type:s}=r;return s&&s==="*"?{name:e}:e&&e==="*"?{type:s}:r};function _1(t,r){function e(a){for(var o in a)if(a.hasOwnProperty(o))return!1;return!0}if(e(t))return!0;for(var s in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(s))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(s)){if(t[s]!==r[s])return!1}else return!1;return!0}var ia=(t,r)=>{return e.rule=t,e.isFor=s,e.fn=r,e;function e(){}function s(a){return typeof a=="string"?!1:_1(t,a)}};var Mu=Xr(require("crypto"),1);var Ph="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var E1=128,Oi,hs,S1=t=>{!Oi||Oi.length<t?(Oi=Buffer.allocUnsafe(t*E1),Mu.default.randomFillSync(Oi),hs=0):hs+t>Oi.length&&(Mu.default.randomFillSync(Oi),hs=0),hs+=t};var Fh=(t=21)=>{S1(t);let r="";for(let e=hs-t;e<hs;e++)r+=Ph[Oi[e]&63];return r};var ds=t=>({...t}),zu=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},$r=(t,r)=>{let e="block",s=t.name,a={id:Fh(),margin:"",...t};var o=ds({type:e,...a,content:zu(r)});return o};var bo=(t,r)=>ds({type:"fcode",...t,content:r}),ju=(t,r)=>ds({...t,type:"fcode",name:"L",content:zu(r)}),Dh=t=>ds({type:"fcode",name:"O",content:zu(t)});var Ih=t=>ds({type:"fcode",name:"F",content:[{type:"text",value:t}]}),sa=t=>ds({type:"verbatim",value:t});var Oh=t=>({type:"block",name:"caption",content:t}),qh=(t,r)=>({type:"image",src:t,alt:r}),Rh=({margin:t=""},r)=>$r({name:"root",margin:t},r);var Nh=({value:t,location:r})=>$r({name:"formula",location:r},[sa(t)]);var C1=(t,r={})=>{let e=t.config instanceof Array?t.config:[],s=[];r.config&&r.config.hasOwnProperty(t.name)&&(s=r.config[t.name]);let a={};[...e,...s].map(u=>{a.hasOwnProperty(u.name)||(a[u.name]=[]),u.type==="array"?a[u.name].push(...u.value):a[u.name].push(u.value)});let o=function(){};return o.exists=u=>a.hasOwnProperty(u),o.getAllValues=u=>o.exists(u)?a[u]:[],o.getFirstValue=u=>o.exists(u)?o.getAllValues(u)[0]:void 0,o.getMapValue=u=>{let f=o.getFirstValue(u);return f&&typeof f=="object"&&!Array.isArray(f)?f:void 0},o.asHash=()=>a,o},en=C1;var T1=(t,r)=>{let e=en(t,r);return e.exists("id")?e.getFirstValue("id"):t.id},P1=t=>t.trim().split(/[\s\-\u2013\u2014]+/).filter(Boolean).join("-").replace(/[^\p{L}\p{N}\-_]/gu,"").replace(/^-+|-+$/g,"");var F1={shape:P1,firstRepeat:2};var D1=(t,r,e)=>{if(!t)return t;let s=t;for(;r.has(s);){let a=(r.get(t)||0)+1;r.set(t,a),s=`${t}-${a+e-1}`}return r.set(s,r.get(s)||0),s},Vu=(t,r)=>{if(Array.isArray(t)){for(let e of t)Vu(e,r);return}!t||typeof t!="object"||(r(t),"content"in t&&Vu(t.content,r))},I1=(t,r)=>{let e=new Map,s=new Map,a=new Map;for(let o of t){let u=T1(o,{});if(u==null)continue;let f=u.toString(),p=D1(r.shape(f),a,r.firstRepeat);e.set(o,p),s.has(f)||s.set(f,p)}return{byNode:e,byName:s,shape:r.shape}},Lh=(t,r=F1)=>{let e=[];return Vu(t,s=>{s.name==="head"&&e.push(s)}),I1(e,r)};function Mh(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(Mh(e)):r.concat(e),[]):t}function O1(t){function r(e,s){if(e==null)return e;if(e instanceof Array)return Mh(e.map(u=>r(u,s))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},s);let a=t.slice();a.reverse();let o=a.findIndex(u=>u.isFor(e));if(o!==-1){let u=a.slice(o+1),f=u.findIndex(m=>m.isFor(e)),p=(m=e,d=s,v=r)=>{if(f!==-1)return u[f].fn(m,d,v,()=>{})};return typeof a[o].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),a[o].fn(e,s,r,p)}else{let u={...e};if(u.hasOwnProperty("content"))return r(u.content,s)}}return r.rules=t,r}var zh=O1;var jh=(t,r)=>(e,s,a)=>{if(e.content)return a(e.content,s)};function Vh(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function Bh(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(Bh(e)):r.concat(e),[])}var q1=t=>{let r=[];function e(a,o){if(a instanceof Array&&console.warn(`[podlite] Unsupported param for ${a}`),a instanceof Object){for(var u in a)a.hasOwnProperty(u)&&e(u,a[u]);return[]}r.push(ia(yo(a),o))}function s(a,o={}){if(a==null)return a;if(a instanceof Array)return Bh(a.map(p=>s(p,o)));if(typeof a=="string")return a;let u=r.slice();u.reverse();let f=u.findIndex(p=>p.isFor(a));if(f!==-1)return u[f].fn(a,o,s);{let p={...a};return p.hasOwnProperty("content")&&(p.content=s(p.content,o)),p}}return e(t),s.rules=r,s},Ir=q1;var Uh=Xr(require("events")),Bu=class extends Uh.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)}},Hh=Bu;var aa=(t={},r=[])=>{let e=r,s=t.processor||Gh,a=t.writer;return o.use=u,o.run=f,o.getPlugins=()=>e,o;function o(p){}function u(p,m){if(p instanceof Array)return aa(t,[...e,...m]);if(p instanceof Object){for(var d in p)p.hasOwnProperty(d)&&u(d,p[d]);return o}return e.push(ia(yo(p),m)),o}function f(p,m){let d="",v=m||a||new Hh(re=>{d=d+re}),S=typeof v=="function"?new v(re=>{d=d+re}):v,E=typeof p=="string"?s(p):p,C=e.slice();C.reverse();let N=zh(C.map(re=>ia(re.rule,re.fn(S,s,E))).reverse()),j={__anchors:Lh(E),...t.context||{}};S.startWrite(E);let B=N(E,j);return S.endWrite(),{errors:S.errors,toString:()=>d,valueOf:()=>d,indexingTerms:S.INDEXTERMS,annotations:S.FOOTNOTES,defenitions:S.DEFINITIONS,interator:B}}};var Wh=Xr(Uu());function Hu(t){if(!t||!t.trim())return[];try{return Wh.parse(t,{startRule:"attributesOnly"})}catch{return[]}}var bd=Xr(Uu());var L1=()=>t=>{let r=(s,a={})=>{if((s.type=="code"||s.type=="text")&&(s.margin&&a.margin&&a.margin.length>0&&a.margin.length==s.margin.length&&(s.type="para"),s.type==="code")){var o=new RegExp(`^[ ]{0,${s.margin.length}}`,"gm");s.text=s.text.replace(o,"")}if(s.type==="block"){a.margin=typeof s.margin!="string"?"":s.margin;let u={...a};u.nest=(u.nest||0)+1,s.content.map(f=>{r(f,a)})}};var e={};return t.forEach(s=>r(s,e)),t},Jh=L1;var oa=Xr(Zh());var j1=()=>t=>{let r=Ir({":para":(e,s,a)=>Ir({":text":(o,u)=>oa.parse(o.value),":verbatim":(o,u)=>oa.parse(o.value)})(e,{...s}),":block":(e,s,a)=>{if("name"in e&&e.name==="pod")return{...e,content:a(e.content,s,a)};let o=en(e,s),u="name"in e?e.name:"",f=["code","data","markdown","picture","formula"].includes(u),p=o.getAllValues("allow");if(Vh(u)||f&&p.length===0)return e;let m=p.sort(),d=Ir({":verbatim":(v,S)=>oa.parse(v.value,{allowed:m}),":text":(v,S)=>oa.parse(v.value,{allowed:m}),":block":(v,S)=>r(v,{...S})});return{...e,content:d(e.content,{...s})}}});return r(t,{})},Xh=j1;var Yh=(t,r)=>{if(t.text=t.text.replace(r,""),t.type!=="para")return;if(!Array.isArray(t.content)){t.content=[t.text];return}let e=t.content[0];typeof e=="string"?t.content[0]=e.replace(r,""):e&&typeof e.value=="string"&&(e.value=e.value.replace(r,""))},ed=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(s=>{r(s)});else if(e&&e.type==="block"){let s=/^item(\d+)?/.exec(e.name);if(s){e.name="item",e.level=s[1]||1;let a=(e.config||[]).find(o=>o.name==="checked");if(a&&(e.checked=a.value!==!1&&a.value!==0&&a.value!=="0"),e.content[0]){let o=e.content[0];if(o.text){if(!a){let p=/^\[( |x)\]\s*/,m=p.exec(o.text);m&&(e.checked=m[1]==="x",Yh(o,p),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let u=/^(\s*#\s*)/;u.exec(o.text)&&(Yh(o,u),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}r(e.content)}};return r(t),t};var td=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(s=>{r(s)});else if(e&&e.type==="block"){let s=/^head(\d+)?/.exec(e.name);if(s&&(e.name="head",e.level=s[1]||1,e.content[0])){let a=e.content[0];if(a.text){let o=/(\s*#\s*)/;o.exec(a.text)&&(a.text=a.text.replace(o,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var rd=()=>t=>{let r=(o,u)=>(o.name==="item"||o.name==="defn")&&u.name===o.name&&o.level===u.level&&e(o)===e(u),e=o=>Boolean(o.config&&o.config.numbered),s=o=>{let u={};return o.reduce((p,m)=>(m.name==="defn"?r(u,m)?p[p.length-1].push(m):p.push([m]):p.push(m),u=m,p),[]).map(p=>p instanceof Array?p[0].name!=="defn"?p:{type:"list",list:p[0].name==="defn"?"variable":e(p[0])?"ordered":"itemized",level:1,content:[...p]}:(p.content&&p.type!=="fcode"&&(p.content=s(p.content)),p))};return t=(o=>Array.isArray(o)?s(o):(o.type==="block"&&o.name!=="table"&&(o.content=s(o.content)),o))(t),t};var nd=()=>t=>{let r=(u,f)=>(u.name==="item"||u.name==="defn")&&f.name===u.name&&u.level===f.level&&e(u)===e(f)&&s(u)===s(f),e=u=>Boolean(en(u,{}).exists("numbered")),s=u=>u.checked!==void 0,a=(u,f=1)=>{let p=E=>E.length>0&&E[E.length-1].type==="list",m=E=>{if(p(E))return E[E.length-1]},d=(E,C)=>C.name&&C.name==="item"&&C.type&&C.type==="block"||C.type==="blankline",v={};return u.reduce((E,C)=>C.name==="item"&&C.type==="block"&&C.level<f?[...E,C]:(C.name==="item"&&C.type==="block"&&(!p(E)||Number(C.level)===f&&m(E).list!==(e(C)?"ordered":s(C)?"task":"itemized"))&&E.push({type:"list",level:C.level,content:[],list:e(C)?"ordered":s(C)?"task":"itemized"}),p(E)&&d(m(E),C)?m(E).content.push(C):E.push(C),E),[]).map(E=>(E.content&&E.type!=="fcode"&&(E.content=a(E.content,Number(E.level||0)+1)),E))};return t=(u=>(Array.isArray(u)?u=a(u):u.type==="block"&&u.name!=="table"&&(u.content=a(u.content)),u))(t),t};var id=()=>t=>Ir({defn:e=>{let s=e.content,a=s.length,o=[],u=!1;for(let f=0;f<a;f++){let p=s[f];if(p.type==="para"&&!u){let m=p.content[0],v=m.value.split(`
19
- `),S=v.shift(),E={type:"para",name:"term",text:S,content:[{type:"text",value:S}]};o.push(E),v.length==1&&v[0]===""||(m.value=v.join(`
20
- `),p.text=m.value,o.push(p)),u=!0}else o.push(p)}return e.content=o,e}})(t,{});var V1=t=>!t||typeof t!="object"?!1:t.type==="set"||t.type==="config"||t.type==="alias"||t.type==="blankline"||t.type==="block"&&(t.name==="comment"||t.name==="boundary"||t.name==="include"),sd=t=>t&&typeof t=="object"&&t.type==="block",Gu=t=>{let r=[],e=[];for(let s of t){if(s&&typeof s=="object"&&s.type==="set"&&Array.isArray(s.config)){for(let o of s.config)!o||!o.name||(r=r.filter(u=>u.name!==o.name),r.push(o));continue}let a=s;if(sd(s)&&Array.isArray(s.content)&&(a={...s,content:Gu(s.content)}),r.length&&sd(a)&&!V1(a)){let o=new Set((a.config||[]).map(f=>f&&f.name)),u=r.filter(f=>!o.has(f.name));u.length&&(a={...a,config:[...a.config||[],...u]}),r=[]}e.push(a)}return r.length&&console.warn(`[set] =set directive has no target block in scope: ${r.map(s=>s.name).join(", ")}`),e},ad=()=>t=>Array.isArray(t)?Gu(t):t&&typeof t=="object"&&Array.isArray(t.content)?{...t,content:Gu(t.content)}:t;function la(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(la(e)):r.concat(e),[])}function Wu(t){let r=[],e="",s=[],a=!1,o=0;for(;o<t.length;){let u=t[o];if(a){if(u==='"'&&t[o+1]==='"'){e+='"',o+=2;continue}if(u==='"'){a=!1,o++;continue}e+=u,o++;continue}if(u==='"'&&e===""){a=!0,o++;continue}if(u===","){s.push(e),e="",o++;continue}if(u==="\r"){o++;continue}if(u===`
21
- `){s.push(e),r.push(s),s=[],e="",o++;continue}e+=u,o++}return(e!==""||s.length>0)&&(s.push(e),r.push(s)),r.filter(u=>!(u.length===1&&u[0].trim()===""))}function Ju(t){return t.split(/\r?\n/).map(s=>s.split(" ")).filter(s=>!(s.length===1&&s[0].trim()===""))}function vo(t){if(!t||typeof t!="string")return{type:"",params:{}};let r=t.split(";").map(a=>a.trim()),e=(r.shift()||"").toLowerCase(),s={};for(let a of r){if(!a)continue;let o=a.indexOf("=");if(o<0)continue;let u=a.slice(0,o).trim().toLowerCase(),f=a.slice(o+1).trim();(f.startsWith('"')&&f.endsWith('"')||f.startsWith("'")&&f.endsWith("'"))&&(f=f.slice(1,-1)),u&&(s[u]=f)}return{type:e,params:s}}function Qu(t,r){let e=null,s=a=>{if(!e){if(Array.isArray(a)){a.forEach(s);return}if(!(!a||typeof a!="object")){if(a.type==="block"&&a.name==="data"&&en(a,{}).getFirstValue("key")===r){e=a;return}Array.isArray(a.content)&&a.content.forEach(s)}}};return s(t),e}function $o(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 B1(t){let r=[];Ir({"row:text":u=>(r.push(u.value),u),"head:text":u=>(r.push(u.value),u)})(t,{});let a=r.join(`
22
- `).trim().split(/\r?\n/).map(u=>u.trim()).filter(u=>u.length>0);if(a.length!==1)return null;let o=a[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 U1(t,r){let e={name:"row",type:"block",margin:"",content:t};return r&&(e.config=[{name:"header",value:!0,type:"boolean"}]),e}function Zu(t,r=!1){return t.map((e,s)=>{let a=e.map(o=>ld(o.trim()));return U1(a,r&&s===0)})}function ua(t,r="table"){if(!t||!Array.isArray(t.content))return t;let e=t.content.filter(v=>v&&v.type==="block"&&v.name==="row");if(e.length===0)return t;let s=v=>Array.isArray(v.content)?v.content.filter(S=>S&&S.name==="cell"):[],a=v=>Array.isArray(v.config)&&v.config.some(S=>S.name==="header"&&S.value===!0),o=v=>Array.isArray(v.config)&&v.config.some(S=>S.name==="colspan"||S.name==="rowspan"),u=v=>s(v).some(o);if(e.some(u))return t;let f=e.find(a),p=f?s(f).length:Math.max(...e.map(v=>s(v).length));if(p===0)return t;let m=!1,d=t.content.map(v=>{if(!v||v.type!=="block"||v.name!=="row")return v;let S=s(v);if(S.length===p)return v;if(S.length<p){let j=[];for(let B=S.length;B<p;B++)j.push(ld(""));return console.warn(`[${r}] row has ${S.length} cells, expected ${p} \u2014 padded with ${j.length} empty`),m=!0,{...v,content:[...v.content,...j]}}let E=S.length-p;console.warn(`[${r}] row has ${S.length} cells, expected ${p} \u2014 truncated ${E}`),m=!0;let C=p,N=[];for(let j of v.content||[])j&&j.type==="block"&&j.name==="cell"?C>0&&(N.push(j),C--):N.push(j);return{...v,content:N}});return m?{...t,content:d}:t}function H1(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 G1(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 Ku=(t,r,e)=>{let s=[];for(let a=0;t.length>a;a++)s.push(e(parseInt(t[a],10),parseInt(r[a],10)));return s.join("")},K1=(t,r)=>{let e=Math.max(...[...t,...r].map(o=>o.length));return t.map(o=>{let u=o+" ".repeat(e-o.length),f=[],p=/\s+[+|\s]\s/g,m;for(;(m=p.exec(u))!=null;){let d="1".repeat(m.index)+"0".repeat(m[0].length);f.push(d+"1".repeat(e-d.length))}return f.reduce((d,v)=>Ku(d,v,(S,E)=>S&E),"1".repeat(e))}).map(o=>Ku(o,"",u=>u==0?1:0)).reduce((o,u)=>Ku(o,u,(f,p)=>f&p),"1".repeat(e))},od=(t,r)=>{let s=la(t.split(/\n/).filter(o=>o.length>0)).map(o=>{let u=/((1+|0+))/g,f=[],p;for(;(p=u.exec(r))!=null;)p[0][0]!="1"&&f.push(o.substring(p.index,p.index+p[0].length));return f}),a=[];return s.reduce((o,u)=>{for(let f=0;f<u.length;f++)o[f]=(o[f]===void 0?"":o[f])+" "+u[f];return o},a),a},wo=t=>/(?:^|\s)\|(?:\s|$)/.test(t)?"pipe":/(?:^|\s)\+(?:\s|$)/.test(t)?"plus":"whitespace",ud=t=>{let r=0,e=t.length;return t[r]===""&&r++,e>r&&t[e-1]===""&&e--,t.slice(r,e)},cd=t=>ud(t.split(/\s*\|\s*/).map(r=>r.trim())),fd=t=>ud(t.split(/\s*\+\s*/).map(r=>r.trim())),pd=t=>t.trim().split(/\s{2,}/).filter(r=>r!==""),hd=t=>{if(t.trim()==="")return[];let e=wo(t);return e==="pipe"?cd(t):e==="plus"?fd(t):pd(t)},W1=t=>{let r=t.split(/\r?\n/).filter(f=>f.trim()!=="");if(r.length===0)return[];if(r.length===1)return hd(r[0]);let e=wo(r[0]),s=e==="pipe"?cd:e==="plus"?fd:pd,a=r.map(s),o=Math.max(...a.map(f=>f.length)),u=[];for(let f=0;f<o;f++){let p=a.map(m=>m[f]??"").filter(m=>m!=="");u.push(p.join(" "))}return u},J1=t=>{if(!Array.isArray(t.content)||t.content.length===0||!t.content.some(s=>s&&s.type==="block"&&s.name!=="cell"&&s.name!=="blankline"))return t;let e=t.content.map(s=>!s||s.type!=="block"||s.name==="cell"||s.name==="blankline"?s:{type:"block",name:"cell",content:[s],margin:s.margin||""});return{...t,content:e}},Q1=t=>Array.isArray(t.content)&&t.content.some(r=>r&&r.type==="block"&&(r.name==="row"||r.name==="cell")),dd=()=>t=>Ir({table:(e,s,a)=>{let o=B1(e);if(o&&o.scheme==="data"){let fe=Qu(t,o.target);if(!fe)return console.warn(`[table] no =data block found for data:${o.target} \u2014 rendered as empty`),{...e,content:[]};let Ae=en(fe,{}).getFirstValue("mime-type"),{type:be,params:He}=vo(Ae),Pe=be==="text/csv";if(Pe||be==="text/tab-separated-values"){let ye=$o(fe),Fe=Pe?Wu(ye):Ju(ye);if(Fe.length===0)return console.warn(`[table] ${Pe?"CSV":"TSV"} parse produced no rows for data:${o.target} \u2014 rendered as empty`),{...e,content:[]};let et=He.header==="present",se={...e,content:Zu(Fe,et)};return ua(se,`table data:${o.target}`)}return console.warn(`[table] =data :key<${o.target}> has non-tabular mime-type ${Ae||"(none)"} \u2014 rendered as =code`),G1(e,fe)}if(Q1(e)){let fe=(e.content||[]).map(be=>be&&be.name==="row"?J1(be):be),Ae=a?a(fe,s):fe;return ua({...e,content:Ae},"table")}let u=[],f=fe=>{u.push(fe.value)},p=[];if(Ir({"row:text":f,"head:text":f,":separator":fe=>{p.push(fe.text)}})(e),!u.length)return e;let m=fe=>fe.split(/\n/).filter(Ae=>Ae.length>0),d=la(u.map(m)),v=la(p.map(m));H1(d);let S=[];Ir({"row:text":fe=>{S.push(fe.value)}})(e);let E=(fe,Ae,be={})=>({...be,name:fe,type:"block",content:Array.isArray(Ae)?Ae:[Ae]}),C=fe=>E("row",fe),N=fe=>E("row",fe,{config:[{name:"header",value:!0,type:"boolean"}]}),j=fe=>E("cell",{type:"text",value:fe}),B=K1(d,v),re=new Set(d.map(wo)),ce=(re.has("pipe")||re.has("plus"))&&re.has("whitespace"),ve=fe=>ce||wo(fe)==="whitespace",me=fe=>fe.split(/\r?\n/).filter(be=>be.trim()!=="").length<=1&&ve(fe)?W1(fe):od(fe,B),le=Ir({"row:text":fe=>S.length==1?la([fe.value].map(m)).map(be=>C((ve(be)?hd(be):od(be,B)).map(j))):C(me(fe.value).map(j)),"head:text":fe=>N(me(fe.value).map(j))})(e);return ua(le,"table")}})(t,{});function Z1(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 md(t,r,e){let s=t.trim();if(/^\d+$/.test(s)){let o=parseInt(s,10),u=o-1;if(u<0||u>=e)throw new Error(`column index ${o} out of range (1..${e})`);return u}if(!r)throw new Error(`column name "${t}" requires header=present`);let a=r.indexOf(t);if(a===-1)throw new Error(`column name "${t}" not found in header`);return a}function X1(t,r,e){if(t.length===0)return t;let s=t[0].length,a=e?t[0]:null,o=r.map(u=>md(u,a,s));return t.map(u=>o.map(f=>u[f]??""))}function Y1(t,r,e){if(!e||t.length===0)return t;let s=[...t[0]];for(let[a,o]of Object.entries(r)){let u=md(a,s,s.length);s[u]=String(o)}return[s,...t.slice(1)]}function ev(t,r){let e=en(t,{}),s=e.getFirstValue("src"),a=e.getFirstValue("mime-type"),o=e.getMapValue("rename"),u=e.exists("columns"),f=u?Z1(e.getAllValues("columns")):null,p=$o(t),m=p.trim().length>0;if(s&&m)throw new Error(":src and inline body are mutually exclusive");if(u&&(!f||f.length===0))throw new Error(":columns must have at least one entry; omit the attribute to render all columns");let d,v,S;if(s){let B=String(s),re=B.match(/^(file|data|http|https|doc):(.+)$/),ce=re?re[1]:"file",ve=re?re[2]:B;if(ce==="data"){let me=Qu(r,ve);if(!me)return console.warn(`[data-table] no =data block found for data:${ve} \u2014 rendered as empty`),{...t,name:"table",content:[]};if(a)throw new Error(`:mime-type cannot be declared with :src<data:${ve}> (inherited from referenced block)`);let le=en(me,{}).getFirstValue("mime-type");if(!le)return console.warn(`[data-table] =data block ${ve} has no :mime-type \u2014 rendered as empty`),{...t,name:"table",content:[]};let fe=vo(le);v=fe.type,S=fe.params.header==="present",d=$o(me)}else return t}else{if(!a)throw new Error("inline body requires :mime-type");let B=vo(a);v=B.type,S=B.params.header==="present",d=p}let E=v==="text/csv";if(!E&&!(v==="text/tab-separated-values"))return console.warn(`[data-table] unsupported mime-type ${v} \u2014 rendered as empty`),{...t,name:"table",content:[]};let N=E?Wu(d):Ju(d);if(N.length===0)return console.warn(`[data-table] ${E?"CSV":"TSV"} parse produced no rows \u2014 rendered as empty`),{...t,name:"table",content:[]};f&&(N=X1(N,f,S)),o&&(N=Y1(N,o,S));let j={...t,name:"table",content:Zu(N,S)};return ua(j,"data-table")}var gd=()=>t=>Ir({"data-table":e=>{try{return ev(e,t)}catch(s){return console.warn(`[data-table] ${s.message}`),{...e,name:"table",content:[]}}}})(t);var n_=new yd.default({strict:!0,allowUnionTypes:!0});function rv(){var t=[];return r.use=e,r.parse=s,r.use(Jh),r.use(ad),r.use(ed),r.use(td),r.use(id),r.use(dd),r.use(gd),r.use(Xh),r.use(nd),r.use(rd),r;function r(){}function e(a){if(!["function"].includes(typeof a))throw a;return t.push(a),r}function s(a,o={skipChain:0,podMode:1}){let{skipChain:u=0,podMode:f=1,diagnostics:p}=o,m=bd.parse(a,{podMode:f,diagnostics:p,blockNames:Th});if(!u)for(let d=0;d<t.length;d++){let v=t[d];m=v(o)(m)}return m}}var Gh=rv().parse;function Xu(t){if(t)throw t}var Nd=Xr(Yu(),1),uc=Xr(Cd(),1);function ca(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 Td(){let t=[],r={run:e,use:s};return r;function e(...a){let o=-1,u=a.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);f(null,...a);function f(p,...m){let d=t[++o],v=-1;if(p){u(p);return}for(;++v<a.length;)(m[v]===null||m[v]===void 0)&&(m[v]=a[v]);a=m,d?nv(d,f)(...m):u(null,...m)}}function s(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return t.push(a),r}}function nv(t,r){let e;return s;function s(...u){let f=t.length>u.length,p;f&&u.push(a);try{p=t.apply(this,u)}catch(m){let d=m;if(f&&e)throw d;return a(d)}f||(p instanceof Promise?p.then(o,a):p instanceof Error?a(p):o(p))}function a(u,...f){e||(e=!0,r(u,...f))}function o(u){a(null,u)}}var Id=Xr(Yu(),1);function Ni(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Pd(t.position):"start"in t||"end"in t?Pd(t):"line"in t||"column"in t?ec(t):""}function ec(t){return Fd(t&&t.line)+":"+Fd(t&&t.column)}function Pd(t){return ec(t&&t.start)+"-"+ec(t&&t.end)}function Fd(t){return t&&typeof t=="number"?t:1}var xr=class extends Error{constructor(r,e,s){let a=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(s=e,e=void 0),typeof s=="string"){let u=s.indexOf(":");u===-1?a[1]=s:(a[0]=s.slice(0,u),a[1]=s.slice(u+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=Ni(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=a[0],this.ruleId=a[1],this.position=o,this.actual,this.expected,this.file,this.url,this.note}};xr.prototype.file="";xr.prototype.name="";xr.prototype.reason="";xr.prototype.message="";xr.prototype.stack="";xr.prototype.fatal=null;xr.prototype.column=null;xr.prototype.line=null;xr.prototype.source=null;xr.prototype.ruleId=null;xr.prototype.position=null;var tn=Xr(require("path"),1);var tc=Xr(require("process"),1);var rc=require("url");function ko(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var nc=["history","path","basename","stem","extname","dirname"],fa=class{constructor(r){let e;r?typeof r=="string"||(0,Id.default)(r)?e={value:r}:ko(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=tc.default.cwd(),this.value,this.stored,this.result,this.map;let s=-1;for(;++s<nc.length;){let o=nc[s];o in e&&e[o]!==void 0&&(this[o]=o==="history"?[...e[o]]:e[o])}let a;for(a in e)nc.includes(a)||(this[a]=e[a])}get path(){return this.history[this.history.length-1]}set path(r){ko(r)&&(r=(0,rc.fileURLToPath)(r)),sc(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?tn.default.dirname(this.path):void 0}set dirname(r){Dd(this.basename,"dirname"),this.path=tn.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?tn.default.basename(this.path):void 0}set basename(r){sc(r,"basename"),ic(r,"basename"),this.path=tn.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?tn.default.extname(this.path):void 0}set extname(r){if(ic(r,"extname"),Dd(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=tn.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?tn.default.basename(this.path,this.extname):void 0}set stem(r){sc(r,"stem"),ic(r,"stem"),this.path=tn.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,s){let a=new xr(r,e,s);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}info(r,e,s){let a=this.message(r,e,s);return a.fatal=null,a}fail(r,e,s){let a=this.message(r,e,s);throw a.fatal=!0,a}};function ic(t,r){if(t&&t.includes(tn.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+tn.default.sep+"`")}function sc(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Dd(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var cc=Md().freeze(),Ld={}.hasOwnProperty;function Md(){let t=Td(),r=[],e={},s,a=-1;return o.data=u,o.Parser=void 0,o.Compiler=void 0,o.freeze=f,o.attachers=r,o.use=p,o.parse=m,o.stringify=d,o.run=v,o.runSync=S,o.process=E,o.processSync=C,o;function o(){let N=Md(),j=-1;for(;++j<r.length;)N.use(...r[j]);return N.data((0,uc.default)(!0,{},e)),N}function u(N,j){return typeof N=="string"?arguments.length===2?(lc("data",s),e[N]=j,o):Ld.call(e,N)&&e[N]||null:N?(lc("data",s),e=N,o):e}function f(){if(s)return o;for(;++a<r.length;){let[N,...j]=r[a];if(j[0]===!1)continue;j[0]===!0&&(j[0]=void 0);let B=N.call(o,...j);typeof B=="function"&&t.use(B)}return s=!0,a=Number.POSITIVE_INFINITY,o}function p(N,...j){let B;if(lc("use",s),N!=null)if(typeof N=="function")me(N,...j);else if(typeof N=="object")Array.isArray(N)?ve(N):ce(N);else throw new TypeError("Expected usable value, not `"+N+"`");return B&&(e.settings=Object.assign(e.settings||{},B)),o;function re(le){if(typeof le=="function")me(le);else if(typeof le=="object")if(Array.isArray(le)){let[fe,...Ae]=le;me(fe,...Ae)}else ce(le);else throw new TypeError("Expected usable value, not `"+le+"`")}function ce(le){ve(le.plugins),le.settings&&(B=Object.assign(B||{},le.settings))}function ve(le){let fe=-1;if(le!=null)if(Array.isArray(le))for(;++fe<le.length;){let Ae=le[fe];re(Ae)}else throw new TypeError("Expected a list of plugins, not `"+le+"`")}function me(le,fe){let Ae=-1,be;for(;++Ae<r.length;)if(r[Ae][0]===le){be=r[Ae];break}be?(ca(be[1])&&ca(fe)&&(fe=(0,uc.default)(!0,be[1],fe)),be[1]=fe):r.push([...arguments])}}function m(N){o.freeze();let j=pa(N),B=o.Parser;return ac("parse",B),Od(B,"parse")?new B(String(j),j).parse():B(String(j),j)}function d(N,j){o.freeze();let B=pa(j),re=o.Compiler;return oc("stringify",re),qd(N),Od(re,"compile")?new re(N,B).compile():re(N,B)}function v(N,j,B){if(qd(N),o.freeze(),!B&&typeof j=="function"&&(B=j,j=void 0),!B)return new Promise(re);re(null,B);function re(ce,ve){t.run(N,pa(j),me);function me(le,fe,Ae){fe=fe||N,le?ve(le):ce?ce(fe):B(null,fe,Ae)}}}function S(N,j){let B,re;return o.run(N,j,ce),Rd("runSync","run",re),B;function ce(ve,me){Xu(ve),B=me,re=!0}}function E(N,j){if(o.freeze(),ac("process",o.Parser),oc("process",o.Compiler),!j)return new Promise(B);B(null,j);function B(re,ce){let ve=pa(N);o.run(o.parse(ve),ve,(le,fe,Ae)=>{if(le||!fe||!Ae)me(le);else{let be=o.stringify(fe,Ae);be==null||(av(be)?Ae.value=be:Ae.result=be),me(le,Ae)}});function me(le,fe){le||!fe?ce(le):re?re(fe):j(null,fe)}}}function C(N){let j;o.freeze(),ac("processSync",o.Parser),oc("processSync",o.Compiler);let B=pa(N);return o.process(B,re),Rd("processSync","process",j),B;function re(ce){j=!0,Xu(ce)}}}function Od(t,r){return typeof t=="function"&&t.prototype&&(iv(t.prototype)||r in t.prototype)}function iv(t){let r;for(r in t)if(Ld.call(t,r))return!0;return!1}function ac(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function oc(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function lc(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function qd(t){if(!ca(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Rd(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function pa(t){return sv(t)?t:new fa(t)}function sv(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function av(t){return typeof t=="string"||(0,Nd.default)(t)}function jd(t,r){var{includeImageAlt:e=!0}=r||{};return Vd(t,e)}function Vd(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&zd(t.children,r)||Array.isArray(t)&&zd(t,r))||""}function zd(t,r){for(var e=[],s=-1;++s<t.length;)e[s]=Vd(t[s],r);return e.join("")}function It(t,r,e,s){let a=t.length,o=0,u;if(r<0?r=-r>a?0:a+r:r=r>a?a:r,e=e>0?e:0,s.length<1e4)u=Array.from(s),u.unshift(r,e),[].splice.apply(t,u);else for(e&&[].splice.apply(t,[r,e]);o<s.length;)u=s.slice(o,o+1e4),u.unshift(r,0),[].splice.apply(t,u),o+=1e4,r+=1e4}function kr(t,r){return t.length>0?(It(t,t.length,0,r),t):r}var Bd={}.hasOwnProperty;function Ao(t){let r={},e=-1;for(;++e<t.length;)ov(r,t[e]);return r}function ov(t,r){let e;for(e in r){let a=(Bd.call(t,e)?t[e]:void 0)||(t[e]={}),o=r[e],u;for(u in o){Bd.call(a,u)||(a[u]=[]);let f=o[u];lv(a[u],Array.isArray(f)?f:f?[f]:[])}}}function lv(t,r){let e=-1,s=[];for(;++e<r.length;)(r[e].add==="after"?t:s).push(r[e]);It(t,0,0,s)}var Ud=/[!-/:-@[-`{-~\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 cr=pi(/[A-Za-z]/),Li=pi(/\d/),Hd=pi(/[\dA-Fa-f]/),Ht=pi(/[\dA-Za-z]/),Gd=pi(/[!-/:-@[-`{-~]/),fc=pi(/[#-'*+\--9=?A-Z^-~]/);function fi(t){return t!==null&&(t<32||t===127)}function st(t){return t!==null&&(t<0||t===32)}function de(t){return t!==null&&t<-2}function We(t){return t===-2||t===-1||t===32}var Mi=pi(/\s/),zi=pi(Ud);function pi(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function Se(t,r,e,s){let a=s?s-1:Number.POSITIVE_INFINITY,o=0;return u;function u(p){return We(p)?(t.enter(e),f(p)):r(p)}function f(p){return We(p)&&o++<a?(t.consume(p),f):(t.exit(e),r(p))}}var Kd={tokenize:uv};function uv(t){let r=t.attempt(this.parser.constructs.contentInitial,s,a),e;return r;function s(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Se(t,r,"linePrefix")}function a(f){return t.enter("paragraph"),o(f)}function o(f){let p=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=p),e=p,u(f)}function u(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),u)}}var Jd={tokenize:cv},Wd={tokenize:fv};function cv(t){let r=this,e=[],s=0,a,o,u;return f;function f(ce){if(s<e.length){let ve=e[s];return r.containerState=ve[1],t.attempt(ve[0].continuation,p,m)(ce)}return m(ce)}function p(ce){if(s++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,a&&re();let ve=r.events.length,me=ve,le;for(;me--;)if(r.events[me][0]==="exit"&&r.events[me][1].type==="chunkFlow"){le=r.events[me][1].end;break}B(s);let fe=ve;for(;fe<r.events.length;)r.events[fe][1].end=Object.assign({},le),fe++;return It(r.events,me+1,0,r.events.slice(ve)),r.events.length=fe,m(ce)}return f(ce)}function m(ce){if(s===e.length){if(!a)return S(ce);if(a.currentConstruct&&a.currentConstruct.concrete)return C(ce);r.interrupt=Boolean(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(Wd,d,v)(ce)}function d(ce){return a&&re(),B(s),S(ce)}function v(ce){return r.parser.lazy[r.now().line]=s!==e.length,u=r.now().offset,C(ce)}function S(ce){return r.containerState={},t.attempt(Wd,E,C)(ce)}function E(ce){return s++,e.push([r.currentConstruct,r.containerState]),S(ce)}function C(ce){if(ce===null){a&&re(),B(0),t.consume(ce);return}return a=a||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:a}),N(ce)}function N(ce){if(ce===null){j(t.exit("chunkFlow"),!0),B(0),t.consume(ce);return}return de(ce)?(t.consume(ce),j(t.exit("chunkFlow")),s=0,r.interrupt=void 0,f):(t.consume(ce),N)}function j(ce,ve){let me=r.sliceStream(ce);if(ve&&me.push(null),ce.previous=o,o&&(o.next=ce),o=ce,a.defineSkip(ce.start),a.write(me),r.parser.lazy[ce.start.line]){let le=a.events.length;for(;le--;)if(a.events[le][1].start.offset<u&&(!a.events[le][1].end||a.events[le][1].end.offset>u))return;let fe=r.events.length,Ae=fe,be,He;for(;Ae--;)if(r.events[Ae][0]==="exit"&&r.events[Ae][1].type==="chunkFlow"){if(be){He=r.events[Ae][1].end;break}be=!0}for(B(s),le=fe;le<r.events.length;)r.events[le][1].end=Object.assign({},He),le++;It(r.events,Ae+1,0,r.events.slice(fe)),r.events.length=le}}function B(ce){let ve=e.length;for(;ve-- >ce;){let me=e[ve];r.containerState=me[1],me[0].exit.call(r,t)}e.length=ce}function re(){a.write([null]),o=void 0,a=void 0,r.containerState._closeFlow=void 0}}function fv(t,r,e){return Se(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ms(t){if(t===null||st(t)||Mi(t))return 1;if(zi(t))return 2}function hi(t,r,e){let s=[],a=-1;for(;++a<t.length;){let o=t[a].resolveAll;o&&!s.includes(o)&&(r=o(r,e),s.push(o))}return r}var ha={name:"attention",tokenize:hv,resolveAll:pv};function pv(t,r){let e=-1,s,a,o,u,f,p,m,d;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(s=e;s--;)if(t[s][0]==="exit"&&t[s][1].type==="attentionSequence"&&t[s][1]._open&&r.sliceSerialize(t[s][1]).charCodeAt(0)===r.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[s][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[s][1].end.offset-t[s][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;p=t[s][1].end.offset-t[s][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let v=Object.assign({},t[s][1].end),S=Object.assign({},t[e][1].start);Qd(v,-p),Qd(S,p),u={type:p>1?"strongSequence":"emphasisSequence",start:v,end:Object.assign({},t[s][1].end)},f={type:p>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:S},o={type:p>1?"strongText":"emphasisText",start:Object.assign({},t[s][1].end),end:Object.assign({},t[e][1].start)},a={type:p>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},f.end)},t[s][1].end=Object.assign({},u.start),t[e][1].start=Object.assign({},f.end),m=[],t[s][1].end.offset-t[s][1].start.offset&&(m=kr(m,[["enter",t[s][1],r],["exit",t[s][1],r]])),m=kr(m,[["enter",a,r],["enter",u,r],["exit",u,r],["enter",o,r]]),m=kr(m,hi(r.parser.constructs.insideSpan.null,t.slice(s+1,e),r)),m=kr(m,[["exit",o,r],["enter",f,r],["exit",f,r],["exit",a,r]]),t[e][1].end.offset-t[e][1].start.offset?(d=2,m=kr(m,[["enter",t[e][1],r],["exit",t[e][1],r]])):d=0,It(t,s-1,e-s+3,m),e=s+m.length-d-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function hv(t,r){let e=this.parser.constructs.attentionMarkers.null,s=this.previous,a=ms(s),o;return u;function u(p){return t.enter("attentionSequence"),o=p,f(p)}function f(p){if(p===o)return t.consume(p),f;let m=t.exit("attentionSequence"),d=ms(p),v=!d||d===2&&a||e.includes(p),S=!a||a===2&&d||e.includes(s);return m._open=Boolean(o===42?v:v&&(a||!S)),m._close=Boolean(o===42?S:S&&(d||!v)),r(p)}}function Qd(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var pc={name:"autolink",tokenize:dv};function dv(t,r,e){let s=1;return a;function a(C){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(C),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(C){return cr(C)?(t.consume(C),u):fc(C)?m(C):e(C)}function u(C){return C===43||C===45||C===46||Ht(C)?f(C):m(C)}function f(C){return C===58?(t.consume(C),p):(C===43||C===45||C===46||Ht(C))&&s++<32?(t.consume(C),f):m(C)}function p(C){return C===62?(t.exit("autolinkProtocol"),E(C)):C===null||C===32||C===60||fi(C)?e(C):(t.consume(C),p)}function m(C){return C===64?(t.consume(C),s=0,d):fc(C)?(t.consume(C),m):e(C)}function d(C){return Ht(C)?v(C):e(C)}function v(C){return C===46?(t.consume(C),s=0,d):C===62?(t.exit("autolinkProtocol").type="autolinkEmail",E(C)):S(C)}function S(C){return(C===45||Ht(C))&&s++<63?(t.consume(C),C===45?S:v):e(C)}function E(C){return t.enter("autolinkMarker"),t.consume(C),t.exit("autolinkMarker"),t.exit("autolink"),r}}var Rn={tokenize:mv,partial:!0};function mv(t,r,e){return Se(t,s,"linePrefix");function s(a){return a===null||de(a)?r(a):e(a)}}var _o={name:"blockQuote",tokenize:gv,continuation:{tokenize:yv},exit:bv};function gv(t,r,e){let s=this;return a;function a(u){if(u===62){let f=s.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(u),t.exit("blockQuoteMarker"),o}return e(u)}function o(u){return We(u)?(t.enter("blockQuotePrefixWhitespace"),t.consume(u),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(u))}}function yv(t,r,e){return Se(t,t.attempt(_o,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function bv(t){t.exit("blockQuote")}var Eo={name:"characterEscape",tokenize:wv};function wv(t,r,e){return s;function s(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),a}function a(o){return Gd(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(o)}}var hc={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:`
23
- `,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 vv={}.hasOwnProperty;function gs(t){return vv.call(hc,t)?hc[t]:!1}var So={name:"characterReference",tokenize:$v};function $v(t,r,e){let s=this,a=0,o,u;return f;function f(v){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(v),t.exit("characterReferenceMarker"),p}function p(v){return v===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(v),t.exit("characterReferenceMarkerNumeric"),m):(t.enter("characterReferenceValue"),o=31,u=Ht,d(v))}function m(v){return v===88||v===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(v),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,u=Hd,d):(t.enter("characterReferenceValue"),o=7,u=Li,d(v))}function d(v){let S;return v===59&&a?(S=t.exit("characterReferenceValue"),u===Ht&&!gs(s.sliceSerialize(S))?e(v):(t.enter("characterReferenceMarker"),t.consume(v),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):u(v)&&a++<o?(t.consume(v),d):e(v)}}var Co={name:"codeFenced",tokenize:xv,concrete:!0};function xv(t,r,e){let s=this,a={tokenize:me,partial:!0},o={tokenize:ve,partial:!0},u=this.events[this.events.length-1],f=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,p=0,m;return d;function d(le){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),m=le,v(le)}function v(le){return le===m?(t.consume(le),p++,v):(t.exit("codeFencedFenceSequence"),p<3?e(le):Se(t,S,"whitespace")(le))}function S(le){return le===null||de(le)?j(le):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),E(le))}function E(le){return le===null||st(le)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Se(t,C,"whitespace")(le)):le===96&&le===m?e(le):(t.consume(le),E)}function C(le){return le===null||de(le)?j(le):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),N(le))}function N(le){return le===null||de(le)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),j(le)):le===96&&le===m?e(le):(t.consume(le),N)}function j(le){return t.exit("codeFencedFence"),s.interrupt?r(le):B(le)}function B(le){return le===null?ce(le):de(le)?t.attempt(o,t.attempt(a,ce,f?Se(t,B,"linePrefix",f+1):B),ce)(le):(t.enter("codeFlowValue"),re(le))}function re(le){return le===null||de(le)?(t.exit("codeFlowValue"),B(le)):(t.consume(le),re)}function ce(le){return t.exit("codeFenced"),r(le)}function ve(le,fe,Ae){let be=this;return He;function He(Oe){return le.enter("lineEnding"),le.consume(Oe),le.exit("lineEnding"),Pe}function Pe(Oe){return be.parser.lazy[be.now().line]?Ae(Oe):fe(Oe)}}function me(le,fe,Ae){let be=0;return Se(le,He,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function He(ye){return le.enter("codeFencedFence"),le.enter("codeFencedFenceSequence"),Pe(ye)}function Pe(ye){return ye===m?(le.consume(ye),be++,Pe):be<p?Ae(ye):(le.exit("codeFencedFenceSequence"),Se(le,Oe,"whitespace")(ye))}function Oe(ye){return ye===null||de(ye)?(le.exit("codeFencedFence"),fe(ye)):Ae(ye)}}}var da={name:"codeIndented",tokenize:Av},kv={tokenize:_v,partial:!0};function Av(t,r,e){let s=this;return a;function a(m){return t.enter("codeIndented"),Se(t,o,"linePrefix",4+1)(m)}function o(m){let d=s.events[s.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?u(m):e(m)}function u(m){return m===null?p(m):de(m)?t.attempt(kv,u,p)(m):(t.enter("codeFlowValue"),f(m))}function f(m){return m===null||de(m)?(t.exit("codeFlowValue"),u(m)):(t.consume(m),f)}function p(m){return t.exit("codeIndented"),r(m)}}function _v(t,r,e){let s=this;return a;function a(u){return s.parser.lazy[s.now().line]?e(u):de(u)?(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),a):Se(t,o,"linePrefix",4+1)(u)}function o(u){let f=s.events[s.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(u):de(u)?a(u):e(u)}}var dc={name:"codeText",tokenize:Cv,resolve:Ev,previous:Sv};function Ev(t){let r=t.length-4,e=3,s,a;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(s=e;++s<r;)if(t[s][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(s=e-1,r++;++s<=r;)a===void 0?s!==r&&t[s][1].type!=="lineEnding"&&(a=s):(s===r||t[s][1].type==="lineEnding")&&(t[a][1].type="codeTextData",s!==a+2&&(t[a][1].end=t[s-1][1].end,t.splice(a+2,s-a-2),r-=s-a-2,s=a+2),a=void 0);return t}function Sv(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Cv(t,r,e){let s=this,a=0,o,u;return f;function f(S){return t.enter("codeText"),t.enter("codeTextSequence"),p(S)}function p(S){return S===96?(t.consume(S),a++,p):(t.exit("codeTextSequence"),m(S))}function m(S){return S===null?e(S):S===96?(u=t.enter("codeTextSequence"),o=0,v(S)):S===32?(t.enter("space"),t.consume(S),t.exit("space"),m):de(S)?(t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),m):(t.enter("codeTextData"),d(S))}function d(S){return S===null||S===32||S===96||de(S)?(t.exit("codeTextData"),m(S)):(t.consume(S),d)}function v(S){return S===96?(t.consume(S),o++,v):o===a?(t.exit("codeTextSequence"),t.exit("codeText"),r(S)):(u.type="codeTextData",d(S))}}function To(t){let r={},e=-1,s,a,o,u,f,p,m;for(;++e<t.length;){for(;e in r;)e=r[e];if(s=t[e],e&&s[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(p=s[1]._tokenizer.events,o=0,o<p.length&&p[o][1].type==="lineEndingBlank"&&(o+=2),o<p.length&&p[o][1].type==="content"))for(;++o<p.length&&p[o][1].type!=="content";)p[o][1].type==="chunkText"&&(p[o][1]._isInFirstContentOfListItem=!0,o++);if(s[0]==="enter")s[1].contentType&&(Object.assign(r,Tv(t,e)),e=r[e],m=!0);else if(s[1]._container){for(o=e,a=void 0;o--&&(u=t[o],u[1].type==="lineEnding"||u[1].type==="lineEndingBlank");)u[0]==="enter"&&(a&&(t[a][1].type="lineEndingBlank"),u[1].type="lineEnding",a=o);a&&(s[1].end=Object.assign({},t[a][1].start),f=t.slice(a,e),f.unshift(s),It(t,a,e-a+1,f))}}return!m}function Tv(t,r){let e=t[r][1],s=t[r][2],a=r-1,o=[],u=e._tokenizer||s.parser[e.contentType](e.start),f=u.events,p=[],m={},d,v,S=-1,E=e,C=0,N=0,j=[N];for(;E;){for(;t[++a][1]!==E;);o.push(a),E._tokenizer||(d=s.sliceStream(E),E.next||d.push(null),v&&u.defineSkip(E.start),E._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(d),E._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),v=E,E=E.next}for(E=e;++S<f.length;)f[S][0]==="exit"&&f[S-1][0]==="enter"&&f[S][1].type===f[S-1][1].type&&f[S][1].start.line!==f[S][1].end.line&&(N=S+1,j.push(N),E._tokenizer=void 0,E.previous=void 0,E=E.next);for(u.events=[],E?(E._tokenizer=void 0,E.previous=void 0):j.pop(),S=j.length;S--;){let B=f.slice(j[S],j[S+1]),re=o.pop();p.unshift([re,re+B.length-1]),It(t,re,2,B)}for(S=-1;++S<p.length;)m[C+p[S][0]]=C+p[S][1],C+=p[S][1]-p[S][0]-1;return m}var mc={tokenize:Dv,resolve:Fv},Pv={tokenize:Iv,partial:!0};function Fv(t){return To(t),t}function Dv(t,r){let e;return s;function s(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),a(f)}function a(f){return f===null?o(f):de(f)?t.check(Pv,u,o)(f):(t.consume(f),a)}function o(f){return t.exit("chunkContent"),t.exit("content"),r(f)}function u(f){return t.consume(f),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,a}}function Iv(t,r,e){let s=this;return a;function a(u){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),Se(t,o,"linePrefix")}function o(u){if(u===null||de(u))return e(u);let f=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(u):t.interrupt(s.parser.constructs.flow,e,r)(u)}}function Po(t,r,e,s,a,o,u,f,p){let m=p||Number.POSITIVE_INFINITY,d=0;return v;function v(B){return B===60?(t.enter(s),t.enter(a),t.enter(o),t.consume(B),t.exit(o),S):B===null||B===41||fi(B)?e(B):(t.enter(s),t.enter(u),t.enter(f),t.enter("chunkString",{contentType:"string"}),N(B))}function S(B){return B===62?(t.enter(o),t.consume(B),t.exit(o),t.exit(a),t.exit(s),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),E(B))}function E(B){return B===62?(t.exit("chunkString"),t.exit(f),S(B)):B===null||B===60||de(B)?e(B):(t.consume(B),B===92?C:E)}function C(B){return B===60||B===62||B===92?(t.consume(B),E):E(B)}function N(B){return B===40?++d>m?e(B):(t.consume(B),N):B===41?d--?(t.consume(B),N):(t.exit("chunkString"),t.exit(f),t.exit(u),t.exit(s),r(B)):B===null||st(B)?d?e(B):(t.exit("chunkString"),t.exit(f),t.exit(u),t.exit(s),r(B)):fi(B)?e(B):(t.consume(B),B===92?j:N)}function j(B){return B===40||B===41||B===92?(t.consume(B),N):N(B)}}function Fo(t,r,e,s,a,o){let u=this,f=0,p;return m;function m(E){return t.enter(s),t.enter(a),t.consume(E),t.exit(a),t.enter(o),d}function d(E){return E===null||E===91||E===93&&!p||E===94&&!f&&"_hiddenFootnoteSupport"in u.parser.constructs||f>999?e(E):E===93?(t.exit(o),t.enter(a),t.consume(E),t.exit(a),t.exit(s),r):de(E)?(t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),v(E))}function v(E){return E===null||E===91||E===93||de(E)||f++>999?(t.exit("chunkString"),d(E)):(t.consume(E),p=p||!We(E),E===92?S:v)}function S(E){return E===91||E===92||E===93?(t.consume(E),f++,v):v(E)}}function Do(t,r,e,s,a,o){let u;return f;function f(S){return t.enter(s),t.enter(a),t.consume(S),t.exit(a),u=S===40?41:S,p}function p(S){return S===u?(t.enter(a),t.consume(S),t.exit(a),t.exit(s),r):(t.enter(o),m(S))}function m(S){return S===u?(t.exit(o),p(u)):S===null?e(S):de(S)?(t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),Se(t,m,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(S))}function d(S){return S===u||S===null||de(S)?(t.exit("chunkString"),m(S)):(t.consume(S),S===92?v:d)}function v(S){return S===u||S===92?(t.consume(S),d):d(S)}}function ji(t,r){let e;return s;function s(a){return de(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),e=!0,s):We(a)?Se(t,s,e?"linePrefix":"lineSuffix")(a):r(a)}}function fr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var gc={name:"definition",tokenize:qv},Ov={tokenize:Rv,partial:!0};function qv(t,r,e){let s=this,a;return o;function o(p){return t.enter("definition"),Fo.call(s,t,u,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return a=fr(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),ji(t,Po(t,t.attempt(Ov,Se(t,f,"whitespace"),Se(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(p)}function f(p){return p===null||de(p)?(t.exit("definition"),s.parser.defined.includes(a)||s.parser.defined.push(a),r(p)):e(p)}}function Rv(t,r,e){return s;function s(u){return st(u)?ji(t,a)(u):e(u)}function a(u){return u===34||u===39||u===40?Do(t,Se(t,o,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(u):e(u)}function o(u){return u===null||de(u)?r(u):e(u)}}var yc={name:"hardBreakEscape",tokenize:Nv};function Nv(t,r,e){return s;function s(o){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(o),a}function a(o){return de(o)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(o)):e(o)}}var bc={name:"headingAtx",tokenize:Mv,resolve:Lv};function Lv(t,r){let e=t.length-2,s=3,a,o;return t[s][1].type==="whitespace"&&(s+=2),e-2>s&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(s===e-1||e-4>s&&t[e-2][1].type==="whitespace")&&(e-=s+1===e?2:4),e>s&&(a={type:"atxHeadingText",start:t[s][1].start,end:t[e][1].end},o={type:"chunkText",start:t[s][1].start,end:t[e][1].end,contentType:"text"},It(t,s,e-s+1,[["enter",a,r],["enter",o,r],["exit",o,r],["exit",a,r]])),t}function Mv(t,r,e){let s=this,a=0;return o;function o(d){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),u(d)}function u(d){return d===35&&a++<6?(t.consume(d),u):d===null||st(d)?(t.exit("atxHeadingSequence"),s.interrupt?r(d):f(d)):e(d)}function f(d){return d===35?(t.enter("atxHeadingSequence"),p(d)):d===null||de(d)?(t.exit("atxHeading"),r(d)):We(d)?Se(t,f,"whitespace")(d):(t.enter("atxHeadingText"),m(d))}function p(d){return d===35?(t.consume(d),p):(t.exit("atxHeadingSequence"),f(d))}function m(d){return d===null||d===35||st(d)?(t.exit("atxHeadingText"),f(d)):(t.consume(d),m)}}var Zd=["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"],wc=["pre","script","style","textarea"];var vc={name:"htmlFlow",tokenize:Vv,resolveTo:jv,concrete:!0},zv={tokenize:Bv,partial:!0};function jv(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 Vv(t,r,e){let s=this,a,o,u,f,p;return m;function m(G){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(G),d}function d(G){return G===33?(t.consume(G),v):G===47?(t.consume(G),C):G===63?(t.consume(G),a=3,s.interrupt?r:$t):cr(G)?(t.consume(G),u=String.fromCharCode(G),o=!0,N):e(G)}function v(G){return G===45?(t.consume(G),a=2,S):G===91?(t.consume(G),a=5,u="CDATA[",f=0,E):cr(G)?(t.consume(G),a=4,s.interrupt?r:$t):e(G)}function S(G){return G===45?(t.consume(G),s.interrupt?r:$t):e(G)}function E(G){return G===u.charCodeAt(f++)?(t.consume(G),f===u.length?s.interrupt?r:Pe:E):e(G)}function C(G){return cr(G)?(t.consume(G),u=String.fromCharCode(G),N):e(G)}function N(G){return G===null||G===47||G===62||st(G)?G!==47&&o&&wc.includes(u.toLowerCase())?(a=1,s.interrupt?r(G):Pe(G)):Zd.includes(u.toLowerCase())?(a=6,G===47?(t.consume(G),j):s.interrupt?r(G):Pe(G)):(a=7,s.interrupt&&!s.parser.lazy[s.now().line]?e(G):o?re(G):B(G)):G===45||Ht(G)?(t.consume(G),u+=String.fromCharCode(G),N):e(G)}function j(G){return G===62?(t.consume(G),s.interrupt?r:Pe):e(G)}function B(G){return We(G)?(t.consume(G),B):be(G)}function re(G){return G===47?(t.consume(G),be):G===58||G===95||cr(G)?(t.consume(G),ce):We(G)?(t.consume(G),re):be(G)}function ce(G){return G===45||G===46||G===58||G===95||Ht(G)?(t.consume(G),ce):ve(G)}function ve(G){return G===61?(t.consume(G),me):We(G)?(t.consume(G),ve):re(G)}function me(G){return G===null||G===60||G===61||G===62||G===96?e(G):G===34||G===39?(t.consume(G),p=G,le):We(G)?(t.consume(G),me):(p=null,fe(G))}function le(G){return G===null||de(G)?e(G):G===p?(t.consume(G),Ae):(t.consume(G),le)}function fe(G){return G===null||G===34||G===39||G===60||G===61||G===62||G===96||st(G)?ve(G):(t.consume(G),fe)}function Ae(G){return G===47||G===62||We(G)?re(G):e(G)}function be(G){return G===62?(t.consume(G),He):e(G)}function He(G){return We(G)?(t.consume(G),He):G===null||de(G)?Pe(G):e(G)}function Pe(G){return G===45&&a===2?(t.consume(G),et):G===60&&a===1?(t.consume(G),se):G===62&&a===4?(t.consume(G),at):G===63&&a===3?(t.consume(G),$t):G===93&&a===5?(t.consume(G),tt):de(G)&&(a===6||a===7)?t.check(zv,at,Oe)(G):G===null||de(G)?Oe(G):(t.consume(G),Pe)}function Oe(G){return t.exit("htmlFlowData"),ye(G)}function ye(G){return G===null?H(G):de(G)?t.attempt({tokenize:Fe,partial:!0},ye,H)(G):(t.enter("htmlFlowData"),Pe(G))}function Fe(G,dr,Lt){return Et;function Et(Pt){return G.enter("lineEnding"),G.consume(Pt),G.exit("lineEnding"),Ot}function Ot(Pt){return s.parser.lazy[s.now().line]?Lt(Pt):dr(Pt)}}function et(G){return G===45?(t.consume(G),$t):Pe(G)}function se(G){return G===47?(t.consume(G),u="",vt):Pe(G)}function vt(G){return G===62&&wc.includes(u.toLowerCase())?(t.consume(G),at):cr(G)&&u.length<8?(t.consume(G),u+=String.fromCharCode(G),vt):Pe(G)}function tt(G){return G===93?(t.consume(G),$t):Pe(G)}function $t(G){return G===62?(t.consume(G),at):G===45&&a===2?(t.consume(G),$t):Pe(G)}function at(G){return G===null||de(G)?(t.exit("htmlFlowData"),H(G)):(t.consume(G),at)}function H(G){return t.exit("htmlFlow"),r(G)}}function Bv(t,r,e){return s;function s(a){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),t.attempt(Rn,r,e)}}var $c={name:"htmlText",tokenize:Uv};function Uv(t,r,e){let s=this,a,o,u,f;return p;function p(H){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(H),m}function m(H){return H===33?(t.consume(H),d):H===47?(t.consume(H),fe):H===63?(t.consume(H),me):cr(H)?(t.consume(H),He):e(H)}function d(H){return H===45?(t.consume(H),v):H===91?(t.consume(H),o="CDATA[",u=0,j):cr(H)?(t.consume(H),ve):e(H)}function v(H){return H===45?(t.consume(H),S):e(H)}function S(H){return H===null||H===62?e(H):H===45?(t.consume(H),E):C(H)}function E(H){return H===null||H===62?e(H):C(H)}function C(H){return H===null?e(H):H===45?(t.consume(H),N):de(H)?(f=C,tt(H)):(t.consume(H),C)}function N(H){return H===45?(t.consume(H),at):C(H)}function j(H){return H===o.charCodeAt(u++)?(t.consume(H),u===o.length?B:j):e(H)}function B(H){return H===null?e(H):H===93?(t.consume(H),re):de(H)?(f=B,tt(H)):(t.consume(H),B)}function re(H){return H===93?(t.consume(H),ce):B(H)}function ce(H){return H===62?at(H):H===93?(t.consume(H),ce):B(H)}function ve(H){return H===null||H===62?at(H):de(H)?(f=ve,tt(H)):(t.consume(H),ve)}function me(H){return H===null?e(H):H===63?(t.consume(H),le):de(H)?(f=me,tt(H)):(t.consume(H),me)}function le(H){return H===62?at(H):me(H)}function fe(H){return cr(H)?(t.consume(H),Ae):e(H)}function Ae(H){return H===45||Ht(H)?(t.consume(H),Ae):be(H)}function be(H){return de(H)?(f=be,tt(H)):We(H)?(t.consume(H),be):at(H)}function He(H){return H===45||Ht(H)?(t.consume(H),He):H===47||H===62||st(H)?Pe(H):e(H)}function Pe(H){return H===47?(t.consume(H),at):H===58||H===95||cr(H)?(t.consume(H),Oe):de(H)?(f=Pe,tt(H)):We(H)?(t.consume(H),Pe):at(H)}function Oe(H){return H===45||H===46||H===58||H===95||Ht(H)?(t.consume(H),Oe):ye(H)}function ye(H){return H===61?(t.consume(H),Fe):de(H)?(f=ye,tt(H)):We(H)?(t.consume(H),ye):Pe(H)}function Fe(H){return H===null||H===60||H===61||H===62||H===96?e(H):H===34||H===39?(t.consume(H),a=H,et):de(H)?(f=Fe,tt(H)):We(H)?(t.consume(H),Fe):(t.consume(H),a=void 0,vt)}function et(H){return H===a?(t.consume(H),se):H===null?e(H):de(H)?(f=et,tt(H)):(t.consume(H),et)}function se(H){return H===62||H===47||st(H)?Pe(H):e(H)}function vt(H){return H===null||H===34||H===39||H===60||H===61||H===96?e(H):H===62||st(H)?Pe(H):(t.consume(H),vt)}function tt(H){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(H),t.exit("lineEnding"),Se(t,$t,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $t(H){return t.enter("htmlTextData"),f(H)}function at(H){return H===62?(t.consume(H),t.exit("htmlTextData"),t.exit("htmlText"),r):e(H)}}var Vi={name:"labelEnd",tokenize:Qv,resolveTo:Jv,resolveAll:Wv},Hv={tokenize:Zv},Gv={tokenize:Xv},Kv={tokenize:Yv};function Wv(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 Jv(t,r){let e=t.length,s=0,a,o,u,f;for(;e--;)if(a=t[e][1],o){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;t[e][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(u){if(t[e][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(o=e,a.type!=="labelLink")){s=2;break}}else a.type==="labelEnd"&&(u=e);let p={type:t[o][1].type==="labelLink"?"link":"image",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)},m={type:"label",start:Object.assign({},t[o][1].start),end:Object.assign({},t[u][1].end)},d={type:"labelText",start:Object.assign({},t[o+s+2][1].end),end:Object.assign({},t[u-2][1].start)};return f=[["enter",p,r],["enter",m,r]],f=kr(f,t.slice(o+1,o+s+3)),f=kr(f,[["enter",d,r]]),f=kr(f,hi(r.parser.constructs.insideSpan.null,t.slice(o+s+4,u-3),r)),f=kr(f,[["exit",d,r],t[u-2],t[u-1],["exit",m,r]]),f=kr(f,t.slice(u+1)),f=kr(f,[["exit",p,r]]),It(t,o,t.length,f),t}function Qv(t,r,e){let s=this,a=s.events.length,o,u;for(;a--;)if((s.events[a][1].type==="labelImage"||s.events[a][1].type==="labelLink")&&!s.events[a][1]._balanced){o=s.events[a][1];break}return f;function f(d){return o?o._inactive?m(d):(u=s.parser.defined.includes(fr(s.sliceSerialize({start:o.end,end:s.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),p):e(d)}function p(d){return d===40?t.attempt(Hv,r,u?r:m)(d):d===91?t.attempt(Gv,r,u?t.attempt(Kv,r,m):m)(d):u?r(d):m(d)}function m(d){return o._balanced=!0,e(d)}}function Zv(t,r,e){return s;function s(p){return t.enter("resource"),t.enter("resourceMarker"),t.consume(p),t.exit("resourceMarker"),ji(t,a)}function a(p){return p===41?f(p):Po(t,o,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function o(p){return st(p)?ji(t,u)(p):f(p)}function u(p){return p===34||p===39||p===40?Do(t,ji(t,f),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):f(p)}function f(p){return p===41?(t.enter("resourceMarker"),t.consume(p),t.exit("resourceMarker"),t.exit("resource"),r):e(p)}}function Xv(t,r,e){let s=this;return a;function a(u){return Fo.call(s,t,o,e,"reference","referenceMarker","referenceString")(u)}function o(u){return s.parser.defined.includes(fr(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?r(u):e(u)}}function Yv(t,r,e){return s;function s(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),a}function a(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),r):e(o)}}var xc={name:"labelStartImage",tokenize:e$,resolveAll:Vi.resolveAll};function e$(t,r,e){let s=this;return a;function a(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"),u):e(f)}function u(f){return f===94&&"_hiddenFootnoteSupport"in s.parser.constructs?e(f):r(f)}}var kc={name:"labelStartLink",tokenize:t$,resolveAll:Vi.resolveAll};function t$(t,r,e){let s=this;return a;function a(u){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(u),t.exit("labelMarker"),t.exit("labelLink"),o}function o(u){return u===94&&"_hiddenFootnoteSupport"in s.parser.constructs?e(u):r(u)}}var ma={name:"lineEnding",tokenize:r$};function r$(t,r){return e;function e(s){return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),Se(t,r,"linePrefix")}}var Bi={name:"thematicBreak",tokenize:n$};function n$(t,r,e){let s=0,a;return o;function o(p){return t.enter("thematicBreak"),a=p,u(p)}function u(p){return p===a?(t.enter("thematicBreakSequence"),f(p)):We(p)?Se(t,u,"whitespace")(p):s<3||p!==null&&!de(p)?e(p):(t.exit("thematicBreak"),r(p))}function f(p){return p===a?(t.consume(p),s++,f):(t.exit("thematicBreakSequence"),u(p))}}var pr={name:"list",tokenize:a$,continuation:{tokenize:o$},exit:u$},i$={tokenize:c$,partial:!0},s$={tokenize:l$,partial:!0};function a$(t,r,e){let s=this,a=s.events[s.events.length-1],o=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,u=0;return f;function f(E){let C=s.containerState.type||(E===42||E===43||E===45?"listUnordered":"listOrdered");if(C==="listUnordered"?!s.containerState.marker||E===s.containerState.marker:Li(E)){if(s.containerState.type||(s.containerState.type=C,t.enter(C,{_container:!0})),C==="listUnordered")return t.enter("listItemPrefix"),E===42||E===45?t.check(Bi,e,m)(E):m(E);if(!s.interrupt||E===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),p(E)}return e(E)}function p(E){return Li(E)&&++u<10?(t.consume(E),p):(!s.interrupt||u<2)&&(s.containerState.marker?E===s.containerState.marker:E===41||E===46)?(t.exit("listItemValue"),m(E)):e(E)}function m(E){return t.enter("listItemMarker"),t.consume(E),t.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||E,t.check(Rn,s.interrupt?e:d,t.attempt(i$,S,v))}function d(E){return s.containerState.initialBlankLine=!0,o++,S(E)}function v(E){return We(E)?(t.enter("listItemPrefixWhitespace"),t.consume(E),t.exit("listItemPrefixWhitespace"),S):e(E)}function S(E){return s.containerState.size=o+s.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(E)}}function o$(t,r,e){let s=this;return s.containerState._closeFlow=void 0,t.check(Rn,a,o);function a(f){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Se(t,r,"listItemIndent",s.containerState.size+1)(f)}function o(f){return s.containerState.furtherBlankLines||!We(f)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,u(f)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,t.attempt(s$,r,u)(f))}function u(f){return s.containerState._closeFlow=!0,s.interrupt=void 0,Se(t,t.attempt(pr,r,e),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function l$(t,r,e){let s=this;return Se(t,a,"listItemIndent",s.containerState.size+1);function a(o){let u=s.events[s.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===s.containerState.size?r(o):e(o)}}function u$(t){t.exit(this.containerState.type)}function c$(t,r,e){let s=this;return Se(t,a,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function a(o){let u=s.events[s.events.length-1];return!We(o)&&u&&u[1].type==="listItemPrefixWhitespace"?r(o):e(o)}}var Io={name:"setextUnderline",tokenize:p$,resolveTo:f$};function f$(t,r){let e=t.length,s,a,o;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){s=e;break}t[e][1].type==="paragraph"&&(a=e)}else t[e][1].type==="content"&&t.splice(e,1),!o&&t[e][1].type==="definition"&&(o=e);let u={type:"setextHeading",start:Object.assign({},t[a][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[a][1].type="setextHeadingText",o?(t.splice(a,0,["enter",u,r]),t.splice(o+1,0,["exit",t[s][1],r]),t[s][1].end=Object.assign({},t[o][1].end)):t[s][1]=u,t.push(["exit",u,r]),t}function p$(t,r,e){let s=this,a=s.events.length,o,u;for(;a--;)if(s.events[a][1].type!=="lineEnding"&&s.events[a][1].type!=="linePrefix"&&s.events[a][1].type!=="content"){u=s.events[a][1].type==="paragraph";break}return f;function f(d){return!s.parser.lazy[s.now().line]&&(s.interrupt||u)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),o=d,p(d)):e(d)}function p(d){return d===o?(t.consume(d),p):(t.exit("setextHeadingLineSequence"),Se(t,m,"lineSuffix")(d))}function m(d){return d===null||de(d)?(t.exit("setextHeadingLine"),r(d)):e(d)}}var Xd={tokenize:h$};function h$(t){let r=this,e=t.attempt(Rn,s,t.attempt(this.parser.constructs.flowInitial,a,Se(t,t.attempt(this.parser.constructs.flow,a,t.attempt(mc,a)),"linePrefix")));return e;function s(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function a(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var Yd={resolveAll:nm()},em=rm("string"),tm=rm("text");function rm(t){return{tokenize:r,resolveAll:nm(t==="text"?d$:void 0)};function r(e){let s=this,a=this.parser.constructs[t],o=e.attempt(a,u,f);return u;function u(d){return m(d)?o(d):f(d)}function f(d){if(d===null){e.consume(d);return}return e.enter("data"),e.consume(d),p}function p(d){return m(d)?(e.exit("data"),o(d)):(e.consume(d),p)}function m(d){if(d===null)return!0;let v=a[d],S=-1;if(v)for(;++S<v.length;){let E=v[S];if(!E.previous||E.previous.call(s,s.previous))return!0}return!1}}}function nm(t){return r;function r(e,s){let a=-1,o;for(;++a<=e.length;)o===void 0?e[a]&&e[a][1].type==="data"&&(o=a,a++):(!e[a]||e[a][1].type!=="data")&&(a!==o+2&&(e[o][1].end=e[a-1][1].end,e.splice(o+2,a-o-2),a=o+2),o=void 0);return t?t(e,s):e}}function d$(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 s=t[e-1][1],a=r.sliceStream(s),o=a.length,u=-1,f=0,p;for(;o--;){let m=a[o];if(typeof m=="string"){for(u=m.length;m.charCodeAt(u-1)===32;)f++,u--;if(u)break;u=-1}else if(m===-2)p=!0,f++;else if(m!==-1){o++;break}}if(f){let m={type:e===t.length||p||f<2?"lineSuffix":"hardBreakTrailing",start:{line:s.end.line,column:s.end.column-f,offset:s.end.offset-f,_index:s.start._index+o,_bufferIndex:o?u:s.start._bufferIndex+u},end:Object.assign({},s.end)};s.end=Object.assign({},m.start),s.start.offset===s.end.offset?Object.assign(s,m):(t.splice(e,0,["enter",m,r],["exit",m,r]),e+=2)}e++}return t}function im(t,r,e){let s=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),a={},o=[],u=[],f=[],p=!0,m={consume:ve,enter:me,exit:le,attempt:be(fe),check:be(Ae),interrupt:be(Ae,{interrupt:!0})},d={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:N,sliceSerialize:C,now:j,defineSkip:B,write:E},v=r.tokenize.call(d,m),S;return r.resolveAll&&o.push(r),d;function E(ye){return u=kr(u,ye),re(),u[u.length-1]!==null?[]:(He(r,0),d.events=hi(o,d.events,d),d.events)}function C(ye,Fe){return g$(N(ye),Fe)}function N(ye){return m$(u,ye)}function j(){return Object.assign({},s)}function B(ye){a[ye.line]=ye.column,Oe()}function re(){let ye;for(;s._index<u.length;){let Fe=u[s._index];if(typeof Fe=="string")for(ye=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===ye&&s._bufferIndex<Fe.length;)ce(Fe.charCodeAt(s._bufferIndex));else ce(Fe)}}function ce(ye){p=void 0,S=ye,v=v(ye)}function ve(ye){de(ye)?(s.line++,s.column=1,s.offset+=ye===-3?2:1,Oe()):ye!==-1&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===u[s._index].length&&(s._bufferIndex=-1,s._index++)),d.previous=ye,p=!0}function me(ye,Fe){let et=Fe||{};return et.type=ye,et.start=j(),d.events.push(["enter",et,d]),f.push(et),et}function le(ye){let Fe=f.pop();return Fe.end=j(),d.events.push(["exit",Fe,d]),Fe}function fe(ye,Fe){He(ye,Fe.from)}function Ae(ye,Fe){Fe.restore()}function be(ye,Fe){return et;function et(se,vt,tt){let $t,at,H,G;return Array.isArray(se)?Lt(se):"tokenize"in se?Lt([se]):dr(se);function dr(ft){return mr;function mr(Mt){let tr=Mt!==null&&ft[Mt],Or=Mt!==null&&ft.null,rn=[...Array.isArray(tr)?tr:tr?[tr]:[],...Array.isArray(Or)?Or:Or?[Or]:[]];return Lt(rn)(Mt)}}function Lt(ft){return $t=ft,at=0,ft.length===0?tt:Et(ft[at])}function Et(ft){return mr;function mr(Mt){return G=Pe(),H=ft,ft.partial||(d.currentConstruct=ft),ft.name&&d.parser.constructs.disable.null.includes(ft.name)?Pt(Mt):ft.tokenize.call(Fe?Object.assign(Object.create(d),Fe):d,m,Ot,Pt)(Mt)}}function Ot(ft){return p=!0,ye(H,G),vt}function Pt(ft){return p=!0,G.restore(),++at<$t.length?Et($t[at]):tt}}}function He(ye,Fe){ye.resolveAll&&!o.includes(ye)&&o.push(ye),ye.resolve&&It(d.events,Fe,d.events.length-Fe,ye.resolve(d.events.slice(Fe),d)),ye.resolveTo&&(d.events=ye.resolveTo(d.events,d))}function Pe(){let ye=j(),Fe=d.previous,et=d.currentConstruct,se=d.events.length,vt=Array.from(f);return{restore:tt,from:se};function tt(){s=ye,d.previous=Fe,d.currentConstruct=et,d.events.length=se,f=vt,Oe()}}function Oe(){s.line in a&&s.column<2&&(s.column=a[s.line],s.offset+=a[s.line]-1)}}function m$(t,r){let e=r.start._index,s=r.start._bufferIndex,a=r.end._index,o=r.end._bufferIndex,u;return e===a?u=[t[e].slice(s,o)]:(u=t.slice(e,a),s>-1&&(u[0]=u[0].slice(s)),o>0&&u.push(t[a].slice(0,o))),u}function g$(t,r){let e=-1,s=[],a;for(;++e<t.length;){let o=t[e],u;if(typeof o=="string")u=o;else switch(o){case-5:{u="\r";break}case-4:{u=`
24
- `;break}case-3:{u=`\r
25
- `;break}case-2:{u=r?" ":" ";break}case-1:{if(!r&&a)continue;u=" ";break}default:u=String.fromCharCode(o)}a=o===-2,s.push(u)}return s.join("")}var Ac={};bf(Ac,{attentionMarkers:()=>A$,contentInitial:()=>b$,disable:()=>_$,document:()=>y$,flow:()=>v$,flowInitial:()=>w$,insideSpan:()=>k$,string:()=>$$,text:()=>x$});var y$={[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]:_o},b$={[91]:gc},w$={[-2]:da,[-1]:da,[32]:da},v$={[35]:bc,[42]:Bi,[45]:[Io,Bi],[60]:vc,[61]:Io,[95]:Bi,[96]:Co,[126]:Co},$$={[38]:So,[92]:Eo},x$={[-5]:ma,[-4]:ma,[-3]:ma,[33]:xc,[38]:So,[42]:ha,[60]:[pc,$c],[91]:kc,[92]:[yc,Eo],[93]:Vi,[95]:ha,[96]:dc},k$={null:[ha,Yd]},A$={null:[42,95]},_$={null:[]};function sm(t={}){let r=Ao([Ac].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:s(Kd),document:s(Jd),flow:s(Xd),string:s(em),text:s(tm)};return e;function s(a){return o;function o(u){return im(e,a,u)}}}var am=/[\0\t\n\r]/g;function om(){let t=1,r="",e=!0,s;return a;function a(o,u,f){let p=[],m,d,v,S,E;for(o=r+o.toString(u),v=0,r="",e&&(o.charCodeAt(0)===65279&&v++,e=void 0);v<o.length;){if(am.lastIndex=v,m=am.exec(o),S=m&&m.index!==void 0?m.index:o.length,E=o.charCodeAt(S),!m){r=o.slice(v);break}if(E===10&&v===S&&s)p.push(-3),s=void 0;else switch(s&&(p.push(-5),s=void 0),v<S&&(p.push(o.slice(v,S)),t+=S-v),E){case 0:{p.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,p.push(-2);t++<d;)p.push(-1);break}case 10:{p.push(-4),t=1;break}default:s=!0,t=1}v=S+1}return f&&(s&&p.push(-5),r&&p.push(r),p.push(null)),p}}function lm(t){for(;!To(t););return t}function Oo(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 E$=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function qo(t){return t.replace(E$,S$)}function S$(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let a=e.charCodeAt(1),o=a===120||a===88;return Oo(e.slice(o?2:1),o?16:10)}return gs(e)||t}var _c={}.hasOwnProperty,Ec=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),C$(e)(lm(sm(e).document().write(om()(t,r,!0))))};function C$(t={}){let r=cm({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:p(Gt),autolinkProtocol:Oe,autolinkEmail:Oe,atxHeading:p(yn),blockQuote:p(Or),characterEscape:Oe,characterReference:Oe,codeFenced:p(rn),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:p(rn,m),codeText:p(rr,m),codeTextData:Oe,data:Oe,codeFlowValue:Oe,definition:p(nn),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:p(Vr),hardBreakEscape:p(bn),hardBreakTrailing:p(bn),htmlFlow:p(Ln,m),htmlFlowData:Oe,htmlText:p(Ln,m),htmlTextData:Oe,image:p(_e),label:m,link:p(Gt),listItem:p(ze),listItemValue:N,listOrdered:p(Mn,C),listUnordered:p(Mn),paragraph:p(qe),reference:Ot,referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:p(yn),strong:p(wt),thematicBreak:p(qt)},exit:{atxHeading:v(),atxHeadingSequence:Ae,autolink:v(),autolinkEmail:tr,autolinkProtocol:Mt,blockQuote:v(),characterEscapeValue:ye,characterReferenceMarkerHexadecimal:ft,characterReferenceMarkerNumeric:ft,characterReferenceValue:mr,codeFenced:v(ce),codeFencedFence:re,codeFencedFenceInfo:j,codeFencedFenceMeta:B,codeFlowValue:ye,codeIndented:v(ve),codeText:v(tt),codeTextData:ye,data:ye,definition:v(),definitionDestinationString:fe,definitionLabelString:me,definitionTitleString:le,emphasis:v(),hardBreakEscape:v(et),hardBreakTrailing:v(et),htmlFlow:v(se),htmlFlowData:ye,htmlText:v(vt),htmlTextData:ye,image:v(at),label:G,labelText:H,lineEnding:Fe,link:v($t),listItem:v(),listOrdered:v(),listUnordered:v(),paragraph:v(),referenceString:Pt,resourceDestinationString:dr,resourceTitleString:Lt,resource:Et,setextHeading:v(Pe),setextHeadingLineSequence:He,setextHeadingText:be,strong:v(),thematicBreak:v()}},t.mdastExtensions||[]),e={};return s;function s(ne){let ue={type:"root",children:[]},we=[ue],ke=[],pt=[],zt={stack:we,tokenStack:ke,config:r,enter:d,exit:S,buffer:m,resume:E,setData:o,getData:u},De=-1;for(;++De<ne.length;)if(ne[De][1].type==="listOrdered"||ne[De][1].type==="listUnordered")if(ne[De][0]==="enter")pt.push(De);else{let Qe=pt.pop();De=a(ne,Qe,De)}for(De=-1;++De<ne.length;){let Qe=r[ne[De][0]];_c.call(Qe,ne[De][1].type)&&Qe[ne[De][1].type].call(Object.assign({sliceSerialize:ne[De][2].sliceSerialize},zt),ne[De][1])}if(ke.length>0){let Qe=ke[ke.length-1];(Qe[1]||um).call(zt,void 0,Qe[0])}for(ue.position={start:f(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:f(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},De=-1;++De<r.transforms.length;)ue=r.transforms[De](ue)||ue;return ue}function a(ne,ue,we){let ke=ue-1,pt=-1,zt=!1,De,Qe,Ft,Br;for(;++ke<=we;){let mt=ne[ke];if(mt[1].type==="listUnordered"||mt[1].type==="listOrdered"||mt[1].type==="blockQuote"?(mt[0]==="enter"?pt++:pt--,Br=void 0):mt[1].type==="lineEndingBlank"?mt[0]==="enter"&&(De&&!Br&&!pt&&!Ft&&(Ft=ke),Br=void 0):mt[1].type==="linePrefix"||mt[1].type==="listItemValue"||mt[1].type==="listItemMarker"||mt[1].type==="listItemPrefix"||mt[1].type==="listItemPrefixWhitespace"||(Br=void 0),!pt&&mt[0]==="enter"&&mt[1].type==="listItemPrefix"||pt===-1&&mt[0]==="exit"&&(mt[1].type==="listUnordered"||mt[1].type==="listOrdered")){if(De){let wn=ke;for(Qe=void 0;wn--;){let gr=ne[wn];if(gr[1].type==="lineEnding"||gr[1].type==="lineEndingBlank"){if(gr[0]==="exit")continue;Qe&&(ne[Qe][1].type="lineEndingBlank",zt=!0),gr[1].type="lineEnding",Qe=wn}else if(!(gr[1].type==="linePrefix"||gr[1].type==="blockQuotePrefix"||gr[1].type==="blockQuotePrefixWhitespace"||gr[1].type==="blockQuoteMarker"||gr[1].type==="listItemIndent"))break}Ft&&(!Qe||Ft<Qe)&&(De._spread=!0),De.end=Object.assign({},Qe?ne[Qe][1].start:mt[1].end),ne.splice(Qe||ke,0,["exit",De,mt[2]]),ke++,we++}mt[1].type==="listItemPrefix"&&(De={type:"listItem",_spread:!1,start:Object.assign({},mt[1].start)},ne.splice(ke,0,["enter",De,mt[2]]),ke++,we++,Ft=void 0,Br=!0)}}return ne[ue][1]._spread=zt,we}function o(ne,ue){e[ne]=ue}function u(ne){return e[ne]}function f(ne){return{line:ne.line,column:ne.column,offset:ne.offset}}function p(ne,ue){return we;function we(ke){d.call(this,ne(ke),ke),ue&&ue.call(this,ke)}}function m(){this.stack.push({type:"fragment",children:[]})}function d(ne,ue,we){return this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([ue,we]),ne.position={start:f(ue.start)},ne}function v(ne){return ue;function ue(we){ne&&ne.call(this,we),S.call(this,we)}}function S(ne,ue){let we=this.stack.pop(),ke=this.tokenStack.pop();if(ke)ke[0].type!==ne.type&&(ue?ue.call(this,ne,ke[0]):(ke[1]||um).call(this,ne,ke[0]));else throw new Error("Cannot close `"+ne.type+"` ("+Ni({start:ne.start,end:ne.end})+"): it\u2019s not open");return we.position.end=f(ne.end),we}function E(){return jd(this.stack.pop())}function C(){o("expectingFirstListItemValue",!0)}function N(ne){if(u("expectingFirstListItemValue")){let ue=this.stack[this.stack.length-2];ue.start=Number.parseInt(this.sliceSerialize(ne),10),o("expectingFirstListItemValue")}}function j(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.lang=ne}function B(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.meta=ne}function re(){u("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function ce(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function ve(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne.replace(/(\r?\n|\r)$/g,"")}function me(ne){let ue=this.resume(),we=this.stack[this.stack.length-1];we.label=ue,we.identifier=fr(this.sliceSerialize(ne)).toLowerCase()}function le(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ne}function fe(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ne}function Ae(ne){let ue=this.stack[this.stack.length-1];if(!ue.depth){let we=this.sliceSerialize(ne).length;ue.depth=we}}function be(){o("setextHeadingSlurpLineEnding",!0)}function He(ne){let ue=this.stack[this.stack.length-1];ue.depth=this.sliceSerialize(ne).charCodeAt(0)===61?1:2}function Pe(){o("setextHeadingSlurpLineEnding")}function Oe(ne){let ue=this.stack[this.stack.length-1],we=ue.children[ue.children.length-1];(!we||we.type!=="text")&&(we=xt(),we.position={start:f(ne.start)},ue.children.push(we)),this.stack.push(we)}function ye(ne){let ue=this.stack.pop();ue.value+=this.sliceSerialize(ne),ue.position.end=f(ne.end)}function Fe(ne){let ue=this.stack[this.stack.length-1];if(u("atHardBreak")){let we=ue.children[ue.children.length-1];we.position.end=f(ne.end),o("atHardBreak");return}!u("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(ue.type)&&(Oe.call(this,ne),ye.call(this,ne))}function et(){o("atHardBreak",!0)}function se(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function vt(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function tt(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.value=ne}function $t(){let ne=this.stack[this.stack.length-1];u("inReference")?(ne.type+="Reference",ne.referenceType=u("referenceType")||"shortcut",delete ne.url,delete ne.title):(delete ne.identifier,delete ne.label),o("referenceType")}function at(){let ne=this.stack[this.stack.length-1];u("inReference")?(ne.type+="Reference",ne.referenceType=u("referenceType")||"shortcut",delete ne.url,delete ne.title):(delete ne.identifier,delete ne.label),o("referenceType")}function H(ne){let ue=this.stack[this.stack.length-2],we=this.sliceSerialize(ne);ue.label=qo(we),ue.identifier=fr(we).toLowerCase()}function G(){let ne=this.stack[this.stack.length-1],ue=this.resume(),we=this.stack[this.stack.length-1];o("inReference",!0),we.type==="link"?we.children=ne.children:we.alt=ue}function dr(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.url=ne}function Lt(){let ne=this.resume(),ue=this.stack[this.stack.length-1];ue.title=ne}function Et(){o("inReference")}function Ot(){o("referenceType","collapsed")}function Pt(ne){let ue=this.resume(),we=this.stack[this.stack.length-1];we.label=ue,we.identifier=fr(this.sliceSerialize(ne)).toLowerCase(),o("referenceType","full")}function ft(ne){o("characterReferenceType",ne.type)}function mr(ne){let ue=this.sliceSerialize(ne),we=u("characterReferenceType"),ke;we?(ke=Oo(ue,we==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):ke=gs(ue);let pt=this.stack.pop();pt.value+=ke,pt.position.end=f(ne.end)}function Mt(ne){ye.call(this,ne);let ue=this.stack[this.stack.length-1];ue.url=this.sliceSerialize(ne)}function tr(ne){ye.call(this,ne);let ue=this.stack[this.stack.length-1];ue.url="mailto:"+this.sliceSerialize(ne)}function Or(){return{type:"blockquote",children:[]}}function rn(){return{type:"code",lang:null,meta:null,value:""}}function rr(){return{type:"inlineCode",value:""}}function nn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Vr(){return{type:"emphasis",children:[]}}function yn(){return{type:"heading",depth:void 0,children:[]}}function bn(){return{type:"break"}}function Ln(){return{type:"html",value:""}}function _e(){return{type:"image",title:null,url:"",alt:null}}function Gt(){return{type:"link",title:null,url:"",children:[]}}function Mn(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function ze(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function qe(){return{type:"paragraph",children:[]}}function wt(){return{type:"strong",children:[]}}function xt(){return{type:"text",value:""}}function qt(){return{type:"thematicBreak"}}}function cm(t,r){let e=-1;for(;++e<r.length;){let s=r[e];Array.isArray(s)?cm(t,s):T$(t,s)}return t}function T$(t,r){let e;for(e in r)if(_c.call(r,e)){let s=e==="canContainEols"||e==="transforms",o=(_c.call(t,e)?t[e]:void 0)||(t[e]=s?[]:{}),u=r[e];u&&(s?t[e]=[...o,...u]:Object.assign(o,u))}}function um(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Ni({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Ni({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Ni({start:r.start,end:r.end})+") is still open")}function Sc(t){Object.assign(this,{Parser:e=>{let s=this.data("settings");return Ec(e,Object.assign({},s,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var fm=Sc;var P$={tokenize:O$,partial:!0},hm={tokenize:q$,partial:!0},dm={tokenize:R$,partial:!0},ys={tokenize:L$,partial:!0},mm={tokenize:N$,partial:!0},gm={tokenize:D$,previous:wm},ym={tokenize:I$,previous:Pc},Wn={tokenize:F$,previous:vm},Nn={},Cc={text:Nn},Ui=48;for(;Ui<123;)Nn[Ui]=Wn,Ui++,Ui===58?Ui=65:Ui===91&&(Ui=97);Nn[43]=Wn;Nn[45]=Wn;Nn[46]=Wn;Nn[95]=Wn;Nn[72]=[Wn,ym];Nn[104]=[Wn,ym];Nn[87]=[Wn,gm];Nn[119]=[Wn,gm];function F$(t,r,e){let s=this,a,o;return u;function u(E){return!pm(E)||!vm(s.previous)||Fc(s.events)?e(E):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(E))}function f(E){return pm(E)?(t.consume(E),f):E===64?(t.consume(E),p):e(E)}function p(E){return E===46?t.check(ys,S,m)(E):E===45||E===95?t.check(ys,e,d)(E):Ht(E)?(!o&&Li(E)&&(o=!0),t.consume(E),p):S(E)}function m(E){return t.consume(E),a=!0,o=void 0,p}function d(E){return t.consume(E),v}function v(E){return E===46?t.check(ys,e,m)(E):p(E)}function S(E){return a&&!o?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(E)):e(E)}}function D$(t,r,e){let s=this;return a;function a(u){return u!==87&&u!==119||!wm(s.previous)||Fc(s.events)?e(u):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(P$,t.attempt(hm,t.attempt(dm,o),e),e)(u))}function o(u){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(u)}}function I$(t,r,e){let s=this;return a;function a(C){return C!==72&&C!==104||!Pc(s.previous)||Fc(s.events)?e(C):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(C),o)}function o(C){return C===84||C===116?(t.consume(C),u):e(C)}function u(C){return C===84||C===116?(t.consume(C),f):e(C)}function f(C){return C===80||C===112?(t.consume(C),p):e(C)}function p(C){return C===83||C===115?(t.consume(C),m):m(C)}function m(C){return C===58?(t.consume(C),d):e(C)}function d(C){return C===47?(t.consume(C),v):e(C)}function v(C){return C===47?(t.consume(C),S):e(C)}function S(C){return C===null||fi(C)||Mi(C)||zi(C)?e(C):t.attempt(hm,t.attempt(dm,E),e)(C)}function E(C){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(C)}}function O$(t,r,e){return s;function s(p){return t.consume(p),a}function a(p){return p===87||p===119?(t.consume(p),o):e(p)}function o(p){return p===87||p===119?(t.consume(p),u):e(p)}function u(p){return p===46?(t.consume(p),f):e(p)}function f(p){return p===null||de(p)?e(p):r(p)}}function q$(t,r,e){let s,a;return o;function o(p){return p===38?t.check(mm,f,u)(p):p===46||p===95?t.check(ys,f,u)(p):p===null||fi(p)||Mi(p)||p!==45&&zi(p)?f(p):(t.consume(p),o)}function u(p){return p===46?(a=s,s=void 0,t.consume(p),o):(p===95&&(s=!0),t.consume(p),o)}function f(p){return!a&&!s?r(p):e(p)}}function R$(t,r){let e=0;return s;function s(u){return u===38?t.check(mm,r,a)(u):(u===40&&e++,u===41?t.check(ys,o,a)(u):Tc(u)?r(u):bm(u)?t.check(ys,r,a)(u):(t.consume(u),s))}function a(u){return t.consume(u),s}function o(u){return e--,e<0?r(u):a(u)}}function N$(t,r,e){return s;function s(u){return t.consume(u),a}function a(u){return cr(u)?(t.consume(u),a):u===59?(t.consume(u),o):e(u)}function o(u){return Tc(u)?r(u):e(u)}}function L$(t,r,e){return s;function s(o){return t.consume(o),a}function a(o){return bm(o)?(t.consume(o),a):Tc(o)?r(o):e(o)}}function bm(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 Tc(t){return t===null||t===60||st(t)}function pm(t){return t===43||t===45||t===46||t===95||Ht(t)}function wm(t){return t===null||t===40||t===42||t===95||t===126||st(t)}function Pc(t){return t===null||!cr(t)}function vm(t){return t!==47&&Pc(t)}function Fc(t){let r=t.length,e=!1;for(;r--;){let s=t[r][1];if((s.type==="labelLink"||s.type==="labelImage")&&!s._balanced){e=!0;break}if(s._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var M$={tokenize:G$,partial:!0};function Dc(){return{document:{[91]:{tokenize:B$,continuation:{tokenize:U$},exit:H$}},text:{[91]:{tokenize:V$},[93]:{add:"after",tokenize:z$,resolveTo:j$}}}}function z$(t,r,e){let s=this,a=s.events.length,o=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),u;for(;a--;){let p=s.events[a][1];if(p.type==="labelImage"){u=p;break}if(p.type==="gfmFootnoteCall"||p.type==="labelLink"||p.type==="label"||p.type==="image"||p.type==="link")break}return f;function f(p){if(!u||!u._balanced)return e(p);let m=fr(s.sliceSerialize({start:u.end,end:s.now()}));return m.charCodeAt(0)!==94||!o.includes(m.slice(1))?e(p):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(p),t.exit("gfmFootnoteCallLabelMarker"),r(p))}}function j$(t,r){let e=t.length,s;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){s=t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";let a={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 u={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},p=[t[e+1],t[e+2],["enter",a,r],t[e+3],t[e+4],["enter",o,r],["exit",o,r],["enter",u,r],["enter",f,r],["exit",f,r],["exit",u,r],t[t.length-2],t[t.length-1],["exit",a,r]];return t.splice(e,t.length-e+1,...p),t}function V$(t,r,e){let s=this,a=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),o=0,u;return f;function f(S){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(S),t.exit("gfmFootnoteCallLabelMarker"),p}function p(S){return S!==94?e(S):(t.enter("gfmFootnoteCallMarker"),t.consume(S),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",m)}function m(S){let E;return S===null||S===91||o++>999?e(S):S===93?u?(t.exit("chunkString"),E=t.exit("gfmFootnoteCallString"),a.includes(fr(s.sliceSerialize(E)))?v(S):e(S)):e(S):(t.consume(S),st(S)||(u=!0),S===92?d:m)}function d(S){return S===91||S===92||S===93?(t.consume(S),o++,m):m(S)}function v(S){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(S),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function B$(t,r,e){let s=this,a=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),o,u=0,f;return p;function p(N){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(N),t.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(N){return N===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(N),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),d):e(N)}function d(N){let j;return N===null||N===91||u>999?e(N):N===93?f?(j=t.exit("gfmFootnoteDefinitionLabelString"),o=fr(s.sliceSerialize(j)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(N),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),E):e(N):de(N)?(t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),u++,d):(t.enter("chunkString").contentType="string",v(N))}function v(N){return N===null||de(N)||N===91||N===93||u>999?(t.exit("chunkString"),d(N)):(st(N)||(f=!0),u++,t.consume(N),N===92?S:v)}function S(N){return N===91||N===92||N===93?(t.consume(N),u++,v):v(N)}function E(N){return N===58?(t.enter("definitionMarker"),t.consume(N),t.exit("definitionMarker"),Se(t,C,"gfmFootnoteDefinitionWhitespace")):e(N)}function C(N){return a.includes(o)||a.push(o),r(N)}}function U$(t,r,e){return t.check(Rn,r,t.attempt(M$,r,e))}function H$(t){t.exit("gfmFootnoteDefinition")}function G$(t,r,e){let s=this;return Se(t,a,"gfmFootnoteDefinitionIndent",4+1);function a(o){let u=s.events[s.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?r(o):e(o)}}function Ic(t={}){let r=t.singleTilde,e={tokenize:a,resolveAll:s};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function s(o,u){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let p=f;for(;p--;)if(o[p][0]==="exit"&&o[p][1].type==="strikethroughSequenceTemporary"&&o[p][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[p][1].end.offset-o[p][1].start.offset){o[f][1].type="strikethroughSequence",o[p][1].type="strikethroughSequence";let m={type:"strikethrough",start:Object.assign({},o[p][1].start),end:Object.assign({},o[f][1].end)},d={type:"strikethroughText",start:Object.assign({},o[p][1].end),end:Object.assign({},o[f][1].start)},v=[["enter",m,u],["enter",o[p][1],u],["exit",o[p][1],u],["enter",d,u]];It(v,v.length,0,hi(u.parser.constructs.insideSpan.null,o.slice(p+1,f),u)),It(v,v.length,0,[["exit",d,u],["enter",o[f][1],u],["exit",o[f][1],u],["exit",m,u]]),It(o,p-1,f-p+3,v),f=p+v.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function a(o,u,f){let p=this.previous,m=this.events,d=0;return v;function v(E){return p===126&&m[m.length-1][1].type!=="characterEscape"?f(E):(o.enter("strikethroughSequenceTemporary"),S(E))}function S(E){let C=ms(p);if(E===126)return d>1?f(E):(o.consume(E),d++,S);if(d<2&&!r)return f(E);let N=o.exit("strikethroughSequenceTemporary"),j=ms(E);return N._open=!j||j===2&&Boolean(C),N._close=!C||C===2&&Boolean(j),u(E)}}}var Oc={flow:{null:{tokenize:W$,resolve:K$}}},$m={tokenize:J$,partial:!0};function K$(t,r){let e=-1,s,a,o,u,f,p,m;for(;++e<t.length;){let d=t[e][1];if(o&&(d.type==="temporaryTableCellContent"&&(u=u||e,f=e),(d.type==="tableCellDivider"||d.type==="tableRow")&&f)){let v={type:"tableContent",start:t[u][1].start,end:t[f][1].end},S={type:"chunkText",start:v.start,end:v.end,contentType:"text"};t.splice(u,f-u+1,["enter",v,r],["enter",S,r],["exit",S,r],["exit",v,r]),e-=f-u-3,u=void 0,f=void 0}if(t[e][0]==="exit"&&p!==void 0&&p+(m?0:1)<e&&(d.type==="tableCellDivider"||d.type==="tableRow"&&(p+3<e||t[p][1].type!=="whitespace"))){let v={type:a?"tableDelimiter":s?"tableHeader":"tableData",start:t[p][1].start,end:t[e][1].end};t.splice(e+(d.type==="tableCellDivider"?1:0),0,["exit",v,r]),t.splice(p,0,["enter",v,r]),e+=2,p=e+1,m=!0}d.type==="tableRow"&&(o=t[e][0]==="enter",o&&(p=e+1,m=!1)),d.type==="tableDelimiterRow"&&(a=t[e][0]==="enter",a&&(p=e+1,m=!1)),d.type==="tableHead"&&(s=t[e][0]==="enter")}return t}function W$(t,r,e){let s=this,a=[],o=0,u,f;return p;function p(se){return t.enter("table")._align=a,t.enter("tableHead"),t.enter("tableRow"),se===124?m(se):(o++,t.enter("temporaryTableCellContent"),S(se))}function m(se){return t.enter("tableCellDivider"),t.consume(se),t.exit("tableCellDivider"),u=!0,d}function d(se){return se===null||de(se)?C(se):We(se)?(t.enter("whitespace"),t.consume(se),v):(u&&(u=void 0,o++),se===124?m(se):(t.enter("temporaryTableCellContent"),S(se)))}function v(se){return We(se)?(t.consume(se),v):(t.exit("whitespace"),d(se))}function S(se){return se===null||se===124||st(se)?(t.exit("temporaryTableCellContent"),d(se)):(t.consume(se),se===92?E:S)}function E(se){return se===92||se===124?(t.consume(se),S):S(se)}function C(se){if(se===null)return e(se);t.exit("tableRow"),t.exit("tableHead");let vt=s.interrupt;return s.interrupt=!0,t.attempt({tokenize:et,partial:!0},function(tt){return s.interrupt=vt,t.enter("tableDelimiterRow"),N(tt)},function(tt){return s.interrupt=vt,e(tt)})(se)}function N(se){return se===null||de(se)?ve(se):We(se)?(t.enter("whitespace"),t.consume(se),j):se===45?(t.enter("tableDelimiterFiller"),t.consume(se),f=!0,a.push("none"),B):se===58?(t.enter("tableDelimiterAlignment"),t.consume(se),t.exit("tableDelimiterAlignment"),a.push("left"),re):se===124?(t.enter("tableCellDivider"),t.consume(se),t.exit("tableCellDivider"),N):e(se)}function j(se){return We(se)?(t.consume(se),j):(t.exit("whitespace"),N(se))}function B(se){return se===45?(t.consume(se),B):(t.exit("tableDelimiterFiller"),se===58?(t.enter("tableDelimiterAlignment"),t.consume(se),t.exit("tableDelimiterAlignment"),a[a.length-1]=a[a.length-1]==="left"?"center":"right",ce):N(se))}function re(se){return se===45?(t.enter("tableDelimiterFiller"),t.consume(se),f=!0,B):e(se)}function ce(se){return se===null||de(se)?ve(se):We(se)?(t.enter("whitespace"),t.consume(se),j):se===124?(t.enter("tableCellDivider"),t.consume(se),t.exit("tableCellDivider"),N):e(se)}function ve(se){return t.exit("tableDelimiterRow"),!f||o!==a.length?e(se):se===null?me(se):t.check($m,me,t.attempt({tokenize:et,partial:!0},Se(t,le,"linePrefix",4),me))(se)}function me(se){return t.exit("table"),r(se)}function le(se){return t.enter("tableBody"),fe(se)}function fe(se){return t.enter("tableRow"),se===124?Ae(se):(t.enter("temporaryTableCellContent"),Pe(se))}function Ae(se){return t.enter("tableCellDivider"),t.consume(se),t.exit("tableCellDivider"),be}function be(se){return se===null||de(se)?ye(se):We(se)?(t.enter("whitespace"),t.consume(se),He):se===124?Ae(se):(t.enter("temporaryTableCellContent"),Pe(se))}function He(se){return We(se)?(t.consume(se),He):(t.exit("whitespace"),be(se))}function Pe(se){return se===null||se===124||st(se)?(t.exit("temporaryTableCellContent"),be(se)):(t.consume(se),se===92?Oe:Pe)}function Oe(se){return se===92||se===124?(t.consume(se),Pe):Pe(se)}function ye(se){return t.exit("tableRow"),se===null?Fe(se):t.check($m,Fe,t.attempt({tokenize:et,partial:!0},Se(t,fe,"linePrefix",4),Fe))(se)}function Fe(se){return t.exit("tableBody"),me(se)}function et(se,vt,tt){return $t;function $t(H){return se.enter("lineEnding"),se.consume(H),se.exit("lineEnding"),Se(se,at,"linePrefix")}function at(H){if(s.parser.lazy[s.now().line]||H===null||de(H))return tt(H);let G=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&G&&G[1].type==="linePrefix"&&G[2].sliceSerialize(G[1],!0).length>=4?tt(H):(s._gfmTableDynamicInterruptHack=!0,se.check(s.parser.constructs.flow,function(dr){return s._gfmTableDynamicInterruptHack=!1,tt(dr)},function(dr){return s._gfmTableDynamicInterruptHack=!1,vt(dr)})(H))}}}function J$(t,r,e){let s=0;return a;function a(u){return t.enter("check"),t.consume(u),o}function o(u){return u===-1||u===32?(t.consume(u),s++,s===4?r:o):u===null||st(u)?r(u):e(u)}}var Q$={tokenize:Z$},qc={text:{[91]:Q$}};function Z$(t,r,e){let s=this;return a;function a(f){return s.previous!==null||!s._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),o)}function o(f){return st(f)?(t.enter("taskListCheckValueUnchecked"),t.consume(f),t.exit("taskListCheckValueUnchecked"),u):f===88||f===120?(t.enter("taskListCheckValueChecked"),t.consume(f),t.exit("taskListCheckValueChecked"),u):e(f)}function u(f){return f===93?(t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:X$},r,e)):e(f)}}function X$(t,r,e){let s=this;return Se(t,a,"whitespace");function a(o){let u=s.events[s.events.length-1];return(u&&u[1].type==="whitespace"||de(o))&&o!==null?r(o):e(o)}}function xm(t){return Ao([Cc,Dc(),Ic(t),Oc,qc])}function Rc(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let s=0,a=e.indexOf(r);for(;a!==-1;)s++,a=e.indexOf(r,a+r.length);return s}function Nc(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ga=function(t){if(t==null)return rx;if(typeof t=="string")return tx(t);if(typeof t=="object")return Array.isArray(t)?Y$(t):ex(t);if(typeof t=="function")return Ro(t);throw new Error("Expected function, string, or object as test")};function Y$(t){let r=[],e=-1;for(;++e<t.length;)r[e]=ga(t[e]);return Ro(s);function s(...a){let o=-1;for(;++o<r.length;)if(r[o].call(this,...a))return!0;return!1}}function ex(t){return Ro(r);function r(e){let s;for(s in t)if(e[s]!==t[s])return!1;return!0}}function tx(t){return Ro(r);function r(e){return e&&e.type===t}}function Ro(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function rx(){return!0}function km(t){return"\x1B[33m"+t+"\x1B[39m"}var nx=!0,ix="skip",Am=!1,_m=function(t,r,e,s){typeof r=="function"&&typeof e!="function"&&(s=e,e=r,r=null);let a=ga(r),o=s?-1:1;u(t,null,[])();function u(f,p,m){let d=typeof f=="object"&&f!==null?f:{},v;return typeof d.type=="string"&&(v=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0,Object.defineProperty(S,"name",{value:"node ("+km(d.type+(v?"<"+v+">":""))+")"})),S;function S(){let E=[],C,N,j;if((!r||a(f,p,m[m.length-1]||null))&&(E=sx(e(f,m)),E[0]===Am))return E;if(f.children&&E[0]!==ix)for(N=(s?f.children.length:-1)+o,j=m.concat(f);N>-1&&N<f.children.length;){if(C=u(f.children[N],N,j)(),C[0]===Am)return C;N=typeof C[1]=="number"?C[1]:N+o}return E}}};function sx(t){return Array.isArray(t)?t:typeof t=="number"?[nx,t]:[t]}var ax={}.hasOwnProperty,Lc=function(t,r,e,s){let a,o;typeof r=="string"||r instanceof RegExp?(o=[[r,e]],a=s):(o=r,a=e),a||(a={});let u=ga(a.ignore||[]),f=ox(o),p=-1;for(;++p<f.length;)_m(t,"text",m);return t;function m(v,S){let E=-1,C;for(;++E<S.length;){let N=S[E];if(u(N,C?C.children.indexOf(N):void 0,C))return;C=N}if(C)return d(v,S)}function d(v,S){let E=S[S.length-1],C=f[p][0],N=f[p][1],j=0,B=E.children.indexOf(v),re=!1,ce=[],ve;C.lastIndex=0;let me=C.exec(v.value);for(;me;){ve=me.index;let le={index:me.index,input:me.input,stack:[...S,v]},fe=N(...me,le);if(typeof fe=="string"&&(fe=fe.length>0?{type:"text",value:fe}:void 0),fe!==!1&&(j!==ve&&ce.push({type:"text",value:v.value.slice(j,ve)}),Array.isArray(fe)?ce.push(...fe):fe&&ce.push(fe),j=ve+me[0].length,re=!0),!C.global)break;me=C.exec(v.value)}return re?(j<v.value.length&&ce.push({type:"text",value:v.value.slice(j)}),E.children.splice(B,1,...ce)):ce=[v],B+ce.length}};function ox(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([Em(t[e][0]),Sm(t[e][1])])}else{let e;for(e in t)ax.call(t,e)&&r.push([Em(e),Sm(t[e])])}return r}function Em(t){return typeof t=="string"?new RegExp(Nc(t),"g"):t}function Sm(t){return typeof t=="function"?t:()=>t}var Mc="phrasing",zc=["autolink","link","image","label"],Cm={transforms:[hx],enter:{literalAutolink:lx,literalAutolinkEmail:jc,literalAutolinkHttp:jc,literalAutolinkWww:jc},exit:{literalAutolink:px,literalAutolinkEmail:fx,literalAutolinkHttp:ux,literalAutolinkWww:cx}},Tm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Mc,notInConstruct:zc},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Mc,notInConstruct:zc},{character:":",before:"[ps]",after:"\\/",inConstruct:Mc,notInConstruct:zc}]};function lx(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function jc(t){this.config.enter.autolinkProtocol.call(this,t)}function ux(t){this.config.exit.autolinkProtocol.call(this,t)}function cx(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function fx(t){this.config.exit.autolinkEmail.call(this,t)}function px(t){this.exit(t)}function hx(t){Lc(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,dx],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,mx]],{ignore:["link","linkReference"]})}function dx(t,r,e,s,a){let o="";if(!Pm(a)||(/^w/i.test(r)&&(e=r+e,r="",o="http://"),!gx(e)))return!1;let u=yx(e+s);if(!u[0])return!1;let f={type:"link",title:null,url:o+r+u[0],children:[{type:"text",value:r+u[0]}]};return u[1]?[f,{type:"text",value:u[1]}]:f}function mx(t,r,e,s){return!Pm(s,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function gx(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 yx(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,s,a,o;if(r)for(t=t.slice(0,r.index),o=r[0],e=o.indexOf(")"),s=Rc(t,"("),a=Rc(t,")");e!==-1&&s>a;)t+=o.slice(0,e+1),o=o.slice(e+1),e=o.indexOf(")"),a++;return[t,o]}function Pm(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Mi(e)||zi(e))&&(!r||e!==47)}function Vc(t){return t.label||!t.identifier?t.label||"":qo(t.identifier)}function hr(t){let r=t||{},e=r.now||{},s=r.lineShift||0,a=e.line||1,o=e.column||1;return{move:p,current:u,shift:f};function u(){return{now:{line:a,column:o},lineShift:s}}function f(m){s+=m}function p(m=""){let d=m.split(/\r?\n|\r/g),v=d[d.length-1];return a+=d.length-1,o=d.length===1?o+v.length:1+v.length+s,m}}function No(t,r,e){let s=r.indexStack,a=t.children||[],o=hr(e),u=[],f=-1;for(s.push(-1);++f<a.length;){let m=a[f];s[s.length-1]=f,u.push(o.move(r.handle(m,t,r,{before:`
7
+ depsCount: ${n},
8
+ deps: ${e}}`};var gv={keyword:"dependencies",type:"object",schemaType:"object",error:Li.error,code(t){let[n,e]=yv(t);sd(t,n),ad(t,e)}};function yv({schema:t}){let n={},e={};for(let s in t){if(s==="__proto__")continue;let o=Array.isArray(t[s])?n:e;o[s]=t[s]}return[n,e]}function sd(t,n=t.schema){let{gen:e,data:s,it:o}=t;if(Object.keys(n).length===0)return;let f=e.let("missing");for(let h in n){let v=n[h];if(v.length===0)continue;let b=ra.propertyInData(e,s,h,o.opts.ownProperties);t.setParams({property:h,depsCount:v.length,deps:v.join(", ")}),o.allErrors?e.if(b,()=>{for(let A of v)ra.checkReportMissingProp(t,A)}):(e.if(kf._`${b} && (${ra.checkMissingProp(t,v,f)})`),ra.reportMissingProp(t,f),e.else())}}Li.validatePropertyDeps=sd;function ad(t,n=t.schema){let{gen:e,data:s,keyword:o,it:f}=t,h=e.name("valid");for(let v in n)mv.alwaysValidSchema(f,n[v])||(e.if(ra.propertyInData(e,s,v,f.opts.ownProperties),()=>{let b=t.subschema({keyword:o,schemaProp:v},h);t.mergeValidEvaluated(b,h)},()=>e.var(h,!0)),t.ok(h))}Li.validateSchemaDeps=ad;Li.default=gv});var ld=Ee(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});var Cf=Qe(),vv=qt(),bv={message:({params:t})=>Cf.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Cf._`{propertyName: ${t.propertyName}}`},wv={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:bv,code(t){let{gen:n,schema:e,data:s,it:o}=t;if(vv.alwaysValidSchema(o,e))return;let f=n.name("valid");n.forIn("key",s,h=>{t.setParams({propertyName:h}),t.subschema({keyword:"propertyNames",data:h,dataTypes:["string"],propertyName:h,compositeRule:!0},f),n.if(Cf.not(f),()=>{t.error(!0),o.allErrors||n.break()})}),t.ok(f)}};_f.default=wv});var Tf=Ee(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});var uo=ki(),Si=Qe(),$v=xi(),Av=_n(),Ef=qt(),xv={message:"should NOT have additional properties",params:({params:t})=>Si._`{additionalProperty: ${t.additionalProperty}}`},kv={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:xv,code(t){let{gen:n,schema:e,parentSchema:s,data:o,errsCount:f,it:h}=t;if(!f)throw new Error("ajv implementation error");let{allErrors:v,opts:b}=h;if(h.props=!0,b.removeAdditional!=="all"&&Ef.alwaysValidSchema(h,e))return;let A=uo.allSchemaProperties(s.properties),w=uo.allSchemaProperties(s.patternProperties);T(),t.ok(Si._`${f} === ${$v.default.errors}`);function T(){n.forIn("key",o,G=>{!A.length&&!w.length?L(G):n.if(N(G),()=>L(G))})}function N(G){let K;if(A.length>8){let re=Ef.schemaRefOrVal(h,s.properties,"properties");K=uo.isOwnProperty(n,re,G)}else A.length?K=Si.or(...A.map(re=>Si._`${G} === ${re}`)):K=Si.nil;return w.length&&(K=Si.or(K,...w.map(re=>Si._`${uo.usePattern(n,re)}.test(${G})`))),Si.not(K)}function R(G){n.code(Si._`delete ${o}[${G}]`)}function L(G){if(b.removeAdditional==="all"||b.removeAdditional&&e===!1){R(G);return}if(e===!1){t.setParams({additionalProperty:G}),t.error(),v||n.break();return}if(typeof e=="object"&&!Ef.alwaysValidSchema(h,e)){let K=n.name("valid");b.removeAdditional==="failing"?(V(G,K,!1),n.if(Si.not(K),()=>{t.reset(),R(G)})):(V(G,K),v||n.if(Si.not(K),()=>n.break()))}}function V(G,K,re){let ce={keyword:"additionalProperties",dataProp:G,dataPropType:Av.Type.Str};re===!1&&Object.assign(ce,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(ce,K)}}};Sf.default=kv});var cd=Ee(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});var Cv=Vs(),fd=ki(),Pf=qt(),ud=Tf(),_v={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:n,schema:e,parentSchema:s,data:o,it:f}=t;f.opts.removeAdditional==="all"&&s.additionalProperties===void 0&&ud.default.code(new Cv.default(f,ud.default,"additionalProperties"));let h=fd.allSchemaProperties(e);for(let T of h)f.definedProperties.add(T);f.opts.unevaluated&&h.length&&f.props!==!0&&(f.props=Pf.mergeEvaluated.props(n,Pf.toHash(h),f.props));let v=h.filter(T=>!Pf.alwaysValidSchema(f,e[T]));if(v.length===0)return;let b=n.name("valid");for(let T of v)A(T)?w(T):(n.if(fd.propertyInData(n,o,T,f.opts.ownProperties)),w(T),f.allErrors||n.else().var(b,!0),n.endIf()),t.it.definedProperties.add(T),t.ok(b);function A(T){return f.opts.useDefaults&&!f.compositeRule&&e[T].default!==void 0}function w(T){t.subschema({keyword:"properties",schemaProp:T,dataProp:T},b)}}};Ff.default=_v});var dd=Ee(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});var hd=ki(),co=Qe(),Ev=_n(),Sv=Jr(),Tv=qt(),Pv={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:n,schema:e,data:s,parentSchema:o,it:f}=t,{opts:h}=f,v=hd.schemaProperties(f,e);if(v.length===0)return;let b=h.strict&&!h.allowMatchingProperties&&o.properties,A=n.name("valid");f.props!==!0&&!(f.props instanceof co.Name)&&(f.props=Tv.evaluatedPropsToName(n,f.props));let{props:w}=f;T();function T(){for(let L of v)b&&N(L),f.allErrors?R(L):(n.var(A,!0),R(L),n.if(A))}function N(L){for(let V in b)new RegExp(L).test(V)&&Sv.checkStrictMode(f,`property ${V} matches pattern ${L} (use allowMatchingProperties)`)}function R(L){n.forIn("key",s,V=>{n.if(co._`${hd.usePattern(n,L)}.test(${V})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:L,dataProp:V,dataPropType:Ev.Type.Str},A),f.opts.unevaluated&&w!==!0?n.assign(co._`${w}[${V}]`,!0):f.allErrors||n.if(co.not(A),()=>n.break())})})}}};Df.default=Pv});var pd=Ee(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});var Fv=qt(),Dv={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:n,schema:e,it:s}=t;if(Fv.alwaysValidSchema(s,e)){t.fail();return}let o=n.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),t.result(o,()=>t.error(),()=>t.reset())},error:{message:"should NOT be valid"}};If.default=Dv});var md=Ee(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});var Iv=ki(),Ov={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Iv.validateUnion,error:{message:"should match some schema in anyOf"}};Of.default=Ov});var gd=Ee(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});var ho=Qe(),qv=qt(),Rv={message:"should match exactly one schema in oneOf",params:({params:t})=>ho._`{passingSchemas: ${t.passing}}`},Nv={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rv,code(t){let{gen:n,schema:e,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=e,f=n.let("valid",!1),h=n.let("passing",null),v=n.name("_valid");t.setParams({passing:h}),n.block(b),t.result(f,()=>t.reset(),()=>t.error(!0));function b(){o.forEach((A,w)=>{let T;qv.alwaysValidSchema(s,A)?n.var(v,!0):T=t.subschema({keyword:"oneOf",schemaProp:w,compositeRule:!0},v),w>0&&n.if(ho._`${v} && ${f}`).assign(f,!1).assign(h,ho._`[${h}, ${w}]`).else(),n.if(v,()=>{n.assign(f,!0),n.assign(h,w),T&&t.mergeEvaluated(T,ho.Name)})})}}};qf.default=Nv});var yd=Ee(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});var Lv=qt(),Mv={keyword:"allOf",schemaType:"array",code(t){let{gen:n,schema:e,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=n.name("valid");e.forEach((f,h)=>{if(Lv.alwaysValidSchema(s,f))return;let v=t.subschema({keyword:"allOf",schemaProp:h},o);t.ok(o),t.mergeEvaluated(v)})}};Rf.default=Mv});var bd=Ee(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});var po=Qe(),zv=qt(),jv=Jr(),Bv={message:({params:t})=>po.str`should match "${t.ifClause}" schema`,params:({params:t})=>po._`{failingKeyword: ${t.ifClause}}`},Vv={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Bv,code(t){let{gen:n,parentSchema:e,it:s}=t;e.then===void 0&&e.else===void 0&&jv.checkStrictMode(s,'"if" without "then" and "else" is ignored');let o=vd(s,"then"),f=vd(s,"else");if(!o&&!f)return;let h=n.let("valid",!0),v=n.name("_valid");if(b(),t.reset(),o&&f){let w=n.let("ifClause");t.setParams({ifClause:w}),n.if(v,A("then",w),A("else",w))}else o?n.if(v,A("then")):n.if(po.not(v),A("else"));t.pass(h,()=>t.error(!0));function b(){let w=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},v);t.mergeEvaluated(w)}function A(w,T){return()=>{let N=t.subschema({keyword:w},v);n.assign(h,v),t.mergeValidEvaluated(N,h),T?n.assign(T,po._`${w}`):t.setParams({ifClause:w})}}}};function vd(t,n){let e=t.schema[n];return e!==void 0&&!zv.alwaysValidSchema(t,e)}Nf.default=Vv});var wd=Ee(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});var Uv=Jr(),Hv={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:n,it:e}){n.if===void 0&&Uv.checkStrictMode(e,`"${t}" without "if" is ignored`)}};Lf.default=Hv});var $d=Ee(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});var Gv=ed(),Kv=rd(),Wv=nd(),Jv=od(),Qv=ld(),Zv=Tf(),Xv=cd(),Yv=dd(),eb=pd(),tb=md(),rb=gd(),ib=yd(),nb=bd(),sb=wd(),ab=[eb.default,tb.default,rb.default,ib.default,nb.default,sb.default,Gv.default,Kv.default,Wv.default,Qv.default,Zv.default,Jv.default,Xv.default,Yv.default];Mf.default=ab});var Ad=Ee(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var Ut=Qe(),ob={message:({schemaCode:t})=>Ut.str`should match format "${t}"`,params:({schemaCode:t})=>Ut._`{format: ${t}}`},lb={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:ob,code(t,n){let{gen:e,data:s,$data:o,schema:f,schemaCode:h,it:v}=t,{opts:b,errSchemaPath:A,schemaEnv:w,self:T}=v;if(!b.validateFormats)return;o?N():R();function N(){let L=e.scopeValue("formats",{ref:T.formats,code:b.code.formats}),V=e.const("fDef",Ut._`${L}[${h}]`),G=e.let("fType"),K=e.let("format");e.if(Ut._`typeof ${V} == "object" && !(${V} instanceof RegExp)`,()=>e.assign(G,Ut._`${V}.type || "string"`).assign(K,Ut._`${V}.validate`),()=>e.assign(G,Ut._`"string"`).assign(K,V)),t.fail$data(Ut.or(re(),ce()));function re(){return b.strict===!1?Ut.nil:Ut._`${h} && !${K}`}function ce(){let xe=w.$async?Ut._`(${V}.async ? await ${K}(${s}) : ${K}(${s}))`:Ut._`${K}(${s})`,ye=Ut._`(typeof ${K} == "function" ? ${xe} : ${K}.test(${s}))`;return Ut._`${K} && ${K} !== true && ${G} === ${n} && !${ye}`}}function R(){let L=T.formats[f];if(!L){re();return}if(L===!0)return;let[V,G,K]=ce(L);V===n&&t.pass(xe());function re(){if(b.strict===!1){T.logger.warn(ye());return}throw new Error(ye());function ye(){return`unknown format "${f}" ignored in schema at path "${A}"`}}function ce(ye){let le=e.scopeValue("formats",{key:f,ref:ye,code:b.code.formats?Ut._`${b.code.formats}${Ut.getProperty(f)}`:void 0});return typeof ye=="object"&&!(ye instanceof RegExp)?[ye.type||"string",ye.validate,Ut._`${le}.validate`]:["string",ye,le]}function xe(){if(typeof L=="object"&&!(L instanceof RegExp)&&L.async){if(!w.$async)throw new Error("async format in sync schema");return Ut._`await ${K}(${s})`}return typeof G=="function"?Ut._`${K}(${s})`:Ut._`${K}.test(${s})`}}}};zf.default=lb});var xd=Ee(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var fb=Ad(),ub=[fb.default];jf.default=ub});var kd=Ee(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.contentVocabulary=us.metadataVocabulary=void 0;us.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];us.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var _d=Ee(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});var cb=jh(),hb=Yh(),db=$d(),pb=xd(),Cd=kd(),mb=[cb.default,hb.default,db.default,pb.default,Cd.metadataVocabulary,Cd.contentVocabulary];Bf.default=mb});var Ed=Ee((Xx,gb)=>{gb.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 Td=Ee(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.CodeGen=lr.Name=lr.nil=lr.stringify=lr.str=lr._=lr.KeywordCxt=void 0;var yb=Vs();lr.KeywordCxt=yb.default;var cs=Qe();Object.defineProperty(lr,"_",{enumerable:!0,get:function(){return cs._}});Object.defineProperty(lr,"str",{enumerable:!0,get:function(){return cs.str}});Object.defineProperty(lr,"stringify",{enumerable:!0,get:function(){return cs.stringify}});Object.defineProperty(lr,"nil",{enumerable:!0,get:function(){return cs.nil}});Object.defineProperty(lr,"Name",{enumerable:!0,get:function(){return cs.Name}});Object.defineProperty(lr,"CodeGen",{enumerable:!0,get:function(){return cs.CodeGen}});var vb=qh(),bb=_d(),Sd=Ed(),wb=["/properties"],mo="http://json-schema.org/draft-07/schema",Vf=class extends vb.default{_addVocabularies(){super._addVocabularies(),bb.default.forEach(n=>this.addVocabulary(n))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let n=this.opts.$data?this.$dataMetaSchema(Sd,wb):Sd;this.addMetaSchema(n,mo,!1),this.refs["http://json-schema.org/schema"]=mo}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(mo)?mo:void 0)}};lr.default=Vf});var Fd=Ee((ek,Pd)=>{var $b=Object.prototype.hasOwnProperty,Ab=Object.prototype.toString;Pd.exports=function(n,e,s){if(Ab.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var o=n.length;if(o===+o)for(var f=0;f<o;f++)e.call(s,n[f],f,n);else for(var h in n)$b.call(n,h)&&e.call(s,n[h],h,n)}});var Id=Ee((tk,Dd)=>{"use strict";var xb=Fd();Dd.exports=xt;function xt(t,n,e){if(arguments.length===3)return xt.set(t,n,e);if(arguments.length===2)return xt.get(t,n);var s=xt.bind(xt,t);for(var o in xt)xt.hasOwnProperty(o)&&(s[o]=xt[o].bind(s,t));return s}xt.get=function(n,e){for(var s=Array.isArray(e)?e:xt.parse(e),o=0;o<s.length;++o){var f=s[o];if(!(typeof n=="object"&&f in n))throw new Error("Invalid reference token: "+f);n=n[f]}return n};xt.set=function(n,e,s){var o=Array.isArray(e)?e:xt.parse(e),f=o[0];if(o.length===0)throw Error("Can not set the root object");for(var h=0;h<o.length-1;++h){var v=o[h];v==="__proto__"||v==="constructor"||v==="prototype"||(v==="-"&&Array.isArray(n)&&(v=n.length),f=o[h+1],v in n||(f.match(/^(\d+|-)$/)?n[v]=[]:n[v]={}),n=n[v])}return f==="-"&&Array.isArray(n)&&(f=n.length),n[f]=s,this};xt.remove=function(t,n){var e=Array.isArray(n)?n:xt.parse(n),s=e[e.length-1];if(s===void 0)throw new Error('Invalid JSON pointer for remove: "'+n+'"');var o=xt.get(t,e.slice(0,-1));if(Array.isArray(o)){var f=+s;if(s===""&&isNaN(f))throw new Error('Invalid array index: "'+s+'"');Array.prototype.splice.call(o,f,1)}else delete o[s]};xt.dict=function(n,e){var s={};return xt.walk(n,function(o,f){s[f]=o},e),s};xt.walk=function(n,e,s){var o=[];s=s||function(f){var h=Object.prototype.toString.call(f);return h==="[object Object]"||h==="[object Array]"},function f(h){xb(h,function(v,b){o.push(String(b)),s(v)?f(v):e(v,xt.compile(o)),o.pop()})}(n)};xt.has=function(n,e){try{xt.get(n,e)}catch{return!1}return!0};xt.escape=function(n){return n.toString().replace(/~/g,"~0").replace(/\//g,"~1")};xt.unescape=function(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")};xt.parse=function(n){if(n==="")return[];if(n.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+n);return n.substring(1).split(/\//).map(xt.unescape)};xt.compile=function(n){return n.length===0?"":"/"+n.map(xt.escape).join("/")}});var Jf=Ee((xk,Xd)=>{"use strict";function Rb(t,n){function e(){this.constructor=t}e.prototype=n.prototype,t.prototype=new e}function Dn(t,n,e,s){this.message=t,this.expected=n,this.found=e,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Dn)}Rb(Dn,Error);Dn.buildMessage=function(t,n){var e={literal:function(A){return'"'+o(A.text)+'"'},class:function(A){var w="",T;for(T=0;T<A.parts.length;T++)w+=A.parts[T]instanceof Array?f(A.parts[T][0])+"-"+f(A.parts[T][1]):f(A.parts[T]);return"["+(A.inverted?"^":"")+w+"]"},any:function(A){return"any character"},end:function(A){return"end of input"},other:function(A){return A.description}};function s(A){return A.charCodeAt(0).toString(16).toUpperCase()}function o(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function f(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function h(A){return e[A.type](A)}function v(A){var w=new Array(A.length),T,N;for(T=0;T<A.length;T++)w[T]=h(A[T]);if(w.sort(),w.length>0){for(T=1,N=1;T<w.length;T++)w[T-1]!==w[T]&&(w[N]=w[T],N++);w.length=N}switch(w.length){case 1:return w[0];case 2:return w[0]+" or "+w[1];default:return w.slice(0,-1).join(", ")+", or "+w[w.length-1]}}function b(A){return A?'"'+o(A)+'"':"end of input"}return"Expected "+v(t)+" but "+b(n)+" found."};function Nb(t,n){n=n!==void 0?n:{};var e={},s={Document:fc,attributesOnly:ag},o=fc,f=function(u){return u},h=function(u){return Ac(u)},v=function(){return!!n.podMode},b=function(u){return u},A=ig(),w=function(){return{text:bi(),type:"ambient",location:Tt()}},T=/^[ \xA0\u2001\t\f\u2008]/,N=Ot([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),R=/^[ \t\f]/,L=Ot([" "," ","\f"],!1,!1),V=/^[\n\r]/,G=Ot([`
9
+ `,"\r"],!1,!1),K=function(u){return u},re=/^[^\n\r]/,ce=Ot([`
10
+ `,"\r"],!0,!1),xe=`
11
+ `,ye=bt(`
12
+ `,!1),le="\r",de=bt("\r",!1),Te=function(){return{type:"blankline"}},Ae="=begin ",Ze=bt("=begin ",!1),qe="=end ",ze=bt("=end ",!1),we="=for ",Re=bt("=for ",!1),nt="=config",ne=bt("=config",!1),Ct="=alias",st=bt("=alias",!1),_t=function(u){return xg(u)},ct=function(u){return u},W="=",J=bt("=",!1),xr=Ia("text"),Ht=function(){return bi()},Ft=function(){return ml(n,"Line looks like a directive but could not be read; it stays as text",Tt(),"directive-unreadable"),{type:"para",value:bi(),error:!0,location:Tt()}},zt=function(u,y){return sn([u,y])},Rt=function(u){return[u]},mt=/^[ \t]/,kr=Ot([" "," "],!1,!1),Gt=",",fr=bt(",",!1),Br=function(u,y){return sn([u,y])},fi=/^[a-zA-Z0-9]/,ur=Ot([["a","z"],["A","Z"],["0","9"]],!1,!1),ui=/^[a-zA-Z0-9_\-]/,Qr=Ot([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ti=function(u){return!u.dropped},Pi=function(u){return{[u.name]:u.value}},ji="=>",fe=bt("=>",!1),tr=function(u,y){return{[u]:y}},Bi=function(u,y){return{...u,...y}},$e=function(u){return u},ve=":",_e=bt(":",!1),Se=/^[!]/,jt=Ot(["!"],!1,!1),Z="allow",ie=bt("allow",!1),ue="<",he=bt("<",!1),gt=">",Kt=bt(">",!1),ht=function(u,y,x){return{value:x,type:"array"}},St=function(u,y){return{value:[],type:"array"}},Nt=function(u,y,x){return{name:"allow",...x,...u?{isFalse:!0}:{}}},Zr=/^[^ \t\r\n,<>[\]{}()'"]/,wt=Ot([" "," ","\r",`
13
+ `,",","<",">","[","]","{","}","(",")","'",'"'],!0,!1),Fi=function(u,y){return y},Qt=function(u,y){return sn([u,...y])},Vi=function(u){return u},vs=function(u){return u},Di=function(u){return[u]},Bn=function(){return[]},Ii="{",Ui=bt("{",!1),Xr="}",ci=bt("}",!1),bs=function(u,y,x){return{value:x,type:"map"}},Vn=function(u,y){return{value:{},type:"map"}},Un=function(u,y){return{unreadable:!0,location:Tt()}},pn="[",Q=bt("[",!1),U="]",ee=bt("]",!1),se=function(u,y){return{unreadable:!0,location:Tt(),message:"Square brackets are not an attribute value form; write a list with angle brackets or parentheses"}},ae=function(u,y,x){return{value:x,type:"array"}},be=/^[']/,Ie=Ot(["'"],!1,!1),Me=/^[^'\n\r]/,Ke=Ot(["'",`
14
+ `,"\r"],!0,!1),dt=function(u,y,x){return{value:x,type:"string"}},Le=/^["]/,ot=Ot(['"'],!1,!1),yt=/^[^"\n\r]/,lt=Ot(['"',`
15
+ `,"\r"],!0,!1),Xe=function(u,y,x){return{value:x.trim(),type:"string"}},vt=function(u,y){return{value:[],type:"array"}},We="(",rr=bt("(",!1),ir=function(u,y,x){return x.length>1?{type:"array",value:x}:{type:$g(x[0]),value:x[0]}},Dt=")",Je=bt(")",!1),nr=function(u,y,x){return x},cr=function(u,y){return{unreadable:!0,location:Tt(),message:"Bare text in parentheses; quote it or use a number"}},Cr="\uFF62",Yr=bt("\uFF62",!1),Wt=/^[^\uFF63\n\r]/,Vr=Ot(["\uFF63",`
16
+ `,"\r"],!0,!1),hi="\uFF63",Hi=bt("\uFF63",!1),di=function(u,y){return{unreadable:!0,location:Tt(),message:"Value is not closed; only a bracketed value may continue on the next configuration line"}},pi=function(u,y){return{value:!u,type:"boolean"}},hr=function(u,y,x){return x.unreadable?(ml(n,x.message||`cannot read the value of :${y}`,x.location),{name:y,dropped:!0}):{name:y,...x,...u&&x.type!=="boolean"?{isFalse:!0}:{}}},dr=function(u,y){return y},en=function(u,y,x){return Ac(sn([...u,...y]))},Ne=function(){ml(n,"Configuration continuation line could not be read",Tt())},It=/^[^'"]/,De=Ot(["'",'"'],!0,!1),mi=function(u){return u},_r=/^[0-9]/,Ur=Ot([["0","9"]],!1,!1),Ve=/^[\-+]/,kt=Ot(["-","+"],!1,!1),Gi="True",Ki=bt("True",!1),r=function(){return!0},oe="False",Hr=bt("False",!1),pr=function(){return!1},gi=".",l=bt(".",!1),mn=/^[eE]/,Ir=Ot(["e","E"],!1,!1),tn=function(u){return parseFloat(u)},ws=function(u){return parseInt(u,10)},ya=function(u,y,x){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Na(y)},Ue=function(u,y,x,_,P){return u.length===_.length&&y===P},Or=function(u,y,x,_,P){return kg(u,`${_}${P}`)},gn=function(u,y,x,_,P,k){return y===k},va=function(u,y,x,_,P,k){return{type:"block",content:_===""?[]:[{type:"verbatim",value:_.join("")}],name:y,margin:u}},Hn=function(u,y,x,_,P,k){return!0},$s=function(u,y,x,_,P,k){return{...k,text:bi(),config:x,location:Tt()}},Wi=/^[\-+=_|]/,E=Ot(["-","+","=","_","|"],!1,!1),ba=function(){return{type:"separator",text:bi()}},wa=function(){return n.isDelimited},$a=function(){return{type:"separator",text:bi()}},ei=function(u){return{name:"row",type:"text",value:u}},jo=function(){return n.separators=[],!0},sc=function(u,y){return n.separators.push(y.text),y},Gn=function(u,y,x,_){return n.separators.push(_.text),_},Jt=function(u,y,x,_){return[{name:"row",type:"text",value:x},_]},As=function(u,y,x){return[x]},Aa=function(u,y,x){return n.separators.length>1?!n.separators.every(_=>_===n.separators[0]):!0},Bo=function(u,y,x){return[{name:"head",type:"text",value:u},y,...sn(x)]},xa=function(u,y){return[{name:"row",type:"text",value:u},y]},Vo=function(u){return[...sn(u)]},ka=function(u,y,x){return y==="table"},Uo=function(u,y,x){return n.isDelimited=!0,!0},Ca=function(u,y,x,_){return _},Bt=function(u,y,x,_){return _.some(P=>P&&(P.name==="row"||P.name==="cell"))},He=function(u,y,x,_,P,k){return{type:"block",content:_,name:y,margin:u}},xs=function(u,y,x,_,P,k){return{...k,text:bi(),config:x,location:Tt()}},yn=function(u,y,x){return n.isDelimited=!0,!0},Gr=function(u,y,x,_){return _},Ho=function(u,y,x,_,P,k){return{type:"block",content:_,name:y,margin:u}},_a=function(u,y,x,_,P,k){return{...k,text:bi(),config:x,location:Tt()}},yi=function(u,y,x,_){return _},rn=function(u,y,x,_,P){let k=y.match(/pod|nested|item|code|defn/)&&_.length-u.length>0?"code":"para";return{text:P,margin:_,type:k,content:[{type:k==="code"?"verbatim":"text",value:P}],location:Tt()}},Kn=function(u,y,x,_,P,k){return{type:"block",content:_,name:y,margin:u}},Go=function(u,y,x,_,P,k){return{...k,config:x,location:Tt()}},Ko=function(){return{text:bi(),type:"para",margin:"",content:[{type:"text",value:bi()}],location:Tt()}},Ea=function(){return{empty:1}},Wn=/^[s]/,Jn=Ot(["s"],!1,!1),Wo=function(u){return{text:bi(),type:"ambient1"}},Sa=function(u,y){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Na(y)},Ta=function(u,y,x){return{margin:u,type:"block",content:x===""?[]:[{type:"verbatim",value:x}],name:y,config:[],location:Tt()}},vi=function(u,y){return y==="table"},ks=function(u,y){return n.isDelimited=!1,!0},Ce=function(u,y,x){return{margin:u,type:"block",content:x===""?[]:x,name:y,config:[],location:Tt()}},at=function(u,y,x,_){let P=(x===`
17
+ `?"":x)+_;return{margin:u,type:"block",content:P===""?[]:[{type:"para",text:P,margin:"",content:[{type:"text",value:P}],location:Tt()}],name:y,location:Tt()}},Et="= ",Er=bt("= ",!1),ac=function(u,y){return sn([...u,...y])},Ge=function(u){return{kind:"attrs",attrs:u}},Oi=function(u,y){return{kind:"alias",name:u,value:y}},me=function(u){return{kind:"value",value:u}},Jo=function(u){return u},Pa="=set",Qo=bt("=set",!1),Zo=function(u,y,x){let _=[],P=null,k=()=>{if(!P)return;let j=P.parts.map(H=>H.trim()).filter(H=>H.length).join(" ");_.push({name:P.name,value:j,type:"string"}),P=null};for(let j of[y,...x])j.kind==="attrs"?(k(),_.push(...j.attrs)):j.kind==="alias"?(k(),P={name:j.name,parts:[j.value]}):j.kind==="value"&&P&&P.parts.push(j.value);return k(),{type:"set",config:_,margin:u,location:Tt()}},Xo=function(u,y,x,_){return{name:x,type:"alias",replacement:_,margin:u}},Yo=/^[A-Z]/,el=Ot([["A","Z"]],!1,!1),Fa="<>",tl=bt("<>",!1),rl=function(u,y,x,_){return{name:x,type:"config",config:_,margin:u}},Da="=boundary",il=bt("=boundary",!1),nl=function(u,y,x){return{name:"boundary",type:"block",content:[],config:x,margin:u,location:Tt()}},sl=function(u,y,x,_){return x.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Na(x)},Qn=function(u,y,x,_,P){return{type:"block",content:P===""?[]:[{type:"verbatim",value:P}],name:x,margin:u,config:_,location:Tt()}},Cs=function(u,y,x,_){return x==="table"},m=function(u,y,x,_){return n.isDelimited=!1,!0},C=function(u,y,x,_,P){return{type:"block",content:P===""?[]:P,name:x,margin:u,config:_,location:Tt()}},F=function(u,y,x,_,P){return{type:"block",content:P===""?[]:[{type:"para",content:[{type:"text",value:P}],margin:u,text:P,location:Tt()}],name:x,margin:u,config:_,location:Tt()}},S=/^[a-zA-Z]/,D=Ot([["a","z"],["A","Z"]],!1,!1),q=Ia("whitespace"),M=/^[\r\n \t\f]/,X=Ot(["\r",`
18
+ `," "," ","\f"],!1,!1),c=Ia("space characters"),i=0,d=0,a=[{line:1,column:1}],g=0,$=[],p=0,O;if("startRule"in n){if(!(n.startRule in s))throw new Error(`Can't start parsing from rule "`+n.startRule+'".');o=s[n.startRule]}function bi(){return t.substring(d,i)}function Tt(){return _s(d,i)}function zA(u,y){throw y=y!==void 0?y:_s(d,i),lc([Ia(u)],t.substring(d,i),y)}function jA(u,y){throw y=y!==void 0?y:_s(d,i),sg(u,y)}function bt(u,y){return{type:"literal",text:u,ignoreCase:y}}function Ot(u,y,x){return{type:"class",parts:u,inverted:y,ignoreCase:x}}function ig(){return{type:"any"}}function ng(){return{type:"end"}}function Ia(u){return{type:"other",description:u}}function oc(u){var y=a[u],x;if(y)return y;for(x=u-1;!a[x];)x--;for(y=a[x],y={line:y.line,column:y.column};x<u;)t.charCodeAt(x)===10?(y.line++,y.column=1):y.column++,x++;return a[u]=y,y}function _s(u,y){var x=oc(u),_=oc(y);return{start:{offset:u,line:x.line,column:x.column},end:{offset:y,line:_.line,column:_.column}}}function te(u){i<g||(i>g&&(g=i,$=[]),$.push(u))}function sg(u,y){return new Dn(u,null,null,y)}function lc(u,y,x){return new Dn(Dn.buildMessage(u,y),u,y,x)}function fc(){var u,y,x;for(u=i,y=[],x=uc();x!==e;)y.push(x),x=uc();return y!==e&&(d=u,y=f(y)),u=y,u}function ag(){var u,y,x,_;if(u=i,y=ke(),y!==e){for(x=[],_=wi();_!==e;)x.push(_),_=wi();x!==e?(_=ke(),_!==e?(d=u,y=h(x),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u}function uc(){var u,y,x,_,P,k,j,H;if(u=Ts(),u===e&&(u=gg(),u===e&&(u=ll(),u===e&&(u=Ps(),u===e&&(u=Is(),u===e&&(u=pl(),u===e&&(u=Os(),u===e&&(u=ul(),u===e&&(u=cl(),u===e&&(u=hl(),u===e&&(u=dl(),u===e&&(u=Fs(),u===e&&(u=fl(),u===e&&(u=Ds(),u===e&&(u=i,d=i,y=v(),y?y=void 0:y=e,y!==e?(x=yg(),x===e&&(x=ti(),x===e&&(x=lg())),x!==e?(d=u,y=b(x),u=y):(i=u,u=e)):(i=u,u=e),u===e))))))))))))))){if(u=i,y=i,x=[],_=i,P=i,p++,k=i,j=Ji(),j!==e?(H=Xt(),H!==e?(j=[j,H],k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=bn()),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e),_!==e)for(;_!==e;)x.push(_),_=i,P=i,p++,k=i,j=Ji(),j!==e?(H=Xt(),H!==e?(j=[j,H],k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=bn()),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e);else x=e;x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=w()),u=y}return u}function pt(){var u;return T.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,p===0&&te(N)),u}function ke(){var u,y;for(u=[],R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L));y!==e;)u.push(y),R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L));return u}function nn(){var u,y,x,_;for(u=i,y=i,x=[],_=pt();_!==e;)x.push(_),_=pt();return x!==e?(V.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(G)),_!==e?(x=[x,_],y=x):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y,u}function BA(){var u,y,x,_;if(u=i,y=i,x=[],_=Es(),_!==e)for(;_!==e;)x.push(_),_=Es();else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e?(x=qr(),x!==e?(d=u,y=K(y),u=y):(i=u,u=e)):(i=u,u=e),u}function Es(){var u;return re.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,p===0&&te(ce)),u}function Zt(){var u,y,x;return t.charCodeAt(i)===10?(u=xe,i++):(u=e,p===0&&te(ye)),u===e&&(u=i,t.charCodeAt(i)===13?(y=le,i++):(y=e,p===0&&te(de)),y!==e?(t.charCodeAt(i)===10?(x=xe,i++):(x=e,p===0&&te(ye)),x===e&&(x=null),x!==e?(y=[y,x],u=y):(i=u,u=e)):(i=u,u=e)),u}function qr(){var u,y;return u=Zt(),u===e&&(u=i,p++,t.length>i?(y=t.charAt(i),i++):(y=e,p===0&&te(A)),p--,y===e?u=void 0:(i=u,u=e)),u}function Kr(){var u,y,x,_;for(u=i,y=i,x=[],_=pt();_!==e;)x.push(_),_=pt();return x!==e?(V.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(G)),_!==e?(x=[x,_],y=x):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y,u}function ti(){var u,y,x,_,P;for(u=i,y=i,x=i,_=[],P=pt();P!==e;)_.push(P),P=pt();return _!==e?(V.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(G)),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=Te()),u=y,u}function Ss(){var u;return t.substr(i,7)===Ae?(u=Ae,i+=7):(u=e,p===0&&te(Ze)),u}function vn(){var u;return t.substr(i,5)===qe?(u=qe,i+=5):(u=e,p===0&&te(ze)),u}function Oa(){var u;return t.substr(i,5)===we?(u=we,i+=5):(u=e,p===0&&te(Re)),u}function cc(){var u;return t.substr(i,7)===nt?(u=nt,i+=7):(u=e,p===0&&te(ne)),u}function hc(){var u;return t.substr(i,6)===Ct?(u=Ct,i+=6):(u=e,p===0&&te(st)),u}function Xt(){var u,y,x;return u=i,y=Ra(),y!==e?(d=i,x=_t(y),x?x=void 0:x=e,x!==e?(d=u,y=ct(y),u=y):(i=u,u=e)):(i=u,u=e),u}function bn(){var u,y,x;return u=i,t.charCodeAt(i)===61?(y=W,i++):(y=e,p===0&&te(J)),y!==e?(x=Xt(),x!==e?(d=u,y=ct(x),u=y):(i=u,u=e)):(i=u,u=e),u}function Ji(){var u;return u=Ss(),u===e&&(u=vn(),u===e&&(u=Oa(),u===e&&(u=cc(),u===e&&(u=hc())))),u}function ri(){var u,y,x;if(p++,u=i,y=[],x=Es(),x!==e)for(;x!==e;)y.push(x),x=Es();else y=e;return y!==e?u=t.substring(u,i):u=y,p--,u===e&&(y=e,p===0&&te(xr)),u}function sr(){var u,y,x,_,P,k,j;if(u=i,y=i,p++,x=i,_=ke(),_!==e?(P=cc(),P===e&&(P=hc(),P===e&&(P=i,k=Ji(),k!==e?(j=Xt(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P===e&&(P=bn()))),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),x===e&&(x=ti()),p--,x===e?y=void 0:(i=y,y=e),y!==e){if(x=i,_=[],P=ri(),P!==e)for(;P!==e;)_.push(P),P=ri();else _=e;_!==e?x=t.substring(x,i):x=_,x!==e?(_=qr(),_!==e?(d=u,y=Ht(),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u}function og(){var u,y,x,_;if(u=i,y=i,x=[],_=ri(),_!==e)for(;_!==e;)x.push(_),_=ri();else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e?(x=qr(),x!==e?(d=u,y=Ht(),u=y):(i=u,u=e)):(i=u,u=e),u}function lg(){var u,y,x,_,P,k;if(u=i,y=i,x=[],_=i,P=i,p++,k=qr(),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e),_!==e)for(;_!==e;)x.push(_),_=i,P=i,p++,k=qr(),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e);else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e?(x=qr(),x!==e?(d=u,y=Ft(),u=y):(i=u,u=e)):(i=u,u=e),u}function dc(){var u,y,x,_;if(u=i,y=pc(),y!==e){if(x=[],_=pt(),_!==e)for(;_!==e;)x.push(_),_=pt();else x=e;x!==e?(_=dc(),_!==e?(d=u,y=zt(y,_),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u===e&&(u=i,y=pc(),y!==e&&(d=u,y=Rt(y)),u=y),u}function pc(){var u,y;return u=i,y=Es(),y!==e?u=t.substring(u,i):u=y,u}function mc(){var u,y,x,_,P;if(u=i,y=Zt(),y!==e)if(t.charCodeAt(i)===61?(x=W,i++):(x=e,p===0&&te(J)),x!==e){if(_=[],mt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(kr)),P!==e)for(;P!==e;)_.push(P),mt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(kr));else _=e;_!==e?(y=[y,x,_],u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;return u}function Rr(){var u,y;for(u=[],R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L)),y===e&&(y=mc());y!==e;)u.push(y),R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L)),y===e&&(y=mc());return u}function gc(){var u,y,x,_,P,k;if(u=i,y=wn(),y!==e){if(x=[],_=pt(),_!==e)for(;_!==e;)x.push(_),_=pt();else x=e;x===e&&(x=i,_=Rr(),_!==e?(t.charCodeAt(i)===44?(P=Gt,i++):(P=e,p===0&&te(fr)),P!==e?(k=Rr(),k!==e?(_=[_,P,k],x=_):(i=x,x=e)):(i=x,x=e)):(i=x,x=e)),x!==e?(_=gc(),_!==e?(d=u,y=Br(y,_),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u===e&&(u=i,y=wn(),y!==e&&(d=u,y=Rt(y)),u=y),u}function fg(){var u,y,x,_,P;if(u=i,y=i,x=[],fi.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(ur)),_!==e)for(;_!==e;)x.push(_),fi.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(ur));else x=e;if(x!==e){for(_=[],ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));P!==e;)_.push(P),ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));_!==e?(x=[x,_],y=x):(i=y,y=e)}else i=y,y=e;return y!==e?u=t.substring(u,i):u=y,u}function yc(){var u,y,x,_,P,k,j;return u=i,y=Rr(),y!==e?(x=wi(),x!==e?(d=i,_=Ti(x),_?_=void 0:_=e,_!==e?(d=u,y=Pi(x),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u===e&&(u=i,y=Rr(),y!==e?(x=fg(),x!==e?(_=Rr(),_!==e?(t.charCodeAt(i)===44?(P=Gt,i++):(P=e,p===0&&te(fr)),P===e&&(t.substr(i,2)===ji?(P=ji,i+=2):(P=e,p===0&&te(fe))),P!==e?(k=Rr(),k!==e?(j=wn(),j!==e?(d=u,y=tr(x,j),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)),u}function vc(){var u,y,x,_,P,k;return u=i,y=yc(),y!==e?(x=Rr(),x!==e?(t.charCodeAt(i)===44?(_=Gt,i++):(_=e,p===0&&te(fr)),_!==e?(P=Rr(),P!==e?(k=vc(),k!==e?(d=u,y=Bi(y,k),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u===e&&(u=i,y=yc(),y!==e&&(d=u,y=$e(y)),u=y),u}function ug(){var u,y,x,_,P,k,j,H,I,z,B;return u=i,y=ke(),y!==e?(t.charCodeAt(i)===58?(x=ve,i++):(x=e,p===0&&te(_e)),x!==e?(Se.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(jt)),_===e&&(_=null),_!==e?(t.substr(i,5)===Z?(P=Z,i+=5):(P=e,p===0&&te(ie)),P!==e?(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(I=dc(),I!==e?(z=ke(),z!==e?(t.charCodeAt(i)===62?(B=gt,i++):(B=e,p===0&&te(Kt)),B!==e?(d=k,j=ht(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(t.charCodeAt(i)===62?(I=gt,i++):(I=e,p===0&&te(Kt)),I!==e?(d=k,j=St(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)),k!==e?(j=ke(),j!==e?(d=u,y=Nt(_,P,k),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function cg(){var u,y,x;if(u=i,y=[],Zr.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(wt)),x!==e)for(;x!==e;)y.push(x),Zr.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(wt));else y=e;return y!==e?u=t.substring(u,i):u=y,u}function al(){var u;return u=wn(),u===e&&(u=cg()),u}function hg(){var u,y,x,_,P,k;if(u=i,y=al(),y!==e){if(x=[],_=i,P=[],k=pt(),k!==e)for(;k!==e;)P.push(k),k=pt();else P=e;if(P!==e?(k=al(),k!==e?(d=_,P=Fi(y,k),_=P):(i=_,_=e)):(i=_,_=e),_!==e)for(;_!==e;){if(x.push(_),_=i,P=[],k=pt(),k!==e)for(;k!==e;)P.push(k),k=pt();else P=e;P!==e?(k=al(),k!==e?(d=_,P=Fi(y,k),_=P):(i=_,_=e)):(i=_,_=e)}else x=e;x!==e?(d=u,y=Qt(y,x),u=y):(i=u,u=e)}else i=u,u=e;return u}function VA(){var u,y,x,_,P,k;for(u=i,y=[],x=i,_=ke(),_!==e?(P=wn(),P!==e?(k=ke(),k!==e?(d=x,_=Vi(P),x=_):(i=x,x=e)):(i=x,x=e)):(i=x,x=e);x!==e;)y.push(x),x=i,_=ke(),_!==e?(P=wn(),P!==e?(k=ke(),k!==e?(d=x,_=Vi(P),x=_):(i=x,x=e)):(i=x,x=e)):(i=x,x=e);return y!==e&&(d=u,y=vs(y)),u=y,u===e&&(u=i,y=wn(),y!==e&&(d=u,y=Di(y)),u=y,u===e&&(u=i,y=ke(),y!==e&&(d=u,y=Bn()),u=y)),u}function wi(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe;if(u=ug(),u===e)if(u=i,y=ke(),y!==e)if(t.charCodeAt(i)===58?(x=ve,i++):(x=e,p===0&&te(_e)),x!==e)if(Se.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(jt)),_===e&&(_=null),_!==e)if(P=Ra(),P!==e){if(k=i,t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j!==e?(H=Rr(),H!==e?(I=vc(),I!==e?(z=Rr(),z!==e?(t.charCodeAt(i)===125?(B=Xr,i++):(B=e,p===0&&te(ci)),B!==e?(d=k,j=bs(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j!==e?(H=Rr(),H!==e?(t.charCodeAt(i)===125?(I=Xr,i++):(I=e,p===0&&te(ci)),I!==e?(d=k,j=Vn(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e)){if(k=i,t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j!==e){for(H=i,I=[],z=i,B=i,p++,t.charCodeAt(i)===125?(Y=Xr,i++):(Y=e,p===0&&te(ci)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,t.charCodeAt(i)===125?(Y=Xr,i++):(Y=e,p===0&&te(ci)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===125?(I=Xr,i++):(I=e,p===0&&te(ci)),I!==e?(d=k,j=Un(_,P),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===91?(j=pn,i++):(j=e,p===0&&te(Q)),j!==e){for(H=i,I=[],z=i,B=i,p++,t.charCodeAt(i)===93?(Y=U,i++):(Y=e,p===0&&te(ee)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,t.charCodeAt(i)===93?(Y=U,i++):(Y=e,p===0&&te(ee)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===93?(I=U,i++):(I=e,p===0&&te(ee)),I!==e?(d=k,j=se(_,P),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e&&(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(I=hg(),I!==e?(z=ke(),z!==e?(t.charCodeAt(i)===62?(B=gt,i++):(B=e,p===0&&te(Kt)),B!==e?(d=k,j=ae(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e)){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e)if(H=ke(),H!==e)if(be.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(Ie)),I!==e){for(z=i,B=[],Me.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(Ke));Y!==e;)B.push(Y),Me.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(Ke));B!==e?z=t.substring(z,i):z=B,z!==e?(be.test(t.charAt(i))?(B=t.charAt(i),i++):(B=e,p===0&&te(Ie)),B!==e?(Y=ke(),Y!==e?(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe!==e?(d=k,j=dt(_,P,z),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e)if(H=ke(),H!==e)if(Le.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(ot)),I!==e){for(z=i,B=[],yt.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(lt));Y!==e;)B.push(Y),yt.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(lt));B!==e?z=t.substring(z,i):z=B,z!==e?(Le.test(t.charAt(i))?(B=t.charAt(i),i++):(B=e,p===0&&te(ot)),B!==e?(Y=ke(),Y!==e?(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe!==e?(d=k,j=dt(_,P,z),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e)if(H=ke(),H!==e){if(I=i,z=[],B=i,Y=i,p++,t.charCodeAt(i)===60?(pe=ue,i++):(pe=e,p===0&&te(he)),pe===e&&(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe===e&&(pe=Zt())),p--,pe===e?Y=void 0:(i=Y,Y=e),Y!==e?(t.length>i?(pe=t.charAt(i),i++):(pe=e,p===0&&te(A)),pe!==e?(Y=[Y,pe],B=Y):(i=B,B=e)):(i=B,B=e),B!==e)for(;B!==e;)z.push(B),B=i,Y=i,p++,t.charCodeAt(i)===60?(pe=ue,i++):(pe=e,p===0&&te(he)),pe===e&&(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe===e&&(pe=Zt())),p--,pe===e?Y=void 0:(i=Y,Y=e),Y!==e?(t.length>i?(pe=t.charAt(i),i++):(pe=e,p===0&&te(A)),pe!==e?(Y=[Y,pe],B=Y):(i=B,B=e)):(i=B,B=e);else z=e;z!==e?I=t.substring(I,i):I=z,I!==e?(t.charCodeAt(i)===62?(z=gt,i++):(z=e,p===0&&te(Kt)),z!==e?(d=k,j=Xe(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;if(k===e&&(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(t.charCodeAt(i)===62?(I=gt,i++):(I=e,p===0&&te(Kt)),I!==e?(d=k,j=vt(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e?(H=Rr(),H!==e?(I=i,z=gc(),z!==e&&(d=I,z=ir(_,P,z)),I=z,I!==e?(z=Rr(),z!==e?(t.charCodeAt(i)===41?(B=Dt,i++):(B=e,p===0&&te(Je)),B!==e?(d=k,j=nr(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e?(H=Rr(),H!==e?(t.charCodeAt(i)===41?(I=Dt,i++):(I=e,p===0&&te(Je)),I!==e?(d=k,j=vt(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e)))){if(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e)if(H=ke(),H!==e){if(I=i,z=i,t.charCodeAt(i)===58?(B=ve,i++):(B=e,p===0&&te(_e)),B!==e){for(Y=[],pe=i,Pe=i,p++,t.charCodeAt(i)===41?(Oe=Dt,i++):(Oe=e,p===0&&te(Je)),Oe===e&&(t.charCodeAt(i)===40?(Oe=We,i++):(Oe=e,p===0&&te(rr))),p--,Oe===e?Pe=void 0:(i=Pe,Pe=e),Pe!==e?(t.length>i?(Oe=t.charAt(i),i++):(Oe=e,p===0&&te(A)),Oe!==e?(Pe=[Pe,Oe],pe=Pe):(i=pe,pe=e)):(i=pe,pe=e);pe!==e;)Y.push(pe),pe=i,Pe=i,p++,t.charCodeAt(i)===41?(Oe=Dt,i++):(Oe=e,p===0&&te(Je)),Oe===e&&(t.charCodeAt(i)===40?(Oe=We,i++):(Oe=e,p===0&&te(rr))),p--,Oe===e?Pe=void 0:(i=Pe,Pe=e),Pe!==e?(t.length>i?(Oe=t.charAt(i),i++):(Oe=e,p===0&&te(A)),Oe!==e?(Pe=[Pe,Oe],pe=Pe):(i=pe,pe=e)):(i=pe,pe=e);Y!==e?(B=[B,Y],z=B):(i=z,z=e)}else i=z,z=e;z!==e?I=t.substring(I,i):I=z,I!==e?(t.charCodeAt(i)===41?(z=Dt,i++):(z=e,p===0&&te(Je)),z!==e?(d=k,j=dt(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e){for(H=i,I=[],z=i,B=i,p++,t.charCodeAt(i)===41?(Y=Dt,i++):(Y=e,p===0&&te(Je)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,t.charCodeAt(i)===41?(Y=Dt,i++):(Y=e,p===0&&te(Je)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===41?(I=Dt,i++):(I=e,p===0&&te(Je)),I!==e?(d=k,j=cr(_,P),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,be.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(Ie)),j!==e){for(H=i,I=[],Me.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Ke));z!==e;)I.push(z),Me.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Ke));I!==e?H=t.substring(H,i):H=I,H!==e?(be.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(Ie)),I!==e?(d=k,j=dt(_,P,H),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,Le.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(ot)),j!==e){for(H=i,I=[],yt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(lt));z!==e;)I.push(z),yt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(lt));I!==e?H=t.substring(H,i):H=I,H!==e?(Le.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(ot)),I!==e?(d=k,j=dt(_,P,H),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===65378?(j=Cr,i++):(j=e,p===0&&te(Yr)),j!==e){for(H=i,I=[],Wt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Vr));z!==e;)I.push(z),Wt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Vr));I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===65379?(I=hi,i++):(I=e,p===0&&te(Hi)),I!==e?(d=k,j=dt(_,P,H),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j===e&&(t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j===e&&(t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j===e&&(t.charCodeAt(i)===91?(j=pn,i++):(j=e,p===0&&te(Q)),j===e&&(be.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(Ie)),j===e&&(Le.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(ot)),j===e&&(t.charCodeAt(i)===65378?(j=Cr,i++):(j=e,p===0&&te(Yr)))))))),j!==e){for(H=i,I=[],z=i,B=i,p++,Y=Zt(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,Y=Zt(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(d=k,j=di(_,P),k=j):(i=k,k=e)}else i=k,k=e;k===e&&(k=i,j=ke(),j!==e&&(d=k,j=pi(_,P)),k=j)}}}}}}}}}}}k!==e?(j=ke(),j!==e?(d=u,y=hr(_,P,k),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Qi(){var u,y,x,_,P,k,j,H,I,z;for(u=i,y=[],x=wi();x!==e;)y.push(x),x=wi();if(y!==e)if(x=Zt(),x!==e){if(_=[],P=i,t.charCodeAt(i)===61?(k=W,i++):(k=e,p===0&&te(J)),k!==e)if(j=ke(),j!==e){if(H=[],I=wi(),I!==e)for(;I!==e;)H.push(I),I=wi();else H=e;H!==e?(I=ke(),I!==e?(z=Zt(),z!==e?(d=P,k=dr(y,H),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;for(;P!==e;)if(_.push(P),P=i,t.charCodeAt(i)===61?(k=W,i++):(k=e,p===0&&te(J)),k!==e)if(j=ke(),j!==e){if(H=[],I=wi(),I!==e)for(;I!==e;)H.push(I),I=wi();else H=e;H!==e?(I=ke(),I!==e?(z=Zt(),z!==e?(d=P,k=dr(y,H),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;_!==e?(P=dg(),P===e&&(P=null),P!==e?(d=u,y=en(y,_,P),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;return u}function dg(){var u,y,x,_,P;return u=i,y=i,p++,x=i,t.charCodeAt(i)===61?(_=W,i++):(_=e,p===0&&te(J)),_!==e?(mt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(kr)),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),p--,x!==e?(i=y,y=void 0):y=e,y!==e&&(d=u,y=Ne()),u=y,u}function UA(){var u,y,x,_;if(u=i,y=i,x=[],It.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(De)),_!==e)for(;_!==e;)x.push(_),It.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(De));else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=mi(y)),u=y,u}function bc(){var u,y,x;if(u=i,y=[],_r.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(Ur)),x!==e)for(;x!==e;)y.push(x),_r.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(Ur));else y=e;return y!==e?u=t.substring(u,i):u=y,u}function qa(){var u,y,x,_,P;if(u=i,y=i,Ve.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(kt)),x===e&&(x=null),x!==e){if(_=[],_r.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ur)),P!==e)for(;P!==e;)_.push(P),_r.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ur));else _=e;_!==e?(x=[x,_],y=x):(i=y,y=e)}else i=y,y=e;return y!==e?u=t.substring(u,i):u=y,u}function pg(){var u,y;return u=i,t.substr(i,4)===Gi?(y=Gi,i+=4):(y=e,p===0&&te(Ki)),y!==e&&(d=u,y=r()),u=y,u===e&&(u=i,t.substr(i,5)===oe?(y=oe,i+=5):(y=e,p===0&&te(Hr)),y!==e&&(d=u,y=pr()),u=y),u}function mg(){var u,y,x,_,P,k;return u=i,y=i,x=qa(),x!==e?(_=i,t.charCodeAt(i)===46?(P=gi,i++):(P=e,p===0&&te(l)),P!==e?(k=bc(),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e),_===e&&(_=null),_!==e?(mn.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ir)),P!==e?(k=qa(),k!==e?(x=[x,_,P,k],y=x):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y,u===e&&(u=i,y=i,x=qa(),x!==e?(t.charCodeAt(i)===46?(_=gi,i++):(_=e,p===0&&te(l)),_!==e?(P=bc(),P!==e?(x=[x,_,P],y=x):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y),u}function wn(){var u,y,x,_,P;if(u=i,Le.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(ot)),y!==e){for(x=i,_=[],yt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(lt));P!==e;)_.push(P),yt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(lt));_!==e?x=t.substring(x,i):x=_,x!==e?(Le.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(ot)),_!==e?(d=u,y=mi(x),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;if(u===e){if(u=i,be.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(Ie)),y!==e){for(x=i,_=[],Me.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ke));P!==e;)_.push(P),Me.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ke));_!==e?x=t.substring(x,i):x=_,x!==e?(be.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Ie)),_!==e?(d=u,y=mi(x),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;u===e&&(u=pg(),u===e&&(u=i,y=mg(),y!==e&&(d=u,y=tn(y)),u=y,u===e&&(u=i,y=qa(),y!==e&&(d=u,y=ws(y)),u=y)))}return u}function Ts(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe,Wr,ni;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=ya(y,_,k),j?j=void 0:j=e,j!==e){if(H=[],I=i,z=i,B=ke(),B!==e?z=t.substring(z,i):z=B,z!==e?(B=i,Y=nn(),Y===e&&(Y=i,pe=i,p++,Pe=Ji(),p--,Pe===e?pe=void 0:(i=pe,pe=e),pe===e&&(pe=i,p++,Pe=i,Oe=vn(),Oe!==e?(Wr=Xt(),Wr!==e?(d=i,ni=Ue(y,_,k,z,Wr),ni?ni=void 0:ni=e,ni!==e?(Oe=[Oe,Wr,ni],Pe=Oe):(i=Pe,Pe=e)):(i=Pe,Pe=e)):(i=Pe,Pe=e),p--,Pe===e?pe=void 0:(i=pe,pe=e)),pe!==e?(Pe=ri(),Pe!==e?(Oe=nn(),Oe===e&&(Oe=null),Oe!==e?(pe=[pe,Pe,Oe],Y=pe):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e)),Y!==e?B=t.substring(B,i):B=Y,B!==e?(d=I,z=Or(y,_,k,z,B),I=z):(i=I,I=e)):(i=I,I=e),I!==e)for(;I!==e;)H.push(I),I=i,z=i,B=ke(),B!==e?z=t.substring(z,i):z=B,z!==e?(B=i,Y=nn(),Y===e&&(Y=i,pe=i,p++,Pe=Ji(),p--,Pe===e?pe=void 0:(i=pe,pe=e),pe===e&&(pe=i,p++,Pe=i,Oe=vn(),Oe!==e?(Wr=Xt(),Wr!==e?(d=i,ni=Ue(y,_,k,z,Wr),ni?ni=void 0:ni=e,ni!==e?(Oe=[Oe,Wr,ni],Pe=Oe):(i=Pe,Pe=e)):(i=Pe,Pe=e)):(i=Pe,Pe=e),p--,Pe===e?pe=void 0:(i=pe,pe=e)),pe!==e?(Pe=ri(),Pe!==e?(Oe=nn(),Oe===e&&(Oe=null),Oe!==e?(pe=[pe,Pe,Oe],Y=pe):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e)),Y!==e?B=t.substring(B,i):B=Y,B!==e?(d=I,z=Or(y,_,k,z,B),I=z):(i=I,I=e)):(i=I,I=e);else H=e;H!==e?(I=i,z=ke(),z!==e?I=t.substring(I,i):I=z,I!==e?(z=i,B=vn(),B!==e?(Y=Xt(),Y!==e?(d=i,pe=gn(y,_,k,H,I,Y),pe?pe=void 0:pe=e,pe!==e?(Pe=nn(),Pe===e&&(Pe=null),Pe!==e?(d=z,B=va(y,_,k,H,I,Y),z=B):(i=z,z=e)):(i=z,z=e)):(i=z,z=e)):(i=z,z=e),z!==e?(d=i,B=Hn(y,_,k,H,I,z),B?B=void 0:B=e,B!==e?(d=u,y=$s(y,_,k,H,I,z),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Zn(){var u,y,x,_,P,k,j,H,I;if(u=i,y=i,p++,x=i,_=ke(),_!==e?(P=Ji(),P===e&&(P=bn()),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),x===e&&(x=ti()),p--,x===e?y=void 0:(i=y,y=e),y!==e){for(x=[],_=pt();_!==e;)x.push(_),_=pt();if(x!==e){if(_=i,P=[],k=i,Wi.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(E)),j!==e){for(H=[],I=pt();I!==e;)H.push(I),I=pt();H!==e?(j=[j,H],k=j):(i=k,k=e)}else i=k,k=e;if(k!==e)for(;k!==e;)if(P.push(k),k=i,Wi.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(E)),j!==e){for(H=[],I=pt();I!==e;)H.push(I),I=pt();H!==e?(j=[j,H],k=j):(i=k,k=e)}else i=k,k=e;else P=e;P!==e?_=t.substring(_,i):_=P,_!==e?(P=qr(),P!==e?(d=u,y=ba(),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e}else i=u,u=e;return u}function Nr(){var u,y,x,_,P;return u=i,y=i,x=Zn(),x===e&&(x=i,d=i,_=wa(),_?_=void 0:_=e,_!==e?(P=ti(),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e)),x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=$a()),u=y,u}function ii(){var u,y;return u=i,y=sr(),y!==e&&(d=u,y=ei(y)),u=y,u}function ol(){var u,y,x,_,P,k,j,H,I,z,B;if(u=i,d=i,y=jo(),y?y=void 0:y=e,y!==e){if(x=i,_=[],P=i,k=i,p++,j=Zn(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)_.push(P),P=i,k=i,p++,j=Zn(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e);else _=e;if(_!==e?x=t.substring(x,i):x=_,x!==e)if(_=i,P=Zn(),P!==e&&(d=_,P=sc(x,P)),_=P,_!==e){if(P=[],k=i,j=i,H=[],I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e),I!==e)for(;I!==e;)H.push(I),I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);else H=e;if(H!==e?j=t.substring(j,i):j=H,j!==e?(H=i,I=Nr(),I!==e&&(d=H,I=Gn(x,_,j,I)),H=I,H!==e?(d=k,j=Jt(x,_,j,H),k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,j=i,p++,H=Zn(),p--,H===e?j=void 0:(i=j,j=e),j!==e?(H=i,p++,I=Nr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(I=ii(),I!==e?(d=k,j=As(x,_,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)),k!==e)for(;k!==e;){if(P.push(k),k=i,j=i,H=[],I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e),I!==e)for(;I!==e;)H.push(I),I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);else H=e;H!==e?j=t.substring(j,i):j=H,j!==e?(H=i,I=Nr(),I!==e&&(d=H,I=Gn(x,_,j,I)),H=I,H!==e?(d=k,j=Jt(x,_,j,H),k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,j=i,p++,H=Zn(),p--,H===e?j=void 0:(i=j,j=e),j!==e?(H=i,p++,I=Nr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(I=ii(),I!==e?(d=k,j=As(x,_,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e))}else P=e;P!==e?(d=i,k=Aa(x,_,P),k?k=void 0:k=e,k!==e?(d=u,y=Bo(x,_,P),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e}else i=u,u=e;if(u===e){if(u=i,y=[],x=i,_=i,P=i,k=i,p++,j=Nr(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P!==e?_=t.substring(_,i):_=P,_!==e){for(P=[],k=Nr();k!==e;)P.push(k),k=Nr();P!==e?(d=x,_=xa(_,P),x=_):(i=x,x=e)}else i=x,x=e;if(x!==e)for(;x!==e;)if(y.push(x),x=i,_=i,P=i,k=i,p++,j=Nr(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P!==e?_=t.substring(_,i):_=P,_!==e){for(P=[],k=Nr();k!==e;)P.push(k),k=Nr();P!==e?(d=x,_=xa(_,P),x=_):(i=x,x=e)}else i=x,x=e;else y=e;if(y!==e&&(d=u,y=Vo(y)),u=y,u===e)if(u=[],y=ii(),y!==e)for(;y!==e;)u.push(y),y=ii();else u=e}return u}function gg(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe,Wr;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=ka(y,_,k),j?j=void 0:j=e,j!==e)if(d=i,H=Uo(y,_,k),H?H=void 0:H=e,H!==e){for(I=i,z=[],B=ti(),B===e&&(B=Ts(),B===e&&(B=Ps(),B===e&&(B=Is(),B===e&&(B=Os(),B===e&&(B=Fs(),B===e&&(B=Ds()))))));B!==e;)z.push(B),B=ti(),B===e&&(B=Ts(),B===e&&(B=Ps(),B===e&&(B=Is(),B===e&&(B=Os(),B===e&&(B=Fs(),B===e&&(B=Ds()))))));z!==e&&(d=I,z=Ca(y,_,k,z)),I=z,I!==e?(d=i,z=Bt(y,_,k,I),z?z=void 0:z=e,z!==e?(B=i,Y=ke(),Y!==e?B=t.substring(B,i):B=Y,B!==e?(Y=i,pe=vn(),pe!==e?(Pe=Xt(),Pe!==e?(d=i,Oe=gn(y,_,k,I,B,Pe),Oe?Oe=void 0:Oe=e,Oe!==e?(Wr=nn(),Wr===e&&(Wr=null),Wr!==e?(d=Y,pe=He(y,_,k,I,B,Pe),Y=pe):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e),Y!==e?(d=u,y=xs(y,_,k,I,B,Y),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function ll(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=ka(y,_,k),j?j=void 0:j=e,j!==e)if(d=i,H=yn(y,_,k),H?H=void 0:H=e,H!==e){for(I=i,z=[],B=ti();B!==e;)z.push(B),B=ti();if(z!==e)if(B=ol(),B!==e){for(Y=[],pe=ti();pe!==e;)Y.push(pe),pe=ti();Y!==e?(d=I,z=Gr(y,_,k,B),I=z):(i=I,I=e)}else i=I,I=e;else i=I,I=e;I!==e?(z=i,B=ke(),B!==e?z=t.substring(z,i):z=B,z!==e?(B=i,Y=vn(),Y!==e?(pe=Xt(),pe!==e?(d=i,Pe=gn(y,_,k,I,z,pe),Pe?Pe=void 0:Pe=e,Pe!==e?(Oe=nn(),Oe===e&&(Oe=null),Oe!==e?(d=B,Y=Ho(y,_,k,I,z,pe),B=Y):(i=B,B=e)):(i=B,B=e)):(i=B,B=e)):(i=B,B=e),B!==e?(d=i,Y=Hn(y,_,k,I,z,B),Y?Y=void 0:Y=e,Y!==e?(d=u,y=_a(y,_,k,I,z,B),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Ps(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e){if(j=[],H=i,I=ti(),I===e&&(I=Ts(),I===e&&(I=ll(),I===e&&(I=Ps(),I===e&&(I=Is(),I===e&&(I=pl(),I===e&&(I=Os(),I===e&&(I=ul(),I===e&&(I=cl(),I===e&&(I=hl(),I===e&&(I=dl(),I===e&&(I=Fs(),I===e&&(I=fl(),I===e&&(I=Ds()))))))))))))),I!==e&&(d=H,I=yi(y,_,k,I)),H=I,H===e){for(H=i,I=i,z=[],B=pt();B!==e;)z.push(B),B=pt();if(z!==e?I=t.substring(I,i):I=z,I!==e){if(z=i,B=[],Y=sr(),Y!==e)for(;Y!==e;)B.push(Y),Y=sr();else B=e;B!==e?z=t.substring(z,i):z=B,z!==e?(d=H,I=rn(y,_,k,I,z),H=I):(i=H,H=e)}else i=H,H=e}for(;H!==e;)if(j.push(H),H=i,I=ti(),I===e&&(I=Ts(),I===e&&(I=ll(),I===e&&(I=Ps(),I===e&&(I=Is(),I===e&&(I=pl(),I===e&&(I=Os(),I===e&&(I=ul(),I===e&&(I=cl(),I===e&&(I=hl(),I===e&&(I=dl(),I===e&&(I=Fs(),I===e&&(I=fl(),I===e&&(I=Ds()))))))))))))),I!==e&&(d=H,I=yi(y,_,k,I)),H=I,H===e){for(H=i,I=i,z=[],B=pt();B!==e;)z.push(B),B=pt();if(z!==e?I=t.substring(I,i):I=z,I!==e){if(z=i,B=[],Y=sr(),Y!==e)for(;Y!==e;)B.push(Y),Y=sr();else B=e;B!==e?z=t.substring(z,i):z=B,z!==e?(d=H,I=rn(y,_,k,I,z),H=I):(i=H,H=e)}else i=H,H=e}j!==e?(H=i,I=ke(),I!==e?H=t.substring(H,i):H=I,H!==e?(I=i,z=vn(),z!==e?(B=Xt(),B!==e?(d=i,Y=gn(y,_,k,j,H,B),Y?Y=void 0:Y=e,Y!==e?(pe=nn(),pe===e&&(pe=null),pe!==e?(d=I,z=Kn(y,_,k,j,H,B),I=z):(i=I,I=e)):(i=I,I=e)):(i=I,I=e)):(i=I,I=e),I!==e?(d=i,z=Hn(y,_,k,j,H,I),z?z=void 0:z=e,z!==e?(d=u,y=Go(y,_,k,j,H,I),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function yg(){var u,y,x;if(u=i,y=[],x=sr(),x!==e)for(;x!==e;)y.push(x),x=sr();else y=e;return y!==e&&(d=u,y=Ko()),u=y,u}function HA(){var u,y,x,_;if(u=i,y=[],x=i,_=Kr(),_!==e&&(d=x,_=Ea()),x=_,x===e){if(x=[],Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn)),_!==e)for(;_!==e;)x.push(_),Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn));else x=e;x===e&&(x=sr())}if(x!==e){for(;x!==e;)if(y.push(x),x=i,_=Kr(),_!==e&&(d=x,_=Ea()),x=_,x===e){if(x=[],Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn)),_!==e)for(;_!==e;)x.push(_),Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn));else x=e;x===e&&(x=sr())}}else y=e;return y!==e&&(d=u,y=Wo(y)),u=y,u}function Fs(){var u,y,x,_,P,k,j,H,I,z,B,Y;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=i,p++,_=Ji(),p--,_===e?x=void 0:(i=x,x=e),x!==e)if(_=bn(),_!==e)if(P=ke(),P!==e)if(k=Kr(),k===e&&(k=null),k!==e)if(d=i,j=Sa(y,_),j?j=void 0:j=e,j!==e){for(H=i,I=[],z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(d=u,y=Ta(y,_,H),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function fl(){var u,y,x,_,P,k,j,H,I;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(x=i,p++,_=Ji(),p--,_===e?x=void 0:(i=x,x=e),x!==e?(_=bn(),_!==e?(P=ke(),P!==e?(k=Kr(),k===e&&(k=null),k!==e?(d=i,j=vi(y,_),j?j=void 0:j=e,j!==e?(d=i,H=ks(y,_),H?H=void 0:H=e,H!==e?(I=ol(),I!==e?(d=u,y=Ce(y,_,I),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function Ds(){var u,y,x,_,P,k,j,H,I,z,B;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=i,p++,_=Ji(),p--,_===e?x=void 0:(i=x,x=e),x!==e)if(_=bn(),_!==e)if(P=ke(),P!==e)if(k=Kr(),k===e&&(k=og()),k!==e){for(j=i,H=[],I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);I!==e;)H.push(I),I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);H!==e?j=t.substring(j,i):j=H,j!==e?(d=u,y=at(y,_,k,j),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function vg(){var u,y,x,_,P,k,j,H,I,z,B;for(u=i,y=[],x=ri();x!==e;)y.push(x),x=ri();if(y!==e)if(x=Zt(),x!==e){if(_=[],P=i,k=ke(),k!==e)if(t.substr(i,2)===Et?(j=Et,i+=2):(j=e,p===0&&te(Er)),j!==e)if(H=ke(),H!==e){if(I=[],z=ri(),z!==e)for(;z!==e;)I.push(z),z=ri();else I=e;I!==e?(z=ke(),z!==e?(B=Zt(),B!==e?(d=P,k=dr(y,I),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;else i=P,P=e;for(;P!==e;)if(_.push(P),P=i,k=ke(),k!==e)if(t.substr(i,2)===Et?(j=Et,i+=2):(j=e,p===0&&te(Er)),j!==e)if(H=ke(),H!==e){if(I=[],z=ri(),z!==e)for(;z!==e;)I.push(z),z=ri();else I=e;I!==e?(z=ke(),z!==e?(B=Zt(),B!==e?(d=P,k=dr(y,I),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;else i=P,P=e;_!==e?(d=u,y=ac(y,_),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;return u}function wc(){var u,y,x,_;if(u=i,y=[],x=wi(),x!==e)for(;x!==e;)y.push(x),x=wi();else y=e;return y!==e?(x=ke(),x!==e?(_=qr(),_!==e?(d=u,y=Ge(y),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function bg(){var u,y,x,_,P,k,j,H,I,z;if(u=i,y=ke(),y!==e)if(t.charCodeAt(i)===58?(x=ve,i++):(x=e,p===0&&te(_e)),x!==e)if(_=Ra(),_!==e){if(P=[],k=pt(),k!==e)for(;k!==e;)P.push(k),k=pt();else P=e;if(P!==e){if(k=i,j=[],H=i,I=i,p++,z=qr(),p--,z===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,p===0&&te(A)),z!==e?(I=[I,z],H=I):(i=H,H=e)):(i=H,H=e),H!==e)for(;H!==e;)j.push(H),H=i,I=i,p++,z=qr(),p--,z===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,p===0&&te(A)),z!==e?(I=[I,z],H=I):(i=H,H=e)):(i=H,H=e);else j=e;j!==e?k=t.substring(k,i):k=j,k!==e?(j=qr(),j!==e?(d=u,y=Oi(_,k),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e}else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function $c(){var u,y,x,_,P,k,j,H,I;if(u=i,t.charCodeAt(i)===61?(y=W,i++):(y=e,p===0&&te(J)),y!==e){if(x=[],_=pt(),_!==e)for(;_!==e;)x.push(_),_=pt();else x=e;if(x!==e){if(_=wc(),_===e){for(_=i,P=i,k=[],j=i,H=i,p++,I=qr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,p===0&&te(A)),I!==e?(H=[H,I],j=H):(i=j,j=e)):(i=j,j=e);j!==e;)k.push(j),j=i,H=i,p++,I=qr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,p===0&&te(A)),I!==e?(H=[H,I],j=H):(i=j,j=e)):(i=j,j=e);k!==e?P=t.substring(P,i):P=k,P!==e?(k=qr(),k!==e?(d=_,P=me(P),_=P):(i=_,_=e)):(i=_,_=e)}_!==e?(d=u,y=Jo(_),u=y):(i=u,u=e)}else i=u,u=e}else i=u,u=e;return u}function ul(){var u,y,x,_,P,k,j;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(t.substr(i,4)===Pa?(x=Pa,i+=4):(x=e,p===0&&te(Qo)),x!==e){if(_=[],P=pt(),P!==e)for(;P!==e;)_.push(P),P=pt();else _=e;if(_!==e)if(P=wc(),P===e&&(P=bg()),P!==e){for(k=[],j=$c();j!==e;)k.push(j),j=$c();k!==e?(d=u,y=Zo(y,P,k),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e}else i=u,u=e;else i=u,u=e;return u}function cl(){var u,y,x,_,P,k,j;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(t.substr(i,6)===Ct?(x=Ct,i+=6):(x=e,p===0&&te(st)),x!==e?(_=ke(),_!==e?(P=i,k=Ra(),k!==e?P=t.substring(P,i):P=k,P!==e?(k=ke(),k!==e?(j=vg(),j!==e?(d=u,y=Xo(y,x,P,j),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function hl(){var u,y,x,_,P,k,j,H;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(t.substr(i,7)===nt?(x=nt,i+=7):(x=e,p===0&&te(ne)),x!==e?(_=ke(),_!==e?(P=i,k=i,Yo.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(el)),j!==e?(t.substr(i,2)===Fa?(H=Fa,i+=2):(H=e,p===0&&te(tl)),H!==e?(j=[j,H],k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=Xt()),k!==e?P=t.substring(P,i):P=k,P!==e?(k=ke(),k!==e?(j=Qi(),j!==e?(d=u,y=rl(y,x,P,j),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function dl(){var u,y,x,_,P;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(t.substr(i,9)===Da?(x=Da,i+=9):(x=e,p===0&&te(il)),x!==e?(_=ke(),_!==e?(P=Qi(),P!==e?(d=u,y=nl(y,x,P),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function Is(){var u,y,x,_,P,k,j,H,I,z,B,Y;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Oa(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=sl(y,x,_,k),j?j=void 0:j=e,j!==e){for(H=i,I=[],z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(d=u,y=Qn(y,x,_,k,H),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function pl(){var u,y,x,_,P,k,j,H,I;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(x=Oa(),x!==e?(_=Xt(),_!==e?(P=ke(),P!==e?(k=Qi(),k!==e?(d=i,j=Cs(y,x,_,k),j?j=void 0:j=e,j!==e?(d=i,H=m(y,x,_,k),H?H=void 0:H=e,H!==e?(I=ol(),I!==e?(d=u,y=C(y,x,_,k,I),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function Os(){var u,y,x,_,P,k,j,H,I,z,B;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Oa(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e){for(j=i,H=[],I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);I!==e;)H.push(I),I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);H!==e?j=t.substring(j,i):j=H,j!==e?(d=u,y=F(y,x,_,k,j),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Ra(){var u,y,x,_,P;if(u=i,y=i,S.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(D)),x!==e){for(_=[],ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));P!==e;)_.push(P),ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));_!==e?(x=[x,_],y=x):(i=y,y=e)}else i=y,y=e;return y!==e?u=t.substring(u,i):u=y,u}function GA(){var u,y;for(p++,u=[],M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));y!==e;)u.push(y),M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));return p--,u===e&&(y=e,p===0&&te(q)),u}function KA(){var u,y;for(p++,u=[],M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));y!==e;)u.push(y),M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));return p--,u===e&&(y=e,p===0&&te(c)),u}function Na(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function wg(u){return u===u.toUpperCase()}function sn(u){return u.reduce((y,x)=>Array.isArray(x)?y.concat(sn(x)):y.concat(x),[])}function $g(u){return typeof u=="number"?"number":typeof u=="boolean"?"boolean":"string"}function ml(u,y,x,_){if(!u||!Array.isArray(u.diagnostics))return;u.diagnostics.some(k=>k.message===y&&k.location.start.offset===x.start.offset)||u.diagnostics.push({severity:"warning",code:_||"value-unreadable",message:y,location:x})}function Ac(u){return u.filter(y=>!y.dropped)}function Ag(){return n&&n.blockNames||["boundary","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","set","table","toc"]}function xg(u){return Ag().includes(u)||wg(u)||u.match(/^(head|item)\d+$/)||Na(u)}function kg(u,y){return u.length==0?y:y.indexOf(u)==0?y.replace(u,""):y.replace(/^\s+/,"")}if(O=o(),O!==e&&i===t.length)return O;throw O!==e&&i<t.length&&te(ng()),lc($,g<t.length?t.charAt(g):null,g<t.length?_s(g,g+1):_s(g,g))}Xd.exports={SyntaxError:Dn,parse:Nb}});var rp=Ee((_k,tp)=>{"use strict";function Mb(t,n){function e(){this.constructor=t}e.prototype=n.prototype,t.prototype=new e}function In(t,n,e,s){this.message=t,this.expected=n,this.found=e,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,In)}Mb(In,Error);In.buildMessage=function(t,n){var e={literal:function(A){return'"'+o(A.text)+'"'},class:function(A){var w="",T;for(T=0;T<A.parts.length;T++)w+=A.parts[T]instanceof Array?f(A.parts[T][0])+"-"+f(A.parts[T][1]):f(A.parts[T]);return"["+(A.inverted?"^":"")+w+"]"},any:function(A){return"any character"},end:function(A){return"end of input"},other:function(A){return A.description}};function s(A){return A.charCodeAt(0).toString(16).toUpperCase()}function o(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function f(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function h(A){return e[A.type](A)}function v(A){var w=new Array(A.length),T,N;for(T=0;T<A.length;T++)w[T]=h(A[T]);if(w.sort(),w.length>0){for(T=1,N=1;T<w.length;T++)w[T-1]!==w[T]&&(w[N]=w[T],N++);w.length=N}switch(w.length){case 1:return w[0];case 2:return w[0]+" or "+w[1];default:return w.slice(0,-1).join(", ")+", or "+w[w.length-1]}}function b(A){return A?'"'+o(A)+'"':"end of input"}return"Expected "+v(t)+" but "+b(n)+" found."};function zb(t,n){n=n!==void 0?n:{};var e={},s={Expression:$a},o=$a,f="A",h=Ue("A",!1),v="V",b=Ue("V",!1),A="R",w=Ue("R",!1),T="B",N=Ue("B",!1),R="I",L=Ue("I",!1),V="C",G=Ue("C",!1),K="D",re=Ue("D",!1),ce="E",xe=Ue("E",!1),ye="F",le=Ue("F",!1),de="G",Te=Ue("G",!1),Ae="H",Ze=Ue("H",!1),qe="J",ze=Ue("J",!1),we="K",Re=Ue("K",!1),nt="L",ne=Ue("L",!1),Ct="O",st=Ue("O",!1),_t="S",ct=Ue("S",!1),W="T",J=Ue("T",!1),xr="U",Ht=Ue("U",!1),Ft="W",zt=Ue("W",!1),Rt="Z",mt=Ue("Z",!1),kr="N",Gt=Ue("N",!1),fr="X",Br=Ue("X",!1),fi=/^[a-zA-Z]/,ur=Or([["a","z"],["A","Z"]],!1,!1),ui=/^[a-zA-Z0-9_\-]/,Qr=Or([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ti=/^[ \t\f]/,Pi=Or([" "," ","\f"],!1,!1),ji=function(m){return!(n.allowed||[]).length||(n.allowed||[]).includes(m)},fe=gn(),tr=function(m){return{content:m.content,type:"fcode",name:m.name,synonyms:m.items}},Bi=function(m){return{content:m.content,type:"fcode",name:m.name,entry:m.items}},$e="<",ve=Ue("<",!1),_e=">",Se=Ue(">",!1),jt=function(){return Ir()},Z="\xAB",ie=Ue("\xAB",!1),ue="\xBB",he=Ue("\xBB",!1),gt=function(m){return m},Kt="|",ht=Ue("|",!1),St=function(m){return m},Nt=function(m){return m.code==="L"||m.code==="W"},Zr=function(m,C,F){return F},wt=function(m,C,F,S){return S===m.end_tag},Fi=function(m,C,F,S){return{content:C,type:"fcode",name:m.code,meta:F}},Qt=";",Vi=Ue(";",!1),vs=/^[ \xA0\u2001\t\f\u2008]/,Di=Or([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Bn=function(m,C){return Qn([m,C])},Ii=function(m){return[m]},Ui=/^[0-9]/,Xr=Or([["0","9"]],!1,!1),ci="0d",bs=Ue("0d",!1),Vn=function(m){return parseInt(m,10)},Un="0o",pn=Ue("0o",!1),Q=function(m){return parseInt(m,8)},U="0b",ee=Ue("0b",!1),se=function(m){return parseInt(m,2)},ae="0x",be=Ue("0x",!1),Ie=/^[0-9A-Fa-f]/,Me=Or([["0","9"],["A","F"],["a","f"]],!1,!1),Ke=function(){return parseInt(Ir())},dt=/^[A-Z ]/,Le=Or([["A","Z"]," "],!1,!1),ot=function(){return Ir()===Ir().toUpperCase()},yt=/^[a-z]/,lt=Or([["a","z"]],!1,!1),Xe=/^[a-z0-9]/,vt=Or([["a","z"],["0","9"]],!1,!1),We=function(m){return Ir()},rr=function(m){return{type:"number",value:parseInt(m,10)}},ir=function(m){return{type:"unicode_name",value:m}},Dt=function(m){return{type:"html_named",value:m}},Je=function(m){return m==="E"},nr=function(m,C){return Qn(C)},cr=function(m,C){return{content:C||[],type:"fcode",name:m}},Cr=function(m){return m},Yr=function(m,C){return{code:m,begin_tag:C,end_tag:Cs(C)}},Wt=function(m){return!(n.allowed||[]).length||(n.allowed||[]).includes(m)},Vr=function(m,C,F,S){return S===Cs(C)},hi=function(m,C,F,S){return{content:F,type:"fcode",name:m}},Hi=function(m,C,F,S){return Qn(S)},di=function(m,C,F,S,D){return D===Cs(C)},pi=function(m,C,F,S,D){return{name:m,content:F,items:S}},hr=function(m){return m==="C"},dr="<<<",en=Ue("<<<",!1),Ne=">>>",It=Ue(">>>",!1),De=function(m,C){return C},mi=function(m,C){return{content:C,type:"fcode",name:m}},_r="<<",Ur=Ue("<<",!1),Ve=">>",kt=Ue(">>",!1),Gi=function(m){return m!=="C"},Ki=function(m,C){return{content:C,type:"fcode",name:m}},r=0,oe=0,Hr=[{line:1,column:1}],pr=0,gi=[],l=0,mn;if("startRule"in n){if(!(n.startRule in s))throw new Error(`Can't start parsing from rule "`+n.startRule+'".');o=s[n.startRule]}function Ir(){return t.substring(oe,r)}function tn(){return Wi(oe,r)}function ws(m,C){throw C=C!==void 0?C:Wi(oe,r),wa([Hn(m)],t.substring(oe,r),C)}function ya(m,C){throw C=C!==void 0?C:Wi(oe,r),ba(m,C)}function Ue(m,C){return{type:"literal",text:m,ignoreCase:C}}function Or(m,C,F){return{type:"class",parts:m,inverted:C,ignoreCase:F}}function gn(){return{type:"any"}}function va(){return{type:"end"}}function Hn(m){return{type:"other",description:m}}function $s(m){var C=Hr[m],F;if(C)return C;for(F=m-1;!Hr[F];)F--;for(C=Hr[F],C={line:C.line,column:C.column};F<m;)t.charCodeAt(F)===10?(C.line++,C.column=1):C.column++,F++;return Hr[m]=C,C}function Wi(m,C){var F=$s(m),S=$s(C);return{start:{offset:m,line:F.line,column:F.column},end:{offset:C,line:S.line,column:S.column}}}function E(m){r<pr||(r>pr&&(pr=r,gi=[]),gi.push(m))}function ba(m,C){return new In(m,null,null,C)}function wa(m,C,F){return new In(In.buildMessage(m,C),m,C,F)}function $a(){var m,C;for(m=[],C=ei(),C===e&&(C=Er(),C===e&&(C=Ge(),C===e&&(C=As())));C!==e;)m.push(C),C=ei(),C===e&&(C=Er(),C===e&&(C=Ge(),C===e&&(C=As())));return m}function ei(){var m;return m=Jo(),m===e&&(m=Qo(),m===e&&(m=xs(),m===e&&(m=ka(),m===e&&(m=vi(),m===e&&(m=Pa(),m===e&&(m=Ho(),m===e&&(m=Uo(),m===e&&(m=Zo())))))))),m}function jo(){var m;return t.charCodeAt(r)===65?(m=f,r++):(m=e,l===0&&E(h)),m===e&&(t.charCodeAt(r)===86?(m=v,r++):(m=e,l===0&&E(b)),m===e&&(t.charCodeAt(r)===82?(m=A,r++):(m=e,l===0&&E(w)),m===e&&(t.charCodeAt(r)===66?(m=T,r++):(m=e,l===0&&E(N)),m===e&&(t.charCodeAt(r)===73?(m=R,r++):(m=e,l===0&&E(L)),m===e&&(t.charCodeAt(r)===67?(m=V,r++):(m=e,l===0&&E(G)),m===e&&(t.charCodeAt(r)===68?(m=K,r++):(m=e,l===0&&E(re)),m===e&&(t.charCodeAt(r)===69?(m=ce,r++):(m=e,l===0&&E(xe)),m===e&&(t.charCodeAt(r)===70?(m=ye,r++):(m=e,l===0&&E(le)),m===e&&(t.charCodeAt(r)===71?(m=de,r++):(m=e,l===0&&E(Te)),m===e&&(t.charCodeAt(r)===72?(m=Ae,r++):(m=e,l===0&&E(Ze)),m===e&&(t.charCodeAt(r)===74?(m=qe,r++):(m=e,l===0&&E(ze)),m===e&&(t.charCodeAt(r)===75?(m=we,r++):(m=e,l===0&&E(Re)),m===e&&(t.charCodeAt(r)===76?(m=nt,r++):(m=e,l===0&&E(ne)),m===e&&(t.charCodeAt(r)===79?(m=Ct,r++):(m=e,l===0&&E(st)),m===e&&(t.charCodeAt(r)===83?(m=_t,r++):(m=e,l===0&&E(ct)),m===e&&(t.charCodeAt(r)===84?(m=W,r++):(m=e,l===0&&E(J)),m===e&&(t.charCodeAt(r)===85?(m=xr,r++):(m=e,l===0&&E(Ht)),m===e&&(t.charCodeAt(r)===87?(m=Ft,r++):(m=e,l===0&&E(zt)),m===e&&(t.charCodeAt(r)===90?(m=Rt,r++):(m=e,l===0&&E(mt)),m===e&&(t.charCodeAt(r)===78?(m=kr,r++):(m=e,l===0&&E(Gt)),m===e&&(t.charCodeAt(r)===88?(m=fr,r++):(m=e,l===0&&E(Br))))))))))))))))))))))),m}function sc(){var m,C,F,S,D;if(m=r,C=r,fi.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&E(ur)),F!==e){for(S=[],ui.test(t.charAt(r))?(D=t.charAt(r),r++):(D=e,l===0&&E(Qr));D!==e;)S.push(D),ui.test(t.charAt(r))?(D=t.charAt(r),r++):(D=e,l===0&&E(Qr));S!==e?(F=[F,S],C=F):(r=C,C=e)}else r=C,C=e;return C!==e?m=t.substring(m,r):m=C,m}function Gn(){var m,C;for(m=[],Ti.test(t.charAt(r))?(C=t.charAt(r),r++):(C=e,l===0&&E(Pi));C!==e;)m.push(C),Ti.test(t.charAt(r))?(C=t.charAt(r),r++):(C=e,l===0&&E(Pi));return m}function Jt(){var m,C,F;return m=r,C=jo(),C!==e?(oe=r,F=ji(C),F?F=void 0:F=e,F!==e?(C=[C,F],m=C):(r=m,m=e)):(r=m,m=e),m}function As(){var m,C;return m=r,t.length>r?(C=t.charAt(r),r++):(C=e,l===0&&E(fe)),C!==e?m=t.substring(m,r):m=C,m}function Aa(){var m,C,F,S,D;for(m=r,C=[],F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);F!==e;)C.push(F),F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);return C!==e?m=t.substring(m,r):m=C,m}function Bo(){var m,C,F;if(m=r,C=[],F=He(),F!==e)for(;F!==e;)C.push(F),F=He();else C=e;return C!==e?m=t.substring(m,r):m=C,m}function xa(){var m,C;if(m=[],C=Gr(),C!==e)for(;C!==e;)m.push(C),C=Gr();else m=e;return m}function Vo(){var m,C;for(m=[],C=Gr();C!==e;)m.push(C),C=Gr();return m}function ka(){var m,C;return m=r,C=Xo(),C!==e&&(oe=m,C=tr(C)),m=C,m}function Uo(){var m,C;return m=r,C=Yo(),C!==e&&(oe=m,C=Bi(C)),m=C,m}function Ca(){var m;return t.charCodeAt(r)===66?(m=T,r++):(m=e,l===0&&E(N)),m}function Bt(){var m,C,F,S,D;return m=r,C=r,F=r,l++,S=Ca(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===62?(D=_e,r++):(D=e,l===0&&E(Se)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=r,F=r,l++,S=Ca(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===171?(F=Z,r++):(F=e,l===0&&E(ie)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===187?(D=ue,r++):(D=e,l===0&&E(he)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)),m}function He(){var m,C,F,S,D,q,M,X;if(m=r,C=r,F=[],S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=Bt(),S===e&&(S=Oi()))),S!==e)for(;S!==e;)F.push(S),S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=Bt(),S===e&&(S=Oi())));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=gt(C)),m=C,m}function xs(){var m;return m=el(),m===e&&(m=Fa(),m===e&&(m=tl(),m===e&&(m=rl()))),m}function yn(){var m;return t.charCodeAt(r)===124?(m=Kt,r++):(m=e,l===0&&E(ht)),m}function Gr(){var m,C,F,S,D,q,M,X,c;if(m=r,C=r,F=[],S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=Gr(),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=Gr(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,l++,q=yn(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Et(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=ks(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(X=r,l++,c=me(),l--,c===e?X=void 0:(r=X,X=e),X!==e?(t.length>r?(c=t.charAt(r),r++):(c=e,l===0&&E(fe)),c!==e?(D=[D,q,M,X,c],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e))),S!==e)for(;S!==e;)F.push(S),S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=Gr(),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=Gr(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,l++,q=yn(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Et(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=ks(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(X=r,l++,c=me(),l--,c===e?X=void 0:(r=X,X=e),X!==e?(t.length>r?(c=t.charAt(r),r++):(c=e,l===0&&E(fe)),c!==e?(D=[D,q,M,X,c],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=St(C)),m=C,m}function Ho(){var m,C,F,S,D,q,M,X,c,i,d;if(m=r,C=Ce(),C!==e)if(oe=r,F=Nt(C),F?F=void 0:F=e,F!==e){if(S=[],D=xs(),D===e&&(D=Er(),D===e&&(D=Gr())),D!==e)for(;D!==e;)S.push(D),D=xs(),D===e&&(D=Er(),D===e&&(D=Gr()));else S=e;if(S!==e){if(D=r,q=yn(),q!==e){for(M=r,X=[],c=r,i=r,l++,d=Et(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(t.length>r?(d=t.charAt(r),r++):(d=e,l===0&&E(fe)),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e);c!==e;)X.push(c),c=r,i=r,l++,d=Et(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(t.length>r?(d=t.charAt(r),r++):(d=e,l===0&&E(fe)),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e);X!==e?M=t.substring(M,r):M=X,M!==e?(oe=D,q=Zr(C,S,M),D=q):(r=D,D=e)}else r=D,D=e;D===e&&(D=null),D!==e?(q=Et(),q!==e?(oe=r,M=wt(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=Fi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)}else r=m,m=e}else r=m,m=e;else r=m,m=e;return m}function _a(){var m,C,F,S,D,q;if(m=r,C=[],F=r,S=r,l++,t.charCodeAt(r)===59?(D=Qt,r++):(D=e,l===0&&E(Vi)),l--,D===e?S=void 0:(r=S,S=e),S!==e?(D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(q=t.charAt(r),r++):(q=e,l===0&&E(fe)),q!==e?(S=[S,D,q],F=S):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F!==e)for(;F!==e;)C.push(F),F=r,S=r,l++,t.charCodeAt(r)===59?(D=Qt,r++):(D=e,l===0&&E(Vi)),l--,D===e?S=void 0:(r=S,S=e),S!==e?(D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(q=t.charAt(r),r++):(q=e,l===0&&E(fe)),q!==e?(S=[S,D,q],F=S):(r=F,F=e)):(r=F,F=e)):(r=F,F=e);else C=e;return C!==e?m=t.substring(m,r):m=C,m}function yi(){var m;return vs.test(t.charAt(r))?(m=t.charAt(r),r++):(m=e,l===0&&E(Di)),m}function rn(){var m,C,F,S,D,q;if(m=r,C=_a(),C!==e){for(F=[],S=yi();S!==e;)F.push(S),S=yi();if(F!==e)if(t.charCodeAt(r)===59?(S=Qt,r++):(S=e,l===0&&E(Vi)),S!==e){for(D=[],q=yi();q!==e;)D.push(q),q=yi();D!==e?(q=rn(),q!==e?(oe=m,C=Bn(C,q),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e}else r=m,m=e;return m===e&&(m=r,C=_a(),C!==e&&(oe=m,C=Ii(C)),m=C),m}function Kn(){var m,C,F;if(m=r,C=[],Ui.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&E(Xr)),F!==e)for(;F!==e;)C.push(F),Ui.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&E(Xr));else C=e;return C!==e?m=t.substring(m,r):m=C,m}function Go(){var m,C,F;return m=r,t.substr(r,2)===ci?(C=ci,r+=2):(C=e,l===0&&E(bs)),C!==e?(F=Kn(),F!==e?(oe=m,C=Vn(F),m=C):(r=m,m=e)):(r=m,m=e),m}function Ko(){var m,C,F;return m=r,t.substr(r,2)===Un?(C=Un,r+=2):(C=e,l===0&&E(pn)),C!==e?(F=Kn(),F!==e?(oe=m,C=Q(F),m=C):(r=m,m=e)):(r=m,m=e),m}function Ea(){var m,C,F;return m=r,t.substr(r,2)===U?(C=U,r+=2):(C=e,l===0&&E(ee)),C!==e?(F=Kn(),F!==e?(oe=m,C=se(F),m=C):(r=m,m=e)):(r=m,m=e),m}function Wn(){var m,C,F,S,D,q;if(m=r,C=r,F=r,t.substr(r,2)===ae?(S=ae,r+=2):(S=e,l===0&&E(be)),S!==e){if(D=[],Ie.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(Me)),q!==e)for(;q!==e;)D.push(q),Ie.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(Me));else D=e;D!==e?(S=[S,D],F=S):(r=F,F=e)}else r=F,F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=Ke()),m=C,m}function Jn(){var m,C,F,S;if(m=r,C=r,F=[],dt.test(t.charAt(r))?(S=t.charAt(r),r++):(S=e,l===0&&E(Le)),S!==e)for(;S!==e;)F.push(S),dt.test(t.charAt(r))?(S=t.charAt(r),r++):(S=e,l===0&&E(Le));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=ot(),F?F=void 0:F=e,F!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e),m}function Wo(){var m,C,F,S,D,q;if(m=r,C=r,F=r,yt.test(t.charAt(r))?(S=t.charAt(r),r++):(S=e,l===0&&E(lt)),S!==e){if(D=[],Xe.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(vt)),q!==e)for(;q!==e;)D.push(q),Xe.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(vt));else D=e;D!==e?(S=[S,D],F=S):(r=F,F=e)}else r=F,F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=We(C)),m=C,m}function Sa(){var m,C,F;return m=r,C=Gn(),C!==e?(F=Ko(),F===e&&(F=Go(),F===e&&(F=Ea(),F===e&&(F=Wn(),F===e&&(F=Kn())))),F!==e?(oe=m,C=rr(F),m=C):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=Gn(),C!==e?(F=Jn(),F!==e?(oe=m,C=ir(F),m=C):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=Gn(),C!==e?(F=Wo(),F!==e?(oe=m,C=Dt(F),m=C):(r=m,m=e)):(r=m,m=e))),m}function Ta(){var m,C,F,S,D,q;if(m=r,C=Sa(),C!==e){for(F=[],S=yi();S!==e;)F.push(S),S=yi();if(F!==e)if(t.charCodeAt(r)===59?(S=Qt,r++):(S=e,l===0&&E(Vi)),S!==e){for(D=[],q=yi();q!==e;)D.push(q),q=yi();D!==e?(q=Ta(),q!==e?(oe=m,C=Bn(C,q),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e}else r=m,m=e;return m===e&&(m=r,C=Sa(),C!==e&&(oe=m,C=Ii(C)),m=C),m}function vi(){var m,C,F,S,D;return m=r,C=ks(),C!==e?(oe=r,F=Je(C),F?F=void 0:F=e,F!==e?(S=r,D=Ta(),D!==e&&(oe=S,D=nr(C,D)),S=D,S===e&&(S=null),S!==e?(D=Et(),D!==e?(oe=m,C=cr(C,S),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function ks(){var m,C,F;return m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F!==e?(oe=m,C=Cr(C),m=C):(r=m,m=e)):(r=m,m=e),m}function Ce(){var m,C,F,S;return m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e?(F=r,t.charCodeAt(r)===60?(S=$e,r++):(S=e,l===0&&E(ve)),S===e&&(t.charCodeAt(r)===171?(S=Z,r++):(S=e,l===0&&E(ie))),S!==e?F=t.substring(F,r):F=S,F!==e?(oe=m,C=Yr(C,F),m=C):(r=m,m=e)):(r=m,m=e),m}function at(){var m,C,F;return m=r,t.charCodeAt(r)===69?(C=ce,r++):(C=e,l===0&&E(xe)),C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F===e&&(t.charCodeAt(r)===171?(F=Z,r++):(F=e,l===0&&E(ie))),F!==e?(C=[C,F],m=C):(r=m,m=e)):(r=m,m=e),m}function Et(){var m;return t.charCodeAt(r)===62?(m=_e,r++):(m=e,l===0&&E(Se)),m===e&&(t.charCodeAt(r)===187?(m=ue,r++):(m=e,l===0&&E(he))),m}function Er(){var m;return m=Da(),m===e&&(m=il(),m===e&&(m=nl(),m===e&&(m=sl()))),m}function ac(){var m,C,F,S,D;for(m=r,C=[],F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);F!==e;)C.push(F),F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);return C!==e?m=t.substring(m,r):m=C,m}function Ge(){var m,C,F,S,D,q,M;if(m=r,C=r,F=[],S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===62?(M=_e,r++):(M=e,l===0&&E(Se)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===187?(M=ue,r++):(M=e,l===0&&E(he)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=me(),S===e&&(S=Oi()))),S!==e)for(;S!==e;)F.push(S),S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===62?(M=_e,r++):(M=e,l===0&&E(Se)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===187?(M=ue,r++):(M=e,l===0&&E(he)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=me(),S===e&&(S=Oi())));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=gt(C)),m=C,m}function Oi(){var m,C,F,S,D,q,M,X;if(m=r,C=r,F=[],S=r,D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Ce(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=me(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S!==e)for(;S!==e;)F.push(S),S=r,D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Ce(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=me(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e);else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=gt(C)),m=C,m}function me(){var m,C,F,S,D;return m=r,C=r,F=r,l++,S=Jt(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===62?(D=_e,r++):(D=e,l===0&&E(Se)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=r,F=r,l++,S=Jt(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===171?(F=Z,r++):(F=e,l===0&&E(ie)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===187?(D=ue,r++):(D=e,l===0&&E(he)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)),m}function Jo(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===65?(F=f,r++):(F=e,l===0&&E(h)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Gr(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Pa(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===86?(F=v,r++):(F=e,l===0&&E(b)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Bo(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Qo(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===83?(F=_t,r++):(F=e,l===0&&E(ct)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Aa(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Zo(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===90?(F=Rt,r++):(F=e,l===0&&E(mt)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Aa(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Xo(){var m,C,F,S,D,q,M,X,c;if(m=r,C=r,t.charCodeAt(r)===68?(F=K,r++):(F=e,l===0&&E(re)),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e)if(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e)if(D=xa(),D!==e){if(q=r,M=yn(),M!==e){for(X=[],c=rn();c!==e;)X.push(c),c=rn();X!==e?(oe=q,M=Hi(C,S,D,X),q=M):(r=q,q=e)}else r=q,q=e;q===e&&(q=null),q!==e?(M=Et(),M!==e?(oe=r,X=di(C,S,D,q,M),X?X=void 0:X=e,X!==e?(oe=m,C=pi(C,S,D,q,M),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Yo(){var m,C,F,S,D,q,M,X,c;if(m=r,C=r,t.charCodeAt(r)===88?(F=fr,r++):(F=e,l===0&&E(Br)),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e)if(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e)if(D=Vo(),D!==e){if(q=r,M=yn(),M!==e){for(X=[],c=rn();c!==e;)X.push(c),c=rn();X!==e?(oe=q,M=Hi(C,S,D,X),q=M):(r=q,q=e)}else r=q,q=e;q===e&&(q=null),q!==e?(M=Et(),M!==e?(oe=r,X=di(C,S,D,q,M),X?X=void 0:X=e,X!==e?(oe=m,C=pi(C,S,D,q,M),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function el(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.substr(r,3)===dr?(S=dr,r+=3):(S=e,l===0&&E(en)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.substr(r,3)===Ne?(q=Ne,r+=3):(q=e,l===0&&E(It)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Fa(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.substr(r,2)===_r?(S=_r,r+=2):(S=e,l===0&&E(Ur)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.substr(r,2)===Ve?(q=Ve,r+=2):(q=e,l===0&&E(kt)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function tl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===60?(S=$e,r++):(S=e,l===0&&E(ve)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.charCodeAt(r)===62?(q=_e,r++):(q=e,l===0&&E(Se)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function rl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===171?(S=Z,r++):(S=e,l===0&&E(ie)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.charCodeAt(r)===187?(q=ue,r++):(q=e,l===0&&E(he)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Da(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.substr(r,3)===dr?(S=dr,r+=3):(S=e,l===0&&E(en)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.substr(r,3)===Ne?(q=Ne,r+=3):(q=e,l===0&&E(It)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function il(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.substr(r,2)===_r?(S=_r,r+=2):(S=e,l===0&&E(Ur)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.substr(r,2)===Ve?(q=Ve,r+=2):(q=e,l===0&&E(kt)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function nl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===60?(S=$e,r++):(S=e,l===0&&E(ve)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.charCodeAt(r)===62?(q=_e,r++):(q=e,l===0&&E(Se)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function sl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===171?(S=Z,r++):(S=e,l===0&&E(ie)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.charCodeAt(r)===187?(q=ue,r++):(q=e,l===0&&E(he)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Qn(m){return m.reduce((C,F)=>Array.isArray(F)?C.concat(Qn(F)):C.concat(F),[])}function Cs(m){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[m]}if(mn=o(),mn!==e&&r===t.length)return mn;throw mn!==e&&r<t.length&&E(va()),wa(gi,pr<t.length?t.charAt(pr):null,pr<t.length?Wi(pr,pr+1):Wi(pr,pr))}tp.exports={SyntaxError:In,parse:zb}});var nu=Ee((pC,kp)=>{kp.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var Ip=Ee((mC,Dp)=>{"use strict";var $o=Object.prototype.hasOwnProperty,Fp=Object.prototype.toString,Cp=Object.defineProperty,_p=Object.getOwnPropertyDescriptor,Ep=function(n){return typeof Array.isArray=="function"?Array.isArray(n):Fp.call(n)==="[object Array]"},Sp=function(n){if(!n||Fp.call(n)!=="[object Object]")return!1;var e=$o.call(n,"constructor"),s=n.constructor&&n.constructor.prototype&&$o.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!e&&!s)return!1;var o;for(o in n);return typeof o>"u"||$o.call(n,o)},Tp=function(n,e){Cp&&e.name==="__proto__"?Cp(n,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):n[e.name]=e.newValue},Pp=function(n,e){if(e==="__proto__")if($o.call(n,e)){if(_p)return _p(n,e).value}else return;return n[e]};Dp.exports=function t(){var n,e,s,o,f,h,v=arguments[0],b=1,A=arguments.length,w=!1;for(typeof v=="boolean"&&(w=v,v=arguments[1]||{},b=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});b<A;++b)if(n=arguments[b],n!=null)for(e in n)s=Pp(v,e),o=Pp(n,e),v!==o&&(w&&o&&(Sp(o)||(f=Ep(o)))?(f?(f=!1,h=s&&Ep(s)?s:[]):h=s&&Sp(s)?s:{},Tp(v,{name:e,newValue:t(w,h,o)})):typeof o<"u"&&Tp(v,{name:e,newValue:o}));return v}});var MA={};xc(MA,{PluginRegister:()=>NA,default:()=>LA,parseMd:()=>Mo,plugin:()=>zo});module.exports=Pg(MA);var Ap=si(Td()),tw=si(Id());var Od=["boundary","cell","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","set","table","toc"];var kb=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[n,e]=t.split(":");if(n&&e)return{name:n,type:e};if(!n)return{type:e};if(!e){let s=n.match(/(.+)\<\>/);return s?{type:"fcode",name:s[1]}:{name:n,type:"block"}}return{name:n,type:e}},go=t=>{let n=kb(t),{name:e,type:s}=n;return s&&s==="*"?{name:e}:e&&e==="*"?{type:s}:n};function Cb(t,n){function e(o){for(var f in o)if(o.hasOwnProperty(f))return!1;return!0}if(e(t))return!0;for(var s in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(s))if(n===void 0&&console.warn("[podlite] undefined node!!!"),n&&n.hasOwnProperty(s)){if(t[s]!==n[s])return!1}else return!1;return!0}var ia=(t,n)=>{return e.rule=t,e.isFor=s,e.fn=n,e;function e(){}function s(o){return typeof o=="string"?!1:Cb(t,o)}};var Uf=si(require("crypto"),1);var qd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var _b=128,Fn,hs,Eb=t=>{!Fn||Fn.length<t?(Fn=Buffer.allocUnsafe(t*_b),Uf.default.randomFillSync(Fn),hs=0):hs+t>Fn.length&&(Uf.default.randomFillSync(Fn),hs=0),hs+=t};var Rd=(t=21)=>{Eb(t);let n="";for(let e=hs-t;e<hs;e++)n+=qd[Fn[e]&63];return n};var ds=t=>({...t}),Hf=t=>{if(Array.isArray(t))return t.filter(n=>n);console.warn("[podlite-schema] filterNulls got not array as content")},Pr=(t,n)=>{let e="block",s=t.name,o={id:Rd(),margin:"",...t};var f=ds({type:e,...o,content:Hf(n)});return f};var yo=(t,n)=>ds({type:"fcode",...t,content:n}),Gf=(t,n)=>ds({...t,type:"fcode",name:"L",content:Hf(n)}),Nd=t=>ds({type:"fcode",name:"O",content:Hf(t)});var Ld=t=>ds({type:"fcode",name:"F",content:[{type:"text",value:t}]}),na=t=>ds({type:"verbatim",value:t});var Md=t=>({type:"block",name:"caption",content:t}),zd=(t,n)=>({type:"image",src:t,alt:n}),jd=({margin:t=""},n)=>Pr({name:"root",margin:t},n);var Bd=({value:t,location:n})=>Pr({name:"formula",location:n},[na(t)]);var Sb=(t,n={})=>{let e=t.config instanceof Array?t.config:[],s=[];n.config&&n.config.hasOwnProperty(t.name)&&(s=n.config[t.name]);let o={};[...e,...s].map(h=>{o.hasOwnProperty(h.name)||(o[h.name]=[]),h.type==="array"?o[h.name].push(...h.value):o[h.name].push(h.value)});let f=function(){};return f.exists=h=>o.hasOwnProperty(h),f.getAllValues=h=>f.exists(h)?o[h]:[],f.getFirstValue=h=>f.exists(h)?f.getAllValues(h)[0]:void 0,f.getMapValue=h=>{let v=f.getFirstValue(h);return v&&typeof v=="object"&&!Array.isArray(v)?v:void 0},f.asHash=()=>o,f},oi=Sb;var Tb=(t,n)=>{let e=oi(t,n);return e.exists("id")?e.getFirstValue("id"):t.id},Pb=t=>t.trim().split(/[\s\-\u2013\u2014]+/).filter(Boolean).join("-").replace(/[^\p{L}\p{N}\-_]/gu,"").replace(/^-+|-+$/g,"");var Fb={shape:Pb,firstRepeat:2};var Db=(t,n,e)=>{if(!t)return t;let s=t;for(;n.has(s);){let o=(n.get(t)||0)+1;n.set(t,o),s=`${t}-${o+e-1}`}return n.set(s,n.get(s)||0),s},Kf=(t,n)=>{if(Array.isArray(t)){for(let e of t)Kf(e,n);return}!t||typeof t!="object"||(n(t),"content"in t&&Kf(t.content,n))},Ib=(t,n)=>{let e=new Map,s=new Map,o=new Map;for(let f of t){let h=Tb(f,{});if(h==null)continue;let v=h.toString(),b=Db(n.shape(v),o,n.firstRepeat);e.set(f,b),s.has(v)||s.set(v,b)}return{byNode:e,byName:s,shape:n.shape}},Vd=(t,n=Fb)=>{let e=[];return Kf(t,s=>{s.name==="head"&&e.push(s)}),Ib(e,n)};function Ud(t){return Array.isArray(t)?t.reduce((n,e)=>Array.isArray(e)?n.concat(Ud(e)):n.concat(e),[]):t}function Ob(t){function n(e,s){if(e==null)return e;if(e instanceof Array)return Ud(e.map(h=>n(h,s))).filter(Boolean);if(typeof e=="string")return n({type:"text",value:e},s);let o=t.slice();o.reverse();let f=o.findIndex(h=>h.isFor(e));if(f!==-1){let h=o.slice(f+1),v=h.findIndex(A=>A.isFor(e)),b=(A=e,w=s,T=n)=>{if(v!==-1)return h[v].fn(A,w,T,()=>{})};return typeof o[f].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),o[f].fn(e,s,n,b)}else{let h={...e};if(h.hasOwnProperty("content"))return n(h.content,s)}}return n.rules=t,n}var Hd=Ob;var Gd=(t,n)=>(e,s,o)=>{if(e.content)return o(e.content,s)};function Kd(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function Wd(t){return t.reduce((n,e)=>Array.isArray(e)?n.concat(Wd(e)):n.concat(e),[])}var qb=t=>{let n=[];function e(o,f){if(o instanceof Array&&console.warn(`[podlite] Unsupported param for ${o}`),o instanceof Object){for(var h in o)o.hasOwnProperty(h)&&e(h,o[h]);return[]}n.push(ia(go(o),f))}function s(o,f={}){if(o==null)return o;if(o instanceof Array)return Wd(o.map(b=>s(b,f)));if(typeof o=="string")return o;let h=n.slice();h.reverse();let v=h.findIndex(b=>b.isFor(o));if(v!==-1)return h[v].fn(o,f,s);{let b={...o};return b.hasOwnProperty("content")&&(b.content=s(b.content,f)),b}}return e(t),s.rules=n,s},jr=qb;var Jd=si(require("events")),Wf=class extends Jd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(n){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=n,this.ons=[],this.emit("ready")}escape(n){return n}write(n){return this.writeRaw(this.escape(n))}writeRaw(n){typeof this.output=="function"?this.output(n):console.log(n)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(n){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",n),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...n){return this.ons=this.ons||[],this.ons.unshift([...n]),this}endWrite=()=>{this.emit("end")};_add_nesting(n){}_remove_nesting(n){}addLevel(n){this._add_nesting(n)}removeLevel(n){this._remove_nesting(n)}},Qd=Wf;var sa=(t={},n=[])=>{let e=n,s=t.processor||Zd,o=t.writer;return f.use=h,f.run=v,f.getPlugins=()=>e,f;function f(b){}function h(b,A){if(b instanceof Array)return sa(t,[...e,...A]);if(b instanceof Object){for(var w in b)b.hasOwnProperty(w)&&h(w,b[w]);return f}return e.push(ia(go(b),A)),f}function v(b,A){let w="",T=A||o||new Qd(re=>{w=w+re}),N=typeof T=="function"?new T(re=>{w=w+re}):T,R=typeof b=="string"?s(b):b,L=e.slice();L.reverse();let V=Hd(L.map(re=>ia(re.rule,re.fn(N,s,R))).reverse()),G={__anchors:Vd(R),...t.context||{}};N.startWrite(R);let K=V(R,G);return N.endWrite(),{errors:N.errors,toString:()=>w,valueOf:()=>w,indexingTerms:N.INDEXTERMS,annotations:N.FOOTNOTES,defenitions:N.DEFINITIONS,interator:K}}};var Yd=si(Jf());function Qf(t){if(!t||!t.trim())return[];try{return Yd.parse(t,{startRule:"attributesOnly"})}catch{return[]}}var xp=si(Jf());var Lb=()=>t=>{let n=(s,o={})=>{if((s.type=="code"||s.type=="text")&&(s.margin&&o.margin&&o.margin.length>0&&o.margin.length==s.margin.length&&(s.type="para"),s.type==="code")){var f=new RegExp(`^[ ]{0,${s.margin.length}}`,"gm");s.text=s.text.replace(f,"")}if(s.type==="block"){o.margin=typeof s.margin!="string"?"":s.margin;let h={...o};h.nest=(h.nest||0)+1,s.content.map(v=>{n(v,o)})}};var e={};return t.forEach(s=>n(s,e)),t},ep=Lb;var aa=si(rp());var jb=()=>t=>{let n=jr({":para":(e,s,o)=>jr({":text":(f,h)=>aa.parse(f.value),":verbatim":(f,h)=>aa.parse(f.value)})(e,{...s}),":block":(e,s,o)=>{if("name"in e&&e.name==="pod")return{...e,content:o(e.content,s,o)};let f=oi(e,s),h="name"in e?e.name:"",v=["code","data","markdown","picture","formula"].includes(h),b=f.getAllValues("allow");if(Kd(h)||v&&b.length===0)return e;let A=b.sort(),w=jr({":verbatim":(T,N)=>aa.parse(T.value,{allowed:A}),":text":(T,N)=>aa.parse(T.value,{allowed:A}),":block":(T,N)=>n(T,{...N})});return{...e,content:w(e.content,{...s})}}});return n(t,{})},ip=jb;var np=(t,n)=>{if(t.text=t.text.replace(n,""),t.type!=="para")return;if(!Array.isArray(t.content)){t.content=[t.text];return}let e=t.content[0];typeof e=="string"?t.content[0]=e.replace(n,""):e&&typeof e.value=="string"&&(e.value=e.value.replace(n,""))},sp=()=>t=>{let n=e=>{if(Array.isArray(e))e.forEach(s=>{n(s)});else if(e&&e.type==="block"){let s=/^item(\d+)?/.exec(e.name);if(s){e.name="item",e.level=s[1]||1;let o=(e.config||[]).find(f=>f.name==="checked");if(o&&(e.checked=o.value!==!1&&o.value!==0&&o.value!=="0"),e.content[0]){let f=e.content[0];if(f.text){if(!o){let b=/^\[( |x)\]\s*/,A=b.exec(f.text);A&&(e.checked=A[1]==="x",np(f,b),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let h=/^(\s*#\s*)/;h.exec(f.text)&&(np(f,h),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}n(e.content)}};return n(t),t};var ap=()=>t=>{let n=e=>{if(Array.isArray(e))e.forEach(s=>{n(s)});else if(e&&e.type==="block"){let s=/^head(\d+)?/.exec(e.name);if(s&&(e.name="head",e.level=s[1]||1,e.content[0])){let o=e.content[0];if(o.text){let f=/(\s*#\s*)/;f.exec(o.text)&&(o.text=o.text.replace(f,""),e.config={...e.config,numbered:!0})}}n(e.content)}};return n(t),t};var op=()=>t=>{let n=(f,h)=>(f.name==="item"||f.name==="defn")&&h.name===f.name&&f.level===h.level&&e(f)===e(h),e=f=>Boolean(f.config&&f.config.numbered),s=f=>{let h={};return f.reduce((b,A)=>(A.name==="defn"?n(h,A)?b[b.length-1].push(A):b.push([A]):b.push(A),h=A,b),[]).map(b=>b instanceof Array?b[0].name!=="defn"?b:{type:"list",list:b[0].name==="defn"?"variable":e(b[0])?"ordered":"itemized",level:1,content:[...b]}:(b.content&&b.type!=="fcode"&&(b.content=s(b.content)),b))};return t=(f=>Array.isArray(f)?s(f):(f.type==="block"&&f.name!=="table"&&(f.content=s(f.content)),f))(t),t};var lp=()=>t=>{let n=(h,v)=>(h.name==="item"||h.name==="defn")&&v.name===h.name&&h.level===v.level&&e(h)===e(v)&&s(h)===s(v),e=h=>Boolean(oi(h,{}).exists("numbered")),s=h=>h.checked!==void 0,o=(h,v=1)=>{let b=R=>R.length>0&&R[R.length-1].type==="list",A=R=>{if(b(R))return R[R.length-1]},w=(R,L)=>L.name&&L.name==="item"&&L.type&&L.type==="block"||L.type==="blankline",T={};return h.reduce((R,L)=>L.name==="item"&&L.type==="block"&&L.level<v?[...R,L]:(L.name==="item"&&L.type==="block"&&(!b(R)||Number(L.level)===v&&A(R).list!==(e(L)?"ordered":s(L)?"task":"itemized"))&&R.push({type:"list",level:L.level,content:[],list:e(L)?"ordered":s(L)?"task":"itemized"}),b(R)&&w(A(R),L)?A(R).content.push(L):R.push(L),R),[]).map(R=>(R.content&&R.type!=="fcode"&&(R.content=o(R.content,Number(R.level||0)+1)),R))};return t=(h=>(Array.isArray(h)?h=o(h):h.type==="block"&&h.name!=="table"&&(h.content=o(h.content)),h))(t),t};var fp=()=>t=>jr({defn:e=>{let s=e.content,o=s.length,f=[],h=!1;for(let v=0;v<o;v++){let b=s[v];if(b.type==="para"&&!h){let A=b.content[0],T=A.value.split(`
19
+ `),N=T.shift(),R={type:"para",name:"term",text:N,content:[{type:"text",value:N}]};f.push(R),T.length==1&&T[0]===""||(A.value=T.join(`
20
+ `),b.text=A.value,f.push(b)),h=!0}else f.push(b)}return e.content=f,e}})(t,{});var Bb=t=>!t||typeof t!="object"?!1:t.type==="set"||t.type==="config"||t.type==="alias"||t.type==="blankline"||t.type==="block"&&(t.name==="comment"||t.name==="boundary"||t.name==="include"),up=t=>t&&typeof t=="object"&&t.type==="block",Zf=t=>{let n=[],e=[];for(let s of t){if(s&&typeof s=="object"&&s.type==="set"&&Array.isArray(s.config)){for(let f of s.config)!f||!f.name||(n=n.filter(h=>h.name!==f.name),n.push(f));continue}let o=s;if(up(s)&&Array.isArray(s.content)&&(o={...s,content:Zf(s.content)}),n.length&&up(o)&&!Bb(o)){let f=new Set((o.config||[]).map(v=>v&&v.name)),h=n.filter(v=>!f.has(v.name));h.length&&(o={...o,config:[...o.config||[],...h]}),n=[]}e.push(o)}return n.length&&console.warn(`[set] =set directive has no target block in scope: ${n.map(s=>s.name).join(", ")}`),e},cp=()=>t=>Array.isArray(t)?Zf(t):t&&typeof t=="object"&&Array.isArray(t.content)?{...t,content:Zf(t.content)}:t;function oa(t){return t.reduce((n,e)=>Array.isArray(e)?n.concat(oa(e)):n.concat(e),[])}function Yf(t){let n=[],e="",s=[],o=!1,f=0;for(;f<t.length;){let h=t[f];if(o){if(h==='"'&&t[f+1]==='"'){e+='"',f+=2;continue}if(h==='"'){o=!1,f++;continue}e+=h,f++;continue}if(h==='"'&&e===""){o=!0,f++;continue}if(h===","){s.push(e),e="",f++;continue}if(h==="\r"){f++;continue}if(h===`
21
+ `){s.push(e),n.push(s),s=[],e="",f++;continue}e+=h,f++}return(e!==""||s.length>0)&&(s.push(e),n.push(s)),n.filter(h=>!(h.length===1&&h[0].trim()===""))}function eu(t){return t.split(/\r?\n/).map(s=>s.split(" ")).filter(s=>!(s.length===1&&s[0].trim()===""))}function bo(t){if(!t||typeof t!="string")return{type:"",params:{}};let n=t.split(";").map(o=>o.trim()),e=(n.shift()||"").toLowerCase(),s={};for(let o of n){if(!o)continue;let f=o.indexOf("=");if(f<0)continue;let h=o.slice(0,f).trim().toLowerCase(),v=o.slice(f+1).trim();(v.startsWith('"')&&v.endsWith('"')||v.startsWith("'")&&v.endsWith("'"))&&(v=v.slice(1,-1)),h&&(s[h]=v)}return{type:e,params:s}}function tu(t,n){let e=null,s=o=>{if(!e){if(Array.isArray(o)){o.forEach(s);return}if(!(!o||typeof o!="object")){if(o.type==="block"&&o.name==="data"&&oi(o,{}).getFirstValue("key")===n){e=o;return}Array.isArray(o.content)&&o.content.forEach(s)}}};return s(t),e}function wo(t){if(!t||!Array.isArray(t.content))return"";let n=t.content.find(e=>e&&e.type==="verbatim");return n&&typeof n.value=="string"?n.value:""}function Vb(t){let n=[];jr({"row:text":h=>(n.push(h.value),h),"head:text":h=>(n.push(h.value),h)})(t,{});let o=n.join(`
22
+ `).trim().split(/\r?\n/).map(h=>h.trim()).filter(h=>h.length>0);if(o.length!==1)return null;let f=o[0].match(/^(data|file):(\S+)$/);return f?{scheme:f[1],target:f[2]}:null}function dp(t){return{name:"cell",type:"block",margin:"",content:[{type:"text",value:t}]}}function Ub(t,n){let e={name:"row",type:"block",margin:"",content:t};return n&&(e.config=[{name:"header",value:!0,type:"boolean"}]),e}function ru(t,n=!1){return t.map((e,s)=>{let o=e.map(f=>dp(f.trim()));return Ub(o,n&&s===0)})}function la(t,n="table"){if(!t||!Array.isArray(t.content))return t;let e=t.content.filter(T=>T&&T.type==="block"&&T.name==="row");if(e.length===0)return t;let s=T=>Array.isArray(T.content)?T.content.filter(N=>N&&N.name==="cell"):[],o=T=>Array.isArray(T.config)&&T.config.some(N=>N.name==="header"&&N.value===!0),f=T=>Array.isArray(T.config)&&T.config.some(N=>N.name==="colspan"||N.name==="rowspan"),h=T=>s(T).some(f);if(e.some(h))return t;let v=e.find(o),b=v?s(v).length:Math.max(...e.map(T=>s(T).length));if(b===0)return t;let A=!1,w=t.content.map(T=>{if(!T||T.type!=="block"||T.name!=="row")return T;let N=s(T);if(N.length===b)return T;if(N.length<b){let G=[];for(let K=N.length;K<b;K++)G.push(dp(""));return console.warn(`[${n}] row has ${N.length} cells, expected ${b} \u2014 padded with ${G.length} empty`),A=!0,{...T,content:[...T.content,...G]}}let R=N.length-b;console.warn(`[${n}] row has ${N.length} cells, expected ${b} \u2014 truncated ${R}`),A=!0;let L=b,V=[];for(let G of T.content||[])G&&G.type==="block"&&G.name==="cell"?L>0&&(V.push(G),L--):V.push(G);return{...T,content:V}});return A?{...t,content:w}:t}function Hb(t){let n=new Set;for(let e of t)if(!(!e||typeof e!="string")&&(/\s\|\s/.test(e)?n.add("pipe"):/\s\+\s/.test(e)?n.add("plus"):e.trim().length>0&&n.add("whitespace"),n.size>1))break;n.size>1&&console.warn(`[table] mixed separator types detected: ${Array.from(n).join(", ")} \u2014 recommend a single style`)}function Gb(t,n){return{type:"block",name:"code",margin:t.margin||"",content:Array.isArray(n.content)?n.content:[],config:Array.isArray(t.config)?t.config:[]}}var Xf=(t,n,e)=>{let s=[];for(let o=0;t.length>o;o++)s.push(e(parseInt(t[o],10),parseInt(n[o],10)));return s.join("")},Kb=(t,n)=>{let e=Math.max(...[...t,...n].map(f=>f.length));return t.map(f=>{let h=f+" ".repeat(e-f.length),v=[],b=/\s+[+|\s]\s/g,A;for(;(A=b.exec(h))!=null;){let w="1".repeat(A.index)+"0".repeat(A[0].length);v.push(w+"1".repeat(e-w.length))}return v.reduce((w,T)=>Xf(w,T,(N,R)=>N&R),"1".repeat(e))}).map(f=>Xf(f,"",h=>h==0?1:0)).reduce((f,h)=>Xf(f,h,(v,b)=>v&b),"1".repeat(e))},hp=(t,n)=>{let s=oa(t.split(/\n/).filter(f=>f.length>0)).map(f=>{let h=/((1+|0+))/g,v=[],b;for(;(b=h.exec(n))!=null;)b[0][0]!="1"&&v.push(f.substring(b.index,b.index+b[0].length));return v}),o=[];return s.reduce((f,h)=>{for(let v=0;v<h.length;v++)f[v]=(f[v]===void 0?"":f[v])+" "+h[v];return f},o),o},vo=t=>/(?:^|\s)\|(?:\s|$)/.test(t)?"pipe":/(?:^|\s)\+(?:\s|$)/.test(t)?"plus":"whitespace",pp=t=>{let n=0,e=t.length;return t[n]===""&&n++,e>n&&t[e-1]===""&&e--,t.slice(n,e)},mp=t=>pp(t.split(/\s*\|\s*/).map(n=>n.trim())),gp=t=>pp(t.split(/\s*\+\s*/).map(n=>n.trim())),yp=t=>t.trim().split(/\s{2,}/).filter(n=>n!==""),vp=t=>{if(t.trim()==="")return[];let e=vo(t);return e==="pipe"?mp(t):e==="plus"?gp(t):yp(t)},Wb=t=>{let n=t.split(/\r?\n/).filter(v=>v.trim()!=="");if(n.length===0)return[];if(n.length===1)return vp(n[0]);let e=vo(n[0]),s=e==="pipe"?mp:e==="plus"?gp:yp,o=n.map(s),f=Math.max(...o.map(v=>v.length)),h=[];for(let v=0;v<f;v++){let b=o.map(A=>A[v]??"").filter(A=>A!=="");h.push(b.join(" "))}return h},Jb=t=>{if(!Array.isArray(t.content)||t.content.length===0||!t.content.some(s=>s&&s.type==="block"&&s.name!=="cell"&&s.name!=="blankline"))return t;let e=t.content.map(s=>!s||s.type!=="block"||s.name==="cell"||s.name==="blankline"?s:{type:"block",name:"cell",content:[s],margin:s.margin||""});return{...t,content:e}},Qb=t=>Array.isArray(t.content)&&t.content.some(n=>n&&n.type==="block"&&(n.name==="row"||n.name==="cell")),bp=()=>t=>jr({table:(e,s,o)=>{let f=Vb(e);if(f&&f.scheme==="data"){let de=tu(t,f.target);if(!de)return console.warn(`[table] no =data block found for data:${f.target} \u2014 rendered as empty`),{...e,content:[]};let Te=oi(de,{}).getFirstValue("mime-type"),{type:Ae,params:Ze}=bo(Te),qe=Ae==="text/csv";if(qe||Ae==="text/tab-separated-values"){let we=wo(de),Re=qe?Yf(we):eu(we);if(Re.length===0)return console.warn(`[table] ${qe?"CSV":"TSV"} parse produced no rows for data:${f.target} \u2014 rendered as empty`),{...e,content:[]};let nt=Ze.header==="present",ne={...e,content:ru(Re,nt)};return la(ne,`table data:${f.target}`)}return console.warn(`[table] =data :key<${f.target}> has non-tabular mime-type ${Te||"(none)"} \u2014 rendered as =code`),Gb(e,de)}if(Qb(e)){let de=(e.content||[]).map(Ae=>Ae&&Ae.name==="row"?Jb(Ae):Ae),Te=o?o(de,s):de;return la({...e,content:Te},"table")}let h=[],v=de=>{h.push(de.value)},b=[];if(jr({"row:text":v,"head:text":v,":separator":de=>{b.push(de.text)}})(e),!h.length)return e;let A=de=>de.split(/\n/).filter(Te=>Te.length>0),w=oa(h.map(A)),T=oa(b.map(A));Hb(w);let N=[];jr({"row:text":de=>{N.push(de.value)}})(e);let R=(de,Te,Ae={})=>({...Ae,name:de,type:"block",content:Array.isArray(Te)?Te:[Te]}),L=de=>R("row",de),V=de=>R("row",de,{config:[{name:"header",value:!0,type:"boolean"}]}),G=de=>R("cell",{type:"text",value:de}),K=Kb(w,T),re=new Set(w.map(vo)),ce=(re.has("pipe")||re.has("plus"))&&re.has("whitespace"),xe=de=>ce||vo(de)==="whitespace",ye=de=>de.split(/\r?\n/).filter(Ae=>Ae.trim()!=="").length<=1&&xe(de)?Wb(de):hp(de,K),le=jr({"row:text":de=>N.length==1?oa([de.value].map(A)).map(Ae=>L((xe(Ae)?vp(Ae):hp(Ae,K)).map(G))):L(ye(de.value).map(G)),"head:text":de=>V(ye(de.value).map(G))})(e);return la(le,"table")}})(t,{});function Zb(t){return!Array.isArray(t)||t.length===0?[]:t.length===1&&typeof t[0]=="string"&&t[0].includes(",")?t[0].split(",").map(n=>n.trim()).filter(n=>n.length>0):t.map(n=>String(n).trim()).filter(n=>n.length>0)}function wp(t,n,e){let s=t.trim();if(/^\d+$/.test(s)){let f=parseInt(s,10),h=f-1;if(h<0||h>=e)throw new Error(`column index ${f} out of range (1..${e})`);return h}if(!n)throw new Error(`column name "${t}" requires header=present`);let o=n.indexOf(t);if(o===-1)throw new Error(`column name "${t}" not found in header`);return o}function Xb(t,n,e){if(t.length===0)return t;let s=t[0].length,o=e?t[0]:null,f=n.map(h=>wp(h,o,s));return t.map(h=>f.map(v=>h[v]??""))}function Yb(t,n,e){if(!e||t.length===0)return t;let s=[...t[0]];for(let[o,f]of Object.entries(n)){let h=wp(o,s,s.length);s[h]=String(f)}return[s,...t.slice(1)]}function ew(t,n){let e=oi(t,{}),s=e.getFirstValue("src"),o=e.getFirstValue("mime-type"),f=e.getMapValue("rename"),h=e.exists("columns"),v=h?Zb(e.getAllValues("columns")):null,b=wo(t),A=b.trim().length>0;if(s&&A)throw new Error(":src and inline body are mutually exclusive");if(h&&(!v||v.length===0))throw new Error(":columns must have at least one entry; omit the attribute to render all columns");let w,T,N;if(s){let K=String(s),re=K.match(/^(file|data|http|https|doc):(.+)$/),ce=re?re[1]:"file",xe=re?re[2]:K;if(ce==="data"){let ye=tu(n,xe);if(!ye)return console.warn(`[data-table] no =data block found for data:${xe} \u2014 rendered as empty`),{...t,name:"table",content:[]};if(o)throw new Error(`:mime-type cannot be declared with :src<data:${xe}> (inherited from referenced block)`);let le=oi(ye,{}).getFirstValue("mime-type");if(!le)return console.warn(`[data-table] =data block ${xe} has no :mime-type \u2014 rendered as empty`),{...t,name:"table",content:[]};let de=bo(le);T=de.type,N=de.params.header==="present",w=wo(ye)}else return t}else{if(!o)throw new Error("inline body requires :mime-type");let K=bo(o);T=K.type,N=K.params.header==="present",w=b}let R=T==="text/csv";if(!R&&!(T==="text/tab-separated-values"))return console.warn(`[data-table] unsupported mime-type ${T} \u2014 rendered as empty`),{...t,name:"table",content:[]};let V=R?Yf(w):eu(w);if(V.length===0)return console.warn(`[data-table] ${R?"CSV":"TSV"} parse produced no rows \u2014 rendered as empty`),{...t,name:"table",content:[]};v&&(V=Xb(V,v,N)),f&&(V=Yb(V,f,N));let G={...t,name:"table",content:ru(V,N)};return la(G,"data-table")}var $p=()=>t=>jr({"data-table":e=>{try{return ew(e,t)}catch(s){return console.warn(`[data-table] ${s.message}`),{...e,name:"table",content:[]}}}})(t);var iC=new Ap.default({strict:!0,allowUnionTypes:!0});function rw(){var t=[];return n.use=e,n.parse=s,n.use(ep),n.use(cp),n.use(sp),n.use(ap),n.use(fp),n.use(bp),n.use($p),n.use(ip),n.use(lp),n.use(op),n;function n(){}function e(o){if(!["function"].includes(typeof o))throw o;return t.push(o),n}function s(o,f={skipChain:0,podMode:1}){let{skipChain:h=0,podMode:v=1,diagnostics:b}=f,A=xp.parse(o,{podMode:v,diagnostics:b,blockNames:Od});if(!h)for(let w=0;w<t.length;w++){let T=t[w];A=T(f)(A)}return A}}var Zd=rw().parse;function iu(t){if(t)throw t}var Bp=si(nu(),1),pu=si(Ip(),1);function fa(t){if(typeof t!="object"||t===null)return!1;let n=Object.getPrototypeOf(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Op(){let t=[],n={run:e,use:s};return n;function e(...o){let f=-1,h=o.pop();if(typeof h!="function")throw new TypeError("Expected function as last argument, not "+h);v(null,...o);function v(b,...A){let w=t[++f],T=-1;if(b){h(b);return}for(;++T<o.length;)(A[T]===null||A[T]===void 0)&&(A[T]=o[T]);o=A,w?iw(w,v)(...A):h(null,...A)}}function s(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),n}}function iw(t,n){let e;return s;function s(...h){let v=t.length>h.length,b;v&&h.push(o);try{b=t.apply(this,h)}catch(A){let w=A;if(v&&e)throw w;return o(w)}v||(b instanceof Promise?b.then(f,o):b instanceof Error?o(b):f(b))}function o(h,...v){e||(e=!0,n(h,...v))}function f(h){o(null,h)}}var Lp=si(nu(),1);function On(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?qp(t.position):"start"in t||"end"in t?qp(t):"line"in t||"column"in t?su(t):""}function su(t){return Rp(t&&t.line)+":"+Rp(t&&t.column)}function qp(t){return su(t&&t.start)+"-"+su(t&&t.end)}function Rp(t){return t&&typeof t=="number"?t:1}var Fr=class extends Error{constructor(n,e,s){let o=[null,null],f={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(s=e,e=void 0),typeof s=="string"){let h=s.indexOf(":");h===-1?o[1]=s:(o[0]=s.slice(0,h),o[1]=s.slice(h+1))}e&&("type"in e||"position"in e?e.position&&(f=e.position):"start"in e||"end"in e?f=e:("line"in e||"column"in e)&&(f.start=e)),this.name=On(e)||"1:1",this.message=typeof n=="object"?n.message:n,this.stack=typeof n=="object"?n.stack:"",this.reason=this.message,this.fatal,this.line=f.start.line,this.column=f.start.column,this.source=o[0],this.ruleId=o[1],this.position=f,this.actual,this.expected,this.file,this.url,this.note}};Fr.prototype.file="";Fr.prototype.name="";Fr.prototype.reason="";Fr.prototype.message="";Fr.prototype.stack="";Fr.prototype.fatal=null;Fr.prototype.column=null;Fr.prototype.line=null;Fr.prototype.source=null;Fr.prototype.ruleId=null;Fr.prototype.position=null;var li=si(require("path"),1);var au=si(require("process"),1);var ou=require("url");function Ao(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var lu=["history","path","basename","stem","extname","dirname"],ua=class{constructor(n){let e;n?typeof n=="string"||(0,Lp.default)(n)?e={value:n}:Ao(n)?e={path:n}:e=n:e={},this.data={},this.messages=[],this.history=[],this.cwd=au.default.cwd(),this.value,this.stored,this.result,this.map;let s=-1;for(;++s<lu.length;){let f=lu[s];f in e&&e[f]!==void 0&&(this[f]=f==="history"?[...e[f]]:e[f])}let o;for(o in e)lu.includes(o)||(this[o]=e[o])}get path(){return this.history[this.history.length-1]}set path(n){Ao(n)&&(n=(0,ou.fileURLToPath)(n)),uu(n,"path"),this.path!==n&&this.history.push(n)}get dirname(){return typeof this.path=="string"?li.default.dirname(this.path):void 0}set dirname(n){Np(this.basename,"dirname"),this.path=li.default.join(n||"",this.basename)}get basename(){return typeof this.path=="string"?li.default.basename(this.path):void 0}set basename(n){uu(n,"basename"),fu(n,"basename"),this.path=li.default.join(this.dirname||"",n)}get extname(){return typeof this.path=="string"?li.default.extname(this.path):void 0}set extname(n){if(fu(n,"extname"),Np(this.dirname,"extname"),n){if(n.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=li.default.join(this.dirname,this.stem+(n||""))}get stem(){return typeof this.path=="string"?li.default.basename(this.path,this.extname):void 0}set stem(n){uu(n,"stem"),fu(n,"stem"),this.path=li.default.join(this.dirname||"",n+(this.extname||""))}toString(n){return(this.value||"").toString(n)}message(n,e,s){let o=new Fr(n,e,s);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}info(n,e,s){let o=this.message(n,e,s);return o.fatal=null,o}fail(n,e,s){let o=this.message(n,e,s);throw o.fatal=!0,o}};function fu(t,n){if(t&&t.includes(li.default.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+li.default.sep+"`")}function uu(t,n){if(!t)throw new Error("`"+n+"` cannot be empty")}function Np(t,n){if(!t)throw new Error("Setting `"+n+"` requires `path` to be set too")}var mu=Up().freeze(),Vp={}.hasOwnProperty;function Up(){let t=Op(),n=[],e={},s,o=-1;return f.data=h,f.Parser=void 0,f.Compiler=void 0,f.freeze=v,f.attachers=n,f.use=b,f.parse=A,f.stringify=w,f.run=T,f.runSync=N,f.process=R,f.processSync=L,f;function f(){let V=Up(),G=-1;for(;++G<n.length;)V.use(...n[G]);return V.data((0,pu.default)(!0,{},e)),V}function h(V,G){return typeof V=="string"?arguments.length===2?(du("data",s),e[V]=G,f):Vp.call(e,V)&&e[V]||null:V?(du("data",s),e=V,f):e}function v(){if(s)return f;for(;++o<n.length;){let[V,...G]=n[o];if(G[0]===!1)continue;G[0]===!0&&(G[0]=void 0);let K=V.call(f,...G);typeof K=="function"&&t.use(K)}return s=!0,o=Number.POSITIVE_INFINITY,f}function b(V,...G){let K;if(du("use",s),V!=null)if(typeof V=="function")ye(V,...G);else if(typeof V=="object")Array.isArray(V)?xe(V):ce(V);else throw new TypeError("Expected usable value, not `"+V+"`");return K&&(e.settings=Object.assign(e.settings||{},K)),f;function re(le){if(typeof le=="function")ye(le);else if(typeof le=="object")if(Array.isArray(le)){let[de,...Te]=le;ye(de,...Te)}else ce(le);else throw new TypeError("Expected usable value, not `"+le+"`")}function ce(le){xe(le.plugins),le.settings&&(K=Object.assign(K||{},le.settings))}function xe(le){let de=-1;if(le!=null)if(Array.isArray(le))for(;++de<le.length;){let Te=le[de];re(Te)}else throw new TypeError("Expected a list of plugins, not `"+le+"`")}function ye(le,de){let Te=-1,Ae;for(;++Te<n.length;)if(n[Te][0]===le){Ae=n[Te];break}Ae?(fa(Ae[1])&&fa(de)&&(de=(0,pu.default)(!0,Ae[1],de)),Ae[1]=de):n.push([...arguments])}}function A(V){f.freeze();let G=ca(V),K=f.Parser;return cu("parse",K),Mp(K,"parse")?new K(String(G),G).parse():K(String(G),G)}function w(V,G){f.freeze();let K=ca(G),re=f.Compiler;return hu("stringify",re),zp(V),Mp(re,"compile")?new re(V,K).compile():re(V,K)}function T(V,G,K){if(zp(V),f.freeze(),!K&&typeof G=="function"&&(K=G,G=void 0),!K)return new Promise(re);re(null,K);function re(ce,xe){t.run(V,ca(G),ye);function ye(le,de,Te){de=de||V,le?xe(le):ce?ce(de):K(null,de,Te)}}}function N(V,G){let K,re;return f.run(V,G,ce),jp("runSync","run",re),K;function ce(xe,ye){iu(xe),K=ye,re=!0}}function R(V,G){if(f.freeze(),cu("process",f.Parser),hu("process",f.Compiler),!G)return new Promise(K);K(null,G);function K(re,ce){let xe=ca(V);f.run(f.parse(xe),xe,(le,de,Te)=>{if(le||!de||!Te)ye(le);else{let Ae=f.stringify(de,Te);Ae==null||(aw(Ae)?Te.value=Ae:Te.result=Ae),ye(le,Te)}});function ye(le,de){le||!de?ce(le):re?re(de):G(null,de)}}}function L(V){let G;f.freeze(),cu("processSync",f.Parser),hu("processSync",f.Compiler);let K=ca(V);return f.process(K,re),jp("processSync","process",G),K;function re(ce){G=!0,iu(ce)}}}function Mp(t,n){return typeof t=="function"&&t.prototype&&(nw(t.prototype)||n in t.prototype)}function nw(t){let n;for(n in t)if(Vp.call(t,n))return!0;return!1}function cu(t,n){if(typeof n!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function hu(t,n){if(typeof n!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function du(t,n){if(n)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zp(t){if(!fa(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function jp(t,n,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+n+"` instead")}function ca(t){return sw(t)?t:new ua(t)}function sw(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function aw(t){return typeof t=="string"||(0,Bp.default)(t)}function Gp(t,n){var{includeImageAlt:e=!0}=n||{};return Kp(t,e)}function Kp(t,n){return t&&typeof t=="object"&&(t.value||(n?t.alt:"")||"children"in t&&Hp(t.children,n)||Array.isArray(t)&&Hp(t,n))||""}function Hp(t,n){for(var e=[],s=-1;++s<t.length;)e[s]=Kp(t[s],n);return e.join("")}function Mt(t,n,e,s){let o=t.length,f=0,h;if(n<0?n=-n>o?0:o+n:n=n>o?o:n,e=e>0?e:0,s.length<1e4)h=Array.from(s),h.unshift(n,e),[].splice.apply(t,h);else for(e&&[].splice.apply(t,[n,e]);f<s.length;)h=s.slice(f,f+1e4),h.unshift(n,0),[].splice.apply(t,h),f+=1e4,n+=1e4}function Dr(t,n){return t.length>0?(Mt(t,t.length,0,n),t):n}var Wp={}.hasOwnProperty;function xo(t){let n={},e=-1;for(;++e<t.length;)ow(n,t[e]);return n}function ow(t,n){let e;for(e in n){let o=(Wp.call(t,e)?t[e]:void 0)||(t[e]={}),f=n[e],h;for(h in f){Wp.call(o,h)||(o[h]=[]);let v=f[h];lw(o[h],Array.isArray(v)?v:v?[v]:[])}}}function lw(t,n){let e=-1,s=[];for(;++e<n.length;)(n[e].add==="after"?t:s).push(n[e]);Mt(t,0,0,s)}var Jp=/[!-/:-@[-`{-~\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 br=hn(/[A-Za-z]/),qn=hn(/\d/),Qp=hn(/[\dA-Fa-f]/),er=hn(/[\dA-Za-z]/),Zp=hn(/[!-/:-@[-`{-~]/),gu=hn(/[#-'*+\--9=?A-Z^-~]/);function cn(t){return t!==null&&(t<32||t===127)}function ut(t){return t!==null&&(t<0||t===32)}function ge(t){return t!==null&&t<-2}function et(t){return t===-2||t===-1||t===32}var Rn=hn(/\s/),Nn=hn(Jp);function hn(t){return n;function n(e){return e!==null&&t.test(String.fromCharCode(e))}}function Fe(t,n,e,s){let o=s?s-1:Number.POSITIVE_INFINITY,f=0;return h;function h(b){return et(b)?(t.enter(e),v(b)):n(b)}function v(b){return et(b)&&f++<o?(t.consume(b),v):(t.exit(e),n(b))}}var Xp={tokenize:fw};function fw(t){let n=t.attempt(this.parser.constructs.contentInitial,s,o),e;return n;function s(v){if(v===null){t.consume(v);return}return t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),Fe(t,n,"linePrefix")}function o(v){return t.enter("paragraph"),f(v)}function f(v){let b=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=b),e=b,h(v)}function h(v){if(v===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(v);return}return ge(v)?(t.consume(v),t.exit("chunkText"),f):(t.consume(v),h)}}var em={tokenize:uw},Yp={tokenize:cw};function uw(t){let n=this,e=[],s=0,o,f,h;return v;function v(ce){if(s<e.length){let xe=e[s];return n.containerState=xe[1],t.attempt(xe[0].continuation,b,A)(ce)}return A(ce)}function b(ce){if(s++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,o&&re();let xe=n.events.length,ye=xe,le;for(;ye--;)if(n.events[ye][0]==="exit"&&n.events[ye][1].type==="chunkFlow"){le=n.events[ye][1].end;break}K(s);let de=xe;for(;de<n.events.length;)n.events[de][1].end=Object.assign({},le),de++;return Mt(n.events,ye+1,0,n.events.slice(xe)),n.events.length=de,A(ce)}return v(ce)}function A(ce){if(s===e.length){if(!o)return N(ce);if(o.currentConstruct&&o.currentConstruct.concrete)return L(ce);n.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return n.containerState={},t.check(Yp,w,T)(ce)}function w(ce){return o&&re(),K(s),N(ce)}function T(ce){return n.parser.lazy[n.now().line]=s!==e.length,h=n.now().offset,L(ce)}function N(ce){return n.containerState={},t.attempt(Yp,R,L)(ce)}function R(ce){return s++,e.push([n.currentConstruct,n.containerState]),N(ce)}function L(ce){if(ce===null){o&&re(),K(0),t.consume(ce);return}return o=o||n.parser.flow(n.now()),t.enter("chunkFlow",{contentType:"flow",previous:f,_tokenizer:o}),V(ce)}function V(ce){if(ce===null){G(t.exit("chunkFlow"),!0),K(0),t.consume(ce);return}return ge(ce)?(t.consume(ce),G(t.exit("chunkFlow")),s=0,n.interrupt=void 0,v):(t.consume(ce),V)}function G(ce,xe){let ye=n.sliceStream(ce);if(xe&&ye.push(null),ce.previous=f,f&&(f.next=ce),f=ce,o.defineSkip(ce.start),o.write(ye),n.parser.lazy[ce.start.line]){let le=o.events.length;for(;le--;)if(o.events[le][1].start.offset<h&&(!o.events[le][1].end||o.events[le][1].end.offset>h))return;let de=n.events.length,Te=de,Ae,Ze;for(;Te--;)if(n.events[Te][0]==="exit"&&n.events[Te][1].type==="chunkFlow"){if(Ae){Ze=n.events[Te][1].end;break}Ae=!0}for(K(s),le=de;le<n.events.length;)n.events[le][1].end=Object.assign({},Ze),le++;Mt(n.events,Te+1,0,n.events.slice(de)),n.events.length=le}}function K(ce){let xe=e.length;for(;xe-- >ce;){let ye=e[xe];n.containerState=ye[1],ye[0].exit.call(n,t)}e.length=ce}function re(){o.write([null]),f=void 0,o=void 0,n.containerState._closeFlow=void 0}}function cw(t,n,e){return Fe(t,t.attempt(this.parser.constructs.document,n,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ps(t){if(t===null||ut(t)||Rn(t))return 1;if(Nn(t))return 2}function dn(t,n,e){let s=[],o=-1;for(;++o<t.length;){let f=t[o].resolveAll;f&&!s.includes(f)&&(n=f(n,e),s.push(f))}return n}var ha={name:"attention",tokenize:dw,resolveAll:hw};function hw(t,n){let e=-1,s,o,f,h,v,b,A,w;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(s=e;s--;)if(t[s][0]==="exit"&&t[s][1].type==="attentionSequence"&&t[s][1]._open&&n.sliceSerialize(t[s][1]).charCodeAt(0)===n.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[s][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[s][1].end.offset-t[s][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;b=t[s][1].end.offset-t[s][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let T=Object.assign({},t[s][1].end),N=Object.assign({},t[e][1].start);tm(T,-b),tm(N,b),h={type:b>1?"strongSequence":"emphasisSequence",start:T,end:Object.assign({},t[s][1].end)},v={type:b>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:N},f={type:b>1?"strongText":"emphasisText",start:Object.assign({},t[s][1].end),end:Object.assign({},t[e][1].start)},o={type:b>1?"strong":"emphasis",start:Object.assign({},h.start),end:Object.assign({},v.end)},t[s][1].end=Object.assign({},h.start),t[e][1].start=Object.assign({},v.end),A=[],t[s][1].end.offset-t[s][1].start.offset&&(A=Dr(A,[["enter",t[s][1],n],["exit",t[s][1],n]])),A=Dr(A,[["enter",o,n],["enter",h,n],["exit",h,n],["enter",f,n]]),A=Dr(A,dn(n.parser.constructs.insideSpan.null,t.slice(s+1,e),n)),A=Dr(A,[["exit",f,n],["enter",v,n],["exit",v,n],["exit",o,n]]),t[e][1].end.offset-t[e][1].start.offset?(w=2,A=Dr(A,[["enter",t[e][1],n],["exit",t[e][1],n]])):w=0,Mt(t,s-1,e-s+3,A),e=s+A.length-w-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function dw(t,n){let e=this.parser.constructs.attentionMarkers.null,s=this.previous,o=ps(s),f;return h;function h(b){return t.enter("attentionSequence"),f=b,v(b)}function v(b){if(b===f)return t.consume(b),v;let A=t.exit("attentionSequence"),w=ps(b),T=!w||w===2&&o||e.includes(b),N=!o||o===2&&w||e.includes(s);return A._open=Boolean(f===42?T:T&&(o||!N)),A._close=Boolean(f===42?N:N&&(w||!T)),n(b)}}function tm(t,n){t.column+=n,t.offset+=n,t._bufferIndex+=n}var yu={name:"autolink",tokenize:pw};function pw(t,n,e){let s=1;return o;function o(L){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(L),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),f}function f(L){return br(L)?(t.consume(L),h):gu(L)?A(L):e(L)}function h(L){return L===43||L===45||L===46||er(L)?v(L):A(L)}function v(L){return L===58?(t.consume(L),b):(L===43||L===45||L===46||er(L))&&s++<32?(t.consume(L),v):A(L)}function b(L){return L===62?(t.exit("autolinkProtocol"),R(L)):L===null||L===32||L===60||cn(L)?e(L):(t.consume(L),b)}function A(L){return L===64?(t.consume(L),s=0,w):gu(L)?(t.consume(L),A):e(L)}function w(L){return er(L)?T(L):e(L)}function T(L){return L===46?(t.consume(L),s=0,w):L===62?(t.exit("autolinkProtocol").type="autolinkEmail",R(L)):N(L)}function N(L){return(L===45||er(L))&&s++<63?(t.consume(L),L===45?N:T):e(L)}function R(L){return t.enter("autolinkMarker"),t.consume(L),t.exit("autolinkMarker"),t.exit("autolink"),n}}var Mi={tokenize:mw,partial:!0};function mw(t,n,e){return Fe(t,s,"linePrefix");function s(o){return o===null||ge(o)?n(o):e(o)}}var ko={name:"blockQuote",tokenize:gw,continuation:{tokenize:yw},exit:vw};function gw(t,n,e){let s=this;return o;function o(h){if(h===62){let v=s.containerState;return v.open||(t.enter("blockQuote",{_container:!0}),v.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(h),t.exit("blockQuoteMarker"),f}return e(h)}function f(h){return et(h)?(t.enter("blockQuotePrefixWhitespace"),t.consume(h),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),n):(t.exit("blockQuotePrefix"),n(h))}}function yw(t,n,e){return Fe(t,t.attempt(ko,n,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function vw(t){t.exit("blockQuote")}var Co={name:"characterEscape",tokenize:bw};function bw(t,n,e){return s;function s(f){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(f),t.exit("escapeMarker"),o}function o(f){return Zp(f)?(t.enter("characterEscapeValue"),t.consume(f),t.exit("characterEscapeValue"),t.exit("characterEscape"),n):e(f)}}var vu={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:`
23
+ `,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 ww={}.hasOwnProperty;function ms(t){return ww.call(vu,t)?vu[t]:!1}var _o={name:"characterReference",tokenize:$w};function $w(t,n,e){let s=this,o=0,f,h;return v;function v(T){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(T),t.exit("characterReferenceMarker"),b}function b(T){return T===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(T),t.exit("characterReferenceMarkerNumeric"),A):(t.enter("characterReferenceValue"),f=31,h=er,w(T))}function A(T){return T===88||T===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(T),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),f=6,h=Qp,w):(t.enter("characterReferenceValue"),f=7,h=qn,w(T))}function w(T){let N;return T===59&&o?(N=t.exit("characterReferenceValue"),h===er&&!ms(s.sliceSerialize(N))?e(T):(t.enter("characterReferenceMarker"),t.consume(T),t.exit("characterReferenceMarker"),t.exit("characterReference"),n)):h(T)&&o++<f?(t.consume(T),w):e(T)}}var Eo={name:"codeFenced",tokenize:Aw,concrete:!0};function Aw(t,n,e){let s=this,o={tokenize:ye,partial:!0},f={tokenize:xe,partial:!0},h=this.events[this.events.length-1],v=h&&h[1].type==="linePrefix"?h[2].sliceSerialize(h[1],!0).length:0,b=0,A;return w;function w(le){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),A=le,T(le)}function T(le){return le===A?(t.consume(le),b++,T):(t.exit("codeFencedFenceSequence"),b<3?e(le):Fe(t,N,"whitespace")(le))}function N(le){return le===null||ge(le)?G(le):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),R(le))}function R(le){return le===null||ut(le)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Fe(t,L,"whitespace")(le)):le===96&&le===A?e(le):(t.consume(le),R)}function L(le){return le===null||ge(le)?G(le):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),V(le))}function V(le){return le===null||ge(le)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),G(le)):le===96&&le===A?e(le):(t.consume(le),V)}function G(le){return t.exit("codeFencedFence"),s.interrupt?n(le):K(le)}function K(le){return le===null?ce(le):ge(le)?t.attempt(f,t.attempt(o,ce,v?Fe(t,K,"linePrefix",v+1):K),ce)(le):(t.enter("codeFlowValue"),re(le))}function re(le){return le===null||ge(le)?(t.exit("codeFlowValue"),K(le)):(t.consume(le),re)}function ce(le){return t.exit("codeFenced"),n(le)}function xe(le,de,Te){let Ae=this;return Ze;function Ze(ze){return le.enter("lineEnding"),le.consume(ze),le.exit("lineEnding"),qe}function qe(ze){return Ae.parser.lazy[Ae.now().line]?Te(ze):de(ze)}}function ye(le,de,Te){let Ae=0;return Fe(le,Ze,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Ze(we){return le.enter("codeFencedFence"),le.enter("codeFencedFenceSequence"),qe(we)}function qe(we){return we===A?(le.consume(we),Ae++,qe):Ae<b?Te(we):(le.exit("codeFencedFenceSequence"),Fe(le,ze,"whitespace")(we))}function ze(we){return we===null||ge(we)?(le.exit("codeFencedFence"),de(we)):Te(we)}}}var da={name:"codeIndented",tokenize:kw},xw={tokenize:Cw,partial:!0};function kw(t,n,e){let s=this;return o;function o(A){return t.enter("codeIndented"),Fe(t,f,"linePrefix",4+1)(A)}function f(A){let w=s.events[s.events.length-1];return w&&w[1].type==="linePrefix"&&w[2].sliceSerialize(w[1],!0).length>=4?h(A):e(A)}function h(A){return A===null?b(A):ge(A)?t.attempt(xw,h,b)(A):(t.enter("codeFlowValue"),v(A))}function v(A){return A===null||ge(A)?(t.exit("codeFlowValue"),h(A)):(t.consume(A),v)}function b(A){return t.exit("codeIndented"),n(A)}}function Cw(t,n,e){let s=this;return o;function o(h){return s.parser.lazy[s.now().line]?e(h):ge(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),o):Fe(t,f,"linePrefix",4+1)(h)}function f(h){let v=s.events[s.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?n(h):ge(h)?o(h):e(h)}}var bu={name:"codeText",tokenize:Sw,resolve:_w,previous:Ew};function _w(t){let n=t.length-4,e=3,s,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[n][1].type==="lineEnding"||t[n][1].type==="space")){for(s=e;++s<n;)if(t[s][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[n][1].type="codeTextPadding",e+=2,n-=2;break}}for(s=e-1,n++;++s<=n;)o===void 0?s!==n&&t[s][1].type!=="lineEnding"&&(o=s):(s===n||t[s][1].type==="lineEnding")&&(t[o][1].type="codeTextData",s!==o+2&&(t[o][1].end=t[s-1][1].end,t.splice(o+2,s-o-2),n-=s-o-2,s=o+2),o=void 0);return t}function Ew(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Sw(t,n,e){let s=this,o=0,f,h;return v;function v(N){return t.enter("codeText"),t.enter("codeTextSequence"),b(N)}function b(N){return N===96?(t.consume(N),o++,b):(t.exit("codeTextSequence"),A(N))}function A(N){return N===null?e(N):N===96?(h=t.enter("codeTextSequence"),f=0,T(N)):N===32?(t.enter("space"),t.consume(N),t.exit("space"),A):ge(N)?(t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),A):(t.enter("codeTextData"),w(N))}function w(N){return N===null||N===32||N===96||ge(N)?(t.exit("codeTextData"),A(N)):(t.consume(N),w)}function T(N){return N===96?(t.consume(N),f++,T):f===o?(t.exit("codeTextSequence"),t.exit("codeText"),n(N)):(h.type="codeTextData",w(N))}}function So(t){let n={},e=-1,s,o,f,h,v,b,A;for(;++e<t.length;){for(;e in n;)e=n[e];if(s=t[e],e&&s[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(b=s[1]._tokenizer.events,f=0,f<b.length&&b[f][1].type==="lineEndingBlank"&&(f+=2),f<b.length&&b[f][1].type==="content"))for(;++f<b.length&&b[f][1].type!=="content";)b[f][1].type==="chunkText"&&(b[f][1]._isInFirstContentOfListItem=!0,f++);if(s[0]==="enter")s[1].contentType&&(Object.assign(n,Tw(t,e)),e=n[e],A=!0);else if(s[1]._container){for(f=e,o=void 0;f--&&(h=t[f],h[1].type==="lineEnding"||h[1].type==="lineEndingBlank");)h[0]==="enter"&&(o&&(t[o][1].type="lineEndingBlank"),h[1].type="lineEnding",o=f);o&&(s[1].end=Object.assign({},t[o][1].start),v=t.slice(o,e),v.unshift(s),Mt(t,o,e-o+1,v))}}return!A}function Tw(t,n){let e=t[n][1],s=t[n][2],o=n-1,f=[],h=e._tokenizer||s.parser[e.contentType](e.start),v=h.events,b=[],A={},w,T,N=-1,R=e,L=0,V=0,G=[V];for(;R;){for(;t[++o][1]!==R;);f.push(o),R._tokenizer||(w=s.sliceStream(R),R.next||w.push(null),T&&h.defineSkip(R.start),R._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(w),R._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),T=R,R=R.next}for(R=e;++N<v.length;)v[N][0]==="exit"&&v[N-1][0]==="enter"&&v[N][1].type===v[N-1][1].type&&v[N][1].start.line!==v[N][1].end.line&&(V=N+1,G.push(V),R._tokenizer=void 0,R.previous=void 0,R=R.next);for(h.events=[],R?(R._tokenizer=void 0,R.previous=void 0):G.pop(),N=G.length;N--;){let K=v.slice(G[N],G[N+1]),re=f.pop();b.unshift([re,re+K.length-1]),Mt(t,re,2,K)}for(N=-1;++N<b.length;)A[L+b[N][0]]=L+b[N][1],L+=b[N][1]-b[N][0]-1;return A}var wu={tokenize:Dw,resolve:Fw},Pw={tokenize:Iw,partial:!0};function Fw(t){return So(t),t}function Dw(t,n){let e;return s;function s(v){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),o(v)}function o(v){return v===null?f(v):ge(v)?t.check(Pw,h,f)(v):(t.consume(v),o)}function f(v){return t.exit("chunkContent"),t.exit("content"),n(v)}function h(v){return t.consume(v),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,o}}function Iw(t,n,e){let s=this;return o;function o(h){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),Fe(t,f,"linePrefix")}function f(h){if(h===null||ge(h))return e(h);let v=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?n(h):t.interrupt(s.parser.constructs.flow,e,n)(h)}}function To(t,n,e,s,o,f,h,v,b){let A=b||Number.POSITIVE_INFINITY,w=0;return T;function T(K){return K===60?(t.enter(s),t.enter(o),t.enter(f),t.consume(K),t.exit(f),N):K===null||K===41||cn(K)?e(K):(t.enter(s),t.enter(h),t.enter(v),t.enter("chunkString",{contentType:"string"}),V(K))}function N(K){return K===62?(t.enter(f),t.consume(K),t.exit(f),t.exit(o),t.exit(s),n):(t.enter(v),t.enter("chunkString",{contentType:"string"}),R(K))}function R(K){return K===62?(t.exit("chunkString"),t.exit(v),N(K)):K===null||K===60||ge(K)?e(K):(t.consume(K),K===92?L:R)}function L(K){return K===60||K===62||K===92?(t.consume(K),R):R(K)}function V(K){return K===40?++w>A?e(K):(t.consume(K),V):K===41?w--?(t.consume(K),V):(t.exit("chunkString"),t.exit(v),t.exit(h),t.exit(s),n(K)):K===null||ut(K)?w?e(K):(t.exit("chunkString"),t.exit(v),t.exit(h),t.exit(s),n(K)):cn(K)?e(K):(t.consume(K),K===92?G:V)}function G(K){return K===40||K===41||K===92?(t.consume(K),V):V(K)}}function Po(t,n,e,s,o,f){let h=this,v=0,b;return A;function A(R){return t.enter(s),t.enter(o),t.consume(R),t.exit(o),t.enter(f),w}function w(R){return R===null||R===91||R===93&&!b||R===94&&!v&&"_hiddenFootnoteSupport"in h.parser.constructs||v>999?e(R):R===93?(t.exit(f),t.enter(o),t.consume(R),t.exit(o),t.exit(s),n):ge(R)?(t.enter("lineEnding"),t.consume(R),t.exit("lineEnding"),w):(t.enter("chunkString",{contentType:"string"}),T(R))}function T(R){return R===null||R===91||R===93||ge(R)||v++>999?(t.exit("chunkString"),w(R)):(t.consume(R),b=b||!et(R),R===92?N:T)}function N(R){return R===91||R===92||R===93?(t.consume(R),v++,T):T(R)}}function Fo(t,n,e,s,o,f){let h;return v;function v(N){return t.enter(s),t.enter(o),t.consume(N),t.exit(o),h=N===40?41:N,b}function b(N){return N===h?(t.enter(o),t.consume(N),t.exit(o),t.exit(s),n):(t.enter(f),A(N))}function A(N){return N===h?(t.exit(f),b(h)):N===null?e(N):ge(N)?(t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),Fe(t,A,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),w(N))}function w(N){return N===h||N===null||ge(N)?(t.exit("chunkString"),A(N)):(t.consume(N),N===92?T:w)}function T(N){return N===h||N===92?(t.consume(N),w):w(N)}}function Ln(t,n){let e;return s;function s(o){return ge(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e=!0,s):et(o)?Fe(t,s,e?"linePrefix":"lineSuffix")(o):n(o)}}function wr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var $u={name:"definition",tokenize:qw},Ow={tokenize:Rw,partial:!0};function qw(t,n,e){let s=this,o;return f;function f(b){return t.enter("definition"),Po.call(s,t,h,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function h(b){return o=wr(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),b===58?(t.enter("definitionMarker"),t.consume(b),t.exit("definitionMarker"),Ln(t,To(t,t.attempt(Ow,Fe(t,v,"whitespace"),Fe(t,v,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(b)}function v(b){return b===null||ge(b)?(t.exit("definition"),s.parser.defined.includes(o)||s.parser.defined.push(o),n(b)):e(b)}}function Rw(t,n,e){return s;function s(h){return ut(h)?Ln(t,o)(h):e(h)}function o(h){return h===34||h===39||h===40?Fo(t,Fe(t,f,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(h):e(h)}function f(h){return h===null||ge(h)?n(h):e(h)}}var Au={name:"hardBreakEscape",tokenize:Nw};function Nw(t,n,e){return s;function s(f){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(f),o}function o(f){return ge(f)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),n(f)):e(f)}}var xu={name:"headingAtx",tokenize:Mw,resolve:Lw};function Lw(t,n){let e=t.length-2,s=3,o,f;return t[s][1].type==="whitespace"&&(s+=2),e-2>s&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(s===e-1||e-4>s&&t[e-2][1].type==="whitespace")&&(e-=s+1===e?2:4),e>s&&(o={type:"atxHeadingText",start:t[s][1].start,end:t[e][1].end},f={type:"chunkText",start:t[s][1].start,end:t[e][1].end,contentType:"text"},Mt(t,s,e-s+1,[["enter",o,n],["enter",f,n],["exit",f,n],["exit",o,n]])),t}function Mw(t,n,e){let s=this,o=0;return f;function f(w){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),h(w)}function h(w){return w===35&&o++<6?(t.consume(w),h):w===null||ut(w)?(t.exit("atxHeadingSequence"),s.interrupt?n(w):v(w)):e(w)}function v(w){return w===35?(t.enter("atxHeadingSequence"),b(w)):w===null||ge(w)?(t.exit("atxHeading"),n(w)):et(w)?Fe(t,v,"whitespace")(w):(t.enter("atxHeadingText"),A(w))}function b(w){return w===35?(t.consume(w),b):(t.exit("atxHeadingSequence"),v(w))}function A(w){return w===null||w===35||ut(w)?(t.exit("atxHeadingText"),v(w)):(t.consume(w),A)}}var rm=["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"],ku=["pre","script","style","textarea"];var Cu={name:"htmlFlow",tokenize:Bw,resolveTo:jw,concrete:!0},zw={tokenize:Vw,partial:!0};function jw(t){let n=t.length;for(;n--&&!(t[n][0]==="enter"&&t[n][1].type==="htmlFlow"););return n>1&&t[n-2][1].type==="linePrefix"&&(t[n][1].start=t[n-2][1].start,t[n+1][1].start=t[n-2][1].start,t.splice(n-2,2)),t}function Bw(t,n,e){let s=this,o,f,h,v,b;return A;function A(J){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(J),w}function w(J){return J===33?(t.consume(J),T):J===47?(t.consume(J),L):J===63?(t.consume(J),o=3,s.interrupt?n:_t):br(J)?(t.consume(J),h=String.fromCharCode(J),f=!0,V):e(J)}function T(J){return J===45?(t.consume(J),o=2,N):J===91?(t.consume(J),o=5,h="CDATA[",v=0,R):br(J)?(t.consume(J),o=4,s.interrupt?n:_t):e(J)}function N(J){return J===45?(t.consume(J),s.interrupt?n:_t):e(J)}function R(J){return J===h.charCodeAt(v++)?(t.consume(J),v===h.length?s.interrupt?n:qe:R):e(J)}function L(J){return br(J)?(t.consume(J),h=String.fromCharCode(J),V):e(J)}function V(J){return J===null||J===47||J===62||ut(J)?J!==47&&f&&ku.includes(h.toLowerCase())?(o=1,s.interrupt?n(J):qe(J)):rm.includes(h.toLowerCase())?(o=6,J===47?(t.consume(J),G):s.interrupt?n(J):qe(J)):(o=7,s.interrupt&&!s.parser.lazy[s.now().line]?e(J):f?re(J):K(J)):J===45||er(J)?(t.consume(J),h+=String.fromCharCode(J),V):e(J)}function G(J){return J===62?(t.consume(J),s.interrupt?n:qe):e(J)}function K(J){return et(J)?(t.consume(J),K):Ae(J)}function re(J){return J===47?(t.consume(J),Ae):J===58||J===95||br(J)?(t.consume(J),ce):et(J)?(t.consume(J),re):Ae(J)}function ce(J){return J===45||J===46||J===58||J===95||er(J)?(t.consume(J),ce):xe(J)}function xe(J){return J===61?(t.consume(J),ye):et(J)?(t.consume(J),xe):re(J)}function ye(J){return J===null||J===60||J===61||J===62||J===96?e(J):J===34||J===39?(t.consume(J),b=J,le):et(J)?(t.consume(J),ye):(b=null,de(J))}function le(J){return J===null||ge(J)?e(J):J===b?(t.consume(J),Te):(t.consume(J),le)}function de(J){return J===null||J===34||J===39||J===60||J===61||J===62||J===96||ut(J)?xe(J):(t.consume(J),de)}function Te(J){return J===47||J===62||et(J)?re(J):e(J)}function Ae(J){return J===62?(t.consume(J),Ze):e(J)}function Ze(J){return et(J)?(t.consume(J),Ze):J===null||ge(J)?qe(J):e(J)}function qe(J){return J===45&&o===2?(t.consume(J),nt):J===60&&o===1?(t.consume(J),ne):J===62&&o===4?(t.consume(J),ct):J===63&&o===3?(t.consume(J),_t):J===93&&o===5?(t.consume(J),st):ge(J)&&(o===6||o===7)?t.check(zw,ct,ze)(J):J===null||ge(J)?ze(J):(t.consume(J),qe)}function ze(J){return t.exit("htmlFlowData"),we(J)}function we(J){return J===null?W(J):ge(J)?t.attempt({tokenize:Re,partial:!0},we,W)(J):(t.enter("htmlFlowData"),qe(J))}function Re(J,xr,Ht){return Ft;function Ft(Rt){return J.enter("lineEnding"),J.consume(Rt),J.exit("lineEnding"),zt}function zt(Rt){return s.parser.lazy[s.now().line]?Ht(Rt):xr(Rt)}}function nt(J){return J===45?(t.consume(J),_t):qe(J)}function ne(J){return J===47?(t.consume(J),h="",Ct):qe(J)}function Ct(J){return J===62&&ku.includes(h.toLowerCase())?(t.consume(J),ct):br(J)&&h.length<8?(t.consume(J),h+=String.fromCharCode(J),Ct):qe(J)}function st(J){return J===93?(t.consume(J),_t):qe(J)}function _t(J){return J===62?(t.consume(J),ct):J===45&&o===2?(t.consume(J),_t):qe(J)}function ct(J){return J===null||ge(J)?(t.exit("htmlFlowData"),W(J)):(t.consume(J),ct)}function W(J){return t.exit("htmlFlow"),n(J)}}function Vw(t,n,e){return s;function s(o){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),t.attempt(Mi,n,e)}}var _u={name:"htmlText",tokenize:Uw};function Uw(t,n,e){let s=this,o,f,h,v;return b;function b(W){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(W),A}function A(W){return W===33?(t.consume(W),w):W===47?(t.consume(W),de):W===63?(t.consume(W),ye):br(W)?(t.consume(W),Ze):e(W)}function w(W){return W===45?(t.consume(W),T):W===91?(t.consume(W),f="CDATA[",h=0,G):br(W)?(t.consume(W),xe):e(W)}function T(W){return W===45?(t.consume(W),N):e(W)}function N(W){return W===null||W===62?e(W):W===45?(t.consume(W),R):L(W)}function R(W){return W===null||W===62?e(W):L(W)}function L(W){return W===null?e(W):W===45?(t.consume(W),V):ge(W)?(v=L,st(W)):(t.consume(W),L)}function V(W){return W===45?(t.consume(W),ct):L(W)}function G(W){return W===f.charCodeAt(h++)?(t.consume(W),h===f.length?K:G):e(W)}function K(W){return W===null?e(W):W===93?(t.consume(W),re):ge(W)?(v=K,st(W)):(t.consume(W),K)}function re(W){return W===93?(t.consume(W),ce):K(W)}function ce(W){return W===62?ct(W):W===93?(t.consume(W),ce):K(W)}function xe(W){return W===null||W===62?ct(W):ge(W)?(v=xe,st(W)):(t.consume(W),xe)}function ye(W){return W===null?e(W):W===63?(t.consume(W),le):ge(W)?(v=ye,st(W)):(t.consume(W),ye)}function le(W){return W===62?ct(W):ye(W)}function de(W){return br(W)?(t.consume(W),Te):e(W)}function Te(W){return W===45||er(W)?(t.consume(W),Te):Ae(W)}function Ae(W){return ge(W)?(v=Ae,st(W)):et(W)?(t.consume(W),Ae):ct(W)}function Ze(W){return W===45||er(W)?(t.consume(W),Ze):W===47||W===62||ut(W)?qe(W):e(W)}function qe(W){return W===47?(t.consume(W),ct):W===58||W===95||br(W)?(t.consume(W),ze):ge(W)?(v=qe,st(W)):et(W)?(t.consume(W),qe):ct(W)}function ze(W){return W===45||W===46||W===58||W===95||er(W)?(t.consume(W),ze):we(W)}function we(W){return W===61?(t.consume(W),Re):ge(W)?(v=we,st(W)):et(W)?(t.consume(W),we):qe(W)}function Re(W){return W===null||W===60||W===61||W===62||W===96?e(W):W===34||W===39?(t.consume(W),o=W,nt):ge(W)?(v=Re,st(W)):et(W)?(t.consume(W),Re):(t.consume(W),o=void 0,Ct)}function nt(W){return W===o?(t.consume(W),ne):W===null?e(W):ge(W)?(v=nt,st(W)):(t.consume(W),nt)}function ne(W){return W===62||W===47||ut(W)?qe(W):e(W)}function Ct(W){return W===null||W===34||W===39||W===60||W===61||W===96?e(W):W===62||ut(W)?qe(W):(t.consume(W),Ct)}function st(W){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(W),t.exit("lineEnding"),Fe(t,_t,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _t(W){return t.enter("htmlTextData"),v(W)}function ct(W){return W===62?(t.consume(W),t.exit("htmlTextData"),t.exit("htmlText"),n):e(W)}}var Mn={name:"labelEnd",tokenize:Qw,resolveTo:Jw,resolveAll:Ww},Hw={tokenize:Zw},Gw={tokenize:Xw},Kw={tokenize:Yw};function Ww(t){let n=-1,e;for(;++n<t.length;)e=t[n][1],(e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd")&&(t.splice(n+1,e.type==="labelImage"?4:2),e.type="data",n++);return t}function Jw(t,n){let e=t.length,s=0,o,f,h,v;for(;e--;)if(o=t[e][1],f){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[e][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(h){if(t[e][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(f=e,o.type!=="labelLink")){s=2;break}}else o.type==="labelEnd"&&(h=e);let b={type:t[f][1].type==="labelLink"?"link":"image",start:Object.assign({},t[f][1].start),end:Object.assign({},t[t.length-1][1].end)},A={type:"label",start:Object.assign({},t[f][1].start),end:Object.assign({},t[h][1].end)},w={type:"labelText",start:Object.assign({},t[f+s+2][1].end),end:Object.assign({},t[h-2][1].start)};return v=[["enter",b,n],["enter",A,n]],v=Dr(v,t.slice(f+1,f+s+3)),v=Dr(v,[["enter",w,n]]),v=Dr(v,dn(n.parser.constructs.insideSpan.null,t.slice(f+s+4,h-3),n)),v=Dr(v,[["exit",w,n],t[h-2],t[h-1],["exit",A,n]]),v=Dr(v,t.slice(h+1)),v=Dr(v,[["exit",b,n]]),Mt(t,f,t.length,v),t}function Qw(t,n,e){let s=this,o=s.events.length,f,h;for(;o--;)if((s.events[o][1].type==="labelImage"||s.events[o][1].type==="labelLink")&&!s.events[o][1]._balanced){f=s.events[o][1];break}return v;function v(w){return f?f._inactive?A(w):(h=s.parser.defined.includes(wr(s.sliceSerialize({start:f.end,end:s.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(w),t.exit("labelMarker"),t.exit("labelEnd"),b):e(w)}function b(w){return w===40?t.attempt(Hw,n,h?n:A)(w):w===91?t.attempt(Gw,n,h?t.attempt(Kw,n,A):A)(w):h?n(w):A(w)}function A(w){return f._balanced=!0,e(w)}}function Zw(t,n,e){return s;function s(b){return t.enter("resource"),t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),Ln(t,o)}function o(b){return b===41?v(b):To(t,f,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function f(b){return ut(b)?Ln(t,h)(b):v(b)}function h(b){return b===34||b===39||b===40?Fo(t,Ln(t,v),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):v(b)}function v(b){return b===41?(t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),t.exit("resource"),n):e(b)}}function Xw(t,n,e){let s=this;return o;function o(h){return Po.call(s,t,f,e,"reference","referenceMarker","referenceString")(h)}function f(h){return s.parser.defined.includes(wr(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?n(h):e(h)}}function Yw(t,n,e){return s;function s(f){return t.enter("reference"),t.enter("referenceMarker"),t.consume(f),t.exit("referenceMarker"),o}function o(f){return f===93?(t.enter("referenceMarker"),t.consume(f),t.exit("referenceMarker"),t.exit("reference"),n):e(f)}}var Eu={name:"labelStartImage",tokenize:e$,resolveAll:Mn.resolveAll};function e$(t,n,e){let s=this;return o;function o(v){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(v),t.exit("labelImageMarker"),f}function f(v){return v===91?(t.enter("labelMarker"),t.consume(v),t.exit("labelMarker"),t.exit("labelImage"),h):e(v)}function h(v){return v===94&&"_hiddenFootnoteSupport"in s.parser.constructs?e(v):n(v)}}var Su={name:"labelStartLink",tokenize:t$,resolveAll:Mn.resolveAll};function t$(t,n,e){let s=this;return o;function o(h){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(h),t.exit("labelMarker"),t.exit("labelLink"),f}function f(h){return h===94&&"_hiddenFootnoteSupport"in s.parser.constructs?e(h):n(h)}}var pa={name:"lineEnding",tokenize:r$};function r$(t,n){return e;function e(s){return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),Fe(t,n,"linePrefix")}}var zn={name:"thematicBreak",tokenize:i$};function i$(t,n,e){let s=0,o;return f;function f(b){return t.enter("thematicBreak"),o=b,h(b)}function h(b){return b===o?(t.enter("thematicBreakSequence"),v(b)):et(b)?Fe(t,h,"whitespace")(b):s<3||b!==null&&!ge(b)?e(b):(t.exit("thematicBreak"),n(b))}function v(b){return b===o?(t.consume(b),s++,v):(t.exit("thematicBreakSequence"),h(b))}}var $r={name:"list",tokenize:a$,continuation:{tokenize:o$},exit:f$},n$={tokenize:u$,partial:!0},s$={tokenize:l$,partial:!0};function a$(t,n,e){let s=this,o=s.events[s.events.length-1],f=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,h=0;return v;function v(R){let L=s.containerState.type||(R===42||R===43||R===45?"listUnordered":"listOrdered");if(L==="listUnordered"?!s.containerState.marker||R===s.containerState.marker:qn(R)){if(s.containerState.type||(s.containerState.type=L,t.enter(L,{_container:!0})),L==="listUnordered")return t.enter("listItemPrefix"),R===42||R===45?t.check(zn,e,A)(R):A(R);if(!s.interrupt||R===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),b(R)}return e(R)}function b(R){return qn(R)&&++h<10?(t.consume(R),b):(!s.interrupt||h<2)&&(s.containerState.marker?R===s.containerState.marker:R===41||R===46)?(t.exit("listItemValue"),A(R)):e(R)}function A(R){return t.enter("listItemMarker"),t.consume(R),t.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||R,t.check(Mi,s.interrupt?e:w,t.attempt(n$,N,T))}function w(R){return s.containerState.initialBlankLine=!0,f++,N(R)}function T(R){return et(R)?(t.enter("listItemPrefixWhitespace"),t.consume(R),t.exit("listItemPrefixWhitespace"),N):e(R)}function N(R){return s.containerState.size=f+s.sliceSerialize(t.exit("listItemPrefix"),!0).length,n(R)}}function o$(t,n,e){let s=this;return s.containerState._closeFlow=void 0,t.check(Mi,o,f);function o(v){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Fe(t,n,"listItemIndent",s.containerState.size+1)(v)}function f(v){return s.containerState.furtherBlankLines||!et(v)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,h(v)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,t.attempt(s$,n,h)(v))}function h(v){return s.containerState._closeFlow=!0,s.interrupt=void 0,Fe(t,t.attempt($r,n,e),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v)}}function l$(t,n,e){let s=this;return Fe(t,o,"listItemIndent",s.containerState.size+1);function o(f){let h=s.events[s.events.length-1];return h&&h[1].type==="listItemIndent"&&h[2].sliceSerialize(h[1],!0).length===s.containerState.size?n(f):e(f)}}function f$(t){t.exit(this.containerState.type)}function u$(t,n,e){let s=this;return Fe(t,o,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function o(f){let h=s.events[s.events.length-1];return!et(f)&&h&&h[1].type==="listItemPrefixWhitespace"?n(f):e(f)}}var Do={name:"setextUnderline",tokenize:h$,resolveTo:c$};function c$(t,n){let e=t.length,s,o,f;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){s=e;break}t[e][1].type==="paragraph"&&(o=e)}else t[e][1].type==="content"&&t.splice(e,1),!f&&t[e][1].type==="definition"&&(f=e);let h={type:"setextHeading",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[o][1].type="setextHeadingText",f?(t.splice(o,0,["enter",h,n]),t.splice(f+1,0,["exit",t[s][1],n]),t[s][1].end=Object.assign({},t[f][1].end)):t[s][1]=h,t.push(["exit",h,n]),t}function h$(t,n,e){let s=this,o=s.events.length,f,h;for(;o--;)if(s.events[o][1].type!=="lineEnding"&&s.events[o][1].type!=="linePrefix"&&s.events[o][1].type!=="content"){h=s.events[o][1].type==="paragraph";break}return v;function v(w){return!s.parser.lazy[s.now().line]&&(s.interrupt||h)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),f=w,b(w)):e(w)}function b(w){return w===f?(t.consume(w),b):(t.exit("setextHeadingLineSequence"),Fe(t,A,"lineSuffix")(w))}function A(w){return w===null||ge(w)?(t.exit("setextHeadingLine"),n(w)):e(w)}}var im={tokenize:d$};function d$(t){let n=this,e=t.attempt(Mi,s,t.attempt(this.parser.constructs.flowInitial,o,Fe(t,t.attempt(this.parser.constructs.flow,o,t.attempt(wu,o)),"linePrefix")));return e;function s(f){if(f===null){t.consume(f);return}return t.enter("lineEndingBlank"),t.consume(f),t.exit("lineEndingBlank"),n.currentConstruct=void 0,e}function o(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),n.currentConstruct=void 0,e}}var nm={resolveAll:lm()},sm=om("string"),am=om("text");function om(t){return{tokenize:n,resolveAll:lm(t==="text"?p$:void 0)};function n(e){let s=this,o=this.parser.constructs[t],f=e.attempt(o,h,v);return h;function h(w){return A(w)?f(w):v(w)}function v(w){if(w===null){e.consume(w);return}return e.enter("data"),e.consume(w),b}function b(w){return A(w)?(e.exit("data"),f(w)):(e.consume(w),b)}function A(w){if(w===null)return!0;let T=o[w],N=-1;if(T)for(;++N<T.length;){let R=T[N];if(!R.previous||R.previous.call(s,s.previous))return!0}return!1}}}function lm(t){return n;function n(e,s){let o=-1,f;for(;++o<=e.length;)f===void 0?e[o]&&e[o][1].type==="data"&&(f=o,o++):(!e[o]||e[o][1].type!=="data")&&(o!==f+2&&(e[f][1].end=e[o-1][1].end,e.splice(f+2,o-f-2),o=f+2),f=void 0);return t?t(e,s):e}}function p$(t,n){let e=0;for(;++e<=t.length;)if((e===t.length||t[e][1].type==="lineEnding")&&t[e-1][1].type==="data"){let s=t[e-1][1],o=n.sliceStream(s),f=o.length,h=-1,v=0,b;for(;f--;){let A=o[f];if(typeof A=="string"){for(h=A.length;A.charCodeAt(h-1)===32;)v++,h--;if(h)break;h=-1}else if(A===-2)b=!0,v++;else if(A!==-1){f++;break}}if(v){let A={type:e===t.length||b||v<2?"lineSuffix":"hardBreakTrailing",start:{line:s.end.line,column:s.end.column-v,offset:s.end.offset-v,_index:s.start._index+f,_bufferIndex:f?h:s.start._bufferIndex+h},end:Object.assign({},s.end)};s.end=Object.assign({},A.start),s.start.offset===s.end.offset?Object.assign(s,A):(t.splice(e,0,["enter",A,n],["exit",A,n]),e+=2)}e++}return t}function fm(t,n,e){let s=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},f=[],h=[],v=[],b=!0,A={consume:xe,enter:ye,exit:le,attempt:Ae(de),check:Ae(Te),interrupt:Ae(Te,{interrupt:!0})},w={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:V,sliceSerialize:L,now:G,defineSkip:K,write:R},T=n.tokenize.call(w,A),N;return n.resolveAll&&f.push(n),w;function R(we){return h=Dr(h,we),re(),h[h.length-1]!==null?[]:(Ze(n,0),w.events=dn(f,w.events,w),w.events)}function L(we,Re){return g$(V(we),Re)}function V(we){return m$(h,we)}function G(){return Object.assign({},s)}function K(we){o[we.line]=we.column,ze()}function re(){let we;for(;s._index<h.length;){let Re=h[s._index];if(typeof Re=="string")for(we=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===we&&s._bufferIndex<Re.length;)ce(Re.charCodeAt(s._bufferIndex));else ce(Re)}}function ce(we){b=void 0,N=we,T=T(we)}function xe(we){ge(we)?(s.line++,s.column=1,s.offset+=we===-3?2:1,ze()):we!==-1&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===h[s._index].length&&(s._bufferIndex=-1,s._index++)),w.previous=we,b=!0}function ye(we,Re){let nt=Re||{};return nt.type=we,nt.start=G(),w.events.push(["enter",nt,w]),v.push(nt),nt}function le(we){let Re=v.pop();return Re.end=G(),w.events.push(["exit",Re,w]),Re}function de(we,Re){Ze(we,Re.from)}function Te(we,Re){Re.restore()}function Ae(we,Re){return nt;function nt(ne,Ct,st){let _t,ct,W,J;return Array.isArray(ne)?Ht(ne):"tokenize"in ne?Ht([ne]):xr(ne);function xr(mt){return kr;function kr(Gt){let fr=Gt!==null&&mt[Gt],Br=Gt!==null&&mt.null,fi=[...Array.isArray(fr)?fr:fr?[fr]:[],...Array.isArray(Br)?Br:Br?[Br]:[]];return Ht(fi)(Gt)}}function Ht(mt){return _t=mt,ct=0,mt.length===0?st:Ft(mt[ct])}function Ft(mt){return kr;function kr(Gt){return J=qe(),W=mt,mt.partial||(w.currentConstruct=mt),mt.name&&w.parser.constructs.disable.null.includes(mt.name)?Rt(Gt):mt.tokenize.call(Re?Object.assign(Object.create(w),Re):w,A,zt,Rt)(Gt)}}function zt(mt){return b=!0,we(W,J),Ct}function Rt(mt){return b=!0,J.restore(),++ct<_t.length?Ft(_t[ct]):st}}}function Ze(we,Re){we.resolveAll&&!f.includes(we)&&f.push(we),we.resolve&&Mt(w.events,Re,w.events.length-Re,we.resolve(w.events.slice(Re),w)),we.resolveTo&&(w.events=we.resolveTo(w.events,w))}function qe(){let we=G(),Re=w.previous,nt=w.currentConstruct,ne=w.events.length,Ct=Array.from(v);return{restore:st,from:ne};function st(){s=we,w.previous=Re,w.currentConstruct=nt,w.events.length=ne,v=Ct,ze()}}function ze(){s.line in o&&s.column<2&&(s.column=o[s.line],s.offset+=o[s.line]-1)}}function m$(t,n){let e=n.start._index,s=n.start._bufferIndex,o=n.end._index,f=n.end._bufferIndex,h;return e===o?h=[t[e].slice(s,f)]:(h=t.slice(e,o),s>-1&&(h[0]=h[0].slice(s)),f>0&&h.push(t[o].slice(0,f))),h}function g$(t,n){let e=-1,s=[],o;for(;++e<t.length;){let f=t[e],h;if(typeof f=="string")h=f;else switch(f){case-5:{h="\r";break}case-4:{h=`
24
+ `;break}case-3:{h=`\r
25
+ `;break}case-2:{h=n?" ":" ";break}case-1:{if(!n&&o)continue;h=" ";break}default:h=String.fromCharCode(f)}o=f===-2,s.push(h)}return s.join("")}var Tu={};xc(Tu,{attentionMarkers:()=>k$,contentInitial:()=>v$,disable:()=>C$,document:()=>y$,flow:()=>w$,flowInitial:()=>b$,insideSpan:()=>x$,string:()=>$$,text:()=>A$});var y$={[42]:$r,[43]:$r,[45]:$r,[48]:$r,[49]:$r,[50]:$r,[51]:$r,[52]:$r,[53]:$r,[54]:$r,[55]:$r,[56]:$r,[57]:$r,[62]:ko},v$={[91]:$u},b$={[-2]:da,[-1]:da,[32]:da},w$={[35]:xu,[42]:zn,[45]:[Do,zn],[60]:Cu,[61]:Do,[95]:zn,[96]:Eo,[126]:Eo},$$={[38]:_o,[92]:Co},A$={[-5]:pa,[-4]:pa,[-3]:pa,[33]:Eu,[38]:_o,[42]:ha,[60]:[yu,_u],[91]:Su,[92]:[Au,Co],[93]:Mn,[95]:ha,[96]:bu},x$={null:[ha,nm]},k$={null:[42,95]},C$={null:[]};function um(t={}){let n=xo([Tu].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:n,content:s(Xp),document:s(em),flow:s(im),string:s(sm),text:s(am)};return e;function s(o){return f;function f(h){return fm(e,o,h)}}}var cm=/[\0\t\n\r]/g;function hm(){let t=1,n="",e=!0,s;return o;function o(f,h,v){let b=[],A,w,T,N,R;for(f=n+f.toString(h),T=0,n="",e&&(f.charCodeAt(0)===65279&&T++,e=void 0);T<f.length;){if(cm.lastIndex=T,A=cm.exec(f),N=A&&A.index!==void 0?A.index:f.length,R=f.charCodeAt(N),!A){n=f.slice(T);break}if(R===10&&T===N&&s)b.push(-3),s=void 0;else switch(s&&(b.push(-5),s=void 0),T<N&&(b.push(f.slice(T,N)),t+=N-T),R){case 0:{b.push(65533),t++;break}case 9:{for(w=Math.ceil(t/4)*4,b.push(-2);t++<w;)b.push(-1);break}case 10:{b.push(-4),t=1;break}default:s=!0,t=1}T=N+1}return v&&(s&&b.push(-5),n&&b.push(n),b.push(null)),b}}function dm(t){for(;!So(t););return t}function Io(t,n){let e=Number.parseInt(t,n);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 _$=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Oo(t){return t.replace(_$,E$)}function E$(t,n,e){if(n)return n;if(e.charCodeAt(0)===35){let o=e.charCodeAt(1),f=o===120||o===88;return Io(e.slice(f?2:1),f?16:10)}return ms(e)||t}var Pu={}.hasOwnProperty,Fu=function(t,n,e){return typeof n!="string"&&(e=n,n=void 0),S$(e)(dm(um(e).document().write(hm()(t,n,!0))))};function S$(t={}){let n=mm({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:b(tr),autolinkProtocol:ze,autolinkEmail:ze,atxHeading:b(Ti),blockQuote:b(Br),characterEscape:ze,characterReference:ze,codeFenced:b(fi),codeFencedFenceInfo:A,codeFencedFenceMeta:A,codeIndented:b(fi,A),codeText:b(ur,A),codeTextData:ze,data:ze,codeFlowValue:ze,definition:b(ui),definitionDestinationString:A,definitionLabelString:A,definitionTitleString:A,emphasis:b(Qr),hardBreakEscape:b(Pi),hardBreakTrailing:b(Pi),htmlFlow:b(ji,A),htmlFlowData:ze,htmlText:b(ji,A),htmlTextData:ze,image:b(fe),label:A,link:b(tr),listItem:b($e),listItemValue:V,listOrdered:b(Bi,L),listUnordered:b(Bi),paragraph:b(ve),reference:zt,referenceString:A,resourceDestinationString:A,resourceTitleString:A,setextHeading:b(Ti),strong:b(_e),thematicBreak:b(jt)},exit:{atxHeading:T(),atxHeadingSequence:Te,autolink:T(),autolinkEmail:fr,autolinkProtocol:Gt,blockQuote:T(),characterEscapeValue:we,characterReferenceMarkerHexadecimal:mt,characterReferenceMarkerNumeric:mt,characterReferenceValue:kr,codeFenced:T(ce),codeFencedFence:re,codeFencedFenceInfo:G,codeFencedFenceMeta:K,codeFlowValue:we,codeIndented:T(xe),codeText:T(st),codeTextData:we,data:we,definition:T(),definitionDestinationString:de,definitionLabelString:ye,definitionTitleString:le,emphasis:T(),hardBreakEscape:T(nt),hardBreakTrailing:T(nt),htmlFlow:T(ne),htmlFlowData:we,htmlText:T(Ct),htmlTextData:we,image:T(ct),label:J,labelText:W,lineEnding:Re,link:T(_t),listItem:T(),listOrdered:T(),listUnordered:T(),paragraph:T(),referenceString:Rt,resourceDestinationString:xr,resourceTitleString:Ht,resource:Ft,setextHeading:T(qe),setextHeadingLineSequence:Ze,setextHeadingText:Ae,strong:T(),thematicBreak:T()}},t.mdastExtensions||[]),e={};return s;function s(Z){let ie={type:"root",children:[]},ue=[ie],he=[],gt=[],Kt={stack:ue,tokenStack:he,config:n,enter:w,exit:N,buffer:A,resume:R,setData:f,getData:h},ht=-1;for(;++ht<Z.length;)if(Z[ht][1].type==="listOrdered"||Z[ht][1].type==="listUnordered")if(Z[ht][0]==="enter")gt.push(ht);else{let St=gt.pop();ht=o(Z,St,ht)}for(ht=-1;++ht<Z.length;){let St=n[Z[ht][0]];Pu.call(St,Z[ht][1].type)&&St[Z[ht][1].type].call(Object.assign({sliceSerialize:Z[ht][2].sliceSerialize},Kt),Z[ht][1])}if(he.length>0){let St=he[he.length-1];(St[1]||pm).call(Kt,void 0,St[0])}for(ie.position={start:v(Z.length>0?Z[0][1].start:{line:1,column:1,offset:0}),end:v(Z.length>0?Z[Z.length-2][1].end:{line:1,column:1,offset:0})},ht=-1;++ht<n.transforms.length;)ie=n.transforms[ht](ie)||ie;return ie}function o(Z,ie,ue){let he=ie-1,gt=-1,Kt=!1,ht,St,Nt,Zr;for(;++he<=ue;){let wt=Z[he];if(wt[1].type==="listUnordered"||wt[1].type==="listOrdered"||wt[1].type==="blockQuote"?(wt[0]==="enter"?gt++:gt--,Zr=void 0):wt[1].type==="lineEndingBlank"?wt[0]==="enter"&&(ht&&!Zr&&!gt&&!Nt&&(Nt=he),Zr=void 0):wt[1].type==="linePrefix"||wt[1].type==="listItemValue"||wt[1].type==="listItemMarker"||wt[1].type==="listItemPrefix"||wt[1].type==="listItemPrefixWhitespace"||(Zr=void 0),!gt&&wt[0]==="enter"&&wt[1].type==="listItemPrefix"||gt===-1&&wt[0]==="exit"&&(wt[1].type==="listUnordered"||wt[1].type==="listOrdered")){if(ht){let Fi=he;for(St=void 0;Fi--;){let Qt=Z[Fi];if(Qt[1].type==="lineEnding"||Qt[1].type==="lineEndingBlank"){if(Qt[0]==="exit")continue;St&&(Z[St][1].type="lineEndingBlank",Kt=!0),Qt[1].type="lineEnding",St=Fi}else if(!(Qt[1].type==="linePrefix"||Qt[1].type==="blockQuotePrefix"||Qt[1].type==="blockQuotePrefixWhitespace"||Qt[1].type==="blockQuoteMarker"||Qt[1].type==="listItemIndent"))break}Nt&&(!St||Nt<St)&&(ht._spread=!0),ht.end=Object.assign({},St?Z[St][1].start:wt[1].end),Z.splice(St||he,0,["exit",ht,wt[2]]),he++,ue++}wt[1].type==="listItemPrefix"&&(ht={type:"listItem",_spread:!1,start:Object.assign({},wt[1].start)},Z.splice(he,0,["enter",ht,wt[2]]),he++,ue++,Nt=void 0,Zr=!0)}}return Z[ie][1]._spread=Kt,ue}function f(Z,ie){e[Z]=ie}function h(Z){return e[Z]}function v(Z){return{line:Z.line,column:Z.column,offset:Z.offset}}function b(Z,ie){return ue;function ue(he){w.call(this,Z(he),he),ie&&ie.call(this,he)}}function A(){this.stack.push({type:"fragment",children:[]})}function w(Z,ie,ue){return this.stack[this.stack.length-1].children.push(Z),this.stack.push(Z),this.tokenStack.push([ie,ue]),Z.position={start:v(ie.start)},Z}function T(Z){return ie;function ie(ue){Z&&Z.call(this,ue),N.call(this,ue)}}function N(Z,ie){let ue=this.stack.pop(),he=this.tokenStack.pop();if(he)he[0].type!==Z.type&&(ie?ie.call(this,Z,he[0]):(he[1]||pm).call(this,Z,he[0]));else throw new Error("Cannot close `"+Z.type+"` ("+On({start:Z.start,end:Z.end})+"): it\u2019s not open");return ue.position.end=v(Z.end),ue}function R(){return Gp(this.stack.pop())}function L(){f("expectingFirstListItemValue",!0)}function V(Z){if(h("expectingFirstListItemValue")){let ie=this.stack[this.stack.length-2];ie.start=Number.parseInt(this.sliceSerialize(Z),10),f("expectingFirstListItemValue")}}function G(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.lang=Z}function K(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.meta=Z}function re(){h("flowCodeInside")||(this.buffer(),f("flowCodeInside",!0))}function ce(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),f("flowCodeInside")}function xe(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z.replace(/(\r?\n|\r)$/g,"")}function ye(Z){let ie=this.resume(),ue=this.stack[this.stack.length-1];ue.label=ie,ue.identifier=wr(this.sliceSerialize(Z)).toLowerCase()}function le(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Z}function de(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Z}function Te(Z){let ie=this.stack[this.stack.length-1];if(!ie.depth){let ue=this.sliceSerialize(Z).length;ie.depth=ue}}function Ae(){f("setextHeadingSlurpLineEnding",!0)}function Ze(Z){let ie=this.stack[this.stack.length-1];ie.depth=this.sliceSerialize(Z).charCodeAt(0)===61?1:2}function qe(){f("setextHeadingSlurpLineEnding")}function ze(Z){let ie=this.stack[this.stack.length-1],ue=ie.children[ie.children.length-1];(!ue||ue.type!=="text")&&(ue=Se(),ue.position={start:v(Z.start)},ie.children.push(ue)),this.stack.push(ue)}function we(Z){let ie=this.stack.pop();ie.value+=this.sliceSerialize(Z),ie.position.end=v(Z.end)}function Re(Z){let ie=this.stack[this.stack.length-1];if(h("atHardBreak")){let ue=ie.children[ie.children.length-1];ue.position.end=v(Z.end),f("atHardBreak");return}!h("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(ie.type)&&(ze.call(this,Z),we.call(this,Z))}function nt(){f("atHardBreak",!0)}function ne(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z}function Ct(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z}function st(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z}function _t(){let Z=this.stack[this.stack.length-1];h("inReference")?(Z.type+="Reference",Z.referenceType=h("referenceType")||"shortcut",delete Z.url,delete Z.title):(delete Z.identifier,delete Z.label),f("referenceType")}function ct(){let Z=this.stack[this.stack.length-1];h("inReference")?(Z.type+="Reference",Z.referenceType=h("referenceType")||"shortcut",delete Z.url,delete Z.title):(delete Z.identifier,delete Z.label),f("referenceType")}function W(Z){let ie=this.stack[this.stack.length-2],ue=this.sliceSerialize(Z);ie.label=Oo(ue),ie.identifier=wr(ue).toLowerCase()}function J(){let Z=this.stack[this.stack.length-1],ie=this.resume(),ue=this.stack[this.stack.length-1];f("inReference",!0),ue.type==="link"?ue.children=Z.children:ue.alt=ie}function xr(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Z}function Ht(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Z}function Ft(){f("inReference")}function zt(){f("referenceType","collapsed")}function Rt(Z){let ie=this.resume(),ue=this.stack[this.stack.length-1];ue.label=ie,ue.identifier=wr(this.sliceSerialize(Z)).toLowerCase(),f("referenceType","full")}function mt(Z){f("characterReferenceType",Z.type)}function kr(Z){let ie=this.sliceSerialize(Z),ue=h("characterReferenceType"),he;ue?(he=Io(ie,ue==="characterReferenceMarkerNumeric"?10:16),f("characterReferenceType")):he=ms(ie);let gt=this.stack.pop();gt.value+=he,gt.position.end=v(Z.end)}function Gt(Z){we.call(this,Z);let ie=this.stack[this.stack.length-1];ie.url=this.sliceSerialize(Z)}function fr(Z){we.call(this,Z);let ie=this.stack[this.stack.length-1];ie.url="mailto:"+this.sliceSerialize(Z)}function Br(){return{type:"blockquote",children:[]}}function fi(){return{type:"code",lang:null,meta:null,value:""}}function ur(){return{type:"inlineCode",value:""}}function ui(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Qr(){return{type:"emphasis",children:[]}}function Ti(){return{type:"heading",depth:void 0,children:[]}}function Pi(){return{type:"break"}}function ji(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function tr(){return{type:"link",title:null,url:"",children:[]}}function Bi(Z){return{type:"list",ordered:Z.type==="listOrdered",start:null,spread:Z._spread,children:[]}}function $e(Z){return{type:"listItem",spread:Z._spread,checked:null,children:[]}}function ve(){return{type:"paragraph",children:[]}}function _e(){return{type:"strong",children:[]}}function Se(){return{type:"text",value:""}}function jt(){return{type:"thematicBreak"}}}function mm(t,n){let e=-1;for(;++e<n.length;){let s=n[e];Array.isArray(s)?mm(t,s):T$(t,s)}return t}function T$(t,n){let e;for(e in n)if(Pu.call(n,e)){let s=e==="canContainEols"||e==="transforms",f=(Pu.call(t,e)?t[e]:void 0)||(t[e]=s?[]:{}),h=n[e];h&&(s?t[e]=[...f,...h]:Object.assign(f,h))}}function pm(t,n){throw t?new Error("Cannot close `"+t.type+"` ("+On({start:t.start,end:t.end})+"): a different token (`"+n.type+"`, "+On({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+On({start:n.start,end:n.end})+") is still open")}function Du(t){Object.assign(this,{Parser:e=>{let s=this.data("settings");return Fu(e,Object.assign({},s,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var gm=Du;var P$={tokenize:O$,partial:!0},vm={tokenize:q$,partial:!0},bm={tokenize:R$,partial:!0},gs={tokenize:L$,partial:!0},wm={tokenize:N$,partial:!0},$m={tokenize:D$,previous:km},Am={tokenize:I$,previous:qu},Yi={tokenize:F$,previous:Cm},zi={},Iu={text:zi},jn=48;for(;jn<123;)zi[jn]=Yi,jn++,jn===58?jn=65:jn===91&&(jn=97);zi[43]=Yi;zi[45]=Yi;zi[46]=Yi;zi[95]=Yi;zi[72]=[Yi,Am];zi[104]=[Yi,Am];zi[87]=[Yi,$m];zi[119]=[Yi,$m];function F$(t,n,e){let s=this,o,f;return h;function h(R){return!ym(R)||!Cm(s.previous)||Ru(s.events)?e(R):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),v(R))}function v(R){return ym(R)?(t.consume(R),v):R===64?(t.consume(R),b):e(R)}function b(R){return R===46?t.check(gs,N,A)(R):R===45||R===95?t.check(gs,e,w)(R):er(R)?(!f&&qn(R)&&(f=!0),t.consume(R),b):N(R)}function A(R){return t.consume(R),o=!0,f=void 0,b}function w(R){return t.consume(R),T}function T(R){return R===46?t.check(gs,e,A)(R):b(R)}function N(R){return o&&!f?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),n(R)):e(R)}}function D$(t,n,e){let s=this;return o;function o(h){return h!==87&&h!==119||!km(s.previous)||Ru(s.events)?e(h):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(P$,t.attempt(vm,t.attempt(bm,f),e),e)(h))}function f(h){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),n(h)}}function I$(t,n,e){let s=this;return o;function o(L){return L!==72&&L!==104||!qu(s.previous)||Ru(s.events)?e(L):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(L),f)}function f(L){return L===84||L===116?(t.consume(L),h):e(L)}function h(L){return L===84||L===116?(t.consume(L),v):e(L)}function v(L){return L===80||L===112?(t.consume(L),b):e(L)}function b(L){return L===83||L===115?(t.consume(L),A):A(L)}function A(L){return L===58?(t.consume(L),w):e(L)}function w(L){return L===47?(t.consume(L),T):e(L)}function T(L){return L===47?(t.consume(L),N):e(L)}function N(L){return L===null||cn(L)||Rn(L)||Nn(L)?e(L):t.attempt(vm,t.attempt(bm,R),e)(L)}function R(L){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),n(L)}}function O$(t,n,e){return s;function s(b){return t.consume(b),o}function o(b){return b===87||b===119?(t.consume(b),f):e(b)}function f(b){return b===87||b===119?(t.consume(b),h):e(b)}function h(b){return b===46?(t.consume(b),v):e(b)}function v(b){return b===null||ge(b)?e(b):n(b)}}function q$(t,n,e){let s,o;return f;function f(b){return b===38?t.check(wm,v,h)(b):b===46||b===95?t.check(gs,v,h)(b):b===null||cn(b)||Rn(b)||b!==45&&Nn(b)?v(b):(t.consume(b),f)}function h(b){return b===46?(o=s,s=void 0,t.consume(b),f):(b===95&&(s=!0),t.consume(b),f)}function v(b){return!o&&!s?n(b):e(b)}}function R$(t,n){let e=0;return s;function s(h){return h===38?t.check(wm,n,o)(h):(h===40&&e++,h===41?t.check(gs,f,o)(h):Ou(h)?n(h):xm(h)?t.check(gs,n,o)(h):(t.consume(h),s))}function o(h){return t.consume(h),s}function f(h){return e--,e<0?n(h):o(h)}}function N$(t,n,e){return s;function s(h){return t.consume(h),o}function o(h){return br(h)?(t.consume(h),o):h===59?(t.consume(h),f):e(h)}function f(h){return Ou(h)?n(h):e(h)}}function L$(t,n,e){return s;function s(f){return t.consume(f),o}function o(f){return xm(f)?(t.consume(f),o):Ou(f)?n(f):e(f)}}function xm(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 Ou(t){return t===null||t===60||ut(t)}function ym(t){return t===43||t===45||t===46||t===95||er(t)}function km(t){return t===null||t===40||t===42||t===95||t===126||ut(t)}function qu(t){return t===null||!br(t)}function Cm(t){return t!==47&&qu(t)}function Ru(t){let n=t.length,e=!1;for(;n--;){let s=t[n][1];if((s.type==="labelLink"||s.type==="labelImage")&&!s._balanced){e=!0;break}if(s._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var M$={tokenize:G$,partial:!0};function Nu(){return{document:{[91]:{tokenize:V$,continuation:{tokenize:U$},exit:H$}},text:{[91]:{tokenize:B$},[93]:{add:"after",tokenize:z$,resolveTo:j$}}}}function z$(t,n,e){let s=this,o=s.events.length,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),h;for(;o--;){let b=s.events[o][1];if(b.type==="labelImage"){h=b;break}if(b.type==="gfmFootnoteCall"||b.type==="labelLink"||b.type==="label"||b.type==="image"||b.type==="link")break}return v;function v(b){if(!h||!h._balanced)return e(b);let A=wr(s.sliceSerialize({start:h.end,end:s.now()}));return A.charCodeAt(0)!==94||!f.includes(A.slice(1))?e(b):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(b),t.exit("gfmFootnoteCallLabelMarker"),n(b))}}function j$(t,n){let e=t.length,s;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){s=t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";let o={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},f={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};f.end.column++,f.end.offset++,f.end._bufferIndex++;let h={type:"gfmFootnoteCallString",start:Object.assign({},f.end),end:Object.assign({},t[t.length-1][1].start)},v={type:"chunkString",contentType:"string",start:Object.assign({},h.start),end:Object.assign({},h.end)},b=[t[e+1],t[e+2],["enter",o,n],t[e+3],t[e+4],["enter",f,n],["exit",f,n],["enter",h,n],["enter",v,n],["exit",v,n],["exit",h,n],t[t.length-2],t[t.length-1],["exit",o,n]];return t.splice(e,t.length-e+1,...b),t}function B$(t,n,e){let s=this,o=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),f=0,h;return v;function v(N){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(N),t.exit("gfmFootnoteCallLabelMarker"),b}function b(N){return N!==94?e(N):(t.enter("gfmFootnoteCallMarker"),t.consume(N),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",A)}function A(N){let R;return N===null||N===91||f++>999?e(N):N===93?h?(t.exit("chunkString"),R=t.exit("gfmFootnoteCallString"),o.includes(wr(s.sliceSerialize(R)))?T(N):e(N)):e(N):(t.consume(N),ut(N)||(h=!0),N===92?w:A)}function w(N){return N===91||N===92||N===93?(t.consume(N),f++,A):A(N)}function T(N){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(N),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),n}}function V$(t,n,e){let s=this,o=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),f,h=0,v;return b;function b(V){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(V),t.exit("gfmFootnoteDefinitionLabelMarker"),A}function A(V){return V===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(V),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),w):e(V)}function w(V){let G;return V===null||V===91||h>999?e(V):V===93?v?(G=t.exit("gfmFootnoteDefinitionLabelString"),f=wr(s.sliceSerialize(G)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(V),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),R):e(V):ge(V)?(t.enter("lineEnding"),t.consume(V),t.exit("lineEnding"),h++,w):(t.enter("chunkString").contentType="string",T(V))}function T(V){return V===null||ge(V)||V===91||V===93||h>999?(t.exit("chunkString"),w(V)):(ut(V)||(v=!0),h++,t.consume(V),V===92?N:T)}function N(V){return V===91||V===92||V===93?(t.consume(V),h++,T):T(V)}function R(V){return V===58?(t.enter("definitionMarker"),t.consume(V),t.exit("definitionMarker"),Fe(t,L,"gfmFootnoteDefinitionWhitespace")):e(V)}function L(V){return o.includes(f)||o.push(f),n(V)}}function U$(t,n,e){return t.check(Mi,n,t.attempt(M$,n,e))}function H$(t){t.exit("gfmFootnoteDefinition")}function G$(t,n,e){let s=this;return Fe(t,o,"gfmFootnoteDefinitionIndent",4+1);function o(f){let h=s.events[s.events.length-1];return h&&h[1].type==="gfmFootnoteDefinitionIndent"&&h[2].sliceSerialize(h[1],!0).length===4?n(f):e(f)}}function Lu(t={}){let n=t.singleTilde,e={tokenize:o,resolveAll:s};return n==null&&(n=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function s(f,h){let v=-1;for(;++v<f.length;)if(f[v][0]==="enter"&&f[v][1].type==="strikethroughSequenceTemporary"&&f[v][1]._close){let b=v;for(;b--;)if(f[b][0]==="exit"&&f[b][1].type==="strikethroughSequenceTemporary"&&f[b][1]._open&&f[v][1].end.offset-f[v][1].start.offset===f[b][1].end.offset-f[b][1].start.offset){f[v][1].type="strikethroughSequence",f[b][1].type="strikethroughSequence";let A={type:"strikethrough",start:Object.assign({},f[b][1].start),end:Object.assign({},f[v][1].end)},w={type:"strikethroughText",start:Object.assign({},f[b][1].end),end:Object.assign({},f[v][1].start)},T=[["enter",A,h],["enter",f[b][1],h],["exit",f[b][1],h],["enter",w,h]];Mt(T,T.length,0,dn(h.parser.constructs.insideSpan.null,f.slice(b+1,v),h)),Mt(T,T.length,0,[["exit",w,h],["enter",f[v][1],h],["exit",f[v][1],h],["exit",A,h]]),Mt(f,b-1,v-b+3,T),v=b+T.length-2;break}}for(v=-1;++v<f.length;)f[v][1].type==="strikethroughSequenceTemporary"&&(f[v][1].type="data");return f}function o(f,h,v){let b=this.previous,A=this.events,w=0;return T;function T(R){return b===126&&A[A.length-1][1].type!=="characterEscape"?v(R):(f.enter("strikethroughSequenceTemporary"),N(R))}function N(R){let L=ps(b);if(R===126)return w>1?v(R):(f.consume(R),w++,N);if(w<2&&!n)return v(R);let V=f.exit("strikethroughSequenceTemporary"),G=ps(R);return V._open=!G||G===2&&Boolean(L),V._close=!L||L===2&&Boolean(G),h(R)}}}var Mu={flow:{null:{tokenize:W$,resolve:K$}}},_m={tokenize:J$,partial:!0};function K$(t,n){let e=-1,s,o,f,h,v,b,A;for(;++e<t.length;){let w=t[e][1];if(f&&(w.type==="temporaryTableCellContent"&&(h=h||e,v=e),(w.type==="tableCellDivider"||w.type==="tableRow")&&v)){let T={type:"tableContent",start:t[h][1].start,end:t[v][1].end},N={type:"chunkText",start:T.start,end:T.end,contentType:"text"};t.splice(h,v-h+1,["enter",T,n],["enter",N,n],["exit",N,n],["exit",T,n]),e-=v-h-3,h=void 0,v=void 0}if(t[e][0]==="exit"&&b!==void 0&&b+(A?0:1)<e&&(w.type==="tableCellDivider"||w.type==="tableRow"&&(b+3<e||t[b][1].type!=="whitespace"))){let T={type:o?"tableDelimiter":s?"tableHeader":"tableData",start:t[b][1].start,end:t[e][1].end};t.splice(e+(w.type==="tableCellDivider"?1:0),0,["exit",T,n]),t.splice(b,0,["enter",T,n]),e+=2,b=e+1,A=!0}w.type==="tableRow"&&(f=t[e][0]==="enter",f&&(b=e+1,A=!1)),w.type==="tableDelimiterRow"&&(o=t[e][0]==="enter",o&&(b=e+1,A=!1)),w.type==="tableHead"&&(s=t[e][0]==="enter")}return t}function W$(t,n,e){let s=this,o=[],f=0,h,v;return b;function b(ne){return t.enter("table")._align=o,t.enter("tableHead"),t.enter("tableRow"),ne===124?A(ne):(f++,t.enter("temporaryTableCellContent"),N(ne))}function A(ne){return t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),h=!0,w}function w(ne){return ne===null||ge(ne)?L(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),T):(h&&(h=void 0,f++),ne===124?A(ne):(t.enter("temporaryTableCellContent"),N(ne)))}function T(ne){return et(ne)?(t.consume(ne),T):(t.exit("whitespace"),w(ne))}function N(ne){return ne===null||ne===124||ut(ne)?(t.exit("temporaryTableCellContent"),w(ne)):(t.consume(ne),ne===92?R:N)}function R(ne){return ne===92||ne===124?(t.consume(ne),N):N(ne)}function L(ne){if(ne===null)return e(ne);t.exit("tableRow"),t.exit("tableHead");let Ct=s.interrupt;return s.interrupt=!0,t.attempt({tokenize:nt,partial:!0},function(st){return s.interrupt=Ct,t.enter("tableDelimiterRow"),V(st)},function(st){return s.interrupt=Ct,e(st)})(ne)}function V(ne){return ne===null||ge(ne)?xe(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),G):ne===45?(t.enter("tableDelimiterFiller"),t.consume(ne),v=!0,o.push("none"),K):ne===58?(t.enter("tableDelimiterAlignment"),t.consume(ne),t.exit("tableDelimiterAlignment"),o.push("left"),re):ne===124?(t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),V):e(ne)}function G(ne){return et(ne)?(t.consume(ne),G):(t.exit("whitespace"),V(ne))}function K(ne){return ne===45?(t.consume(ne),K):(t.exit("tableDelimiterFiller"),ne===58?(t.enter("tableDelimiterAlignment"),t.consume(ne),t.exit("tableDelimiterAlignment"),o[o.length-1]=o[o.length-1]==="left"?"center":"right",ce):V(ne))}function re(ne){return ne===45?(t.enter("tableDelimiterFiller"),t.consume(ne),v=!0,K):e(ne)}function ce(ne){return ne===null||ge(ne)?xe(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),G):ne===124?(t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),V):e(ne)}function xe(ne){return t.exit("tableDelimiterRow"),!v||f!==o.length?e(ne):ne===null?ye(ne):t.check(_m,ye,t.attempt({tokenize:nt,partial:!0},Fe(t,le,"linePrefix",4),ye))(ne)}function ye(ne){return t.exit("table"),n(ne)}function le(ne){return t.enter("tableBody"),de(ne)}function de(ne){return t.enter("tableRow"),ne===124?Te(ne):(t.enter("temporaryTableCellContent"),qe(ne))}function Te(ne){return t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),Ae}function Ae(ne){return ne===null||ge(ne)?we(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),Ze):ne===124?Te(ne):(t.enter("temporaryTableCellContent"),qe(ne))}function Ze(ne){return et(ne)?(t.consume(ne),Ze):(t.exit("whitespace"),Ae(ne))}function qe(ne){return ne===null||ne===124||ut(ne)?(t.exit("temporaryTableCellContent"),Ae(ne)):(t.consume(ne),ne===92?ze:qe)}function ze(ne){return ne===92||ne===124?(t.consume(ne),qe):qe(ne)}function we(ne){return t.exit("tableRow"),ne===null?Re(ne):t.check(_m,Re,t.attempt({tokenize:nt,partial:!0},Fe(t,de,"linePrefix",4),Re))(ne)}function Re(ne){return t.exit("tableBody"),ye(ne)}function nt(ne,Ct,st){return _t;function _t(W){return ne.enter("lineEnding"),ne.consume(W),ne.exit("lineEnding"),Fe(ne,ct,"linePrefix")}function ct(W){if(s.parser.lazy[s.now().line]||W===null||ge(W))return st(W);let J=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&J&&J[1].type==="linePrefix"&&J[2].sliceSerialize(J[1],!0).length>=4?st(W):(s._gfmTableDynamicInterruptHack=!0,ne.check(s.parser.constructs.flow,function(xr){return s._gfmTableDynamicInterruptHack=!1,st(xr)},function(xr){return s._gfmTableDynamicInterruptHack=!1,Ct(xr)})(W))}}}function J$(t,n,e){let s=0;return o;function o(h){return t.enter("check"),t.consume(h),f}function f(h){return h===-1||h===32?(t.consume(h),s++,s===4?n:f):h===null||ut(h)?n(h):e(h)}}var Q$={tokenize:Z$},zu={text:{[91]:Q$}};function Z$(t,n,e){let s=this;return o;function o(v){return s.previous!==null||!s._gfmTasklistFirstContentOfListItem?e(v):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(v),t.exit("taskListCheckMarker"),f)}function f(v){return ut(v)?(t.enter("taskListCheckValueUnchecked"),t.consume(v),t.exit("taskListCheckValueUnchecked"),h):v===88||v===120?(t.enter("taskListCheckValueChecked"),t.consume(v),t.exit("taskListCheckValueChecked"),h):e(v)}function h(v){return v===93?(t.enter("taskListCheckMarker"),t.consume(v),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:X$},n,e)):e(v)}}function X$(t,n,e){let s=this;return Fe(t,o,"whitespace");function o(f){let h=s.events[s.events.length-1];return(h&&h[1].type==="whitespace"||ge(f))&&f!==null?n(f):e(f)}}function Em(t){return xo([Iu,Nu(),Lu(t),Mu,zu])}function ju(t,n){let e=String(t);if(typeof n!="string")throw new TypeError("Expected character");let s=0,o=e.indexOf(n);for(;o!==-1;)s++,o=e.indexOf(n,o+n.length);return s}function Bu(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ma=function(t){if(t==null)return rA;if(typeof t=="string")return tA(t);if(typeof t=="object")return Array.isArray(t)?Y$(t):eA(t);if(typeof t=="function")return qo(t);throw new Error("Expected function, string, or object as test")};function Y$(t){let n=[],e=-1;for(;++e<t.length;)n[e]=ma(t[e]);return qo(s);function s(...o){let f=-1;for(;++f<n.length;)if(n[f].call(this,...o))return!0;return!1}}function eA(t){return qo(n);function n(e){let s;for(s in t)if(e[s]!==t[s])return!1;return!0}}function tA(t){return qo(n);function n(e){return e&&e.type===t}}function qo(t){return n;function n(...e){return Boolean(t.call(this,...e))}}function rA(){return!0}function Sm(t){return"\x1B[33m"+t+"\x1B[39m"}var iA=!0,nA="skip",Tm=!1,Pm=function(t,n,e,s){typeof n=="function"&&typeof e!="function"&&(s=e,e=n,n=null);let o=ma(n),f=s?-1:1;h(t,null,[])();function h(v,b,A){let w=typeof v=="object"&&v!==null?v:{},T;return typeof w.type=="string"&&(T=typeof w.tagName=="string"?w.tagName:typeof w.name=="string"?w.name:void 0,Object.defineProperty(N,"name",{value:"node ("+Sm(w.type+(T?"<"+T+">":""))+")"})),N;function N(){let R=[],L,V,G;if((!n||o(v,b,A[A.length-1]||null))&&(R=sA(e(v,A)),R[0]===Tm))return R;if(v.children&&R[0]!==nA)for(V=(s?v.children.length:-1)+f,G=A.concat(v);V>-1&&V<v.children.length;){if(L=h(v.children[V],V,G)(),L[0]===Tm)return L;V=typeof L[1]=="number"?L[1]:V+f}return R}}};function sA(t){return Array.isArray(t)?t:typeof t=="number"?[iA,t]:[t]}var aA={}.hasOwnProperty,Vu=function(t,n,e,s){let o,f;typeof n=="string"||n instanceof RegExp?(f=[[n,e]],o=s):(f=n,o=e),o||(o={});let h=ma(o.ignore||[]),v=oA(f),b=-1;for(;++b<v.length;)Pm(t,"text",A);return t;function A(T,N){let R=-1,L;for(;++R<N.length;){let V=N[R];if(h(V,L?L.children.indexOf(V):void 0,L))return;L=V}if(L)return w(T,N)}function w(T,N){let R=N[N.length-1],L=v[b][0],V=v[b][1],G=0,K=R.children.indexOf(T),re=!1,ce=[],xe;L.lastIndex=0;let ye=L.exec(T.value);for(;ye;){xe=ye.index;let le={index:ye.index,input:ye.input,stack:[...N,T]},de=V(...ye,le);if(typeof de=="string"&&(de=de.length>0?{type:"text",value:de}:void 0),de!==!1&&(G!==xe&&ce.push({type:"text",value:T.value.slice(G,xe)}),Array.isArray(de)?ce.push(...de):de&&ce.push(de),G=xe+ye[0].length,re=!0),!L.global)break;ye=L.exec(T.value)}return re?(G<T.value.length&&ce.push({type:"text",value:T.value.slice(G)}),R.children.splice(K,1,...ce)):ce=[T],K+ce.length}};function oA(t){let n=[];if(typeof t!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let e=-1;for(;++e<t.length;)n.push([Fm(t[e][0]),Dm(t[e][1])])}else{let e;for(e in t)aA.call(t,e)&&n.push([Fm(e),Dm(t[e])])}return n}function Fm(t){return typeof t=="string"?new RegExp(Bu(t),"g"):t}function Dm(t){return typeof t=="function"?t:()=>t}var Uu="phrasing",Hu=["autolink","link","image","label"],Im={transforms:[dA],enter:{literalAutolink:lA,literalAutolinkEmail:Gu,literalAutolinkHttp:Gu,literalAutolinkWww:Gu},exit:{literalAutolink:hA,literalAutolinkEmail:cA,literalAutolinkHttp:fA,literalAutolinkWww:uA}},Om={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Uu,notInConstruct:Hu},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Uu,notInConstruct:Hu},{character:":",before:"[ps]",after:"\\/",inConstruct:Uu,notInConstruct:Hu}]};function lA(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function Gu(t){this.config.enter.autolinkProtocol.call(this,t)}function fA(t){this.config.exit.autolinkProtocol.call(this,t)}function uA(t){this.config.exit.data.call(this,t);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(t)}function cA(t){this.config.exit.autolinkEmail.call(this,t)}function hA(t){this.exit(t)}function dA(t){Vu(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pA],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,mA]],{ignore:["link","linkReference"]})}function pA(t,n,e,s,o){let f="";if(!qm(o)||(/^w/i.test(n)&&(e=n+e,n="",f="http://"),!gA(e)))return!1;let h=yA(e+s);if(!h[0])return!1;let v={type:"link",title:null,url:f+n+h[0],children:[{type:"text",value:n+h[0]}]};return h[1]?[v,{type:"text",value:h[1]}]:v}function mA(t,n,e,s){return!qm(s,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+e,children:[{type:"text",value:n+"@"+e}]}}function gA(t){let n=t.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function yA(t){let n=/[!"&'),.:;<>?\]}]+$/.exec(t),e,s,o,f;if(n)for(t=t.slice(0,n.index),f=n[0],e=f.indexOf(")"),s=ju(t,"("),o=ju(t,")");e!==-1&&s>o;)t+=f.slice(0,e+1),f=f.slice(e+1),e=f.indexOf(")"),o++;return[t,f]}function qm(t,n){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Rn(e)||Nn(e))&&(!n||e!==47)}function Ku(t){return t.label||!t.identifier?t.label||"":Oo(t.identifier)}function Ar(t){let n=t||{},e=n.now||{},s=n.lineShift||0,o=e.line||1,f=e.column||1;return{move:b,current:h,shift:v};function h(){return{now:{line:o,column:f},lineShift:s}}function v(A){s+=A}function b(A=""){let w=A.split(/\r?\n|\r/g),T=w[w.length-1];return o+=w.length-1,f=w.length===1?f+T.length:1+T.length+s,A}}function Ro(t,n,e){let s=n.indexStack,o=t.children||[],f=Ar(e),h=[],v=-1;for(s.push(-1);++v<o.length;){let A=o[v];s[s.length-1]=v,h.push(f.move(n.handle(A,t,n,{before:`
26
26
  `,after:`
27
- `,...o.current()}))),m.type!=="list"&&(r.bulletLastUsed=void 0),f<a.length-1&&u.push(o.move(p(m,a[f+1])))}return s.pop(),u.join("");function p(m,d){let v=r.join.length;for(;v--;){let S=r.join[v](m,d,t,r);if(S===!0||S===1)break;if(typeof S=="number")return`
28
- `.repeat(1+S);if(S===!1)return`
27
+ `,...f.current()}))),A.type!=="list"&&(n.bulletLastUsed=void 0),v<o.length-1&&h.push(f.move(b(A,o[v+1])))}return s.pop(),h.join("");function b(A,w){let T=n.join.length;for(;T--;){let N=n.join[T](A,w,t,n);if(N===!0||N===1)break;if(typeof N=="number")return`
28
+ `.repeat(1+N);if(N===!1)return`
29
29
 
30
30
  <!---->
31
31
 
32
32
  `}return`
33
33
 
34
- `}}var bx=/\r?\n|\r/g;function Lo(t,r){let e=[],s=0,a=0,o;for(;o=bx.exec(t);)u(t.slice(s,o.index)),e.push(o[0]),s=o.index+o[0].length,a++;return u(t.slice(s)),e.join("");function u(f){e.push(r(f,a,!f))}}function bs(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 Dm(t,r){return Fm(t,r.inConstruct,!0)&&!Fm(t,r.notInConstruct,!1)}function Fm(t,r,e){if(!r)return e;typeof r=="string"&&(r=[r]);let s=-1;for(;++s<r.length;)if(t.includes(r[s]))return!0;return!1}function ya(t,r,e){let s=(e.before||"")+(r||"")+(e.after||""),a=[],o=[],u={},f=-1;for(;++f<t.unsafe.length;){let d=t.unsafe[f];if(!Dm(t.stack,d))continue;let v=bs(d),S;for(;S=v.exec(s);){let E="before"in d||Boolean(d.atBreak),C="after"in d,N=S.index+(E?S[1].length:0);a.includes(N)?(u[N].before&&!E&&(u[N].before=!1),u[N].after&&!C&&(u[N].after=!1)):(a.push(N),u[N]={before:E,after:C})}}a.sort(wx);let p=e.before?e.before.length:0,m=s.length-(e.after?e.after.length:0);for(f=-1;++f<a.length;){let d=a[f];d<p||d>=m||d+1<m&&a[f+1]===d+1&&u[d].after&&!u[d+1].before&&!u[d+1].after||a[f-1]===d-1&&u[d].before&&!u[d-1].before&&!u[d-1].after||(p!==d&&o.push(Im(s.slice(p,d),"\\")),p=d,/[!-/:-@[-`{-~]/.test(s.charAt(d))&&(!e.encode||!e.encode.includes(s.charAt(d)))?o.push("\\"):(o.push("&#x"+s.charCodeAt(d).toString(16).toUpperCase()+";"),p++))}return o.push(Im(s.slice(p,m),e.after)),o.join("")}function wx(t,r){return t-r}function Im(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,s=[],a=[],o=t+r,u=-1,f=0,p;for(;p=e.exec(o);)s.push(p.index);for(;++u<s.length;)f!==s[u]&&a.push(t.slice(f,s[u])),a.push("\\"),f=s[u];return a.push(t.slice(f)),a.join("")}function Om(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:a,gfmFootnoteCallString:o},exit:{gfmFootnoteDefinition:s,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:f,gfmFootnoteCallString:u}};function t(p){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},p)}function r(){this.buffer()}function e(p){let m=this.resume(),d=this.stack[this.stack.length-1];d.label=m,d.identifier=fr(this.sliceSerialize(p)).toLowerCase()}function s(p){this.exit(p)}function a(p){this.enter({type:"footnoteReference",identifier:"",label:""},p)}function o(){this.buffer()}function u(p){let m=this.resume(),d=this.stack[this.stack.length-1];d.label=m,d.identifier=fr(this.sliceSerialize(p)).toLowerCase()}function f(p){this.exit(p)}}function qm(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(s,a,o,u){let f=hr(u),p=f.move("[^"),m=o.enter("footnoteReference"),d=o.enter("reference");return p+=f.move(ya(o,Vc(s),{...f.current(),before:p,after:"]"})),d(),m(),p+=f.move("]"),p}function r(){return"["}function e(s,a,o,u){let f=hr(u),p=f.move("[^"),m=o.enter("footnoteDefinition"),d=o.enter("label");return p+=f.move(ya(o,Vc(s),{...f.current(),before:p,after:"]"})),d(),p+=f.move("]:"+(s.children&&s.children.length>0?" ":"")),f.shift(4),p+=f.move(Lo(No(s,o,f.current()),v)),m(),p;function v(S,E,C){return E?(C?"":" ")+S:S}}}function Mo(t,r,e){let s=r.indexStack,a=t.children||[],o=[],u=-1,f=e.before;s.push(-1);let p=hr(e);for(;++u<a.length;){let m=a[u],d;if(s[s.length-1]=u,u+1<a.length){let v=r.handle.handlers[a[u+1].type];v&&v.peek&&(v=v.peek),d=v?v(a[u+1],t,r,{before:"",after:"",...p.current()}).charAt(0):""}else d=e.after;o.length>0&&(f==="\r"||f===`
35
- `)&&m.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),f=" ",p=hr(e),p.move(o.join(""))),o.push(p.move(r.handle(m,t,r,{...p.current(),before:f,after:d}))),f=o[o.length-1].slice(-1)}return s.pop(),o.join("")}var Rm={canContainEols:["delete"],enter:{strikethrough:vx},exit:{strikethrough:$x}},Nm={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:Lm}};Lm.peek=xx;function vx(t){this.enter({type:"delete",children:[]},t)}function $x(t){this.exit(t)}function Lm(t,r,e,s){let a=hr(s),o=e.enter("emphasis"),u=a.move("~~");return u+=Mo(t,e,{...a.current(),before:u,after:"~"}),u+=a.move("~~"),o(),u}function xx(){return"~"}Bc.peek=kx;function Bc(t,r,e){let s=t.value||"",a="`",o=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(s);)a+="`";for(/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^`|`$/.test(s))&&(s=" "+s+" ");++o<e.unsafe.length;){let u=e.unsafe[o],f=bs(u),p;if(!!u.atBreak)for(;p=f.exec(s);){let m=p.index;s.charCodeAt(m)===10&&s.charCodeAt(m-1)===13&&m--,s=s.slice(0,m)+" "+s.slice(p.index+1)}}return a+s+a}function kx(){return"`"}function zm(t,r={}){let e=(r.align||[]).concat(),s=r.stringLength||_x,a=[],o=[],u=[],f=[],p=0,m=-1;for(;++m<t.length;){let C=[],N=[],j=-1;for(t[m].length>p&&(p=t[m].length);++j<t[m].length;){let B=Ax(t[m][j]);if(r.alignDelimiters!==!1){let re=s(B);N[j]=re,(f[j]===void 0||re>f[j])&&(f[j]=re)}C.push(B)}o[m]=C,u[m]=N}let d=-1;if(typeof e=="object"&&"length"in e)for(;++d<p;)a[d]=Mm(e[d]);else{let C=Mm(e);for(;++d<p;)a[d]=C}d=-1;let v=[],S=[];for(;++d<p;){let C=a[d],N="",j="";C===99?(N=":",j=":"):C===108?N=":":C===114&&(j=":");let B=r.alignDelimiters===!1?1:Math.max(1,f[d]-N.length-j.length),re=N+"-".repeat(B)+j;r.alignDelimiters!==!1&&(B=N.length+B+j.length,B>f[d]&&(f[d]=B),S[d]=B),v[d]=re}o.splice(1,0,v),u.splice(1,0,S),m=-1;let E=[];for(;++m<o.length;){let C=o[m],N=u[m];d=-1;let j=[];for(;++d<p;){let B=C[d]||"",re="",ce="";if(r.alignDelimiters!==!1){let ve=f[d]-(N[d]||0),me=a[d];me===114?re=" ".repeat(ve):me===99?ve%2?(re=" ".repeat(ve/2+.5),ce=" ".repeat(ve/2-.5)):(re=" ".repeat(ve/2),ce=re):ce=" ".repeat(ve)}r.delimiterStart!==!1&&!d&&j.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&B==="")&&(r.delimiterStart!==!1||d)&&j.push(" "),r.alignDelimiters!==!1&&j.push(re),j.push(B),r.alignDelimiters!==!1&&j.push(ce),r.padding!==!1&&j.push(" "),(r.delimiterEnd!==!1||d!==p-1)&&j.push("|")}E.push(r.delimiterEnd===!1?j.join("").replace(/ +$/,""):j.join(""))}return E.join(`
36
- `)}function Ax(t){return t==null?"":String(t)}function _x(t){return t.length}function Mm(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 Hc={enter:{table:Ex,tableData:jm,tableHeader:jm,tableRow:Cx},exit:{codeText:Tx,table:Sx,tableData:Uc,tableHeader:Uc,tableRow:Uc}};function Ex(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function Sx(t){this.exit(t),this.setData("inTable")}function Cx(t){this.enter({type:"tableRow",children:[]},t)}function Uc(t){this.exit(t)}function jm(t){this.enter({type:"tableCell",children:[]},t)}function Tx(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,Px));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function Px(t,r){return r==="|"?r:t}function Gc(t){let r=t||{},e=r.tableCellPadding,s=r.tablePipeAlign,a=r.stringLength,o=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
37
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:u,tableRow:f,tableCell:p,inlineCode:S}};function u(E,C,N,j){return m(d(E,N,j),E.align)}function f(E,C,N,j){let B=v(E,N,j),re=m([B]);return re.slice(0,re.indexOf(`
38
- `))}function p(E,C,N,j){let B=N.enter("tableCell"),re=N.enter("phrasing"),ce=Mo(E,N,{...j,before:o,after:o});return re(),B(),ce}function m(E,C){return zm(E,{align:C,alignDelimiters:s,padding:e,stringLength:a})}function d(E,C,N){let j=E.children,B=-1,re=[],ce=C.enter("table");for(;++B<j.length;)re[B]=v(j[B],C,N);return ce(),re}function v(E,C,N){let j=E.children,B=-1,re=[],ce=C.enter("tableRow");for(;++B<j.length;)re[B]=p(j[B],E,C,N);return ce(),re}function S(E,C,N){let j=Bc(E,C,N);return N.stack.includes("tableCell")&&(j=j.replace(/\|/g,"\\$&")),j}}function Vm(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 Bm(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 Um(t,r,e,s){let a=Bm(e),o=e.bulletCurrent||Vm(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 u=o.length+1;(a==="tab"||a==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(u=Math.ceil(u/4)*4);let f=hr(s);f.move(o+" ".repeat(u-o.length)),f.shift(u);let p=e.enter("listItem"),m=Lo(No(t,e,f.current()),d);return p(),m;function d(v,S,E){return S?(E?"":" ".repeat(u))+v:(E?o:o+" ".repeat(u-o.length))+v}}var Gm={exit:{taskListCheckValueChecked:Hm,taskListCheckValueUnchecked:Hm,paragraph:Fx}},Km={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Dx}};function Hm(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function Fx(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],s=r.children,a=e.children[0],o=-1,u;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&a&&a.type==="text"){for(;++o<s.length;){let f=s[o];if(f.type==="paragraph"){u=f;break}}u===e&&(a.value=a.value.slice(1),a.value.length===0?e.children.shift():e.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,e.position.start=Object.assign({},a.position.start)))}this.exit(t)}function Dx(t,r,e,s){let a=t.children[0],o=typeof t.checked=="boolean"&&a&&a.type==="paragraph",u="["+(t.checked?"x":" ")+"] ",f=hr(s);o&&f.move(u);let p=Um(t,r,e,{...s,...f.current()});return o&&(p=p.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),p;function m(d){return d+u}}function Kc(){return[Cm,Om(),Rm,Hc,Gm]}function Wc(t){return{extensions:[Tm,qm(),Nm,Gc(t),Km]}}function Jc(t={}){let r=this.data();e("micromarkExtensions",xm(t)),e("fromMarkdownExtensions",Kc()),e("toMarkdownExtensions",Wc(t));function e(s,a){(r[s]?r[s]:r[s]=[]).push(a)}}var Jm={tokenize:Ix,concrete:!0},Wm={tokenize:Ox,partial:!0};function Ix(t,r,e){let s=this,a=s.events[s.events.length-1],o=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,u=0;return f;function f(re){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),p(re)}function p(re){return re===36?(t.consume(re),u++,p):u<2?e(re):(t.exit("mathFlowFenceSequence"),Se(t,m,"whitespace")(re))}function m(re){return re===null||de(re)?v(re):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(re))}function d(re){return re===null||de(re)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),v(re)):re===36?e(re):(t.consume(re),d)}function v(re){return t.exit("mathFlowFence"),s.interrupt?r(re):t.attempt(Wm,S,j)(re)}function S(re){return t.attempt({tokenize:B,partial:!0},j,E)(re)}function E(re){return(o?Se(t,C,"linePrefix",o+1):C)(re)}function C(re){return re===null?j(re):de(re)?t.attempt(Wm,S,j)(re):(t.enter("mathFlowValue"),N(re))}function N(re){return re===null||de(re)?(t.exit("mathFlowValue"),C(re)):(t.consume(re),N)}function j(re){return t.exit("mathFlow"),r(re)}function B(re,ce,ve){let me=0;return Se(re,le,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function le(be){return re.enter("mathFlowFence"),re.enter("mathFlowFenceSequence"),fe(be)}function fe(be){return be===36?(me++,re.consume(be),fe):me<u?ve(be):(re.exit("mathFlowFenceSequence"),Se(re,Ae,"whitespace")(be))}function Ae(be){return be===null||de(be)?(re.exit("mathFlowFence"),ce(be)):ve(be)}}}function Ox(t,r,e){let s=this;return a;function a(u){return u===null?r(u):(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),o)}function o(u){return s.parser.lazy[s.now().line]?e(u):r(u)}}function Qm(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:s,resolve:qx,previous:Rx};function s(a,o,u){let f=this,p=0,m,d;return v;function v(j){return a.enter("mathText"),a.enter("mathTextSequence"),S(j)}function S(j){return j===36?(a.consume(j),p++,S):p<2&&!e?u(j):(a.exit("mathTextSequence"),E(j))}function E(j){return j===null?u(j):j===36?(d=a.enter("mathTextSequence"),m=0,N(j)):j===32?(a.enter("space"),a.consume(j),a.exit("space"),E):de(j)?(a.enter("lineEnding"),a.consume(j),a.exit("lineEnding"),E):(a.enter("mathTextData"),C(j))}function C(j){return j===null||j===32||j===36||de(j)?(a.exit("mathTextData"),E(j)):(a.consume(j),C)}function N(j){return j===36?(a.consume(j),m++,N):m===p?(a.exit("mathTextSequence"),a.exit("mathText"),o(j)):(d.type="mathTextData",C(j))}}}function qx(t){let r=t.length-4,e=3,s,a;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(s=e;++s<r;)if(t[s][1].type==="mathTextData"){t[r][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,r-=2;break}}for(s=e-1,r++;++s<=r;)a===void 0?s!==r&&t[s][1].type!=="lineEnding"&&(a=s):(s===r||t[s][1].type==="lineEnding")&&(t[a][1].type="mathTextData",s!==a+2&&(t[a][1].end=t[s-1][1].end,t.splice(a+2,s-a-2),r-=s-a-2,s=a+2),a=void 0);return t}function Rx(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Qc(t){return{flow:{[36]:Jm},text:{[36]:Qm(t)}}}function Zm(t,r){let e=String(t),s=e.indexOf(r),a=s,o=0,u=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;s!==-1;)s===a?++o>u&&(u=o):o=1,a=s+1,s=e.indexOf(r,a);return u}function Zc(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:o},exit:{mathFlow:a,mathFlowFence:s,mathFlowFenceMeta:e,mathFlowValue:f,mathText:u,mathTextData:f}};function t(p){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},p)}function r(){this.buffer()}function e(){let p=this.resume(),m=this.stack[this.stack.length-1];m.meta=p}function s(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function a(p){let m=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.exit(p);d.value=m,d.data.hChildren[0].value=m,this.setData("mathFlowInside")}function o(p){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},p),this.buffer()}function u(p){let m=this.resume(),d=this.exit(p);d.value=m,d.data.hChildren[0].value=m}function f(p){this.config.enter.data.call(this,p),this.config.exit.data.call(this,p)}}function Xc(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),s.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
39
- `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:s}};function e(o,u,f,p){let m=o.value||"",d=hr(p),v="$".repeat(Math.max(Zm(m,"$")+1,2)),S=f.enter("mathFlow"),E=d.move(v);if(o.meta){let C=f.enter("mathFlowMeta");E+=d.move(ya(f,o.meta,{before:E,after:`
40
- `,encode:["$"],...d.current()})),C()}return E+=d.move(`
41
- `),m&&(E+=d.move(m+`
42
- `)),E+=d.move(v),S(),E}function s(o,u,f){let p=o.value||"",m=1;for(r||m++;new RegExp("(^|[^$])"+"\\$".repeat(m)+"([^$]|$)").test(p);)m++;let d="$".repeat(m);/[^ \r\n]/.test(p)&&(/^[ \r\n]/.test(p)&&/[ \r\n]$/.test(p)||/^\$|\$$/.test(p))&&(p=" "+p+" ");let v=-1;for(;++v<f.unsafe.length;){let S=f.unsafe[v],E=bs(S),C;if(!!S.atBreak)for(;C=E.exec(p);){let N=C.index;p.codePointAt(N)===10&&p.codePointAt(N-1)===13&&N--,p=p.slice(0,N)+" "+p.slice(C.index+1)}}return d+p+d}function a(){return"$"}}function Yc(t={}){let r=this.data();e("micromarkExtensions",Qc(t)),e("fromMarkdownExtensions",Zc()),e("toMarkdownExtensions",Xc(t));function e(s,a){(r[s]?r[s]:r[s]=[]).push(a)}}var zo=(t,{lineOffset:r}={lineOffset:0})=>{let e=cc().use(fm).use(Jc).use(Yc).parse(t),s={},a=(f=>p=>{let{start:m,end:d}=p;return{start:{...m,line:m.line+f},end:{...d,line:d.line+f}}})(r);aa({processor:1}).use({"*:*":(f,p)=>(m,d,v)=>{m.children&&v(m.children,{...d})}}).use({":definition":(f,p)=>(m,d,v)=>{s[m.identifier]=m}}).run(e);let o=[];return aa({processor:1}).use({"*:*":(f,p)=>(m,d,v)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(m,null,2)),m.children&&v(m.children,{...d})}}).use({":root":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return Rh({},v(S,d))},":math":(f,p)=>(m,d,v)=>{let{value:S,children:E,position:C,...N}=m;return Nh({value:S,location:a(C)})},":inlineMath":(f,p)=>(m,d,v)=>{let{value:S,children:E,position:C,...N}=m;return Ih(S)},":heading":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return $r({type:"block",level:m.depth,name:"head",location:a(E)},v(S,d))},":text":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return m.value},":list":(f,p)=>(m,d,v)=>{let S=d.listLevel||0,{children:E,position:C,...N}=m;return $r({type:"list",level:S+1,list:m.ordered?"ordered":"itemized"},v(E,{...d,listLevel:S+1,ordered:m.ordered}))},":listItem":(f,p)=>(m,d,v)=>{let S=d.listLevel||0,{children:E,position:C,checked:N,...j}=m,B={name:"item",type:"block",level:d.listLevel,location:a(C)};return N!=null&&(B.checked=N,B.config=[{name:"checked",value:N,type:"boolean"}]),$r(B,v(E,{...d,listLevel:S,ordered:m.ordered}))},":paragraph":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return $r({type:"para",location:a(E),text:"text",margin:""},v(S,{...d}))},":linkReference":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m,N=s[C.identifier],j=(N==null?void 0:N.url)||"";return ju({meta:j},v(S,{...d}))},":definition":(f,p)=>(m,d,v)=>null,":inlineCode":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return bo({name:"C"},[m.value])},":strong":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return bo({name:"B"},v(S,{...d}))},":emphasis":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return bo({name:"I"},v(S,{...d}))},":link":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return ju({meta:m.url},v(S,{...d}))},":html":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return $r({type:"block",name:"Html",location:a(E)},[sa(m.value)])},":code":(f,p)=>(m,d,v)=>{let{children:S,position:E,lang:C,meta:N,...j}=m;if(C==="mermaid"||C==="diagram")return $r({type:"block",name:"Mermaid",config:[],location:a(E)},[sa(m.value)]);let B=[];return C&&B.push({name:"lang",value:C,type:"string"}),N&&B.push(...Hu(N)),$r({type:"block",name:"code",config:B,location:a(E)},[sa(m.value)])},":image":(f,p)=>(m,d,v)=>{let{title:S,alt:E,url:C,position:N,...j}=m,B=[],re=[qh(C,E)];return S&&re.push(Oh([S])),$r({type:"block",name:"Image",config:B,location:a(N)},re)},":thematicBreak":(f,p)=>(m,d,v)=>null,":blockquote":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return $r({name:"nested",location:a(E)},v(S,{...d}))},":table":(f,p)=>(m,d,v)=>{let{children:S,position:E,align:C,...N}=m;return $r({name:"table",location:a(E),align:C},v(S,{...d,isHeaderUsed:0}))},":tableRow":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m,N=d.isHeaderUsed++,j={name:"row",location:a(E)};return N||(j.config=[{name:"header",value:!0,type:"boolean"}]),$r(j,v(S,{...d}))},":tableCell":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return $r({name:"cell",location:a(E)},v(S,{...d}))},":delete":(f,p)=>(m,d,v)=>{let{children:S,position:E,...C}=m;return Dh(v(S,{...d}))},":break":(f,p)=>(m,d,v)=>null}).run(e).interator};var jo={toAst:(t,r)=>(e,s)=>{if(typeof e!="string"&&"type"in e&&"content"in e&&e.type==="block"){let a=e.content[0];if(a&&typeof a!="string"&&"location"in e&&"value"in a){let o=e.location.start.line;return{...e,content:zo(a,{lineOffset:o})}}return e}},toJSX:t=>jh},Nx={Markdown:jo,markdown:jo},Lx=jo;0&&(module.exports={PluginRegister,parseMd,plugin});
34
+ `}}var vA=/\r?\n|\r/g;function No(t,n){let e=[],s=0,o=0,f;for(;f=vA.exec(t);)h(t.slice(s,f.index)),e.push(f[0]),s=f.index+f[0].length,o++;return h(t.slice(s)),e.join("");function h(v){e.push(n(v,o,!v))}}function ys(t){if(!t._compiled){let n=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((n?"("+n+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Nm(t,n){return Rm(t,n.inConstruct,!0)&&!Rm(t,n.notInConstruct,!1)}function Rm(t,n,e){if(!n)return e;typeof n=="string"&&(n=[n]);let s=-1;for(;++s<n.length;)if(t.includes(n[s]))return!0;return!1}function ga(t,n,e){let s=(e.before||"")+(n||"")+(e.after||""),o=[],f=[],h={},v=-1;for(;++v<t.unsafe.length;){let w=t.unsafe[v];if(!Nm(t.stack,w))continue;let T=ys(w),N;for(;N=T.exec(s);){let R="before"in w||Boolean(w.atBreak),L="after"in w,V=N.index+(R?N[1].length:0);o.includes(V)?(h[V].before&&!R&&(h[V].before=!1),h[V].after&&!L&&(h[V].after=!1)):(o.push(V),h[V]={before:R,after:L})}}o.sort(bA);let b=e.before?e.before.length:0,A=s.length-(e.after?e.after.length:0);for(v=-1;++v<o.length;){let w=o[v];w<b||w>=A||w+1<A&&o[v+1]===w+1&&h[w].after&&!h[w+1].before&&!h[w+1].after||o[v-1]===w-1&&h[w].before&&!h[w-1].before&&!h[w-1].after||(b!==w&&f.push(Lm(s.slice(b,w),"\\")),b=w,/[!-/:-@[-`{-~]/.test(s.charAt(w))&&(!e.encode||!e.encode.includes(s.charAt(w)))?f.push("\\"):(f.push("&#x"+s.charCodeAt(w).toString(16).toUpperCase()+";"),b++))}return f.push(Lm(s.slice(b,A),e.after)),f.join("")}function bA(t,n){return t-n}function Lm(t,n){let e=/\\(?=[!-/:-@[-`{-~])/g,s=[],o=[],f=t+n,h=-1,v=0,b;for(;b=e.exec(f);)s.push(b.index);for(;++h<s.length;)v!==s[h]&&o.push(t.slice(v,s[h])),o.push("\\"),v=s[h];return o.push(t.slice(v)),o.join("")}function Mm(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:n,gfmFootnoteCall:o,gfmFootnoteCallString:f},exit:{gfmFootnoteDefinition:s,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:v,gfmFootnoteCallString:h}};function t(b){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},b)}function n(){this.buffer()}function e(b){let A=this.resume(),w=this.stack[this.stack.length-1];w.label=A,w.identifier=wr(this.sliceSerialize(b)).toLowerCase()}function s(b){this.exit(b)}function o(b){this.enter({type:"footnoteReference",identifier:"",label:""},b)}function f(){this.buffer()}function h(b){let A=this.resume(),w=this.stack[this.stack.length-1];w.label=A,w.identifier=wr(this.sliceSerialize(b)).toLowerCase()}function v(b){this.exit(b)}}function zm(){return t.peek=n,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(s,o,f,h){let v=Ar(h),b=v.move("[^"),A=f.enter("footnoteReference"),w=f.enter("reference");return b+=v.move(ga(f,Ku(s),{...v.current(),before:b,after:"]"})),w(),A(),b+=v.move("]"),b}function n(){return"["}function e(s,o,f,h){let v=Ar(h),b=v.move("[^"),A=f.enter("footnoteDefinition"),w=f.enter("label");return b+=v.move(ga(f,Ku(s),{...v.current(),before:b,after:"]"})),w(),b+=v.move("]:"+(s.children&&s.children.length>0?" ":"")),v.shift(4),b+=v.move(No(Ro(s,f,v.current()),T)),A(),b;function T(N,R,L){return R?(L?"":" ")+N:N}}}function Lo(t,n,e){let s=n.indexStack,o=t.children||[],f=[],h=-1,v=e.before;s.push(-1);let b=Ar(e);for(;++h<o.length;){let A=o[h],w;if(s[s.length-1]=h,h+1<o.length){let T=n.handle.handlers[o[h+1].type];T&&T.peek&&(T=T.peek),w=T?T(o[h+1],t,n,{before:"",after:"",...b.current()}).charAt(0):""}else w=e.after;f.length>0&&(v==="\r"||v===`
35
+ `)&&A.type==="html"&&(f[f.length-1]=f[f.length-1].replace(/(\r?\n|\r)$/," "),v=" ",b=Ar(e),b.move(f.join(""))),f.push(b.move(n.handle(A,t,n,{...b.current(),before:v,after:w}))),v=f[f.length-1].slice(-1)}return s.pop(),f.join("")}var jm={canContainEols:["delete"],enter:{strikethrough:wA},exit:{strikethrough:$A}},Bm={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:Vm}};Vm.peek=AA;function wA(t){this.enter({type:"delete",children:[]},t)}function $A(t){this.exit(t)}function Vm(t,n,e,s){let o=Ar(s),f=e.enter("emphasis"),h=o.move("~~");return h+=Lo(t,e,{...o.current(),before:h,after:"~"}),h+=o.move("~~"),f(),h}function AA(){return"~"}Wu.peek=xA;function Wu(t,n,e){let s=t.value||"",o="`",f=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(s);)o+="`";for(/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^`|`$/.test(s))&&(s=" "+s+" ");++f<e.unsafe.length;){let h=e.unsafe[f],v=ys(h),b;if(!!h.atBreak)for(;b=v.exec(s);){let A=b.index;s.charCodeAt(A)===10&&s.charCodeAt(A-1)===13&&A--,s=s.slice(0,A)+" "+s.slice(b.index+1)}}return o+s+o}function xA(){return"`"}function Hm(t,n={}){let e=(n.align||[]).concat(),s=n.stringLength||CA,o=[],f=[],h=[],v=[],b=0,A=-1;for(;++A<t.length;){let L=[],V=[],G=-1;for(t[A].length>b&&(b=t[A].length);++G<t[A].length;){let K=kA(t[A][G]);if(n.alignDelimiters!==!1){let re=s(K);V[G]=re,(v[G]===void 0||re>v[G])&&(v[G]=re)}L.push(K)}f[A]=L,h[A]=V}let w=-1;if(typeof e=="object"&&"length"in e)for(;++w<b;)o[w]=Um(e[w]);else{let L=Um(e);for(;++w<b;)o[w]=L}w=-1;let T=[],N=[];for(;++w<b;){let L=o[w],V="",G="";L===99?(V=":",G=":"):L===108?V=":":L===114&&(G=":");let K=n.alignDelimiters===!1?1:Math.max(1,v[w]-V.length-G.length),re=V+"-".repeat(K)+G;n.alignDelimiters!==!1&&(K=V.length+K+G.length,K>v[w]&&(v[w]=K),N[w]=K),T[w]=re}f.splice(1,0,T),h.splice(1,0,N),A=-1;let R=[];for(;++A<f.length;){let L=f[A],V=h[A];w=-1;let G=[];for(;++w<b;){let K=L[w]||"",re="",ce="";if(n.alignDelimiters!==!1){let xe=v[w]-(V[w]||0),ye=o[w];ye===114?re=" ".repeat(xe):ye===99?xe%2?(re=" ".repeat(xe/2+.5),ce=" ".repeat(xe/2-.5)):(re=" ".repeat(xe/2),ce=re):ce=" ".repeat(xe)}n.delimiterStart!==!1&&!w&&G.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&K==="")&&(n.delimiterStart!==!1||w)&&G.push(" "),n.alignDelimiters!==!1&&G.push(re),G.push(K),n.alignDelimiters!==!1&&G.push(ce),n.padding!==!1&&G.push(" "),(n.delimiterEnd!==!1||w!==b-1)&&G.push("|")}R.push(n.delimiterEnd===!1?G.join("").replace(/ +$/,""):G.join(""))}return R.join(`
36
+ `)}function kA(t){return t==null?"":String(t)}function CA(t){return t.length}function Um(t){let n=typeof t=="string"?t.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}var Qu={enter:{table:_A,tableData:Gm,tableHeader:Gm,tableRow:SA},exit:{codeText:TA,table:EA,tableData:Ju,tableHeader:Ju,tableRow:Ju}};function _A(t){let n=t._align;this.enter({type:"table",align:n.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function EA(t){this.exit(t),this.setData("inTable")}function SA(t){this.enter({type:"tableRow",children:[]},t)}function Ju(t){this.exit(t)}function Gm(t){this.enter({type:"tableCell",children:[]},t)}function TA(t){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,PA));let e=this.stack[this.stack.length-1];e.value=n,this.exit(t)}function PA(t,n){return n==="|"?n:t}function Zu(t){let n=t||{},e=n.tableCellPadding,s=n.tablePipeAlign,o=n.stringLength,f=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
37
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:h,tableRow:v,tableCell:b,inlineCode:N}};function h(R,L,V,G){return A(w(R,V,G),R.align)}function v(R,L,V,G){let K=T(R,V,G),re=A([K]);return re.slice(0,re.indexOf(`
38
+ `))}function b(R,L,V,G){let K=V.enter("tableCell"),re=V.enter("phrasing"),ce=Lo(R,V,{...G,before:f,after:f});return re(),K(),ce}function A(R,L){return Hm(R,{align:L,alignDelimiters:s,padding:e,stringLength:o})}function w(R,L,V){let G=R.children,K=-1,re=[],ce=L.enter("table");for(;++K<G.length;)re[K]=T(G[K],L,V);return ce(),re}function T(R,L,V){let G=R.children,K=-1,re=[],ce=L.enter("tableRow");for(;++K<G.length;)re[K]=b(G[K],R,L,V);return ce(),re}function N(R,L,V){let G=Wu(R,L,V);return V.stack.includes("tableCell")&&(G=G.replace(/\|/g,"\\$&")),G}}function Km(t){let n=t.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function Wm(t){let n=t.options.listItemIndent||"tab";if(n===1||n==="1")return"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function Jm(t,n,e,s){let o=Wm(e),f=e.bulletCurrent||Km(e);n&&n.type==="list"&&n.ordered&&(f=(typeof n.start=="number"&&n.start>-1?n.start:1)+(e.options.incrementListMarker===!1?0:n.children.indexOf(t))+f);let h=f.length+1;(o==="tab"||o==="mixed"&&(n&&n.type==="list"&&n.spread||t.spread))&&(h=Math.ceil(h/4)*4);let v=Ar(s);v.move(f+" ".repeat(h-f.length)),v.shift(h);let b=e.enter("listItem"),A=No(Ro(t,e,v.current()),w);return b(),A;function w(T,N,R){return N?(R?"":" ".repeat(h))+T:(R?f:f+" ".repeat(h-f.length))+T}}var Zm={exit:{taskListCheckValueChecked:Qm,taskListCheckValueUnchecked:Qm,paragraph:FA}},Xm={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:DA}};function Qm(t){let n=this.stack[this.stack.length-2];n.checked=t.type==="taskListCheckValueChecked"}function FA(t){let n=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],s=n.children,o=e.children[0],f=-1,h;if(n&&n.type==="listItem"&&typeof n.checked=="boolean"&&o&&o.type==="text"){for(;++f<s.length;){let v=s[f];if(v.type==="paragraph"){h=v;break}}h===e&&(o.value=o.value.slice(1),o.value.length===0?e.children.shift():e.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,e.position.start=Object.assign({},o.position.start)))}this.exit(t)}function DA(t,n,e,s){let o=t.children[0],f=typeof t.checked=="boolean"&&o&&o.type==="paragraph",h="["+(t.checked?"x":" ")+"] ",v=Ar(s);f&&v.move(h);let b=Jm(t,n,e,{...s,...v.current()});return f&&(b=b.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,A)),b;function A(w){return w+h}}function Xu(){return[Im,Mm(),jm,Qu,Zm]}function Yu(t){return{extensions:[Om,zm(),Bm,Zu(t),Xm]}}function ec(t={}){let n=this.data();e("micromarkExtensions",Em(t)),e("fromMarkdownExtensions",Xu()),e("toMarkdownExtensions",Yu(t));function e(s,o){(n[s]?n[s]:n[s]=[]).push(o)}}var eg={tokenize:IA,concrete:!0},Ym={tokenize:OA,partial:!0};function IA(t,n,e){let s=this,o=s.events[s.events.length-1],f=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,h=0;return v;function v(re){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),b(re)}function b(re){return re===36?(t.consume(re),h++,b):h<2?e(re):(t.exit("mathFlowFenceSequence"),Fe(t,A,"whitespace")(re))}function A(re){return re===null||ge(re)?T(re):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),w(re))}function w(re){return re===null||ge(re)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),T(re)):re===36?e(re):(t.consume(re),w)}function T(re){return t.exit("mathFlowFence"),s.interrupt?n(re):t.attempt(Ym,N,G)(re)}function N(re){return t.attempt({tokenize:K,partial:!0},G,R)(re)}function R(re){return(f?Fe(t,L,"linePrefix",f+1):L)(re)}function L(re){return re===null?G(re):ge(re)?t.attempt(Ym,N,G)(re):(t.enter("mathFlowValue"),V(re))}function V(re){return re===null||ge(re)?(t.exit("mathFlowValue"),L(re)):(t.consume(re),V)}function G(re){return t.exit("mathFlow"),n(re)}function K(re,ce,xe){let ye=0;return Fe(re,le,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function le(Ae){return re.enter("mathFlowFence"),re.enter("mathFlowFenceSequence"),de(Ae)}function de(Ae){return Ae===36?(ye++,re.consume(Ae),de):ye<h?xe(Ae):(re.exit("mathFlowFenceSequence"),Fe(re,Te,"whitespace")(Ae))}function Te(Ae){return Ae===null||ge(Ae)?(re.exit("mathFlowFence"),ce(Ae)):xe(Ae)}}}function OA(t,n,e){let s=this;return o;function o(h){return h===null?n(h):(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),f)}function f(h){return s.parser.lazy[s.now().line]?e(h):n(h)}}function tg(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:s,resolve:qA,previous:RA};function s(o,f,h){let v=this,b=0,A,w;return T;function T(G){return o.enter("mathText"),o.enter("mathTextSequence"),N(G)}function N(G){return G===36?(o.consume(G),b++,N):b<2&&!e?h(G):(o.exit("mathTextSequence"),R(G))}function R(G){return G===null?h(G):G===36?(w=o.enter("mathTextSequence"),A=0,V(G)):G===32?(o.enter("space"),o.consume(G),o.exit("space"),R):ge(G)?(o.enter("lineEnding"),o.consume(G),o.exit("lineEnding"),R):(o.enter("mathTextData"),L(G))}function L(G){return G===null||G===32||G===36||ge(G)?(o.exit("mathTextData"),R(G)):(o.consume(G),L)}function V(G){return G===36?(o.consume(G),A++,V):A===b?(o.exit("mathTextSequence"),o.exit("mathText"),f(G)):(w.type="mathTextData",L(G))}}}function qA(t){let n=t.length-4,e=3,s,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[n][1].type==="lineEnding"||t[n][1].type==="space")){for(s=e;++s<n;)if(t[s][1].type==="mathTextData"){t[n][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,n-=2;break}}for(s=e-1,n++;++s<=n;)o===void 0?s!==n&&t[s][1].type!=="lineEnding"&&(o=s):(s===n||t[s][1].type==="lineEnding")&&(t[o][1].type="mathTextData",s!==o+2&&(t[o][1].end=t[s-1][1].end,t.splice(o+2,s-o-2),n-=s-o-2,s=o+2),o=void 0);return t}function RA(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function tc(t){return{flow:{[36]:eg},text:{[36]:tg(t)}}}function rg(t,n){let e=String(t),s=e.indexOf(n),o=s,f=0,h=0;if(typeof n!="string"||n.length!==1)throw new Error("Expected character");for(;s!==-1;)s===o?++f>h&&(h=f):f=1,o=s+1,s=e.indexOf(n,o);return h}function rc(){return{enter:{mathFlow:t,mathFlowFenceMeta:n,mathText:f},exit:{mathFlow:o,mathFlowFence:s,mathFlowFenceMeta:e,mathFlowValue:v,mathText:h,mathTextData:v}};function t(b){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},b)}function n(){this.buffer()}function e(){let b=this.resume(),A=this.stack[this.stack.length-1];A.meta=b}function s(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function o(b){let A=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),w=this.exit(b);w.value=A,w.data.hChildren[0].value=A,this.setData("mathFlowInside")}function f(b){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},b),this.buffer()}function h(b){let A=this.resume(),w=this.exit(b);w.value=A,w.data.hChildren[0].value=A}function v(b){this.config.enter.data.call(this,b),this.config.exit.data.call(this,b)}}function ic(t){let n=(t||{}).singleDollarTextMath;return n==null&&(n=!0),s.peek=o,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
39
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:n?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:s}};function e(f,h,v,b){let A=f.value||"",w=Ar(b),T="$".repeat(Math.max(rg(A,"$")+1,2)),N=v.enter("mathFlow"),R=w.move(T);if(f.meta){let L=v.enter("mathFlowMeta");R+=w.move(ga(v,f.meta,{before:R,after:`
40
+ `,encode:["$"],...w.current()})),L()}return R+=w.move(`
41
+ `),A&&(R+=w.move(A+`
42
+ `)),R+=w.move(T),N(),R}function s(f,h,v){let b=f.value||"",A=1;for(n||A++;new RegExp("(^|[^$])"+"\\$".repeat(A)+"([^$]|$)").test(b);)A++;let w="$".repeat(A);/[^ \r\n]/.test(b)&&(/^[ \r\n]/.test(b)&&/[ \r\n]$/.test(b)||/^\$|\$$/.test(b))&&(b=" "+b+" ");let T=-1;for(;++T<v.unsafe.length;){let N=v.unsafe[T],R=ys(N),L;if(!!N.atBreak)for(;L=R.exec(b);){let V=L.index;b.codePointAt(V)===10&&b.codePointAt(V-1)===13&&V--,b=b.slice(0,V)+" "+b.slice(L.index+1)}}return w+b+w}function o(){return"$"}}function nc(t={}){let n=this.data();e("micromarkExtensions",tc(t)),e("fromMarkdownExtensions",rc()),e("toMarkdownExtensions",ic(t));function e(s,o){(n[s]?n[s]:n[s]=[]).push(o)}}var Mo=(t,{lineOffset:n}={lineOffset:0})=>{let e=mu().use(gm).use(ec).use(nc).parse(t),s={},o=(v=>b=>{let{start:A,end:w}=b;return{start:{...A,line:A.line+v},end:{...w,line:w.line+v}}})(n);sa({processor:1}).use({"*:*":(v,b)=>(A,w,T)=>{A.children&&T(A.children,{...w})}}).use({":definition":(v,b)=>(A,w,T)=>{s[A.identifier]=A}}).run(e);let f=[];return sa({processor:1}).use({"*:*":(v,b)=>(A,w,T)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(A,null,2)),A.children&&T(A.children,{...w})}}).use({":root":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return jd({},T(N,w))},":math":(v,b)=>(A,w,T)=>{let{value:N,children:R,position:L,...V}=A;return Bd({value:N,location:o(L)})},":inlineMath":(v,b)=>(A,w,T)=>{let{value:N,children:R,position:L,...V}=A;return Ld(N)},":heading":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({type:"block",level:A.depth,name:"head",location:o(R)},T(N,w))},":text":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return A.value},":list":(v,b)=>(A,w,T)=>{let N=w.listLevel||0,{children:R,position:L,...V}=A;return Pr({type:"list",level:N+1,list:A.ordered?"ordered":"itemized"},T(R,{...w,listLevel:N+1,ordered:A.ordered}))},":listItem":(v,b)=>(A,w,T)=>{let N=w.listLevel||0,{children:R,position:L,checked:V,...G}=A,K={name:"item",type:"block",level:w.listLevel,location:o(L)};return V!=null&&(K.checked=V,K.config=[{name:"checked",value:V,type:"boolean"}]),Pr(K,T(R,{...w,listLevel:N,ordered:A.ordered}))},":paragraph":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({type:"para",location:o(R),text:"text",margin:""},T(N,{...w}))},":linkReference":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A,V=s[L.identifier],G=(V==null?void 0:V.url)||"";return Gf({meta:G},T(N,{...w}))},":definition":(v,b)=>(A,w,T)=>null,":inlineCode":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return yo({name:"C"},[A.value])},":strong":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return yo({name:"B"},T(N,{...w}))},":emphasis":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return yo({name:"I"},T(N,{...w}))},":link":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Gf({meta:A.url},T(N,{...w}))},":html":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({type:"block",name:"Html",location:o(R)},[na(A.value)])},":code":(v,b)=>(A,w,T)=>{let{children:N,position:R,lang:L,meta:V,...G}=A;if(L==="mermaid"||L==="diagram")return Pr({type:"block",name:"Mermaid",config:[],location:o(R)},[na(A.value)]);let K=[];return L&&K.push({name:"lang",value:L,type:"string"}),V&&K.push(...Qf(V)),Pr({type:"block",name:"code",config:K,location:o(R)},[na(A.value)])},":image":(v,b)=>(A,w,T)=>{let{title:N,alt:R,url:L,position:V,...G}=A,K=[],re=[zd(L,R)];return N&&re.push(Md([N])),Pr({type:"block",name:"Image",config:K,location:o(V)},re)},":thematicBreak":(v,b)=>(A,w,T)=>null,":blockquote":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({name:"nested",location:o(R)},T(N,{...w}))},":table":(v,b)=>(A,w,T)=>{let{children:N,position:R,align:L,...V}=A;return Pr({name:"table",location:o(R),align:L},T(N,{...w,isHeaderUsed:0}))},":tableRow":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A,V=w.isHeaderUsed++,G={name:"row",location:o(R)};return V||(G.config=[{name:"header",value:!0,type:"boolean"}]),Pr(G,T(N,{...w}))},":tableCell":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({name:"cell",location:o(R)},T(N,{...w}))},":delete":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Nd(T(N,{...w}))},":break":(v,b)=>(A,w,T)=>null}).run(e).interator};var zo={toAst:(t,n)=>(e,s)=>{if(typeof e!="string"&&"type"in e&&"content"in e&&e.type==="block"){let o=e.content[0];if(o&&typeof o!="string"&&"location"in e&&"value"in o){let f=e.location.start.line;return{...e,content:Mo(o,{lineOffset:f})}}return e}},toJSX:t=>Gd},NA={Markdown:zo,markdown:zo},LA=zo;0&&(module.exports={PluginRegister,parseMd,plugin});
43
43
  /*!
44
44
  * Determine if an object is a Buffer
45
45
  *