PageSourceSearch

https://belchencenter.netlify.app/_nuxt/BTLgkjhc.js

js belchencenter.netlify.app collected 2026-10-03 10:30:27 UTC 458,231 bytes, 188 lines download raw bytes

vendor: 6,440 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Di1XGXAQ.js","./DXg7j9gp.js","./entry.BpFjwkEa.css"])))=>i.map(i=>d[i]);
2import{ao as _c,ap as mn,aq as Ci,ar as cu,as as nr,at as An,au as Dc,av as Qr,aa as lu,aw as Wr,ax as yc,ay as Sc,az as kc,aA as Ic,aB as Nc,aC as xc}from"./DXg7j9gp.js";function fu(e){if(e)throw e}var Cr,hu;function Oc(){if(hu)return Cr;hu=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(l){return typeof Array.isArray=="function"?Array.isArray(l):t.call(l)==="[object Array]"},u=function(l){if(!l||t.call(l)!=="[object Object]")return!1;var h=e.call(l,"constructor"),f=l.constructor&&l.constructor.prototype&&e.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!h&&!f)return!1;var m;for(m in l);return typeof m>"u"||e.call(l,m)},s=function(l,h){n&&h.name==="__proto__"?n(l,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):l[h.name]=h.newValue},a=function(l,h){if(h==="__proto__")if(e.call(l,h)){if(r)return r(l,h).value}else return;return l[h]};return Cr=function o(){var l,h,f,m,d,E,p=arguments[0],A=1,T=arguments.length,k=!1;for(typeof p=="boolean"&&(k=p,p=arguments[1]||{},A=2),(p==null||typeof p!="object"&&typeof p!="function")&&(p={});A<T;++A)if(l=arguments[A],l!=null)for(h in l)f=a(p,h),m=a(l,h),p!==m&&(k&&m&&(u(m)||(d=i(m)))?(d?(d=!1,E=f&&i(f)?f:[]):E=f&&u(f)?f:{},s(p,{name:h,newValue:o(k,E,m)})):typeof m<"u"&&s(p,{name:h,newValue:m}));return p},Cr}var Lc=Oc();const _r=_c(Lc);function Gr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Fc(){const e=[],t={run:n,use:r};return t;function n(...i){let u=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...i);function a(o,...l){const h=e[++u];let f=-1;if(o){s(o);return}for(;++f<i.length;)(l[f]===null||l[f]===void 0)&&(l[f]=i[f]);i=l,h?wc(h,a)(...l):s(null,...l)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function wc(e,t){let n;return r;function r(...s){const a=e.length>s.length;let o;a&&s.push(i);try{o=e.apply(this,s)}catch(l){const h=l;if(a&&n)throw h;return i(h)}a||(o&&o.then&&typeof o.then=="function"?o.then(u,i):o instanceof Error?i(o):u(o))}function i(s,...a){n||(n=!0,t(s,...a))}function u(s){i(null,s)}}function un(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?du(e.position):"start"in e||"end"in e?du(e):"line"in e||"column"in e?Xr(e):""}function Xr(e){return mu(e&&e.line)+":"+mu(e&&e.column)}function du(e){return Xr(e&&e.start)+"-"+Xr(e&&e.end)}function mu(e){return e&&typeof e=="number"?e:1}class De extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",u={},s=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof t=="string"?i=t:!u.cause&&t&&(s=!0,i=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof r=="string"){const o=r.indexOf(":");o===-1?u.ruleId=r:(u.source=r.slice(0,o),u.ruleId=r.slice(o+1))}if(!u.place&&u.ancestors&&u.ancestors){const o=u.ancestors[u.ancestors.length-1];o&&(u.place=o.position)}const a=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=un(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=s&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}De.prototype.file="";De.prototype.name="";De.prototype.reason="";De.prototype.message="";De.prototype.stack="";De.prototype.column=void 0;De.prototype.line=void 0;De.prototype.ancestors=void 0;De.prototype.cause=void 0;De.prototype.fatal=void 0;De.prototype.place=void 0;De.prototype.ruleId=void 0;De.prototype.source=void 0;const Pe={basename:Rc,dirname:Bc,extname:Pc,join:Mc,sep:"/"};function Rc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Cn(e);let n=0,r=-1,i=e.length,u;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else r<0&&(u=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else s<0&&(u=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function Bc(e){if(Cn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Pc(e){Cn(e);let t=e.length,n=-1,r=0,i=-1,u=0,s;for(;t--;){const a=e.codePointAt(t);if(a===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),a===46?i<0?i=t:u!==1&&(u=1):i>-1&&(u=-1)}return i<0||n<0||u===0||u===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Mc(...e){let t=-1,n;for(;++t<e.length;)Cn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Uc(n)}function Uc(e){Cn(e);const t=e.codePointAt(0)===47;let n=Hc(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Hc(e,t){let n="",r=0,i=-1,u=0,s=-1,a,o;for(;++s<=e.length;){if(s<e.length)a=e.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||u===1))if(i!==s-1&&u===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(o=n.lastIndexOf("/"),o!==n.length-1){o<0?(n="",r=0):(n=n.slice(0,o),r=n.length-1-n.lastIndexOf("/")),i=s,u=0;continue}}else if(n.length>0){n="",r=0,i=s,u=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,u=0}else a===46&&u>-1?u++:u=-1}return n}function Cn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const vc={cwd:zc};function zc(){return"/"}function Jr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}
vendor: 7,639 bytes, line 2
2function qc(e){if(typeof e=="string")e=new URL(e);else if(!Jr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return $c(e)}function $c(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Dr=["history","path","basename","stem","extname","dirname"];class Yc{constructor(t){let n;t?Jr(t)?n={path:t}:typeof t=="string"||jc(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":vc.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Dr.length;){const u=Dr[r];u in n&&n[u]!==void 0&&n[u]!==null&&(this[u]=u==="history"?[...n[u]]:n[u])}let i;for(i in n)Dr.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Pe.basename(this.path):void 0}set basename(t){Sr(t,"basename"),yr(t,"basename"),this.path=Pe.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Pe.dirname(this.path):void 0}set dirname(t){pu(this.basename,"dirname"),this.path=Pe.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Pe.extname(this.path):void 0}set extname(t){if(yr(t,"extname"),pu(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Pe.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Jr(t)&&(t=qc(t)),Sr(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Pe.basename(this.path,this.extname):void 0}set stem(t){Sr(t,"stem"),yr(t,"stem"),this.path=Pe.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new De(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function yr(e,t){if(e&&e.includes(Pe.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Pe.sep+"`")}function Sr(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function pu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function jc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Kc=(function(e){const r=this.constructor.prototype,i=r[e],u=function(){return i.apply(u,arguments)};return Object.setPrototypeOf(u,r),u}),Vc={}.hasOwnProperty;class _i extends Kc{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Fc()}copy(){const t=new _i;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(_r(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Nr("data",this.frozen),this.namespace[t]=n,this):Vc.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Nr("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=xn(t),r=this.parser||this.Parser;return kr("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),kr("process",this.parser||this.Parser),Ir("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(u,s){const a=xn(t),o=r.parse(a);r.run(o,a,function(h,f,m){if(h||!f||!m)return l(h);const d=f,E=r.stringify(d,m);Gc(E)?m.value=E:m.result=E,l(h,m)});function l(h,f){h||!f?s(h):u?u(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),kr("processSync",this.parser||this.Parser),Ir("processSync",this.compiler||this.Compiler),this.process(t,i),gu("processSync","process",n),r;function i(u,s){n=!0,fu(u),r=s}}run(t,n,r){Eu(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?u(void 0,r):new Promise(u);function u(s,a){const o=xn(n);i.run(t,o,l);function l(h,f,m){const d=f||t;h?a(h):s?s(d):r(void 0,d,m)}}}runSync(t,n){let r=!1,i;return this.run(t,n,u),gu("runSync","run",r),i;function u(s,a){fu(s),i=a,r=!0}}stringify(t,n){this.freeze();const r=xn(n),i=this.compiler||this.Compiler;return Ir("stringify",i),Eu(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Nr("use",this.frozen),t!=null)if(typeof t=="function")o(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function u(l){if(typeof l=="function")o(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[h,...f]=l;o(h,f)}else s(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function s(l){if(!("plugins"in l)&&!("settings"in l))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(l.plugins),l.settings&&(i.settings=_r(!0,i.settings,l.settings))}function a(l){let h=-1;if(l!=null)if(Array.isArray(l))for(;++h<l.length;){const f=l[h];u(f)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function o(l,h){let f=-1,m=-1;for(;++f<r.length;)if(r[f][0]===l){m=f;break}if(m===-1)r.push([l,...h]);else if(h.length>0){let[d,...E]=h;const p=r[m][1];Gr(p)&&Gr(d)&&(d=_r(!0,p,d)),r[m]=[l,d,...E]}}}}const Qc=new _i().freeze();function kr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ir(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Nr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Eu(e){if(!Gr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function gu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function xn(e){return Wc(e)?e:new Yc(e)}function Wc(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Gc(e){return typeof e=="string"||Xc(e)}function Xc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Jc={};function Di(e,t){const n=Jc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ls(e,r,i)}function Ls(e,t,n){if(Zc(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return bu(e.children,t,n)}return Array.isArray(e)?bu(e,t,n):""}function bu(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Ls(e[i],t,n);return r.join("")}function Zc(e){return!!(e&&typeof e=="object")}
vendor: 13,078 bytes, line 2
2const Tu=document.createElement("i");function pn(e){const t="&"+e+";";Tu.innerHTML=t;const n=Tu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function ke(e,t,n,r){const i=e.length;let u=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);u<r.length;)s=r.slice(u,u+1e4),s.unshift(t,0),e.splice(...s),u+=1e4,t+=1e4}function Ie(e,t){return e.length>0?(ke(e,e.length,0,t),e):t}const Au={}.hasOwnProperty;function Fs(e){const t={};let n=-1;for(;++n<e.length;)el(t,e[n]);return t}function el(e,t){let n;for(n in t){const i=(Au.call(e,n)?e[n]:void 0)||(e[n]={}),u=t[n];let s;if(u)for(s in u){Au.call(i,s)||(i[s]=[]);const a=u[s];tl(i[s],Array.isArray(a)?a:a?[a]:[])}}}function tl(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ke(e,0,0,r)}function ws(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function we(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const pe=ut(/[A-Za-z]/),de=ut(/[\dA-Za-z]/),nl=ut(/[#-'*+\--9=?A-Z^-~]/);function Kn(e){return e!==null&&(e<32||e===127)}const Zr=ut(/\d/),rl=ut(/[\dA-Fa-f]/),il=ut(/[!-/:-@[-`{-~]/);function V(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function W(e){return e===-2||e===-1||e===32}const rr=ut(new RegExp("\\p{P}|\\p{S}","u")),pt=ut(/\s/);function ut(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function st(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const u=e.charCodeAt(n);let s="";if(u===37&&de(e.charCodeAt(n+1))&&de(e.charCodeAt(n+2)))i=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(s=String.fromCharCode(u));else if(u>55295&&u<57344){const a=e.charCodeAt(n+1);u<56320&&a>56319&&a<57344?(s=String.fromCharCode(u,a),i=1):s="�"}else s=String.fromCharCode(u);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Q(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return s;function s(o){return W(o)?(e.enter(n),a(o)):t(o)}function a(o){return W(o)&&u++<i?(e.consume(o),a):(e.exit(n),t(o))}}const ul={tokenize:sl};function sl(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Q(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),u(a)}function u(a){const o=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,s(a)}function s(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return V(a)?(e.consume(a),e.exit("chunkText"),u):(e.consume(a),s)}}const al={tokenize:ol},Cu={tokenize:cl};function ol(e){const t=this,n=[];let r=0,i,u,s;return a;function a(I){if(r<n.length){const O=n[r];return t.containerState=O[1],e.attempt(O[0].continuation,o,l)(I)}return l(I)}function o(I){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&k();const O=t.events.length;let M=O,S;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){S=t.events[M][1].end;break}T(r);let q=O;for(;q<t.events.length;)t.events[q][1].end={...S},q++;return ke(t.events,M+1,0,t.events.slice(O)),t.events.length=q,l(I)}return a(I)}function l(I){if(r===n.length){if(!i)return m(I);if(i.currentConstruct&&i.currentConstruct.concrete)return E(I);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Cu,h,f)(I)}function h(I){return i&&k(),T(r),m(I)}function f(I){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,E(I)}function m(I){return t.containerState={},e.attempt(Cu,d,E)(I)}function d(I){return r++,n.push([t.currentConstruct,t.containerState]),m(I)}function E(I){if(I===null){i&&k(),T(0),e.consume(I);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:u}),p(I)}function p(I){if(I===null){A(e.exit("chunkFlow"),!0),T(0),e.consume(I);return}return V(I)?(e.consume(I),A(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(I),p)}function A(I,O){const M=t.sliceStream(I);if(O&&M.push(null),I.previous=u,u&&(u.next=I),u=I,i.defineSkip(I.start),i.write(M),t.parser.lazy[I.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<s&&(!i.events[S][1].end||i.events[S][1].end.offset>s))return;const q=t.events.length;let F=q,Y,N;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){if(Y){N=t.events[F][1].end;break}Y=!0}for(T(r),S=q;S<t.events.length;)t.events[S][1].end={...N},S++;ke(t.events,F+1,0,t.events.slice(q)),t.events.length=S}}function T(I){let O=n.length;for(;O-- >I;){const M=n[O];t.containerState=M[1],M[0].exit.call(t,e)}n.length=I}function k(){i.write([null]),u=void 0,i=void 0,t.containerState._closeFlow=void 0}}function cl(e,t,n){return Q(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Lt(e){if(e===null||te(e)||pt(e))return 1;if(rr(e))return 2}function ir(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const u=e[i].resolveAll;u&&!r.includes(u)&&(t=u(t,n),r.push(u))}return t}const ei={name:"attention",resolveAll:ll,tokenize:fl};function ll(e,t){let n=-1,r,i,u,s,a,o,l,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;o=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},m={...e[n][1].start};_u(f,-o),_u(m,o),s={type:o>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},a={type:o>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},u={type:o>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:o>1?"strong":"emphasis",start:{...s.start},end:{...a.end}},e[r][1].end={...s.start},e[n][1].start={...a.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Ie(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=Ie(l,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",u,t]]),l=Ie(l,ir(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Ie(l,[["exit",u,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,l=Ie(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,ke(e,r-1,n-r+3,l),n=r+l.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function fl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Lt(r);let u;return s;function s(o){return u=o,e.enter("attentionSequence"),a(o)}function a(o){if(o===u)return e.consume(o),a;const l=e.exit("attentionSequence"),h=Lt(o),f=!h||h===2&&i||n.includes(o),m=!i||i===2&&h||n.includes(r);return l._open=!!(u===42?f:f&&(i||!m)),l._close=!!(u===42?m:m&&(h||!f)),t(o)}}function _u(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const hl={name:"autolink",tokenize:dl};function dl(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),u}function u(d){return pe(d)?(e.consume(d),s):d===64?n(d):l(d)}function s(d){return d===43||d===45||d===46||de(d)?(r=1,a(d)):l(d)}function a(d){return d===58?(e.consume(d),r=0,o):(d===43||d===45||d===46||de(d))&&r++<32?(e.consume(d),a):(r=0,l(d))}function o(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Kn(d)?n(d):(e.consume(d),o)}function l(d){return d===64?(e.consume(d),h):nl(d)?(e.consume(d),l):n(d)}function h(d){return de(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,h):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):m(d)}function m(d){if((d===45||de(d))&&r++<63){const E=d===45?m:f;return e.consume(d),E}return n(d)}}const _n={partial:!0,tokenize:ml};function ml(e,t,n){return r;function r(u){return W(u)?Q(e,i,"linePrefix")(u):i(u)}function i(u){return u===null||V(u)?t(u):n(u)}}const Rs={continuation:{tokenize:El},exit:gl,name:"blockQuote",tokenize:pl};function pl(e,t,n){const r=this;return i;function i(s){if(s===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),u}return n(s)}function u(s){return W(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function El(e,t,n){const r=this;return i;function i(s){return W(s)?Q(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):u(s)}function u(s){return e.attempt(Rs,t,n)(s)}}function gl(e){e.exit("blockQuote")}const Bs={name:"characterEscape",tokenize:bl};function bl(e,t,n){return r;function r(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),i}function i(u){return il(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(u)}}const Ps={name:"characterReference",tokenize:Tl};function Tl(e,t,n){const r=this;let i=0,u,s;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),o}function o(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),u=31,s=de,h(f))}function l(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),u=6,s=rl,h):(e.enter("characterReferenceValue"),u=7,s=Zr,h(f))}function h(f){if(f===59&&i){const m=e.exit("characterReferenceValue");return s===de&&!pn(r.sliceSerialize(m))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<u?(e.consume(f),h):n(f)}}const Du={partial:!0,tokenize:Cl},ti={concrete:!0,name:"codeFenced",tokenize:Al};function Al(e,t,n){const r=this,i={partial:!0,tokenize:M};let u=0,s=0,a;return o;function o(S){return l(S)}function l(S){const q=r.events[r.events.length-1];return u=q&&q[1].type==="linePrefix"?q[2].sliceSerialize(q[1],!0).length:0,a=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(S)}function h(S){return S===a?(s++,e.consume(S),h):s<3?n(S):(e.exit("codeFencedFenceSequence"),W(S)?Q(e,f,"whitespace")(S):f(S))}function f(S){return S===null||V(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(Du,p,O)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(S))}function m(S){return S===null||V(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):W(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Q(e,d,"whitespace")(S)):S===96&&S===a?n(S):(e.consume(S),m)}function d(S){return S===null||V(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(S))}function E(S){return S===null||V(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===a?n(S):(e.consume(S),E)}function p(S){return e.attempt(i,O,A)(S)}function A(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),T}function T(S){return u>0&&W(S)?Q(e,k,"linePrefix",u+1)(S):k(S)}function k(S){return S===null||V(S)?e.check(Du,p,O)(S):(e.enter("codeFlowValue"),I(S))}function I(S){return S===null||V(S)?(e.exit("codeFlowValue"),k(S)):(e.consume(S),I)}function O(S){return e.exit("codeFenced"),t(S)}function M(S,q,F){let Y=0;return N;function N(X){return S.enter("lineEnding"),S.consume(X),S.exit("lineEnding"),U}function U(X){return S.enter("codeFencedFence"),W(X)?Q(S,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):z(X)}function z(X){return X===a?(S.enter("codeFencedFenceSequence"),j(X)):F(X)}function j(X){return X===a?(Y++,S.consume(X),j):Y>=s?(S.exit("codeFencedFenceSequence"),W(X)?Q(S,Z,"whitespace")(X):Z(X)):F(X)}function Z(X){return X===null||V(X)?(S.exit("codeFencedFence"),q(X)):F(X)}}}function Cl(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),u)}function u(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const xr={name:"codeIndented",tokenize:Dl},_l={partial:!0,tokenize:yl};function Dl(e,t,n){const r=this;return i;
vendor: 9,796 bytes, line 2
2function i(l){return e.enter("codeIndented"),Q(e,u,"linePrefix",5)(l)}function u(l){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?s(l):n(l)}function s(l){return l===null?o(l):V(l)?e.attempt(_l,s,o)(l):(e.enter("codeFlowValue"),a(l))}function a(l){return l===null||V(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),a)}function o(l){return e.exit("codeIndented"),t(l)}}function yl(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):V(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):Q(e,u,"linePrefix",5)(s)}function u(s){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):V(s)?i(s):n(s)}}const Sl={name:"codeText",previous:Il,resolve:kl,tokenize:Nl};function kl(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Il(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Nl(e,t,n){let r=0,i,u;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),o(f))}function o(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),o):f===96?(u=e.enter("codeTextSequence"),i=0,h(f)):V(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(f))}function l(f){return f===null||f===32||f===96||V(f)?(e.exit("codeTextData"),o(f)):(e.consume(f),l)}function h(f){return f===96?(e.consume(f),i++,h):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(u.type="codeTextData",l(f))}}class xl{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Qt(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Qt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Qt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Qt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Qt(this.left,n.reverse())}}}function Qt(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Ms(e){const t={};let n=-1,r,i,u,s,a,o,l;const h=new xl(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(o=r[1]._tokenizer.events,u=0,u<o.length&&o[u][1].type==="lineEndingBlank"&&(u+=2),u<o.length&&o[u][1].type==="content"))for(;++u<o.length&&o[u][1].type!=="content";)o[u][1].type==="chunkText"&&(o[u][1]._isInFirstContentOfListItem=!0,u++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Ol(h,n)),n=t[n],l=!0);else if(r[1]._container){for(u=n,i=void 0;u--;)if(s=h.get(u),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=u);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(r[1].end={...h.get(i)[1].start},a=h.slice(i,n),a.unshift(r),h.splice(i,n-i+1,a))}}return ke(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!l}function Ol(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const u=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const a=s.events,o=[],l={};let h,f,m=-1,d=n,E=0,p=0;const A=[p];for(;d;){for(;e.get(++i)[1]!==d;);u.push(i),d._tokenizer||(h=r.sliceStream(d),d.next||h.push(null),f&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(h),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++m<a.length;)a[m][0]==="exit"&&a[m-1][0]==="enter"&&a[m][1].type===a[m-1][1].type&&a[m][1].start.line!==a[m][1].end.line&&(p=m+1,A.push(p),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):A.pop(),m=A.length;m--;){const T=a.slice(A[m],A[m+1]),k=u.pop();o.push([k,k+T.length-1]),e.splice(k,2,T)}for(o.reverse(),m=-1;++m<o.length;)l[E+o[m][0]]=E+o[m][1],E+=o[m][1]-o[m][0]-1;return l}const Ll={resolve:wl,tokenize:Rl},Fl={partial:!0,tokenize:Bl};function wl(e){return Ms(e),e}function Rl(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?u(a):V(a)?e.check(Fl,s,u)(a):(e.consume(a),i)}function u(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function s(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Bl(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Q(e,u,"linePrefix")}function u(s){if(s===null||V(s))return n(s);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Us(e,t,n,r,i,u,s,a,o){const l=o||Number.POSITIVE_INFINITY;let h=0;return f;function f(T){return T===60?(e.enter(r),e.enter(i),e.enter(u),e.consume(T),e.exit(u),m):T===null||T===32||T===41||Kn(T)?n(T):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(T))}function m(T){return T===62?(e.enter(u),e.consume(T),e.exit(u),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(T))}function d(T){return T===62?(e.exit("chunkString"),e.exit(a),m(T)):T===null||T===60||V(T)?n(T):(e.consume(T),T===92?E:d)}function E(T){return T===60||T===62||T===92?(e.consume(T),d):d(T)}function p(T){return!h&&(T===null||T===41||te(T))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(T)):h<l&&T===40?(e.consume(T),h++,p):T===41?(e.consume(T),h--,p):T===null||T===32||T===40||Kn(T)?n(T):(e.consume(T),T===92?A:p)}function A(T){return T===40||T===41||T===92?(e.consume(T),p):p(T)}}function Hs(e,t,n,r,i,u){const s=this;let a=0,o;return l;function l(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(u),h}function h(d){return a>999||d===null||d===91||d===93&&!o||d===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):d===93?(e.exit(u),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):V(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||V(d)||a++>999?(e.exit("chunkString"),h(d)):(e.consume(d),o||(o=!W(d)),d===92?m:f)}function m(d){return d===91||d===92||d===93?(e.consume(d),a++,f):f(d)}}function vs(e,t,n,r,i,u){let s;return a;function a(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),s=m===40?41:m,o):n(m)}function o(m){return m===s?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):(e.enter(u),l(m))}function l(m){return m===s?(e.exit(u),o(s)):m===null?n(m):V(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Q(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===s||m===null||V(m)?(e.exit("chunkString"),l(m)):(e.consume(m),m===92?f:h)}function f(m){return m===s||m===92?(e.consume(m),h):h(m)}}function Ue(e,t){let n;return r;function r(i){return V(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):W(i)?Q(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Pl={name:"definition",tokenize:Ul},Ml={partial:!0,tokenize:Hl};function Ul(e,t,n){const r=this;let i;return u;function u(d){return e.enter("definition"),s(d)}function s(d){return Hs.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return i=we(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),o):n(d)}function o(d){return te(d)?Ue(e,l)(d):l(d)}function l(d){return Us(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function h(d){return e.attempt(Ml,f,f)(d)}function f(d){return W(d)?Q(e,m,"whitespace")(d):m(d)}function m(d){return d===null||V(d)?(e.exit("definition"),r.parser.defined.push(i),t(d
vendor: 13,770 bytes, line 2
2)):n(d)}}function Hl(e,t,n){return r;function r(a){return te(a)?Ue(e,i)(a):n(a)}function i(a){return vs(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function u(a){return W(a)?Q(e,s,"whitespace")(a):s(a)}function s(a){return a===null||V(a)?t(a):n(a)}}const vl={name:"hardBreakEscape",tokenize:zl};function zl(e,t,n){return r;function r(u){return e.enter("hardBreakEscape"),e.consume(u),i}function i(u){return V(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}const ql={name:"headingAtx",resolve:$l,tokenize:Yl};function $l(e,t){let n=e.length-2,r=3,i,u;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},u={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ke(e,r,n-r+1,[["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t]])),e}function Yl(e,t,n){let r=0;return i;function i(h){return e.enter("atxHeading"),u(h)}function u(h){return e.enter("atxHeadingSequence"),s(h)}function s(h){return h===35&&r++<6?(e.consume(h),s):h===null||te(h)?(e.exit("atxHeadingSequence"),a(h)):n(h)}function a(h){return h===35?(e.enter("atxHeadingSequence"),o(h)):h===null||V(h)?(e.exit("atxHeading"),t(h)):W(h)?Q(e,a,"whitespace")(h):(e.enter("atxHeadingText"),l(h))}function o(h){return h===35?(e.consume(h),o):(e.exit("atxHeadingSequence"),a(h))}function l(h){return h===null||h===35||te(h)?(e.exit("atxHeadingText"),a(h)):(e.consume(h),l)}}const jl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],yu=["pre","script","style","textarea"],Kl={concrete:!0,name:"htmlFlow",resolveTo:Wl,tokenize:Gl},Vl={partial:!0,tokenize:Jl},Ql={partial:!0,tokenize:Xl};function Wl(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Gl(e,t,n){const r=this;let i,u,s,a,o;return l;function l(_){return h(_)}function h(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),f}function f(_){return _===33?(e.consume(_),m):_===47?(e.consume(_),u=!0,p):_===63?(e.consume(_),i=3,r.interrupt?t:D):pe(_)?(e.consume(_),s=String.fromCharCode(_),A):n(_)}function m(_){return _===45?(e.consume(_),i=2,d):_===91?(e.consume(_),i=5,a=0,E):pe(_)?(e.consume(_),i=4,r.interrupt?t:D):n(_)}function d(_){return _===45?(e.consume(_),r.interrupt?t:D):n(_)}function E(_){const ae="CDATA[";return _===ae.charCodeAt(a++)?(e.consume(_),a===ae.length?r.interrupt?t:z:E):n(_)}function p(_){return pe(_)?(e.consume(_),s=String.fromCharCode(_),A):n(_)}function A(_){if(_===null||_===47||_===62||te(_)){const ae=_===47,at=s.toLowerCase();return!ae&&!u&&yu.includes(at)?(i=1,r.interrupt?t(_):z(_)):jl.includes(s.toLowerCase())?(i=6,ae?(e.consume(_),T):r.interrupt?t(_):z(_)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(_):u?k(_):I(_))}return _===45||de(_)?(e.consume(_),s+=String.fromCharCode(_),A):n(_)}function T(_){return _===62?(e.consume(_),r.interrupt?t:z):n(_)}function k(_){return W(_)?(e.consume(_),k):N(_)}function I(_){return _===47?(e.consume(_),N):_===58||_===95||pe(_)?(e.consume(_),O):W(_)?(e.consume(_),I):N(_)}function O(_){return _===45||_===46||_===58||_===95||de(_)?(e.consume(_),O):M(_)}function M(_){return _===61?(e.consume(_),S):W(_)?(e.consume(_),M):I(_)}function S(_){return _===null||_===60||_===61||_===62||_===96?n(_):_===34||_===39?(e.consume(_),o=_,q):W(_)?(e.consume(_),S):F(_)}function q(_){return _===o?(e.consume(_),o=null,Y):_===null||V(_)?n(_):(e.consume(_),q)}function F(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||te(_)?M(_):(e.consume(_),F)}function Y(_){return _===47||_===62||W(_)?I(_):n(_)}function N(_){return _===62?(e.consume(_),U):n(_)}function U(_){return _===null||V(_)?z(_):W(_)?(e.consume(_),U):n(_)}function z(_){return _===45&&i===2?(e.consume(_),B):_===60&&i===1?(e.consume(_),P):_===62&&i===4?(e.consume(_),re):_===63&&i===3?(e.consume(_),D):_===93&&i===5?(e.consume(_),y):V(_)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Vl,he,j)(_)):_===null||V(_)?(e.exit("htmlFlowData"),j(_)):(e.consume(_),z)}function j(_){return e.check(Ql,Z,he)(_)}function Z(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),X}function X(_){return _===null||V(_)?j(_):(e.enter("htmlFlowData"),z(_))}function B(_){return _===45?(e.consume(_),D):z(_)}function P(_){return _===47?(e.consume(_),s="",K):z(_)}function K(_){if(_===62){const ae=s.toLowerCase();return yu.includes(ae)?(e.consume(_),re):z(_)}return pe(_)&&s.length<8?(e.consume(_),s+=String.fromCharCode(_),K):z(_)}function y(_){return _===93?(e.consume(_),D):z(_)}function D(_){return _===62?(e.consume(_),re):_===45&&i===2?(e.consume(_),D):z(_)}function re(_){return _===null||V(_)?(e.exit("htmlFlowData"),he(_)):(e.consume(_),re)}function he(_){return e.exit("htmlFlow"),t(_)}}function Xl(e,t,n){const r=this;return i;function i(s){return V(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),u):n(s)}function u(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function Jl(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(_n,t,n)}}const Zl={name:"htmlText",tokenize:ef};function ef(e,t,n){const r=this;let i,u,s;return a;function a(D){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(D),o}function o(D){return D===33?(e.consume(D),l):D===47?(e.consume(D),M):D===63?(e.consume(D),I):pe(D)?(e.consume(D),F):n(D)}function l(D){return D===45?(e.consume(D),h):D===91?(e.consume(D),u=0,E):pe(D)?(e.consume(D),k):n(D)}function h(D){return D===45?(e.consume(D),d):n(D)}function f(D){return D===null?n(D):D===45?(e.consume(D),m):V(D)?(s=f,P(D)):(e.consume(D),f)}function m(D){return D===45?(e.consume(D),d):f(D)}function d(D){return D===62?B(D):D===45?m(D):f(D)}function E(D){const re="CDATA[";return D===re.charCodeAt(u++)?(e.consume(D),u===re.length?p:E):n(D)}function p(D){return D===null?n(D):D===93?(e.consume(D),A):V(D)?(s=p,P(D)):(e.consume(D),p)}function A(D){return D===93?(e.consume(D),T):p(D)}function T(D){return D===62?B(D):D===93?(e.consume(D),T):p(D)}function k(D){return D===null||D===62?B(D):V(D)?(s=k,P(D)):(e.consume(D),k)}function I(D){return D===null?n(D):D===63?(e.consume(D),O):V(D)?(s=I,P(D)):(e.consume(D),I)}function O(D){return D===62?B(D):I(D)}function M(D){return pe(D)?(e.consume(D),S):n(D)}function S(D){return D===45||de(D)?(e.consume(D),S):q(D)}function q(D){return V(D)?(s=q,P(D)):W(D)?(e.consume(D),q):B(D)}function F(D){return D===45||de(D)?(e.consume(D),F):D===47||D===62||te(D)?Y(D):n(D)}function Y(D){return D===47?(e.consume(D),B):D===58||D===95||pe(D)?(e.consume(D),N):V(D)?(s=Y,P(D)):W(D)?(e.consume(D),Y):B(D)}function N(D){return D===45||D===46||D===58||D===95||de(D)?(e.consume(D),N):U(D)}function U(D){return D===61?(e.consume(D),z):V(D)?(s=U,P(D)):W(D)?(e.consume(D),U):Y(D)}function z(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),i=D,j):V(D)?(s=z,P(D)):W(D)?(e.consume(D),z):(e.consume(D),Z)}function j(D){return D===i?(e.consume(D),i=void 0,X):D===null?n(D):V(D)?(s=j,P(D)):(e.consume(D),j)}function Z(D){return D===null||D===34||D===39||D===60||D===61||D===96?n(D):D===47||D===62||te(D)?Y(D):(e.consume(D),Z)}function X(D){return D===47||D===62||te(D)?Y(D):n(D)}function B(D){return D===62?(e.consume(D),e.exit("htmlTextData"),e.exit("htmlText"),t):n(D)}function P(D){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),K}function K(D){return W(D)?Q(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):y(D)}function y(D){return e.enter("htmlTextData"),s(D)}}const yi={name:"labelEnd",resolveAll:uf,resolveTo:sf,tokenize:af},tf={tokenize:of},nf={tokenize:cf},rf={tokenize:lf};function uf(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&ke(e,0,e.length,n),e}function sf(e,t){let n=e.length,r=0,i,u,s,a;for(;n--;)if(i=e[n][1],u){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(u=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(s=n);const o={type:e[u][1].type==="labelLink"?"link":"image",start:{...e[u][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[u][1].start},end:{...e[s][1].end}},h={type:"labelText",start:{...e[u+r+2][1].end},end:{...e[s-2][1].start}};return a=[["enter",o,t],["enter",l,t]],a=Ie(a,e.slice(u+1,u+r+3)),a=Ie(a,[["enter",h,t]]),a=Ie(a,ir(t.parser.constructs.insideSpan.null,e.slice(u+r+4,s-3),t)),a=Ie(a,[["exit",h,t],e[s-2],e[s-1],["exit",l,t]]),a=Ie(a,e.slice(s+1)),a=Ie(a,[["exit",o,t]]),ke(e,u,e.length,a),e}function af(e,t,n){const r=this;let i=r.events.length,u,s;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){u=r.events[i][1];break}return a;function a(m){return u?u._inactive?f(m):(s=r.parser.defined.includes(we(r.sliceSerialize({start:u.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),o):n(m)}function o(m){return m===40?e.attempt(tf,h,s?h:f)(m):m===91?e.attempt(nf,h,s?l:f)(m):s?h(m):f(m)}function l(m){return e.attempt(rf,h,f)(m)}function h(m){return t(m)}function f(m){return u._balanced=!0,n(m)}}function of(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return te(f)?Ue(e,u)(f):u(f)}function u(f){return f===41?h(f):Us(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return te(f)?Ue(e,o)(f):h(f)}function a(f){return n(f)}function o(f){return f===34||f===39||f===40?vs(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function l(f){return te(f)?Ue(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function cf(e,t,n){const r=this;return i;function i(a){return Hs.call(r,e,u,s,"reference","referenceMarker","referenceString")(a)}function u(a){return r.parser.defined.includes(we(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function s(a){return n(a)}}function lf(e,t,n){return r;function r(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),i}function i(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),t):n(u)}}const ff={name:"labelStartImage",resolveAll:yi.resolveAll,tokenize:hf};function hf(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),u}function u(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),s):n(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const df={name:"labelStartLink",resolveAll:yi.resolveAll,tokenize:mf};function mf(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),u}function u(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Or={name:"lineEnding",tokenize:pf};function pf(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Q(e,t,"linePrefix")}}const vn={name:"thematicBreak",tokenize:Ef};function Ef(e,t,n){let r=0,i;return u;function u(l){return e.enter("thematicBreak"),s(l)}function s(l){return i=l,a(l)}function a(l){return l===i?(e.enter("thematicBreakSequence"),o(l)):r>=3&&(l===null||V(l))?(e.exit("thematicBreak"),t(l)):n(l)}function o(l){return l===i?(e.consume(l),r++,o):(e.exit("thematicBreakSequence"),W(l)?Q(e,a,"whitespace")(l):a(l))}}const _e={continuation:{tokenize:Af},exit:_f,name:"list",tokenize:Tf},gf={partial:!0,tokenize:Df},bf={partial:!0,tokenize:Cf};function Tf(e,t,n){const r=this,i=r.events[r.events.length-1];let u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(d){const E=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Zr(d)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(vn,n,l)(d):l(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(d)}return n(d)}function o(d){return Zr(d)&&++s<10?(e.consume(d),o):(!r.interrupt||s<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),l(d)):n(d)}function l(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(_n,r.interrupt?n:h,e.attempt(gf,m,f))}
vendor: 5,348 bytes, line 2
2function h(d){return r.containerState.initialBlankLine=!0,u++,m(d)}function f(d){return W(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),m):n(d)}function m(d){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function Af(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(_n,i,u);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Q(e,t,"listItemIndent",r.containerState.size+1)(a)}function u(a){return r.containerState.furtherBlankLines||!W(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bf,t,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Q(e,e.attempt(_e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Cf(e,t,n){const r=this;return Q(e,i,"listItemIndent",r.containerState.size+1);function i(u){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(u):n(u)}}function _f(e){e.exit(this.containerState.type)}function Df(e,t,n){const r=this;return Q(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(u){const s=r.events[r.events.length-1];return!W(u)&&s&&s[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}const Su={name:"setextUnderline",resolveTo:yf,tokenize:Sf};function yf(e,t){let n=e.length,r,i,u;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!u&&e[n][1].type==="definition"&&(u=n);const s={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",u?(e.splice(i,0,["enter",s,t]),e.splice(u+1,0,["exit",e[r][1],t]),e[r][1].end={...e[u][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function Sf(e,t,n){const r=this;let i;return u;function u(l){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=l,s(l)):n(l)}function s(l){return e.enter("setextHeadingLineSequence"),a(l)}function a(l){return l===i?(e.consume(l),a):(e.exit("setextHeadingLineSequence"),W(l)?Q(e,o,"lineSuffix")(l):o(l))}function o(l){return l===null||V(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const kf={tokenize:If};function If(e){const t=this,n=e.attempt(_n,r,e.attempt(this.parser.constructs.flowInitial,i,Q(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Ll,i)),"linePrefix")));return n;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Nf={resolveAll:qs()},xf=zs("string"),Of=zs("text");function zs(e){return{resolveAll:qs(e==="text"?Lf:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],u=n.attempt(i,s,a);return s;function s(h){return l(h)?u(h):a(h)}function a(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),o}function o(h){return l(h)?(n.exit("data"),u(h)):(n.consume(h),o)}function l(h){if(h===null)return!0;const f=i[h];let m=-1;if(f)for(;++m<f.length;){const d=f[m];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function qs(e){return t;function t(n,r){let i=-1,u;for(;++i<=n.length;)u===void 0?n[i]&&n[i][1].type==="data"&&(u=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==u+2&&(n[u][1].end=n[i-1][1].end,n.splice(u+2,i-u-2),i=u+2),u=void 0);return e?e(n,r):n}}function Lf(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let u=i.length,s=-1,a=0,o;for(;u--;){const l=i[u];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(l===-2)o=!0,a++;else if(l!==-1){u++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const l={type:n===e.length||o||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?s:r.start._bufferIndex+s,_index:r.start._index+u,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...l.start},r.start.offset===r.end.offset?Object.assign(r,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}const Ff={42:_e,43:_e,45:_e,48:_e,49:_e,50:_e,51:_e,52:_e,53:_e,54:_e,55:_e,56:_e,57:_e,62:Rs},wf={91:Pl},Rf={[-2]:xr,[-1]:xr,32:xr},Bf={35:ql,42:vn,45:[Su,vn],60:Kl,61:Su,95:vn,96:ti,126:ti},Pf={38:Ps,92:Bs},Mf={[-5]:Or,[-4]:Or,[-3]:Or,33:ff,38:Ps,42:ei,60:[hl,Zl],91:df,92:[vl,Bs],93:yi,95:ei,96:Sl},Uf={null:[ei,Nf]},Hf={null:[42,95]},vf={null:[]},zf=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Hf,contentInitial:wf,disable:vf,document:Ff,flow:Bf,flowInitial:Rf,insideSpan:Uf,string:Pf,text:Mf},Symbol.toStringTag,{value:"Module"}));function qf(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 14,577 bytes, lines 2-4
2olumn:n&&n.column||1,offset:n&&n.offset||0};const i={},u=[];let s=[],a=[];const o={attempt:q(M),check:q(S),consume:k,enter:I,exit:O,interrupt:q(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:p,events:[],now:E,parser:e,previous:null,sliceSerialize:m,sliceStream:d,write:f};let h=t.tokenize.call(l,o);return t.resolveAll&&u.push(t),l;function f(U){return s=Ie(s,U),A(),s[s.length-1]!==null?[]:(F(t,0),l.events=ir(u,l.events,l),l.events)}function m(U,z){return Yf(d(U),z)}function d(U){return $f(s,U)}function E(){const{_bufferIndex:U,_index:z,line:j,column:Z,offset:X}=r;return{_bufferIndex:U,_index:z,line:j,column:Z,offset:X}}function p(U){i[U.line]=U.column,N()}function A(){let U;for(;r._index<s.length;){const z=s[r._index];if(typeof z=="string")for(U=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===U&&r._bufferIndex<z.length;)T(z.charCodeAt(r._bufferIndex));else T(z)}}function T(U){h=h(U)}function k(U){V(U)?(r.line++,r.column=1,r.offset+=U===-3?2:1,N()):U!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=U}function I(U,z){const j=z||{};return j.type=U,j.start=E(),l.events.push(["enter",j,l]),a.push(j),j}function O(U){const z=a.pop();return z.end=E(),l.events.push(["exit",z,l]),z}function M(U,z){F(U,z.from)}function S(U,z){z.restore()}function q(U,z){return j;function j(Z,X,B){let P,K,y,D;return Array.isArray(Z)?he(Z):"tokenize"in Z?he([Z]):re(Z);function re(ge){return jt;function jt(Ge){const bt=Ge!==null&&ge[Ge],Tt=Ge!==null&&ge.null,Nn=[...Array.isArray(bt)?bt:bt?[bt]:[],...Array.isArray(Tt)?Tt:Tt?[Tt]:[]];return he(Nn)(Ge)}}function he(ge){return P=ge,K=0,ge.length===0?B:_(ge[K])}function _(ge){return jt;function jt(Ge){return D=Y(),y=ge,ge.partial||(l.currentConstruct=ge),ge.name&&l.parser.constructs.disable.null.includes(ge.name)?at():ge.tokenize.call(z?Object.assign(Object.create(l),z):l,o,ae,at)(Ge)}}function ae(ge){return U(y,D),X}function at(ge){return D.restore(),++K<P.length?_(P[K]):B}}}function F(U,z){U.resolveAll&&!u.includes(U)&&u.push(U),U.resolve&&ke(l.events,z,l.events.length-z,U.resolve(l.events.slice(z),l)),U.resolveTo&&(l.events=U.resolveTo(l.events,l))}function Y(){const U=E(),z=l.previous,j=l.currentConstruct,Z=l.events.length,X=Array.from(a);return{from:Z,restore:B};function B(){r=U,l.previous=z,l.currentConstruct=j,l.events.length=Z,a=X,N()}}function N(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function $f(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,u=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,u)];else{if(s=e.slice(n,i),r>-1){const a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}u>0&&s.push(e[i].slice(0,u))}return s}function Yf(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const u=e[n];let s;if(typeof u=="string")s=u;else switch(u){case-5:{s="\r";break}case-4:{s=`
3`;break}case-3:{s=`\r
4`;break}case-2:{s=t?" ":"	";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(u)}i=u===-2,r.push(s)}return r.join("")}function jf(e){const r={constructs:Fs([zf,...(e||{}).extensions||[]]),content:i(ul),defined:[],document:i(al),flow:i(kf),lazy:{},string:i(xf),text:i(Of)};return r;function i(u){return s;function s(a){return qf(r,u,a)}}}function Kf(e){for(;!Ms(e););return e}const ku=/[\0\t\n\r]/g;function Vf(){let e=1,t="",n=!0,r;return i;function i(u,s,a){const o=[];let l,h,f,m,d;for(u=t+(typeof u=="string"?u.toString():new TextDecoder(s||void 0).decode(u)),f=0,t="",n&&(u.charCodeAt(0)===65279&&f++,n=void 0);f<u.length;){if(ku.lastIndex=f,l=ku.exec(u),m=l&&l.index!==void 0?l.index:u.length,d=u.charCodeAt(m),!l){t=u.slice(f);break}if(d===10&&f===m&&r)o.push(-3),r=void 0;else switch(r&&(o.push(-5),r=void 0),f<m&&(o.push(u.slice(f,m)),e+=m-f),d){case 0:{o.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,o.push(-2);e++<h;)o.push(-1);break}case 10:{o.push(-4),e=1;break}default:r=!0,e=1}f=m+1}return a&&(r&&o.push(-5),t&&o.push(t),o.push(null)),o}}const Qf=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Wf(e){return e.replace(Qf,Gf)}function Gf(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),u=i===120||i===88;return ws(n.slice(u?2:1),u?16:10)}return pn(n)||e}const $s={}.hasOwnProperty;function Xf(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Jf(n)(Kf(jf(n).document().write(Vf()(e,t,!0))))}function Jf(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(au),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:u(iu),blockQuote:u(Tt),characterEscape:Y,characterReference:Y,codeFenced:u(Nn),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:u(Nn,s),codeText:u(dc,s),codeTextData:Y,data:Y,codeFlowValue:Y,definition:u(mc),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:u(pc),hardBreakEscape:u(uu),hardBreakTrailing:u(uu),htmlFlow:u(su,s),htmlFlowData:Y,htmlText:u(su,s),htmlTextData:Y,image:u(Ec),label:s,link:u(au),listItem:u(gc),listItemValue:m,listOrdered:u(ou,f),listUnordered:u(ou),paragraph:u(bc),reference:_,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:u(iu),strong:u(Tc),thematicBreak:u(Cc)},exit:{atxHeading:o(),atxHeadingSequence:M,autolink:o(),autolinkEmail:bt,autolinkProtocol:Ge,blockQuote:o(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:ge,characterReference:jt,codeFenced:o(A),codeFencedFence:p,codeFencedFenceInfo:d,codeFencedFenceMeta:E,codeFlowValue:N,codeIndented:o(T),codeText:o(X),codeTextData:N,data:N,definition:o(),definitionDestinationString:O,definitionLabelString:k,definitionTitleString:I,emphasis:o(),hardBreakEscape:o(z),hardBreakTrailing:o(z),htmlFlow:o(j),htmlFlowData:N,htmlText:o(Z),htmlTextData:N,image:o(P),label:y,labelText:K,lineEnding:U,link:o(B),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:ae,resourceDestinationString:D,resourceTitleString:re,resource:he,setextHeading:o(F),setextHeadingLineSequence:q,setextHeadingText:S,strong:o(),thematicBreak:o()}};Ys(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(R){let $={type:"root",children:[]};const J={stack:[$],tokenStack:[],config:t,enter:a,exit:l,buffer:s,resume:h,data:n},ne=[];let ie=-1;for(;++ie<R.length;)if(R[ie][1].type==="listOrdered"||R[ie][1].type==="listUnordered")if(R[ie][0]==="enter")ne.push(ie);else{const Le=ne.pop();ie=i(R,Le,ie)}for(ie=-1;++ie<R.length;){const Le=t[R[ie][0]];$s.call(Le,R[ie][1].type)&&Le[R[ie][1].type].call(Object.assign({sliceSerialize:R[ie][2].sliceSerialize},J),R[ie][1])}if(J.tokenStack.length>0){const Le=J.tokenStack[J.tokenStack.length-1];(Le[1]||Iu).call(J,void 0,Le[0])}for($.position={start:Xe(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:Xe(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},ie=-1;++ie<t.transforms.length;)$=t.transforms[ie]($)||$;return $}function i(R,$,J){let ne=$-1,ie=-1,Le=!1,ot,qe,Kt,Vt;for(;++ne<=J;){const ye=R[ne];switch(ye[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ye[0]==="enter"?ie++:ie--,Vt=void 0;break}case"lineEndingBlank":{ye[0]==="enter"&&(ot&&!Vt&&!ie&&!Kt&&(Kt=ne),Vt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vt=void 0}if(!ie&&ye[0]==="enter"&&ye[1].type==="listItemPrefix"||ie===-1&&ye[0]==="exit"&&(ye[1].type==="listUnordered"||ye[1].type==="listOrdered")){if(ot){let At=ne;for(qe=void 0;At--;){const $e=R[At];if($e[1].type==="lineEnding"||$e[1].type==="lineEndingBlank"){if($e[0]==="exit")continue;qe&&(R[qe][1].type="lineEndingBlank",Le=!0),$e[1].type="lineEnding",qe=At}else if(!($e[1].type==="linePrefix"||$e[1].type==="blockQuotePrefix"||$e[1].type==="blockQuotePrefixWhitespace"||$e[1].type==="blockQuoteMarker"||$e[1].type==="listItemIndent"))break}Kt&&(!qe||Kt<qe)&&(ot._spread=!0),ot.end=Object.assign({},qe?R[qe][1].start:ye[1].end),R.splice(qe||ne,0,["exit",ot,ye[2]]),ne++,J++}if(ye[1].type==="listItemPrefix"){const At={type:"listItem",_spread:!1,start:Object.assign({},ye[1].start),end:void 0};ot=At,R.splice(ne,0,["enter",At,ye[2]]),ne++,J++,Kt=void 0,Vt=!0}}}return R[$][1]._spread=Le,J}function u(R,$){return J;function J(ne){a.call(this,R(ne),ne),$&&$.call(this,ne)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(R,$,J){this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([$,J||void 0]),R.position={start:Xe($.start),end:void 0}}function o(R){return $;function $(J){R&&R.call(this,J),l.call(this,J)}}function l(R,$){const J=this.stack.pop(),ne=this.tokenStack.pop();if(ne)ne[0].type!==R.type&&($?$.call(this,R,ne[0]):(ne[1]||Iu).call(this,R,ne[0]));else throw new Error("Cannot close `"+R.type+"` ("+un({start:R.start,end:R.end})+"): it’s not open");J.position.end=Xe(R.end)}function h(){return Di(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(R){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(R),10),this.data.expectingFirstListItemValue=void 0}}function d(){const R=this.resume(),$=this.stack[this.stack.length-1];$.lang=R}function E(){const R=this.resume(),$=this.stack[this.stack.length-1];$.meta=R}function p(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const R=this.resume(),$=this.stack[this.stack.length-1];$.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const R=this.resume(),$=this.stack[this.stack.length-1];$.value=R.replace(/(\r?\n|\r)$/g,"")}function k(R){const $=this.resume(),J=this.stack[this.stack.length-1];J.label=$,J.identifier=we(this.sliceSerialize(R)).toLowerCase()}function I(){const R=this.resume(),$=this.stack[this.stack.length-1];$.title=R}function O(){const R=this.resume(),$=this.stack[this.stack.length-1];$.url=R}function M(R){const $=this.stack[this.stack.length-1];if(!$.depth){const J=this.sliceSerialize(R).length;$.depth=J}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function q(R){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(R).codePointAt(0)===61?1:2}function F(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(R){const J=this.stack[this.stack.length-1].children;let ne=J[J.length-1];(!ne||ne.type!=="text")&&(ne=Ac(),ne.position={start:Xe(R.start),end:void 0},J.push(ne)),this.stack.push(ne)}function N(R){const $=this.stack.pop();$.value+=this.sliceSerialize(R),$.position.end=Xe(R.end)}function U(R){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const J=$.children[$.children.length-1];J.position.end=Xe(R.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes($.type)&&(Y.call(this,R),N.call(this,R))}function z(){this.data.atHardBreak=!0}function j(){const R=this.resume(),$=this.stack[this.stack.length-1];$.value=R}function Z(){const R=this.resume(),$=this.stack[this.stack.length-1];$.value=R}function X(){const R=this.resume(),$=this.stack[this.stack.length-1];$.value=R}function B(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=$,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function P(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=$,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function K(R){const $=this.sliceSerialize(R),J=this.stack[this.stack.length-2];J.label=Wf($),J.identifier=we($).toLowerCase()}function y(){const R=this.stack[this.stack.length-1],$=this.resume(),J=this.stack[this.stack.length-1];if(this.data.inReference=!0,J.type==="link"){const ne=R.children;J.children=ne}else J.alt=$}function D(){const R=this.resume(),$=this.stack[this.stack.length-1];$.url=R}function re(){const R=this.resume(),$=this.stack[this.stack.length-1];$.title=R}function he(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function ae(R){const $=this.resume(),J=this.stack[this.stack.length-1];J.label=$,J.identifier=we(this.sliceSerialize(R)).toLowerCase(),this.data.referenceType="full"}function at(R){this.data.characterReferenceType=R.type}function ge(R){const $=this.sliceSerialize(R),J=this.data.characterReferenceType;let ne;J?(ne=ws($,J==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ne=pn($);const ie=this.stack[this.stack.length-1];ie.value+=ne}function jt(R){const $=this.stack.pop();$.position.end=Xe(R.end)}function Ge(R){N.call(this,R);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(R)}function bt(R){N.call(this,R);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(R)}function Tt(){return{type:"blockquote",children:[]}}function Nn(){return{type:"code",lang:null,meta:null,value:""}}function dc(){return{type:"inlineCode",value:""}}function mc(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function pc(){return{type:"emphasis",children:[]}}function iu(){return{type:"heading",depth:0,children:[]}}function uu(){return{type:"break"}}function su(){return{type:"html",value:""}}function Ec(){return{type:"image",title:null,url:"",alt:null}}function au(){return{type:"link",title:null,url:"",children:[]}}function ou(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function gc(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function bc(){return{type:"paragraph",children:[]}}function Tc(){return{type:"strong",children:[]}}function Ac(){return{type:"text",value:""}}function Cc(){return{type:"thematicBreak"}}}function Xe(e){return{line:e.line,column:e.column,offset:e.offset}}function Ys(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Ys(e,r):Zf(e,r)}}function Zf(e,t){let n;for(n in t)if($s.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Iu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+un({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+un({start:t.start,end:t.end}
vendor: 4,281 bytes, lines 4-7
4)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+un({start:t.start,end:t.end})+") is still open")}function eh(e){const t=this;t.parser=n;function n(r){return Xf(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function th(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function nh(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
5`}]}function rh(e,t){const n=t.value?t.value+`
6`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let u={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(u.data={meta:t.meta}),e.patch(t,u),u=e.applyData(t,u),u={type:"element",tagName:"pre",properties:{},children:[u]},e.patch(t,u),u}function ih(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function uh(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function sh(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=st(r.toLowerCase()),u=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=u+1,a+=1,e.footnoteCounts.set(r,a);const o={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,o);const l={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(t,l),e.applyData(t,l)}function ah(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oh(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function js(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),u=i[0];u&&u.type==="text"?u.value="["+u.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function ch(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return js(e,t);const i={src:st(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,u),e.applyData(t,u)}function lh(e,t){const n={src:st(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function fh(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function hh(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return js(e,t);const i={href:st(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function dh(e,t){const n={href:st(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function mh(e,t,n){const r=e.all(t),i=n?ph(n):Ks(t),u={},s=[];if(typeof t.checked=="boolean"){const h=r[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const h=r[a];(i||a!==0||h.type!=="element"||h.tagName!=="p")&&s.push({type:"text",value:`
7`}
vendor: 6,682 bytes, lines 7-8
7),h.type==="element"&&h.tagName==="p"&&!i?s.push(...h.children):s.push(h)}const o=r[r.length-1];o&&(i||o.type!=="element"||o.tagName!=="p")&&s.push({type:"text",value:`
8`});const l={type:"element",tagName:"li",properties:u,children:s};return e.patch(t,l),e.applyData(t,l)}function ph(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Ks(n[r])}return t}function Ks(e){const t=e.spread;return t??e.children.length>1}function Eh(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const u={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,u),e.applyData(t,u)}function gh(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function bh(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Th(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ur=Vs("end"),Qe=Vs("start");function Vs(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Ah(e){const t=Qe(e),n=ur(e);if(t&&n)return{start:t,end:n}}function Ch(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=Qe(t.children[1]),o=ur(t.children[t.children.length-1]);a&&o&&(s.position={start:a,end:o}),i.push(s)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,u),e.applyData(t,u)}function _h(e,t,n){const r=n?n.children:void 0,u=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,a=s?s.length:t.children.length;let o=-1;const l=[];for(;++o<a;){const f=t.children[o],m={},d=s?s[o]:void 0;d&&(m.align=d);let E={type:"element",tagName:u,properties:m,children:[]};f&&(E.children=e.all(f),e.patch(f,E),E=e.applyData(f,E)),l.push(E)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,h),e.applyData(t,h)}function Dh(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Nu=9,xu=32;function yh(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const u=[];for(;r;)u.push(Ou(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return u.push(Ou(t.slice(i),i>0,!1)),u.join("")}function Ou(e,t,n){let r=0,i=e.length;if(t){let u=e.codePointAt(r);for(;u===Nu||u===xu;)r++,u=e.codePointAt(r)}if(n){let u=e.codePointAt(i-1);for(;u===Nu||u===xu;)i--,u=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Sh(e,t){const n={type:"text",value:yh(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function kh(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Ih={blockquote:th,break:nh,code:rh,delete:ih,emphasis:uh,footnoteReference:sh,heading:ah,html:oh,imageReference:ch,image:lh,inlineCode:fh,linkReference:hh,link:dh,listItem:mh,list:Eh,paragraph:gh,root:bh,strong:Th,table:Ch,tableCell:Dh,tableRow:_h,text:Sh,thematicBreak:kh,toml:On,yaml:On,definition:On,footnoteDefinition:On};function On(){}const Qs=-1,sr=0,sn=1,Vn=2,Si=3,ki=4,Ii=5,Ni=6,Ws=7,Gs=8,Lu=typeof self=="object"?self:globalThis,Nh=(e,t)=>{const n=(i,u)=>(e.set(u,i),i),r=i=>{if(e.has(i))return e.get(i);const[u,s]=t[i];switch(u){case sr:case Qs:return n(s,i);case sn:{const a=n([],i);for(const o of s)a.push(r(o));return a}case Vn:{const a=n({},i);for(const[o,l]of s)a[r(o)]=r(l);return a}case Si:return n(new Date(s),i);case ki:{const{source:a,flags:o}=s;return n(new RegExp(a,o),i)}case Ii:{const a=n(new Map,i);for(const[o,l]of s)a.set(r(o),r(l));return a}case Ni:{const a=n(new Set,i);for(const o of s)a.add(r(o));return a}case Ws:{const{name:a,message:o}=s;return n(new Lu[a](o),i)}case Gs:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:a}=new Uint8Array(s);return n(new DataView(a),s)}}return n(new Lu[u](s),i)};return r},Fu=e=>Nh(new Map,e)(0),Ct="",{toString:xh}={},{keys:Oh}=Object,Wt=e=>{const t=typeof e;if(t!=="object"||!e)return[sr,t];const n=xh.call(e).slice(8,-1);switch(n){case"Array":return[sn,Ct];case"Object":return[Vn,Ct];case"Date":return[Si,Ct];case"RegExp":return[ki,Ct];case"Map":return[Ii,Ct];case"Set":return[Ni,Ct];case"DataView":return[sn,n]}return n.includes("Array")?[sn,n]:n.includes("Error")?[Ws,n]:[Vn,n]},Ln=([e,t])=>e===sr&&(t==="function"||t==="symbol"),Lh=(e,t,n,r)=>{const i=(s,a)=>{const o=r.push(s)-1;return n.set(a,o),o},u=s=>{if(n.has(s))return n.get(s);let[a,o]=Wt(s);switch(a){case sr:{let h=s;switch(o){case"bigint":a=Gs,h=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);h=null;break;case"undefined":return i([Qs],s)}return i([a,h],s)}case sn:{if(o){let m=s;return o==="DataView"?m=new Uint8Array(s.buffer):o==="ArrayBuffer"&&(m=new Uint8Array(s)),i([o,[...m]],s)}const h=[],f=i([a,h],s);for(const m of s)h.push(u(m));return f}case Vn:{if(o)switch(o){case"BigInt":return i([o,s.toString()],s);case"Boolean":case"Number":case"String":return i([o,s.valueOf()],s)}if(t&&"toJSON"in s)return u(s.toJSON());const h=[],f=i([a,h],s);for(const m of Oh(s))(e||!Ln(Wt(s[m])))&&h.push([u(m),u(s[m])]);return f}case Si:return i([a,s.toISOString()],s);case ki:{const{source:h,flags:f}=s;return i([a,{source:h,flags:f}],s)}case Ii:{const h=[],f=i([a,h],s);for(const[m,d]of s)(e||!(Ln(Wt(m))||Ln(Wt(d))))&&h.push([u(m),u(d)]);return f}case Ni:{const h=[],f=i([a,h],s);for(const m of s)(e||!Ln(Wt(m)))&&h.push(u(m));return f}}const{message:l}=s;return i([a,{name:o,message:l}],s)};return u},wu=(e,{json:t,lossy:n}={})=>{const r=[];return Lh(!(t||n),!!t,new Map,r)(e),r},Ke=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Fu(wu(e,t)):structuredClone(e):(e,t)=>Fu(wu(e,t));function Fh(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function wh(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
vendor: 1,548 bytes, lines 8-9
8function Rh(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Fh,r=e.options.footnoteBackLabel||wh,i=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let o=-1;for(;++o<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[o]);if(!l)continue;const h=e.all(l),f=String(l.identifier).toUpperCase(),m=st(f.toLowerCase());let d=0;const E=[],p=e.footnoteCounts.get(f);for(;p!==void 0&&++d<=p;){E.length>0&&E.push({type:"text",value:" "});let k=typeof n=="string"?n:n(o,d);typeof k=="string"&&(k={type:"text",value:k}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(o,d),className:["data-footnote-backref"]},children:Array.isArray(k)?k:[k]})}const A=h[h.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const k=A.children[A.children.length-1];k&&k.type==="text"?k.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...E)}else h.push(...E);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(h,!0)};e.patch(l,T),a.push(T)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...Ke(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
9`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
vendor: 5,203 bytes, lines 9-14
9,{type:"text",value:`
10`}]}}const ar=(function(e){if(e==null)return Uh;if(typeof e=="function")return or(e);if(typeof e=="object")return Array.isArray(e)?Bh(e):Ph(e);if(typeof e=="string")return Mh(e);throw new Error("Expected function, string, or object as test")});function Bh(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ar(e[n]);return or(r);function r(...i){let u=-1;for(;++u<t.length;)if(t[u].apply(this,i))return!0;return!1}}function Ph(e){const t=e;return or(n);function n(r){const i=r;let u;for(u in e)if(i[u]!==t[u])return!1;return!0}}function Mh(e){return or(t);function t(n){return n&&n.type===e}}function or(e){return t;function t(n,r,i){return!!(Hh(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function Uh(){return!0}function Hh(e){return e!==null&&typeof e=="object"&&"type"in e}const Xs=[],vh=!0,ni=!1,zh="skip";function Js(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const u=ar(i),s=r?-1:1;a(e,void 0,[])();function a(o,l,h){const f=o&&typeof o=="object"?o:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(o.type+(d?"<"+d+">":""))+")"})}return m;function m(){let d=Xs,E,p,A;if((!t||u(o,l,h[h.length-1]||void 0))&&(d=qh(n(o,h)),d[0]===ni))return d;if("children"in o&&o.children){const T=o;if(T.children&&d[0]!==zh)for(p=(r?T.children.length:-1)+s,A=h.concat(T);p>-1&&p<T.children.length;){const k=T.children[p];if(E=a(k,p,A)(),E[0]===ni)return E;p=typeof E[1]=="number"?E[1]:p+s}}return d}}}function qh(e){return Array.isArray(e)?e:typeof e=="number"?[vh,e]:e==null?Xs:[e]}function He(e,t,n,r){let i,u,s;typeof t=="function"&&typeof n!="function"?(u=void 0,s=t,i=n):(u=t,s=n,i=r),Js(e,u,a,i);function a(o,l){const h=l[l.length-1],f=h?h.children.indexOf(o):void 0;return s(o,f,h)}}const ri={}.hasOwnProperty,$h={};function Yh(e,t){const n=t||$h,r=new Map,i=new Map,u=new Map,s={...Ih,...n.handlers},a={all:l,applyData:Kh,definitionById:r,footnoteById:i,footnoteCounts:u,footnoteOrder:[],handlers:s,one:o,options:n,patch:jh,wrap:Qh};return He(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:i,m=String(h.identifier).toUpperCase();f.has(m)||f.set(m,h)}}),a;function o(h,f){const m=h.type,d=a.handlers[m];if(ri.call(a.handlers,m)&&d)return d(a,h,f);if(a.options.passThrough&&a.options.passThrough.includes(m)){if("children"in h){const{children:p,...A}=h,T=Ke(A);return T.children=a.all(h),T}return Ke(h)}return(a.options.unknownHandler||Vh)(a,h,f)}function l(h){const f=[];if("children"in h){const m=h.children;let d=-1;for(;++d<m.length;){const E=a.one(m[d],h);if(E){if(d&&m[d-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=Ru(E.value)),!Array.isArray(E)&&E.type==="element")){const p=E.children[0];p&&p.type==="text"&&(p.value=Ru(p.value))}Array.isArray(E)?f.push(...E):f.push(E)}}}return f}}function jh(e,t){e.position&&(t.position=Ah(e))}function Kh(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,u=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&u&&Object.assign(n.properties,Ke(u)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Vh(e,t){const n=t.data||{},r="value"in t&&!(ri.call(n,"hProperties")||ri.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Qh(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
11`});++r<e.length;)r&&n.push({type:"text",value:`
12`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
13`}),n}function Ru(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Bu(e,t){const n=Yh(e,t),r=n.one(e,void 0),i=Rh(n),u=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&u.children.push({type:"text",value:`
14`},i),u}function Wh(e,t){return e&&"run"in e?async function(n,r){const i=Bu(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Bu(n,{file:r,...e||t})}}const xi=Symbol.for("yaml.alias"),ii=Symbol.for("yaml.document"),rt=Symbol.for("yaml.map"),Zs=Symbol.for("yaml.pair"),ve=Symbol.for("yaml.scalar"),Bt=Symbol.for("yaml.seq"),Oe=Symbol.for("yaml.node.type"),Et=e=>!!e&&typeof e=="object"&&e[Oe]===xi,Dn=e=>!!e&&typeof e=="object"&&e[Oe]===ii,Pt=e=>!!e&&typeof e=="object"&&e[Oe]===rt,fe=e=>!!e&&typeof e=="object"&&e[Oe]===Zs,ue=e=>!!e&&typeof e=="object"&&e[Oe]===ve,Mt=e=>!!e&&typeof e=="object"&&e[Oe]===Bt;function oe(e){if(e&&typeof e=="object")switch(e[Oe]){case rt:case Bt:return!0}return!1}function le(e){if(e&&typeof e=="object")switch(e[Oe]){case xi:case rt:case ve:case Bt:return!0}return!1}const ea=e=>(ue(e)||oe(e))&&!!e.anchor,lt=Symbol("break visit"),Gh=Symbol("skip children"),an=Symbol("remove node");function Ut(e,t){const n=Xh(t);Dn(e)?St(null,e.contents,n,Object.freeze([e]))===an&&(e.contents=null):St(null,e,n,Object.freeze([]))}Ut.BREAK=lt;Ut.SKIP=Gh;Ut.REMOVE=an;function St(e,t,n,r){const i=Jh(e,t,n,r);
14if(le(i)||fe(i))return Zh(e,r,i),St(e,i,n,r);if(typeof i!="symbol"){if(oe(t)){r=Object.freeze(r.concat(t));for(let u=0;u<t.items.length;++u){const s=St(u,t.items[u],n,r);if(typeof s=="number")u=s-1;else{if(s===lt)return lt;s===an&&(t.items.splice(u,1),u-=1)}}}else if(fe(t)){r=Object.freeze(r.concat(t));const u=St("key",t.key,n,r);if(u===lt)return lt;u===an&&(t.key=null);const s=St("value",t.value,n,r);if(s===lt)return lt;s===an&&(t.value=null)}}return i}function Xh(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function Jh(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Pt(t))return n.Map?.(e,t,r);if(Mt(t))return n.Seq?.(e,t,r);if(fe(t))return n.Pair?.(e,t,r);if(ue(t))return n.Scalar?.(e,t,r);if(Et(t))return n.Alias?.(e,t,r)}function Zh(e,t,n){const r=t[t.length-1];if(oe(r))r.items[e]=n;else if(fe(r))e==="key"?r.key=n:r.value=n;else if(Dn(r))r.contents=n;else{const i=Et(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const e0={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},t0=e=>e.replace(/[!,[\]{}]/g,t=>e0[t]);class Ae{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ae.defaultYaml,t),this.tags=Object.assign({},Ae.defaultTags,n)}clone(){const t=new Ae(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Ae(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ae.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ae.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Ae.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ae.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[u,s]=r;return this.tags[u]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[u]=r;if(u==="1.1"||u==="1.2")return this.yaml.version=u,!0;{const s=/^\d+\.\d+$/.test(u);return n(6,`Unsupported YAML version ${u}`,s),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const s=t.slice(2,-1);return s==="!"||s==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),s)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const u=this.tags[r];if(u)try{return u+decodeURIComponent(i)}catch(s){return n(String(s)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+t0(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&le(t.contents)){const u={};Ut(t.contents,(s,a)=>{le(a)&&a.tag&&(u[a.tag]=!0)}),i=Object.keys(u)}else i=[];for(const[u,s]of r)u==="!!"&&s==="tag:yaml.org,2002:"||(!t||i.some(a=>a.startsWith(s)))&&n.push(`%TAG ${u} ${s}`);return n.join(`
15`)}}Ae.defaultYaml={explicit:!1,version:"1.2"};Ae.defaultTags={"!!":"tag:yaml.org,2002:"};function ta(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function na(e){const t=new Set;return Ut(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function ra(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function n0(e,t){const n=[],r=new Map;let i=null;return{onAnchor:u=>{n.push(u),i??(i=na(e));const s=ra(t,i);return i.add(s),s},setAnchors:()=>{for(const u of n){const s=r.get(u);if(typeof s=="object"&&s.anchor&&(ue(s.node)||oe(s.node)))s.node.anchor=s.anch
15or;else{const a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=u,a}}},sourceObjects:r}}function kt(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,u=r.length;i<u;++i){const s=r[i],a=kt(e,r,String(i),s);a===void 0?delete r[i]:a!==s&&(r[i]=a)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const u=r.get(i),s=kt(e,r,i,u);s===void 0?r.delete(i):s!==u&&r.set(i,s)}else if(r instanceof Set)for(const i of Array.from(r)){const u=kt(e,r,i,i);u===void 0?r.delete(i):u!==i&&(r.delete(i),r.add(u))}else for(const[i,u]of Object.entries(r)){const s=kt(e,r,i,u);s===void 0?delete r[i]:s!==u&&(r[i]=s)}return e.call(t,n,r)}function xe(e,t,n){if(Array.isArray(e))return e.map((r,i)=>xe(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!ea(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=u=>{r.res=u,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!n?.keep?Number(e):e}class Oi{constructor(t){Object.defineProperty(this,Oe,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:u}={}){if(!Dn(t))throw new TypeError("A document argument is required");const s={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},a=xe(this,"",s);if(typeof i=="function")for(const{count:o,res:l}of s.anchors.values())i(l,o);return typeof u=="function"?kt(u,{"":a},"",a):a}}class Li extends Oi{constructor(t){super(xi),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],Ut(t,{Node:(u,s)=>{(Et(s)||ea(s))&&r.push(s)}}),n&&(n.aliasResolveCache=r));let i;for(const u of r){if(u===this)break;u.anchor===this.source&&(i=u)}return i}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:u}=n,s=this.resolve(i,n);if(!s){const o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(o)}let a=r.get(s);if(a||(xe(s,null,n),a=r.get(s)),a?.res===void 0){const o="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(o)}if(u>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=zn(i,s,r)),a.count*a.aliasCount>
15u)){const o="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(o)}return a.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(ta(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(u)}if(t.implicitKey)return`${i} `}return i}}function zn(e,t,n){if(Et(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(oe(t)){let r=0;for(const i of t.items){const u=zn(e,i,n);u>r&&(r=u)}return r}else if(fe(t)){const r=zn(e,t.key,n),i=zn(e,t.value,n);return Math.max(r,i)}return 1}const ia=e=>!e||typeof e!="function"&&typeof e!="object";class G extends Oi{constructor(t){super(ve),this.value=t}toJSON(t,n){return n?.keep?this.value:xe(this.value,t,n)}toString(){return String(this.value)}}G.BLOCK_FOLDED="BLOCK_FOLDED";G.BLOCK_LITERAL="BLOCK_LITERAL";G.PLAIN="PLAIN";G.QUOTE_DOUBLE="QUOTE_DOUBLE";G.QUOTE_SINGLE="QUOTE_SINGLE";const r0="tag:yaml.org,2002:";function i0(e,t,n){if(t){const r=n.filter(u=>u.tag===t),i=r.find(u=>!u.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>r.identify?.(e)&&!r.format)}function En(e,t,n){if(Dn(e)&&(e=e.contents),le(e))return e;
15if(fe(e)){const f=n.schema[rt].createNode?.(n.schema,null,n);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:u,schema:s,sourceObjects:a}=n;let o;if(r&&e&&typeof e=="object"){if(o=a.get(e),o)return o.anchor??(o.anchor=i(e)),new Li(o.anchor);o={anchor:null,node:null},a.set(e,o)}t?.startsWith("!!")&&(t=r0+t.slice(2));let l=i0(e,t,s.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const f=new G(e);return o&&(o.node=f),f}l=e instanceof Map?s[rt]:Symbol.iterator in Object(e)?s[Bt]:s[rt]}u&&(u(l),delete n.onTagObj);const h=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from=="function"?l.nodeClass.from(n.schema,e,n):new G(e);return t?h.tag=t:l.default||(h.tag=l.tag),o&&(o.node=h),h}function Qn(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const u=t[i];if(typeof u=="number"&&Number.isInteger(u)&&u>=0){const s=[];s[u]=r,r=s}else r=new Map([[u,r]])}return En(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const tn=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class ua extends Oi{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>le(r)||fe(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(tn(t))this.add(n);else{const[r,...i]=t,u=this.get(r,!0);if(oe(u))u.addIn(i,n);else if(u===void 0&&this.schema)this.set(r,Qn(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(oe(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,u=this.get(r,!0);return i.length===0?!n&&ue(u)?u.value:u:oe(u)?u.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!fe(n))return!1;const r=n.value;return r==null||t&&ue(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return oe(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const u=this.get(r,!0);if(oe(u))u.setIn(i,n);else if(u===void 0&&this.schema)this.set(r,Qn(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}const u0=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function je(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const ft=(e,t,n)=>e.endsWith(`
16`)?je(n,t):n.includes(`
17`)?`
18`+je(n,t):(e.endsWith(" ")?"":" ")+n,sa="flow",ui="block",qn="quoted";function cr(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:u=20,onFold:s,onOverflow:a}={}){if(!i||i<0)return e;i<u&&(u=0);const o=Math.max(1+u,1+i-t.length);if(e.length<=o)return e;const l=[],h={};let f=i-t.length;typeof r=="number"&&(r>i-Math.max(2,u)?l.push(0):f=i-r);let m,d,E=!1,p=-1,A=-1,T=-1;n===ui&&(p=Pu(e,p,t.length),p!==-1&&(f=p+o));for(let I;I=e[p+=1];){if(n===qn&&I==="\\"){switch(A=p,e[p+1]){case"x":p+=3;break;case"u":p+=5;break;case"U":p+=9;break;default:p+=1}T=p}if(I===`
19`)n===ui&&(p=Pu(e,p,t.length)),f=p+t.length+o,m=void 0;else{if(I===" "&&d&&d!==" "&&d!==`
20`&&d!=="	"){const O=e[p+1];O&&O!==" "&&O!==`
21`&&O!=="	"&&(m=p)}if(p>=f)if(m)l.push(m),f=m+o,m=void 0;else if(n===qn){for(;d===" "||d==="	";)d=I,I=e[p+=1],E=!0;const O=p>T+1?p-2:A-1;if(h[O])return e;l.push(O),h[O]=!0,f=O+o,m=void 0}else E=!0}d=I}if(E&&a&&a(),l.length===0)return e;s&&s();let k=e.slice(0,l[0]);for(let I=0;I<l.length;++I){const O=l[I],M=l[I+1]||e.length;O===0?k=`
22${t}${e.slice(0,M)}`:(n===qn&&h[O]&&(k+=`${e[O]}\\`),k+=`
23${t}${e.slice(O+1,M)}`)}return k}function Pu(e,t,n){let r=t,i=t+1,u=e[i];for(;u===" "||u==="	";)if(t<i+n)u=e[++t];else{do u=e[++t];while(u&&u!==`
24`);r=t,i=t+1,u=e[i]}return r}const lr=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
24),fr=e=>/^(%|---|\.\.\.)/m.test(e);function s0(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let u=0,s=0;u<i;++u)if(e[u]===`
25`){if(u-s>r)return!0;if(s=u+1,i-s<=r)return!1}return!0}function on(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,u=t.indent||(fr(e)?"  ":"");let s="",a=0;for(let o=0,l=n[o];l;l=n[++o])if(l===" "&&n[o+1]==="\\"&&n[o+2]==="n"&&(s+=n.slice(a,o)+"\\ ",o+=1,a=o,l="\\"),l==="\\")switch(n[o+1]){case"u":{s+=n.slice(a,o);const h=n.substr(o+2,4);switch(h){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:h.substr(0,2)==="00"?s+="\\x"+h.substr(2):s+=n.substr(o,6)}o+=5,a=o+1}break;case"n":if(r||n[o+2]==='"'||n.length<i)o+=1;else{for(s+=n.slice(a,o)+`
26
27`;n[o+2]==="\\"&&n[o+3]==="n"&&n[o+4]!=='"';)s+=`
28`,o+=2;s+=u,n[o+2]===" "&&(s+="\\"),o+=1,a=o+1}break;default:o+=1}return s=a?s+n.slice(a):n,r?s:cr(s,u,qn,lr(t,!1))}function si(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
29`)||/[ \t]\n|\n[ \t]/.test(e))return on(e,t);const n=t.indent||(fr(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
30${n}`)+"'";return t.implicitKey?r:cr(r,n,sa,lr(t,!1))}function It(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=on;else{const i=e.includes('"'),u=e.includes("'");i&&!u?r=si:u&&!i?r=on:r=n?si:on}return r(e,t)}let ai;try{ai=new RegExp(`(^|(?<!
31))
32+(?!
33|$)`,"g")}catch{ai=/\n+(?!\n|$)/g}function $n({comment:e,type:t,value:n},r,i,u){const{blockQuote:s,commentString:a,lineWidth:o}=r.options;if(!s||/\n[\t ]+$/.test(n))return It(n,r);const l=r.indent||(r.forceBlockIndent||fr(n)?"  ":""),h=s==="literal"?!0:s==="folded"||t===G.BLOCK_FOLDED?!1:t===G.BLOCK_LITERAL?!0:!s0(n,o,l.length);if(!n)return h?`|
34`:`>
35`;let f,m;for(m=n.length;m>0;--m){const M=n[m-1];if(M!==`
36`&&M!=="	"&&M!==" ")break}let d=n.substring(m);const E=d.indexOf(`
37`);E===-1?f="-":n===d||E!==d.length-1?(f="+",u&&u()):f="",d&&(n=n.slice(0,-d.length),d[d.length-1]===`
38`&&(d=d.slice(0,-1)),d=d.replace(ai,`$&${l}`));let p=!1,A,T=-1;for(A=0;A<n.length;++A){const M=n[A];if(M===" ")p=!0;else if(M===`
39`)T=A;else break}let k=n.substring(0,T<A?T+1:A);k&&(n=n.substring(k.length),k=k.replace(/\n+/g,`$&${l}`));let O=(p?l?"2":"1":"")+f;if(e&&(O+=" "+a(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!h){const M=n.replace(/\n+/g,`
40$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);let S=!1;const q=lr(r,!0);s!=="folded"&&t!==G.BLOCK_FOLDED&&(q.onOverflow=()=>{S=!0});const F=cr(`${k}${M}${d}`,l,ui,q);if(!S)return`>${O}
41${l}${F}`}return n=n.replace(/\n+/g,`$&${l}`),`|${O}
42${l}${k}${n}${d}`}function a0(e,t,n,r){const{type:i,value:u}=e,{actualString:s,implicitKey:a,indent:o,indentStep:l,inFlow:h}=t;if(a&&u.includes(`
43`)||h&&/[[\]{},]/.test(u))return It(u,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(u))return a||h||!u.includes(`
44`)?It(u,t):$n(e,t,n,r);if(!a&&!h&&i!==G.PLAIN&&u.includes(`
45`))return $n(e,t,n,r);if(fr(u)){if(o==="")return t.forceBlockIndent=!0,$n(e,t,n,r);if(a&&o===l)return It(u,t)}const f=u.replace(/\n+/g,`$&
46${o}`);if(s){const m=p=>p.default&&p.tag!=="tag:yaml.org,2002:str"&&p.test?.test(f),{compat:d,tags:E}=t.doc.schema;if(E.some(m)||d?.some(m))return It(u,t)}return a?f:cr(f,o,sa,lr(t,!1))}function Fi(e,t,n,r){const{implicitKey:i,inFlow:u}=t,s=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==G.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=G.QUOTE_DOUBLE);const o=h=>{switch(h){case G.BLOCK_FOLDED:case G.BLOCK_LITERAL:return i||u?It(s.value,t):$n(s,t,n,r);case G.QUOTE_DOUBLE:return on(s.value,t);case G.QUOTE_SINGLE:return si(s.value,t);case G.PLAIN:return a0(s,t,n,r);default:return null}};let l=o(a);if(l===null){const{defaultKeyType:h,defaultStringType:f}=t.options,m=i&&h||f;if(l=o(m),l===null)throw new Error(`Unsupported default string type ${m}`)}return l}function aa(e,t){const n=Object.assign({blockQuote:!0,commentString:u0,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):"  ",inFlow:r,options:n}}function o0(e,t){if(t.tag){const i=e.filter(u=>u.tag===t.tag);if(i.length>0)return i.find(u=>u.format===t.format)??i[0]}let n,r;if(ue(t)){r=t.value;let i=e.filter(u=>u.identify?.(r));if(i.length>1){const u=i.filter(s=>s.test);u.length>0&&(i=u)}n=i.find(u=>u.format===t.format)??i.find(u=>!u.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=r?.constructor?.name??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${i} value`)}return n}function c0(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],u=(ue(e)||oe(e))&&e.anchor;u&&ta(u)&&(n.add(u),i.push(`&${u}`));const s=e.tag??(t.default?null:t.tag);return s&&i.push(r.directives.tagString(s)),i.join(" ")}function Ft(e,t,n,r){if(fe(e))return e.toString(t,n,r);if(Et(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const u=le(e)?e:t.doc.createNode(e,{onTagObj:o=>i=o});i??(i=o0(t.doc.schema.tags,u));const s=c0(u,i,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const a=typeof i.stringify=="function"?i.stringify(u,t,n,r):ue(u)?Fi(u,t,n,r):u.toString(t,n,r);return s?ue(u)||a[0]==="{"||a[0]==="["?`${s} ${a}`:`${s}
47${t.indent}${a}`:a}
47function l0({key:e,value:t},n,r,i){const{allNullValues:u,doc:s,indent:a,indentStep:o,options:{commentString:l,indentSeq:h,simpleKeys:f}}=n;let m=le(e)&&e.comment||null;if(f){if(m)throw new Error("With simple keys, key nodes cannot have comments");if(oe(e)||!le(e)&&typeof e=="object"){const q="With simple keys, collection cannot be used as a key value";throw new Error(q)}}let d=!f&&(!e||m&&t==null&&!n.inFlow||oe(e)||(ue(e)?e.type===G.BLOCK_FOLDED||e.type===G.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(f||!u),indent:a+o});let E=!1,p=!1,A=Ft(e,n,()=>E=!0,()=>p=!0);if(!d&&!n.inFlow&&A.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(u||t==null)return E&&r&&r(),A===""?"?":d?`? ${A}`:A}else if(u&&!f||t==null&&d)return A=`? ${A}`,m&&!E?A+=ft(A,n.indent,l(m)):p&&i&&i(),A;E&&(m=null),d?(m&&(A+=ft(A,n.indent,l(m))),A=`? ${A}
48${a}:`):(A=`${A}:`,m&&(A+=ft(A,n.indent,l(m))));let T,k,I;le(t)?(T=!!t.spaceBefore,k=t.commentBefore,I=t.comment):(T=!1,k=null,I=null,t&&typeof t=="object"&&(t=s.createNode(t))),n.implicitKey=!1,!d&&!m&&ue(t)&&(n.indentAtStart=A.length+1),p=!1,!h&&o.length>=2&&!n.inFlow&&!d&&Mt(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let O=!1;const M=Ft(t,n,()=>O=!0,()=>p=!0);let S=" ";if(m||T||k){if(S=T?`
49`:"",k){const q=l(k);S+=`
50${je(q,n.indent)}`}M===""&&!n.inFlow?S===`
51`&&I&&(S=`
52
53`):S+=`
54${n.indent}`}else if(!d&&oe(t)){const q=M[0],F=M.indexOf(`
55`),Y=F!==-1,N=n.inFlow??t.flow??t.items.length===0;if(Y||!N){let U=!1;if(Y&&(q==="&"||q==="!")){let z=M.indexOf(" ");q==="&"&&z!==-1&&z<F&&M[z+1]==="!"&&(z=M.indexOf(" ",z+1)),(z===-1||F<z)&&(U=!0)}U||(S=`
56${n.indent}`)}}else(M===""||M[0]===`
57`)&&(S="");return A+=S+M,n.inFlow?O&&r&&r():I&&!O?A+=ft(A,n.indent,l(I)):p&&i&&i(),A}function f0(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const Fn="<<",Ve={identify:e=>e===Fn||typeof e=="symbol"&&e.description===Fn,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new G(Symbol(Fn)),{addToJSMap:oa}),stringify:()=>Fn},h0=(e,t)=>(Ve.identify(t)||ue(t)&&(!t.type||t.type===G.PLAIN)&&Ve.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===Ve.tag&&n.default);function oa(e,t,n){if(n=e&&Et(n)?n.resolve(e.doc):n,Mt(n))for(const r of n.items)Lr(e,t,r);else if(Array.isArray(n))for(const r of n)Lr(e,t,r);else Lr(e,t,n)}function Lr(e,t,n){const r=e&&Et(n)?n.resolve(e.doc):n;if(!Pt(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[u,s]of i)t instanceof Map?t.has(u)||t.set(u,s):t instanceof Set?t.add(u):Object.prototype.hasOwnProperty.call(t,u)||Object.defineProperty(t,u,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function ca(e,t,{key:n,value:r}){if(le(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(h0(e,n))oa(e,t,r);else{const i=xe(n,"",e);if(t instanceof Map)t.set(i,xe(r,i,e));else if(t instanceof Set)t.add(i);else{const u=d0(n,i,e),s=xe(r,u,e);u in t?Object.defineProperty(t,u,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[u]=s}}return t}function d0(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(le(e)&&n?.doc){const r=aa(n.doc,{});r.anchors=new Set;for(const u of n.anchors.keys())r.anchors.add(u.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let u=JSON.stringify(i);u.length>40&&(u=u.substring(0,36)+'..."'),f0(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${u}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}function wi(e,t,n){const r=En(e,void 0,n),i=En(t,void 0,n);return new be(r,i)}class be{constructor(t,n=null){Object.defineProperty(this,Oe,{value:Zs}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return le(n)&&(n=n.clone(t)),le(r)&&(r=r.clone(t)),new be(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return ca(n,r,this)}toString(t,n,r){return t?.doc?l0(this,t,n,r):JSON.stringify(this)}}function la(e,t,n){return(t.inFlow??e.flow?p0:m0)(e,t,n)}function m0({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:u,onChompKeep:s,onComment:a}){const{indent:o,options:{commentString:l}}=n,h=Object.assign({},n,{indent:u,type:null});let f=!1;const m=[];for(let E=0;E<t.length;++E){const p=t[E];let A=null;if(le(p))!f&&p.spaceBefore&&m.push(""),Wn(n,m,p.commentBefore,f),p.comment&&(A=p.comment);else if(fe(p)){const k=le(p.key)?p.key:null;k&&(!f&&k.spaceBefore&&m.push(""),Wn(n,m,k.commentBefore,f))}f=!1;let T=Ft(p,h,()=>A=null,()=>f=!0);A&&(T+=ft(T,u,l(A))),f&&A&&(f=!1),m.push(r+T)}let d;if(m.length===0)d=i.start+i.end;else{d=m[0];for(let E=1;E<m.length;++E){const p=m[E];d+=p?`
58${o}${p}`:`
59`}}return e?(d+=`
60`+je(l(e),o),a&&a()):f&&s&&s(),d}function p0({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:u,flowCollectionPadding:s,options:{commentString:a}}=t;r+=u;const o=Object.assign({},t,{indent:r,inFlow:!0,type:null});let l=!1,h=0;const f=[];for(let E=0;E<e.length;++E){const p=e[E];let A=null;
60if(le(p))p.spaceBefore&&f.push(""),Wn(t,f,p.commentBefore,!1),p.comment&&(A=p.comment);else if(fe(p)){const k=le(p.key)?p.key:null;k&&(k.spaceBefore&&f.push(""),Wn(t,f,k.commentBefore,!1),k.comment&&(l=!0));const I=le(p.value)?p.value:null;I?(I.comment&&(A=I.comment),I.commentBefore&&(l=!0)):p.value==null&&k?.comment&&(A=k.comment)}A&&(l=!0);let T=Ft(p,o,()=>A=null);E<e.length-1&&(T+=","),A&&(T+=ft(T,r,a(A))),!l&&(f.length>h||T.includes(`
61`))&&(l=!0),f.push(T),h=f.length}const{start:m,end:d}=n;if(f.length===0)return m+d;if(!l){const E=f.reduce((p,A)=>p+A.length+2,2);l=t.options.lineWidth>0&&E>t.options.lineWidth}if(l){let E=m;for(const p of f)E+=p?`
62${u}${i}${p}`:`
63`;return`${E}
64${i}${d}`}else return`${m}${s}${f.join(" ")}${s}${d}`}function Wn({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const u=je(t(r),e);n.push(u.trimStart())}}function ht(e,t){const n=ue(t)?t.value:t;for(const r of e)if(fe(r)&&(r.key===t||r.key===n||ue(r.key)&&r.key.value===n))return r}class Se extends ua{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(rt,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:u}=r,s=new this(t),a=(o,l)=>{if(typeof u=="function")l=u.call(n,o,l);else if(Array.isArray(u)&&!u.includes(o))return;(l!==void 0||i)&&s.items.push(wi(o,l,r))};if(n instanceof Map)for(const[o,l]of n)a(o,l);else if(n&&typeof n=="object")for(const o of Object.keys(n))a(o,n[o]);return typeof t.sortMapEntries=="function"&&s.items.sort(t.sortMapEntries),s}add(t,n){let r;fe(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new be(t,t?.value):r=new be(t.key,t.value);const i=ht(this.items,r.key),u=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);ue(i.value)&&ia(r.value)?i.value.value=r.value:i.value=r.value}else if(u){const s=this.items.findIndex(a=>u(r,a)<0);s===-1?this.items.push(r):this.items.splice(s,0,r)}else this.items.push(r)}delete(t){const n=ht(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const i=ht(this.items,t)?.value;return(!n&&ue(i)?i.value:i)??void 0}has(t){return!!ht(this.items,t)}set(t,n){this.add(new be(t,n),!0)}toJSON(t,n,r){const i=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(i);for(const u of this.items)ca(n,i,u);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!fe(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),la(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Ht={collection:"map",default:!0,nodeClass:Se,tag:"tag:yaml.org,2002:map",resolve(e,t){return Pt(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Se.from(e,t,n)};class it extends ua{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Bt,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=wn(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=wn(t);if(typeof r!="number")return;const i=this.items[r];return!n&&ue(i)?i.value:i}has(t){const n=wn(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=wn(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];ue(i)&&ia(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n?.onCreate&&n.onCreate(r);let i=0;for(const u of this.items)r.push(xe(u,String(i++),n));return r}toString(t,n,r){return t?la(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+"  ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,u=new this(t);if(n&&Symbol.iterator in Object(n)){let s=0;for(let a of n){if(typeof i=="function"){const o=n instanceof Set?a:String(s++);a=i.call(n,o,a)}u.items.push(En(a,void 0,r))}}return u}}function wn(e){let t=ue(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const vt={collection:"seq",default:!0,nodeClass:it,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Mt(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>it.from(e,t,n)},hr={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),Fi(e,t,n,r)}},dr={identify:e=>e==null,createNode:()=>new G(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new G(null),stringify:({source:e},t)=>typeof e=="string"&&dr.test.test(e)?e:t.options.nullStr},Ri={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new G(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&Ri.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function Re({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);
64if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let u=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(u)){let s=u.indexOf(".");s<0&&(s=u.length,u+=".");let a=t-(u.length-s-1);for(;a-- >0;)u+="0"}return u}const fa={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Re},ha={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Re(e)}},da={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new G(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Re},mr=e=>typeof e=="bigint"||Number.isInteger(e),Bi=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function ma(e,t,n){const{value:r}=e;return mr(r)&&r>=0?n+r.toString(t):Re(e)}const pa={identify:e=>mr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Bi(e,2,8,n),stringify:e=>ma(e,8,"0o")},Ea={identify:mr,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Bi(e,0,10,n),stringify:Re},ga={identify:e=>mr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Bi(e,2,16,n),stringify:e=>ma(e,16,"0x")},E0=[Ht,vt,hr,dr,Ri,pa,Ea,ga,fa,ha,da];function Mu(e){return typeof e=="bigint"||Number.isInteger(e)}const Rn=({value:e})=>JSON.stringify(e),g0=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Rn},{identify:e=>e==null,createNode:()=>new G(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Rn},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:Rn},{identify:Mu,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Mu(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Rn}],b0={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},T0=[Ht,vt].concat(g0,b0),Pi={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,u){if(!n)return"";const s=n;let a;if(typeof btoa=="function"){let o="";for(let l=0;l<s.length;++l)o+=String.fromCharCode(s[l]);a=btoa(o)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=G.BLOCK_LITERAL),t!==G.QUOTE_DOUBLE){const o=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),l=Math.ceil(a.length/o),h=new Array(l);for(let f=0,m=0;f<l;++f,m+=o)h[f]=a.substr(m,o);a=h.join(t===G.BLOCK_LITERAL?`
65`:" ")}return Fi({comment:e,type:t,value:a},r,i,u)}};function ba(e,t){if(Mt(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!fe(r)){if(Pt(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new be(new G(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
66${i.key.commentBefore}`:r.commentBefore),r.comment){const u=i.value??i.key;u.comment=u.comment?`${r.comment}
67${u.comment}`:r.comment}r=i}e.items[n]=fe(r)?r:new be(r)}}else t("Expected a sequence for this tag");return e}function Ta(e,t,n){const{replacer:r}=n,i=new it(e);i.tag="tag:yaml.org,2002:pairs";let u=0;if(t&&Symbol.iterator in Object(t))for(let s of t){typeof r=="function"&&(s=r.call(t,String(u++),s));let a,o;if(Array.isArray(s))if(s.length===2)a=s[0],o=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){const l=Object.keys(s);if(l.length===1)a=l[0],o=s[a];else throw new TypeError(`Expected tuple with one key, not ${l.length} keys`)}else a=s;i.items.push(wi(a,o,n))}return i}const Mi={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ba,createNode:Ta};class xt extends it{constructor(){super(),this.add=Se.prototype.add.bind(this),this.delete=Se.prototype.delete.bind(this),this.get=Se.prototype.get.bind(this),this.has=Se.prototype.has.bind(this),this.set=Se.prototype.set.bind(this),this.tag=xt.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const i of this.items){let u,s;if(fe(i)?(u=xe(i.key,"",n),s=xe(i.value,u,n)):u=xe(i,"",n),r.has(u))throw new Error("Ordered maps must not include duplicate keys");r.set(u,s)}return r}static from(t,n,r){const i=Ta(t,n,r),u=new this;return u.items=i.items,u}}xt.tag="tag:yaml.org,2002:omap";const Ui={collection:"seq",identify:e=>e instanceof Map,nodeClass:xt,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=ba(e,t),r=[];for(const{key:i}of n.items)ue(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new xt,n)},createNode:(e,t,n)=>xt.from(e,t,n)};function Aa({value:e,source:t},n){return t&&(e?Ca:_a).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Ca={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new G(!0),stringify:Aa},_a={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new G(!1),stringify:Aa},A0={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Re},C0={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Re(e)}},_0={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new G(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:Re},yn=e=>typeof e=="bigint"||Number.isInteger(e);function pr(e,t,n,{intAsBigInt:r}){const i=e[0];
67if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const s=BigInt(e);return i==="-"?BigInt(-1)*s:s}const u=parseInt(e,n);return i==="-"?-1*u:u}function Hi(e,t,n){const{value:r}=e;if(yn(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return Re(e)}const D0={identify:yn,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>pr(e,2,2,n),stringify:e=>Hi(e,2,"0b")},y0={identify:yn,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>pr(e,1,8,n),stringify:e=>Hi(e,8,"0")},S0={identify:yn,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>pr(e,0,10,n),stringify:Re},k0={identify:yn,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>pr(e,2,16,n),stringify:e=>Hi(e,16,"0x")};class Ot extends Se{constructor(t){super(t),this.tag=Ot.tag}add(t){let n;fe(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new be(t.key,null):n=new be(t,null),ht(this.items,n.key)||this.items.push(n)}get(t,n){const r=ht(this.items,t);return!n&&fe(r)?ue(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=ht(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new be(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,u=new this(t);if(n&&Symbol.iterator in Object(n))for(let s of n)typeof i=="function"&&(s=i.call(n,s,s)),u.items.push(wi(s,null,r));return u}}Ot.tag="tag:yaml.org,2002:set";const vi={collection:"map",identify:e=>e instanceof Set,nodeClass:Ot,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Ot.from(e,t,n),resolve(e,t){if(Pt(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ot,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function zi(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=s=>t?BigInt(s):Number(s),u=r.replace(/_/g,"").split(":").reduce((s,a)=>s*i(60)+i(a),i(0));return n==="-"?i(-1)*u:u}function Da(e){let{value:t}=e,n=s=>s;if(typeof t=="bigint")n=s=>BigInt(s);else if(isNaN(t)||!isFinite(t))return Re(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),u=[t%i];return t<60?u.unshift(0):(t=(t-u[0])/i,u.unshift(t%i),t>=60&&(t=(t-u[0])/i,u.unshift(t))),r+u.map(s=>String(s).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const ya={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>zi(e,n),stringify:Da},Sa={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>zi(e,!1),stringify:Da},Er={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Er.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,u,s,a]=t.map(Number),o=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,i,u||0,s||0,a||0,o);const h=t[8];if(h&&h!=="Z"){let f=zi(h,!1);Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},Uu=[Ht,vt,hr,dr,Ca,_a,D0,y0,S0,k0,A0,C0,_0,Pi,Ve,Ui,Mi,vi,ya,Sa,Er],Hu=new Map([["core",E0],["failsafe",[Ht,vt,hr]],["json",T0],["yaml11",Uu],["yaml-1.1",Uu]]),vu={binary:Pi,bool:Ri,float:da,floatExp:ha,floatNaN:fa,floatTime:Sa,int:Ea,intHex:ga,intOct:pa,intTime:ya,map:Ht,merge:Ve,null:dr,omap:Ui,pairs:Mi,seq:vt,set:vi,timestamp:Er},I0={"tag:yaml.org,2002:binary":Pi,"tag:yaml.org,2002:merge":Ve,"tag:yaml.org,2002:omap":Ui,"tag:yaml.org,2002:pairs":Mi,"tag:yaml.org,2002:set":vi,"tag:yaml.org,2002:timestamp":Er};function Fr(e,t,n){const r=Hu.get(t);if(r&&!e)return n&&!r.includes(Ve)?r.concat(Ve):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{const u=Array.from(Hu.keys()).filter(s=>s!=="yaml11").map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${u} or define customTags array`)}if(Array.isArray(e))for(const u of e)i=i.concat(u);else typeof e=="function"&&(i=e(i.slice()));return n&&(i=i.concat(Ve)),i.reduce((u,s)=>{const a=typeof s=="string"?vu[s]:s;if(!a){const o=JSON.stringify(s),l=Object.keys(vu).map(h=>JSON.stringify(h)).join(", ");throw new Error(`Unknown custom tag ${o}; use one of ${l}`)}return u.includes(a)||u.push(a),u},[])}const N0=(e,t)=>
67e.key<t.key?-1:e.key>t.key?1:0;class qi{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:u,sortMapEntries:s,toStringDefaults:a}){this.compat=Array.isArray(t)?Fr(t,"compat"):t?Fr(null,t):null,this.name=typeof u=="string"&&u||"core",this.knownTags=i?I0:{},this.tags=Fr(n,this.name,r),this.toStringOptions=a??null,Object.defineProperty(this,rt,{value:Ht}),Object.defineProperty(this,ve,{value:hr}),Object.defineProperty(this,Bt,{value:vt}),this.sortMapEntries=typeof s=="function"?s:s===!0?N0:null}clone(){const t=Object.create(qi.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function x0(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const o=e.directives.toString(e);o?(n.push(o),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=aa(e,t),{commentString:u}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const o=u(e.commentBefore);n.unshift(je(o,""))}let s=!1,a=null;if(e.contents){if(le(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const h=u(e.contents.commentBefore);n.push(je(h,""))}i.forceBlockIndent=!!e.comment,a=e.contents.comment}const o=a?void 0:()=>s=!0;let l=Ft(e.contents,i,()=>a=null,o);a&&(l+=ft(l,"",u(a))),(l[0]==="|"||l[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${l}`:n.push(l)}else n.push(Ft(e.contents,i));if(e.directives?.docEnd)if(e.comment){const o=u(e.comment);o.includes(`
68`)?(n.push("..."),n.push(je(o,""))):n.push(`... ${o}`)}else n.push("...");else{let o=e.comment;o&&s&&(o=o.replace(/^\n+/,"")),o&&((!s||a)&&n[n.length-1]!==""&&n.push(""),n.push(je(u(o),"")))}return n.join(`
69`)+`
70`}class zt{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Oe,{value:ii});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const u=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=u;let{version:s}=u;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new Ae({version:s}),this.setSchema(s,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(zt.prototype,{[Oe]:{value:ii}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=le(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){_t(this.contents)&&this.contents.add(t)}addIn(t,n){_t(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=na(this);t.anchor=!n||r.has(n)?ra(n||"a",r):n}return new Li(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const A=k=>typeof k=="number"||k instanceof String||k instanceof Number,T=n.filter(A).map(String);T.length>0&&(n=n.concat(T)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:u,anchorPrefix:s,flow:a,keepUndefined:o,onTagObj:l,tag:h}=r??{},{onAnchor:f,setAnchors:m,sourceObjects:d}=n0(this,s||"a"),E={aliasDuplicateObjects:u??!0,keepUndefined:o??!1,onAnchor:f,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:d},p=En(t,h,E);return a&&oe(p)&&(p.flow=!0),m(),p}createPair(t,n,r={}){const i=this.createNode(t,null,r),u=this.createNode(n,null,r);return new be(i,u)}delete(t){return _t(this.contents)?this.contents.delete(t):!1}deleteIn(t){return tn(t)?this.contents==null?!1:(this.contents=null,!0):_t(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return oe(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return tn(t)?!n&&ue(this.contents)?this.contents.value:this.contents:oe(this.contents)?this.contents.getIn(t,n):void 0}has(t){return oe(this.contents)?this.contents.has(t):!1}hasIn(t){return tn(t)?this.contents!==void 0:oe(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Qn(this.schema,[t],n):_t(this.contents)&&this.contents.set(t,n)}setIn(t,n){tn(t)?this.contents=n:this.contents==null?this.contents=Qn(this.schema,Array.from(t),n):_t(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ae({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Ae({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new qi(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}
70toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:u,reviver:s}={}){const a={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},o=xe(this.contents,n??"",a);if(typeof u=="function")for(const{count:l,res:h}of a.anchors.values())u(h,l);return typeof s=="function"?kt(s,{"":o},"",o):o}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return x0(this,t)}}function _t(e){if(oe(e))return!0;throw new Error("Expected a YAML collection as document contents")}class ka extends Error{constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class nn extends ka{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class O0 extends ka{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const zu=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(a=>t.linePos(a));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let u=i-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(u>=60&&s.length>80){const a=Math.min(u-39,s.length-79);s="…"+s.substring(a),u-=a-1}if(s.length>80&&(s=s.substring(0,79)+"…"),r>1&&/^ *$/.test(s.substring(0,u))){let a=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);a.length>80&&(a=a.substring(0,79)+`…
71`),s=a+s}if(/[^ ]/.test(s)){let a=1;const o=n.linePos[1];o?.line===r&&o.col>i&&(a=Math.max(1,Math.min(o.col-i,80-u)));const l=" ".repeat(u)+"^".repeat(a);n.message+=`:
72
73${s}
74${l}
75`}};function wt(e,{flow:t,indicator:n,next:r,offset:i,onError:u,parentIndent:s,startOnNewline:a}){let o=!1,l=a,h=a,f="",m="",d=!1,E=!1,p=null,A=null,T=null,k=null,I=null,O=null,M=null;for(const F of e)switch(E&&(F.type!=="space"&&F.type!=="newline"&&F.type!=="comma"&&u(F.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),E=!1),p&&(l&&F.type!=="comment"&&F.type!=="newline"&&u(p,"TAB_AS_INDENT","Tabs are not allowed as indentation"),p=null),F.type){case"space":!t&&(n!=="doc-start"||r?.type!=="flow-collection")&&F.source.includes("	")&&(p=F),h=!0;break;case"comment":{h||u(F,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Y=F.source.substring(1)||" ";f?f+=m+Y:f=Y,m="",l=!1;break}case"newline":l?f?f+=F.source:(!O||n!=="seq-item-ind")&&(o=!0):m+=F.source,l=!0,d=!0,(A||T)&&(k=F),h=!0;break;case"anchor":A&&u(F,"MULTIPLE_ANCHORS","A node can have at most one anchor"),F.source.endsWith(":")&&u(F.offset+F.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),A=F,M??(M=F.offset),l=!1,h=!1,E=!0;break;case"tag":{T&&u(F,"MULTIPLE_TAGS","A node can have at most one tag"),T=F,M??(M=F.offset),l=!1,h=!1,E=!0;break}case n:(A||T)&&u(F,"BAD_PROP_ORDER",`Anchors and tags must be after the ${F.source} indicator`),O&&u(F,"UNEXPECTED_TOKEN",`Unexpected ${F.source} in ${t??"collection"}`),O=F,l=n==="seq-item-ind"||n==="explicit-key-ind",h=!1;break;case"comma":if(t){I&&u(F,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),I=F,l=!1,h=!1;break}default:u(F,"UNEXPECTED_TOKEN",`Unexpected ${F.type} token`),l=!1,h=!1}const S=e[e.length-1],q=S?S.offset+S.source.length:i;return E&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&u(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p&&(l&&p.indent<=s||r?.type==="block-map"||r?.type==="block-seq")&&u(p,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:I,found:O,spaceBefore:o,comment:f,hasNewline:d,anchor:A,tag:T,newlineAfterProp:k,end:q,start:M??q}}function gn(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
76`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;
76if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(gn(t.key)||gn(t.value))return!0}return!1;default:return!0}}function oi(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&gn(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Ia(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(u,s)=>u===s||ue(u)&&ue(s)&&u.value===s.value;return t.some(u=>i(u.key,n))}const qu="All mapping items must start at the same column";function L0({composeNode:e,composeEmptyNode:t},n,r,i,u){const s=u?.nodeClass??Se,a=new s(n.schema);n.atRoot&&(n.atRoot=!1);let o=r.offset,l=null;for(const h of r.items){const{start:f,key:m,sep:d,value:E}=h,p=wt(f,{indicator:"explicit-key-ind",next:m??d?.[0],offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0}),A=!p.found;if(A){if(m&&(m.type==="block-seq"?i(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in m&&m.indent!==r.indent&&i(o,"BAD_INDENT",qu)),!p.anchor&&!p.tag&&!d){l=p.end,p.comment&&(a.comment?a.comment+=`
77`+p.comment:a.comment=p.comment);continue}(p.newlineAfterProp||gn(m))&&i(m??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else p.found?.indent!==r.indent&&i(o,"BAD_INDENT",qu);n.atKey=!0;const T=p.end,k=m?e(n,m,p,i):t(n,T,f,null,p,i);n.schema.compat&&oi(r.indent,m,i),n.atKey=!1,Ia(n,a.items,k)&&i(T,"DUPLICATE_KEY","Map keys must be unique");const I=wt(d??[],{indicator:"map-value-ind",next:E,offset:k.range[2],onError:i,parentIndent:r.indent,startOnNewline:!m||m.type==="block-scalar"});if(o=I.end,I.found){A&&(E?.type==="block-map"&&!I.hasNewline&&i(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&p.start<I.found.offset-1024&&i(k.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const O=E?e(n,E,I,i):t(n,o,d,null,I,i);n.schema.compat&&oi(r.indent,E,i),o=O.range[2];const M=new be(k,O);n.options.keepSourceTokens&&(M.srcToken=h),a.items.push(M)}else{A&&i(k.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),I.comment&&(k.comment?k.comment+=`
78`+I.comment:k.comment=I.comment);const O=new be(k);n.options.keepSourceTokens&&(O.srcToken=h),a.items.push(O)}}return l&&l<o&&i(l,"IMPOSSIBLE","Map comment with trailing content"),a.range=[r.offset,o,l??o],a}function F0({composeNode:e,composeEmptyNode:t},n,r,i,u){const s=u?.nodeClass??it,a=new s(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let o=r.offset,l=null;for(const{start:h,value:f}of r.items){const m=wt(h,{indicator:"seq-item-ind",next:f,offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!m.found)if(m.anchor||m.tag||f)f?.type==="block-seq"?i(m.end,"BAD_INDENT","All sequence items must start at the same column"):i(o,"MISSING_CHAR","Sequence item without - indicator");else{l=m.end,m.comment&&(a.comment=m.comment);continue}const d=f?e(n,f,m,i):t(n,m.end,h,null,m,i);n.schema.compat&&oi(r.indent,f,i),o=d.range[2],a.items.push(d)}return a.range=[r.offset,o,l??o],a}function Sn(e,t,n,r){let i="";if(e){let u=!1,s="";for(const a of e){const{source:o,type:l}=a;switch(l){case"space":u=!0;break;case"comment":{n&&!u&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const h=o.substring(1)||" ";i?i+=s+h:i=h,s="";break}case"newline":i&&(s+=o),u=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=o.length}}return{comment:i,offset:t}}const wr="Block collections are not allowed within flow collections",Rr=e=>e&&(e.type==="block-map"||e.type==="block-seq");function w0({composeNode:e,composeEmptyNode:t},n,r,i,u){const s=r.start.source==="{",a=s?"flow map":"flow sequence",o=u?.nodeClass??(s?Se:it),l=new o(n.schema);l.flow=!0;const h=n.atRoot;h&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let f=r.offset+r.start.source.length;for(let A=0;A<r.items.length;++A){const T=r.items[A],{start:k,key:I,sep:O,value:M}=T,S=wt(k,{flow:a,indicator:"explicit-key-ind",next:I??O?.[0],offset:f,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!S.found){if(!S.anchor&&!S.tag&&!O&&!M){A===0&&S.comma?i(S.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):A<r.items.length-1&&i(S.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),S.comment&&(l.comment?l.comment+=`
79`+S.comment:l.comment=S.comment),f=S.end;continue}!s&&n.options.strict&&gn(I)&&i(I,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(A===0)S.comma&&i(S.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(S.comma||i(S.start,"MISSING_CHAR",`Missing , between ${a} items`),S.comment){let q="";e:for(const F of k)switch(F.type){case"comma":case"space":break;case"comment":q=F.source.substring(1);break e;default:break e}if(q){let F=l.items[l.items.length-1];fe(F)&&(F=F.value??F.key),F.comment?F.comment+=`
80`+q:F.comment=q,S.comment=S.comment.substring(q.length+1)}}if(!s&&!O&&!S.found){const q=M?e(n,M,S,i):t(n,S.end,O,null,S,i);l.items.push(q),f=q.range[2],Rr(M)&&i(q.range,"BLOCK_IN_FLOW",wr)}else{n.atKey=!0;const q=S.end,F=I?e(n,I,S,i):t(n,q,k,null,S,i);Rr(I)&&i(F.range,"BLOCK_IN_FLOW",wr),n.atKey=!1;const Y=wt(O??[],{flow:a,indicator:"map-value-ind",next:M,offset:F.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(Y.found){if(!s&&!S.found&&n.options.strict){if(O)for(const z of O){if(z===Y.found)break;if(z.type==="newline"){i(z,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}S.start<Y.found.offset-1024&&i(Y.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else M&&("source"in M&&M.source?.[0]===":"?i(M,"MISSING_CHAR",`Missing space after : in ${a}`):i(Y.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const N=M?e(n,M,Y,i):Y.found?t(n,Y.end,O,null,Y,i):null;N?Rr(M)&&i(N.range,"BLOCK_IN_FLOW",wr):Y.comment&&(F.comment?F.comment+=`
81`+Y.comment:F.comment=Y.comment);const U=new be(F,N);if(n.options.keepSourceTokens&&(U.srcToken=T),s){const z=l;
81Ia(n,z.items,F)&&i(q,"DUPLICATE_KEY","Map keys must be unique"),z.items.push(U)}else{const z=new Se(n.schema);z.flow=!0,z.items.push(U);const j=(N??F).range;z.range=[F.range[0],j[1],j[2]],l.items.push(z)}f=N?N.range[2]:Y.end}}const m=s?"}":"]",[d,...E]=r.end;let p=f;if(d?.source===m)p=d.offset+d.source.length;else{const A=a[0].toUpperCase()+a.substring(1),T=h?`${A} must end with a ${m}`:`${A} in block collection must be sufficiently indented and end with a ${m}`;i(f,h?"MISSING_CHAR":"BAD_INDENT",T),d&&d.source.length!==1&&E.unshift(d)}if(E.length>0){const A=Sn(E,p,n.options.strict,i);A.comment&&(l.comment?l.comment+=`
82`+A.comment:l.comment=A.comment),l.range=[r.offset,p,A.offset]}else l.range=[r.offset,p,p];return l}function Br(e,t,n,r,i,u){const s=n.type==="block-map"?L0(e,t,n,r,u):n.type==="block-seq"?F0(e,t,n,r,u):w0(e,t,n,r,u),a=s.constructor;return i==="!"||i===a.tagName?(s.tag=a.tagName,s):(i&&(s.tag=i),s)}function R0(e,t,n,r,i){const u=r.tag,s=u?t.directives.tagName(u.source,m=>i(u,"TAG_RESOLVE_FAILED",m)):null;if(n.type==="block-seq"){const{anchor:m,newlineAfterProp:d}=r,E=m&&u?m.offset>u.offset?m:u:m??u;E&&(!d||d.offset<E.offset)&&i(E,"MISSING_CHAR","Missing newline after block sequence props")}const a=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!u||!s||s==="!"||s===Se.tagName&&a==="map"||s===it.tagName&&a==="seq")return Br(e,t,n,i,s);let o=t.schema.tags.find(m=>m.tag===s&&m.collection===a);if(!o){const m=t.schema.knownTags[s];if(m?.collection===a)t.schema.tags.push(Object.assign({},m,{default:!1})),o=m;else return m?i(u,"BAD_COLLECTION_TYPE",`${m.tag} used for ${a} collection, but expects ${m.collection??"scalar"}`,!0):i(u,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),Br(e,t,n,i,s)}const l=Br(e,t,n,i,s,o),h=o.resolve?.(l,m=>i(u,"TAG_RESOLVE_FAILED",m),t.options)??l,f=le(h)?h:new G(h);return f.range=l.range,f.tag=s,o?.format&&(f.format=o.format),f}function B0(e,t,n){const r=t.offset,i=P0(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const u=i.mode===">"?G.BLOCK_FOLDED:G.BLOCK_LITERAL,s=t.source?M0(t.source):[];let a=s.length;for(let p=s.length-1;p>=0;--p){const A=s[p][1];if(A===""||A==="\r")a=p;else break}if(a===0){const p=i.chomp==="+"&&s.length>0?`
83`.repeat(Math.max(1,s.length-1)):"";let A=r+i.length;return t.source&&(A+=t.source.length),{value:p,type:u,comment:i.comment,range:[r,A,A]}}let o=t.indent+i.indent,l=t.offset+i.length,h=0;for(let p=0;p<a;++p){const[A,T]=s[p];if(T===""||T==="\r")i.indent===0&&A.length>o&&(o=A.length);else{A.length<o&&n(l+A.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(o=A.length),h=p,o===0&&!e.atRoot&&n(l,"BAD_INDENT","Block scalar values in collections must be indented");break}l+=A.length+T.length+1}for(let p=s.length-1;p>=a;
83--p)s[p][0].length>o&&(a=p+1);let f="",m="",d=!1;for(let p=0;p<h;++p)f+=s[p][0].slice(o)+`
84`;for(let p=h;p<a;++p){let[A,T]=s[p];l+=A.length+T.length+1;const k=T[T.length-1]==="\r";if(k&&(T=T.slice(0,-1)),T&&A.length<o){const O=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(l-T.length-(k?2:1),"BAD_INDENT",O),A=""}u===G.BLOCK_LITERAL?(f+=m+A.slice(o)+T,m=`
85`):A.length>o||T[0]==="	"?(m===" "?m=`
86`:!d&&m===`
87`&&(m=`
88
89`),f+=m+A.slice(o)+T,m=`
90`,d=!0):T===""?m===`
91`?f+=`
92`:m=`
93`:(f+=m+T,m=" ",d=!1)}switch(i.chomp){case"-":break;case"+":for(let p=a;p<s.length;++p)f+=`
94`+s[p][0].slice(o);f[f.length-1]!==`
95`&&(f+=`
96`);break;default:f+=`
97`}const E=r+i.length+t.source.length;return{value:f,type:u,comment:i.comment,range:[r,E,E]}}function P0({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],u=i[0];let s=0,a="",o=-1;for(let m=1;m<i.length;++m){const d=i[m];if(!a&&(d==="-"||d==="+"))a=d;else{const E=Number(d);!s&&E?s=E:o===-1&&(o=e+m)}}o!==-1&&r(o,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,h="",f=i.length;for(let m=1;m<t.length;++m){const d=t[m];switch(d.type){case"space":l=!0;case"newline":f+=d.source.length;break;case"comment":n&&!l&&r(d,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),f+=d.source.length,h=d.source.substring(1);break;case"error":r(d,"UNEXPECTED_TOKEN",d.message),f+=d.source.length;break;default:{const E=`Unexpected token in block scalar header: ${d.type}`;r(d,"UNEXPECTED_TOKEN",E);const p=d.source;p&&typeof p=="string"&&(f+=p.length)}}}return{mode:u,indent:s,chomp:a,comment:h,length:f}}function M0(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),u=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let s=1;s<t.length;s+=2)u.push([t[s],t[s+1]]);return u}function U0(e,t,n){const{offset:r,type:i,source:u,end:s}=e;let a,o;const l=(m,d,E)=>n(r+m,d,E);switch(i){case"scalar":a=G.PLAIN,o=H0(u,l);break;case"single-quoted-scalar":a=G.QUOTE_SINGLE,o=v0(u,l);break;case"double-quoted-scalar":a=G.QUOTE_DOUBLE,o=z0(u,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+u.length,r+u.length]}}const h=r+u.length,f=Sn(s,h,t,n);return{value:o,type:a,comment:f.comment,range:[r,h,f.offset]}}function H0(e,t){let n="";switch(e[0]){case"	":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Na(e)}function v0(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Na(e.slice(1,-1)).replace(/''/g,"'")}function Na(e){let t,n;try{t=new RegExp(`(.*?)(?<![ 	])[ 	]*\r?
98`,"sy"),n=new RegExp(`[ 	]*(.*?)(?:(?<![ 	])[ 	]*)?\r?
99`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],u=" ",s=t.lastIndex;for(n.lastIndex=s;r=n.exec(e);)r[1]===""?u===`
100`?i+=u:u=`
101`:(i+=u+r[1],u=" "),s=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=s,r=a.exec(e),i+u+(r?.[1]??"")}function z0(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
102`))if(i===`
103`){const{fold:u,offset:s}=q0(e,r);n+=u,r=s}else if(i==="\\"){let u=e[++r];const s=$0[u];if(s)n+=s;else if(u===`
104`)for(u=e[r+1];u===" "||u==="	";)u=e[++r+1];else if(u==="\r"&&e[r+1]===`
105`)for(u=e[++r+1];u===" "||u==="	";)u=e[++r+1];else if(u==="x"||u==="u"||u==="U"){const a={x:2,u:4,U:8}[u];n+=Y0(e,r+1,a,t),r+=a}else{const a=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),n+=a}}else if(i===" "||i==="	"){const u=r;let s=e[r+1];for(;s===" "||s==="	";)s=e[++r+1];s!==`
106`&&!(s==="\r"&&e[r+2]===`
107`)&&(n+=r>u?e.slice(u,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function q0(e,t){let n="",r=e[t+1];for(;(r===" "||r==="	"||r===`
108`||r==="\r")&&!(r==="\r"&&e[t+2]!==`
109`);)r===`
110`&&(n+=`
111`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const $0={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
112`,r:"\r",t:"	",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","	":"	"};function Y0(e,t,n,r){const i=e.substr(t,n),s=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(s)){const a=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(s)}function xa(e,t,n,r){const{value:i,type:u,comment:s,range:a}=t.type==="block-scalar"?B0(e,t,r):U0(t,e.options.strict,r),o=n?e.directives.tagName(n.source,f=>r(n,"TAG_RESOLVE_FAILED",f)):null;let l;e.options.stringKeys&&e.atKey?l=e.schema[ve]:o?l=j0(e.schema,i,o,n,r):t.type==="scalar"?l=K0(e,i,t,r):l=e.schema[ve];let h;try{const f=l.resolve(i,m=>r(n??t,"TAG_RESOLVE_FAILED",m),e.options);h=ue(f)?f:new G(f)}catch(f){const m=f instanceof Error?f.message:String(f);r(n??t,"TAG_RESOLVE_FAILED",m),h=new G(i)}return h.range=a,h.source=i,u&&(h.type=u),o&&(h.tag=o),l.format&&(h.format=l.format),s&&(h.comment=s),h}function j0(e,t,n,r,i){if(n==="!")return e[ve];const u=[];for(const a of e.tags)if(!a.collection&&a.tag===n)if(a.default&&a.test)u.push(a);else return a;for(const a of u)if(a.test?.test(t))return a;const s=e.knownTags[n];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[ve])}function K0({atKey:e,directives:t,schema:n},r,i,u){const s=n.tags.find(a=>
112(a.default===!0||e&&a.default==="key")&&a.test?.test(r))||n[ve];if(n.compat){const a=n.compat.find(o=>o.default&&o.test?.test(r))??n[ve];if(s.tag!==a.tag){const o=t.tagString(s.tag),l=t.tagString(a.tag),h=`Value may be parsed as either ${o} or ${l}`;u(i,"TAG_RESOLVE_FAILED",h,!0)}}return s}function V0(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];i?.type==="space";)e+=i.source.length,i=t[++r];break}}return e}const Q0={composeNode:Oa,composeEmptyNode:$i};function Oa(e,t,n,r){const i=e.atKey,{spaceBefore:u,comment:s,anchor:a,tag:o}=n;let l,h=!0;switch(t.type){case"alias":l=W0(e,t,r),(a||o)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=xa(e,t,o,r),a&&(l.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=R0(Q0,e,t,n,r),a&&(l.anchor=a.source.substring(1));break;default:{const f=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",f),l=$i(e,t.offset,void 0,null,n,r),h=!1}}return a&&l.anchor===""&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),i&&e.options.stringKeys&&(!ue(l)||typeof l.value!="string"||l.tag&&l.tag!=="tag:yaml.org,2002:str")&&r(o??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),u&&(l.spaceBefore=!0),s&&(t.type==="scalar"&&t.source===""?l.comment=s:l.commentBefore=s),e.options.keepSourceTokens&&h&&(l.srcToken=t),l}function $i(e,t,n,r,{spaceBefore:i,comment:u,anchor:s,tag:a,end:o},l){const h={type:"scalar",offset:V0(t,n,r),indent:-1,source:""},f=xa(e,h,a,l);return s&&(f.anchor=s.source.substring(1),f.anchor===""&&l(s,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(f.spaceBefore=!0),u&&(f.comment=u,f.range[2]=o),f}function W0({options:e},{offset:t,source:n,end:r},i){const u=new Li(n.substring(1));u.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),u.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const s=t+n.length,a=Sn(r,s,e.strict,i);return u.range=[t,s,a.offset],a.comment&&(u.comment=a.comment),u}function G0(e,t,{offset:n,start:r,value:i,end:u},s){const a=Object.assign({_directives:t},e),o=new zt(void 0,a),l={atKey:!1,atRoot:!0,directives:o.directives,options:o.options,schema:o.schema},h=wt(r,{indicator:"doc-start",next:i??u?.[0],offset:n,onError:s,parentIndent:0,startOnNewline:!0});h.found&&(o.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!h.hasNewline&&s(h.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),o.contents=i?Oa(l,i,h,s):$i(l,h.end,r,null,h,s);const f=o.contents.range[2],m=Sn(u,f,!1,s);return m.comment&&(o.comment=m.comment),o.range=[n,f,m.offset],o}function Gt(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function $u(e){let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){const u=e[i];switch(u[0]){case"#":t+=(t===""?"":r?`
113
114`:`
115`)+(u.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class X0{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,u)=>{const s=Gt(n);u?this.warnings.push(new O0(s,r,i)):this.errors.push(new nn(s,r,i))},this.directives=new Ae({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=$u(this.prelude);if(r){const u=t.contents;if(n)t.comment=t.comment?`${t.comment}
116${r}`:r;else if(i||t.directives.docStart||!u)t.commentBefore=r;else if(oe(u)&&!u.flow&&u.items.length>0){let s=u.items[0];fe(s)&&(s=s.key);const a=s.commentBefore;s.commentBefore=a?`${r}
117${a}`:r}else{const s=u.commentBefore;u.commentBefore=s?`${r}
118${s}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:$u(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const u=Gt(t);u[0]+=n,this.onError(u,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=G0(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new nn(Gt(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new nn(Gt(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Sn(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
119${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new nn(Gt(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new zt(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}const La="\uFEFF",Fa="�",wa="�",ci="�";function J0(e){switch(e){case La:return"byte-order-mark";case Fa:return"doc-mode";case wa:return"flow-error-end";case ci:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
120`:case`\r
121`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"	":return"space";case"#":return"comment";
121case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function Fe(e){switch(e){case void 0:case" ":case`
122`:case"\r":case"	":return!0;default:return!1}}const Yu=new Set("0123456789ABCDEFabcdef"),Z0=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Bn=new Set(",[]{}"),ed=new Set(` ,[]{}
123\r	`),Pr=e=>!e||ed.has(e);class td{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n==="	";)n=this.buffer[++t];return!n||n==="#"||n===`
124`?!0:n==="\r"?this.buffer[t+1]===`
125`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const i=this.buffer[r+t+1];if(i===`
126`||!i&&!this.atEnd)return t+r+1}return n===`
127`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Fe(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
128`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===La&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const u=t[r-1];if(u===" "||u==="	"){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const u=t[n-1];if(u===" "||u==="	")n-=1;else break}const i=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield Fa,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&Fe(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Fe(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Fe(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";
vendor: 8,089 bytes, lines 128-140
128case"*":return yield*this.pushUntil(Pr),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&i[0]!=="#"||r===0&&(i.startsWith("---")||i.startsWith("..."))&&Fe(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield wa,yield*this.parseLineStart();let u=0;for(;i[u]===",";)u+=yield*this.pushCount(1),u+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(u+=yield*this.pushIndicators(),i[u]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-u),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Pr),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const s=this.charAt(1);if(this.flowKey||Fe(s)||s===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let u=0;for(;this.buffer[n-1-u]==="\\";)u+=1;if(u%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let i=r.indexOf(`
129`,this.pos);if(i!==-1){for(;i!==-1;){const u=this.continueScalar(i+1);if(u===-1)break;i=r.indexOf(`
130`,u)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Fe(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let u=this.pos;r=this.buffer[u];++u)switch(r){case" ":n+=1;break;case`
131`:t=u,n=0;break;case"\r":{const s=this.buffer[u+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
132`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const u=this.continueScalar(t+1);if(u===-1)break;t=this.buffer.indexOf(`
133`,u)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(r=this.buffer[i];r===" ";)r=this.buffer[++i];if(r==="	"){for(;r==="	"||r===" "||r==="\r"||r===`
134`;)r=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)do{let u=t-1,s=this.buffer[u];s==="\r"&&(s=this.buffer[--u]);const a=u;for(;s===" ";)s=this.buffer[--u];if(s===`
135`&&u>=this.pos&&u+1+n>a)t=u;else break}while(!0);return yield ci,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,i;for(;i=this.buffer[++r];)if(i===":"){const u=this.buffer[r+1];if(Fe(u)||t&&Bn.has(u))break;n=r}else if(Fe(i)){let u=this.buffer[r+1];if(i==="\r"&&(u===`
136`?(r+=1,i=`
137`,u=this.buffer[r+1]):n=r),u==="#"||t&&Bn.has(u))break;if(i===`
138`){const s=this.continueScalar(r+1);if(s===-1)break;r=Math.max(r,s-2)}}else{if(t&&Bn.has(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield ci,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Pr))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Fe(n)||t&&Bn.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Fe(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(Z0.has(n))n=this.buffer[++t];else if(n==="%"&&Yu.has(this.buffer[t+1])&&Yu.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
139`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
140`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r==="	");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class nd{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const u=n+r>>1;this.lineStarts[u]<t?n=u+1:r=u}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const i=this.lineStarts[n-1];return{line:n,col:t-i+1}}}}function et(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function ju(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Ra(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Pn(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Dt(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function Ku(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!et(t.start,"explicit-key-ind")&&!et(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Ra(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}let rd=class{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new td,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=J0(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}
140get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&t?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&Ku(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const i=r.items[r.items.length-1];if(i.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=n;else{Object.assign(i,{key:n,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{const i=r.items[r.items.length-1];i.value?r.items.push({start:[],value:n}):i.value=n;break}case"flow-collection":{const i=r.items[r.items.length-1];!i||i.value?r.items.push({start:[],key:n,sep:[]}):i.sep?i.value=n:Object.assign(i,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const i=n.items[n.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&ju(i.start)===-1&&(n.indent===0||i.start.every(u=>u.type!=="comment"||u.indent<n.indent))&&(r.type==="document"?r.end=i.start:r.items.push({start:i.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{ju(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=Pn(this.peek(2)),r=Dt(n);let i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];const u={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=u}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
141`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
142`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent,i=r&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let u=[];
142if(i&&n.sep&&!n.value){const s=[];for(let a=0;a<n.sep.length;++a){const o=n.sep[a];switch(o.type){case"newline":s.push(a);break;case"space":break;case"comment":o.indent>t.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(u=n.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(u.push(this.sourceToken),t.items.push({start:u}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):i||n.value?(u.push(this.sourceToken),t.items.push({start:u,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(et(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]});else if(Ra(n.key)&&!et(n.sep,"newline")){const s=Dt(n.start),a=n.key,o=n.sep;o.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:a,sep:o}]})}else u.length>0?n.sep=n.sep.concat(u,this.sourceToken):n.sep.push(this.sourceToken);else if(et(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const s=Dt(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:u,key:null,sep:[this.sourceToken]}):et(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);i||n.value?(t.items.push({start:u,key:s,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(s):(Object.assign(n,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{const s=this.startBlockValue(t);if(s){if(s.type==="block-seq"){if(!n.explicitKey&&n.sep&&!et(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else r&&t.items.push({start:u});this.stack.push(s);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||et(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r?.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.t
142ype);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=Pn(r),u=Dt(i);Ku(t);const s=t.end.splice(1,t.end.length);s.push(this.sourceToken);const a={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:u,key:t,sep:s}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
143`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
144`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Pn(t),r=Dt(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Pn(t),r=Dt(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};function id(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new nd||null,prettyErrors:t}}function ud(e,t={}){const{lineCounter:n,prettyErrors:r}=id(t),i=new rd(n?.addNewLine),u=new X0(t);let s=null;for(const a of u.compose(i.parse(e),!0,e.length))if(!s)s=a;else if(s.options.logLevel!=="silent"){s.errors.push(new nn(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}
144return r&&n&&(s.errors.forEach(zu(e,n)),s.warnings.forEach(zu(e,n))),s}function sd(e,t,n){let r=null;if(typeof t=="function"||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){const{keepUndefined:i}=n??t??{};if(!i)return}return Dn(e)&&!r?e.toString(n):new zt(e,r,n).toString(n)}function Ba(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Pa(e){return e}function ad(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,i=t.transformKey||Pa,u={};function s(a,o,l){l=l||1,Object.keys(a).forEach(function(h){const f=a[h],m=t.safe&&Array.isArray(f),d=Object.prototype.toString.call(f),E=Ba(f),p=d==="[object Object]"||d==="[object Array]",A=o?o+n+i(h):i(h);if(!m&&!E&&p&&Object.keys(f).length&&(!t.maxDepth||l<r))return s(f,A,l+1);u[A]=f})}return s(e),u}function Yi(e,t){t=t||{};const n=t.delimiter||".",r=t.overwrite||!1,i=t.transformKey||Pa,u={};if(Ba(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(h){const f=Number(h);return isNaN(f)||h.indexOf(".")!==-1||t.object?h:f}function o(h,f,m){return Object.keys(m).reduce(function(d,E){return d[h+n+E]=m[E],d},f)}function l(h){const f=Object.prototype.toString.call(h),m=f==="[object Array]",d=f==="[object Object]";if(h){if(m)return!h.length;if(d)return!Object.keys(h).length}else return!0}return e=Object.keys(e).reduce(function(h,f){const m=Object.prototype.toString.call(e[f]);return!(m==="[object Object]"||m==="[object Array]")||l(e[f])?(h[f]=e[f],h):o(f,h,ad(e[f],t))},{}),Object.keys(e).forEach(function(h){const f=h.split(n).map(i);let m=a(f.shift()),d=a(f[0]),E=u;for(;d!==void 0;){if(m==="__proto__")return;const p=Object.prototype.toString.call(E[m]),A=p==="[object Object]"||p==="[object Array]";if(!r&&!A&&typeof E[m]<"u")return;(r&&!A||!r&&E[m]==null)&&(E[m]=typeof d=="number"&&!t.object?[]:{}),E=E[m],f.length>0&&(m=a(f.shift()),d=a(f[0]))}E[m]=Yi(e[h],t)}),u}const od=/["&'<>`]/g,cd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ld=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,fd=/[|\\{}()[\]^$+*?.]/g,Vu=new WeakMap;function Ma(e,t){if(e=e.replace(t.subset?hd(t.subset):od,r),t.subset||t.escapeOnly)return e;return e.replace(cd,n).replace(ld,r);function n(i,u,s){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(u+2),t)}function r(i,u,s){return t.format(i.charCodeAt(0),s.charCodeAt(u+1),t)}}function hd(e){let t=Vu.get(e);return t||(t=dd(e),Vu.set(e,t)),t}function dd(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(fd,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const md=/[\dA-Fa-f]/;function pd(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!md.test(String.fromCharCode(t))?r:r+";"}const Ed=/\d/;function gd(e,t,n){const r="&#"+String(e);return n&&t&&!Ed.test(String.fromCharCode(t))?r:r+";"}const Ua=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
144sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Mr={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub
144:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},bd=["cent","copy","divide","gt","lt","not","para","times"],Ha={}.hasOwnProperty,li={};let Mn;for(Mn in Mr)Ha.call(Mr,Mn)&&(li[Mr[Mn]]=Mn);const Td=/[^\dA-Za-z]/;function Ad(e,t,n,r){const i=String.fromCharCode(e);if(Ha.call(li,i)){const u=li[i],s="&"+u;return n&&Ua.includes(u)&&!bd.includes(u)&&(!r||t&&t!==61&&Td.test(String.fromCharCode(t)))?s:s+";"}return""}function Cd(e,t,n){let r=pd(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Ad(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const u=gd(e,t,n.omitOptionalSemicolons);u.length<r.length&&(r=u)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function _d(e){return"&#x"+e.toString(16).toUpperCase()+";"}function QT(e,t){return Ma(e,Object.assign({format:Cd},t))}function Dd(e,t){return Ma(e,Object.assign({format:_d},t))}const Qu={}.hasOwnProperty;function va(e,t){const n=t||{};function r(i,...u){let s=r.invalid;const a=r.handlers;if(i&&Qu.call(i,e)){const o=String(i[e]);s=Qu.call(a,o)?a[o]:r.unknown}if(s)return s.call(this,i,...u)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function yd(e,t,n,r){const i=n.enter("blockquote"),u=n.createTracker(r);u.move("> "),u.shift(2);const s=n.indentLines(n.containerFlow(e,u.current()),Sd);return i(),s}function Sd(e,t,n){return">"+(n?"":" ")+e}function kd(e,t){return Wu(e,t.inConstruct,!0)&&!Wu(e,t.notInConstruct,!1)}function Wu(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Gu(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
145`&&kd(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
146`}function Id(e,t){const n=String(e);let r=n.indexOf(t),i=r,u=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++u>s&&(s=u):u=1,i=r+t.length,r=n.indexOf(t,i);return s}function Nd(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function xd(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Od(e,t,n,r){const i=xd(n),u=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(Nd(e,n)){const f=n.enter("codeIndented"),m=n.indentLines(u,Ld);return f(),m}const a=n.createTracker(r),o=i.repeat(Math.max(Id(u,i)+1,3)),l=n.enter("codeFenced");let h=a.move(o);if(e.lang){const f=n.enter(`codeFencedLang${s}`);h+=a.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...a.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${s}`);h+=a.move(" "),h+=a.move(n.safe(e.meta,{before:h,after:`
147`,encode:["`"],...a.current()})),f()}return h+=a.move(`
148`),u&&(h+=a.move(u+`
149`)),h+=a.move(o),l(),h}function Ld(e,t,n){return(n?"":"    ")+e}function ji(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Fd(e,t,n,r){const i=ji(n),u=i==='"'?"Quote":"Apostrophe",s=n.enter("definition");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");return l+=o.move(n.safe(n.associationId(e),{before:l,after:"]",...o.current()})),l+=o.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(a=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":`
150`,...o.current()}))),a(),e.title&&(a=n.enter(`title${u}`),l+=o.move(" "+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),a()),s(),l}function wd(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function bn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Gn(e,t,n){const r=Lt(e),i=Lt(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}za.peek=Rd;function za(e,t,n,r){const i=wd(n),u=n.enter("emphasis"),s=n.createTracker(r),a=s.move(i);let o=s.move(n.containerPhrasing(e,{after:i,before:a,...s.current()}));
vendor: 6,293 bytes, lines 150-155
150const l=o.charCodeAt(0),h=Gn(r.before.charCodeAt(r.before.length-1),l,i);h.inside&&(o=bn(l)+o.slice(1));const f=o.charCodeAt(o.length-1),m=Gn(r.after.charCodeAt(0),f,i);m.inside&&(o=o.slice(0,-1)+bn(f));const d=s.move(i);return u(),n.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},a+o+d}function Rd(e,t,n){return n.options.emphasis||"*"}function Bd(e,t){let n=!1;return He(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,ni}),!!((!e.depth||e.depth<3)&&Di(e)&&(t.options.setext||n))}function Pd(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),u=n.createTracker(r);if(Bd(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),m=n.containerPhrasing(e,{...u.current(),before:`
151`,after:`
152`});return f(),h(),m+`
153`+(i===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
154`))+1))}const s="#".repeat(i),a=n.enter("headingAtx"),o=n.enter("phrasing");u.move(s+" ");let l=n.containerPhrasing(e,{before:"# ",after:`
155`,...u.current()});return/^[\t ]/.test(l)&&(l=bn(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,n.options.closeAtx&&(l+=" "+s),o(),a(),l}qa.peek=Md;function qa(e){return e.value||""}function Md(){return"<"}$a.peek=Ud;function $a(e,t,n,r){const i=ji(n),u=i==='"'?"Quote":"Apostrophe",s=n.enter("image");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");return l+=o.move(n.safe(e.alt,{before:l,after:"]",...o.current()})),l+=o.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(a=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":")",...o.current()}))),a(),e.title&&(a=n.enter(`title${u}`),l+=o.move(" "+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),a()),l+=o.move(")"),s(),l}function Ud(){return"!"}Ya.peek=Hd;function Ya(e,t,n,r){const i=e.referenceType,u=n.enter("imageReference");let s=n.enter("label");const a=n.createTracker(r);let o=a.move("![");const l=n.safe(e.alt,{before:o,after:"]",...a.current()});o+=a.move(l+"]["),s();const h=n.stack;n.stack=[],s=n.enter("reference");const f=n.safe(n.associationId(e),{before:o,after:"]",...a.current()});return s(),n.stack=h,u(),i==="full"||!l||l!==f?o+=a.move(f+"]"):i==="shortcut"?o=o.slice(0,-1):o+=a.move("]"),o}function Hd(){return"!"}ja.peek=vd;function ja(e,t,n){let r=e.value||"",i="`",u=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++u<n.unsafe.length;){const s=n.unsafe[u],a=n.compilePattern(s);let o;if(s.atBreak)for(;o=a.exec(r);){let l=o.index;r.charCodeAt(l)===10&&r.charCodeAt(l-1)===13&&l--,r=r.slice(0,l)+" "+r.slice(o.index+1)}}return i+r+i}function vd(){return"`"}function Ka(e,t){const n=Di(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Va.peek=zd;function Va(e,t,n,r){const i=ji(n),u=i==='"'?"Quote":"Apostrophe",s=n.createTracker(r);let a,o;if(Ka(e,n)){const h=n.stack;n.stack=[],a=n.enter("autolink");let f=s.move("<");return f+=s.move(n.containerPhrasing(e,{before:f,after:">",...s.current()})),f+=s.move(">"),a(),n.stack=h,f}a=n.enter("link"),o=n.enter("label");let l=s.move("[");return l+=s.move(n.containerPhrasing(e,{before:l,after:"](",...s.current()})),l+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(n.safe(e.url,{before:l,after:">",...s.current()})),l+=s.move(">")):(o=n.enter("destinationRaw"),l+=s.move(n.safe(e.url,{before:l,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=n.enter(`title${u}`),l+=s.move(" "+i),l+=s.move(n.safe(e.title,{before:l,after:i,...s.current()})),l+=s.move(i),o()),l+=s.move(")"),a(),l}function zd(e,t,n){return Ka(e,n)?"<":"["}Qa.peek=qd;function Qa(e,t,n,r){const i=e.referenceType,u=n.enter("linkReference");let s=n.enter("label");const a=n.createTracker(r);let o=a.move("[");const l=n.containerPhrasing(e,{before:o,after:"]",...a.current()});o+=a.move(l+"]["),s();const h=n.stack;n.stack=[],s=n.enter("reference");const f=n.safe(n.associationId(e),{before:o,after:"]",...a.current()});return s(),n.stack=h,u(),i==="full"||!l||l!==f?o+=a.move(f+"]"):i==="shortcut"?o=o.slice(0,-1):o+=a.move("]"),o}function qd(){return"["}function Ki(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function $d(e){const t=Ki(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Yd(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Wa(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function jd(e,t,n,r){const i=n.enter("list"),u=n.bulletCurrent;let s=e.ordered?Yd(n):Ki(n);const a=e.ordered?s==="."?")":".":$d(n);let o=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(o=!0),Wa(n)===s&&h){let f=-1;for(;++f<e.children.length;){const m=e.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){o=!0;break}}}}o&&(s=a),n.bulletCurrent=s;const l=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=u,i(),l}function Kd(e){const t=e.options.listItemIndent||"one";
155if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Vd(e,t,n,r){const i=Kd(n);let u=n.bulletCurrent||Ki(n);t&&t.type==="list"&&t.ordered&&(u=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+u);let s=u.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const a=n.createTracker(r);a.move(u+" ".repeat(s-u.length)),a.shift(s);const o=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,a.current()),h);return o(),l;function h(f,m,d){return m?(d?"":" ".repeat(s))+f:(d?u:u+" ".repeat(s-u.length))+f}}function Qd(e,t,n,r){const i=n.enter("paragraph"),u=n.enter("phrasing"),s=n.containerPhrasing(e,r);return u(),i(),s}const Wd=ar(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Gd(e,t,n,r){return(e.children.some(function(s){return Wd(s)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Xd(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Ga.peek=Jd;function Ga(e,t,n,r){const i=Xd(n),u=n.enter("strong"),s=n.createTracker(r),a=s.move(i+i);let o=s.move(n.containerPhrasing(e,{after:i,before:a,...s.current()}));const l=o.charCodeAt(0),h=Gn(r.before.charCodeAt(r.before.length-1),l,i);h.inside&&(o=bn(l)+o.slice(1));const f=o.charCodeAt(o.length-1),m=Gn(r.after.charCodeAt(0),f,i);m.inside&&(o=o.slice(0,-1)+bn(f));const d=s.move(i+i);return u(),n.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},a+o+d}function Jd(e,t,n){return n.options.strong||"*"}function Zd(e,t,n,r){return n.safe(e.value,r)}function em(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function tm(e,t,n){const r=(Wa(n)+(n.options.ruleSpaces?" ":"")).repeat(em(n));return n.options.ruleSpaces?r.slice(0,-1):r}const tt={blockquote:yd,break:Gu,code:Od,definition:Fd,emphasis:za,hardBreak:Gu,heading:Pd,html:qa,image:$a,imageReference:Ya,inlineCode:ja,link:Va,linkReference:Qa,list:jd,listItem:Vd,paragraph:Qd,root:Gd,strong:Ga,text:Zd,thematicBreak:tm},Xu={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function Xa(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function nm(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function rm(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Ju(e){return rm(e)||Xa(e)}const im=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Ur(e,t){const n={},r=typeof n.additional=="string"?n.additional.charCodeAt(0):n.additional,i=[];let u=0,s=-1,a="",o,l;n.position&&("start"in n.position||"indent"in n.position?(l=n.position.indent,o=n.position.start):o=n.position);let h=(o?o.line:0)||1,f=(o?o.column:0)||1,m=E(),d;for(u--;++u<=e.length;)if(d===10&&(f=(l?l[s]:0)||1),d=e.charCodeAt(u),d===38){const T=e.charCodeAt(u+1);if(T===9||T===10||T===12||T===32||T===38||T===60||Number.isNaN(T)||r&&T===r){a+=String.fromCharCode(d),f++;continue}const k=u+1;let I=k,O=k,M;if(T===35){O=++I;const j=e.charCodeAt(O);j===88||j===120?(M="hexadecimal",O=++I):M="decimal"}else M="named";let S="",q="",F="";const Y=M==="named"?Ju:M==="decimal"?Xa:nm;for(O--;++O<=e.length;){const j=e.charCodeAt(O);if(!Y(j))break;F+=String.fromCharCode(j),M==="named"&&Ua.includes(F)&&(S=F,q=pn(F))}let N=e.charCodeAt(O)===59;if(N){O++;const j=M==="named"?pn(F):!1;j&&(S=F,q=j)}let U=1+O-k,z="";if(!(!N&&n.nonTerminated===!1))if(!F)M!=="named"&&p(4,U);else if(M==="named"){if(N&&!q)p(5,1);else if(S!==F&&(O=I+S.length,U=1+O-I,N=!1),!N){const j=S?1:3;if(n.attribute){const Z=e.charCodeAt(O);Z===61?(p(j,U),q=""):Ju(Z)?q="":p(j,U)}else p(j,U)}z=q}else{N||p(2,U);let j=Number.parseInt(F,M==="hexadecimal"?16:10);if(um(j))p(7,U),z="�";else if(j in Xu)p(6,U),z=Xu[j];else{let Z="";sm(j)&&p(6,U),j>65535&&(j-=65536,Z+=String.fromCharCode(j>>>10|55296),j=56320|j&1023),z=Z+String.fromCharCode(j)}}if(z){A(),m=E(),u=O-1,f+=O-k+1,i.push(z);const j=E();j.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,z,{start:m,end:j},e.slice(k-1,O)),m=j}else F=e.slice(k-1,O),a+=F,f+=F.length,u=O-1}else d===10&&(h++,s++,f=0),Number.isNaN(d)?A():(a+=String.fromCharCode(d),f++);return i.join("");function E(){return{line:h,column:f,offset:u+((o?o.offset:0)||0)}}function p(T,k){let I;n.warning&&(I=E(),I.column+=k,I.offset+=k,n.warning.call(n.warningContext||void 0,im[T],I,T))}function A(){a&&(i.push(a),n.text&&n.text.call(n.textContext||void 0,a,{start:m,end:E()}),a="")}}function um(e){return e>=55296&&e<=57343||e>1114111}function sm(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const Xn="---",am="```yaml [props]",om=`
156`,cm="\r";function Ja(e,t){if(!e||!Object.keys(e).length)return"";if(t?.preserveOrder&&e.__order__){const n=new zt;return n.contents=hi(e.__order__),String(n).trim()}return Reflect.deleteProperty(e,"__order__"),e=Yi(e||{},{}),[t?.prefix||"",sd(e,t).trim(),t?.suffix||""].join(`
157`).trim()}function lm(e,t="",n){return[Ja(e,{prefix:Xn,suffix:Xn,...n}),"",t.trim()].join(`
158`).trim()+`
159`}function fm(e,t="",n){return[Ja(e,{prefix:am,suffix:"```",...n}),t.trim()].join(`
160`).trim()+`
161`}function Za(e,t){let n={};if(e.startsWith(Xn)){const r=e.indexOf(om+Xn);if(r!==-1){const i=e[r-1]===cm,u=e.slice(4,r-(i?1:0));if(u){const s=ud(u,t);n=s.toJSON(),t?.preserveOrder&&(n.__order__=fi(s.contents)),e=e.slice(r+4+(i?1:0))}}}return{content:e,data:Yi(n||{},{})}}function fi(e){if(Pt(e)){const t=[];for(const n of e.items)t.push([n.key.value,fi(n.value)]);return{type:"map",value:t}}return Mt(e)?{type:"seq",value:e.items.map(t=>fi(t))}:ue(e)?{type:"scalar",value:e.value}:{type:"scalar",value:null}}function hi(e){if(e.type==="map"){const t=new Se;for(const[n,r]of e.value)t.items.push(new be(new G(n),hi(r)));return t}if(e.type==="seq"){const t=new it;for(const n of e.value)t.items.push(hi(n));return t}return new G(e.value)}function Jn(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,i=n.line||1,u=n.column||1;return{move:o,current:s,shift:a};function s(){return{now:{line:i,column:u},lineShift:r}}function a(l){r+=l}function o(l=""){const h=l.split(/\r?\n|\r/g),f=h[h.length-1];return i+=h.length-1,u=h.length===1?u+f.length:1+f.length+r,l}}function hm(e,t,n={}){const r=t.indexStack,i=e.children||[],u=Jn(n),s=[];let a=-1;for(r.push(-1);++a<i.length;){const o=i[a];r[r.length-1]=a,s.push(u.move(t.handle(o,e,t,{before:"",after:"",...u.current()})))}return r.pop(),s.join("")}function dm(e,t,n={}){const r=t.indexStack,i=e.children||[],u=Jn(n),s=[];let a=-1;for(r.push(-1);++a<i.length;){const l=i[a];r[r.length-1]=a,s.push(u.move(t.handle(l,e,t,{before:`
162`,after:`
163`,...u.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),a<i.length-1&&s.push(u.move(o(l,i[a+1])))}return r.pop(),s.join("");function o(l,h){let f=t.join.length;for(;f--;){const m=t.join[f](l,h,e,t);if(m===!0||m===1)break;if(typeof m=="number")return`
164`.repeat(1+m);if(m===!1)return`
165
166<!---->
167
168`}return`
169
170`}}function mm(e,t,n){const r=t.indexStack,i=e.children||[],u=[];let s=-1,a=n.before;r.push(-1);let o=Jn(n);for(;++s<i.length;){const l=i[s];let h;if(r[r.length-1]=s,s+1<i.length){let f=t.handle.handlers[i[s+1].type];f&&f.peek&&(f=f.peek),h="",f&&(h=f(i[s+1],e,t,{before:"",after:"",...o.current()}).charAt(0))}else h=n.after;u.length>0&&(a==="\r"||a===`
171`)&&l.type==="html"&&(u[u.length-1]=u[u.length-1].replace(/(\r?\n|\r)$/," "),a=" ",o=Jn(n),o.move(u.join(""))),u.push(o.move(t.handle(l,e,t,{...o.current(),before:a,after:h}))),a=u[u.length-1].slice(-1)}return r.pop(),u.join("")}function pm(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}const eo=new Set(["componentContainerSection","containerComponent","leafComponent"]),Em=new Set(["componentContainerSection","componentContainerDataSection","containerComponent","leafComponent","table","pre","code","textComponent","heading"]);function gm(e){return e.replace(/&#x([0-9A-Fa-f]+);/g,(t,n)=>String.fromCodePoint(Number.parseInt(n,16)))}const Zu=/^[^\t\n\r "'.<=>`}]+$/,bm=2;function es(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}const Tm=(e={})=>{const t=(d,E)=>{if(!eo.has(d.type))return;const p=T=>["paragraph"].includes(T)||Em.has(T),A=d.children.filter(T=>!p(T.type));A.length!==0&&(d.children=[{type:"paragraph",children:A},...d.children.filter(T=>p(T.type))])},n=d=>{const E=Object.entries(d.fmAttributes||{});if(E.length===0)return"";const p=E.sort(([A],[T])=>A.localeCompare(T)).reduce((A,[T,k])=>{if(T?.startsWith(":")&&l(k)){try{k=JSON.parse(k)}catch{}T=T.slice(1)}return A[T]=k,A},{});return`
172`+(e?.attributes?.yamlCodeBlock?fm(p).trim():lm(p).trim())},r=d=>{e.autoUnwrap&&t(d,typeof e.autoUnwrap=="boolean"?{}:e.autoUnwrap)};function i(d,E,p){return p.indexStack=p.stack,r(d),`#${d.name}${h(d,p)}
173${f(d,p)}`.trim()}function u(d,E,p){let A;p.indexStack=p.stack;const T=p.enter(d.type);if(d.name==="span")A=`[${f(d,p)}]${h(d,p)}`;else if(d.name==="binding"){const k=d.attributes||{};A=k.defaultValue?`{{ ${k.value} || '${k.defaultValue}' }}`:`{{ ${k.value} }}`}else A=":"+(d.name||"")+o(d,p)+h(d,p);return T(),A}let s=0;function a(d,E,p){p.indexStack=p.stack;const A=":".repeat(bm+s);s+=1;const T=p.enter(d.type);p.bulletLastUsed=void 0;let k=A+(d.name||"")+o(d,p);const I=d.children.filter(F=>F.type!=="componentContainerSection"),O=d.children.filter(F=>F.type==="componentContainerSection");d.children=[...I,...O],d.fmAttributes=d.fmAttributes||{};const M=h(d,p),S=Object.entries(d.attributes||{});((k+M).length>(e?.attributes?.maxLength||80)||Object.keys(d.fmAttributes).length>0||S.length>3||S.some(([F,Y])=>typeof Y=="object")||M.match(/(=['"][{[]|\n)/)||d.children?.some(F=>F.type==="componentContainerSection"))&&(Object.assign(d.fmAttributes,d.attributes),d.attributes=[]),r(d),k+=h(d,p),k+=n(d);let q;return d.type==="containerComponent"&&(q=f(d,p),q&&(k+=`
174`+q),k+=`
175`+A,s>1&&(k=k.split(`
176`).map(F=>F.length>0?"  "+F:F).join(`
177`))),s-=1,T(),k}a.peek=function(){return":"};function o(d,E){let p=d;if(d.type==="containerComponent"){if(!m(d))return"";p=d.children[0]}const A=E.enter("label"),T=E.enter(d.type+"Label"),k=mm(p,E,{before:"[",after:"]"});return T(),A(),k?"["+k+"]":""}const l=d=>{try{return JSON.parse(d),!0}catch{return!1}};function h(d,E){const p=pm(E),A=d.type==="textComponent"?[p]:[p,`
178`,"\r"],T=d.attributes||{},k=e.attributes?.preserveOrder&&T.__order__?T.__order__?.value:Object.entries(T).sort(([Y],[N])=>Y.localeCompare(N)),I=[];let O,M="",S="",q;
178for(const Y of k){const N=Y[0];let U=Y[1];if(Y[1]!=null)if(U=String(Y[1]),N==="id")O=Zu.test(U)?"#"+U:F("id",U);else if(N==="class"||N==="className"){for(U=Array.isArray(k[N])?k[N].join(" "):U,U=U.split(/[\t\n\r ]+/g).filter(Boolean),M=[],S=[],q=-1;++q<U.length;)(Zu.test(U[q])?S:M).push(U[q]);M=M.length?F("class",M.join(" ")):"",S=S.length?"."+S.join("."):""}else N.startsWith(":")&&U==="true"?I.push(N.slice(1)):N.startsWith(":")&&l(U)?I.push(`${N}='${U.replace(/([^/])'/g,"$1\\'")}'`):typeof Y[1]=="object"?I.push(F(N,JSON.stringify(U))):I.push(F(N,U))}return M&&I.unshift(M),S&&I.unshift(S),O&&I.unshift(O),I.length?"{"+I.join(" ")+"}":"";function F(Y,N){return Y+"="+p+Dd(N,{subset:A})+p}}function f(d,E){const p=m(d)?Object.assign({},d,{children:d.children.slice(1)}):d;let A=d.type==="textComponent"?hm(p,E):dm(p,E);return A.includes("&#x")&&(A=gm(A)),A}function m(d){return d.children&&d.children[0]&&d.children[0].data&&d.children[0].data.componentLabel}return{compilePattern:es,unsafe:[{character:"\r",inConstruct:["leafComponentLabel","containerComponentLabel"]},{character:`
179`,inConstruct:["leafComponentLabel","containerComponentLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerComponent:a,textComponent:u,componentContainerSection:i,image:(d,E,p,A)=>tt.image(d,E,p,A)+h(d,p),link:(d,E,p,A)=>{const T=p.unsafe.find(O=>O.character==="&"),k=T?.notInConstruct||[];T&&(T.notInConstruct="destinationRaw");const I=tt.link(d,E,p,A)+h(d,p);return T&&(T.notInConstruct=k),I},linkReference:(d,E,p,A)=>tt.linkReference(d,E,p,A)+h(d,p),strong:(d,E,p,A)=>tt.strong(d,E,p,A)+h(d,p),inlineCode:(d,E,p)=>(p.compilePattern=p.compilePattern||es,tt.inlineCode(d,E,p)+h(d,p)),emphasis:(d,E,p,A)=>tt.emphasis(d,E,p,A)+h(d,p)}}},Am=(e={})=>{const t=["textComponent"],n=P=>{const K=P.children[0];K&&K.children?.length&&K.children[0]?.type==="code"&&K.children[0]?.lang==="yaml"&&K.children[0]?.meta==="[props]"&&(P.rawData=K.children[0].value,P.mdc=P.mdc||{},P.mdc.codeBlockProps=!0,K.children.splice(0,1))},r=(P,K)=>{if(!eo.has(P.type))return;const y=P.children.filter(he=>he.type!=="componentContainerSection");if(y.length!==1)return;const D=y[0];if(D.type!=="paragraph")return;const re=P.children.indexOf(D);P.children.splice(re,1,...D?.children||[])},i=P=>{e.attributes?.yamlCodeBlock&&n(P),e.autoUnwrap&&r(P,typeof e.autoUnwrap=="boolean"?{}:e.autoUnwrap)},u={componentContainer:l,componentContainerSection:f,componentContainerDataSection:m,componentContainerAttributes:F,componentContainerLabel:S,bindingContent:a,componentLeaf:A,componentLeafAttributes:F,componentText:k,textSpan:T,componentTextAttributes:F},s={bindingContent:o,componentContainerSectionTitle:p,listUnordered:X,listOrdered:X,listItem:X,componentContainerSection:d,componentContainerDataSection:E,componentContainer:h,componentContainerAttributeClassValue:N,componentContainerAttributeIdValue:Y,componentContainerAttributeName:z,componentContainerAttributeValue:U,componentContainerAttributes:j,componentContainerLabel:q,componentContainerName:O,componentContainerAttributeInitializerMarker(){const P=this.data.componentAttributes;P[P.length-1][1]=""},componentLeaf:Z,componentLeafAttributeClassValue:N,componentLeafAttributeIdValue:Y,componentLeafAttributeName:z,componentLeafAttributeValue:U,componentLeafAttributes:j,componentLeafName:M,componentText:Z,textSpan:Z,componentTextAttributeClassValue:N,componentTextAttributeIdValue:Y,componentTextAttributeName:z,componentTextAttributeValue:U,componentTextAttributes:j,componentTextName:O};function a(P){const y=/([^|]*)(?:\|\|\s*'(.*)')?/.exec(this.sliceSerialize(P));this.enter({type:"textComponent",name:"binding",attributes:{value:y?.[1]?.trim(),defaultValue:y?.[2]}},P)}function o(P){this.exit(P)}function l(P){I.call(this,"containerComponent",P)}function h(P){const K=this.stack[this.stack.length-1];if(K.children.length>1){const y=K.children.find(D=>D.rawData);K.rawData=y?.rawData}i(K),K.children=K.children.flatMap(y=>y.rawData?[]:y.name==="default"&&Object.keys(y.attributes).length===0||!y.name?(y.mdc?.unwrapped&&(K.mdc=K.mdc||{}
179,K.mdc.unwrapped=y.mdc?.unwrapped),y.children):(y.data={hName:"component-slot",hProperties:{...y.attributes,[`v-slot:${y.name}`]:""}},y)),this.exit(P)}function f(P){I.call(this,"componentContainerSection",P)}function m(P){I.call(this,"componentContainerDataSection",P)}function d(P){const K=this.stack[this.stack.length-1];B.call(this,K),i(K),this.exit(P)}function E(P){let K=this.stack[this.stack.length-1];K=B.call(this,K),K.type==="componentContainerDataSection"&&(K.rawData=this.sliceSerialize(P),this.exit(P))}function p(P){this.stack[this.stack.length-1].name=this.sliceSerialize(P)?.trim()}function A(P){I.call(this,"leafComponent",P)}function T(P){this.enter({type:"textComponent",name:"span",attributes:{},children:[]},P)}function k(P){I.call(this,"textComponent",P)}function I(P,K){this.enter({type:P,name:"",attributes:{},children:[]},K)}function O(P){this.stack[this.stack.length-1].name=mn(this.sliceSerialize(P))}function M(P){this.stack[this.stack.length-1].name=this.sliceSerialize(P)}function S(P){this.enter({type:"paragraph",data:{componentLabel:!0},children:[]},P)}function q(P){this.exit(P)}function F(){this.data.componentAttributes=[],this.buffer()}function Y(P){this.data.componentAttributes.push(["id",Ur(this.sliceSerialize(P))])}function N(P){this.data.componentAttributes.push(["class",Ur(this.sliceSerialize(P))])}function U(P){const K=this.data.componentAttributes,y=K[K.length-1];y[1]=(typeof y[1]=="string"?y[1]:"")+Ur(this.sliceSerialize(P))}function z(P){this.data.componentAttributes.push([this.sliceSerialize(P),!0])}function j(){const P=this.data.componentAttributes,K={};let y=-1,D;for(;++y<P.length;){D=P[y];const he=mn(D[0]);he==="class"&&K.class?K.class+=" "+D[1]:K[he]=D[1]}this.data.componentAttributes=P,this.resume();let re=this.stack[this.stack.length-1];if(re?.type!=="textComponent"||re?.name==="span")for(;!re?.position?.end&&re.children?.length>0;)re=re.children[re.children.length-1];re.attributes=e.attributes?.preserveOrder?{__order__:{type:"map",value:P},...K}:K}function Z(P){this.exit(P)}function X(P){const[K]=this.tokenStack[this.tokenStack.length-1];K.type===P.type&&this.exit(P)}function B(P){for(;P.type==="listItem"||P.type==="list";){const[K]=this.tokenStack[this.tokenStack.length-1];this.exit(K),P=this.stack[this.stack.length-1]}return P}return{canContainEols:t,enter:u,exit:s}},Cm=2,_m=3,ts=35,Dm=1,w={EOF:null,space:32,quotationMark:34,hash:35,apostrophe:39,openingParentheses:40,star:42,dash:45,dot:46,colon:58,LessThan:60,equals:61,greaterThan:62,uppercaseX:88,openingSquareBracket:91,backSlash:92,closingSquareBracket:93,underscore:95,backTick:96,lowercaseX:120,openingCurlyBracket:123,closingCurlyBracket:125,tilde:126};function Vi(e,t,n,r,i,u,s){let a=0,o=0;return l;function l(p){if(p!==w.openingSquareBracket)throw new Error("expected `[`");return e.enter(r),e.enter(i),e.consume(p),e.exit(i),h}function h(p){return p===w.closingSquareBracket?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(u),f(p))}function f(p){return p===w.EOF||a>999?n(p):p===w.closingSquareBracket&&!o--?d(p):V(p)?s?n(p):(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkText",{contentType:"text"}),m(p))}function m(p){return p===w.EOF||V(p)||a>999?(e.exit("chunkText"),f(p)):p===w.openingSquareBracket&&++o>3?n(p):p===w.closingSquareBracket&&!o--?(e.exit("chunkText"),d(p)):(e.consume(p),p===w.backSlash?E:m)}function d(p){return e.exit(u),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t}function E(p){return p===w.openingSquareBracket||p===w.backSlash||p===w.closingSquareBracket?(e.consume(p),a++,m):m(p)}}const ym={tokenize:Nm,partial:!0},Sm={tokenize:Om,partial:!0},km={tokenize:Lm,partial:!0};function Im(e,t,n){const r=this;return i;function i(o){if(o!==w.openingSquareBracket)throw new Error("expected `[`");return r.previous===w.EOF&&r._gfmTasklistFirstContentOfListItem?e.check(Sm,n,u)(o):r.previous===w.openingSquareBracket?n(o):e.check(km,n,u)(o)}function u(o){return e.enter("textSpan"),e.attempt(ym,s,n)(o)}function s(o){return o===w.openingParentheses||o===w.openingSquareBracket?n(o):a(o)}function a(o){return e.exit("textSpan"),t(o)}}function Nm(e,t,n){return Vi(e,t,n,"componentTextLabel","componentTextLabelMarker","componentTextLabelString")}const xm={tokenize:Im};
179function Om(e,t,n){return r;function r(u){return e.enter("formGfmTaskCheckbox"),e.consume(u),i}function i(u){return W(u)||u===w.uppercaseX||u===w.lowercaseX?(e.consume(u),i):u===w.closingSquareBracket?(e.exit("formGfmTaskCheckbox"),t(u)):n(u)}}function Lm(e,t,n){return r;function r(u){return e.enter("doubleBracket"),e.consume(u),i}function i(u){return u!==w.openingSquareBracket?n(u):(e.exit("doubleBracket"),t(u))}}function Qi(e,t,n,r,i,u,s,a,o,l,h,f,m,d,E){let p,A,T=!1;return k;function k(y){return e.enter(r),e.enter(i),e.consume(y),e.exit(i),I}function I(y){return y===w.hash?(p=s,O(y)):y===w.dot?(p=a,O(y)):y===w.colon||y===w.underscore||pe(y)?(e.enter(u),e.enter(o),e.consume(y),T=y===w.colon,y===w.colon?q:Y):E&&W(y)?Q(e,I,"whitespace")(y):!E&&te(y)?Ue(e,I)(y):K(y)}function O(y){return e.enter(u),e.enter(p),e.enter(p+"Marker"),e.consume(y),e.exit(p+"Marker"),M}function M(y){return y===w.EOF||y===w.quotationMark||y===w.hash||y===w.apostrophe||y===w.dot||y===w.LessThan||y===w.equals||y===w.greaterThan||y===w.backTick||y===w.closingCurlyBracket||te(y)?n(y):(e.enter(p+"Value"),e.consume(y),S)}function S(y){return y===w.EOF||y===w.quotationMark||y===w.apostrophe||y===w.LessThan||y===w.equals||y===w.greaterThan||y===w.backTick?n(y):y===w.dot||y===w.closingCurlyBracket||te(y)?(e.exit(p+"Value"),e.exit(p),e.exit(u),I(y)):(e.consume(y),S)}function q(y){return y===w.dash||de(y)?(e.consume(y),q):(e.exit(o),E&&W(y)?Q(e,F,"whitespace")(y):!E&&te(y)?Ue(e,F)(y):F(y))}function F(y){return y===w.equals?(e.enter(l),e.consume(y),e.exit(l),U):(e.exit(u),n(y))}function Y(y){return y===w.dash||y===w.dot||y===w.colon||y===w.underscore||de(y)?(e.consume(y),Y):(e.exit(o),E&&W(y)?Q(e,N,"whitespace")(y):!E&&te(y)?Ue(e,N)(y):N(y))}function N(y){return y===w.equals?(e.enter(l),e.consume(y),e.exit(l),U):(e.exit(u),I(y))}function U(y){return y===w.EOF||y===w.LessThan||y===w.equals||y===w.greaterThan||y===w.backTick||y===w.closingCurlyBracket||E&&V(y)?n(y):y===w.quotationMark||y===w.apostrophe?(e.enter(h),e.enter(m),e.consume(y),e.exit(m),A=y,j):E&&W(y)?Q(e,U,"whitespace")(y):!E&&te(y)?Ue(e,U)(y):(e.enter(f),e.enter(d),e.consume(y),A=void 0,z)}function z(y){return y===w.EOF||y===w.quotationMark||y===w.apostrophe||y===w.LessThan||y===w.equals||y===w.greaterThan||y===w.backTick?n(y):y===w.closingCurlyBracket||te(y)?(e.exit(d),e.exit(f),e.exit(u),I(y)):(e.consume(y),z)}function j(y){return y===A?(e.enter(m),e.consume(y),e.exit(m),e.exit(h),e.exit(u),P):(e.enter(f),Z(y))}function Z(y){return y===A?(e.exit(f),j(y)):y===w.EOF?n(y):V(y)?E?n(y):Ue(e,Z)(y):(e.enter(d),e.consume(y),X)}function X(y){return T&&y===w.backSlash?(e.exit(d),e.exit(f),e.enter("escapeCharacter"),e.consume(y),e.exit("escapeCharacter"),e.enter(f),e.enter(d),B):y===A||y===w.EOF||V(y)?(e.exit(d),Z(y)):(e.consume(y),X)}function B(y){return e.consume(y),X}function P(y){return y===w.closingCurlyBracket||te(y)?I(y):K(y)}function K(y){return y===w.closingCurlyBracket?(e.enter(i),e.consume(y),e.exit(i),e.exit(r),t):n(y)}}const Fm={tokenize:Bm,partial:!0},wm=["textSpan","attentionSequence","codeText","link","image"];function Rm(e,t,n){const r=this;return i;function i(u){if(u!==w.openingCurlyBracket)throw new Error("expected `{`");const s=r.events[r.events.length-1];return V(r.previous)||!s||!wm.includes(s[1].type)?n(u):e.attempt(Fm,t,n)(u)}}function Bm(e,t,n){return Qi(e,t,n,"componentTextAttributes","componentTextAttributesMarker","componentTextAttribute","componentTextAttributeId","componentTextAttributeClass","componentTextAttributeName","componentTextAttributeInitializerMarker","componentTextAttributeValueLiteral","componentTextAttributeValue","componentTextAttributeValueMarker","componentTextAttributeValueData")}const Pm={tokenize:Rm};function Mm(e,t,n){return r;function r(u){return u!==w.closingCurlyBracket?n(u):(e.exit("bindingContent"),e.enter("bindingFence"),e.consume(u),i)}function i(u){return u!==w.closingCurlyBracket?n(u):(e.consume(u),e.exit("bindingFence"),t)}}function Um(e,t,n){return r;function r(a){if(a!==w.openingCurlyBracket)throw new Error("expected `{`");return e.enter("bindingFence"),e.consume(a),i}function i(a){return a!==w.openingCurlyBracket?n(a):(e.consume(a),e.exit("bindingFence"),e.enter("bindingContent"),u)}function u(a){return a===w.closingCurlyBracket?e.attempt({tokenize:Mm,partial:!0},s,o=>(e.consume(o),u))(a):(e.consume(a),u)}function s(a){return t(a)}}const Hm={tokenize:Um};function to(e,t,n,r){const i=this;return u;function u(a){return pe(a)?(e.enter(r),e.consume(a),s):n(a)}function s(a){return a===w.dash||a===w.underscore||de(a)?(e.consume(a),s):(e.exit(r),i.previous===w.underscore?n(a):t(a))}}const ns={tokenize:zm,partial:!0},rs={tokenize:qm,partial:!0};function no(e){return e!==w.colon||this.events[this.events.length-1]?.[1]?.type==="characterEscape"}function vm(e,t,n){const r=this;return i;function i(l){if(l!==w.colon)throw new Error("expected `:`");if(r.previous!==null&&!te(r.previous)&&![w.openingSquareBracket,w.star,w.underscore,w.openingParentheses].includes(r.previous))return n(l);if(!no.call(r,r.previous))throw new Error("expected correct previous");return e.enter("componentText"),e.enter("componentTextMarker"),e.consume(l),e.exit("componentTextMarker"),to.call(r,e,u,n,"componentTextName")}function u(l){return l===w.colon?n(l):l===w.openingSquareBracket?e.attempt(ns,a,a)(l):l===w.openingCurlyBracket?e.attempt(rs,s,s)(l):o(l)}function s(l){return l===w.openingSquareBracket?e.attempt(ns,a,a)(l):o(l)}function a(l){return l===w.openingCurlyBracket?e.attempt(rs,o,o)(l):o(l)}function o(l){return e.exit("componentText"),t(l)}}function zm(e,t,n){return Vi(e,t,n,"componentTextLabel","componentTextLabelMarker","componentTextLabelString")}function qm(e,t,n){return Qi(e,t,n,"componentTextAttributes","componentTextAttributesMarker","componentTextAttribute","componentTextAttributeId","componentTextAttributeClass","componentTextAttributeName","componentTextAttributeInitializerMarker","componentTextAttributeValueLiteral","componentTextAttributeValue","componentTextAttributeValueMarker","componentTextAttributeValueData")}const ro={tokenize:vm,previous:no};function io(e){let t=-1,n=0;for(;++t<e.length;
179)n+=typeof e[t]=="string"?e[t].length:1;return n}function $m(e,t){const n=e[e.length-1];return!n||n[1].type!==t?0:io(n[2].sliceStream(n[1]))}function di(e){let t=0,n=e.length-1,r=e[n];for(;n>=0&&r&&r[1].type==="linePrefix"&&r[0]==="exit";)t+=io(r[2].sliceStream(r[1])),n-=1,r=e[n];return t}const Ym=e=>{const t={isOpen:!1,enter:n=>{const r=t.isOpen;return t.exit(n),n.enter(e),t.isOpen=!0,()=>{t.isOpen=r}},enterOnce:n=>{const r=t.isOpen;return t.isOpen||(n.enter(e),t.isOpen=!0),()=>{t.isOpen=r}},exit:n=>{const r=t.isOpen;return t.isOpen&&(n.exit(e),t.isOpen=!1),()=>{t.isOpen=r}}};return t},jm={tokenize:Km,partial:!0};function Km(e,t,n){let r=0;return i;function i(s){return e.enter("codeFenced"),u(s)}function u(s){return s===w.backTick||s===w.tilde?(r++,e.consume(s),u):(e.exit("codeFenced"),r>=3?t(s):n(s))}}function Vm(e,t,n,r,i){let u;return e.attempt({tokenize:s,partial:!0},a,r);function s(f,m,d){const E=this;let p=0,A=0;return k;function T(O){return W(O)?(f.consume(O),A+=1,T):(f.exit("space"),k(O))}function k(O){return W(O)?(f.enter("space"),T(O)):(A===0&&(A=di(E.events)),f.enter("componentContainerSectionSequence"),I(O))}function I(O){return O===w.dash||W(O)?(f.consume(O),p++,I):p<_m||A!==i||!V(O)?d(O):(f.exit("componentContainerSectionSequence"),Q(f,m,"whitespace")(O))}}function a(f){return e.enter("componentContainerDataSection"),e.attempt({tokenize:s,partial:!0},h,o)(f)}function o(f){if(f===null)return e.exit("componentContainerDataSection"),e.exit("componentContainer"),t(f);const m=e.enter("chunkDocument",{contentType:"document",previous:u});return u&&(u.next=m),u=m,l(f)}function l(f){return f===null?(e.exit("chunkDocument"),e.exit("componentContainerDataSection"),e.exit("componentContainer"),t(f)):V(f)?(e.consume(f),e.exit("chunkDocument"),e.attempt({tokenize:s,partial:!0},h,o)):(e.consume(f),l)}function h(f){return e.exit("componentContainerDataSection"),Q(e,r,"whitespace")(f)}}const Qm={tokenize:Gm,partial:!0},Hr={tokenize:Xm,partial:!0};function Wm(e,t,n){const r=this,i=di(this.events);let u=0,s;const a=[];let o=!0,l=!1,h=0,f=!1;const m=Ym("componentContainerSection");return d;function d(B){if(B!==w.colon)throw new Error("expected `:`");return e.enter("componentContainer"),e.enter("componentContainerFence"),e.enter("componentContainerSequence"),T(B)}function E(B,P,K){let y=0,D=0,re;return he;function he(ae){return D=di(r.events),re=m.exit(B),B.enter("componentContainerSectionSequence"),_(ae)}function _(ae){return ae===ts?(B.consume(ae),y++,_):y!==Dm||D!==i||!pe(ae)?(re(),K(ae)):(B.exit("componentContainerSectionSequence"),Q(B,P,"whitespace")(ae))}}function p(B){return m.enter(e),V(B)?Q(e,N,"whitespace")(B):(e.enter("componentContainerSectionTitle"),A(B))}function A(B){return B===w.openingCurlyBracket?e.check(Hr,P=>(e.exit("componentContainerSectionTitle"),e.attempt(Hr,Q(e,N,"linePrefix",4),n)(P)),P=>(e.consume(P),A))(B):V(B)?(e.exit("componentContainerSectionTitle"),Q(e,N,"linePrefix",4)(B)):(e.consume(B),A)}function T(B){return B===w.colon?(e.consume(B),u++,T):u<Cm?n(B):(e.exit("componentContainerSequence"),to.call(r,e,k,n,"componentContainerName")(B))}function k(B){return B===w.openingSquareBracket?e.attempt(Qm,I,I)(B):I(B)}function I(B){return B===w.openingCurlyBracket?e.attempt(Hr,O,O)(B):O(B)}function O(B){return Q(e,M,"whitespace")(B)}function M(B){return e.exit("componentContainerFence"),B===null?(e.exit("componentContainer"),t(B)):V(B)?(e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),r.interrupt?t:S):n(B)}function S(B){return B===null?(e.exit("componentContainer"),t(B)):o&&(B===w.dash||W(B))?(o=!1,Vm(e,t,n,S,i)(B)):(e.enter("componentContainerContent"),N(B))}function q(B){return B===null?j(B):B===w.backTick?e.check(jm,P=>(f=!f,U(P)),U)(B):f?U(B):!a.length&&(B===ts||B===w.space)?e.attempt({tokenize:E,partial:!0},p,U)(B):B===w.colon?e.attempt({tokenize:Z,partial:!0},j,U)(B):U(B)}function F(B){return h?Q(e,q,"linePrefix",h+1)(B):q(B)}function Y(B){return h?Q(e,q,"linePrefix",h+1)(B):e.check({tokenize:X,partial:!0},F,q)(B)}function N(B){if(B===null)return j(B);let P=F;return l&&(P=Y),l=V(B),i>0?Q(e,P,"linePrefix",i+1)(B):P(B)}function U(B){if(B===null)return j(B);m.enterOnce(e);const P=e.enter("chunkDocument",{contentType:"document",previous:s});return s&&(s.next=P),s=P,z(B)}function z(B){return B===null?(e.exit("chunkDocument"),j(B)):V(B)?(e.consume(B),e.exit("chunkDocument"),N):(e.consume(B),z)}function j(B){return m.exit(e),e.exit("componentContainerContent"),e.exit("componentContainer"),t(B)}function Z(B,P,K){let y=0;return Q(B,D,"linePrefix",4);function D(_){return B.enter("componentContainerFence"),B.enter("componentContainerSequence"),re(_)}function re(_){return _===w.colon?(B.consume(_),y++,re):a.length?(y===a[a.length-1]&&a.pop(),K(_)):y!==u?K(_):(B.exit("componentContainerSequence"),Q(B,he,"whitespace")(_))}function he(_){return _===null||V(_)?(B.exit("componentContainerFence"),P(_)):(a.push(y),K(_))}}function X(B,P,K){let y=0;function D(_){return _!==w.space?K(_):re(_)}
179function re(_){return B.enter("linePrefix"),_===w.space?(B.consume(_),y+=1,re):he(_)}return D;function he(_){return _===w.colon&&y>0?(h=y,P(_)):V(_)?(l=!1,h=0,P(_)):K(_)}}}function Gm(e,t,n){return Vi(e,t,n,"componentContainerLabel","componentContainerLabelMarker","componentContainerLabelString",!0)}function Xm(e,t,n){return Qi(e,t,n,"componentContainerAttributes","componentContainerAttributesMarker","componentContainerAttribute","componentContainerAttributeId","componentContainerAttributeClass","componentContainerAttributeName","componentContainerAttributeInitializerMarker","componentContainerAttributeValueLiteral","componentContainerAttributeValue","componentContainerAttributeValueMarker","componentContainerAttributeValueData",!0)}const uo={tokenize:Wm,concrete:!0};function Jm(e,t,n){const r=this;return Q(e,i,"linePrefix");function i(u){if($m(r.events,"linePrefix")<4)return n(u);switch(u){case w.backTick:return ti.tokenize.call(r,e,t,n)(u);case w.colon:return uo.tokenize.call(r,e,t,n)(u);default:return n(u)}}}const vr={tokenize:Jm};function Zm(e,t,n){const r=this,i=ro.tokenize.call(r,e,Q(e,s,"linePrefix"),n);return Q(e,u,"linePrefix");function u(a){return a===w.colon?i(a):n(a)}function s(a){return V(a)||a===w.EOF?t(a):n(a)}}const ep={tokenize:Zm};function tp(){return{text:{[w.colon]:ro,[w.openingSquareBracket]:[xm],[w.openingCurlyBracket]:[Hm,Pm]},flow:{[w.colon]:[uo,ep]},flowInitial:{"-2":vr,"-1":vr,[w.space]:vr}}}const np=e=>`---
180${e}
181---`,rp=(function(t={}){const n=this.data();t.autoUnwrap===void 0&&t.experimental?.autoUnwrap&&(t.autoUnwrap=t.experimental.autoUnwrap?{safeTypes:[]}:!1),t.attributes||={},t.attributes.maxLength=t.attributes.maxLength??t.maxAttributesLength??80,t.attributes.yamlCodeBlock=t.attributes.yamlCodeBlock??t.yamlCodeBlockProps??t.experimental?.componentCodeBlockYamlProps??!1,r("micromarkExtensions",tp()),r("fromMarkdownExtensions",Am(t)),r("toMarkdownExtensions",Tm(t));function r(i,u){n[i]||(n[i]=[]),n[i].push(u)}return t?.components?.length?async(i,{data:u})=>{const s=[];return He(i,["textComponent","leafComponent","containerComponent"],a=>{is(a,t.frontmatter);const{instance:o,options:l}=t.components.find(h=>h.name===a.name)||{};o&&s.push(o(l)(a,u))}),await Promise.all(s),i}:i=>{He(i,["textComponent","leafComponent","containerComponent"],u=>{is(u,t.frontmatter)})}});function is(e,t){const n=e.data||(e.data={});e.fmAttributes=ip(e,t),n.hName=mn(e.name),n.hProperties=up({...e.attributes,...e.fmAttributes})}function ip(e,t){if(e.rawData){const n=e.rawData.replace(/\s-+$/,""),{data:r}=Za(np(n),t);return r}return{}}function up(e){const t=Object.entries(e).map(([n,r])=>n.startsWith(":")?[n,r]:typeof r=="string"?[n,r]:[`:${n}`,JSON.stringify(r)]);return Object.fromEntries(t)}const us=async(e,t={})=>{const n=Object.entries(t).filter(r=>r[1]!==!1);for(const r of n){const i=r[1].instance||await import(r[0]).then(u=>u.default||u);e.use(i,r[1].options)}};function ss(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function sp(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ap(e,t,n){const i=ar((n||{}).ignore||[]),u=op(t);let s=-1;for(;++s<u.length;)Js(e,"text",a);function a(l,h){let f=-1,m;for(;++f<h.length;){const d=h[f],E=m?m.children:void 0;if(i(d,E?E.indexOf(d):void 0,m))return;m=d}if(m)return o(l,h)}function o(l,h){const f=h[h.length-1],m=u[s][0],d=u[s][1];let E=0;const A=f.children.indexOf(l);let T=!1,k=[];m.lastIndex=0;let I=m.exec(l.value);for(;I;){const O=I.index,M={index:I.index,input:I.input,stack:[...h,l]};let S=d(...I,M);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?m.lastIndex=O+1:(E!==O&&k.push({type:"text",value:l.value.slice(E,O)}),Array.isArray(S)?k.push(...S):S&&k.push(S),E=O+I[0].length,T=!0),!m.global)break;I=m.exec(l.value)}return T?(E<l.value.length&&k.push({type:"text",value:l.value.slice(E)}),f.children.splice(A,1,...k)):k=[l],A+k.length}}function op(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([cp(i[0]),lp(i[1])])}return t}function cp(e){return typeof e=="string"?new RegExp(sp(e),"g"):e}function lp(e){return typeof e=="function"?e:function(){return e}}const zr="phrasing",qr=["autolink","link","image","label"];function fp(){return{transforms:[bp],enter:{literalAutolink:dp,literalAutolinkEmail:$r,literalAutolinkHttp:$r,literalAutolinkWww:$r},exit:{literalAutolink:gp,literalAutolinkEmail:Ep,literalAutolinkHttp:mp,literalAutolinkWww:pp}}}function hp(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zr,notInConstruct:qr},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zr,notInConstruct:qr},{character:":",before:"[ps]",after:"\\/",inConstruct:zr,notInConstruct:qr}]}}function dp(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function $r(e){this.config.enter.autolinkProtocol.call(this,e)}function mp(e){this.config.exit.autolinkProtocol.call(this,e)}function pp(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Ep(e){this.config.exit.autolinkEmail.call(this,e)}function gp(e){this.exit(e)}function bp(e){ap(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Tp],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S}
181)([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Ap]],{ignore:["link","linkReference"]})}function Tp(e,t,n,r,i){let u="";if(!so(i)||(/^w/i.test(t)&&(n=t+n,t="",u="http://"),!Cp(n)))return!1;const s=_p(n+r);if(!s[0])return!1;const a={type:"link",title:null,url:u+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function Ap(e,t,n,r){return!so(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Cp(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function _p(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=ss(e,"(");let u=ss(e,")");for(;r!==-1&&i>u;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),u++;return[e,n]}function so(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||pt(n)||rr(n))&&(!t||n!==47)}ao.peek=Lp;function Dp(){this.buffer()}function yp(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Sp(){this.buffer()}function kp(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ip(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=we(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Np(e){this.exit(e)}function xp(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=we(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Op(e){this.exit(e)}function Lp(){return"["}function ao(e,t,n,r){const i=n.createTracker(r);let u=i.move("[^");const s=n.enter("footnoteReference"),a=n.enter("reference");return u+=i.move(n.safe(n.associationId(e),{after:"]",before:u})),a(),s(),u+=i.move("]"),u}function Fp(){return{enter:{gfmFootnoteCallString:Dp,gfmFootnoteCall:yp,gfmFootnoteDefinitionLabelString:Sp,gfmFootnoteDefinition:kp},exit:{gfmFootnoteCallString:Ip,gfmFootnoteCall:Np,gfmFootnoteDefinitionLabelString:xp,gfmFootnoteDefinition:Op}}}function wp(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:ao},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,u,s){const a=u.createTracker(s);let o=a.move("[^");const l=u.enter("footnoteDefinition"),h=u.enter("label");return o+=a.move(u.safe(u.associationId(r),{before:o,after:"]"})),h(),o+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),o+=a.move((t?`
182`:" ")+u.indentLines(u.containerFlow(r,a.current()),t?oo:Rp))),l(),o}}function Rp(e,t,n){return t===0?e:oo(e,t,n)}function oo(e,t,n){return(n?"":"    ")+e}const Bp=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];co.peek=vp;function Pp(){return{canContainEols:["delete"],enter:{strikethrough:Up},exit:{strikethrough:Hp}}}function Mp(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Bp}],handlers:{delete:co}}}function Up(e){this.enter({type:"delete",children:[]},e)}function Hp(e){this.exit(e)}function co(e,t,n,r){const i=n.createTracker(r),u=n.enter("strikethrough");let s=i.move("~~");return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),u(),s}function vp(){return"~"}function zp(e){return e.length}function qp(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||zp,u=[],s=[],a=[],o=[];let l=0,h=-1;for(;++h<e.length;){const p=[],A=[];let T=-1;for(e[h].length>l&&(l=e[h].length);++T<e[h].length;){const k=$p(e[h][T]);if(n.alignDelimiters!==!1){const I=i(k);A[T]=I,(o[T]===void 0||I>o[T])&&(o[T]=I)}p.push(k)}s[h]=p,a[h]=A}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<l;)u[f]=as(r[f]);else{const p=as(r);for(;++f<l;)u[f]=p}f=-1;const m=[],d=[];for(;++f<l;){const p=u[f];let A="",T="";p===99?(A=":",T=":"):p===108?A=":":p===114&&(T=":");let k=n.alignDelimiters===!1?1:Math.max(1,o[f]-A.length-T.length);const I=A+"-".repeat(k)+T;n.alignDelimiters!==!1&&(k=A.length+k+T.length,k>o[f]&&(o[f]=k),d[f]=k),m[f]=I}s.splice(1,0,m),a.splice(1,0,d),h=-1;const E=[];for(;++h<s.length;){const p=s[h],A=a[h];f=-1;const T=[];for(;++f<l;){const k=p[f]||"";let I="",O="";if(n.alignDelimiters!==!1){const M=o[f]-(A[f]||0),S=u[f];S===114?I=" ".repeat(M):S===99?M%2?(I=" ".repeat(M/2+.5),O=" ".repeat(M/2-.5)):(I=" ".repeat(M/2),O=I):O=" ".repeat(M)}n.delimiterStart!==!1&&!f&&T.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&k==="")&&(n.delimiterStart!==!1||f)&&T.push(" "),n.alignDelimiters!==!1&&T.push(I),T.push(k),n.alignDelimiters!==!1&&T.push(O),n.padding!==!1&&T.push(" "),(n.delimiterEnd!==!1||f!==l-1)&&T.push("|")}E.push(n.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return E.join(`
183`)}function $p(e){return e==null?"":String(e)}function as(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Yp(){return{enter:{table:jp,tableData:os,tableHeader:os,tableRow:Vp},exit:{codeText:Qp,table:Kp,tableData:Yr,tableHeader:Yr,tableRow:Yr}}}function jp(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Kp(e){this.exit(e),this.data.inTable=void 0}function Vp(e){this.enter({type:"tableRow",children:[]},e)}function Yr(e){this.exit(e)}function os(e){this.enter({type:"tableCell",children:[]},e)}function Qp(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Wp));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Wp(e,t){return t==="|"?t:e}function Gp(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
184`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:s,tableCell:o,tableRow:a}};function s(d,E,p,A){return l(h(d,p,A),d.align)}function a(d,E,p,A){const T=f(d,p,A),k=l([T]);return k.slice(0,k.indexOf(`
185`))}function o(d,E,p,A){const T=p.enter("tableCell"),k=p.enter("phrasing"),I=p.containerPhrasing(d,{...A,before:u,after:u});return k(),T(),I}function l(d,E){return qp(d,{align:E,alignDelimiters:r,padding:n,stringLength:i})}function h(d,E,p){const A=d.children;let T=-1;const k=[],I=E.enter("table");for(;++T<A.length;)k[T]=f(A[T],E,p);return I(),k}function f(d,E,p){const A=d.children;let T=-1;const k=[],I=E.enter("tableRow");for(;++T<A.length;)k[T]=o(A[T],d,E,p);return I(),k}function m(d,E,p){let A=tt.inlineCode(d,E,p);return p.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function Xp(){return{exit:{taskListCheckValueChecked:cs,taskListCheckValueUnchecked:cs,paragraph:Zp}}}function Jp(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:e1}}}function cs(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Zp(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let u=-1,s;for(;++u<i.length;){const a=i[u];if(a.type==="paragraph"){s=a;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function e1(e,t,n,r){const i=e.children[0],u=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);u&&a.move(s);let o=tt.listItem(e,t,n,{...r,...a.current()});return u&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),o;function l(h){return h+s}}function t1(){return[fp(),Fp(),Pp(),Yp(),Xp()]}function n1(e){return{extensions:[hp(),wp(e),Mp(),Gp(e),Jp()]}}const r1={tokenize:c1,partial:!0},lo={tokenize:l1,partial:!0},fo={tokenize:f1,partial:!0},ho={tokenize:h1,partial:!0},i1={tokenize:d1,partial:!0},mo={name:"wwwAutolink",tokenize:a1,previous:Eo},po={name:"protocolAutolink",tokenize:o1,previous:go},We={name:"emailAutolink",tokenize:s1,previous:bo},ze={};function u1(){return{text:ze}}let ct=48;for(;ct<123;)ze[ct]=We,ct++,ct===58?ct=65:ct===91&&(ct=97);ze[43]=We;ze[45]=We;ze[46]=We;ze[95]=We;ze[72]=[We,po];ze[104]=[We,po];ze[87]=[We,mo];ze[119]=[We,mo];function s1(e,t,n){const r=this;let i,u;return s;function s(f){return!mi(f)||!bo.call(r,r.previous)||Wi(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return mi(f)?(e.consume(f),a):f===64?(e.consume(f),o):n(f)}function o(f){return f===46?e.check(i1,h,l)(f):f===45||f===95||de(f)?(u=!0,e.consume(f),o):h(f)}function l(f){return e.consume(f),i=!0,o}function h(f){return u&&i&&pe(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function a1(e,t,n){const r=this;return i;function i(s){return s!==87&&s!==119||!Eo.call(r,r.previous)||Wi(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(r1,e.attempt(lo,e.attempt(fo,u),n),n)(s))}function u(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function o1(e,t,n){const r=this;let i="",u=!1;return s;function s(f){return(f===72||f===104)&&go.call(r,r.previous)&&!Wi(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(pe(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){const m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(f),o}return n(f)}function o(f){return f===47?(e.consume(f),u?l:(u=!0,o)):n(f)}function l(f){return f===null||Kn(f)||te(f)||pt(f)||rr(f)?n(f):e.attempt(lo,e.attempt(fo,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function c1(e,t,n){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),i):s===46&&r===3?(e.consume(s),u):n(s)}function u(s){return s===null?n(s):t(s)}}function l1(e,t,n){let r,i,u;return s;function s(l){return l===46||l===95?e.check(ho,o,a)(l):l===null||te(l)||pt(l)||l!==45&&rr(l)?o(l):(u=!0,e.consume(l),s)}function a(l){return l===95?r=!0:(i=r,r=void 0),e.consume(l),s}function o(l){return i||r||!u?n(l):t(l)}}function f1(e,t){let n=0,r=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&r<n?u(s):s===33||s===34||s===38||s===39||s===4
vendor: 6,132 bytes, line 185
1851||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(ho,t,u)(s):s===null||te(s)||pt(s)?t(s):(e.consume(s),i)}function u(s){return s===41&&r++,e.consume(s),i}}function h1(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),u):a===93?(e.consume(a),i):a===60||a===null||te(a)||pt(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||te(a)||pt(a)?t(a):r(a)}function u(a){return pe(a)?s(a):n(a)}function s(a){return a===59?(e.consume(a),r):pe(a)?(e.consume(a),s):n(a)}}function d1(e,t,n){return r;function r(u){return e.consume(u),i}function i(u){return de(u)?n(u):t(u)}}function Eo(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||te(e)}function go(e){return!pe(e)}function bo(e){return!(e===47||mi(e))}function mi(e){return e===43||e===45||e===46||e===95||de(e)}function Wi(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const m1={tokenize:_1,partial:!0};function p1(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:T1,continuation:{tokenize:A1},exit:C1}},text:{91:{name:"gfmFootnoteCall",tokenize:b1},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:E1,resolveTo:g1}}}}function E1(e,t,n){const r=this;let i=r.events.length;const u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const o=r.events[i][1];if(o.type==="labelImage"){s=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return a;function a(o){if(!s||!s._balanced)return n(o);const l=we(r.sliceSerialize({start:s.end,end:r.now()}));return l.codePointAt(0)!==94||!u.includes(l.slice(1))?n(o):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o))}}function g1(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",u,t],["enter",s,t],["exit",s,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function b1(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u=0,s;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),o}function o(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(f){if(u>999||f===93&&!s||f===null||f===91||te(f))return n(f);if(f===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return i.includes(we(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return te(f)||(s=!0),u++,e.consume(f),f===92?h:l}function h(f){return f===91||f===92||f===93?(e.consume(f),u++,l):l(f)}}function T1(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u,s=0,a;return o;function o(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(E)}function h(E){if(s>999||E===93&&!a||E===null||E===91||te(E))return n(E);if(E===93){e.exit("chunkString");const p=e.exit("gfmFootnoteDefinitionLabelString");return u=we(r.sliceSerialize(p)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return te(E)||(a=!0),s++,e.consume(E),E===92?f:h}function f(E){return E===91||E===92||E===93?(e.consume(E),s++,h):h(E)}function m(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),i.includes(u)||i.push(u),Q(e,d,"gfmFootnoteDefinitionWhitespace")):n(E)}function d(E){return t(E)}}function A1(e,t,n){return e.check(_n,t,e.attempt(m1,t,n))}function C1(e){e.exit("gfmFootnoteDefinition")}function _1(e,t,n){const r=this;return Q(e,i,"gfmFootnoteDefinitionIndent",5);function i(u){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(u):n(u)}}function D1(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,a){let o=-1;for(;++o<s.length;)if(s[o][0]==="enter"&&s[o][1].type==="strikethroughSequenceTemporary"&&s[o][1]._close){let l=o;for(;l--;)if(s[l][0]==="exit"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._open&&s[o][1].end.offset-s[o][1].start.offset===s[l][1].end.offset-s[l][1].start.offset){s[o][1].type="strikethroughSequence",s[l][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},s[l][1].start),end:Object.assign({},s[o][1].end)},f={type:"strikethroughText",start:Object.assign({},s[l][1].end),end:Object.assign({},s[o][1].start)},m=[["enter",h,a],["enter",s[l][1],a],["exit",s[l][1],a],["enter",f,a
vendor: 7,582 bytes, line 185
185]],d=a.parser.constructs.insideSpan.null;d&&ke(m,m.length,0,ir(d,s.slice(l+1,o),a)),ke(m,m.length,0,[["exit",f,a],["enter",s[o][1],a],["exit",s[o][1],a],["exit",h,a]]),ke(s,l-1,o-l+3,m),o=l+m.length-2;break}}for(o=-1;++o<s.length;)s[o][1].type==="strikethroughSequenceTemporary"&&(s[o][1].type="data");return s}function u(s,a,o){const l=this.previous,h=this.events;let f=0;return m;function m(E){return l===126&&h[h.length-1][1].type!=="characterEscape"?o(E):(s.enter("strikethroughSequenceTemporary"),d(E))}function d(E){const p=Lt(l);if(E===126)return f>1?o(E):(s.consume(E),f++,d);if(f<2&&!n)return o(E);const A=s.exit("strikethroughSequenceTemporary"),T=Lt(E);return A._open=!T||T===2&&!!p,A._close=!p||p===2&&!!T,a(E)}}}class y1{constructor(){this.map=[]}add(t,n,r){S1(this,t,n,r)}consume(t){if(this.map.sort(function(u,s){return u[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const u of i)t.push(u);i=r.pop()}this.map.length=0}}function S1(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function k1(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const u=r.length-1;r[u]=r[u]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function I1(){return{flow:{null:{name:"table",tokenize:N1,resolveAll:x1}}}}function N1(e,t,n){const r=this;let i=0,u=0,s;return a;function a(N){let U=r.events.length-1;for(;U>-1;){const Z=r.events[U][1].type;if(Z==="lineEnding"||Z==="linePrefix")U--;else break}const z=U>-1?r.events[U][1].type:null,j=z==="tableHead"||z==="tableRow"?S:o;return j===S&&r.parser.lazy[r.now().line]?n(N):j(N)}function o(N){return e.enter("tableHead"),e.enter("tableRow"),l(N)}function l(N){return N===124||(s=!0,u+=1),h(N)}function h(N){return N===null?n(N):V(N)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),d):n(N):W(N)?Q(e,h,"whitespace")(N):(u+=1,s&&(s=!1,i+=1),N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),s=!0,h):(e.enter("data"),f(N)))}function f(N){return N===null||N===124||te(N)?(e.exit("data"),h(N)):(e.consume(N),N===92?m:f)}function m(N){return N===92||N===124?(e.consume(N),f):f(N)}function d(N){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(N):(e.enter("tableDelimiterRow"),s=!1,W(N)?Q(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):E(N))}function E(N){return N===45||N===58?A(N):N===124?(s=!0,e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),p):M(N)}function p(N){return W(N)?Q(e,A,"whitespace")(N):A(N)}function A(N){return N===58?(u+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),T):N===45?(u+=1,T(N)):N===null||V(N)?O(N):M(N)}function T(N){return N===45?(e.enter("tableDelimiterFiller"),k(N)):M(N)}function k(N){return N===45?(e.consume(N),k):N===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),I):(e.exit("tableDelimiterFiller"),I(N))}function I(N){return W(N)?Q(e,O,"whitespace")(N):O(N)}function O(N){return N===124?E(N):N===null||V(N)?!s||i!==u?M(N):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(N)):M(N)}function M(N){return n(N)}function S(N){return e.enter("tableRow"),q(N)}function q(N){return N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),q):N===null||V(N)?(e.exit("tableRow"),t(N)):W(N)?Q(e,q,"whitespace")(N):(e.enter("data"),F(N))}function F(N){return N===null||N===124||te(N)?(e.exit("data"),q(N)):(e.consume(N),N===92?Y:F)}function Y(N){return N===92||N===124?(e.consume(N),F):F(N)}}function x1(e,t){let n=-1,r=!0,i=0,u=[0,0,0,0],s=[0,0,0,0],a=!1,o=0,l,h,f;const m=new y1;for(;++n<e.length;){const d=e[n],E=d[1];d[0]==="enter"?E.type==="tableHead"?(a=!1,o!==0&&(ls(m,t,o,l,h),h=void 0,o=0),l={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},m.add(n,0,[["enter",l,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,f=void 0,u=[0,0,0,0],s=[0,n+1,0,0],a&&(a=!1,h={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},m.add(n,0,[["enter",h,t]])),i=E.type==="tableDelimiterRow"?2:h?3:1):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(u[1]!==0&&(s[0]=s[1],f=Un(m,t,u,i,void 0,f),u=[0,0,0,0]),s[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(u[1]!==0&&(s[0]=s[1],f=Un(m,t,u,i,void 0,f)),u=s,s=[u[1],n,0,0])):E.type==="tableHead"?(a=!0,o=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(o=n,u[1]!==0?(s[0]=s[1],f=Un(m,t,u,i,n,f)):s[1]!==0&&(f=Un(m,t,s,i,n,f)),i=0):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(s[3]=n)}for(o!==0&&ls(m,t,o,l,h),m.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=k1(t.events,n))}return e}function Un(e,t,n,r,i,u){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(u.end=Object.assign({},yt(t.events,n[0])),e.add(n[0],0,[["exit",u,t]]));const o=yt(t.events,n[1]);if(u={type:s,start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",u,t]]),n[2]!==0){const l=yt(t.events,n[2]),h=yt(t.events,n[3]),f={type:a,start:Object.assign({},l),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const m=t.events[n[2]],d=t.events[n[3]];if(m[1].end=Object.assign({},d[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,p=n[3]-n[2]-1;e.add(E,p,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(u.end=Object.assign({},yt(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}function ls(e,t,n,r,i){const u=[],s=yt(t.events,n);i&&(i.end=Object.assign({},s),u.push(["exit",i,t])),r.end=Object.assign({},s),u.push(["exit",r,t]),e.add(n+1,0,u)}function yt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const O1={name:"tasklistCheck",tokenize:F1};function L1(){return{text:{91:O1}}}function F1(e,t,n){const r=this;return i;function i(o){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(o):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),u)}function u(o){return te(o)?(e.enter("taskListCheckValueUnchecked"),e.consume(o),e.exit("taskListCheckValueUnchecked"),s):o===88||o===120?(e.enter("taskListCheckValueChecked"),e.consume(o),e.exit("taskListCheckValueChecked"),s):n(o)}function s(o){return o===93?(e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(o)}function a(o){return V(o)?t(o):W(o)?e.check({tokenize:w1},t,n)(o):n(o)}}function w1(e,t,n){return Q(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function R1(e){return Fs([u1(),p1(),D1(e),I1(),L1()])}const B1={};function P1(e){const t=this,n=e||B1,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(R1(n)),u.push(t1()),s.push(n1(n))}const M1=(function(e,t,n,r,i){const u=Gi(t);
185return To(e)?u.call(i,e,n,r):!1}),Gi=(function(e){if(e==null)return v1;if(typeof e=="string")return H1(e);if(typeof e=="object")return U1(e);if(typeof e=="function")return Xi(e);throw new Error("Expected function, string, or array as `test`")});function U1(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Gi(e[n]);return Xi(r);function r(...i){let u=-1;for(;++u<t.length;)if(t[u].apply(this,i))return!0;return!1}}function H1(e){return Xi(t);function t(n){return n.tagName===e}}function Xi(e){return t;function t(n,r,i){return!!(To(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function v1(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function To(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const z1=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,q1=/^[a-zA-Z]:\\/;function $1(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return q1.test(e)?!1:z1.test(e)}function pi(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Y1(e){return e.join(" ").trim()}const j1=["http","https"],K1=["nofollow"],V1={};function Q1(e){const t=e||V1,n=t.protocols||j1,r=Gi(t.test);return function(i){He(i,"element",function(u,s,a){if(u.tagName==="a"&&typeof u.properties.href=="string"&&r(u,s,a)){const o=u.properties.href;if($1(o)?n.includes(o.slice(0,o.indexOf(":"))):o.startsWith("//")){const l=Xt(t.content,u),h=l&&!Array.isArray(l)?[l]:l,f=Xt(t.rel,u)||K1,m=typeof f=="string"?pi(f):f,d=Xt(t.target,u),E=Xt(t.properties,u);if(E&&Object.assign(u.properties,Ke(E)),m.length>0&&(u.properties.rel=[...m]),d&&(u.properties.target=d),h){const p=Xt(t.contentProperties,u)||{};u.children.push({type:"element",tagName:"span",properties:Ke(p),children:Ke(h)})}}}})}}function Xt(e,t){return typeof e=="function"?e(t):e}const fs={accept:"input",className:null,dropzone:null,htmlFor:"output",headers:["td","th"],itemProp:null,itemRef:null,itemType:null,ping:["a","area"],rel:["a","area","link"],sandbox:"iframe",sizes:"link"};function W1(){return function(e){const t=new Map,n=[];He(e,"element",function(u){let s;for(s in u.properties)if(Object.hasOwn(u.properties,s)){const a=u.properties[s];Object.hasOwn(fs,s)&&M1(u,fs[s])&&Array.isArray(a)&&r(s,a)}}),i();function r(u,s){let a=-1,o=t.get(u);for(o||(o=new Map,t.set(u,o));++a<s.length;){const l=s[a];o.set(l,(o.get(l)||0)+1)}n.push([u,s])}function i(){const u=new Map;for(const[a,o]of t)u.set(a,[...o.entries()].sort(function(l,h){return h[1]-l[1]||Ao(String(l[0]),String(h[0]),0)}).map(function(l){return l[0]}));let s=-1;for(;++s<n.length;){const a=n[s],o=u.get(a[0]);o&&a[1].sort(function(l,h){return o.indexOf(l)-o.indexOf(h)})}}}}function Ao(e,t,n){return(e.charCodeAt(n)||0)-(t.charCodeAt(n)||0)||Ao(e,t,n+1)}function G1(){return function(e){const t=new Map;He(e,"element",function(i){let u=t.get(i.tagName);u||(u=new Map,t.set(i.tagName,u));let s;for(s in i.properties)Object.hasOwn(i.properties,s)&&u.set(s,(u.get(s)||0)+1)});const n=r();He(e,"element",function(i){const u=n.get(i.tagName);if(u){const s=[],a={};let o=-1,l;for(l in i.properties)Object.hasOwn(i.properties,l)&&s.push(l);for(s.sort(function(h,f){return u.indexOf(h)-u.indexOf(f)});++o<s.length;)a[s[o]]=i.properties[s[o]];i.properties=a}});function r(){const i=new Map;for(const[u,s]of t.entries())i.set(u,[...s.entries()].sort(function(a,o){return o[1]-a[1]||Co(String(a[0]),String(o[0]),0)}).map(function(a){return a[0]}));return i}}}function Co(e,t,n){return(e.charCodeAt(n)||0)-(t.charCodeAt(n)||0)||Co(e,t,n+1)}function hs(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,u=!1;for(;!u;){r===-1&&(r=n.length,u=!0);const s=n.slice(i,r).trim();(s||!u)&&t.push(s),i=r+1,r=n.indexOf(",",i)}return t}function X1(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const ds=/[#.]/g;function J1(e,t){const n=e||"",r={};let i=0,u,s;for(;i<n.length;){ds.lastIndex=i;const a=ds.exec(n),o=n.slice(i,a?a.index:n.length);o&&(u?u==="#"?r.id=o:Array.isArray(r.className)?r.className.push(o):r.className=[o]:s=o,i+=o.length),a&&(u=a[0],i++)}return{type:"element",tagName:s||t||"div",properties:r,children:[]}}function _o(e,t,n){const r=n?nE(n):void 0;function i(u,s,...a){let o;if(u==null){o={type:"root",children:[]};const l=s;a.unshift(l)}else{o=J1(u,t);const l=o.tagName.toLowerCase(),h=r?r.get(l):void 0;if(o.tagName=h||l,Z1(s))a.unshift(s);else for(const[f,m]of Object.entries(s))eE(e,o.properties,f,m)}for(const l of a)Ei(o.children,l);return o.type==="element"&&o.tagName==="template"&&(o.content={type:"root",children:o.children},o.children=[]),o}return i}function Z1(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;
vendor: 16,205 bytes, lines 185-186
185if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const u=i;for(const s of u)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function eE(e,t,n,r){const i=Ci(e,n);let u;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;u=r}else typeof r=="boolean"?u=r:typeof r=="string"?i.spaceSeparated?u=pi(r):i.commaSeparated?u=hs(r):i.commaOrSpaceSeparated?u=pi(hs(r).join(" ")):u=ms(i,i.property,r):Array.isArray(r)?u=[...r]:u=i.property==="style"?tE(r):String(r);if(Array.isArray(u)){const s=[];for(const a of u)s.push(ms(i,i.property,a));u=s}i.property==="className"&&Array.isArray(t.className)&&(u=t.className.concat(u)),t[i.property]=u}}function Ei(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)Ei(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Ei(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function ms(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||cu(n)===cu(t)))return!0}return n}function tE(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function nE(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const rE=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],iE=_o(nr,"div"),uE=_o(An,"g",rE);function sE(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(u){if(typeof u=="number"&&u>-1&&u<=t.length){let s=0;for(;;){let a=n[s];if(a===void 0){const o=ps(t,n[s-1]);a=o===-1?t.length+1:o+1,n[s]=a}if(a>u)return{line:s+1,column:u-(s>0?n[s-1]:0)+1,offset:u};s++}}}function i(u){if(u&&typeof u.line=="number"&&typeof u.column=="number"&&!Number.isNaN(u.line)&&!Number.isNaN(u.column)){for(;n.length<u.line;){const a=n[n.length-1],o=ps(t,a),l=o===-1?t.length+1:o+1;if(a===l)break;n.push(l)}const s=(u.line>1?n[u.line-2]:0)+u.column-1;if(s<n[u.line-1])return s}}}function ps(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
186`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const dt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Do={}.hasOwnProperty,aE=Object.prototype;function oE(e,t){const n=t||{};return Ji({file:n.file||void 0,location:!1,schema:n.space==="svg"?An:nr,verbose:n.verbose||!1},e)}function Ji(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Yn(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:yo(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const u=String(e.file),s=sE(u),a=s.toPoint(0),o=s.toPoint(u.length);n.position={start:a,end:o}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Yn(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Yn(e,r,n),n}default:return n=cE(e,t),n}}function yo(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=Ji(e,t[n]);r.push(i)}return r}function cE(e,t){const n=e.schema;e.schema=t.namespaceURI===dt.svg?An:nr;let r=-1;const i={};for(;++r<t.attrs.length;){const a=t.attrs[r],o=(a.prefix?a.prefix+":":"")+a.name;Do.call(aE,o)||(i[o]=a.value)}const s=(e.schema.space==="svg"?uE:iE)(t.tagName,i,yo(e,t.childNodes));if(Yn(e,t,s),s.tagName==="template"){const a=t,o=a.sourceCodeLocation,l=o&&o.startTag&&Nt(o.startTag),h=o&&o.endTag&&Nt(o.endTag),f=Ji(e,a.content);l&&h&&e.file&&(f.position={start:l.end,end:h.start}),s.content=f}return e.schema=n,s}function Yn(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=lE(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function lE(e,t,n){const r=Nt(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const u={};let s;if(n.attrs)for(s in n.attrs)Do.call(n.attrs,s)&&(u[Ci(e.schema,s).property]=Nt(n.attrs[s]));n.startTag;const a=Nt(n.startTag),o=n.endTag?Nt(n.endTag):void 0,l={opening:a};o&&(l.closing=o),l.properties=u,t.data={position:l}}}return r}function Nt(e){const t=Es({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Es({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Es(e){return e.line&&e.column?e:void 0}const fE={},hE={}.hasOwnProperty,So=va("type",{handlers:{root:mE,element:TE,text:gE,comment:bE,doctype:EE}});function dE(e,t){const r=(t||fE).space;return So(e,r==="svg"?An:nr)}function mE(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Zi(e.children,n,t),qt(e,n),n}function pE(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Zi(e.children,n,t),qt(e,n),n}function EE(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return qt(e,t),t}function gE(e){const t={nodeName:"#text",value:e.value,parentNode:null};return qt(e,t),t}function bE(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return qt(e,t),t}function TE(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=An);const i=[];let u;if(e.properties){for(u in e.properties)if(u!=="children"&&hE.call(e.properties,u)){const o=AE(r,u,e.properties[u]);o&&i.push(o)}}const s=r.space,a={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:dt[s],childNodes:[],parentNode:null};return a.childNodes=Zi(e.children,a,r),qt(e,a),e.tagName==="template"&&e.content&&(a.content=pE(e.content,r)),a}function AE(e,t,n){const r=Ci(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?X1(n):Y1(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const u=i.name.indexOf(":");u<0?i.prefix="":(i.name=i.name.slice(u+1),i.prefix=r.attribute.slice(0,u)),i.namespace=dt[r.space]}return i}function Zi(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const u=So(e[r],n);u.parentNode=t,i.push(u)}return i}function qt(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const CE=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],_E=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),se="�";var g;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(g||(g={}));const Ce={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ko(e){return e>=55296&&e<=57343}function DE(e){return e>=56320&&e<=57343}function yE(e,t){return(e-55296)*1024+9216+t}function Io(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function No(e){return e>=64976&&e<=65007||_E.has(e)}var L;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(L||(L={}));const SE=65536;class kE{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=SE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:u}=this,s=i+n,a=u+n;return{code:t,startLine:r,endLine:r,startCol:s,endCol:s,startOffset:a,endOffset:a}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(DE(n))return this.pos++,this._addGap(),yE(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(L.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;const r=this.html.charCodeAt(n);return r===g.CARRIAGE_RETURN?g.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let t=this.html.charCodeAt(this.pos);return t===g.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED):t===g.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ko(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===g.LINE_FEED||t===g.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Io(t)?this._err(L.controlCharacterInInputStream):No(t)&&this._err(L.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ee;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(ee||(ee={}));function xo(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const IE=new Uint16Array('
vendor: 16,129 bytes, line 186
186ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;æ©°cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;æ§«riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0á ±;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0á«¢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;æ©­nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0á­µr;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;oá³§á³°ntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;æ§¶rok;䄑Ādrá¶°á¶´ot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;æ§£us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0á¾½g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 186
186䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 186
186astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
186'.split("").map(e=>e.charCodeAt(0))),NE=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function xE(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=NE.get(e))!==null&&t!==void 0?t:e}var Ee;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ee||(Ee={}));const OE=32;var nt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(nt||(nt={}));function gi(e){return e>=Ee.ZERO&&e<=Ee.NINE}function LE(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_F||e>=Ee.LOWER_A&&e<=Ee.LOWER_F}function FE(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_Z||e>=Ee.LOWER_A&&e<=Ee.LOWER_Z||gi(e)}function wE(e){return e===Ee.EQUALS||FE(e)}var me;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(me||(me={}));var Ye;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ye||(Ye={}));class RE{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ye.Strict}startEntity(t){this.decodeMode=t,this.state=me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case me.EntityStart:return t.charCodeAt(n)===Ee.NUM?(this.state=me.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=me.NamedEntity,this.stateNamedEntity(t,n));case me.NumericStart:return this.stateNumericStart(t,n);case me.NumericDecimal:return this.stateNumericDecimal(t,n);case me.NumericHex:return this.stateNumericHex(t,n);case me.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|OE)===Ee.LOWER_X?(this.state=me.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=me.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const u=r-n;this.result=this.result*Math.pow(i,u)+Number.parseInt(t.substr(n,u),i),this.consumed+=u}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(gi(i)||LE(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(gi(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Ee.SEMI)this.consumed+=1;else if(this.decodeMode===Ye.Strict)return 0;return this.emitCodePoint(xE(this.result),this.consumed),this.errors&&(t!==Ee.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],u=(i&nt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=BE(r,i,this.treeIndex+Math.max(1,u),s),this.treeIndex<0)return this.result===0||this.decodeMode===Ye.Attribute&&(u===0||wE(s))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],u=(i&nt.VALUE_LENGTH)>>14,u!==0){if(s===Ee.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==Ye.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&nt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~nt.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case me.NamedEntity:return this.result!==0&&(this.decodeMode!==Ye.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case me.NumericDecimal:return this.emitNumericEntity(0,2);case me.NumericHex:return this.emitNumericEntity(0,3);case me.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case me.EntityStart:return 0}}}function BE(e,t,n,r){const i=(t&nt.BRANCH_LENGTH)>>7,u=t&nt.JUMP_TABLE;if(i===0)return u!==0&&r===u?n:-1;
vendor: 123,439 bytes, line 186
186if(u){const o=r-u;return o<0||o>=i?-1:e[n+o]-1}let s=n,a=s+i-1;for(;s<=a;){const o=s+a>>>1,l=e[o];if(l<r)s=o+1;else if(l>r)a=o-1;else return e[o+i]}return-1}var H;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(H||(H={}));var mt;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(mt||(mt={}));var Ne;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ne||(Ne={}));var x;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(x||(x={}));var c;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(c||(c={}));const PE=new Map([[x.A,c.A],[x.ADDRESS,c.ADDRESS],[x.ANNOTATION_XML,c.ANNOTATION_XML],[x.APPLET,c.APPLET],[x.AREA,c.AREA],[x.ARTICLE,c.ARTICLE],[x.ASIDE,c.ASIDE],[x.B,c.B],[x.BASE,c.BASE],[x.BASEFONT,c.BASEFONT],[x.BGSOUND,c.BGSOUND],[x.BIG,c.BIG],[x.BLOCKQUOTE,c.BLOCKQUOTE],[x.BODY,c.BODY],[x.BR,c.BR],[x.BUTTON,c.BUTTON],[x.CAPTION,c.CAPTION],[x.CENTER,c.CENTER],[x.CODE,c.CODE],[x.COL,c.COL],[x.COLGROUP,c.COLGROUP],[x.DD,c.DD],[x.DESC,c.DESC],[x.DETAILS,c.DETAILS],[x.DIALOG,c.DIALOG],[x.DIR,c.DIR],[x.DIV,c.DIV],[x.DL,c.DL],[x.DT,c.DT],[x.EM,c.EM],[x.EMBED,c.EMBED],[x.FIELDSET,c.FIELDSET],[x.FIGCAPTION,c.FIGCAPTION],[x.FIGURE,c.FIGURE],[x.FONT,c.FONT],[x.FOOTER,c.FOOTER],[x.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[x.FORM,c.FORM],[x.FRAME,c.FRAME],[x.FRAMESET,c.FRAMESET],[x.H1,c.H1],[x.H2,c.H2],[x.H3,c.H3],[x.H4,c.H4],[x.H5,c.H5],[x.H6,c.H6],[x.HEAD,c.HEAD],[x.HEADER,c.HEADER],[x.HGROUP,c.HGROUP],[x.HR,c.HR],[x.HTML,c.HTML],[x.I,c.I],[x.IMG,c.IMG],[x.IMAGE,c.IMAGE],[x.INPUT,c.INPUT],[x.IFRAME,c.IFRAME],[x.KEYGEN,c.KEYGEN],[x.LABEL,c.LABEL],[x.LI,c.LI],[x.LINK,c.LINK],[x.LISTING,c.LISTING],[x.MAIN,c.MAIN],[x.MALIGNMARK,c.MALIGNMARK],[x.MARQUEE,c.MARQUEE],[x.MATH,c.MATH],[x.MENU,c.MENU],[x.META,c.META],[x.MGLYPH,c.MGLYPH],[x.MI,c.MI],[x.MO,c.MO],[x.MN,c.MN],[x.MS,c.MS],[x.MTEXT,c.MTEXT],[x.NAV,c.NAV],[x.NOBR,c.NOBR],[x.NOFRAMES,c.NOFRAMES],[x.NOEMBED,c.NOEMBED],[x.NOSCRIPT,c.NOSCRIPT],[x.OBJECT,c.OBJECT],[x.OL,c.OL],[x.OPTGROUP,c.OPTGROUP],[x.OPTION,c.OPTION],[x.P,c.P],[x.PARAM,c.PARAM],[x.PLAINTEXT,c.PLAINTEXT],[x.PRE,c.PRE],[x.RB,c.RB],[x.RP,c.RP],[x.RT,c.RT],[x.RTC,c.RTC],[x.RUBY,c.RUBY],[x.S,c.S],[x.SCRIPT,c.SCRIPT],[x.SEARCH,c.SEARCH],[x.SECTION,c.SECTION],[x.SELECT,c.SELECT],[x.SOURCE,c.SOURCE],[x.SMALL,c.SMALL],[x.SPAN,c.SPAN],[x.STRIKE,c.STRIKE],[x.STRONG,c.STRONG],[x.STYLE,c.STYLE],[x.SUB,c.SUB],[x.SUMMARY,c.SUMMARY],[x.SUP,c.SUP],[x.TABLE,c.TABLE],[x.TBODY,c.TBODY],[x.TEMPLATE,c.TEMPLATE],[x.TEXTAREA,c.TEXTAREA],[x.TFOOT,c.TFOOT],[x.TD,c.TD],[x.TH,c.TH],[x.THEAD,c.THEAD],[x.TITLE,c.TITLE],[x.TR,c.TR],[x.TRACK,c.TRACK],[x.TT,c.TT],[x.U,c.U],[x.UL,c.UL],[x.SVG,c.SVG],[x.VAR,c.VAR],[x.WBR,c.WBR],[x.XMP,c.XMP]]);function $t(e){var t;return(t=PE.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const v=c,ME={[H.HTML]:new Set([v.ADDRESS,v.APPLET,v.AREA,v.ARTICLE,v.ASIDE,v.BASE,v.BASEFONT,v.BGSOUND,v.BLOCKQUOTE,v.BODY,v.BR,v.BUTTON,v.CAPTION,v.CENTER,v.COL,v.COLGROUP,v.DD,v.DETAILS,v.DIR,v.DIV,v.DL,v.DT,v.EMBED,v.FIELDSET,v.FIGCAPTION,v.FIGURE,v.FOOTER,v.FORM,v.FRAME,v.FRAMESET,v.H1,v.H2,v.H3,v.H4,v.H5,v.H6,v.HEAD,v.HEADER,v.HGROUP,v.HR,v.HTML,v.IFRAME,v.IMG,v.INPUT,v.LI,v.LINK,v.LISTING,v.MAIN,v.MARQUEE,v.MENU,v.META,v.NAV,v.NOEMBED,v.NOFRAMES,v.NOSCRIPT,v.OBJECT,v.OL,v.P,v.PARAM,v.PLAINTEXT,v.PRE,v.SCRIPT,v.SECTION,v.SELECT,v.SOURCE,v.STYLE,v.SUMMARY,v.TABLE,v.TBODY,v.TD,v.TEMPLATE,v.TEXTAREA,v.TFOOT,v.TH,v.THEAD,v.TITLE,v.TR,v.TRACK,v.UL,v.WBR,v.XMP]),[H.MATHML]:new Set([v.MI,v.MO,v.MN,v.MS,v.MTEXT,v.ANNOTATION_XML]),[H.SVG]:new Set([v.TITLE,v.FOREIGN_OBJECT,v.DESC]),[H.XLINK]:new Set,[H.XML]:new Set,[H.XMLNS]:new Set},bi=new Set([v.H1,v.H2,v.H3,v.H4,v.H5,v.H6]);x.STYLE,x.SCRIPT,x.XMP,x.IFRAME,x.NOEMBED,x.NOFRAMES,x.PLAINTEXT;var b;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(b||(b={}));const ce={DATA:b.DATA,RCDATA:b.RCDATA,RAWTEXT:b.RAWTEXT,SCRIPT_DATA:b.SCRIPT_DATA,PLAINTEXT:b.PLAINTEXT,CDATA_SECTION:b.CDATA_SECTION};function UE(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function rn(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function HE(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z}function Je(e){return HE(e)||rn(e)}function gs(e){return Je(e)||UE(e)}function Hn(e){return e+32}function Oo(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function bs(e){return Oo(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}function vE(e){return e===g.NULL?L.nullCharacterReference:e>1114111?L.characterReferenceOutsideUnicodeRange:ko(e)?L.surrogateCharacterReference:No(e)?L.noncharacterCharacterReference:Io(e)||e===g.CARRIAGE_RETURN?L.controlCharacterReference:null}class zE{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=b.DATA,this.returnState=b.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new kE(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new RE(IE,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(L.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(L.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=vE(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ee.START_TAG,tagName:"",tagID:c.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ee.END_TAG,tagName:"",tagID:c.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:ee.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:ee.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(xo(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(L.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=$t(t.tagName),t.type===ee.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(L.endTagWithAttributes),t.selfClosing&&this._err(L.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case ee.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ee.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ee.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:ee.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Oo(t)?ee.WHITESPACE_CHARACTER:t===g.NULL?ee.NULL_CHARACTER:ee.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ee.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=b.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ye.Attribute:Ye.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===b.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case b.DATA:{this._stateData(t);break}case b.RCDATA:{this._stateRcdata(t);break}case b.RAWTEXT:{this._stateRawtext(t);break}case b.SCRIPT_DATA:{this._stateScriptData(t);break}case b.PLAINTEXT:{this._statePlaintext(t);break}case b.TAG_OPEN:{this._stateTagOpen(t);break}case b.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case b.TAG_NAME:{this._stateTagName(t);break}case b.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case b.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case b.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case b.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case b.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case b.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case b.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case b.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case b.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case b.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case b.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case b.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case b.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case b.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case b.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case b.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case b.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case b.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case b.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case b.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case b.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case b.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case b.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case b.BOGUS_COMMENT:{this._stateBogusComment(t);break}case b.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case b.COMMENT_START:{this._stateCommentStart(t);break}case b.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case b.COMMENT:{this._stateComment(t);break}case b.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case b.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case b.COMMENT_END:{this._stateCommentEnd(t);break}case b.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case b.DOCTYPE:{this._stateDoctype(t);break}case b.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case b.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case b.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case b.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case b.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case b.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case b.CDATA_SECTION:{this._stateCdataSection(t);break}case b.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case b.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case b.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case b.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case g.LESS_THAN_SIGN:{this.state=b.TAG_OPEN;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitCodePoint(t);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case g.AMPERSAND:{this._startCharacterReference();break}case g.LESS_THAN_SIGN:{this.state=b.RCDATA_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(se);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case g.LESS_THAN_SIGN:{this.state=b.RAWTEXT_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(se);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case g.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(se);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(se);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Je(t))this._createStartTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case g.EXCLAMATION_MARK:{this.state=b.MARKUP_DECLARATION_OPEN;break}case g.SOLIDUS:{this.state=b.END_TAG_OPEN;break}case g.QUESTION_MARK:{this._err(L.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t);break}case g.EOF:{this._err(L.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=b.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Je(t))this._createEndTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case g.GREATER_THAN_SIGN:{this._err(L.missingEndTagName),this.state=b.DATA;break}case g.EOF:{this._err(L.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=b.BEFORE_ATTRIBUTE_NAME;break}case g.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case g.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.tagName+=se;break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(rn(t)?Hn(t):t)}}_stateRcdataLessThanSign(t){t===g.SOLIDUS?this.state=b.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Je(t)?(this.state=b.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=b.BEFORE_ATTRIBUTE_NAME,!1;case g.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=b.SELF_CLOSING_START_TAG,!1;case g.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=b.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===g.SOLIDUS?this.state=b.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Je(t)?(this.state=b.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case g.SOLIDUS:{this.state=b.SCRIPT_DATA_END_TAG_OPEN;break}case g.EXCLAMATION_MARK:{this.state=b.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=b.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Je(t)?(this.state=b.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===g.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===g.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case g.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(se);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case g.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(se);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case g.HYPHEN_MINUS:{this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(se);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===g.SOLIDUS?this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Je(t)?(this._emitChars("<"),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Je(t)?(this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Ce.SCRIPT,!1)&&bs(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case g.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(se);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case g.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(se);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case g.HYPHEN_MINUS:{this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(se);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===g.SOLIDUS?(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Ce.SCRIPT,!1)&&bs(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:{this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case g.EQUALS_SIGN:{this._err(L.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=b.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:{this._leaveAttrName(),this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case g.EQUALS_SIGN:{this._leaveAttrName(),this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:{this._err(L.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.name+=se;break}default:this.currentAttr.name+=String.fromCodePoint(rn(t)?Hn(t):t)}}_stateAfterAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case g.EQUALS_SIGN:{this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case g.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{this.state=b.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this.state=b.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingAttributeValue),this.state=b.DATA,this.emitCurrentTagToken();break}default:this.state=b.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case g.QUOTATION_MARK:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=se;break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case g.APOSTROPHE:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=se;break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=se;break}case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:case g.EQUALS_SIGN:case g.GRAVE_ACCENT:{this._err(L.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case g.SOLIDUS:{this._leaveAttrValue(),this.state=b.SELF_CLOSING_START_TAG;break}case g.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBetweenAttributes),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case g.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=b.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.unexpectedSolidusInTag),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case g.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.data+=se;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ce.DASH_DASH,!0)?(this._createCommentToken(Ce.DASH_DASH.length+1),this.state=b.COMMENT_START):this._consumeSequenceIfMatch(Ce.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ce.DOCTYPE.length+1),this.state=b.DOCTYPE):this._consumeSequenceIfMatch(Ce.CDATA_START,!0)?this.inForeignNode?this.state=b.CDATA_SECTION:(this._err(L.cdataInHtmlContent),this._createCommentToken(Ce.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=b.BOGUS_COMMENT):this._ensureHibernation()||(this._err(L.incorrectlyOpenedComment),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case g.HYPHEN_MINUS:{this.state=b.COMMENT_START_DASH;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=b.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=b.DATA,this.emitCurrentComment(n);break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=b.COMMENT_END_DASH;break}case g.LESS_THAN_SIGN:{n.data+="<",this.state=b.COMMENT_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.data+=se;break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case g.EXCLAMATION_MARK:{n.data+="!",this.state=b.COMMENT_LESS_THAN_SIGN_BANG;break}case g.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===g.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=b.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===g.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=b.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==g.GREATER_THAN_SIGN&&t!==g.EOF&&this._err(L.nestedComment),this.state=b.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case g.EXCLAMATION_MARK:{this.state=b.COMMENT_END_BANG;break}case g.HYPHEN_MINUS:{n.data+="-";break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{n.data+="--!",this.state=b.COMMENT_END_DASH;break}case g.GREATER_THAN_SIGN:{this._err(L.incorrectlyClosedComment),this.state=b.DATA,this.emitCurrentComment(n);break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=b.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case g.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBeforeDoctypeName),this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(rn(t))this._createDoctypeToken(String.fromCharCode(Hn(t))),this.state=b.DOCTYPE_NAME;else switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.NULL:{this._err(L.unexpectedNullCharacter),this._createDoctypeToken(se),this.state=b.DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=b.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=b.AFTER_DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.name+=se;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(rn(t)?Hn(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ce.PUBLIC,!1)?this.state=b.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ce.SYSTEM,!1)?this.state=b.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(L.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case g.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=se;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case g.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=se;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case g.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.QUOTATION_MARK:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case g.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=se;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case g.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=se;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.NULL:{this._err(L.unexpectedNullCharacter);break}case g.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case g.RIGHT_SQUARE_BRACKET:{this.state=b.CDATA_SECTION_BRACKET;break}case g.EOF:{this._err(L.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===g.RIGHT_SQUARE_BRACKET?this.state=b.CDATA_SECTION_END:(this._emitChars("]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case g.GREATER_THAN_SIGN:{this.state=b.DATA;break}case g.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&gs(this.preprocessor.peek(1))?b.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){gs(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===g.SEMICOLON&&this._err(L.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Lo=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),Ts=new Set([...Lo,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),Zn=new Set([c.APPLET,c.CAPTION,c.HTML,c.MARQUEE,c.OBJECT,c.TABLE,c.TD,c.TEMPLATE,c.TH]),qE=new Set([...Zn,c.OL,c.UL]),$E=new Set([...Zn,c.BUTTON]),As=new Set([c.ANNOTATION_XML,c.MI,c.MN,c.MO,c.MS,c.MTEXT]),Cs=new Set([c.DESC,c.FOREIGN_OBJECT,c.TITLE]),YE=new Set([c.TR,c.TEMPLATE,c.HTML]),jE=new Set([c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML]),KE=new Set([c.TABLE,c.TEMPLATE,c.HTML]),VE=new Set([c.TD,c.TH]);class QE{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=c.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===c.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===H.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==H.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(bi,H.HTML)}popUntilTableCellPopped(){this.popUntilPopped(VE,H.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(KE,H.HTML)}clearBackToTableBodyContext(){this.clearBackTo(jE,H.HTML)}clearBackToTableRowContext(){this.clearBackTo(YE,H.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===c.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case H.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case H.SVG:{if(Cs.has(i))return!1;break}case H.MATHML:{if(As.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Zn)}hasInListItemScope(t){return this.hasInDynamicScope(t,qE)}hasInButtonScope(t){return this.hasInDynamicScope(t,$E)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case H.HTML:{if(bi.has(n))return!0;if(Zn.has(n))return!1;break}case H.SVG:{if(Cs.has(n))return!1;break}case H.MATHML:{if(As.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===H.HTML)switch(this.tagIDs[n]){case t:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===H.HTML)switch(this.tagIDs[t]){case c.TBODY:case c.THEAD:case c.TFOOT:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===H.HTML)switch(this.tagIDs[n]){case t:return!0;case c.OPTION:case c.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Lo.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Ts.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Ts.has(this.currentTagId);)this.pop()}}const jr=3;var Me;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Me||(Me={}));const _s={type:Me.Marker};class WE{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,u=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let a=0;a<this.entries.length;a++){const o=this.entries[a];if(o.type===Me.Marker)break;const{element:l}=o;if(this.treeAdapter.getTagName(l)===u&&this.treeAdapter.getNamespaceURI(l)===s){const h=this.treeAdapter.getAttrList(l);h.length===i&&r.push({idx:a,attrs:h})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<jr)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<jr)return;const i=new Map(n.map(s=>[s.name,s.value]));let u=0;for(let s=0;s<r.length;s++){const a=r[s];a.attrs.every(o=>i.get(o.name)===o.value)&&(u+=1,u>=jr&&this.entries.splice(a.idx,1))}}insertMarker(){this.entries.unshift(_s)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Me.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Me.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(_s);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Me.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Me.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Me.Element&&n.element===t)}}const Ze={createDocument(){return{nodeName:"#document",mode:Ne.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(u=>u.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const u={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Ze.appendChild(e,u)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Ze.isTextNode(n)){n.value+=t;return}}Ze.appendChild(e,Ze.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ze.isTextNode(r)?r.value+=t:Ze.insertBefore(e,Ze.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Fo="html",GE="about:legacy-compat",XE="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",wo=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],JE=[...wo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],ZE=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ro=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eg=[...Ro,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Ds(e,t){return t.some(n=>e.startsWith(n))}function tg(e){return e.name===Fo&&e.publicId===null&&(e.systemId===null||e.systemId===GE)}function ng(e){if(e.name!==Fo)return Ne.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===XE)return Ne.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),ZE.has(n))return Ne.QUIRKS;let r=t===null?JE:wo;if(Ds(n,r))return Ne.QUIRKS;if(r=t===null?Ro:eg,Ds(n,r))return Ne.LIMITED_QUIRKS}return Ne.NO_QUIRKS}const ys={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},rg="definitionurl",ig="definitionURL",ug=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),sg=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:H.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:H.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:H.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:H.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:H.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:H.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:H.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:H.XML}],["xml:space",{prefix:"xml",name:"space",namespace:H.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:H.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:H.XMLNS}]]),ag=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),og=new Set([c.B,c.BIG,c.BLOCKQUOTE,c.BODY,c.BR,c.CENTER,c.CODE,c.DD,c.DIV,c.DL,c.DT,c.EM,c.EMBED,c.H1,c.H2,c.H3,c.H4,c.H5,c.H6,c.HEAD,c.HR,c.I,c.IMG,c.LI,c.LISTING,c.MENU,c.META,c.NOBR,c.OL,c.P,c.PRE,c.RUBY,c.S,c.SMALL,c.SPAN,c.STRONG,c.STRIKE,c.SUB,c.SUP,c.TABLE,c.TT,c.U,c.UL,c.VAR]);function cg(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:r})=>r===mt.COLOR||r===mt.SIZE||r===mt.FACE)||og.has(t)}function Bo(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===rg){e.attrs[t].name=ig;break}}function Po(e){for(let t=0;t<e.attrs.length;t++){const n=ug.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function eu(e){for(let t=0;t<e.attrs.length;t++){const n=sg.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function lg(e){const t=ag.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=$t(e.tagName))}function fg(e,t){return t===H.MATHML&&(e===c.MI||e===c.MO||e===c.MN||e===c.MS||e===c.MTEXT)}function hg(e,t,n){if(t===H.MATHML&&e===c.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===mt.ENCODING){const i=n[r].value.toLowerCase();return i===ys.TEXT_HTML||i===ys.APPLICATION_XML}}return t===H.SVG&&(e===c.FOREIGN_OBJECT||e===c.DESC||e===c.TITLE)}function dg(e,t,n,r){return(!r||r===H.HTML)&&hg(e,t,n)||(!r||r===H.MATHML)&&fg(e,t)}const mg="hidden",pg=8,Eg=3;var C;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(C||(C={}));const gg={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Mo=new Set([c.TABLE,c.TBODY,c.TFOOT,c.THEAD,c.TR]),Ss={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ze,onParseError:null};class ks{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=C.INITIAL,this.originalInsertionMode=C.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Ss,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new zE(this.options,this),this.activeFormattingElements=new WE(this.treeAdapter),this.fragmentContextID=r?$t(this.treeAdapter.getTagName(r)):c.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new QE(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...Ss,...n};t??(t=r.treeAdapter.createElement(x.TEMPLATE,H.HTML,[]));const i=r.treeAdapter.createElement("documentmock",H.HTML,[]),u=new this(r,i,t);return u.fragmentContextID===c.TEMPLATE&&u.tmplInsertionModeStack.unshift(C.IN_TEMPLATE),u._initTokenizerForFragmentParsing(),u._insertFakeRootElement(),u._resetInsertionMode(),u._findFormInFragmentContext(),u}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const u=(i=t.location)!==null&&i!==void 0?i:gg,s={code:n,startLine:u.startLine,startCol:u.startCol,startOffset:u.startOffset,endLine:r?u.startLine:u.endLine,endCol:r?u.startCol:u.endCol,endOffset:r?u.startOffset:u.endOffset};this.onParseError(s)}onItemPush(t,n,r){var i,u;(u=(i=this.treeAdapter).onItemPush)===null||u===void 0||u.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let u,s;this.openElements.stackTop===0&&this.fragmentContext?(u=this.fragmentContext,s=this.fragmentContextID):{current:u,currentTagId:s}=this.openElements,this._setContextModes(u,s)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===H.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,H.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=C.TEXT}switchToPlaintextParsing(){this.insertionMode=C.TEXT,this.originalInsertionMode=C.IN_BODY,this.tokenizer.state=ce.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===x.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==H.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=ce.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=ce.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=ce.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=ce.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(a=>this.treeAdapter.isDocumentTypeNode(a));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,H.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,H.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(x.HTML,H.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,c.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),u=r?i.lastIndexOf(r):i.length,s=i[u-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:o,endCol:l,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:o,endCol:l,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),u=n.type===ee.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,u)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===c.SVG&&this.treeAdapter.getTagName(n)===x.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===H.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===c.MGLYPH||t.tagID===c.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,H.HTML)}_processToken(t){switch(t.type){case ee.CHARACTER:{this.onCharacter(t);break}case ee.NULL_CHARACTER:{this.onNullCharacter(t);break}case ee.COMMENT:{this.onComment(t);break}case ee.DOCTYPE:{this.onDoctype(t);break}case ee.START_TAG:{this._processStartTag(t);break}case ee.END_TAG:{this.onEndTag(t);break}case ee.EOF:{this.onEof(t);break}case ee.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),u=this.treeAdapter.getAttrList(n);return dg(t,i,u,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Me.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const u=this.activeFormattingElements.entries[i];this._insertElement(u.token,this.treeAdapter.getNamespaceURI(u.element)),u.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=C.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(c.P),this.openElements.popUntilTagNamePopped(c.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case c.TR:{this.insertionMode=C.IN_ROW;return}case c.TBODY:case c.THEAD:case c.TFOOT:{this.insertionMode=C.IN_TABLE_BODY;return}case c.CAPTION:{this.insertionMode=C.IN_CAPTION;return}case c.COLGROUP:{this.insertionMode=C.IN_COLUMN_GROUP;return}case c.TABLE:{this.insertionMode=C.IN_TABLE;return}case c.BODY:{this.insertionMode=C.IN_BODY;return}case c.FRAMESET:{this.insertionMode=C.IN_FRAMESET;return}case c.SELECT:{this._resetInsertionModeForSelect(t);return}case c.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case c.HTML:{this.insertionMode=this.headElement?C.AFTER_HEAD:C.BEFORE_HEAD;return}case c.TD:case c.TH:{if(t>0){this.insertionMode=C.IN_CELL;return}break}case c.HEAD:{if(t>0){this.insertionMode=C.IN_HEAD;return}break}}this.insertionMode=C.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===c.TEMPLATE)break;if(r===c.TABLE){this.insertionMode=C.IN_SELECT_IN_TABLE;return}}this.insertionMode=C.IN_SELECT}_isElementCausesFosterParenting(t){return Mo.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case c.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===H.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case c.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return ME[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Vb(this,t);return}switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{cn(this,t);break}case C.BEFORE_HEAD:{ln(this,t);break}case C.IN_HEAD:{fn(this,t);break}case C.IN_HEAD_NO_SCRIPT:{hn(this,t);break}case C.AFTER_HEAD:{dn(this,t);break}case C.IN_BODY:case C.IN_CAPTION:case C.IN_CELL:case C.IN_TEMPLATE:{Ho(this,t);break}case C.TEXT:case C.IN_SELECT:case C.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case C.IN_TABLE:case C.IN_TABLE_BODY:case C.IN_ROW:{Kr(this,t);break}case C.IN_TABLE_TEXT:{jo(this,t);break}case C.IN_COLUMN_GROUP:{er(this,t);break}case C.AFTER_BODY:{tr(this,t);break}case C.AFTER_AFTER_BODY:{jn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Kb(this,t);return}switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{cn(this,t);break}case C.BEFORE_HEAD:{ln(this,t);break}case C.IN_HEAD:{fn(this,t);break}case C.IN_HEAD_NO_SCRIPT:{hn(this,t);break}case C.AFTER_HEAD:{dn(this,t);break}case C.TEXT:{this._insertCharacters(t);break}case C.IN_TABLE:case C.IN_TABLE_BODY:case C.IN_ROW:{Kr(this,t);break}case C.IN_COLUMN_GROUP:{er(this,t);break}case C.AFTER_BODY:{tr(this,t);break}case C.AFTER_AFTER_BODY:{jn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ti(this,t);return}switch(this.insertionMode){case C.INITIAL:case C.BEFORE_HTML:case C.BEFORE_HEAD:case C.IN_HEAD:case C.IN_HEAD_NO_SCRIPT:case C.AFTER_HEAD:case C.IN_BODY:case C.IN_TABLE:case C.IN_CAPTION:case C.IN_COLUMN_GROUP:case C.IN_TABLE_BODY:case C.IN_ROW:case C.IN_CELL:case C.IN_SELECT:case C.IN_SELECT_IN_TABLE:case C.IN_TEMPLATE:case C.IN_FRAMESET:case C.AFTER_FRAMESET:{Ti(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.AFTER_BODY:{yg(this,t);break}case C.AFTER_AFTER_BODY:case C.AFTER_AFTER_FRAMESET:{Sg(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case C.INITIAL:{kg(this,t);break}case C.BEFORE_HEAD:case C.IN_HEAD:case C.IN_HEAD_NO_SCRIPT:case C.AFTER_HEAD:{this._err(t,L.misplacedDoctype);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,L.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Qb(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{Ig(this,t);break}case C.BEFORE_HEAD:{xg(this,t);break}case C.IN_HEAD:{Be(this,t);break}case C.IN_HEAD_NO_SCRIPT:{Fg(this,t);break}case C.AFTER_HEAD:{Rg(this,t);break}case C.IN_BODY:{Te(this,t);break}case C.IN_TABLE:{Rt(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.IN_CAPTION:{Ob(this,t);break}case C.IN_COLUMN_GROUP:{ru(this,t);break}case C.IN_TABLE_BODY:{Tr(this,t);break}case C.IN_ROW:{Ar(this,t);break}case C.IN_CELL:{wb(this,t);break}case C.IN_SELECT:{Qo(this,t);break}case C.IN_SELECT_IN_TABLE:{Bb(this,t);break}case C.IN_TEMPLATE:{Mb(this,t);break}case C.AFTER_BODY:{Hb(this,t);break}case C.IN_FRAMESET:{vb(this,t);break}case C.AFTER_FRAMESET:{qb(this,t);break}case C.AFTER_AFTER_BODY:{Yb(this,t);break}case C.AFTER_AFTER_FRAMESET:{jb(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Wb(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{Ng(this,t);break}case C.BEFORE_HEAD:{Og(this,t);break}case C.IN_HEAD:{Lg(this,t);break}case C.IN_HEAD_NO_SCRIPT:{wg(this,t);break}case C.AFTER_HEAD:{Bg(this,t);break}case C.IN_BODY:{br(this,t);break}case C.TEXT:{Ab(this,t);break}case C.IN_TABLE:{Tn(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.IN_CAPTION:{Lb(this,t);break}case C.IN_COLUMN_GROUP:{Fb(this,t);break}case C.IN_TABLE_BODY:{Ai(this,t);break}case C.IN_ROW:{Vo(this,t);break}case C.IN_CELL:{Rb(this,t);break}case C.IN_SELECT:{Wo(this,t);break}case C.IN_SELECT_IN_TABLE:{Pb(this,t);break}case C.IN_TEMPLATE:{Ub(this,t);break}case C.AFTER_BODY:{Xo(this,t);break}case C.IN_FRAMESET:{zb(this,t);break}case C.AFTER_FRAMESET:{$b(this,t);break}case C.AFTER_AFTER_BODY:{jn(this,t);break}}}onEof(t){switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{cn(this,t);break}case C.BEFORE_HEAD:{ln(this,t);break}case C.IN_HEAD:{fn(this,t);break}case C.IN_HEAD_NO_SCRIPT:{hn(this,t);break}case C.AFTER_HEAD:{dn(this,t);break}case C.IN_BODY:case C.IN_TABLE:case C.IN_CAPTION:case C.IN_COLUMN_GROUP:case C.IN_TABLE_BODY:case C.IN_ROW:case C.IN_CELL:case C.IN_SELECT:case C.IN_SELECT_IN_TABLE:{$o(this,t);break}case C.TEXT:{Cb(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.IN_TEMPLATE:{Go(this,t);break}case C.AFTER_BODY:case C.IN_FRAMESET:case C.AFTER_FRAMESET:case C.AFTER_AFTER_BODY:case C.AFTER_AFTER_FRAMESET:{nu(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===g.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case C.IN_HEAD:case C.IN_HEAD_NO_SCRIPT:case C.AFTER_HEAD:case C.TEXT:case C.IN_COLUMN_GROUP:case C.IN_SELECT:case C.IN_SELECT_IN_TABLE:case C.IN_FRAMESET:case C.AFTER_FRAMESET:{this._insertCharacters(t);break}case C.IN_BODY:case C.IN_CAPTION:case C.IN_CELL:case C.IN_TEMPLATE:case C.AFTER_BODY:case C.AFTER_AFTER_BODY:case C.AFTER_AFTER_FRAMESET:{Uo(this,t);break}case C.IN_TABLE:case C.IN_TABLE_BODY:case C.IN_ROW:{Kr(this,t);break}case C.IN_TABLE_TEXT:{Yo(this,t);break}}}}function bg(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):qo(e,t),n}function Tg(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function Ag(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let u=0,s=i;s!==n;u++,s=i){i=e.openElements.getCommonAncestor(s);const a=e.activeFormattingElements.getElementEntry(s),o=a&&u>=Eg;!a||o?(o&&e.activeFormattingElements.removeEntry(a),e.openElements.remove(s)):(s=Cg(e,a),r===t&&(e.activeFormattingElements.bookmark=a),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function Cg(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function _g(e,t,n){const r=e.treeAdapter.getTagName(t),i=$t(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const u=e.treeAdapter.getNamespaceURI(t);i===c.TEMPLATE&&u===H.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Dg(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,u=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,u),e.treeAdapter.appendChild(t,u),e.activeFormattingElements.insertElementAfterBookmark(u,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,u,i.tagID)}function tu(e,t){for(let n=0;n<pg;n++){const r=bg(e,t);if(!r)break;const i=Tg(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const u=Ag(e,i,r.element),s=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(u),s&&_g(e,s,u),Dg(e,i,r)}}function Ti(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function yg(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Sg(e,t){e._appendCommentNode(t,e.document)}function nu(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const u=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(u);s&&!s.endTag&&e._setEndLocation(u,t)}}}}function kg(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ne.QUIRKS:ng(t);tg(t)||e._err(t,L.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=C.BEFORE_HTML}function Jt(e,t){e._err(t,L.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ne.QUIRKS),e.insertionMode=C.BEFORE_HTML,e._processToken(t)}function Ig(e,t){t.tagID===c.HTML?(e._insertElement(t,H.HTML),e.insertionMode=C.BEFORE_HEAD):cn(e,t)}function Ng(e,t){const n=t.tagID;(n===c.HTML||n===c.HEAD||n===c.BODY||n===c.BR)&&cn(e,t)}function cn(e,t){e._insertFakeRootElement(),e.insertionMode=C.BEFORE_HEAD,e._processToken(t)}function xg(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.HEAD:{e._insertElement(t,H.HTML),e.headElement=e.openElements.current,e.insertionMode=C.IN_HEAD;break}default:ln(e,t)}}function Og(e,t){const n=t.tagID;n===c.HEAD||n===c.BODY||n===c.HTML||n===c.BR?ln(e,t):e._err(t,L.endTagWithoutMatchingOpenElement)}function ln(e,t){e._insertFakeElement(x.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=C.IN_HEAD,e._processToken(t)}function Be(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(t,ce.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ce.RAWTEXT):(e._insertElement(t,H.HTML),e.insertionMode=C.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(t,ce.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(t,ce.SCRIPT_DATA);break}case c.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=C.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(C.IN_TEMPLATE);break}case c.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:fn(e,t)}}function Lg(e,t){switch(t.tagID){case c.HEAD:{e.openElements.pop(),e.insertionMode=C.AFTER_HEAD;break}case c.BODY:case c.BR:case c.HTML:{fn(e,t);break}case c.TEMPLATE:{gt(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function gt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(t,L.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,L.endTagWithoutMatchingOpenElement)}function fn(e,t){e.openElements.pop(),e.insertionMode=C.AFTER_HEAD,e._processToken(t)}function Fg(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{Be(e,t);break}case c.NOSCRIPT:{e._err(t,L.nestedNoscriptInHead);break}default:hn(e,t)}}function wg(e,t){switch(t.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=C.IN_HEAD;break}case c.BR:{hn(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function hn(e,t){const n=t.type===ee.EOF?L.openElementsLeftAfterEof:L.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=C.IN_HEAD,e._processToken(t)}function Rg(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.BODY:{e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=C.IN_BODY;break}case c.FRAMESET:{e._insertElement(t,H.HTML),e.insertionMode=C.IN_FRAMESET;break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{e._err(t,L.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),Be(e,t),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:dn(e,t)}}function Bg(e,t){switch(t.tagID){case c.BODY:case c.HTML:case c.BR:{dn(e,t);break}case c.TEMPLATE:{gt(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function dn(e,t){e._insertFakeElement(x.BODY,c.BODY),e.insertionMode=C.IN_BODY,gr(e,t)}function gr(e,t){switch(t.type){case ee.CHARACTER:{Ho(e,t);break}case ee.WHITESPACE_CHARACTER:{Uo(e,t);break}case ee.COMMENT:{Ti(e,t);break}case ee.START_TAG:{Te(e,t);break}case ee.END_TAG:{br(e,t);break}case ee.EOF:{$o(e,t);break}}}function Uo(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ho(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Pg(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Mg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Ug(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,H.HTML),e.insertionMode=C.IN_FRAMESET)}function Hg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML)}function vg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&bi.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,H.HTML)}function zg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function qg(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),n||(e.formElement=e.openElements.current))}function $g(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===c.LI&&i===c.LI||(n===c.DD||n===c.DT)&&(i===c.DD||i===c.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==c.ADDRESS&&i!==c.DIV&&i!==c.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML)}function Yg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.tokenizer.state=ce.PLAINTEXT}function jg(e,t){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.framesetOk=!1}function Kg(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(x.A);n&&(tu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Vg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Qg(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(tu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Wg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Gg(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ne.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=C.IN_TABLE}function vo(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function zo(e){const t=xo(e,mt.TYPE);return t!=null&&t.toLowerCase()===mg}function Xg(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML),zo(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Jg(e,t){e._appendElement(t,H.HTML),t.ackSelfClosing=!0}function Zg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function eb(e,t){t.tagName=x.IMG,t.tagID=c.IMG,vo(e,t)}function tb(e,t){e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ce.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=C.TEXT}function nb(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ce.RAWTEXT)}function rb(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ce.RAWTEXT)}function Is(e,t){e._switchToTextParsing(t,ce.RAWTEXT)}function ib(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===C.IN_TABLE||e.insertionMode===C.IN_CAPTION||e.insertionMode===C.IN_TABLE_BODY||e.insertionMode===C.IN_ROW||e.insertionMode===C.IN_CELL?C.IN_SELECT_IN_TABLE:C.IN_SELECT}function ub(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function sb(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,H.HTML)}function ab(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,H.HTML)}function ob(e,t){e._reconstructActiveFormattingElements(),Bo(t),eu(t),t.selfClosing?e._appendElement(t,H.MATHML):e._insertElement(t,H.MATHML),t.ackSelfClosing=!0}function cb(e,t){e._reconstructActiveFormattingElements(),Po(t),eu(t),t.selfClosing?e._appendElement(t,H.SVG):e._insertElement(t,H.SVG),t.ackSelfClosing=!0}function Ns(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function Te(e,t){switch(t.tagID){case c.I:case c.S:case c.B:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.SMALL:case c.STRIKE:case c.STRONG:{Vg(e,t);break}case c.A:{Kg(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{vg(e,t);break}case c.P:case c.DL:case c.OL:case c.UL:case c.DIV:case c.DIR:case c.NAV:case c.MAIN:case c.MENU:case c.ASIDE:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.DETAILS:case c.ADDRESS:case c.ARTICLE:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{Hg(e,t);break}case c.LI:case c.DD:case c.DT:{$g(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{vo(e,t);break}case c.HR:{Zg(e,t);break}case c.RB:case c.RTC:{sb(e,t);break}case c.RT:case c.RP:{ab(e,t);break}case c.PRE:case c.LISTING:{zg(e,t);break}case c.XMP:{nb(e,t);break}case c.SVG:{cb(e,t);break}case c.HTML:{Pg(e,t);break}case c.BASE:case c.LINK:case c.META:case c.STYLE:case c.TITLE:case c.SCRIPT:case c.BGSOUND:case c.BASEFONT:case c.TEMPLATE:{Be(e,t);break}case c.BODY:{Mg(e,t);break}case c.FORM:{qg(e,t);break}case c.NOBR:{Qg(e,t);break}case c.MATH:{ob(e,t);break}case c.TABLE:{Gg(e,t);break}case c.INPUT:{Xg(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{Jg(e,t);break}case c.IMAGE:{eb(e,t);break}case c.BUTTON:{jg(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{Wg(e,t);break}case c.IFRAME:{rb(e,t);break}case c.SELECT:{ib(e,t);break}case c.OPTION:case c.OPTGROUP:{ub(e,t);break}case c.NOEMBED:case c.NOFRAMES:{Is(e,t);break}case c.FRAMESET:{Ug(e,t);break}case c.TEXTAREA:{tb(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?Is(e,t):Ns(e,t);break}case c.PLAINTEXT:{Yg(e,t);break}case c.COL:case c.TH:case c.TD:case c.TR:case c.HEAD:case c.FRAME:case c.TBODY:case c.TFOOT:case c.THEAD:case c.CAPTION:case c.COLGROUP:break;default:Ns(e,t)}}function lb(e,t){if(e.openElements.hasInScope(c.BODY)&&(e.insertionMode=C.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function fb(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=C.AFTER_BODY,Xo(e,t))}function hb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function db(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(c.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(c.FORM):n&&e.openElements.remove(n))}function mb(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(x.P,c.P),e._closePElement()}function pb(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function Eb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function gb(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function bb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Tb(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(x.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function qo(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const u=e.openElements.items[i],s=e.openElements.tagIDs[i];if(r===s&&(r!==c.UNKNOWN||e.treeAdapter.getTagName(u)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(u,s))break}}function br(e,t){switch(t.tagID){case c.A:case c.B:case c.I:case c.S:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.NOBR:case c.SMALL:case c.STRIKE:case c.STRONG:{tu(e,t);break}case c.P:{mb(e);break}case c.DL:case c.UL:case c.OL:case c.DIR:case c.DIV:case c.NAV:case c.PRE:case c.MAIN:case c.MENU:case c.ASIDE:case c.BUTTON:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.ADDRESS:case c.ARTICLE:case c.DETAILS:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.LISTING:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{hb(e,t);break}case c.LI:{pb(e);break}case c.DD:case c.DT:{Eb(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{gb(e);break}case c.BR:{Tb(e);break}case c.BODY:{lb(e,t);break}case c.HTML:{fb(e,t);break}case c.FORM:{db(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{bb(e,t);break}case c.TEMPLATE:{gt(e,t);break}default:qo(e,t)}}function $o(e,t){e.tmplInsertionModeStack.length>0?Go(e,t):nu(e,t)}function Ab(e,t){var n;t.tagID===c.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Cb(e,t){e._err(t,L.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Kr(e,t){if(e.openElements.currentTagId!==void 0&&Mo.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=C.IN_TABLE_TEXT,t.type){case ee.CHARACTER:{jo(e,t);break}case ee.WHITESPACE_CHARACTER:{Yo(e,t);break}}else kn(e,t)}function _b(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,H.HTML),e.insertionMode=C.IN_CAPTION}function Db(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=C.IN_COLUMN_GROUP}function yb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.COLGROUP,c.COLGROUP),e.insertionMode=C.IN_COLUMN_GROUP,ru(e,t)}function Sb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=C.IN_TABLE_BODY}function kb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.TBODY,c.TBODY),e.insertionMode=C.IN_TABLE_BODY,Tr(e,t)}function Ib(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Nb(e,t){zo(t)?e._appendElement(t,H.HTML):kn(e,t),t.ackSelfClosing=!0}function xb(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,H.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Rt(e,t){switch(t.tagID){case c.TD:case c.TH:case c.TR:{kb(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Be(e,t);break}case c.COL:{yb(e,t);break}case c.FORM:{xb(e,t);break}case c.TABLE:{Ib(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{Sb(e,t);break}case c.INPUT:{Nb(e,t);break}case c.CAPTION:{_b(e,t);break}case c.COLGROUP:{Db(e,t);break}default:kn(e,t)}}function Tn(e,t){switch(t.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{gt(e,t);break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:kn(e,t)}}function kn(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,gr(e,t),e.fosterParentingEnabled=n}function Yo(e,t){e.pendingCharacterTokens.push(t)}function jo(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Zt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)kn(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Ko=new Set([c.CAPTION,c.COL,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]);function Ob(e,t){const n=t.tagID;Ko.has(n)?e.openElements.hasInTableScope(c.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=C.IN_TABLE,Rt(e,t)):Te(e,t)}function Lb(e,t){const n=t.tagID;switch(n){case c.CAPTION:case c.TABLE:{e.openElements.hasInTableScope(c.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=C.IN_TABLE,n===c.TABLE&&Tn(e,t));break}case c.BODY:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:br(e,t)}}function ru(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.COL:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.TEMPLATE:{Be(e,t);break}default:er(e,t)}}function Fb(e,t){switch(t.tagID){case c.COLGROUP:{e.openElements.currentTagId===c.COLGROUP&&(e.openElements.pop(),e.insertionMode=C.IN_TABLE);break}case c.TEMPLATE:{gt(e,t);break}case c.COL:break;default:er(e,t)}}function er(e,t){e.openElements.currentTagId===c.COLGROUP&&(e.openElements.pop(),e.insertionMode=C.IN_TABLE,e._processToken(t))}function Tr(e,t){switch(t.tagID){case c.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,H.HTML),e.insertionMode=C.IN_ROW;break}case c.TH:case c.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(x.TR,c.TR),e.insertionMode=C.IN_ROW,Ar(e,t);break}case c.CAPTION:case c.COL:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=C.IN_TABLE,Rt(e,t));break}default:Rt(e,t)}}function Ai(e,t){const n=t.tagID;switch(t.tagID){case c.TBODY:case c.TFOOT:case c.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=C.IN_TABLE);break}case c.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=C.IN_TABLE,Tn(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TD:case c.TH:case c.TR:break;default:Tn(e,t)}}function Ar(e,t){switch(t.tagID){case c.TH:case c.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,H.HTML),e.insertionMode=C.IN_CELL,e.activeFormattingElements.insertMarker();break}case c.CAPTION:case c.COL:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:case c.TR:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=C.IN_TABLE_BODY,Tr(e,t));break}default:Rt(e,t)}}function Vo(e,t){switch(t.tagID){case c.TR:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=C.IN_TABLE_BODY);break}case c.TABLE:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=C.IN_TABLE_BODY,Ai(e,t));break}case c.TBODY:case c.TFOOT:case c.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(c.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=C.IN_TABLE_BODY,Ai(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TD:case c.TH:break;default:Tn(e,t)}}function wb(e,t){const n=t.tagID;Ko.has(n)?(e.openElements.hasInTableScope(c.TD)||e.openElements.hasInTableScope(c.TH))&&(e._closeTableCell(),Ar(e,t)):Te(e,t)}function Rb(e,t){const n=t.tagID;switch(n){case c.TD:case c.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=C.IN_ROW);break}case c.TABLE:case c.TBODY:case c.TFOOT:case c.THEAD:case c.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Vo(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:break;default:br(e,t)}}function Qo(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._insertElement(t,H.HTML);break}case c.OPTGROUP:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._insertElement(t,H.HTML);break}case c.HR:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.INPUT:case c.KEYGEN:case c.TEXTAREA:case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),t.tagID!==c.SELECT&&e._processStartTag(t));break}case c.SCRIPT:case c.TEMPLATE:{Be(e,t);break}}}function Wo(e,t){switch(t.tagID){case c.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===c.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===c.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop();break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop();break}case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode());break}case c.TEMPLATE:{gt(e,t);break}}}function Bb(e,t){const n=t.tagID;n===c.CAPTION||n===c.TABLE||n===c.TBODY||n===c.TFOOT||n===c.THEAD||n===c.TR||n===c.TD||n===c.TH?(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Qo(e,t)}function Pb(e,t){const n=t.tagID;n===c.CAPTION||n===c.TABLE||n===c.TBODY||n===c.TFOOT||n===c.THEAD||n===c.TR||n===c.TD||n===c.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Wo(e,t)}function Mb(e,t){switch(t.tagID){case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{Be(e,t);break}case c.CAPTION:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.tmplInsertionModeStack[0]=C.IN_TABLE,e.insertionMode=C.IN_TABLE,Rt(e,t);break}case c.COL:{e.tmplInsertionModeStack[0]=C.IN_COLUMN_GROUP,e.insertionMode=C.IN_COLUMN_GROUP,ru(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=C.IN_TABLE_BODY,e.insertionMode=C.IN_TABLE_BODY,Tr(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=C.IN_ROW,e.insertionMode=C.IN_ROW,Ar(e,t);break}default:e.tmplInsertionModeStack[0]=C.IN_BODY,e.insertionMode=C.IN_BODY,Te(e,t)}}function Ub(e,t){t.tagID===c.TEMPLATE&&gt(e,t)}function Go(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):nu(e,t)}function Hb(e,t){t.tagID===c.HTML?Te(e,t):tr(e,t)}function Xo(e,t){var n;if(t.tagID===c.HTML){if(e.fragmentContext||(e.insertionMode=C.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===c.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else tr(e,t)}function tr(e,t){e.insertionMode=C.IN_BODY,gr(e,t)}function vb(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.FRAMESET:{e._insertElement(t,H.HTML);break}case c.FRAME:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.NOFRAMES:{Be(e,t);break}}}function zb(e,t){t.tagID===c.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==c.FRAMESET&&(e.insertionMode=C.AFTER_FRAMESET))}function qb(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.NOFRAMES:{Be(e,t);break}}}function $b(e,t){t.tagID===c.HTML&&(e.insertionMode=C.AFTER_AFTER_FRAMESET)}function Yb(e,t){t.tagID===c.HTML?Te(e,t):jn(e,t)}function jn(e,t){e.insertionMode=C.IN_BODY,gr(e,t)}function jb(e,t){switch(t.tagID){case c.HTML:{Te(e,t);break}case c.NOFRAMES:{Be(e,t);break}}}function Kb(e,t){t.chars=se,e._insertCharacters(t)}function Vb(e,t){e._insertCharacters(t),e.framesetOk=!1}function Jo(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==H.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Qb(e,t){if(cg(t))Jo(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===H.MATHML?Bo(t):r===H.SVG&&(lg(t),Po(t)),eu(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Wb(e,t){if(t.tagID===c.P||t.tagID===c.BR){Jo(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===H.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}x.AREA,x.BASE,x.BASEFONT,x.BGSOUND,x.BR,x.COL,x.EMBED,x.FRAME,x.HR,x.IMG,x.INPUT,x.KEYGEN,x.LINK,x.META,x.PARAM,x.SOURCE,x.TRACK,x.WBR;const Gb=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Xb=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),xs={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Zo(e,t){const n=aT(e),r=va("type",{handlers:{root:Jb,element:Zb,text:eT,comment:tc,doctype:tT,raw:rT},unknown:iT}),i={parser:n?new ks(xs):ks.getFragmentParser(void 0,xs),handle(a){r(a,i)},stitches:!1,options:t||{}};r(e,i),Yt(i,Qe());const u=n?i.parser.document:i.parser.getFragment(),s=oE(u,{file:i.options.file});return i.stitches&&He(s,"comment",function(a,o,l){const h=a;if(h.value.stitch&&l&&o!==void 0){const f=l.children;return f[o]=h.value.stitch,o}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function ec(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Jb(e,t){ec(e.children,t)}function Zb(e,t){uT(e,t),ec(e.children,t),sT(e,t)}function eT(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:ee.CHARACTER,chars:e.value,location:In(e)};Yt(t,Qe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tT(e,t){const n={type:ee.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:In(e)};Yt(t,Qe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nT(e,t){t.stitches=!0;const n=oT(e);if("children"in e&&"children"in n){const r=Zo({type:"root",children:e.children},t.options);n.children=r.children}tc({type:"comment",value:{stitch:n}},t)}function tc(e,t){const n=e.value,r={type:ee.COMMENT,data:n,location:In(e)};Yt(t,Qe(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rT(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,nc(t,Qe(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Gb,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function iT(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))nT(n,t);else{let r="";throw Xb.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Yt(e,t){nc(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ce.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function nc(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function uT(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ce.PLAINTEXT)return;Yt(t,Qe(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:dt.html;i===dt.html&&n==="svg"&&(i=dt.svg);const u=dE({...e,children:[]},{space:i===dt.svg?"svg":"html"}),s={type:ee.START_TAG,tagName:n,tagID:$t(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in u?u.attrs:[],location:In(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function sT(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&CE.includes(n)||t.parser.tokenizer.state===ce.PLAINTEXT)return;Yt(t,ur(e));const r={type:ee.END_TAG,tagName:n,tagID:$t(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:In(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ce.RCDATA||t.parser.tokenizer.state===ce.RAWTEXT||t.parser.tokenizer.state===ce.SCRIPT_DATA)&&(t.parser.tokenizer.state=ce.DATA)}function aT(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function In(e){const t=Qe(e)||{line:void 0,column:void 0,offset:void 0},n=ur(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function oT(e){return"children"in e?Ke({...e,children:[]}):Ke(e)}function cT(e){return function(t,n){return Zo(t,{...e,file:n})}}function lT(e,t){const n={type:"element",tagName:"em",properties:t.attributes||{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Os=/[\t\n\r]/g;function fT(e,t=4){const n=[];let r=0,i=0,u=-1;if(typeof e!="string")throw new TypeError("detab expected string");for(;i<e.length;){Os.lastIndex=i;const s=Os.exec(e),a=s?s.index:e.length;if(e.codePointAt(a)===9){const o=t-(u+a-i+1)%t;n.push(e.slice(r,a)," ".repeat(o)),u+=a-i+o,r=a+1}else u=-1;i=a+1}return n.push(e.slice(r)),n.join("")}function hT(e){if(!e?.trim())return{language:void 0,highlights:void 0,filename:void 0,meta:void 0};
186const t=e.replace(/[{|[](.+)/,"").match(/^[^ \t]+(?=[ \t]|$)/),n=e.match(/\{([^}]*)\}/),r=e.match(/\[(.*)\]/),i=e.replace(t?.[0]??"","").replace(n?.[0]??"","").replace(r?.[0]??"","").trim();let u;return r?.[1]&&(u=r[1].replace(/\\([[\]{}().*+?^$|])/g,"$1")),{language:t?.[0]||void 0,highlights:dT(n?.[1]||void 0),filename:u,meta:i}}function dT(e){const t=String(e||"").split(",").filter(Boolean).flatMap(n=>{const[r,i]=n.trim().split("-").map(u=>Number(u.trim()));return Array.from({length:(i||r||0)-(r||0)+1}).map((u,s)=>(r||0)+s)});return t.length?t:void 0}const mT=/^<\/?([\w-]+)(\s[^>]*?)?\/?>/;function rc(e){const t=String(e).match(mT);return t&&t[1]}const pT=(e,t)=>{const n=(t.lang||"")+" "+(t.meta||""),{language:r="text",highlights:i,filename:u,meta:s}=hT(n),a=t.value?fT(t.value+`
187`):"";let o={type:"element",tagName:"code",properties:{__ignoreMap:""},children:[{type:"text",value:a}]};s&&(o.data={meta:s}),e.patch(t,o),o=e.applyData(t,o);const l={language:r||"text",filename:u,highlights:i,meta:s,code:a};return r&&(l.className=["language-"+r]),o={type:"element",tagName:"pre",properties:l,children:[o]},e.patch(t,o),o};function ET(e,t){const n=rc(t.value);if(n&&/[A-Z]/.test(n)&&(t.value=t.value.replace(n,mn(n))),e.dangerous||e.options?.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function gT(e,t){const n={...t.attributes||{},href:st(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function bT(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s&&s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}(t.children||[]).some(s=>typeof s.checked=="boolean")&&(n.className=["contains-task-list"]);const u={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,u),e.applyData(t,u)}function TT(e,t){if(t.children&&t.children[0]&&t.children[0].type==="html"){const r=mn(rc(t.children[0].value)||"div");if(!Dc.has(r))return e.all(t)}const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function AT(e,t){const n={...t.attributes,src:st(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function CT(e,t){const n={type:"element",tagName:"strong",properties:t.attributes||{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _T(e,t){const n=t.attributes?.language||t.attributes?.lang,r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const i={type:"element",tagName:"code",properties:t.attributes||{},children:[r]},u=(i.properties.class||"").split(" ");return delete i.properties.class,n&&(i.properties.language=n,delete i.properties.lang,u.push("language-"+n)),i.properties.className=u.join(" "),e.patch(t,i),e.applyData(t,i)}function DT(e,t){const n={type:"element",tagName:t.name,properties:{...t.attributes,...t.data?.hProperties},children:e.all(t)};return e.patch(t,n),n.attributes=t.attributes,n.fmAttributes=t.fmAttributes,n}const yT={emphasis:lT,code:pT,link:gT,paragraph:TT,html:ET,list:bT,image:AT,strong:CT,inlineCode:_T,containerComponent:DT},ic={remark:{plugins:{"remark-mdc":{instance:rp},"remark-gfm":{instance:P1}}},rehype:{options:{handlers:yT,allowDangerousHtml:!0},plugins:{"rehype-external-links":{instance:Q1},"rehype-sort-attribute-values":{instance:W1},"rehype-sort-attributes":{instance:G1},"rehype-raw":{instance:cT,options:{passThrough:["element"]}}}},highlight:!1,toc:{searchDepth:2,depth:2}};function uc(e){return e.type==="comment"?"":e.type==="text"?e.value||"":(e.children||[]).reduce((t,n)=>t.concat(uc(n)),"")}function sc(e,t=2,n=0){return!Array.isArray(e.children)||n===t?[e]:[e,...e.children.reduce((r,i)=>r.concat(sc(i,t,n+1)),[])]}const ac=["h2","h3","h4","h5","h6"],ST=ac.reduce((e,t)=>
187(e[t]=Number(t.charAt(t.length-1)),e),{}),kT=e=>ST[e.tag],IT=e=>((e<1||e>5)&&(console.log(`\`toc.depth\` is set to ${e}. It should be a number between 1 and 5. `),e=1),ac.slice(0,e));function oc(e){if(e.length<=1)return e;const t=[];let n;return e.forEach(r=>{!n||r.depth<=n.depth?(r.children=[],n=r,t.push(r)):n.children.push(r)}),t.forEach(r=>{r.children?.length?r.children=oc(r.children):delete r.children}),t}function NT(e,t){const{searchDepth:n,depth:r,title:i=""}=t,u=IT(r),a=sc(e,n).filter(o=>u.includes(o.tag||"")).map(o=>({id:o.props?.id,depth:kT(o),text:uc(o)}));return{title:i,searchDepth:n,depth:r,links:a}}function xT(e,t){const n=NT(e,t);return n.links=oc(n.links),n}function cc(e){return"children"in e?lc(e):"value"in e?e.value:""}function OT(e){return e.type==="text"?e.value:"children"in e?lc(e):""}function lc(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=OT(e.children[t]);return n.join("")}const LT=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D
1877E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,FT=Object.hasOwnProperty;class wT{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let i=RT(t,n===!0);const u=i;for(;FT.call(r.occurrences,i);)r.occurrences[u]++,i=u+"-"+r.occurrences[u];return r.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}function RT(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(LT,"").replace(/ /g,"-"))}const BT=["object"],PT=["srcdoc","formaction"],MT=["javascript:","data:text/html","vbscript:","data:text/javascript","data:text/vbscript","data:text/css","data:text/plain","data:text/xml"];function UT(e){const n=decodeURIComponent(e).replace(/&#x([0-9a-f]+);?/gi,"").replace(/&#(\d+);?/g,"").replace(/&[a-z]+;?/gi,"");
187try{const r=new URL(n,"http://example.com");if(r.origin==="http://example.com")return!0;if(MT.some(i=>r.protocol.toLowerCase().startsWith(i)))return!1}catch{return!1}return!0}const HT=(e,t)=>(e=e.toLowerCase(),e.startsWith("on")||PT.includes(e)?!1:e==="href"||e==="src"?UT(t):!0),vT=(e,t)=>BT.includes(e)?{}:t?(t=Object.fromEntries(Object.entries(t).filter(([n,r])=>{if(t?.[`:${n}`])return!1;const i=HT(n,r);return i||console.warn(`[@nuxtjs/mdc] removing unsafe attribute: ${n}="${r}"`),i})),e==="pre"&&typeof t.highlights=="string"&&(t.highlights=t.highlights.split(" ").map(n=>Number.parseInt(n))),t):{};function zT(e={}){const t=new wT;function n(r,i){if(r.type==="root")return{type:"root",children:r.children.map(s=>n(s,r)).filter(Boolean)};const u=r.position?.start?.offset&&r.position?.end?.offset?{start:r.position.start.offset,end:r.position.end.offset}:void 0;if(r.type==="element"){if(r.tagName==="p"&&r.children.every(o=>o.type==="text"&&/^\s*$/.test(o.value)))return null;if(r.tagName==="li"){let o=!1;r.children=r.children?.flatMap(l=>l.type==="element"&&l.tagName==="p"?(o&&l.children.unshift({type:"element",tagName:"br",properties:{},children:[]}),o=!0,l.children):l)}r.tagName?.match(/^h\d$/)&&(r.properties=r.properties||{},r.properties.id=String(r.properties?.id||t.slug(cc(r))).replace(/-+/g,"-").replace(/^-|-$/g,"").replace(/^(\d)/,"_$1")),r.tagName==="component-slot"&&(r.tagName="template");const s=(r.tagName==="template"&&r.content?.children.length?r.content.children:r.children).map(o=>n(o,r)).filter(Boolean),a={type:"element",tag:r.tagName,props:vT(r.tagName,r.properties),children:s};return e.keepPosition&&(a.position=u),a}return r.type==="text"&&(!/^\n+$/.test(r.value||"")||i?.properties?.emptyLinePlaceholder)?e.keepPosition?{type:"text",value:r.value,position:u}:{type:"text",value:r.value}:e.keepComments&&r.type==="comment"?e.keepPosition?{type:"comment",value:r.value,position:u}:{type:"comment",value:r.value}:null}this.Compiler=r=>{const i=n(r);let u;const s=r.children.findIndex(a=>a.type==="comment"&&a.value?.trim()==="more");if(s!==-1&&(u=n({type:"root",children:r.children.slice(0,s)}),u.children.find(a=>a.type==="element"&&a.tag==="pre"))){const a=i.children[i.children.length-1];a&&a.type==="element"&&a.tag==="style"&&u.children.push(a)}return i.children=(i.children||[]).filter(a=>a.type!=="text"),{body:i,excerpt:u}}}let en,Vr;const fc=async(e={})=>{en||(en=await lu(()=>import("./Di1XGXAQ.js"),__vite__mapDeps([0,1,2]),import.meta.url).catch(()=>({}))),Vr||(Vr=await lu(()=>import("./bNaE6FFb.js"),[],import.meta.url).then(i=>i.getMdcConfigs()).catch(()=>[]));const t=[...Vr||[],...e.configs||[]];e.highlight!=null&&e.highlight!=!1&&e.highlight.highlighter!==void 0&&typeof e.highlight.highlighter!="function"&&(e={...e,highlight:{...e.highlight}},delete e.highlight.highlighter);const n=Qr(e,{remark:{plugins:en?.remarkPlugins},rehype:{plugins:en?.rehypePlugins},highlight:en?.highlight},ic);n.rehype?.plugins?.highlight&&(e.highlight===!1?delete n.rehype.plugins.highlight:n.rehype.plugins.highlight.options=Qr({},n.rehype.plugins.highlight.options,n.highlight||{}));let r=Qc();for(const i of t)r=await i.unified?.pre?.(r)||r;r.use(eh);for(const i of t)r=await i.unified?.remark?.(r)||r;await us(r,n.remark?.plugins),r.use(Wh,n.rehype?.options);for(const i of t)r=await i.unified?.rehype?.(r)||r;await us(r,n.rehype?.plugins),r.use(zT,n);for(const i of t)r=await i.unified?.post?.(r)||r;return r},hc=async(e={})=>{const t=await fc(e);return async function(r,{fileOptions:i}={}){const{content:u,data:s}=await Za(r),a=typeof process<"u"&&typeof process.cwd=="function"?process.cwd():"/tmp",o=await new Promise((d,E)=>{t.process({cwd:a,...i,value:u,data:s},(p,A)=>{p?E(p):d(A)})}),l=o?.result,h=Object.assign(e.contentHeading!==!1?$T(l.body):{},s,o?.data||{}),f={data:h,body:l.body},m=h.toc??e.toc;if(m!==!1){const d=Qr({},m,ic.toc);f.toc=xT(l.body,d)}return l.excerpt&&(f.excerpt=l.excerpt),f}},qT=async(e,t={},n={})=>(await hc(t))(e.replace(/\r\n/g,`
188`),n);function $T(e){let t="",n="";const r=e.children.filter(i=>i.type==="element"&&i.tag!=="hr");
188if(r.length&&r[0].tag==="h1"){const i=r.shift();t=Wr(i)}if(r.length&&r[0].tag==="p"){const i=r.shift();n=Wr(i)}return{title:t,description:n}}function YT(e){const t=e;return async n=>{const r=[],i=[];He(n,u=>{const s=u;if(!["pre","code"].includes(s.tagName))return!1;const a=s.properties?.language!==void 0&&s.properties?.language!=="text",o=!!s.properties?.highlights;return a||o},u=>{const s=u,a=typeof s.properties.highlights=="string"?s.properties.highlights.split(/[,\s]+/).map(Number):Array.isArray(s.properties.highlights)?s.properties.highlights.map(Number):[],o=t.highlighter(cc(u),s.properties.language,t.theme,{highlights:a.filter(Boolean),meta:s.properties.meta}).then(({tree:l,className:h,style:f,inlineStyle:m})=>{s.properties.className=((s.properties.className||"")+" "+h).trim(),s.properties.style=((s.properties.style||"")+" "+m).trim(),s.children[0]?.tagName==="code"?s.children[0].children=l:s.children=l[0].children||l,f&&i.push(f)});r.push(o)}),r.length&&(await Promise.all(r),n.children.push({type:"element",tagName:"style",children:[{type:"text",value:jT(i.join(""))}],properties:{}}))}}const jT=e=>{const t=e.split("}").filter(n=>!!n.trim()).map(n=>n.trim()+"}");return Array.from(new Set(t)).join("")},WT=Object.freeze(Object.defineProperty({__proto__:null,TEXT_TAGS:yc,createMarkdownParser:hc,createParseProcessor:fc,flatUnwrap:Sc,isTag:kc,isText:Ic,nodeChildren:Nc,nodeTextContent:Wr,parseMarkdown:qT,rehypeHighlight:YT,unwrap:xc},Symbol.toStringTag,{value:"Module"}));export{X1 as a,Y1 as b,ss as c,ap as f,CE as h,WT as i,YT as r,QT as s,va as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.