PageSourceSearch

https://www.datalogics.com/_nuxt/BZGiojtT.js

js datalogics.com collected 2026-09-24 18:25:24 UTC 458,915 bytes, 188 lines download raw bytes

vendor: 13,440 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BYFzCOCr.js","./FCO_fxzA.js","./entry.D1CQof9q.css"])))=>i.map(i=>d[i]);
2import{aW as yc,aX as pn,aY as _i,aZ as lu,a_ as ir,a$ as Cn,b0 as Sc,a1 as Gr,aG as fu,b1 as Xr,b2 as kc,F as Nc,b3 as Ic,b4 as xc,b5 as Oc,b6 as Lc}from"./FCO_fxzA.js";function hu(e){if(e)throw e}var Dr,du;function Fc(){if(du)return Dr;du=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 Dr=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},Dr}var wc=Fc();const yr=yc(wc);function Jr(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 Rc(){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?Bc(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 Bc(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 sn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?mu(e.position):"start"in e||"end"in e?mu(e):"line"in e||"column"in e?Zr(e):""}function Zr(e){return pu(e&&e.line)+":"+pu(e&&e.column)}function mu(e){return Zr(e&&e.start)+"-"+Zr(e&&e.end)}function pu(e){return e&&typeof e=="number"?e:1}class ye 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=sn(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}}ye.prototype.file="";ye.prototype.name="";ye.prototype.reason="";ye.prototype.message="";ye.prototype.stack="";ye.prototype.column=void 0;ye.prototype.line=void 0;ye.prototype.ancestors=void 0;ye.prototype.cause=void 0;ye.prototype.fatal=void 0;ye.prototype.place=void 0;ye.prototype.ruleId=void 0;ye.prototype.source=void 0;const Me={basename:Pc,dirname:Mc,extname:Uc,join:Hc,sep:"/"};function Pc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');_n(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 Mc(e){if(_n(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 Uc(e){_n(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 Hc(...e){let t=-1,n;for(;++t<e.length;)_n(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":vc(n)}function vc(e){_n(e);const t=e.codePointAt(0)===47;let n=zc(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function zc(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 _n(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const qc={cwd:$c};function $c(){return"/"}function ei(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Yc(e){if(typeof e=="string")e=new URL(e);else if(!ei(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 jc(e)}function jc(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 Sr=["history","path","basename","stem","extname","dirname"];class Kc{constructor(t){let n;t?ei(t)?n={path:t}:typeof t=="string"||Vc(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":qc.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Sr.length;){const u=Sr[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)Sr.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Me.basename(this.path):void 0}set basename(t){Nr(t,"basename"),kr(t,"basename"),this.path=Me.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Me.dirname(this.path):void 0}set dirname(t){Eu(this.basename,"dirname"),this.path=Me.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Me.extname(this.path):void 0}set extname(t){if(kr(t,"extname"),Eu(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=Me.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ei(t)&&(t=Yc(t)),Nr(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Me.basename(this.path,this.extname):void 0}set stem(t){Nr(t,"stem"),kr(t,"stem"),this.path=Me.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 ye(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 kr(e,t){if(e&&e.includes(Me.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Me.sep+"`")}function Nr(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Eu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Vc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Qc=(function(e){const r=this.constructor.prototype,i=r[e],u=function(){return i.apply(u,arguments)};return Object.setPrototypeOf(u,r),u}),Wc={}.hasOwnProperty;class Di extends Qc{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=Rc()}copy(){const t=new Di;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(yr(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Or("data",this.frozen),this.namespace[t]=n,this):Wc.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Or("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=On(t),r=this.parser||this.Parser;return Ir("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ir("process",this.parser||this.Parser),xr("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(u,s){const a=On(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);Jc(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(),Ir("processSync",this.parser||this.Parser),xr("processSync",this.compiler||this.Compiler),this.process(t,i),bu("processSync","process",n),r;function i(u,s){n=!0,hu(u),r=s}}run(t,n,r){gu(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=On(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),bu("runSync","run",r),i;function u(s,a){hu(s),i=a,r=!0}}stringify(t,n){this.freeze();const r=On(n),i=this.compiler||this.Compiler;return xr("stringify",i),gu(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Or("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=yr(!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];Jr(p)&&Jr(d)&&(d=yr(!0,p,d)),r[m]=[l,d,...E]}}}}const Gc=new Di().freeze();function Ir(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function xr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Or(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 gu(e){if(!Jr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function bu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function On(e){return Xc(e)?e:new Kc(e)}function Xc(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}
vendor: 13,716 bytes, line 2
2function Jc(e){return typeof e=="string"||Zc(e)}function Zc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const el={};function yi(e,t){const n=el,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Fs(e,r,i)}function Fs(e,t,n){if(tl(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 Tu(e.children,t,n)}return Array.isArray(e)?Tu(e,t,n):""}function Tu(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Fs(e[i],t,n);return r.join("")}function tl(e){return!!(e&&typeof e=="object")}const Au=document.createElement("i");function En(e){const t="&"+e+";";Au.innerHTML=t;const n=Au.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ne(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?(Ne(e,e.length,0,t),e):t}const Cu={}.hasOwnProperty;function ws(e){const t={};let n=-1;for(;++n<e.length;)nl(t,e[n]);return t}function nl(e,t){let n;for(n in t){const i=(Cu.call(e,n)?e[n]:void 0)||(e[n]={}),u=t[n];let s;if(u)for(s in u){Cu.call(i,s)||(i[s]=[]);const a=u[s];rl(i[s],Array.isArray(a)?a:a?[a]:[])}}}function rl(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ne(e,0,0,r)}function Rs(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 Re(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const pe=st(/[A-Za-z]/),de=st(/[\dA-Za-z]/),il=st(/[#-'*+\--9=?A-Z^-~]/);function Vn(e){return e!==null&&(e<32||e===127)}const ti=st(/\d/),ul=st(/[\dA-Fa-f]/),sl=st(/[!-/:-@[-`{-~]/);function K(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function Q(e){return e===-2||e===-1||e===32}const ur=st(new RegExp("\\p{P}|\\p{S}","u")),pt=st(/\s/);function st(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function at(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 V(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return s;function s(o){return Q(o)?(e.enter(n),a(o)):t(o)}function a(o){return Q(o)&&u++<i?(e.consume(o),a):(e.exit(n),t(o))}}const al={tokenize:ol};function ol(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"),V(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 K(a)?(e.consume(a),e.exit("chunkText"),u):(e.consume(a),s)}}const cl={tokenize:ll},_u={tokenize:fl};function ll(e){const t=this,n=[];let r=0,i,u,s;return a;function a(I){if(r<n.length){const L=n[r];return t.containerState=L[1],e.attempt(L[0].continuation,o,l)(I)}return l(I)}function o(I){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&k();const L=t.events.length;let P=L,N;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){N=t.events[P][1].end;break}T(r);let z=L;for(;z<t.events.length;)t.events[z][1].end={...N},z++;return Ne(t.events,P+1,0,t.events.slice(L)),t.events.length=z,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(_u,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(_u,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 K(I)?(e.consume(I),A(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(I),p)}function A(I,L){const P=t.sliceStream(I);if(L&&P.push(null),I.previous=u,u&&(u.next=I),u=I,i.defineSkip(I.start),i.write(P),t.parser.lazy[I.start.line]){let N=i.events.length;for(;N--;)if(i.events[N][1].start.offset<s&&(!i.events[N][1].end||i.events[N][1].end.offset>s))return;const z=t.events.length;let w=z,Y,x;for(;w--;)if(t.events[w][0]==="exit"&&t.events[w][1].type==="chunkFlow"){if(Y){x=t.events[w][1].end;break}Y=!0}for(T(r),N=z;N<t.events.length;)t.events[N][1].end={...x},N++;Ne(t.events,w+1,0,t.events.slice(z)),t.events.length=N}}function T(I){let L=n.length;for(;L-- >I;){const P=n[L];t.containerState=P[1],P[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 fl(e,t,n){return V(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ot(e){if(e===null||te(e)||pt(e))return 1;if(ur(e))return 2}function sr(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 ni={name:"attention",resolveAll:hl,tokenize:dl};function hl(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};Du(f,-o),Du(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,sr(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,Ne(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 dl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ot(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=Ot(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 Du(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ml={name:"autolink",tokenize:pl};function pl(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||Vn(d)?n(d):(e.consume(d),o)}function l(d){return d===64?(e.consume(d),h):il(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 Dn={partial:!0,tokenize:El};function El(e,t,n){return r;function r(u){return Q(u)?V(e,i,"linePrefix")(u):i(u)}function i(u){return u===null||K(u)?t(u):n(u)}}const Bs={continuation:{tokenize:bl},exit:Tl,name:"blockQuote",tokenize:gl};function gl(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 Q(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function bl(e,t,n){const r=this;return i;function i(s){return Q(s)?V(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):u(s)}function u(s){return e.attempt(Bs,t,n)(s)}}function Tl(e){e.exit("blockQuote")}const Ps={name:"characterEscape",tokenize:Al};function Al(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 sl(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(u)}}const Ms={name:"characterReference",tokenize:Cl};function Cl(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=ul,h):(e.enter("characterReferenceValue"),u=7,s=ti,h(f))}function h(f){if(f===59&&i){const m=e.exit("characterReferenceValue");return s===de&&!En(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 yu={partial:!0,tokenize:Dl},ri={concrete:!0,name:"codeFenced",tokenize:_l};function _l(e,t,n){const r=this,i={partial:!0,tokenize:P};let u=0,s=0,a;return o;function o(N){return l(N)}function l(N){const z=r.events[r.events.length-1];return u=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,a=N,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(N)}function h(N){return N===a?(s++,e.consume(N),h):s<3?n(N):(e.exit("codeFencedFenceSequence"),Q(N)?V(e,f,"whitespace")(N):f(N))}function f(N){return N===null||K(N)?(e.exit("codeFencedFence"),r.interrupt?t(N):e.check(yu,p,L)(N)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(N))}function m(N){return N===null||K(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(N)):Q(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),V(e,d,"whitespace")(N)):N===96&&N===a?n(N):(e.consume(N),m)}function d(N){return N===null||K(N)?f(N):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(N))}function E(N){return N===null||K(N)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(N)):N===96&&N===a?n(N):(e.consume(N),E)}function p(N){return e.attempt(i,L,A)(N)}function A(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),T}function T(N){return u>0&&Q(N)?V(e,k,"linePrefix",u+1)(N):k(N)}function k(N){return N===null||K(N)?e.check(yu,p,L)(N):(e.enter("codeFlowValue"),I(N))}function I(N){return N===null||K(N)?(e.exit("codeFlowValue"),k(N)):(e.consume(N),I)}function L(N){return e.exit("codeFenced"),t(N)}function P(N,z,w){let Y=0;return x;function x(X){return N.enter("lineEnding"),N.consume(X),N.exit("lineEnding"),M}function M(X){return N.enter("codeFencedFence"),Q(X)?V(N,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):H(X)}function H(X){return X===a?(N.enter("codeFencedFenceSequence"),j(X)):w(X)}function j(X){return X===a?(Y++,N.consume(X),j):Y>=s?(N.exit("codeFencedFenceSequence"),Q(X)?V(N,G,"whitespace")(X):G(X)):w(X)}function G(X){return X===null||K(X)?(N.exit("codeFencedFence"),z(X)):w(X)}}}function Dl(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 Lr={name:"codeIndented",tokenize:Sl},yl={partial:!0,tokenize:kl};function Sl(e,t,n){const r=this;return i;
vendor: 9,796 bytes, line 2
2function i(l){return e.enter("codeIndented"),V(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):K(l)?e.attempt(yl,s,o)(l):(e.enter("codeFlowValue"),a(l))}function a(l){return l===null||K(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),a)}function o(l){return e.exit("codeIndented"),t(l)}}function kl(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):K(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):V(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):K(s)?i(s):n(s)}}const Nl={name:"codeText",previous:xl,resolve:Il,tokenize:Ol};function Il(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 xl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ol(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)):K(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||K(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 Ll{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 Us(e){const t={};let n=-1,r,i,u,s,a,o,l;const h=new Ll(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,Fl(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 Ne(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!l}function Fl(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 wl={resolve:Bl,tokenize:Pl},Rl={partial:!0,tokenize:Ml};function Bl(e){return Us(e),e}function Pl(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):K(a)?e.check(Rl,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 Ml(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),V(e,u,"linePrefix")}function u(s){if(s===null||K(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 Hs(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||Vn(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||K(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||Vn(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 vs(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):K(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||K(d)||a++>999?(e.exit("chunkString"),h(d)):(e.consume(d),o||(o=!Q(d)),d===92?m:f)}function m(d){return d===91||d===92||d===93?(e.consume(d),a++,f):f(d)}}function zs(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):K(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),V(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===s||m===null||K(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 He(e,t){let n;return r;function r(i){return K(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Q(i)?V(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Ul={name:"definition",tokenize:vl},Hl={partial:!0,tokenize:zl};function vl(e,t,n){const r=this;let i;return u;function u(d){return e.enter("definition"),s(d)}function s(d){return vs.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return i=Re(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)?He(e,l)(d):l(d)}function l(d){return Hs(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function h(d){return e.attempt(Hl,f,f)(d)}function f(d){return Q(d)?V(e,m,"whitespace")(d):m(d)}function m(d){return d===null||K(d)?(e.exit("definition"),r.parser.defined.push(i),t(d
vendor: 13,772 bytes, line 2
2)):n(d)}}function zl(e,t,n){return r;function r(a){return te(a)?He(e,i)(a):n(a)}function i(a){return zs(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function u(a){return Q(a)?V(e,s,"whitespace")(a):s(a)}function s(a){return a===null||K(a)?t(a):n(a)}}const ql={name:"hardBreakEscape",tokenize:$l};function $l(e,t,n){return r;function r(u){return e.enter("hardBreakEscape"),e.consume(u),i}function i(u){return K(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}const Yl={name:"headingAtx",resolve:jl,tokenize:Kl};function jl(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"},Ne(e,r,n-r+1,[["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t]])),e}function Kl(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||K(h)?(e.exit("atxHeading"),t(h)):Q(h)?V(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 Vl=["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"],Su=["pre","script","style","textarea"],Ql={concrete:!0,name:"htmlFlow",resolveTo:Xl,tokenize:Jl},Wl={partial:!0,tokenize:ef},Gl={partial:!0,tokenize:Zl};function Xl(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 Jl(e,t,n){const r=this;let i,u,s,a,o;return l;function l(D){return h(D)}function h(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),f}function f(D){return D===33?(e.consume(D),m):D===47?(e.consume(D),u=!0,p):D===63?(e.consume(D),i=3,r.interrupt?t:_):pe(D)?(e.consume(D),s=String.fromCharCode(D),A):n(D)}function m(D){return D===45?(e.consume(D),i=2,d):D===91?(e.consume(D),i=5,a=0,E):pe(D)?(e.consume(D),i=4,r.interrupt?t:_):n(D)}function d(D){return D===45?(e.consume(D),r.interrupt?t:_):n(D)}function E(D){const Z="CDATA[";return D===Z.charCodeAt(a++)?(e.consume(D),a===Z.length?r.interrupt?t:H:E):n(D)}function p(D){return pe(D)?(e.consume(D),s=String.fromCharCode(D),A):n(D)}function A(D){if(D===null||D===47||D===62||te(D)){const Z=D===47,ge=s.toLowerCase();return!Z&&!u&&Su.includes(ge)?(i=1,r.interrupt?t(D):H(D)):Vl.includes(s.toLowerCase())?(i=6,Z?(e.consume(D),T):r.interrupt?t(D):H(D)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(D):u?k(D):I(D))}return D===45||de(D)?(e.consume(D),s+=String.fromCharCode(D),A):n(D)}function T(D){return D===62?(e.consume(D),r.interrupt?t:H):n(D)}function k(D){return Q(D)?(e.consume(D),k):x(D)}function I(D){return D===47?(e.consume(D),x):D===58||D===95||pe(D)?(e.consume(D),L):Q(D)?(e.consume(D),I):x(D)}function L(D){return D===45||D===46||D===58||D===95||de(D)?(e.consume(D),L):P(D)}function P(D){return D===61?(e.consume(D),N):Q(D)?(e.consume(D),P):I(D)}function N(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),o=D,z):Q(D)?(e.consume(D),N):w(D)}function z(D){return D===o?(e.consume(D),o=null,Y):D===null||K(D)?n(D):(e.consume(D),z)}function w(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||te(D)?P(D):(e.consume(D),w)}function Y(D){return D===47||D===62||Q(D)?I(D):n(D)}function x(D){return D===62?(e.consume(D),M):n(D)}function M(D){return D===null||K(D)?H(D):Q(D)?(e.consume(D),M):n(D)}function H(D){return D===45&&i===2?(e.consume(D),oe):D===60&&i===1?(e.consume(D),S):D===62&&i===4?(e.consume(D),re):D===63&&i===3?(e.consume(D),_):D===93&&i===5?(e.consume(D),y):K(D)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Wl,se,j)(D)):D===null||K(D)?(e.exit("htmlFlowData"),j(D)):(e.consume(D),H)}function j(D){return e.check(Gl,G,se)(D)}function G(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),X}function X(D){return D===null||K(D)?j(D):(e.enter("htmlFlowData"),H(D))}function oe(D){return D===45?(e.consume(D),_):H(D)}function S(D){return D===47?(e.consume(D),s="",q):H(D)}function q(D){if(D===62){const Z=s.toLowerCase();return Su.includes(Z)?(e.consume(D),re):H(D)}return pe(D)&&s.length<8?(e.consume(D),s+=String.fromCharCode(D),q):H(D)}function y(D){return D===93?(e.consume(D),_):H(D)}function _(D){return D===62?(e.consume(D),re):D===45&&i===2?(e.consume(D),_):H(D)}function re(D){return D===null||K(D)?(e.exit("htmlFlowData"),se(D)):(e.consume(D),re)}function se(D){return e.exit("htmlFlow"),t(D)}}function Zl(e,t,n){const r=this;return i;function i(s){return K(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 ef(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Dn,t,n)}}const tf={name:"htmlText",tokenize:nf};function nf(e,t,n){const r=this;let i,u,s;return a;function a(_){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(_),o}function o(_){return _===33?(e.consume(_),l):_===47?(e.consume(_),P):_===63?(e.consume(_),I):pe(_)?(e.consume(_),w):n(_)}function l(_){return _===45?(e.consume(_),h):_===91?(e.consume(_),u=0,E):pe(_)?(e.consume(_),k):n(_)}function h(_){return _===45?(e.consume(_),d):n(_)}function f(_){return _===null?n(_):_===45?(e.consume(_),m):K(_)?(s=f,S(_)):(e.consume(_),f)}function m(_){return _===45?(e.consume(_),d):f(_)}function d(_){return _===62?oe(_):_===45?m(_):f(_)}function E(_){const re="CDATA[";return _===re.charCodeAt(u++)?(e.consume(_),u===re.length?p:E):n(_)}function p(_){return _===null?n(_):_===93?(e.consume(_),A):K(_)?(s=p,S(_)):(e.consume(_),p)}function A(_){return _===93?(e.consume(_),T):p(_)}function T(_){return _===62?oe(_):_===93?(e.consume(_),T):p(_)}function k(_){return _===null||_===62?oe(_):K(_)?(s=k,S(_)):(e.consume(_),k)}function I(_){return _===null?n(_):_===63?(e.consume(_),L):K(_)?(s=I,S(_)):(e.consume(_),I)}function L(_){return _===62?oe(_):I(_)}function P(_){return pe(_)?(e.consume(_),N):n(_)}function N(_){return _===45||de(_)?(e.consume(_),N):z(_)}function z(_){return K(_)?(s=z,S(_)):Q(_)?(e.consume(_),z):oe(_)}function w(_){return _===45||de(_)?(e.consume(_),w):_===47||_===62||te(_)?Y(_):n(_)}function Y(_){return _===47?(e.consume(_),oe):_===58||_===95||pe(_)?(e.consume(_),x):K(_)?(s=Y,S(_)):Q(_)?(e.consume(_),Y):oe(_)}function x(_){return _===45||_===46||_===58||_===95||de(_)?(e.consume(_),x):M(_)}function M(_){return _===61?(e.consume(_),H):K(_)?(s=M,S(_)):Q(_)?(e.consume(_),M):Y(_)}function H(_){return _===null||_===60||_===61||_===62||_===96?n(_):_===34||_===39?(e.consume(_),i=_,j):K(_)?(s=H,S(_)):Q(_)?(e.consume(_),H):(e.consume(_),G)}function j(_){return _===i?(e.consume(_),i=void 0,X):_===null?n(_):K(_)?(s=j,S(_)):(e.consume(_),j)}function G(_){return _===null||_===34||_===39||_===60||_===61||_===96?n(_):_===47||_===62||te(_)?Y(_):(e.consume(_),G)}function X(_){return _===47||_===62||te(_)?Y(_):n(_)}function oe(_){return _===62?(e.consume(_),e.exit("htmlTextData"),e.exit("htmlText"),t):n(_)}function S(_){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),q}function q(_){return Q(_)?V(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):y(_)}function y(_){return e.enter("htmlTextData"),s(_)}}const Si={name:"labelEnd",resolveAll:af,resolveTo:of,tokenize:cf},rf={tokenize:lf},uf={tokenize:ff},sf={tokenize:hf};function af(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&&Ne(e,0,e.length,n),e}function of(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,sr(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]]),Ne(e,u,e.length,a),e}function cf(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(Re(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(rf,h,s?h:f)(m):m===91?e.attempt(uf,h,s?l:f)(m):s?h(m):f(m)}function l(m){return e.attempt(sf,h,f)(m)}function h(m){return t(m)}function f(m){return u._balanced=!0,n(m)}}function lf(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)?He(e,u)(f):u(f)}function u(f){return f===41?h(f):Hs(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return te(f)?He(e,o)(f):h(f)}function a(f){return n(f)}function o(f){return f===34||f===39||f===40?zs(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function l(f){return te(f)?He(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 ff(e,t,n){const r=this;return i;function i(a){return vs.call(r,e,u,s,"reference","referenceMarker","referenceString")(a)}function u(a){return r.parser.defined.includes(Re(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function s(a){return n(a)}}function hf(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 df={name:"labelStartImage",resolveAll:Si.resolveAll,tokenize:mf};function mf(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 pf={name:"labelStartLink",resolveAll:Si.resolveAll,tokenize:Ef};function Ef(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 Fr={name:"lineEnding",tokenize:gf};function gf(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),V(e,t,"linePrefix")}}const zn={name:"thematicBreak",tokenize:bf};function bf(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||K(l))?(e.exit("thematicBreak"),t(l)):n(l)}function o(l){return l===i?(e.consume(l),r++,o):(e.exit("thematicBreakSequence"),Q(l)?V(e,a,"whitespace")(l):a(l))}}const De={continuation:{tokenize:_f},exit:yf,name:"list",tokenize:Cf},Tf={partial:!0,tokenize:Sf},Af={partial:!0,tokenize:Df};function Cf(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:ti(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(zn,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 ti(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(Dn,r.interrupt?n:h,e.attempt(Tf,m,f))}
vendor: 5,348 bytes, line 2
2function h(d){return r.containerState.initialBlankLine=!0,u++,m(d)}function f(d){return Q(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 _f(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Dn,i,u);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,V(e,t,"listItemIndent",r.containerState.size+1)(a)}function u(a){return r.containerState.furtherBlankLines||!Q(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(Af,t,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,V(e,e.attempt(De,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Df(e,t,n){const r=this;return V(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 yf(e){e.exit(this.containerState.type)}function Sf(e,t,n){const r=this;return V(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!Q(u)&&s&&s[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}const ku={name:"setextUnderline",resolveTo:kf,tokenize:Nf};function kf(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 Nf(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"),Q(l)?V(e,o,"lineSuffix")(l):o(l))}function o(l){return l===null||K(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const If={tokenize:xf};function xf(e){const t=this,n=e.attempt(Dn,r,e.attempt(this.parser.constructs.flowInitial,i,V(e,e.attempt(this.parser.constructs.flow,i,e.attempt(wl,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 Of={resolveAll:$s()},Lf=qs("string"),Ff=qs("text");function qs(e){return{resolveAll:$s(e==="text"?wf: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 $s(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 wf(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 Rf={42:De,43:De,45:De,48:De,49:De,50:De,51:De,52:De,53:De,54:De,55:De,56:De,57:De,62:Bs},Bf={91:Ul},Pf={[-2]:Lr,[-1]:Lr,32:Lr},Mf={35:Yl,42:zn,45:[ku,zn],60:Ql,61:ku,95:zn,96:ri,126:ri},Uf={38:Ms,92:Ps},Hf={[-5]:Fr,[-4]:Fr,[-3]:Fr,33:df,38:Ms,42:ni,60:[ml,tf],91:pf,92:[ql,Ps],93:Si,95:ni,96:Nl},vf={null:[ni,Of]},zf={null:[42,95]},qf={null:[]},$f=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:zf,contentInitial:Bf,disable:qf,document:Rf,flow:Mf,flowInitial:Pf,insideSpan:vf,string:Uf,text:Hf},Symbol.toStringTag,{value:"Module"}));function Yf(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 11,852 bytes, lines 2-4
2olumn:n&&n.column||1,offset:n&&n.offset||0};const i={},u=[];let s=[],a=[];const o={attempt:z(P),check:z(N),consume:k,enter:I,exit:L,interrupt:z(N,{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(M){return s=Ie(s,M),A(),s[s.length-1]!==null?[]:(w(t,0),l.events=sr(u,l.events,l),l.events)}function m(M,H){return Kf(d(M),H)}function d(M){return jf(s,M)}function E(){const{_bufferIndex:M,_index:H,line:j,column:G,offset:X}=r;return{_bufferIndex:M,_index:H,line:j,column:G,offset:X}}function p(M){i[M.line]=M.column,x()}function A(){let M;for(;r._index<s.length;){const H=s[r._index];if(typeof H=="string")for(M=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===M&&r._bufferIndex<H.length;)T(H.charCodeAt(r._bufferIndex));else T(H)}}function T(M){h=h(M)}function k(M){K(M)?(r.line++,r.column=1,r.offset+=M===-3?2:1,x()):M!==-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=M}function I(M,H){const j=H||{};return j.type=M,j.start=E(),l.events.push(["enter",j,l]),a.push(j),j}function L(M){const H=a.pop();return H.end=E(),l.events.push(["exit",H,l]),H}function P(M,H){w(M,H.from)}function N(M,H){H.restore()}function z(M,H){return j;function j(G,X,oe){let S,q,y,_;return Array.isArray(G)?se(G):"tokenize"in G?se([G]):re(G);function re(be){return jt;function jt(Xe){const gt=Xe!==null&&be[Xe],bt=Xe!==null&&be.null,xn=[...Array.isArray(gt)?gt:gt?[gt]:[],...Array.isArray(bt)?bt:bt?[bt]:[]];return se(xn)(Xe)}}function se(be){return S=be,q=0,be.length===0?oe:D(be[q])}function D(be){return jt;function jt(Xe){return _=Y(),y=be,be.partial||(l.currentConstruct=be),be.name&&l.parser.constructs.disable.null.includes(be.name)?ge():be.tokenize.call(H?Object.assign(Object.create(l),H):l,o,Z,ge)(Xe)}}function Z(be){return M(y,_),X}function ge(be){return _.restore(),++q<S.length?D(S[q]):oe}}}function w(M,H){M.resolveAll&&!u.includes(M)&&u.push(M),M.resolve&&Ne(l.events,H,l.events.length-H,M.resolve(l.events.slice(H),l)),M.resolveTo&&(l.events=M.resolveTo(l.events,l))}function Y(){const M=E(),H=l.previous,j=l.currentConstruct,G=l.events.length,X=Array.from(a);return{from:G,restore:oe};function oe(){r=M,l.previous=H,l.currentConstruct=j,l.events.length=G,a=X,x()}}function x(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function jf(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 Kf(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 Vf(e){const r={constructs:ws([$f,...(e||{}).extensions||[]]),content:i(al),defined:[],document:i(cl),flow:i(If),lazy:{},string:i(Lf),text:i(Ff)};return r;function i(u){return s;function s(a){return Yf(r,u,a)}}}function Qf(e){for(;!Us(e););return e}const Nu=/[\0\t\n\r]/g;function Wf(){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(Nu.lastIndex=f,l=Nu.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 Gf=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Xf(e){return e.replace(Gf,Jf)}function Jf(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),u=i===120||i===88;return Rs(n.slice(u?2:1),u?16:10)}return En(n)||e}const Ys={}.hasOwnProperty;function Zf(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),eh(n)(Qf(Vf(n).document().write(Wf()(e,t,!0))))}function eh(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(ou),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:u(uu),blockQuote:u(bt),characterEscape:Y,characterReference:Y,codeFenced:u(xn),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:u(xn,s),codeText:u(pc,s),codeTextData:Y,data:Y,codeFlowValue:Y,definition:u(Ec),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:u(gc),hardBreakEscape:u(su),hardBreakTrailing:u(su),htmlFlow:u(au,s),htmlFlowData:Y,htmlText:u(au,s),htmlTextData:Y,image:u(bc),label:s,link:u(ou),listItem:u(Tc),listItemValue:m,listOrdered:u(cu,f),listUnordered:u(cu),paragraph:u(Ac),reference:D,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:u(uu),strong:u(Cc),thematicBreak:u(Dc)},exit:{atxHeading:o(),atxHeadingSequence:P,autolink:o(),autolinkEmail:gt,autolinkProtocol:Xe,blockQuote:o(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:ge,characterReferenceMarkerNumeric:ge,characterReferenceValue:be,characterReference:jt,codeFenced:o(A),codeFencedFence:p,codeFencedFenceInfo:d,codeFencedFenceMeta:E,codeFlowValue:x,codeIndented:o(T),codeText:o(X),codeTextData:x,data:x,definition:o(),definitionDestinationString:L,definitionLabelString:k,definitionTitleString:I,emphasis:o(),hardBreakEscape:o(H),hardBreakTrailing:o(H),htmlFlow:o(j),htmlFlowData:x,htmlText:o(G),htmlTextData:x,image:o(S),label:y,labelText:q,lineEnding:M,link:o(oe),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:Z,resourceDestinationString:_,resourceTitleString:re,resource:se,setextHeading:o(w),setextHeadingLineSequence:z,setextHeadingText:N,strong:o(),thematicBreak:o()}};js(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(B){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<B.length;)if(B[ie][1].type==="listOrdered"||B[ie][1].type==="listUnordered")if(B[ie][0]==="enter")ne.push(ie);else{const Fe=ne.pop();ie=i(B,Fe,ie)}for(ie=-1;++ie<B.length;){const Fe=t[B[ie][0]];Ys.call(Fe,B[ie][1].type)&&Fe[B[ie][1].type].call(Object.assign({sliceSerialize:B[ie][2].sliceSerialize},J),B[ie][1])}if(J.tokenStack.length>0){const Fe=J.tokenStack[J.tokenStack.length-1];(Fe[1]||Iu).call(J,void 0,Fe[0])}for($.position={start:Je(B.length>0?B[0][1].start:{line:1,column:1,offset:0}),end:Je(B.length>0?B[B.length-2][1].end:{line:1,column:1,offset:0})},ie=-1;++ie<t.transforms.length;)$=t.transforms[ie]($)||$;return $}function i(B,$,J){let ne=$-1,ie=-1,Fe=!1,ot,$e,Kt,Vt;for(;++ne<=J;){const Se=B[ne];switch(Se[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Se[0]==="enter"?ie++:ie--,Vt=void 0;break}case"lineEndingBlank":{Se[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&&Se[0]==="enter"&&Se[1].type==="listItemPrefix"||ie===-1&&Se[0]==="exit"&&(Se[1].type==="listUnordered"||Se[1].type==="listOrdered")){if(ot){let Tt=ne;for($e=void 0;Tt--;){const Ye=B[Tt];if(Ye[1].type==="lineEnding"||Ye[1].type==="lineEndingBlank"){if(Ye[0]==="exit")continue;$e&&(B[$e][1].type="lineEndingBlank",Fe=!0),Ye[1].type="lineEnding",$e=Tt}else if(!(Ye[1].type==="linePrefix"||Ye[1].type==="blockQuotePrefix"||Ye[1].type==="blockQuotePrefixWhitespace"||Ye[1].type==="blockQuoteMarker"||Ye[1].type==="listItemIndent"))break}Kt&&(!$e||Kt<$e)&&(ot._spread=!0),ot.end=Object.assign({},$e?B[$e][1].start:Se[1].end),B.splice($e||ne,0,["exit",ot,Se[2]]),ne++,J++}if(Se[1].type==="listItemPrefix"){const Tt={type:"listItem",_spread:!1,start:Object.assign({},Se[1].start),end:void 0};ot=Tt,B.splice(ne,0,["enter",Tt,Se[2]]),ne++,J++,Kt=void 0,Vt=!0}}}return B[$][1]._spread=Fe,J}function u(B,$){return J;function J(ne){a.call(this,B(ne),ne),$&&$.call(this,ne)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(B,$,J){this.stack[this.stack.length-1].children.push(B),this.stack.push(B),this.tokenStack.push([$,J||void 0]),B.position={start:Je($.start),end:void 0}}function o(B){return $;function $(J){B&&B.call(this,J),l.call(this,J)}}function l(B,$){const J=this.stack.pop(),ne=this.tokenStack.pop();if(ne)ne[0].type!==B.type&&($?$.call(this,B,ne[0]):(ne[1]||Iu).call(this,B,ne[0]));else throw new Error("Cannot close `"+B.type+"` ("+sn({start:B.start,end:B.end})+"): it’s not open");J.position.end=Je(B.end)}function h(){return yi(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(B){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(B),10),this.data.expectingFirstListItemValue=void 0}}function d(){const B=this.resume(),$=this.stack[this.stack.length-1];$.lang=B}function E(){const B=this.resume(),$=this.stack[this.stack.length-1];$.meta=B}function p(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const B=this.resume(),$=this.stack[this.stack.length-1];$.value=B.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const B=this.resume(),$=this.stack[this.stack.length-1];$.value=B.replace(/(\r?\n|\r)$/g,"")}function k(B){const $=this.resume(),J=this.stack[this.stack.length-1];J.label=$,J.identifier=Re(this.sliceSerialize(B)).toLowerCase()}function I(){const B=this.resume(),$=this.stack[this.stack.length-1];$.title=B}function L(){const B=this.resume(),$=this.stack[this.stack.length-1];$.url=B}function P(B){const $=this.stack[this.stack.length-1];if(!$.depth){const J=this.sliceSerialize(B).length;$.depth=J}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function z(B){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(B).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(B){const J=this.stack[this.stack.length-1].children;let ne=J[J.length-1];(!ne||ne.type!=="text")&&(ne=_c(),ne.position={start:Je(B.start),end:void 0},J.push(ne)),this.stack.push(ne)}function x(B){const $=this.stack.pop();$.value+=this.sliceSerialize(B),$.position.end=Je(B.end)}function M(B){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const J=$.children[$.children.length-1];J.position.end=Je(B.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes($.type)&&(Y.call(this,B),x.call(this,B))}function H(){this.data.atHardBreak=!0}function j(){const B=this.resume(),$=this.stack[this.stack.length-1];$.value=B}function G(){const B=this.resume(),$=this.stack[this.stack.length-1];$.value=B}function X(){const B=this.resume(),$=this.stack[this.stack.length-1];$.value=B}function oe(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=$,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function S(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=$,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function q(B){const $=this.sliceSerialize(B),J=this.stack[this.stack.length-2];
vendor: 5,481 bytes, lines 4-6
4J.label=Xf($),J.identifier=Re($).toLowerCase()}function y(){const B=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=B.children;J.children=ne}else J.alt=$}function _(){const B=this.resume(),$=this.stack[this.stack.length-1];$.url=B}function re(){const B=this.resume(),$=this.stack[this.stack.length-1];$.title=B}function se(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function Z(B){const $=this.resume(),J=this.stack[this.stack.length-1];J.label=$,J.identifier=Re(this.sliceSerialize(B)).toLowerCase(),this.data.referenceType="full"}function ge(B){this.data.characterReferenceType=B.type}function be(B){const $=this.sliceSerialize(B),J=this.data.characterReferenceType;let ne;J?(ne=Rs($,J==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ne=En($);const ie=this.stack[this.stack.length-1];ie.value+=ne}function jt(B){const $=this.stack.pop();$.position.end=Je(B.end)}function Xe(B){x.call(this,B);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(B)}function gt(B){x.call(this,B);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(B)}function bt(){return{type:"blockquote",children:[]}}function xn(){return{type:"code",lang:null,meta:null,value:""}}function pc(){return{type:"inlineCode",value:""}}function Ec(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function gc(){return{type:"emphasis",children:[]}}function uu(){return{type:"heading",depth:0,children:[]}}function su(){return{type:"break"}}function au(){return{type:"html",value:""}}function bc(){return{type:"image",title:null,url:"",alt:null}}function ou(){return{type:"link",title:null,url:"",children:[]}}function cu(B){return{type:"list",ordered:B.type==="listOrdered",start:null,spread:B._spread,children:[]}}function Tc(B){return{type:"listItem",spread:B._spread,checked:null,children:[]}}function Ac(){return{type:"paragraph",children:[]}}function Cc(){return{type:"strong",children:[]}}function _c(){return{type:"text",value:""}}function Dc(){return{type:"thematicBreak"}}}function Je(e){return{line:e.line,column:e.column,offset:e.offset}}function js(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?js(e,r):th(e,r)}}function th(e,t){let n;for(n in t)if(Ys.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+"` ("+sn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+sn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+sn({start:t.start,end:t.end})+") is still open")}function nh(e){const t=this;t.parser=n;function n(r){return Zf(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function rh(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 ih(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
5`}]}function uh(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 sh(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ah(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oh(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=at(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 ch(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 lh(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Ks(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 fh(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ks(e,t);const i={src:at(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:[]};
vendor: 5,497 bytes, lines 6-8
6return e.patch(t,u),e.applyData(t,u)}function hh(e,t){const n={src:at(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 dh(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 mh(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ks(e,t);const i={href:at(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 ph(e,t){const n={href:at(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 Eh(e,t,n){const r=e.all(t),i=n?gh(n):Vs(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`}),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 gh(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=Vs(n[r])}return t}function Vs(e){const t=e.spread;return t??e.children.length>1}function bh(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 Th(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ah(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ch(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ar=Qs("end"),We=Qs("start");function Qs(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 _h(e){const t=We(e),n=ar(e);if(t&&n)return{start:t,end:n}}function Dh(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=We(t.children[1]),o=ar(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 yh(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 Sh(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const xu=9,Ou=32;function kh(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const u=[];for(;r;)u.push(Lu(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return u.push(Lu(t.slice(i),i>0,!1)),u.join("")}function Lu(e,t,n){let r=0,i=e.length;if(t){let u=e.codePointAt(r);for(;u===xu||u===Ou;)r++,u=e.codePointAt(r)}if(n){let u=e.codePointAt(i-1);for(;u===xu||u===Ou;)i--,u=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Nh(e,t){const n={type:"text",value:kh(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Ih(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const xh={blockquote:rh,break:ih,code:uh,delete:sh,emphasis:ah,footnoteReference:oh,heading:ch,html:lh,imageReference:fh,image:hh,inlineCode:dh,linkReference:mh,link:ph,listItem:Eh,list:bh,paragraph:Th,root:Ah,strong:Ch,table:Dh,tableCell:Sh,tableRow:yh,text:Nh,thematicBreak:Ih,toml:Ln,yaml:Ln,definition:Ln,footnoteDefinition:Ln};function Ln(){}const Ws=-1,or=0,an=1,Qn=2,ki=3,Ni=4,Ii=5,xi=6,Gs=7,Xs=8,Fu=typeof self=="object"?self:globalThis,Oh=(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 or:case Ws:return n(s,i);case an:{const a=n([],i);
vendor: 4,264 bytes, lines 8-9
8for(const o of s)a.push(r(o));return a}case Qn:{const a=n({},i);for(const[o,l]of s)a[r(o)]=r(l);return a}case ki:return n(new Date(s),i);case Ni:{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 xi:{const a=n(new Set,i);for(const o of s)a.add(r(o));return a}case Gs:{const{name:a,message:o}=s;return n(new Fu[a](o),i)}case Xs: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 Fu[u](s),i)};return r},wu=e=>Oh(new Map,e)(0),At="",{toString:Lh}={},{keys:Fh}=Object,Wt=e=>{const t=typeof e;if(t!=="object"||!e)return[or,t];const n=Lh.call(e).slice(8,-1);switch(n){case"Array":return[an,At];case"Object":return[Qn,At];case"Date":return[ki,At];case"RegExp":return[Ni,At];case"Map":return[Ii,At];case"Set":return[xi,At];case"DataView":return[an,n]}return n.includes("Array")?[an,n]:n.includes("Error")?[Gs,n]:[Qn,n]},Fn=([e,t])=>e===or&&(t==="function"||t==="symbol"),wh=(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 or:{let h=s;switch(o){case"bigint":a=Xs,h=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);h=null;break;case"undefined":return i([Ws],s)}return i([a,h],s)}case an:{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 Qn:{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 Fh(s))(e||!Fn(Wt(s[m])))&&h.push([u(m),u(s[m])]);return f}case ki:return i([a,s.toISOString()],s);case Ni:{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||!(Fn(Wt(m))||Fn(Wt(d))))&&h.push([u(m),u(d)]);return f}case xi:{const h=[],f=i([a,h],s);for(const m of s)(e||!Fn(Wt(m)))&&h.push(u(m));return f}}const{message:l}=s;return i([a,{name:o,message:l}],s)};return u},Ru=(e,{json:t,lossy:n}={})=>{const r=[];return wh(!(t||n),!!t,new Map,r)(e),r},Ve=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?wu(Ru(e,t)):structuredClone(e):(e,t)=>wu(Ru(e,t));function Rh(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 Bh(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Ph(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Rh,r=e.options.footnoteBackLabel||Bh,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=at(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:{...Ve(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
9`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
9,{type:"text",value:`
10`}]}}const cr=(function(e){if(e==null)return vh;if(typeof e=="function")return lr(e);if(typeof e=="object")return Array.isArray(e)?Mh(e):Uh(e);if(typeof e=="string")return Hh(e);throw new Error("Expected function, string, or object as test")});function Mh(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=cr(e[n]);return lr(r);function r(...i){let u=-1;for(;++u<t.length;)if(t[u].apply(this,i))return!0;return!1}}function Uh(e){const t=e;return lr(n);function n(r){const i=r;let u;for(u in e)if(i[u]!==t[u])return!1;return!0}}function Hh(e){return lr(t);function t(n){return n&&n.type===e}}function lr(e){return t;function t(n,r,i){return!!(zh(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function vh(){return!0}function zh(e){return e!==null&&typeof e=="object"&&"type"in e}const Js=[],qh=!0,ii=!1,$h="skip";function Zs(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const u=cr(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=Js,E,p,A;if((!t||u(o,l,h[h.length-1]||void 0))&&(d=Yh(n(o,h)),d[0]===ii))return d;if("children"in o&&o.children){const T=o;if(T.children&&d[0]!==$h)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]===ii)return E;p=typeof E[1]=="number"?E[1]:p+s}}return d}}}function Yh(e){return Array.isArray(e)?e:typeof e=="number"?[qh,e]:e==null?Js:[e]}function ve(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),Zs(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 ui={}.hasOwnProperty,jh={};function Kh(e,t){const n=t||jh,r=new Map,i=new Map,u=new Map,s={...xh,...n.handlers},a={all:l,applyData:Qh,definitionById:r,footnoteById:i,footnoteCounts:u,footnoteOrder:[],handlers:s,one:o,options:n,patch:Vh,wrap:Gh};return ve(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(ui.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=Ve(A);return T.children=a.all(h),T}return Ve(h)}return(a.options.unknownHandler||Wh)(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=Bu(E.value)),!Array.isArray(E)&&E.type==="element")){const p=E.children[0];p&&p.type==="text"&&(p.value=Bu(p.value))}Array.isArray(E)?f.push(...E):f.push(E)}}}return f}}function Vh(e,t){e.position&&(t.position=_h(e))}function Qh(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,Ve(u)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Wh(e,t){const n=t.data||{},r="value"in t&&!(ui.call(n,"hProperties")||ui.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 Gh(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 Bu(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Pu(e,t){const n=Kh(e,t),r=n.one(e,void 0),i=Ph(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 Xh(e,t){return e&&"run"in e?async function(n,r){const i=Pu(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Pu(n,{file:r,...e||t})}}const Oi=Symbol.for("yaml.alias"),si=Symbol.for("yaml.document"),it=Symbol.for("yaml.map"),ea=Symbol.for("yaml.pair"),ze=Symbol.for("yaml.scalar"),Rt=Symbol.for("yaml.seq"),Le=Symbol.for("yaml.node.type"),Bt=e=>!!e&&typeof e=="object"&&e[Le]===Oi,yn=e=>!!e&&typeof e=="object"&&e[Le]===si,Pt=e=>!!e&&typeof e=="object"&&e[Le]===it,he=e=>!!e&&typeof e=="object"&&e[Le]===ea,ue=e=>!!e&&typeof e=="object"&&e[Le]===ze,Mt=e=>!!e&&typeof e=="object"&&e[Le]===Rt;function ce(e){if(e&&typeof e=="object")switch(e[Le]){case it:case Rt:return!0}return!1}function fe(e){if(e&&typeof e=="object")switch(e[Le]){case Oi:case it:case ze:case Rt:return!0}return!1}const ta=e=>(ue(e)||ce(e))&&!!e.anchor,lt=Symbol("break visit"),Jh=Symbol("skip children"),on=Symbol("remove node");function Ut(e,t){const n=Zh(t);yn(e)?yt(null,e.contents,n,Object.freeze([e]))===on&&(e.contents=null):yt(null,e,n,Object.freeze([]))}Ut.BREAK=lt;Ut.SKIP=Jh;Ut.REMOVE=on;function yt(e,t,n,r){const i=e0(e,t,n,r);if(fe(i)||he(i))return t0(e,r,i),yt(e,i,n,r);if(typeof i!="symbol"){if(ce(t)){r=Object.freeze(r.concat(t));for(let u=0;u<t.items.length;++u){const s=yt(u,t.items[u],n,r);if(typeof s=="number")u=s-1;else{if(s===lt)return lt;s===on&&(t.items.splice(u,1),u-=1)}}}else if(he(t)){r=Object.freeze(r.concat(t));const u=yt("key",t.key,n,r);if(u===lt)return lt;u===on&&(t.key=null);const s=yt("value",t.value,n,r);if(s===lt)return lt;s===on&&(t.value=null)}}return i}function Zh(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 e0(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(he(t))return n.Pair?.(e,t,r);if(ue(t))return n.Scalar?.(e,t,r);if(Bt(t))return n.Alias?.(e,t,r)}
14function t0(e,t,n){const r=t[t.length-1];if(ce(r))r.items[e]=n;else if(he(r))e==="key"?r.key=n:r.value=n;else if(yn(r))r.contents=n;else{const i=Bt(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const n0={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},r0=e=>e.replace(/[!,[\]{}]/g,t=>n0[t]);class Ce{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ce.defaultYaml,t),this.tags=Object.assign({},Ce.defaultTags,n)}clone(){const t=new Ce(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Ce(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ce.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ce.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Ce.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ce.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+r0(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&&fe(t.contents)){const u={};Ut(t.contents,(s,a)=>{fe(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`)}}Ce.defaultYaml={explicit:!1,version:"1.2"};Ce.defaultTags={"!!":"tag:yaml.org,2002:"};function na(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 ra(e){const t=new Set;return Ut(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function ia(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function i0(e,t){const n=[],r=new Map;let i=null;return{onAnchor:u=>{n.push(u),i??(i=ra(e));const s=ia(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)||ce(s.node)))s.node.anchor=s.anchor;else{const a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=u,a}}},sourceObjects:r}}function St(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=St(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=St(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=St(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=St(e,r,i,u);s===void 0?delete r[i]:s!==u&&(r[i]=s)}return e.call(t,n,r)}function Oe(e,t,n){if(Array.isArray(e))return e.map((r,i)=>Oe(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!ta(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 Li{constructor(t){Object.defineProperty(this,Le,{value:t})}
15clone(){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(!yn(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=Oe(this,"",s);if(typeof i=="function")for(const{count:o,res:l}of s.anchors.values())i(l,o);return typeof u=="function"?St(u,{"":a},"",a):a}}class Fi extends Li{constructor(t){super(Oi),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){if(n?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],Ut(t,{Node:(u,s)=>{(Bt(s)||ta(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||(Oe(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=qn(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(na(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 qn(e,t,n){if(Bt(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(ce(t)){let r=0;for(const i of t.items){const u=qn(e,i,n);u>r&&(r=u)}return r}else if(he(t)){const r=qn(e,t.key,n),i=qn(e,t.value,n);return Math.max(r,i)}return 1}const ua=e=>!e||typeof e!="function"&&typeof e!="object";class W extends Li{constructor(t){super(ze),this.value=t}toJSON(t,n){return n?.keep?this.value:Oe(this.value,t,n)}toString(){return String(this.value)}}W.BLOCK_FOLDED="BLOCK_FOLDED";W.BLOCK_LITERAL="BLOCK_LITERAL";W.PLAIN="PLAIN";W.QUOTE_DOUBLE="QUOTE_DOUBLE";W.QUOTE_SINGLE="QUOTE_SINGLE";const u0="tag:yaml.org,2002:";function s0(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 gn(e,t,n){if(yn(e)&&(e=e.contents),fe(e))return e;
15if(he(e)){const f=n.schema[it].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 Fi(o.anchor);o={anchor:null,node:null},a.set(e,o)}t?.startsWith("!!")&&(t=u0+t.slice(2));let l=s0(e,t,s.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const f=new W(e);return o&&(o.node=f),f}l=e instanceof Map?s[it]:Symbol.iterator in Object(e)?s[Rt]:s[it]}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 W(e);return t?h.tag=t:l.default||(h.tag=l.tag),o&&(o.node=h),h}function Wn(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 gn(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 sa extends Li{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=>fe(r)||he(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(ce(u))u.addIn(i,n);else if(u===void 0&&this.schema)this.set(r,Wn(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(ce(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:ce(u)?u.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!he(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 ce(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(ce(u))u.setIn(i,n);else if(u===void 0&&this.schema)this.set(r,Wn(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}const a0=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Ke(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const ft=(e,t,n)=>e.endsWith(`
16`)?Ke(n,t):n.includes(`
17`)?`
18`+Ke(n,t):(e.endsWith(" ")?"":" ")+n,aa="flow",ai="block",$n="quoted";function fr(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===ai&&(p=Mu(e,p,t.length),p!==-1&&(f=p+o));for(let I;I=e[p+=1];){if(n===$n&&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===ai&&(p=Mu(e,p,t.length)),f=p+t.length+o,m=void 0;else{if(I===" "&&d&&d!==" "&&d!==`
20`&&d!=="	"){const L=e[p+1];L&&L!==" "&&L!==`
21`&&L!=="	"&&(m=p)}if(p>=f)if(m)l.push(m),f=m+o,m=void 0;else if(n===$n){for(;d===" "||d==="	";)d=I,I=e[p+=1],E=!0;const L=p>T+1?p-2:A-1;if(h[L])return e;l.push(L),h[L]=!0,f=L+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 L=l[I],P=l[I+1]||e.length;L===0?k=`
22${t}${e.slice(0,P)}`:(n===$n&&h[L]&&(k+=`${e[L]}\\`),k+=`
23${t}${e.slice(L+1,P)}`)}return k}function Mu(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 hr=(e,t)=>
24({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),dr=e=>/^(%|---|\.\.\.)/m.test(e);function o0(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 cn(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,u=t.indent||(dr(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:fr(s,u,$n,hr(t,!1))}function oi(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
29`)||/[ \t]\n|\n[ \t]/.test(e))return cn(e,t);const n=t.indent||(dr(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
30${n}`)+"'";return t.implicitKey?r:fr(r,n,aa,hr(t,!1))}function kt(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=cn;else{const i=e.includes('"'),u=e.includes("'");i&&!u?r=oi:u&&!i?r=cn:r=n?oi:cn}return r(e,t)}let ci;try{ci=new RegExp(`(^|(?<!
31))
32+(?!
33|$)`,"g")}catch{ci=/\n+(?!\n|$)/g}function Yn({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 kt(n,r);const l=r.indent||(r.forceBlockIndent||dr(n)?"  ":""),h=s==="literal"?!0:s==="folded"||t===W.BLOCK_FOLDED?!1:t===W.BLOCK_LITERAL?!0:!o0(n,o,l.length);if(!n)return h?`|
34`:`>
35`;let f,m;for(m=n.length;m>0;--m){const P=n[m-1];if(P!==`
36`&&P!=="	"&&P!==" ")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(ci,`$&${l}`));let p=!1,A,T=-1;for(A=0;A<n.length;++A){const P=n[A];if(P===" ")p=!0;else if(P===`
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 L=(p?l?"2":"1":"")+f;if(e&&(L+=" "+a(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!h){const P=n.replace(/\n+/g,`
40$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);let N=!1;const z=hr(r,!0);s!=="folded"&&t!==W.BLOCK_FOLDED&&(z.onOverflow=()=>{N=!0});const w=fr(`${k}${P}${d}`,l,ai,z);if(!N)return`>${L}
41${l}${w}`}return n=n.replace(/\n+/g,`$&${l}`),`|${L}
42${l}${k}${n}${d}`}function c0(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 kt(u,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(u))return a||h||!u.includes(`
44`)?kt(u,t):Yn(e,t,n,r);if(!a&&!h&&i!==W.PLAIN&&u.includes(`
45`))return Yn(e,t,n,r);if(dr(u)){if(o==="")return t.forceBlockIndent=!0,Yn(e,t,n,r);if(a&&o===l)return kt(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 kt(u,t)}return a?f:fr(f,o,aa,hr(t,!1))}function wi(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!==W.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=W.QUOTE_DOUBLE);const o=h=>{switch(h){case W.BLOCK_FOLDED:case W.BLOCK_LITERAL:return i||u?kt(s.value,t):Yn(s,t,n,r);case W.QUOTE_DOUBLE:return cn(s.value,t);case W.QUOTE_SINGLE:return oi(s.value,t);case W.PLAIN:return c0(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 oa(e,t){const n=Object.assign({blockQuote:!0,commentString:a0,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);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 l0(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 f0(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],u=(ue(e)||ce(e))&&e.anchor;u&&na(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 Lt(e,t,n,r){if(he(e))return e.toString(t,n,r);if(Bt(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=fe(e)?e:t.doc.createNode(e,{onTagObj:o=>i=o});i??(i=l0(t.doc.schema.tags,u));const s=f0(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)?wi(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}function h0({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=fe(e)&&e.comment||null;if(f){if(m)throw new Error("With simple keys, key nodes cannot have comments");if(ce(e)||!fe(e)&&typeof e=="object"){const z="With simple keys, collection cannot be used as a key value";throw new Error(z)}}let d=!f&&(!e||m&&t==null&&!n.inFlow||ce(e)||(ue(e)?e.type===W.BLOCK_FOLDED||e.type===W.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({}
47,n,{allNullValues:!1,implicitKey:!d&&(f||!u),indent:a+o});let E=!1,p=!1,A=Lt(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;fe(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 L=!1;const P=Lt(t,n,()=>L=!0,()=>p=!0);let N=" ";if(m||T||k){if(N=T?`
49`:"",k){const z=l(k);N+=`
50${Ke(z,n.indent)}`}P===""&&!n.inFlow?N===`
51`&&I&&(N=`
52
53`):N+=`
54${n.indent}`}else if(!d&&ce(t)){const z=P[0],w=P.indexOf(`
55`),Y=w!==-1,x=n.inFlow??t.flow??t.items.length===0;if(Y||!x){let M=!1;if(Y&&(z==="&"||z==="!")){let H=P.indexOf(" ");z==="&"&&H!==-1&&H<w&&P[H+1]==="!"&&(H=P.indexOf(" ",H+1)),(H===-1||w<H)&&(M=!0)}M||(N=`
56${n.indent}`)}}else(P===""||P[0]===`
57`)&&(N="");return A+=N+P,n.inFlow?L&&r&&r():I&&!L?A+=ft(A,n.indent,l(I)):p&&i&&i(),A}function d0(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const wn="<<",Qe={identify:e=>e===wn||typeof e=="symbol"&&e.description===wn,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new W(Symbol(wn)),{addToJSMap:ca}),stringify:()=>wn},m0=(e,t)=>(Qe.identify(t)||ue(t)&&(!t.type||t.type===W.PLAIN)&&Qe.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===Qe.tag&&n.default);function ca(e,t,n){const r=la(e,n);if(Mt(r))for(const i of r.items)wr(e,t,i);else if(Array.isArray(r))for(const i of r)wr(e,t,i);else wr(e,t,r)}function wr(e,t,n){const r=la(e,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 la(e,t){return e&&Bt(t)?t.resolve(e.doc,e):t}function fa(e,t,{key:n,value:r}){if(fe(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(m0(e,n))ca(e,t,r);else{const i=Oe(n,"",e);if(t instanceof Map)t.set(i,Oe(r,i,e));else if(t instanceof Set)t.add(i);else{const u=p0(n,i,e),s=Oe(r,u,e);u in t?Object.defineProperty(t,u,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[u]=s}}return t}function p0(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(fe(e)&&n?.doc){const r=oa(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)+'..."'),d0(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 Ri(e,t,n){const r=gn(e,void 0,n),i=gn(t,void 0,n);return new Te(r,i)}class Te{constructor(t,n=null){Object.defineProperty(this,Le,{value:ea}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return fe(n)&&(n=n.clone(t)),fe(r)&&(r=r.clone(t)),new Te(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return fa(n,r,this)}toString(t,n,r){return t?.doc?h0(this,t,n,r):JSON.stringify(this)}}function ha(e,t,n){return(t.inFlow??e.flow?g0:E0)(e,t,n)}function E0({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(fe(p))!f&&p.spaceBefore&&m.push(""),Gn(n,m,p.commentBefore,f),p.comment&&(A=p.comment);else if(he(p)){const k=fe(p.key)?p.key:null;k&&(!f&&k.spaceBefore&&m.push(""),Gn(n,m,k.commentBefore,f))}f=!1;let T=Lt(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`+Ke(l(e),o),a&&a()):f&&s&&s(),d}function g0({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(fe(p))p.spaceBefore&&f.push(""),Gn(t,f,p.commentBefore,!1),p.comment&&(A=p.comment);else if(he(p)){const k=fe(p.key)?p.key:null;k&&(k.spaceBefore&&f.push(""),Gn(t,f,k.commentBefore,!1),k.comment&&(l=!0));const I=fe(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=Lt(p,o,()=>A=null);l||(l=f.length>h||T.includes(`
61`)),E<e.length-1?T+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(l||(l=f.reduce((k,I)=>k+I.length+2,2)+(T.length+2)>t.options.lineWidth)),l&&(T+=",")),A&&(T+=ft(T,r,a(A))),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 Gn({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const u=Ke(t(r),e);n.push(u.trimStart())}}function ht(e,t){const n=ue(t)?t.value:t;for(const r of e)if(he(r)&&(r.key===t||r.key===n||ue(r.key)&&r.key.value===n))return r}class ke extends sa{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(it,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(Ri(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;he(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new Te(t,t?.value):r=new Te(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)&&ua(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 Te(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)fa(n,i,u);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!he(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})),ha(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Ht={collection:"map",default:!0,nodeClass:ke,tag:"tag:yaml.org,2002:map",resolve(e,t){return Pt(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>ke.from(e,t,n)};class ut extends sa{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Rt,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Rn(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=Rn(t);if(typeof r!="number")return;const i=this.items[r];return!n&&ue(i)?i.value:i}has(t){const n=Rn(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=Rn(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];ue(i)&&ua(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(Oe(u,String(i++),n));return r}toString(t,n,r){return t?ha(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(gn(a,void 0,r))}}return u}}function Rn(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:ut,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Mt(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>ut.from(e,t,n)},mr={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),wi(e,t,n,r)}},pr={identify:e=>e==null,createNode:()=>new W(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new W(null),stringify:({source:e},t)=>typeof e=="string"&&pr.test.test(e)?e:t.options.nullStr},Bi={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new W(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&Bi.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 Be({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)&&!u.includes("e")){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 da={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:Be},ma={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():Be(e)}},pa={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 W(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Be},Er=e=>typeof e=="bigint"||Number.isInteger(e),Pi=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Ea(e,t,n){const{value:r}=e;return Er(r)&&r>=0?n+r.toString(t):Be(e)}const ga={identify:e=>Er(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Pi(e,2,8,n),stringify:e=>Ea(e,8,"0o")},ba={identify:Er,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Pi(e,0,10,n),stringify:Be},Ta={identify:e=>Er(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Pi(e,2,16,n),stringify:e=>Ea(e,16,"0x")},b0=[Ht,vt,mr,pr,Bi,ga,ba,Ta,da,ma,pa];function Uu(e){return typeof e=="bigint"||Number.isInteger(e)}const Bn=({value:e})=>JSON.stringify(e),T0=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Bn},{identify:e=>e==null,createNode:()=>new W(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Bn},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:Bn},{identify:Uu,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})=>Uu(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:Bn}],A0={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},C0=[Ht,vt].concat(T0,A0),Mi={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=W.BLOCK_LITERAL),t!==W.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===W.BLOCK_LITERAL?`
65`:" ")}return wi({comment:e,type:t,value:a},r,i,u)}};function Aa(e,t){if(Mt(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!he(r)){if(Pt(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new Te(new W(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]=he(r)?r:new Te(r)}}else t("Expected a sequence for this tag");return e}function Ca(e,t,n){const{replacer:r}=n,i=new ut(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(Ri(a,o,n))}return i}const Ui={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Aa,createNode:Ca};class It extends ut{constructor(){super(),this.add=ke.prototype.add.bind(this),this.delete=ke.prototype.delete.bind(this),this.get=ke.prototype.get.bind(this),this.has=ke.prototype.has.bind(this),this.set=ke.prototype.set.bind(this),this.tag=It.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(he(i)?(u=Oe(i.key,"",n),s=Oe(i.value,u,n)):u=Oe(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=Ca(t,n,r),u=new this;return u.items=i.items,u}}It.tag="tag:yaml.org,2002:omap";const Hi={collection:"seq",identify:e=>e instanceof Map,nodeClass:It,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Aa(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 It,n)},createNode:(e,t,n)=>It.from(e,t,n)};function _a({value:e,source:t},n){return t&&(e?Da:ya).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Da={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 W(!0),stringify:_a},ya={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 W(!1),stringify:_a},_0={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:Be},D0={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():Be(e)}},y0={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 W(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:Be},Sn=e=>typeof e=="bigint"||Number.isInteger(e);function gr(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 vi(e,t,n){const{value:r}=e;if(Sn(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return Be(e)}const S0={identify:Sn,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>gr(e,2,2,n),stringify:e=>vi(e,2,"0b")},k0={identify:Sn,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>gr(e,1,8,n),stringify:e=>vi(e,8,"0")},N0={identify:Sn,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>gr(e,0,10,n),stringify:Be},I0={identify:Sn,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>gr(e,2,16,n),stringify:e=>vi(e,16,"0x")};class xt extends ke{constructor(t){super(t),this.tag=xt.tag}add(t){let n;he(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new Te(t.key,null):n=new Te(t,null),ht(this.items,n.key)||this.items.push(n)}get(t,n){const r=ht(this.items,t);return!n&&he(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 Te(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(Ri(s,null,r));return u}}xt.tag="tag:yaml.org,2002:set";const zi={collection:"map",identify:e=>e instanceof Set,nodeClass:xt,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>xt.from(e,t,n),resolve(e,t){if(Pt(e)){if(e.hasAllNullValues(!0))return Object.assign(new xt,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function qi(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 Sa(e){let{value:t}=e,n=s=>s;if(typeof t=="bigint")n=s=>BigInt(s);else if(isNaN(t)||!isFinite(t))return Be(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 ka={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})=>qi(e,n),stringify:Sa},Na={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=>qi(e,!1),stringify:Sa},br={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(br.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];
67if(h&&h!=="Z"){let f=qi(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$/,"")??""},Hu=[Ht,vt,mr,pr,Da,ya,S0,k0,N0,I0,_0,D0,y0,Mi,Qe,Hi,Ui,zi,ka,Na,br],vu=new Map([["core",b0],["failsafe",[Ht,vt,mr]],["json",C0],["yaml11",Hu],["yaml-1.1",Hu]]),zu={binary:Mi,bool:Bi,float:pa,floatExp:ma,floatNaN:da,floatTime:Na,int:ba,intHex:Ta,intOct:ga,intTime:ka,map:Ht,merge:Qe,null:pr,omap:Hi,pairs:Ui,seq:vt,set:zi,timestamp:br},x0={"tag:yaml.org,2002:binary":Mi,"tag:yaml.org,2002:merge":Qe,"tag:yaml.org,2002:omap":Hi,"tag:yaml.org,2002:pairs":Ui,"tag:yaml.org,2002:set":zi,"tag:yaml.org,2002:timestamp":br};function Rr(e,t,n){const r=vu.get(t);if(r&&!e)return n&&!r.includes(Qe)?r.concat(Qe):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{const u=Array.from(vu.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(Qe)),i.reduce((u,s)=>{const a=typeof s=="string"?zu[s]:s;if(!a){const o=JSON.stringify(s),l=Object.keys(zu).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 O0=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class $i{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:u,sortMapEntries:s,toStringDefaults:a}){this.compat=Array.isArray(t)?Rr(t,"compat"):t?Rr(null,t):null,this.name=typeof u=="string"&&u||"core",this.knownTags=i?x0:{},this.tags=Rr(n,this.name,r),this.toStringOptions=a??null,Object.defineProperty(this,it,{value:Ht}),Object.defineProperty(this,ze,{value:mr}),Object.defineProperty(this,Rt,{value:vt}),this.sortMapEntries=typeof s=="function"?s:s===!0?O0:null}clone(){const t=Object.create($i.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function L0(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=oa(e,t),{commentString:u}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const o=u(e.commentBefore);n.unshift(Ke(o,""))}let s=!1,a=null;if(e.contents){if(fe(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const h=u(e.contents.commentBefore);n.push(Ke(h,""))}i.forceBlockIndent=!!e.comment,a=e.contents.comment}const o=a?void 0:()=>s=!0;let l=Lt(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(Lt(e.contents,i));if(e.directives?.docEnd)if(e.comment){const o=u(e.comment);o.includes(`
68`)?(n.push("..."),n.push(Ke(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(Ke(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,Le,{value:si});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 Ce({version:s}),this.setSchema(s,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(zt.prototype,{[Le]:{value:si}});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=fe(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Ct(this.contents)&&this.contents.add(t)}addIn(t,n){Ct(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=ra(this);t.anchor=!n||r.has(n)?ia(n||"a",r):n}return new Fi(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}=i0(this,s||"a"),E={aliasDuplicateObjects:u??!0,keepUndefined:o??!1,onAnchor:f,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:d},p=gn(t,h,E);return a&&ce(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 Te(i,u)}delete(t){return Ct(this.contents)?this.contents.delete(t):!1}deleteIn(t){return tn(t)?this.contents==null?!1:(this.contents=null,!0):Ct(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return ce(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return tn(t)?!n&&ue(this.contents)?this.contents.value:this.contents:ce(this.contents)?this.contents.getIn(t,n):void 0}has(t){return ce(this.contents)?this.contents.has(t):!1}hasIn(t){return tn(t)?this.contents!==void 0:ce(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Wn(this.schema,[t],n):Ct(this.contents)&&this.contents.set(t,n)}setIn(t,n){tn(t)?this.contents=n:this.contents==null?this.contents=Wn(this.schema,Array.from(t),n):Ct(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 Ce({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 Ce({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 $i(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=Oe(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"?St(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 L0(this,t)}}function Ct(e){if(ce(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Ia extends Error{constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class nn extends Ia{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class F0 extends Ia{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const qu=(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 Ft(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,L=null,P=null;for(const w of e)switch(E&&(w.type!=="space"&&w.type!=="newline"&&w.type!=="comma"&&u(w.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),E=!1),p&&(l&&w.type!=="comment"&&w.type!=="newline"&&u(p,"TAB_AS_INDENT","Tabs are not allowed as indentation"),p=null),w.type){case"space":!t&&(n!=="doc-start"||r?.type!=="flow-collection")&&w.source.includes("	")&&(p=w),h=!0;break;case"comment":{h||u(w,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Y=w.source.substring(1)||" ";f?f+=m+Y:f=Y,m="",l=!1;break}case"newline":l?f?f+=w.source:(!L||n!=="seq-item-ind")&&(o=!0):m+=w.source,l=!0,d=!0,(A||T)&&(k=w),h=!0;break;case"anchor":A&&u(w,"MULTIPLE_ANCHORS","A node can have at most one anchor"),w.source.endsWith(":")&&u(w.offset+w.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),A=w,P??(P=w.offset),l=!1,h=!1,E=!0;break;case"tag":{T&&u(w,"MULTIPLE_TAGS","A node can have at most one tag"),T=w,P??(P=w.offset),l=!1,h=!1,E=!0;break}case n:(A||T)&&u(w,"BAD_PROP_ORDER",`Anchors and tags must be after the ${w.source} indicator`),L&&u(w,"UNEXPECTED_TOKEN",`Unexpected ${w.source} in ${t??"collection"}`),L=w,l=n==="seq-item-ind"||n==="explicit-key-ind",h=!1;break;case"comma":if(t){I&&u(w,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),I=w,l=!1,h=!1;break}default:u(w,"UNEXPECTED_TOKEN",`Unexpected ${w.type} token`),l=!1,h=!1}const N=e[e.length-1],z=N?N.offset+N.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:L,spaceBefore:o,comment:f,hasNewline:d,anchor:A,tag:T,newlineAfterProp:k,end:z,start:P??z}}function bn(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(bn(t.key)||bn(t.value))return!0}return!1;default:return!0}}function li(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&bn(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function xa(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 $u="All mapping items must start at the same column";function w0({composeNode:e,composeEmptyNode:t},n,r,i,u){const s=u?.nodeClass??ke,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=Ft(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",$u)),!p.anchor&&!p.tag&&!d){l=p.end,p.comment&&(a.comment?a.comment+=`
77`+p.comment:a.comment=p.comment);continue}(p.newlineAfterProp||bn(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",$u);n.atKey=!0;const T=p.end,k=m?e(n,m,p,i):t(n,T,f,null,p,i);n.schema.compat&&li(r.indent,m,i),n.atKey=!1,xa(n,a.items,k)&&i(T,"DUPLICATE_KEY","Map keys must be unique");const I=Ft(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 L=E?e(n,E,I,i):t(n,o,d,null,I,i);n.schema.compat&&li(r.indent,E,i),o=L.range[2];const P=new Te(k,L);n.options.keepSourceTokens&&(P.srcToken=h),a.items.push(P)}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 L=new Te(k);n.options.keepSourceTokens&&(L.srcToken=h),a.items.push(L)}}return l&&l<o&&i(l,"IMPOSSIBLE","Map comment with trailing content"),a.range=[r.offset,o,l??o],a}function R0({composeNode:e,composeEmptyNode:t},n,r,i,u){const s=u?.nodeClass??ut,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=Ft(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&&li(r.indent,f,i),o=d.range[2],a.items.push(d)}return a.range=[r.offset,o,l??o],a}function kn(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 Br="Block collections are not allowed within flow collections",Pr=e=>e&&(e.type==="block-map"||e.type==="block-seq");function B0({composeNode:e,composeEmptyNode:t},n,r,i,u){const s=r.start.source==="{",a=s?"flow map":"flow sequence",o=u?.nodeClass??(s?ke:ut),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:L,value:P}=T,N=Ft(k,{flow:a,indicator:"explicit-key-ind",next:I??L?.[0],offset:f,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!N.found){if(!N.anchor&&!N.tag&&!L&&!P){A===0&&N.comma?i(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):A<r.items.length-1&&i(N.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),N.comment&&(l.comment?l.comment+=`
79`+N.comment:l.comment=N.comment),f=N.end;continue}!s&&n.options.strict&&bn(I)&&i(I,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(A===0)N.comma&&i(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(N.comma||i(N.start,"MISSING_CHAR",`Missing , between ${a} items`),N.comment){let z="";e:for(const w of k)switch(w.type){case"comma":case"space":break;case"comment":z=w.source.substring(1);break e;default:break e}if(z){let w=l.items[l.items.length-1];he(w)&&(w=w.value??w.key),w.comment?w.comment+=`
80`+z:w.comment=z,N.comment=N.comment.substring(z.length+1)}}if(!s&&!L&&!N.found){const z=P?e(n,P,N,i):t(n,N.end,L,null,N,i);l.items.push(z),f=z.range[2],Pr(P)&&i(z.range,"BLOCK_IN_FLOW",Br)}else{n.atKey=!0;const z=N.end,w=I?e(n,I,N,i):t(n,z,k,null,N,i);Pr(I)&&i(w.range,"BLOCK_IN_FLOW",Br),n.atKey=!1;const Y=Ft(L??[],{flow:a,indicator:"map-value-ind",next:P,offset:w.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(Y.found){if(!s&&!N.found&&n.options.strict){if(L)for(const H of L){if(H===Y.found)break;if(H.type==="newline"){i(H,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}N.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 P&&("source"in P&&P.source?.[0]===":"?i(P,"MISSING_CHAR",`Missing space after : in ${a}`):i(Y.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const x=P?e(n,P,Y,i):Y.found?t(n,Y.end,L,null,Y,i):null;x?Pr(P)&&i(x.range,"BLOCK_IN_FLOW",Br):Y.comment&&(w.comment?w.comment+=`
81`+Y.comment:w.comment=Y.comment);const M=new Te(w,x);if(n.options.keepSourceTokens&&(M.srcToken=T),s){const H=l;
81xa(n,H.items,w)&&i(z,"DUPLICATE_KEY","Map keys must be unique"),H.items.push(M)}else{const H=new ke(n.schema);H.flow=!0,H.items.push(M);const j=(x??w).range;H.range=[w.range[0],j[1],j[2]],l.items.push(H)}f=x?x.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=kn(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 Mr(e,t,n,r,i,u){const s=n.type==="block-map"?w0(e,t,n,r,u):n.type==="block-seq"?R0(e,t,n,r,u):B0(e,t,n,r,u),a=s.constructor;return i==="!"||i===a.tagName?(s.tag=a.tagName,s):(i&&(s.tag=i),s)}function P0(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===ke.tagName&&a==="map"||s===ut.tagName&&a==="seq")return Mr(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),Mr(e,t,n,i,s)}const l=Mr(e,t,n,i,s,o),h=o.resolve?.(l,m=>i(u,"TAG_RESOLVE_FAILED",m),t.options)??l,f=fe(h)?h:new W(h);return f.range=l.range,f.tag=s,o?.format&&(f.format=o.format),f}function M0(e,t,n){const r=t.offset,i=U0(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const u=i.mode===">"?W.BLOCK_FOLDED:W.BLOCK_LITERAL,s=t.source?H0(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 L=`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",L),A=""}u===W.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 U0({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 H0(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 v0(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=W.PLAIN,o=z0(u,l);break;case"single-quoted-scalar":a=W.QUOTE_SINGLE,o=q0(u,l);break;case"double-quoted-scalar":a=W.QUOTE_DOUBLE,o=$0(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=kn(s,h,t,n);return{value:o,type:a,comment:f.comment,range:[r,h,f.offset]}}function z0(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}`),Oa(e)}function q0(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Oa(e.slice(1,-1)).replace(/''/g,"'")}function Oa(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 $0(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}=Y0(e,r);n+=u,r=s}else if(i==="\\"){let u=e[++r];const s=j0[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=u==="x"?2:u==="u"?4:8;n+=K0(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 Y0(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 j0={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
112`,r:"\r",t:"	",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","	":"	"};function K0(e,t,n,r){const i=e.substr(t,n),s=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;try{return String.fromCodePoint(s)}catch{const a=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}}function La(e,t,n,r){const{value:i,type:u,comment:s,range:a}=t.type==="block-scalar"?M0(e,t,r):v0(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[ze]:o?l=V0(e.schema,i,o,n,r):t.type==="scalar"?l=Q0(e,i,t,r):l=e.schema[ze];let h;try{const f=l.resolve(i,m=>r(n??t,"TAG_RESOLVE_FAILED",m),e.options);h=ue(f)?f:new W(f)}catch(f){const m=f instanceof Error?f.message:String(f);r(n??t,"TAG_RESOLVE_FAILED",m),h=new W(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 V0(e,t,n,r,i){if(n==="!")return e[ze];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[ze])}function Q0({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[ze];if(n.compat){const a=n.compat.find(o=>o.default&&o.test?.test(r))??n[ze];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 W0(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 G0={composeNode:Fa,composeEmptyNode:Yi};function Fa(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=X0(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=La(e,t,o,r),a&&(l.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{l=P0(G0,e,t,n,r),a&&(l.anchor=a.source.substring(1))}catch(f){const m=f instanceof Error?f.message:String(f);r(t,"RESOURCE_EXHAUSTION",m)}break;default:{const f=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",f),h=!1}}return l??(l=Yi(e,t.offset,void 0,null,n,r)),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 Yi(e,t,n,r,{spaceBefore:i,comment:u,anchor:s,tag:a,end:o},l){const h={type:"scalar",offset:W0(t,n,r),indent:-1,source:""},f=La(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 X0({options:e},{offset:t,source:n,end:r},i){const u=new Fi(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=kn(r,s,e.strict,i);return u.range=[t,s,a.offset],a.comment&&(u.comment=a.comment),u}function J0(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=Ft(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?Fa(l,i,h,s):Yi(l,h.end,r,null,h,s);const f=o.contents.range[2],m=kn(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 Yu(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 Z0{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 F0(s,r,i)):this.errors.push(new nn(s,r,i))},this.directives=new Ce({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=Yu(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(ce(u)&&!u.flow&&u.items.length>0){let s=u.items[0];he(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}}if(n){for(let u=0;u<this.errors.length;++u)t.errors.push(this.errors[u]);for(let u=0;u<this.warnings.length;++u)t.warnings.push(this.warnings[u])}else t.errors=this.errors,t.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Yu(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=J0(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=kn(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 wa="\uFEFF",Ra="�",Ba="�",fi="�";function ed(e){switch(e){case wa:return"byte-order-mark";case Ra:return"doc-mode";case Ba:return"flow-error-end";case fi: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 we(e){switch(e){case void 0:case" ":case`
122`:case"\r":case"	":return!0;default:return!1}}const ju=new Set("0123456789ABCDEFabcdef"),td=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Pn=new Set(",[]{}"),nd=new Set(` ,[]{}
123\r	`),Ur=e=>!e||nd.has(e);class rd{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==="...")&&we(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]===wa&&(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 Ra,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==="...")&&we(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&&!we(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===":")&&we(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,"block-start"}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";
128case"*":return yield*this.pushUntil(Ur),"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("..."))&&we(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield Ba,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(Ur),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const s=this.charAt(1);if(this.flowKey||we(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=>we(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 fi,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(we(u)||t&&Pn.has(u))break;n=r}else if(we(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&&Pn.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&&Pn.has(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield fi,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(){let t=0;e:for(;;){switch(this.charAt(0)){case"!":t+=yield*this.pushTag(),t+=yield*this.pushSpaces(!0);continue e;
138case"&":t+=yield*this.pushUntil(Ur),t+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{const n=this.flowLevel>0,r=this.charAt(1);if(we(r)||n&&Pn.has(r)){n?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,t+=yield*this.pushCount(1),t+=yield*this.pushSpaces(!0);continue e}}}break e}return t}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!we(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(td.has(n))n=this.buffer[++t];else if(n==="%"&&ju.has(this.buffer[t+1])&&ju.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 id{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 tt(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function Ku(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 Pa(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 Mn(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 _t(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 Xn(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n<t.length;++n)e.push(t[n])}function Vu(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!tt(t.start,"explicit-key-ind")&&!tt(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Pa(t.value)?t.value.end?Xn(t.value.end,t.sep):t.value.end=t.sep:Xn(t.start,t.sep),delete t.sep)}let ud=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 rd,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=ed(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()}get 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"&&Vu(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&&Ku(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":{Ku(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}}
140*scalar(t){if(this.type==="map-value-ind"){const n=Mn(this.peek(2)),r=_t(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)){Xn(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=[];if(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(tt(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(Pa(n.key)&&!tt(n.sep,"newline")){const s=_t(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(tt(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const s=_t(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]}):tt(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&&!tt(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)){Xn(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;
142case"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||tt(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.type);!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=Mn(r),u=_t(i);Vu(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=Mn(t),r=_t(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=Mn(t),r=_t(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 sd(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new id||null,prettyErrors:t}}function ad(e,t={}){const{lineCounter:n,prettyErrors:r}=sd(t),i=new ud(n?.addNewLine),u=new Z0(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(qu(e,n)),s.warnings.forEach(qu(e,n))),s}function od(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 yn(e)&&!r?e.toString(n):new zt(e,r,n).toString(n)}function Ma(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Ua(e){return e}function cd(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,i=t.transformKey||Ua,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=Ma(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 ji(e,t){t=t||{};const n=t.delimiter||".",r=t.overwrite||!1,i=t.transformKey||Ua,u={};if(Ma(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,cd(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]=ji(e[h],t)}),u}const ld=/["&'<>`]/g,fd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hd=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,dd=/[|\\{}()[\]^$+*?.]/g,Qu=new WeakMap;function Ha(e,t){if(e=e.replace(t.subset?md(t.subset):ld,r),t.subset||t.escapeOnly)return e;return e.replace(fd,n).replace(hd,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 md(e){let t=Qu.get(e);return t||(t=pd(e),Qu.set(e,t)),t}function pd(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(dd,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const Ed=/[\dA-Fa-f]/;function gd(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!Ed.test(String.fromCharCode(t))?r:r+";"}const bd=/\d/;function Td(e,t,n){const r="&#"+String(e);return n&&t&&!bd.test(String.fromCharCode(t))?r:r+";"}const va=["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"],Hr={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:"€"},Ad=["cent","copy","divide","gt","lt","not","para","times"],za={}.hasOwnProperty,hi={};let Un;for(Un in Hr)za.call(Hr,Un)&&(hi[Hr[Un]]=Un);const Cd=/[^\dA-Za-z]/;function _d(e,t,n,r){const i=String.fromCharCode(e);if(za.call(hi,i)){const u=hi[i],s="&"+u;return n&&va.includes(u)&&!Ad.includes(u)&&(!r||t&&t!==61&&Cd.test(String.fromCharCode(t)))?s:s+";"}return""}function Dd(e,t,n){let r=gd(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=_d(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const u=Td(e,t,n.omitOptionalSemicolons);u.length<r.length&&(r=u)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function yd(e){return"&#x"+e.toString(16).toUpperCase()+";"}function GT(e,t){return Ha(e,Object.assign({format:Dd},t))}function Sd(e,t){return Ha(e,Object.assign({format:yd},t))}const Wu={}.hasOwnProperty;function qa(e,t){const n=t||{};function r(i,...u){let s=r.invalid;const a=r.handlers;if(i&&Wu.call(i,e)){const o=String(i[e]);s=Wu.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 kd(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()),Nd);return i(),s}function Nd(e,t,n){return">"+(n?"":" ")+e}function Id(e,t){return Gu(e,t.inConstruct,!0)&&!Gu(e,t.notInConstruct,!1)}function Gu(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 Xu(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
145`&&Id(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
146`}function xd(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 Od(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 Ld(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 Fd(e,t,n,r){const i=Ld(n),u=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(Od(e,n)){const f=n.enter("codeIndented"),m=n.indentLines(u,wd);return f(),m}const a=n.createTracker(r),o=i.repeat(Math.max(xd(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 wd(e,t,n){return(n?"":"    ")+e}function Ki(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 Rd(e,t,n,r){const i=Ki(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 Bd(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 Tn(e){return"&#x"+e.toString(16).toUpperCase()+";"}
vendor: 6,819 bytes, lines 150-155
150function Jn(e,t,n){const r=Ot(e),i=Ot(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}}$a.peek=Pd;function $a(e,t,n,r){const i=Bd(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()}));const l=o.charCodeAt(0),h=Jn(r.before.charCodeAt(r.before.length-1),l,i);h.inside&&(o=Tn(l)+o.slice(1));const f=o.charCodeAt(o.length-1),m=Jn(r.after.charCodeAt(0),f,i);m.inside&&(o=o.slice(0,-1)+Tn(f));const d=s.move(i);return u(),n.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},a+o+d}function Pd(e,t,n){return n.options.emphasis||"*"}function Md(e,t){let n=!1;return ve(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,ii}),!!((!e.depth||e.depth<3)&&yi(e)&&(t.options.setext||n))}function Ud(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),u=n.createTracker(r);if(Md(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=Tn(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,n.options.closeAtx&&(l+=" "+s),o(),a(),l}Ya.peek=Hd;function Ya(e){return e.value||""}function Hd(){return"<"}ja.peek=vd;function ja(e,t,n,r){const i=Ki(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 vd(){return"!"}Ka.peek=zd;function Ka(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 zd(){return"!"}Va.peek=qd;function Va(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 qd(){return"`"}function Qa(e,t){const n=yi(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))}Wa.peek=$d;function Wa(e,t,n,r){const i=Ki(n),u=i==='"'?"Quote":"Apostrophe",s=n.createTracker(r);let a,o;if(Qa(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 $d(e,t,n){return Qa(e,n)?"<":"["}Ga.peek=Yd;function Ga(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 Yd(){return"["}function Vi(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 jd(e){const t=Vi(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 Kd(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 Xa(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 Vd(e,t,n,r){const i=n.enter("list"),u=n.bulletCurrent;let s=e.ordered?Kd(n):Vi(n);const a=e.ordered?s==="."?")":".":jd(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),Xa(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 Qd(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 Wd(e,t,n,r){const i=Qd(n);let u=n.bulletCurrent||Vi(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 Gd(e,t,n,r){const i=n.enter("paragraph"),u=n.enter("phrasing"),s=n.containerPhrasing(e,r);return u(),i(),s}const Xd=cr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Jd(e,t,n,r){return(e.children.some(function(s){return Xd(s)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Zd(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Ja.peek=em;function Ja(e,t,n,r){const i=Zd(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=Jn(r.before.charCodeAt(r.before.length-1),l,i);h.inside&&(o=Tn(l)+o.slice(1));const f=o.charCodeAt(o.length-1),m=Jn(r.after.charCodeAt(0),f,i);m.inside&&(o=o.slice(0,-1)+Tn(f));const d=s.move(i+i);return u(),n.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},a+o+d}function em(e,t,n){return n.options.strong||"*"}function tm(e,t,n,r){return n.safe(e.value,r)}function nm(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 rm(e,t,n){const r=(Xa(n)+(n.options.ruleSpaces?" ":"")).repeat(nm(n));return n.options.ruleSpaces?r.slice(0,-1):r}const nt={blockquote:kd,break:Xu,code:Fd,definition:Rd,emphasis:$a,hardBreak:Xu,heading:Ud,html:Ya,image:ja,imageReference:Ka,inlineCode:Va,link:Wa,linkReference:Ga,list:Vd,listItem:Wd,paragraph:Gd,root:Jd,strong:Ja,text:tm,thematicBreak:rm},Ju={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 Za(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function im(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function um(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Zu(e){return um(e)||Za(e)}const sm=["","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 vr(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,L=k,P;if(T===35){L=++I;const j=e.charCodeAt(L);j===88||j===120?(P="hexadecimal",L=++I):P="decimal"}else P="named";let N="",z="",w="";const Y=P==="named"?Zu:P==="decimal"?Za:im;for(L--;++L<=e.length;){const j=e.charCodeAt(L);if(!Y(j))break;w+=String.fromCharCode(j),P==="named"&&va.includes(w)&&(N=w,z=En(w))}let x=e.charCodeAt(L)===59;if(x){L++;const j=P==="named"?En(w):!1;j&&(N=w,z=j)}let M=1+L-k,H="";if(!(!x&&n.nonTerminated===!1))if(!w)P!=="named"&&p(4,M);else if(P==="named"){if(x&&!z)p(5,1);else if(N!==w&&(L=I+N.length,M=1+L-I,x=!1),!x){const j=N?1:3;if(n.attribute){const G=e.charCodeAt(L);G===61?(p(j,M),z=""):Zu(G)?z="":p(j,M)}else p(j,M)}H=z}else{x||p(2,M);let j=Number.parseInt(w,P==="hexadecimal"?16:10);if(am(j))p(7,M),H="�";else if(j in Ju)p(6,M),H=Ju[j];else{let G="";om(j)&&p(6,M),j>65535&&(j-=65536,G+=String.fromCharCode(j>>>10|55296),j=56320|j&1023),H=G+String.fromCharCode(j)}}if(H){A(),m=E(),u=L-1,f+=L-k+1,i.push(H);const j=E();j.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,H,{start:m,end:j},e.slice(k-1,L)),m=j}else w=e.slice(k-1,L),a+=w,f+=w.length,u=L-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,sm[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 am(e){return e>=55296&&e<=57343||e>1114111}function om(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 Zn="---",cm="```yaml [props]",lm=`
156`,fm="\r";function eo(e,t){if(!e||!Object.keys(e).length)return"";if(t?.preserveOrder&&e.__order__){const n=new zt;return n.contents=mi(e.__order__),String(n).trim()}return Reflect.deleteProperty(e,"__order__"),e=ji(e||{},{}),[t?.prefix||"",od(e,t).trim(),t?.suffix||""].join(`
157`).trim()}function hm(e,t="",n){return[eo(e,{prefix:Zn,suffix:Zn,...n}),"",t.trim()].join(`
158`).trim()+`
159`}function dm(e,t="",n){return[eo(e,{prefix:cm,suffix:"```",...n}),t.trim()].join(`
160`).trim()+`
161`}function to(e,t){let n={};if(e.startsWith(Zn)){const r=e.indexOf(lm+Zn);if(r!==-1){const i=e[r-1]===fm,u=e.slice(4,r-(i?1:0));if(u){const s=ad(u,t);
161n=s.toJSON(),t?.preserveOrder&&(n.__order__=di(s.contents)),e=e.slice(r+4+(i?1:0))}}}return{content:e,data:ji(n||{},{})}}function di(e){if(Pt(e)){const t=[];for(const n of e.items)t.push([n.key.value,di(n.value)]);return{type:"map",value:t}}return Mt(e)?{type:"seq",value:e.items.map(t=>di(t))}:ue(e)?{type:"scalar",value:e.value}:{type:"scalar",value:null}}function mi(e){if(e.type==="map"){const t=new ke;for(const[n,r]of e.value)t.items.push(new Te(new W(n),mi(r)));return t}if(e.type==="seq"){const t=new ut;for(const n of e.value)t.items.push(mi(n));return t}return new W(e.value)}function er(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 mm(e,t,n={}){const r=t.indexStack,i=e.children||[],u=er(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 pm(e,t,n={}){const r=t.indexStack,i=e.children||[],u=er(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 Em(e,t,n){const r=t.indexStack,i=e.children||[],u=[];let s=-1,a=n.before;r.push(-1);let o=er(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=er(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 gm(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 no=new Set(["componentContainerSection","containerComponent","leafComponent"]),bm=new Set(["componentContainerSection","componentContainerDataSection","containerComponent","leafComponent","table","pre","code","textComponent","heading"]);function Tm(e){return e.replace(/&#x([0-9A-Fa-f]+);/g,(t,n)=>String.fromCodePoint(Number.parseInt(n,16)))}const es=/^[^\t\n\r "'.<=>`}]+$/,Am=2;function ts(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 Cm=(e={})=>{const t=(d,E)=>{if(!no.has(d.type))return;const p=T=>["paragraph"].includes(T)||bm.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?dm(p).trim():hm(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(Am+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(w=>w.type!=="componentContainerSection"),L=d.children.filter(w=>w.type==="componentContainerSection");d.children=[...I,...L],d.fmAttributes=d.fmAttributes||{};const P=h(d,p),N=Object.entries(d.attributes||{});((k+P).length>(e?.attributes?.maxLength||80)||Object.keys(d.fmAttributes).length>0||N.length>3||N.some(([w,Y])=>typeof Y=="object")||P.match(/(=['"][{[]|\n)/)||d.children?.some(w=>w.type==="componentContainerSection"))&&(Object.assign(d.fmAttributes,d.attributes),d.attributes=[]),r(d),k+=h(d,p),k+=n(d);let z;return d.type==="containerComponent"&&(z=f(d,p),z&&(k+=`
174`+z),k+=`
175`+A,s>1&&(k=k.split(`
176`).map(w=>w.length>0?"  "+w:w).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=Em(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=gm(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],[x])=>Y.localeCompare(x)),I=[];let L,P="",N="",z;
178for(const Y of k){const x=Y[0];let M;if(Y[1]!=null)if(M=String(Y[1]),x==="id")L=es.test(M)?"#"+M:w("id",M);else if(x==="class"||x==="className"){for(M=Array.isArray(k[x])?k[x].join(" "):M,M=M.split(/[\t\n\r ]+/g).filter(Boolean),P=[],N=[],z=-1;++z<M.length;)(es.test(M[z])?N:P).push(M[z]);P=P.length?w("class",P.join(" ")):"",N=N.length?"."+N.join("."):""}else x.startsWith(":")&&M==="true"?I.push(x.slice(1)):x.startsWith(":")&&l(M)?I.push(`${x}='${M.replace(/([^/])'/g,"$1\\'")}'`):typeof Y[1]=="object"?I.push(w(x,JSON.stringify(M))):I.push(w(x,M))}return P&&I.unshift(P),N&&I.unshift(N),L&&I.unshift(L),I.length?"{"+I.join(" ")+"}":"";function w(Y,x){return Y+"="+p+Sd(x,{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"?mm(p,E):pm(p,E);return A.includes("&#x")&&(A=Tm(A)),A}function m(d){return d.children&&d.children[0]&&d.children[0].data&&d.children[0].data.componentLabel}return{compilePattern:ts,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)=>nt.image(d,E,p,A)+h(d,p),link:(d,E,p,A)=>{const T=p.unsafe.find(L=>L.character==="&"),k=T?.notInConstruct||[];T&&(T.notInConstruct="destinationRaw");const I=nt.link(d,E,p,A)+h(d,p);return T&&(T.notInConstruct=k),I},linkReference:(d,E,p,A)=>nt.linkReference(d,E,p,A)+h(d,p),strong:(d,E,p,A)=>nt.strong(d,E,p,A)+h(d,p),inlineCode:(d,E,p)=>(p.compilePattern=p.compilePattern||ts,nt.inlineCode(d,E,p)+h(d,p)),emphasis:(d,E,p,A)=>nt.emphasis(d,E,p,A)+h(d,p)}}},_m=(e={})=>{const t=["textComponent"],n=S=>{const q=S.children[0];q&&q.children?.length&&q.children[0]?.type==="code"&&q.children[0]?.lang==="yaml"&&q.children[0]?.meta==="[props]"&&(S.rawData=q.children[0].value,S.mdc=S.mdc||{},S.mdc.codeBlockProps=!0,q.children.splice(0,1))},r=(S,q)=>{if(!no.has(S.type))return;const y=S.children.filter(se=>se.type!=="componentContainerSection");if(y.length!==1)return;const _=y[0];if(_.type!=="paragraph")return;const re=S.children.indexOf(_);S.children.splice(re,1,..._?.children||[])},i=S=>{e.attributes?.yamlCodeBlock&&n(S),e.autoUnwrap&&r(S,typeof e.autoUnwrap=="boolean"?{}:e.autoUnwrap)},u={componentContainer:l,componentContainerSection:f,componentContainerDataSection:m,componentContainerAttributes:w,componentContainerLabel:N,bindingContent:a,componentLeaf:A,componentLeafAttributes:w,componentText:k,textSpan:T,componentTextAttributes:w},s={bindingContent:o,componentContainerSectionTitle:p,listUnordered:X,listOrdered:X,listItem:X,componentContainerSection:d,componentContainerDataSection:E,componentContainer:h,componentContainerAttributeClassValue:x,componentContainerAttributeIdValue:Y,componentContainerAttributeName:H,componentContainerAttributeValue:M,componentContainerAttributes:j,componentContainerLabel:z,componentContainerName:L,componentContainerAttributeInitializerMarker(){const S=this.data.componentAttributes;S[S.length-1][1]=""},componentLeaf:G,componentLeafAttributeClassValue:x,componentLeafAttributeIdValue:Y,componentLeafAttributeName:H,componentLeafAttributeValue:M,componentLeafAttributes:j,componentLeafName:P,componentText:G,textSpan:G,componentTextAttributeClassValue:x,componentTextAttributeIdValue:Y,componentTextAttributeName:H,componentTextAttributeValue:M,componentTextAttributes:j,componentTextName:L};function a(S){const y=/([^|]*)(?:\|\|\s*'(.*)')?/.exec(this.sliceSerialize(S));this.enter({type:"textComponent",name:"binding",attributes:{value:y?.[1]?.trim(),defaultValue:y?.[2]}},S)}function o(S){this.exit(S)}function l(S){I.call(this,"containerComponent",S)}function h(S){const q=this.stack[this.stack.length-1];if(q.children.length>1){const y=q.children.find(_=>_.rawData);q.rawData=y?.rawData}i(q),q.children=q.children.flatMap(y=>y.rawData?[]:y.name==="default"&&Object.keys(y.attributes).length===0||!y.name?(y.mdc?.unwrapped&&(q.mdc=q.mdc||{}
179,q.mdc.unwrapped=y.mdc?.unwrapped),y.children):(y.data={hName:"component-slot",hProperties:{...y.attributes,[`v-slot:${y.name}`]:""}},y)),this.exit(S)}function f(S){I.call(this,"componentContainerSection",S)}function m(S){I.call(this,"componentContainerDataSection",S)}function d(S){const q=this.stack[this.stack.length-1];oe.call(this,q),i(q),this.exit(S)}function E(S){let q=this.stack[this.stack.length-1];q=oe.call(this,q),q.type==="componentContainerDataSection"&&(q.rawData=this.sliceSerialize(S),this.exit(S))}function p(S){this.stack[this.stack.length-1].name=this.sliceSerialize(S)?.trim()}function A(S){I.call(this,"leafComponent",S)}function T(S){this.enter({type:"textComponent",name:"span",attributes:{},children:[]},S)}function k(S){I.call(this,"textComponent",S)}function I(S,q){this.enter({type:S,name:"",attributes:{},children:[]},q)}function L(S){this.stack[this.stack.length-1].name=pn(this.sliceSerialize(S))}function P(S){this.stack[this.stack.length-1].name=this.sliceSerialize(S)}function N(S){this.enter({type:"paragraph",data:{componentLabel:!0},children:[]},S)}function z(S){this.exit(S)}function w(){this.data.componentAttributes=[],this.buffer()}function Y(S){this.data.componentAttributes.push(["id",vr(this.sliceSerialize(S))])}function x(S){this.data.componentAttributes.push(["class",vr(this.sliceSerialize(S))])}function M(S){const q=this.data.componentAttributes,y=q[q.length-1];y[1]=(typeof y[1]=="string"?y[1]:"")+vr(this.sliceSerialize(S))}function H(S){this.data.componentAttributes.push([this.sliceSerialize(S),!0])}function j(){const S=this.data.componentAttributes,q={};let y=-1,_;for(;++y<S.length;){_=S[y];const se=pn(_[0]);se==="class"&&q.class?q.class+=" "+_[1]:q[se]=_[1]}this.data.componentAttributes=S,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:S},...q}:q}function G(S){this.exit(S)}function X(S){const[q]=this.tokenStack[this.tokenStack.length-1];q.type===S.type&&this.exit(S)}function oe(S){for(;S.type==="listItem"||S.type==="list";){const[q]=this.tokenStack[this.tokenStack.length-1];this.exit(q),S=this.stack[this.stack.length-1]}return S}return{canContainEols:t,enter:u,exit:s}},Dm=2,ym=3,ns=35,Sm=1,R={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 Qi(e,t,n,r,i,u,s){let a=0,o=0;return l;function l(p){if(p!==R.openingSquareBracket)throw new Error("expected `[`");return e.enter(r),e.enter(i),e.consume(p),e.exit(i),h}function h(p){return p===R.closingSquareBracket?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(u),f(p))}function f(p){return p===R.EOF||a>999?n(p):p===R.closingSquareBracket&&!o--?d(p):K(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===R.EOF||K(p)||a>999?(e.exit("chunkText"),f(p)):p===R.openingSquareBracket&&++o>3?n(p):p===R.closingSquareBracket&&!o--?(e.exit("chunkText"),d(p)):(e.consume(p),p===R.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===R.openingSquareBracket||p===R.backSlash||p===R.closingSquareBracket?(e.consume(p),a++,m):m(p)}}const km={tokenize:Om,partial:!0},Nm={tokenize:Fm,partial:!0},Im={tokenize:wm,partial:!0};function xm(e,t,n){const r=this;return i;function i(o){if(o!==R.openingSquareBracket)throw new Error("expected `[`");return r.previous===R.EOF&&r._gfmTasklistFirstContentOfListItem?e.check(Nm,n,u)(o):r.previous===R.openingSquareBracket?n(o):e.check(Im,n,u)(o)}function u(o){return e.enter("textSpan"),e.attempt(km,s,n)(o)}function s(o){return o===R.openingParentheses||o===R.openingSquareBracket?n(o):a(o)}function a(o){return e.exit("textSpan"),t(o)}}
179function Om(e,t,n){return Qi(e,t,n,"componentTextLabel","componentTextLabelMarker","componentTextLabelString")}const Lm={tokenize:xm};function Fm(e,t,n){return r;function r(u){return e.enter("formGfmTaskCheckbox"),e.consume(u),i}function i(u){return Q(u)||u===R.uppercaseX||u===R.lowercaseX?(e.consume(u),i):u===R.closingSquareBracket?(e.exit("formGfmTaskCheckbox"),t(u)):n(u)}}function wm(e,t,n){return r;function r(u){return e.enter("doubleBracket"),e.consume(u),i}function i(u){return u!==R.openingSquareBracket?n(u):(e.exit("doubleBracket"),t(u))}}function Wi(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===R.hash?(p=s,L(y)):y===R.dot?(p=a,L(y)):y===R.colon||y===R.underscore||pe(y)?(e.enter(u),e.enter(o),e.consume(y),T=y===R.colon,y===R.colon?z:Y):E&&Q(y)?V(e,I,"whitespace")(y):!E&&te(y)?He(e,I)(y):q(y)}function L(y){return e.enter(u),e.enter(p),e.enter(p+"Marker"),e.consume(y),e.exit(p+"Marker"),P}function P(y){return y===R.EOF||y===R.quotationMark||y===R.hash||y===R.apostrophe||y===R.dot||y===R.LessThan||y===R.equals||y===R.greaterThan||y===R.backTick||y===R.closingCurlyBracket||te(y)?n(y):(e.enter(p+"Value"),e.consume(y),N)}function N(y){return y===R.EOF||y===R.quotationMark||y===R.apostrophe||y===R.LessThan||y===R.equals||y===R.greaterThan||y===R.backTick?n(y):y===R.dot||y===R.closingCurlyBracket||te(y)?(e.exit(p+"Value"),e.exit(p),e.exit(u),I(y)):(e.consume(y),N)}function z(y){return y===R.dash||de(y)?(e.consume(y),z):(e.exit(o),E&&Q(y)?V(e,w,"whitespace")(y):!E&&te(y)?He(e,w)(y):w(y))}function w(y){return y===R.equals?(e.enter(l),e.consume(y),e.exit(l),M):(e.exit(u),n(y))}function Y(y){return y===R.dash||y===R.dot||y===R.colon||y===R.underscore||de(y)?(e.consume(y),Y):(e.exit(o),E&&Q(y)?V(e,x,"whitespace")(y):!E&&te(y)?He(e,x)(y):x(y))}function x(y){return y===R.equals?(e.enter(l),e.consume(y),e.exit(l),M):(e.exit(u),I(y))}function M(y){return y===R.EOF||y===R.LessThan||y===R.equals||y===R.greaterThan||y===R.backTick||y===R.closingCurlyBracket||E&&K(y)?n(y):y===R.quotationMark||y===R.apostrophe?(e.enter(h),e.enter(m),e.consume(y),e.exit(m),A=y,j):E&&Q(y)?V(e,M,"whitespace")(y):!E&&te(y)?He(e,M)(y):(e.enter(f),e.enter(d),e.consume(y),A=void 0,H)}function H(y){return y===R.EOF||y===R.quotationMark||y===R.apostrophe||y===R.LessThan||y===R.equals||y===R.greaterThan||y===R.backTick?n(y):y===R.closingCurlyBracket||te(y)?(e.exit(d),e.exit(f),e.exit(u),I(y)):(e.consume(y),H)}function j(y){return y===A?(e.enter(m),e.consume(y),e.exit(m),e.exit(h),e.exit(u),S):(e.enter(f),G(y))}function G(y){return y===A?(e.exit(f),j(y)):y===R.EOF?n(y):K(y)?E?n(y):He(e,G)(y):(e.enter(d),e.consume(y),X)}function X(y){return T&&y===R.backSlash?(e.exit(d),e.exit(f),e.enter("escapeCharacter"),e.consume(y),e.exit("escapeCharacter"),e.enter(f),e.enter(d),oe):y===A||y===R.EOF||K(y)?(e.exit(d),G(y)):(e.consume(y),X)}function oe(y){return e.consume(y),X}function S(y){return y===R.closingCurlyBracket||te(y)?I(y):q(y)}function q(y){return y===R.closingCurlyBracket?(e.enter(i),e.consume(y),e.exit(i),e.exit(r),t):n(y)}}const Rm={tokenize:Mm,partial:!0},Bm=["textSpan","attentionSequence","codeText","link","image"];function Pm(e,t,n){const r=this;return i;function i(u){if(u!==R.openingCurlyBracket)throw new Error("expected `{`");const s=r.events[r.events.length-1];return K(r.previous)||!s||!Bm.includes(s[1].type)?n(u):e.attempt(Rm,t,n)(u)}}function Mm(e,t,n){return Wi(e,t,n,"componentTextAttributes","componentTextAttributesMarker","componentTextAttribute","componentTextAttributeId","componentTextAttributeClass","componentTextAttributeName","componentTextAttributeInitializerMarker","componentTextAttributeValueLiteral","componentTextAttributeValue","componentTextAttributeValueMarker","componentTextAttributeValueData")}const Um={tokenize:Pm};function Hm(e,t,n){return r;function r(u){return u!==R.closingCurlyBracket?n(u):(e.exit("bindingContent"),e.enter("bindingFence"),e.consume(u),i)}function i(u){return u!==R.closingCurlyBracket?n(u):(e.consume(u),e.exit("bindingFence"),t)}}function vm(e,t,n){return r;function r(a){if(a!==R.openingCurlyBracket)throw new Error("expected `{`");return e.enter("bindingFence"),e.consume(a),i}function i(a){return a!==R.openingCurlyBracket?n(a):(e.consume(a),e.exit("bindingFence"),e.enter("bindingContent"),u)}function u(a){return a===R.closingCurlyBracket?e.attempt({tokenize:Hm,partial:!0},s,o=>(e.consume(o),u))(a):(e.consume(a),u)}function s(a){return t(a)}}const zm={tokenize:vm};function ro(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===R.dash||a===R.underscore||de(a)?(e.consume(a),s):(e.exit(r),i.previous===R.underscore?n(a):t(a))}}const rs={tokenize:$m,partial:!0},is={tokenize:Ym,partial:!0};function io(e){return e!==R.colon||this.events[this.events.length-1]?.[1]?.type==="characterEscape"}function qm(e,t,n){const r=this;return i;function i(l){if(l!==R.colon)throw new Error("expected `:`");if(r.previous!==null&&!te(r.previous)&&![R.openingSquareBracket,R.star,R.underscore,R.openingParentheses].includes(r.previous))return n(l);if(!io.call(r,r.previous))throw new Error("expected correct previous");return e.enter("componentText"),e.enter("componentTextMarker"),e.consume(l),e.exit("componentTextMarker"),ro.call(r,e,u,n,"componentTextName")}function u(l){return l===R.colon?n(l):l===R.openingSquareBracket?e.attempt(rs,a,a)(l):l===R.openingCurlyBracket?e.attempt(is,s,s)(l):o(l)}function s(l){return l===R.openingSquareBracket?e.attempt(rs,a,a)(l):o(l)}function a(l){return l===R.openingCurlyBracket?e.attempt(is,o,o)(l):o(l)}function o(l){return e.exit("componentText"),t(l)}}function $m(e,t,n){return Qi(e,t,n,"componentTextLabel","componentTextLabelMarker","componentTextLabelString")}function Ym(e,t,n){return Wi(e,t,n,"componentTextAttributes","componentTextAttributesMarker","componentTextAttribute","componentTextAttributeId","componentTextAttributeClass","componentTextAttributeName","componentTextAttributeInitializerMarker","componentTextAttributeValueLiteral","componentTextAttributeValue","componentTextAttributeValueMarker","componentTextAttributeValueData")}const uo={tokenize:qm,previous:io};function so(e){let t=-1,n=0;for(;++t<e.length;
179)n+=typeof e[t]=="string"?e[t].length:1;return n}function jm(e,t){const n=e[e.length-1];return!n||n[1].type!==t?0:so(n[2].sliceStream(n[1]))}function rn(e){let t=0,n=e.length-1,r=e[n];for(;n>=0&&r&&r[1].type==="linePrefix"&&r[0]==="exit";)t+=so(r[2].sliceStream(r[1])),n-=1,r=e[n];return t}const Km=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},Vm={tokenize:Qm,partial:!0};function Qm(e,t,n){let r=0;return i;function i(s){return e.enter("codeFenced"),u(s)}function u(s){return s===R.backTick||s===R.tilde?(r++,e.consume(s),u):(e.exit("codeFenced"),r>=3?t(s):n(s))}}function Wm(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(L){return Q(L)?(f.consume(L),A+=1,T):(f.exit("space"),k(L))}function k(L){return Q(L)?(f.enter("space"),T(L)):(A===0&&(A=rn(E.events)),f.enter("componentContainerSectionSequence"),I(L))}function I(L){return L===R.dash||Q(L)?(f.consume(L),p++,I):p<ym||A!==i||!K(L)?d(L):(f.exit("componentContainerSectionSequence"),V(f,m,"whitespace")(L))}}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)):K(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"),V(e,r,"whitespace")(f)}}const Gm={tokenize:Jm,partial:!0},zr={tokenize:Zm,partial:!0};function Xm(e,t,n){const r=this,i=rn(this.events);let u=0,s;const a=[];let o=!0,l=!1,h=0,f=!1,m=!1;const d=Km("componentContainerSection");return E;function E(S){if(S!==R.colon)throw new Error("expected `:`");return e.enter("componentContainer"),e.enter("componentContainerFence"),e.enter("componentContainerSequence"),k(S)}function p(S,q,y){let _=0,re=0,se;return D;function D(ge){return re=rn(r.events),se=d.exit(S),S.enter("componentContainerSectionSequence"),Z(ge)}function Z(ge){return ge===ns?(S.consume(ge),_++,Z):_!==Sm||re!==i||!pe(ge)?(se(),y(ge)):(S.exit("componentContainerSectionSequence"),V(S,q,"whitespace")(ge))}}function A(S){return s=void 0,d.enter(e),K(S)?V(e,M,"whitespace")(S):(e.enter("componentContainerSectionTitle"),T(S))}function T(S){return S===R.openingCurlyBracket?e.check(zr,q=>(e.exit("componentContainerSectionTitle"),e.attempt(zr,V(e,M,"linePrefix",4),n)(q)),q=>(e.consume(q),T))(S):K(S)?(e.exit("componentContainerSectionTitle"),V(e,M,"linePrefix",4)(S)):(e.consume(S),T)}function k(S){return S===R.colon?(e.consume(S),u++,k):u<Dm?n(S):(e.exit("componentContainerSequence"),ro.call(r,e,I,n,"componentContainerName")(S))}function I(S){return S===R.openingSquareBracket?e.attempt(Gm,L,L)(S):L(S)}function L(S){return S===R.openingCurlyBracket?e.attempt(zr,P,P)(S):P(S)}function P(S){return V(e,N,"whitespace")(S)}function N(S){return e.exit("componentContainerFence"),S===null?(e.exit("componentContainer"),t(S)):K(S)?(e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),r.interrupt?t:z):n(S)}function z(S){return S===null?(e.exit("componentContainer"),t(S)):o&&(S===R.dash||Q(S))?(o=!1,Wm(e,t,n,z,i)(S)):(e.enter("componentContainerContent"),M(S))}function w(S){return S===null?G(S):S===R.backTick||S===R.tilde?e.check(Vm,q=>(f&&(m=!1),f=!f,H(q)),H)(S):f?H(S):!a.length&&(S===ns||S===R.space)?e.attempt({tokenize:p,partial:!0},A,H)(S):S===R.colon?e.attempt({tokenize:X,partial:!0},G,H)(S):H(S)}function Y(S){if(h){if(f&&!m)return w(S);const q=r.events.length;return V(e,y=>((y===R.backTick||y===R.tilde)&&!f&&(m=rn(r.events.slice(q))>=h),w(y)),"linePrefix",h+1)(S)}return w(S)}function x(S){if(h){if(f&&!m)return w(S);const q=r.events.length;return V(e,y=>((y===R.backTick||y===R.tilde)&&!f&&(m=rn(r.events.slice(q))>=h),w(y)),"linePrefix",h+1)(S)}return f?w(S):e.check({tokenize:oe,partial:!0},Y,w)(S)}function M(S){if(S===null)return G(S);let q=Y;return l&&(q=x),l=K(S),i>0?V(e,q,"linePrefix",i+1)(S):q(S)}function H(S){if(S===null)return G(S);d.enterOnce(e);const q=e.enter("chunkDocument",{contentType:"document",previous:s});return s&&(s.next=q),s=q,j(S)}function j(S){return S===null?(e.exit("chunkDocument"),G(S)):K(S)?(e.consume(S),e.exit("chunkDocument"),M):(e.consume(S),j)}function G(S){return d.exit(e),e.exit("componentContainerContent"),e.exit("componentContainer"),t(S)}function X(S,q,y){let _=0;return V(S,re,"linePrefix",4);function re(Z){return S.enter("componentContainerFence"),S.enter("componentContainerSequence"),se(Z)}function se(Z){return Z===R.colon?(S.consume(Z),_++,se):a.length?(_===a[a.length-1]&&a.pop(),y(Z)):_!==u?y(Z):(S.exit("componentContainerSequence"),V(S,D,"whitespace")(Z))}function D(Z){return Z===null||K(Z)?(S.exit("componentContainerFence"),q(Z)):(a.push(_),y(Z))}}function oe(S,q,y){let _=0;function re(Z){return Z!==R.space?y(Z):se(Z)}function se(Z){return S.enter("linePrefix"),Z===R.space?(S.consume(Z),_+=1,se):D(Z)}return re;function D(Z){return Z===R.colon&&_>0?(h=_,q(Z)):K(Z)?(l=!1,h=0,q(Z)):y(Z)}}}function Jm(e,t,n){return Qi(e,t,n,"componentContainerLabel","componentContainerLabelMarker","componentContainerLabelString",!0)}function Zm(e,t,n){return Wi(e,t,n,"componentContainerAttributes","componentContainerAttributesMarker","componentContainerAttribute","componentContainerAttributeId","componentContainerAttributeClass","componentContainerAttributeName","componentContainerAttributeInitializerMarker","componentContainerAttributeValueLiteral","componentContainerAttributeValue","componentContainerAttributeValueMarker","componentContainerAttributeValueData",!0)}const ao={tokenize:Xm,concrete:!0};function ep(e,t,n){const r=this;return V(e,i,"linePrefix");function i(u){if(jm(r.events,"linePrefix")<4)return n(u);switch(u){case R.backTick:return ri.tokenize.call(r,e,t,n)(u);case R.colon:return ao.tokenize.call(r,e,t,n)(u);default:return n(u)}}}const qr={tokenize:ep};function tp(e,t,n){const r=this,i=uo.tokenize.call(r,e,V(e,s,"linePrefix"),n);return V(e,u,"linePrefix");function u(a){return a===R.colon?i(a):n(a)}function s(a){return K(a)||a===R.EOF?t(a):n(a)}}const np={tokenize:tp};function rp(){return{text:{[R.colon]:uo,[R.openingSquareBracket]:[Lm],[R.openingCurlyBracket]:[zm,Um]},flow:{[R.colon]:[ao,np]},flowInitial:{"-2":qr,"-1":qr,[R.space]:qr}}}const ip=e=>`---
180${e}
181---`,up=(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",rp()),r("fromMarkdownExtensions",_m(t)),r("toMarkdownExtensions",Cm(t));function r(i,u){n[i]||(n[i]=[]),n[i].push(u)}return t?.components?.length?async(i,{data:u})=>{const s=[];return ve(i,["textComponent","leafComponent","containerComponent"],a=>{us(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=>{ve(i,["textComponent","leafComponent","containerComponent"],u=>{us(u,t.frontmatter)})}});function us(e,t){const n=e.data||(e.data={});e.fmAttributes=sp(e,t),n.hName=pn(e.name),n.hProperties=ap({...e.attributes,...e.fmAttributes})}function sp(e,t){if(e.rawData){const n=e.rawData.replace(/\s-+$/,""),{data:r}=to(ip(n),t);return r}return{}}function ap(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 ss=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 as(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 op(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}
vendor: 12,330 bytes, lines 181-185
181function cp(e,t,n){const i=cr((n||{}).ignore||[]),u=lp(t);let s=-1;for(;++s<u.length;)Zs(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 L=I.index,P={index:I.index,input:I.input,stack:[...h,l]};let N=d(...I,P);if(typeof N=="string"&&(N=N.length>0?{type:"text",value:N}:void 0),N===!1?m.lastIndex=L+1:(E!==L&&k.push({type:"text",value:l.value.slice(E,L)}),Array.isArray(N)?k.push(...N):N&&k.push(N),E=L+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 lp(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([fp(i[0]),hp(i[1])])}return t}function fp(e){return typeof e=="string"?new RegExp(op(e),"g"):e}function hp(e){return typeof e=="function"?e:function(){return e}}const $r="phrasing",Yr=["autolink","link","image","label"];function dp(){return{transforms:[Ap],enter:{literalAutolink:pp,literalAutolinkEmail:jr,literalAutolinkHttp:jr,literalAutolinkWww:jr},exit:{literalAutolink:Tp,literalAutolinkEmail:bp,literalAutolinkHttp:Ep,literalAutolinkWww:gp}}}function mp(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:$r,notInConstruct:Yr},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:$r,notInConstruct:Yr},{character:":",before:"[ps]",after:"\\/",inConstruct:$r,notInConstruct:Yr}]}}function pp(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function jr(e){this.config.enter.autolinkProtocol.call(this,e)}function Ep(e){this.config.exit.autolinkProtocol.call(this,e)}function gp(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 bp(e){this.config.exit.autolinkEmail.call(this,e)}function Tp(e){this.exit(e)}function Ap(e){cp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Cp],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),_p]],{ignore:["link","linkReference"]})}function Cp(e,t,n,r,i){let u="";if(!oo(i)||(/^w/i.test(t)&&(n=t+n,t="",u="http://"),!Dp(n)))return!1;const s=yp(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 _p(e,t,n,r){return!oo(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Dp(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 yp(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=as(e,"(");let u=as(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 oo(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||pt(n)||ur(n))&&(!t||n!==47)}co.peek=wp;function Sp(){this.buffer()}function kp(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Np(){this.buffer()}function Ip(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function xp(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Re(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Op(e){this.exit(e)}function Lp(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Re(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Fp(e){this.exit(e)}function wp(){return"["}function co(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 Rp(){return{enter:{gfmFootnoteCallString:Sp,gfmFootnoteCall:kp,gfmFootnoteDefinitionLabelString:Np,gfmFootnoteDefinition:Ip},exit:{gfmFootnoteCallString:xp,gfmFootnoteCall:Op,gfmFootnoteDefinitionLabelString:Lp,gfmFootnoteDefinition:Fp}}}function Bp(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:co},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?lo:Pp))),l(),o}}function Pp(e,t,n){return t===0?e:lo(e,t,n)}function lo(e,t,n){return(n?"":"    ")+e}const Mp=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];fo.peek=qp;function Up(){return{canContainEols:["delete"],enter:{strikethrough:vp},exit:{strikethrough:zp}}}function Hp(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Mp}],handlers:{delete:fo}}}function vp(e){this.enter({type:"delete",children:[]},e)}function zp(e){this.exit(e)}function fo(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 qp(){return"~"}function $p(e){return e.length}function Yp(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||$p,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=jp(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]=os(r[f]);else{const p=os(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="",L="";if(n.alignDelimiters!==!1){const P=o[f]-(A[f]||0),N=u[f];N===114?I=" ".repeat(P):N===99?P%2?(I=" ".repeat(P/2+.5),L=" ".repeat(P/2-.5)):(I=" ".repeat(P/2),L=I):L=" ".repeat(P)}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(L),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 jp(e){return e==null?"":String(e)}function os(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 Kp(){return{enter:{table:Vp,tableData:cs,tableHeader:cs,tableRow:Wp},exit:{codeText:Gp,table:Qp,tableData:Kr,tableHeader:Kr,tableRow:Kr}}}function Vp(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 Qp(e){this.exit(e),this.data.inTable=void 0}function Wp(e){this.enter({type:"tableRow",children:[]},e)}function Kr(e){this.exit(e)}function cs(e){this.enter({type:"tableCell",children:[]},e)}function Gp(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Xp));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Xp(e,t){return t==="|"?t:e}function Jp(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 Yp(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=nt.inlineCode(d,E,p);return p.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function Zp(){return{exit:{taskListCheckValueChecked:ls,taskListCheckValueUnchecked:ls,paragraph:t1}}}function e1(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:n1}}}function ls(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function t1(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 n1(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=nt.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 r1(){return[dp(),Rp(),Up(),Kp(),Zp()]}function i1(e){return{extensions:[mp(),Bp(e),Hp(),Jp(e),e1()]}}const u1={tokenize:f1,partial:!0},ho={tokenize:h1,partial:!0},mo={tokenize:d1,partial:!0},po={tokenize:m1,partial:!0},s1={tokenize:p1,partial:!0},Eo={name:"wwwAutolink",tokenize:c1,previous:bo},go={name:"protocolAutolink",tokenize:l1,previous:To},Ge={name:"emailAutolink",tokenize:o1,previous:Ao},qe={};function a1(){return{text:qe}}let ct=48;for(;ct<123;)qe[ct]=Ge,ct++,ct===58?ct=65:ct===91&&(ct=97);qe[43]=Ge;qe[45]=Ge;qe[46]=Ge;qe[95]=Ge;qe[72]=[Ge,go];qe[104]=[Ge,go];qe[87]=[Ge,Eo];qe[119]=[Ge,Eo];function o1(e,t,n){const r=this;let i,u;return s;function s(f){return!pi(f)||!Ao.call(r,r.previous)||Gi(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return pi(f)?(e.consume(f),a):f===64?(e.consume(f),o):n(f)}function o(f){return f===46?e.check(s1,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 c1(e,t,n){const r=this;return i;function i(s){return s!==87&&s!==119||!bo.call(r,r.previous)||Gi(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(u1,e.attempt(ho,e.attempt(mo,u),n),n)(s))}function u(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function l1(e,t,n){const r=this;let i="",u=!1;return s;function s(f){return(f===72||f===104)&&To.call(r,r.previous)&&!Gi(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||Vn(f)||te(f)||pt(f)||ur(f)?n(f):e.attempt(ho,e.attempt(mo,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}
vendor: 6,712 bytes, line 185
185function f1(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 h1(e,t,n){let r,i,u;return s;function s(l){return l===46||l===95?e.check(po,o,a)(l):l===null||te(l)||pt(l)||l!==45&&ur(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 d1(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===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(po,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 m1(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 p1(e,t,n){return r;function r(u){return e.consume(u),i}function i(u){return de(u)?n(u):t(u)}}function bo(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||te(e)}function To(e){return!pe(e)}function Ao(e){return!(e===47||pi(e))}function pi(e){return e===43||e===45||e===46||e===95||de(e)}function Gi(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 E1={tokenize:y1,partial:!0};function g1(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:C1,continuation:{tokenize:_1},exit:D1}},text:{91:{name:"gfmFootnoteCall",tokenize:A1},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:b1,resolveTo:T1}}}}function b1(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=Re(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 T1(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 A1(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(Re(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 C1(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=Re(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),V(e,d,"gfmFootnoteDefinitionWhitespace")):n(E)}function d(E){return t(E)}}function _1(e,t,n){return e.check(Dn,t,e.attempt(E1,t,n))}function D1(e){e.exit("gfmFootnoteDefinition")}function y1(e,t,n){const r=this;return V(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 S1(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: 2,374 bytes, line 185
185]],d=a.parser.constructs.insideSpan.null;d&&Ne(m,m.length,0,sr(d,s.slice(l+1,o),a)),Ne(m,m.length,0,[["exit",f,a],["enter",s[o][1],a],["exit",s[o][1],a],["exit",h,a]]),Ne(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=Ot(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=Ot(E);return A._open=!T||T===2&&!!p,A._close=!p||p===2&&!!T,a(E)}}}class k1{constructor(){this.map=[]}add(t,n,r){N1(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 N1(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 I1(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 x1(){return{flow:{null:{name:"table",tokenize:O1,resolveAll:L1}}}}function O1(e,t,n){const r=this;let i=0,u=0,s;return a;function a(x){let M=r.events.length-1;for(;M>-1;){const G=r.events[M][1].type;if(G==="lineEnding"||G==="linePrefix")M--;else break}const H=M>-1?r.events[M][1].type:null,j=H==="tableHead"||H==="tableRow"?N:o;return j===N&&r.parser.lazy[r.now().line]?n(x):j(x)}function o(x){return e.enter("tableHead"),e.enter("tableRow"),l(x)}function l(x){return x===124||(s=!0,u+=1),h(x)}function h(x){return x===null?n(x):K(x)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),d):n(x):
vendor: 5,208 bytes, line 185
185Q(x)?V(e,h,"whitespace")(x):(u+=1,s&&(s=!1,i+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),s=!0,h):(e.enter("data"),f(x)))}function f(x){return x===null||x===124||te(x)?(e.exit("data"),h(x)):(e.consume(x),x===92?m:f)}function m(x){return x===92||x===124?(e.consume(x),f):f(x)}function d(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(x):(e.enter("tableDelimiterRow"),s=!1,Q(x)?V(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):E(x))}function E(x){return x===45||x===58?A(x):x===124?(s=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),p):P(x)}function p(x){return Q(x)?V(e,A,"whitespace")(x):A(x)}function A(x){return x===58?(u+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),T):x===45?(u+=1,T(x)):x===null||K(x)?L(x):P(x)}function T(x){return x===45?(e.enter("tableDelimiterFiller"),k(x)):P(x)}function k(x){return x===45?(e.consume(x),k):x===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),I):(e.exit("tableDelimiterFiller"),I(x))}function I(x){return Q(x)?V(e,L,"whitespace")(x):L(x)}function L(x){return x===124?E(x):x===null||K(x)?!s||i!==u?P(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):P(x)}function P(x){return n(x)}function N(x){return e.enter("tableRow"),z(x)}function z(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),z):x===null||K(x)?(e.exit("tableRow"),t(x)):Q(x)?V(e,z,"whitespace")(x):(e.enter("data"),w(x))}function w(x){return x===null||x===124||te(x)?(e.exit("data"),z(x)):(e.consume(x),x===92?Y:w)}function Y(x){return x===92||x===124?(e.consume(x),w):w(x)}}function L1(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 k1;for(;++n<e.length;){const d=e[n],E=d[1];d[0]==="enter"?E.type==="tableHead"?(a=!1,o!==0&&(fs(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=Hn(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=Hn(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=Hn(m,t,u,i,n,f)):s[1]!==0&&(f=Hn(m,t,s,i,n,f)),i=0):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(s[3]=n)}for(o!==0&&fs(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=I1(t.events,n))}return e}function Hn(e,t,n,r,i,u){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(u.end=Object.assign({},Dt(t.events,n[0])),e.add(n[0],0,[["exit",u,t]]));const o=Dt(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=Dt(t.events,n[2]),h=Dt(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({},Dt(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}function fs(e,t,n,r,i){const u=[],s=Dt(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 Dt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const F1={name:"tasklistCheck",tokenize:R1};function w1(){return{text:{91:F1}}}function R1(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 K(o)?t(o):Q(o)?e.check({tokenize:B1},t,n)(o):n(o)}}function B1(e,t,n){return V(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function P1(e){return ws([a1(),g1(),S1(e),x1(),w1()])}const M1={};function U1(e){const t=this,n=e||M1,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(P1(n)),u.push(r1()),s.push(i1(n))}const H1=(function(e,t,n,r,i){const u=Xi(t);
185return Co(e)?u.call(i,e,n,r):!1}),Xi=(function(e){if(e==null)return q1;if(typeof e=="string")return z1(e);if(typeof e=="object")return v1(e);if(typeof e=="function")return Ji(e);throw new Error("Expected function, string, or array as `test`")});function v1(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Xi(e[n]);return Ji(r);function r(...i){let u=-1;for(;++u<t.length;)if(t[u].apply(this,i))return!0;return!1}}function z1(e){return Ji(t);function t(n){return n.tagName===e}}function Ji(e){return t;function t(n,r,i){return!!(Co(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function q1(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Co(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const $1=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Y1=/^[a-zA-Z]:\\/;function j1(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return Y1.test(e)?!1:$1.test(e)}function Ei(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function K1(e){return e.join(" ").trim()}const V1=["http","https"],Q1=["nofollow"],W1={};function G1(e){const t=e||W1,n=t.protocols||V1,r=Xi(t.test);return function(i){ve(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(j1(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)||Q1,m=typeof f=="string"?Ei(f):f,d=Xt(t.target,u),E=Xt(t.properties,u);if(E&&Object.assign(u.properties,Ve(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:Ve(p),children:Ve(h)})}}}})}}function Xt(e,t){return typeof e=="function"?e(t):e}const hs={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 X1(){return function(e){const t=new Map,n=[];ve(e,"element",function(u){let s;for(s in u.properties)if(Object.hasOwn(u.properties,s)){const a=u.properties[s];Object.hasOwn(hs,s)&&H1(u,hs[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]||_o(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 _o(e,t,n){return(e.charCodeAt(n)||0)-(t.charCodeAt(n)||0)||_o(e,t,n+1)}function J1(){return function(e){const t=new Map;ve(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();ve(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]||Do(String(a[0]),String(o[0]),0)}).map(function(a){return a[0]}));return i}}}function Do(e,t,n){return(e.charCodeAt(n)||0)-(t.charCodeAt(n)||0)||Do(e,t,n+1)}function ds(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 Z1(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const ms=/[#.]/g;function eE(e,t){const n=e||"",r={};let i=0,u,s;for(;i<n.length;){ms.lastIndex=i;const a=ms.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 yo(e,t,n){const r=n?iE(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=eE(u,t);const l=o.tagName.toLowerCase(),h=r?r.get(l):void 0;
185if(o.tagName=h||l,tE(s))a.unshift(s);else for(const[f,m]of Object.entries(s))nE(e,o.properties,f,m)}for(const l of a)gi(o.children,l);return o.type==="element"&&o.tagName==="template"&&(o.content={type:"root",children:o.children},o.children=[]),o}return i}function tE(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(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 nE(e,t,n,r){const i=_i(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=Ei(r):i.commaSeparated?u=ds(r):i.commaOrSpaceSeparated?u=Ei(ds(r).join(" ")):u=ps(i,i.property,r):Array.isArray(r)?u=[...r]:u=i.property==="style"?rE(r):String(r);if(Array.isArray(u)){const s=[];for(const a of u)s.push(ps(i,i.property,a));u=s}i.property==="className"&&Array.isArray(t.className)&&(u=t.className.concat(u)),t[i.property]=u}}function gi(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)gi(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?gi(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function ps(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||lu(n)===lu(t)))return!0}return n}function rE(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function iE(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const uE=["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"],sE=yo(ir,"div"),aE=yo(Cn,"g",uE);function oE(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=Es(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=Es(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 Es(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/"},So={}.hasOwnProperty,cE=Object.prototype;function lE(e,t){const n=t||{};return Zi({file:n.file||void 0,location:!1,schema:n.space==="svg"?Cn:ir,verbose:n.verbose||!1},e)}function Zi(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},jn(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:ko(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const u=String(e.file),s=oE(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"},jn(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},jn(e,r,n),n}default:return n=fE(e,t),n}}function ko(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=Zi(e,t[n]);r.push(i)}return r}function fE(e,t){const n=e.schema;e.schema=t.namespaceURI===dt.svg?Cn:ir;let r=-1;const i={};for(;++r<t.attrs.length;){const a=t.attrs[r],o=(a.prefix?a.prefix+":":"")+a.name;So.call(cE,o)||(i[o]=a.value)}const s=(e.schema.space==="svg"?aE:sE)(t.tagName,i,ko(e,t.childNodes));if(jn(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=Zi(e,a.content);l&&h&&e.file&&(f.position={start:l.end,end:h.start}),s.content=f}return e.schema=n,s}function jn(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=hE(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function hE(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)So.call(n.attrs,s)&&(u[_i(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=gs({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=gs({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function gs(e){return e.line&&e.column?e:void 0}const dE={},mE={}.hasOwnProperty,No=qa("type",{handlers:{root:EE,element:CE,text:TE,comment:AE,doctype:bE}});function pE(e,t){const r=(t||dE).space;return No(e,r==="svg"?Cn:ir)}function EE(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=eu(e.children,n,t),qt(e,n),n}function gE(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=eu(e.children,n,t),qt(e,n),n}function bE(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return qt(e,t),t}function TE(e){const t={nodeName:"#text",value:e.value,parentNode:null};return qt(e,t),t}function AE(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return qt(e,t),t}function CE(e,t){const n=t;let r=n;
186e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Cn);const i=[];let u;if(e.properties){for(u in e.properties)if(u!=="children"&&mE.call(e.properties,u)){const o=_E(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=eu(e.children,a,r),qt(e,a),e.tagName==="template"&&e.content&&(a.content=gE(e.content,r)),a}function _E(e,t,n){const r=_i(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?Z1(n):K1(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 eu(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const u=No(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 DE=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],yE=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]),ae="�";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 _e={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Io(e){return e>=55296&&e<=57343}function SE(e){return e>=56320&&e<=57343}function kE(e,t){return(e-55296)*1024+9216+t}function xo(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Oo(e){return e>=64976&&e<=65007||yE.has(e)}var F;(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.missingQuoteBeforeDoctype
vendor: 5,406 bytes, line 186
186SystemIdentifier="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"})(F||(F={}));const NE=65536;class IE{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=NE,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(SE(n))return this.pos++,this._addGap(),kE(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(F.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,Io(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){xo(t)?this._err(F.controlCharacterInInputStream):Oo(t)&&this._err(F.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 Lo(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 xE=new Uint16Array(
vendor: 5,444 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;
vendor: 4,564 bytes, line 186
186쀀𝔒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;
vendor: 6,122 bytes, line 186
186쀀𝕓Ā;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: 10,520 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Ȁ;astЃ⹧⹲຅脀¶;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;怌'.split("").map(
186e=>e.charCodeAt(0))),OE=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 LE(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=OE.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 FE=32;var rt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(rt||(rt={}));function bi(e){return e>=Ee.ZERO&&e<=Ee.NINE}function wE(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_F||e>=Ee.LOWER_A&&e<=Ee.LOWER_F}function RE(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_Z||e>=Ee.LOWER_A&&e<=Ee.LOWER_Z||bi(e)}function BE(e){return e===Ee.EQUALS||RE(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 je;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(je||(je={}));class PE{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=je.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)|FE)===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(bi(i)||wE(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(bi(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;
186else if(this.decodeMode===je.Strict)return 0;return this.emitCodePoint(LE(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&rt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=ME(r,i,this.treeIndex+Math.max(1,u),s),this.treeIndex<0)return this.result===0||this.decodeMode===je.Attribute&&(u===0||BE(s))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],u=(i&rt.VALUE_LENGTH)>>14,u!==0){if(s===Ee.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==je.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]&rt.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]&~rt.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!==je.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 ME(e,t,n,r){const i=(t&rt.BRANCH_LENGTH)>>7,u=t&rt.JUMP_TABLE;if(i===0)return u!==0&&r===u?n:-1;
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 U;(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/"})(U||(U={}));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 xe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(xe||(xe={}));var O;(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"})(O||(O={}));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 UE=new Map([[O.A,c.A],[O.ADDRESS,c.ADDRESS],[O.ANNOTATION_XML,c.ANNOTATION_XML],[O.APPLET,c.APPLET],[O.AREA,c.AREA],[O.ARTICLE,c.ARTICLE],[O.ASIDE,c.ASIDE],[O.B,c.B],[O.BASE,c.BASE],[O.BASE
186FONT,c.BASEFONT],[O.BGSOUND,c.BGSOUND],[O.BIG,c.BIG],[O.BLOCKQUOTE,c.BLOCKQUOTE],[O.BODY,c.BODY],[O.BR,c.BR],[O.BUTTON,c.BUTTON],[O.CAPTION,c.CAPTION],[O.CENTER,c.CENTER],[O.CODE,c.CODE],[O.COL,c.COL],[O.COLGROUP,c.COLGROUP],[O.DD,c.DD],[O.DESC,c.DESC],[O.DETAILS,c.DETAILS],[O.DIALOG,c.DIALOG],[O.DIR,c.DIR],[O.DIV,c.DIV],[O.DL,c.DL],[O.DT,c.DT],[O.EM,c.EM],[O.EMBED,c.EMBED],[O.FIELDSET,c.FIELDSET],[O.FIGCAPTION,c.FIGCAPTION],[O.FIGURE,c.FIGURE],[O.FONT,c.FONT],[O.FOOTER,c.FOOTER],[O.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[O.FORM,c.FORM],[O.FRAME,c.FRAME],[O.FRAMESET,c.FRAMESET],[O.H1,c.H1],[O.H2,c.H2],[O.H3,c.H3],[O.H4,c.H4],[O.H5,c.H5],[O.H6,c.H6],[O.HEAD,c.HEAD],[O.HEADER,c.HEADER],[O.HGROUP,c.HGROUP],[O.HR,c.HR],[O.HTML,c.HTML],[O.I,c.I],[O.IMG,c.IMG],[O.IMAGE,c.IMAGE],[O.INPUT,c.INPUT],[O.IFRAME,c.IFRAME],[O.KEYGEN,c.KEYGEN],[O.LABEL,c.LABEL],[O.LI,c.LI],[O.LINK,c.LINK],[O.LISTING,c.LISTING],[O.MAIN,c.MAIN],[O.MALIGNMARK,c.MALIGNMARK],[O.MARQUEE,c.MARQUEE],[O.MATH,c.MATH],[O.MENU,c.MENU],[O.META,c.META],[O.MGLYPH,c.MGLYPH],[O.MI,c.MI],[O.MO,c.MO],[O.MN,c.MN],[O.MS,c.MS],[O.MTEXT,c.MTEXT],[O.NAV,c.NAV],[O.NOBR,c.NOBR],[O.NOFRAMES,c.NOFRAMES],[O.NOEMBED,c.NOEMBED],[O.NOSCRIPT,c.NOSCRIPT],[O.OBJECT,c.OBJECT],[O.OL,c.OL],[O.OPTGROUP,c.OPTGROUP],[O.OPTION,c.OPTION],[O.P,c.P],[O.PARAM,c.PARAM],[O.PLAINTEXT,c.PLAINTEXT],[O.PRE,c.PRE],[O.RB,c.RB],[O.RP,c.RP],[O.RT,c.RT],[O.RTC,c.RTC],[O.RUBY,c.RUBY],[O.S,c.S],[O.SCRIPT,c.SCRIPT],[O.SEARCH,c.SEARCH],[O.SECTION,c.SECTION],[O.SELECT,c.SELECT],[O.SOURCE,c.SOURCE],[O.SMALL,c.SMALL],[O.SPAN,c.SPAN],[O.STRIKE,c.STRIKE],[O.STRONG,c.STRONG],[O.STYLE,c.STYLE],[O.SUB,c.SUB],[O.SUMMARY,c.SUMMARY],[O.SUP,c.SUP],[O.TABLE,c.TABLE],[O.TBODY,c.TBODY],[O.TEMPLATE,c.TEMPLATE],[O.TEXTAREA,c.TEXTAREA],[O.TFOOT,c.TFOOT],[O.TD,c.TD],[O.TH,c.TH],[O.THEAD,c.THEAD],[O.TITLE,c.TITLE],[O.TR,c.TR],[O.TRACK,c.TRACK],[O.TT,c.TT],[O.U,c.U],[O.UL,c.UL],[O.SVG,c.SVG],[O.VAR,c.VAR],[O.WBR,c.WBR],[O.XMP,c.XMP]]);function $t(e){var t;return(t=UE.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const v=c,HE={[U.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]),[U.MATHML]:new Set([v.MI,v.MO,v.MN,v.MS,v.MTEXT,v.ANNOTATION_XML]),[U.SVG]:new Set([v.TITLE,v.FOREIGN_OBJECT,v.DESC]),[U.XLINK]:new Set,[U.XML]:new Set,[U.XMLNS]:new Set},Ti=new Set([v.H1,v.H2,v.H3,v.H4,v.H5,v.H6]);O.STYLE,O.SCRIPT,O.XMP,O.IFRAME,O.NOEMBED,O.NOFRAMES,O.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 le={DATA:b.DATA,RCDATA:b.RCDATA,RAWTEXT:b.RAWTEXT,SCRIPT_DATA:b.SCRIPT_DATA,PLAINTEXT:b.PLAINTEXT,CDATA_SECTION:b.CDATA_SECTION};function vE(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function un(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function zE(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z}function Ze(e){return zE(e)||un(e)}function bs(e){return Ze(e)||vE(e)}function vn(e){return e+32}function Fo(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function Ts(e){return Fo(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}function qE(e){return e===g.NULL?F.nullCharacterReference:e>1114111?F.characterReferenceOutsideUnicodeRange:Io(e)?F.surrogateCharacterReference:Oo(e)?F.noncharacterCharacterReference:xo(e)||e===g.CARRIAGE_RETURN?F.controlCharacterReference:null}class $E{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 IE(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new PE(xE,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(F.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(F.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)}
186,validateNumericCharacterReference:r=>{const i=qE(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(Lo(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(F.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(F.endTagWithAttributes),t.selfClosing&&this._err(F.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=Fo(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()?je.Attribute:je.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._stateScriptDataDoubleEscape
vendor: 27,887 bytes, line 186
186Start(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(F.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(F.unexpectedNullCharacter),this._emitChars(ae);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(F.unexpectedNullCharacter),this._emitChars(ae);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(F.unexpectedNullCharacter),this._emitChars(ae);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case g.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ae);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ze(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(F.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t);break}case g.EOF:{this._err(F.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(F.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=b.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ze(t))this._createEndTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case g.GREATER_THAN_SIGN:{this._err(F.missingEndTagName),this.state=b.DATA;break}case g.EOF:{this._err(F.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(F.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(F.unexpectedNullCharacter),n.tagName+=ae;break}case g.EOF:{this._err(F.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(un(t)?vn(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){Ze(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){Ze(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){Ze(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(F.unexpectedNullCharacter),this._emitChars(ae);break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(ae);break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(ae);break}case g.EOF:{this._err(F.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:Ze(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){Ze(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(_e.SCRIPT,!1)&&Ts(this.preprocessor.peek(_e.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<_e.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(F.unexpectedNullCharacter),this._emitChars(ae);break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ae);break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ae);break}case g.EOF:{this._err(F.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(_e.SCRIPT,!1)&&Ts(this.preprocessor.peek(_e.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<_e.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(F.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(F.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case g.NULL:{this._err(F.unexpectedNullCharacter),this.currentAttr.name+=ae;break}default:this.currentAttr.name+=String.fromCodePoint(un(t)?vn(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(F.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(F.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(F.unexpectedNullCharacter),this.currentAttr.value+=ae;break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),this.currentAttr.value+=ae;break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),this.currentAttr.value+=ae;break}case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:case g.EQUALS_SIGN:case g.GRAVE_ACCENT:{this._err(F.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case g.EOF:{this._err(F.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(F.eofInTag),this._emitEOFToken();break}default:this._err(F.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(F.eofInTag),this._emitEOFToken();break}default:this._err(F.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(F.unexpectedNullCharacter),n.data+=ae;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(_e.DASH_DASH,!0)?(this._createCommentToken(_e.DASH_DASH.length+1),this.state=b.COMMENT_START):this._consumeSequenceIfMatch(_e.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(_e.DOCTYPE.length+1),this.state=b.DOCTYPE):this._consumeSequenceIfMatch(_e.CDATA_START,!0)?this.inForeignNode?this.state=b.CDATA_SECTION:(this._err(F.cdataInHtmlContent),this._createCommentToken(_e.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=b.BOGUS_COMMENT):this._ensureHibernation()||(this._err(F.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(F.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(F.abruptClosingOfEmptyComment),this.state=b.DATA,this.emitCurrentComment(n);break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),n.data+=ae;break}case g.EOF:{this._err(F.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(F.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(F.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(F.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(F.incorrectlyClosedComment),this.state=b.DATA,this.emitCurrentComment(n);break}case g.EOF:{this._err(F.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(F.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(F.missingWhitespaceBeforeDoctypeName),this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(un(t))this._createDoctypeToken(String.fromCharCode(vn(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(F.unexpectedNullCharacter),this._createDoctypeToken(ae),this.state=b.DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this._err(F.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),n.name+=ae;break}case g.EOF:{this._err(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(un(t)?vn(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(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(_e.PUBLIC,!1)?this.state=b.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(_e.SYSTEM,!1)?this.state=b.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(F.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(F.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(F.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(F.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(F.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(F.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(F.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(F.unexpectedNullCharacter),n.publicId+=ae;break}case g.GREATER_THAN_SIGN:{this._err(F.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),n.publicId+=ae;break}case g.GREATER_THAN_SIGN:{this._err(F.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(F.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(F.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(F.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.EOF:{this._err(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(F.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(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}
186default:this._err(F.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(F.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(F.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(F.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(F.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(F.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(F.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(F.unexpectedNullCharacter),n.systemId+=ae;break}case g.GREATER_THAN_SIGN:{this._err(F.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(F.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(F.unexpectedNullCharacter),n.systemId+=ae;break}case g.GREATER_THAN_SIGN:{this._err(F.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case g.EOF:{this._err(F.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(F.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(F.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(F.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(F.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()&&bs(this.preprocessor.peek(1))?b.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){bs(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===g.SEMICOLON&&this._err(F.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const wo=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),As=new Set([...wo,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),tr=new Set([c.APPLET,c.CAPTION,c.HTML,c.MARQUEE,c.OBJECT,c.TABLE,c.TD,c.TEMPLATE,c.TH]),YE=new Set([...tr,c.OL,c.UL]
186),jE=new Set([...tr,c.BUTTON]),Cs=new Set([c.ANNOTATION_XML,c.MI,c.MN,c.MO,c.MS,c.MTEXT]),_s=new Set([c.DESC,c.FOREIGN_OBJECT,c.TITLE]),KE=new Set([c.TR,c.TEMPLATE,c.HTML]),VE=new Set([c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML]),QE=new Set([c.TABLE,c.TEMPLATE,c.HTML]),WE=new Set([c.TD,c.TH]);class GE{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)===U.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])!==U.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(Ti,U.HTML)}popUntilTableCellPopped(){this.popUntilPopped(WE,U.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(QE,U.HTML)}clearBackToTableBodyContext(){this.clearBackTo(VE,U.HTML)}clearBackToTableRowContext(){this.clearBackTo(KE,U.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 U.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case U.SVG:{if(_s.has(i))return!1;break}case U.MATHML:{if(Cs.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,tr)}hasInListItemScope(t){return this.hasInDynamicScope(t,YE)}hasInButtonScope(t){return this.hasInDynamicScope(t,jE)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case U.HTML:{if(Ti.has(n))return!0;if(tr.has(n))return!1;break}case U.SVG:{if(_s.has(n))return!1;break}case U.MATHML:{if(Cs.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===U.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])===U.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])===U.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&&wo.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&As.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&As.has(this.currentTagId);)this.pop()}}const Vr=3;var Ue;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Ue||(Ue={}));const Ds={type:Ue.Marker};class XE{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}
186_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===Ue.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<Vr)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Vr)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>=Vr&&this.entries.splice(a.idx,1))}}insertMarker(){this.entries.unshift(Ds)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Ue.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Ue.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(Ds);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Ue.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Ue.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Ue.Element&&n.element===t)}}const et={createDocument(){return{nodeName:"#document",mode:xe.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};et.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(et.isTextNode(n)){n.value+=t;return}}et.appendChild(e,et.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&et.isTextNode(r)?r.value+=t:et.insertBefore(e,et.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}}},Ro="html",JE="about:legacy-compat",ZE="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Bo=["+//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//"],eg=[...Bo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],tg=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Po=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ng=[...Po,"-/
186/w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ys(e,t){return t.some(n=>e.startsWith(n))}function rg(e){return e.name===Ro&&e.publicId===null&&(e.systemId===null||e.systemId===JE)}function ig(e){if(e.name!==Ro)return xe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===ZE)return xe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),tg.has(n))return xe.QUIRKS;let r=t===null?eg:Bo;if(ys(n,r))return xe.QUIRKS;if(r=t===null?Po:ng,ys(n,r))return xe.LIMITED_QUIRKS}return xe.NO_QUIRKS}const Ss={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},ug="definitionurl",sg="definitionURL",ag=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])),og=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:U.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:U.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:U.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:U.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:U.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:U.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:U.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:U.XML}],["xml:space",{prefix:"xml",name:"space",namespace:U.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:U.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:U.XMLNS}]]),cg=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])),lg=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 fg(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:r})=>r===mt.COLOR||r===mt.SIZE||r===mt.FACE)||lg.has(t)}function Mo(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===ug){e.attrs[t].name=sg;break}}function Uo(e){for(let t=0;t<e.attrs.length;t++){const n=ag.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function tu(e){for(let t=0;t<e.attrs.length;t++){const n=og.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 hg(e){const t=cg.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=$t(e.tagName))}function dg(e,t){return t===U.MATHML&&(e===c.MI||e===c.MO||e===c.MN||e===c.MS||e===c.MTEXT)}function mg(e,t,n){if(t===U.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===Ss.TEXT_HTML||i===Ss.APPLICATION_XML}}return t===U.SVG&&(e===c.FOREIGN_OBJECT||e===c.DESC||e===c.TITLE)}function pg(e,t,n,r){return(!r||r===U.HTML)&&mg(e,t,n)||(!r||r===U.MATHML)&&dg(e,t)}const Eg="hidden",gg=8,bg=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 Tg={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Ho=new Set([c.TABLE,c.TBODY,c.TFOOT,c.THEAD,c.TR]),ks={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:et,onParseError:null};class Ns{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={...ks,...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 $E(this.options,this),this.activeFormattingElements=new XE(this.treeAdapter),this.fragmentContextID=r?$t(this.treeAdapter.getTagName(r)):c.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new GE(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={...ks,...n};t??(t=r.treeAdapter.createElement(O.TEMPLATE,U.HTML,[]));const i=r.treeAdapter.createElement("documentmock",U.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:Tg,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)===U.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,U.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=le.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;
vendor: 20,181 bytes, line 186
186for(;t;){if(this.treeAdapter.getTagName(t)===O.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==U.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=le.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=le.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=le.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=le.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,U.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,U.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(O.HTML,U.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)===O.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===U.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===c.MGLYPH||t.tagID===c.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,U.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 pg(t,i,u,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Ue.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 Ho.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)===U.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 HE[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Wb(this,t);return}switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{ln(this,t);break}case C.BEFORE_HEAD:{fn(this,t);break}case C.IN_HEAD:{hn(this,t);break}case C.IN_HEAD_NO_SCRIPT:{dn(this,t);break}case C.AFTER_HEAD:{mn(this,t);break}case C.IN_BODY:case C.IN_CAPTION:case C.IN_CELL:case C.IN_TEMPLATE:{zo(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:{Qr(this,t);break}case C.IN_TABLE_TEXT:{Vo(this,t);break}case C.IN_COLUMN_GROUP:{nr(this,t);break}case C.AFTER_BODY:{rr(this,t);break}case C.AFTER_AFTER_BODY:{Kn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Qb(this,t);return}switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{ln(this,t);break}case C.BEFORE_HEAD:{fn(this,t);break}case C.IN_HEAD:{hn(this,t);break}case C.IN_HEAD_NO_SCRIPT:{dn(this,t);break}case C.AFTER_HEAD:{mn(this,t);break}case C.TEXT:{this._insertCharacters(t);break}case C.IN_TABLE:case C.IN_TABLE_BODY:case C.IN_ROW:{Qr(this,t);break}case C.IN_COLUMN_GROUP:{nr(this,t);break}case C.AFTER_BODY:{rr(this,t);break}case C.AFTER_AFTER_BODY:{Kn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ai(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:{Ai(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.AFTER_BODY:{kg(this,t);break}case C.AFTER_AFTER_BODY:case C.AFTER_AFTER_FRAMESET:{Ng(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case C.INITIAL:{Ig(this,t);break}case C.BEFORE_HEAD:case C.IN_HEAD:case C.IN_HEAD_NO_SCRIPT:case C.AFTER_HEAD:{this._err(t,F.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,F.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Gb(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{xg(this,t);break}case C.BEFORE_HEAD:{Lg(this,t);break}case C.IN_HEAD:{Pe(this,t);break}case C.IN_HEAD_NO_SCRIPT:{Rg(this,t);break}case C.AFTER_HEAD:{Pg(this,t);break}case C.IN_BODY:{Ae(this,t);break}case C.IN_TABLE:{wt(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.IN_CAPTION:{Fb(this,t);break}case C.IN_COLUMN_GROUP:{iu(this,t);break}case C.IN_TABLE_BODY:{Cr(this,t);break}case C.IN_ROW:{_r(this,t);break}case C.IN_CELL:{Bb(this,t);break}case C.IN_SELECT:{Go(this,t);break}case C.IN_SELECT_IN_TABLE:{Mb(this,t);break}case C.IN_TEMPLATE:{Hb(this,t);break}case C.AFTER_BODY:{zb(this,t);break}case C.IN_FRAMESET:{qb(this,t);break}case C.AFTER_FRAMESET:{Yb(this,t);break}case C.AFTER_AFTER_BODY:{Kb(this,t);break}case C.AFTER_AFTER_FRAMESET:{Vb(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Xb(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{Og(this,t);break}case C.BEFORE_HEAD:{Fg(this,t);break}case C.IN_HEAD:{wg(this,t);break}case C.IN_HEAD_NO_SCRIPT:{Bg(this,t);break}case C.AFTER_HEAD:{Mg(this,t);break}case C.IN_BODY:{Ar(this,t);break}case C.TEXT:{_b(this,t);break}case C.IN_TABLE:{An(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.IN_CAPTION:{wb(this,t);break}case C.IN_COLUMN_GROUP:{Rb(this,t);break}case C.IN_TABLE_BODY:{Ci(this,t);break}case C.IN_ROW:{Wo(this,t);break}case C.IN_CELL:{Pb(this,t);break}case C.IN_SELECT:{Xo(this,t);break}case C.IN_SELECT_IN_TABLE:{Ub(this,t);break}case C.IN_TEMPLATE:{vb(this,t);break}case C.AFTER_BODY:{Zo(this,t);break}case C.IN_FRAMESET:{$b(this,t);break}case C.AFTER_FRAMESET:{jb(this,t);break}case C.AFTER_AFTER_BODY:{Kn(this,t);break}}}onEof(t){switch(this.insertionMode){case C.INITIAL:{Jt(this,t);break}case C.BEFORE_HTML:{ln(this,t);break}case C.BEFORE_HEAD:{fn(this,t);break}case C.IN_HEAD:{hn(this,t);break}case C.IN_HEAD_NO_SCRIPT:{dn(this,t);break}case C.AFTER_HEAD:{mn(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:{jo(this,t);break}case C.TEXT:{Db(this,t);break}case C.IN_TABLE_TEXT:{Zt(this,t);break}case C.IN_TEMPLATE:{Jo(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:{ru(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:{vo(this,t);break}case C.IN_TABLE:case C.IN_TABLE_BODY:case C.IN_ROW:{Qr(this,t);break}case C.IN_TABLE_TEXT:{Ko(this,t);break}}}}function Ag(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):Yo(e,t),n}function Cg(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 _g(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>=bg;!a||o?(o&&e.activeFormattingElements.removeEntry(a),e.openElements.remove(s)):(s=Dg(e,a),r===t&&(e.activeFormattingElements.bookmark=a),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function Dg(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 yg(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===U.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Sg(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 nu(e,t){for(let n=0;n<gg;n++){const r=Ag(e,t);if(!r)break;const i=Cg(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const u=_g(e,i,r.element),s=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(u),s&&yg(e,s,u),Sg(e,i,r)}}function Ai(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function kg(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Ng(e,t){e._appendCommentNode(t,e.document)}function ru(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 Ig(e,t){e._setDocumentType(t);const n=t.forceQuirks?xe.QUIRKS:ig(t);rg(t)||e._err(t,F.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=C.BEFORE_HTML}function Jt(e,t){e._err(t,F.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,xe.QUIRKS),e.insertionMode=C.BEFORE_HTML,e._processToken(t)}function xg(e,t){t.tagID===c.HTML?(e._insertElement(t,U.HTML),e.insertionMode=C.BEFORE_HEAD):ln(e,t)}function Og(e,t){const n=t.tagID;(n===c.HTML||n===c.HEAD||n===c.BODY||n===c.BR)&&ln(e,t)}function ln(e,t){e._insertFakeRootElement(),e.insertionMode=C.BEFORE_HEAD,e._processToken(t)}function Lg(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.HEAD:{e._insertElement(t,U.HTML),e.headElement=e.openElements.current,e.insertionMode=C.IN_HEAD;break}default:fn(e,t)}}function Fg(e,t){const n=t.tagID;n===c.HEAD||n===c.BODY||n===c.HTML||n===c.BR?fn(e,t):e._err(t,F.endTagWithoutMatchingOpenElement)}function fn(e,t){e._insertFakeElement(O.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=C.IN_HEAD,e._processToken(t)}function Pe(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(t,U.HTML),t.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(t,le.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,le.RAWTEXT):(e._insertElement(t,U.HTML),e.insertionMode=C.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(t,le.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(t,le.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,F.misplacedStartTagForHeadElement);break}default:hn(e,t)}}function wg(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:{hn(e,t);break}case c.TEMPLATE:{Et(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function Et(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(t,F.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,F.endTagWithoutMatchingOpenElement)}function hn(e,t){e.openElements.pop(),e.insertionMode=C.AFTER_HEAD,e._processToken(t)}function Rg(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{Pe(e,t);break}case c.NOSCRIPT:{e._err(t,F.nestedNoscriptInHead);break}default:dn(e,t)}}function Bg(e,t){switch(t.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=C.IN_HEAD;break}case c.BR:{dn(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function dn(e,t){const n=t.type===ee.EOF?F.openElementsLeftAfterEof:F.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=C.IN_HEAD,e._processToken(t)}function Pg(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.BODY:{e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode=C.IN_BODY;break}case c.FRAMESET:{e._insertElement(t,U.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,F.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),Pe(e,t),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(t,F.misplacedStartTagForHeadElement);break}default:mn(e,t)}}function Mg(e,t){switch(t.tagID){case c.BODY:case c.HTML:case c.BR:{mn(e,t);break}case c.TEMPLATE:{Et(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function mn(e,t){e._insertFakeElement(O.BODY,c.BODY),e.insertionMode=C.IN_BODY,Tr(e,t)}function Tr(e,t){switch(t.type){case ee.CHARACTER:{zo(e,t);break}case ee.WHITESPACE_CHARACTER:{vo(e,t);break}case ee.COMMENT:{Ai(e,t);break}case ee.START_TAG:{Ae(e,t);break}case ee.END_TAG:{Ar(e,t);break}
vendor: 4,251 bytes, line 186
186case ee.EOF:{jo(e,t);break}}}function vo(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function zo(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ug(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Hg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function vg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,U.HTML),e.insertionMode=C.IN_FRAMESET)}function zg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,U.HTML)}function qg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Ti.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,U.HTML)}function $g(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Yg(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,U.HTML),n||(e.formElement=e.openElements.current))}function jg(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,U.HTML)}function Kg(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.tokenizer.state=le.PLAINTEXT}function Vg(e,t){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.framesetOk=!1}function Qg(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(O.A);n&&(nu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Wg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Gg(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(nu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Xg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Jg(e,t){e.treeAdapter.getDocumentMode(e.document)!==xe.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode=C.IN_TABLE}function qo(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,U.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function $o(e){const t=Lo(e,mt.TYPE);return t!=null&&t.toLowerCase()===Eg}function Zg(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,U.HTML),$o(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function eb(e,t){e._appendElement(t,U.HTML),t.ackSelfClosing=!0}function tb(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,U.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function nb(e,t){t.tagName=O.IMG,t.tagID=c.IMG,qo(e,t)}function rb(e,t){e._insertElement(t,U.HTML),e.skipNextNewLine=!0,e.tokenizer.state=le.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=C.TEXT}function ib(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,le.RAWTEXT)}function ub(e,t){e.framesetOk=!1,e._switchToTextParsing(t,le.RAWTEXT)}function Is(e,t){e._switchToTextParsing(t,le.RAWTEXT)}
vendor: 17,478 bytes, line 186
186function sb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.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 ab(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML)}function ob(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,U.HTML)}function cb(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,U.HTML)}function lb(e,t){e._reconstructActiveFormattingElements(),Mo(t),tu(t),t.selfClosing?e._appendElement(t,U.MATHML):e._insertElement(t,U.MATHML),t.ackSelfClosing=!0}function fb(e,t){e._reconstructActiveFormattingElements(),Uo(t),tu(t),t.selfClosing?e._appendElement(t,U.SVG):e._insertElement(t,U.SVG),t.ackSelfClosing=!0}function xs(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML)}function Ae(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:{Wg(e,t);break}case c.A:{Qg(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{qg(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:{zg(e,t);break}case c.LI:case c.DD:case c.DT:{jg(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{qo(e,t);break}case c.HR:{tb(e,t);break}case c.RB:case c.RTC:{ob(e,t);break}case c.RT:case c.RP:{cb(e,t);break}case c.PRE:case c.LISTING:{$g(e,t);break}case c.XMP:{ib(e,t);break}case c.SVG:{fb(e,t);break}case c.HTML:{Ug(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:{Pe(e,t);break}case c.BODY:{Hg(e,t);break}case c.FORM:{Yg(e,t);break}case c.NOBR:{Gg(e,t);break}case c.MATH:{lb(e,t);break}case c.TABLE:{Jg(e,t);break}case c.INPUT:{Zg(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{eb(e,t);break}case c.IMAGE:{nb(e,t);break}case c.BUTTON:{Vg(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{Xg(e,t);break}case c.IFRAME:{ub(e,t);break}case c.SELECT:{sb(e,t);break}case c.OPTION:case c.OPTGROUP:{ab(e,t);break}case c.NOEMBED:case c.NOFRAMES:{Is(e,t);break}case c.FRAMESET:{vg(e,t);break}case c.TEXTAREA:{rb(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?Is(e,t):xs(e,t);break}case c.PLAINTEXT:{Kg(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:xs(e,t)}}function hb(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 db(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=C.AFTER_BODY,Zo(e,t))}function mb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function pb(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 Eb(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(O.P,c.P),e._closePElement()}function gb(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function bb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Tb(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Ab(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Cb(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(O.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function Yo(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 Ar(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:{nu(e,t);break}case c.P:{Eb(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:{mb(e,t);break}case c.LI:{gb(e);break}case c.DD:case c.DT:{bb(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{Tb(e);break}case c.BR:{Cb(e);break}case c.BODY:{hb(e,t);break}case c.HTML:{db(e,t);break}case c.FORM:{pb(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{Ab(e,t);break}case c.TEMPLATE:{Et(e,t);break}default:Yo(e,t)}}function jo(e,t){e.tmplInsertionModeStack.length>0?Jo(e,t):ru(e,t)}function _b(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 Db(e,t){e._err(t,F.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Qr(e,t){if(e.openElements.currentTagId!==void 0&&Ho.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:{Vo(e,t);break}case ee.WHITESPACE_CHARACTER:{Ko(e,t);break}}else Nn(e,t)}function yb(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,U.HTML),e.insertionMode=C.IN_CAPTION}function Sb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,U.HTML),e.insertionMode=C.IN_COLUMN_GROUP}function kb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(O.COLGROUP,c.COLGROUP),e.insertionMode=C.IN_COLUMN_GROUP,iu(e,t)}function Nb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,U.HTML),e.insertionMode=C.IN_TABLE_BODY}function Ib(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(O.TBODY,c.TBODY),e.insertionMode=C.IN_TABLE_BODY,Cr(e,t)}function xb(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Ob(e,t){$o(t)?e._appendElement(t,U.HTML):Nn(e,t),t.ackSelfClosing=!0}function Lb(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,U.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function wt(e,t){switch(t.tagID){case c.TD:case c.TH:case c.TR:{Ib(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Pe(e,t);break}case c.COL:{kb(e,t);break}case c.FORM:{Lb(e,t);break}case c.TABLE:{xb(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{Nb(e,t);break}case c.INPUT:{Ob(e,t);break}case c.CAPTION:{yb(e,t);break}case c.COLGROUP:{Sb(e,t);break}default:Nn(e,t)}}function An(e,t){switch(t.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{Et(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:Nn(e,t)}}function Nn(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Tr(e,t),e.fosterParentingEnabled=n}function Ko(e,t){e.pendingCharacterTokens.push(t)}function Vo(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++)Nn(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Qo=new Set([c.CAPTION,c.COL,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]);function Fb(e,t){const n=t.tagID;Qo.has(n)?e.openElements.hasInTableScope(c.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=C.IN_TABLE,wt(e,t)):Ae(e,t)}function wb(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&&An(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:Ar(e,t)}}function iu(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.COL:{e._appendElement(t,U.HTML),t.ackSelfClosing=!0;break}case c.TEMPLATE:{Pe(e,t);break}default:nr(e,t)}}function Rb(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:{Et(e,t);break}case c.COL:break;default:nr(e,t)}}function nr(e,t){e.openElements.currentTagId===c.COLGROUP&&(e.openElements.pop(),e.insertionMode=C.IN_TABLE,e._processToken(t))}function Cr(e,t){switch(t.tagID){case c.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,U.HTML),e.insertionMode=C.IN_ROW;break}case c.TH:case c.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(O.TR,c.TR),e.insertionMode=C.IN_ROW,_r(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,wt(e,t));break}default:wt(e,t)}}function Ci(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,An(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:An(e,t)}}function _r(e,t){switch(t.tagID){case c.TH:case c.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,U.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,Cr(e,t));break}default:wt(e,t)}}function Wo(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,Ci(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,Ci(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:An(e,t)}}function Bb(e,t){const n=t.tagID;Qo.has(n)?(e.openElements.hasInTableScope(c.TD)||e.openElements.hasInTableScope(c.TH))&&(e._closeTableCell(),_r(e,t)):Ae(e,t)}function Pb(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(),Wo(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:break;default:Ar(e,t)}}function Go(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._insertElement(t,U.HTML);break}case c.OPTGROUP:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._insertElement(t,U.HTML);break}case c.HR:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._appendElement(t,U.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:{Pe(e,t);break}}}function Xo(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:{Et(e,t);break}}}function Mb(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)):Go(e,t)}function Ub(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)):Xo(e,t)}function Hb(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:{Pe(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,wt(e,t);break}case c.COL:{e.tmplInsertionModeStack[0]=C.IN_COLUMN_GROUP,e.insertionMode=C.IN_COLUMN_GROUP,iu(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=C.IN_TABLE_BODY,e.insertionMode=C.IN_TABLE_BODY,Cr(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=C.IN_ROW,e.insertionMode=C.IN_ROW,_r(e,t);break}default:e.tmplInsertionModeStack[0]=C.IN_BODY,e.insertionMode=C.IN_BODY,Ae(e,t)}}function vb(e,t){t.tagID===c.TEMPLATE&&Et(e,t)}function Jo(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ru(e,t)}function zb(e,t){t.tagID===c.HTML?Ae(e,t):rr(e,t)}function Zo(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 rr(e,t)}function rr(e,t){e.insertionMode=C.IN_BODY,Tr(e,t)}function qb(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.FRAMESET:{e._insertElement(t,U.HTML);break}case c.FRAME:{e._appendElement(t,U.HTML),t.ackSelfClosing=!0;break}case c.NOFRAMES:{Pe(e,t);break}}}function $b(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 Yb(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.NOFRAMES:{Pe(e,t);break}}}function jb(e,t){t.tagID===c.HTML&&(e.insertionMode=C.AFTER_AFTER_FRAMESET)}function Kb(e,t){t.tagID===c.HTML?Ae(e,t):Kn(e,t)}function Kn(e,t){e.insertionMode=C.IN_BODY,Tr(e,t)}function Vb(e,t){switch(t.tagID){case c.HTML:{Ae(e,t);break}case c.NOFRAMES:{Pe(e,t);break}}}function Qb(e,t){t.chars=ae,e._insertCharacters(t)}function Wb(e,t){e._insertCharacters(t),e.framesetOk=!1}function ec(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==U.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
186penElements.current);)e.openElements.pop()}function Gb(e,t){if(fg(t))ec(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===U.MATHML?Mo(t):r===U.SVG&&(hg(t),Uo(t)),tu(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Xb(e,t){if(t.tagID===c.P||t.tagID===c.BR){ec(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)===U.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}O.AREA,O.BASE,O.BASEFONT,O.BGSOUND,O.BR,O.COL,O.EMBED,O.FRAME,O.HR,O.IMG,O.INPUT,O.KEYGEN,O.LINK,O.META,O.PARAM,O.SOURCE,O.TRACK,O.WBR;const Jb=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Zb=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Os={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tc(e,t){const n=cT(e),r=qa("type",{handlers:{root:eT,element:tT,text:nT,comment:rc,doctype:rT,raw:uT},unknown:sT}),i={parser:n?new Ns(Os):Ns.getFragmentParser(void 0,Os),handle(a){r(a,i)},stitches:!1,options:t||{}};r(e,i),Yt(i,We());const u=n?i.parser.document:i.parser.getFragment(),s=lE(u,{file:i.options.file});return i.stitches&&ve(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 nc(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function eT(e,t){nc(e.children,t)}function tT(e,t){aT(e,t),nc(e.children,t),oT(e,t)}function nT(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,We(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rT(e,t){const n={type:ee.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:In(e)};Yt(t,We(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function iT(e,t){t.stitches=!0;const n=lT(e);if("children"in e&&"children"in n){const r=tc({type:"root",children:e.children},t.options);n.children=r.children}rc({type:"comment",value:{stitch:n}},t)}function rc(e,t){const n=e.value,r={type:ee.COMMENT,data:n,location:In(e)};Yt(t,We(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function uT(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,ic(t,We(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Jb,"&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 sT(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))iT(n,t);else{let r="";throw Zb.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){ic(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=le.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 ic(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 aT(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===le.PLAINTEXT)return;Yt(t,We(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=pE({...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 oT(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&DE.includes(n)||t.parser.tokenizer.state===le.PLAINTEXT)return;Yt(t,ar(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===le.RCDATA||t.parser.tokenizer.state===le.RAWTEXT||t.parser.tokenizer.state===le.SCRIPT_DATA)&&(t.parser.tokenizer.state=le.DATA)}function cT(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=We(e)||{line:void 0,column:void 0,offset:void 0},n=ar(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 lT(e){return"children"in e?Ve({...e,children:[]}):Ve(e)}function fT(e){return function(t,n){return tc(t,{...e,file:n})}}function hT(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 Ls=/[\t\n\r]/g;function dT(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;){Ls.lastIndex=i;const s=Ls.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 mT(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:pT(n?.[1]||void 0),filename:u,meta:i}}function pT(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 ET=/^<\/?([\w-]+)(\s[^>]*?)?\/?>/;function uc(e){const t=String(e).match(ET);return t&&t[1]}const gT=(e,t)=>{const n=(t.lang||"")+" "+(t.meta||""),{language:r="text",highlights:i,filename:u,meta:s}=mT(n),a=t.value?dT(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 bT(e,t){const n=uc(t.value);if(n&&/[A-Z]/.test(n)&&(t.value=t.value.replace(n,pn(n))),e.dangerous||e.options?.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function TT(e,t){const n={...t.attributes||{},href:at(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 AT(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 CT(e,t){if(t.children&&t.children[0]&&t.children[0].type==="html"){const r=pn(uc(t.children[0].value)||"div");if(!Sc.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 _T(e,t){const n={...t.attributes,src:at(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 DT(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 yT(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 ST(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 kT={emphasis:hT,code:gT,link:TT,paragraph:CT,html:bT,list:AT,image:_T,strong:DT,inlineCode:yT,containerComponent:ST},sc={remark:{plugins:{"remark-mdc":{instance:up},"remark-gfm":{instance:U1}}},rehype:{options:{handlers:kT,allowDangerousHtml:!0},plugins:{"rehype-external-links":{instance:G1},"rehype-sort-attribute-values":{instance:X1},"rehype-sort-attributes":{instance:J1},"rehype-raw":{instance:fT,options:{passThrough:["element"]}}}},highlight:!1,toc:{searchDepth:2,depth:2}};function ac(e){return e.type==="comment"?"":e.type==="text"?e.value||"":(e.children||[]).reduce((t,n)=>t.concat(ac(n)),"")}function oc(e,t=2,n=0){return!Array.isArray(e.children)||n===t?[e]:[e,...e.children.reduce((r,i)=>r.concat(oc(i,t,n+1)),[])]}const cc=["h2","h3","h4","h5","h6"],NT=cc.reduce((e,t)=>
187(e[t]=Number(t.charAt(t.length-1)),e),{}),IT=e=>NT[e.tag],xT=e=>((e<1||e>5)&&(console.log(`\`toc.depth\` is set to ${e}. It should be a number between 1 and 5. `),e=1),cc.slice(0,e));function lc(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=lc(r.children):delete r.children}),t}function OT(e,t){const{searchDepth:n,depth:r,title:i=""}=t,u=xT(r),a=oc(e,n).filter(o=>u.includes(o.tag||"")).map(o=>({id:o.props?.id,depth:IT(o),text:ac(o)}));return{title:i,searchDepth:n,depth:r,links:a}}function LT(e,t){const n=OT(e,t);return n.links=lc(n.links),n}function fc(e){return"children"in e?hc(e):"value"in e?e.value:""}function FT(e){return e.type==="text"?e.value:"children"in e?hc(e):""}function hc(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=FT(e.children[t]);return n.join("")}const wT=/[\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,RT=Object.hasOwnProperty;class BT{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let i=PT(t,n===!0);const u=i;for(;RT.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 PT(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(wT,"").replace(/ /g,"-"))}const MT=["object"],UT=["srcdoc","formaction"],HT=["javascript:","data:text/html","vbscript:","data:text/javascript","data:text/vbscript","data:text/css","data:text/plain","data:text/xml"];function vT(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(HT.some(i=>r.href.toLowerCase().startsWith(i)))return!1}catch{return!1}return!0}const zT=(e,t)=>(e=e.toLowerCase(),e.startsWith("on")||UT.includes(e)?!1:e==="href"||e==="src"||e==="xlinkhref"?vT(t):!0),qT=(e,t)=>MT.includes(e)?{}:t?(t=Object.fromEntries(Object.entries(t).filter(([n,r])=>{if(t?.[`:${n}`])return!1;const i=zT(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 $T(e={}){const t=new BT;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(fc(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:qT(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,Wr;const dc=async(e={})=>{en||(en=await fu(()=>import("./BYFzCOCr.js"),__vite__mapDeps([0,1,2]),import.meta.url).catch(()=>({}))),Wr||(Wr=await fu(()=>import("./bNaE6FFb.js"),[],import.meta.url).then(i=>i.getMdcConfigs()).catch(()=>[]));const t=[...Wr||[],...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=Gr(e,{remark:{plugins:en?.remarkPlugins},rehype:{plugins:en?.rehypePlugins},highlight:en?.highlight},sc);n.rehype?.plugins?.highlight&&(e.highlight===!1?delete n.rehype.plugins.highlight:n.rehype.plugins.highlight.options=Gr({},n.rehype.plugins.highlight.options,n.highlight||{}));let r=Gc();for(const i of t)r=await i.unified?.pre?.(r)||r;r.use(nh);for(const i of t)r=await i.unified?.remark?.(r)||r;await ss(r,n.remark?.plugins),r.use(Xh,n.rehype?.options);for(const i of t)r=await i.unified?.rehype?.(r)||r;await ss(r,n.rehype?.plugins),r.use($T,n);for(const i of t)r=await i.unified?.post?.(r)||r;return r},mc=async(e={})=>{const t=await dc(e);return async function(r,{fileOptions:i}={}){const{content:u,data:s}=await to(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?jT(l.body):{},s,o?.data||{}),f={data:h,body:l.body},m=h.toc??e.toc;if(m!==!1){const d=Gr({},m,sc.toc);f.toc=LT(l.body,d)}return l.excerpt&&(f.excerpt=l.excerpt),f}},YT=async(e,t={},n={})=>(await mc(t))(e.replace(/\r\n/g,`
188`),n);function jT(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=Xr(i)}if(r.length&&r[0].tag==="p"){const i=r.shift();n=Xr(i)}return{title:t,description:n}}function KT(e){const t=e;return async n=>{const r=[],i=[];ve(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(fc(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:VT(i.join(""))}],properties:{}}))}}const VT=e=>{const t=e.split("}").filter(n=>!!n.trim()).map(n=>n.trim()+"}");return Array.from(new Set(t)).join("")},XT=Object.freeze(Object.defineProperty({__proto__:null,TEXT_TAGS:kc,createMarkdownParser:mc,createParseProcessor:dc,flatUnwrap:Nc,isTag:Ic,isText:xc,nodeChildren:Oc,nodeTextContent:Xr,parseMarkdown:YT,rehypeHighlight:KT,unwrap:Lc},Symbol.toStringTag,{value:"Module"}));export{Z1 as a,K1 as b,as as c,cp as f,DE as h,XT as i,KT as r,GT as s,qa 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.