@limetech/lime-elements 37.14.0 → 37.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/limel-markdown.cjs.entry.js +1302 -2907
- package/dist/cjs/limel-markdown.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-portal_3.cjs.entry.js +6 -4
- package/dist/cjs/limel-portal_3.cjs.entry.js.map +1 -1
- package/dist/collection/components/markdown/allowed-css-properties.js +13 -0
- package/dist/collection/components/markdown/allowed-css-properties.js.map +1 -0
- package/dist/collection/components/markdown/markdown-parser.js +15 -1
- package/dist/collection/components/markdown/markdown-parser.js.map +1 -1
- package/dist/collection/components/markdown/sanitize-style.js +65 -0
- package/dist/collection/components/markdown/sanitize-style.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +6 -4
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/esm/limel-markdown.entry.js +1302 -2907
- package/dist/esm/limel-markdown.entry.js.map +1 -1
- package/dist/esm/limel-portal_3.entry.js +6 -4
- package/dist/esm/limel-portal_3.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-4b29d287.entry.js → p-66c9403f.entry.js} +2 -2
- package/dist/lime-elements/p-66c9403f.entry.js.map +1 -0
- package/dist/lime-elements/p-bc582bc6.entry.js +8 -0
- package/dist/lime-elements/p-bc582bc6.entry.js.map +1 -0
- package/dist/types/components/markdown/allowed-css-properties.d.ts +2 -0
- package/dist/types/components/markdown/sanitize-style.d.ts +36 -0
- package/package.json +6 -3
- package/dist/lime-elements/p-264bf26c.entry.js +0 -2
- package/dist/lime-elements/p-264bf26c.entry.js.map +0 -1
- package/dist/lime-elements/p-4b29d287.entry.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-443111b3.js";function n(e){if(e){throw e}}var r=Object.prototype.hasOwnProperty;var i=Object.prototype.toString;var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var s=function e(t){if(typeof Array.isArray==="function"){return Array.isArray(t)}return i.call(t)==="[object Array]"};var a=function e(t){if(!t||i.call(t)!=="[object Object]"){return false}var n=r.call(t,"constructor");var o=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!o){return false}var l;for(l in t){}return typeof l==="undefined"||r.call(t,l)};var u=function e(t,n){if(o&&n.name==="__proto__"){o(t,n.name,{enumerable:true,configurable:true,value:n.newValue,writable:true})}else{t[n.name]=n.newValue}};var c=function e(t,n){if(n==="__proto__"){if(!r.call(t,n)){return void 0}else if(l){return l(t,n).value}}return t[n]};var f=function e(){var t,n,r,i,o,l;var f=arguments[0];var h=1;var d=arguments.length;var p=false;if(typeof f==="boolean"){p=f;f=arguments[1]||{};h=2}if(f==null||typeof f!=="object"&&typeof f!=="function"){f={}}for(;h<d;++h){t=arguments[h];if(t!=null){for(n in t){r=c(f,n);i=c(t,n);if(f!==i){if(p&&i&&(a(i)||(o=s(i)))){if(o){o=false;l=r&&s(r)?r:[]}else{l=r&&a(r)?r:{}}u(f,{name:n,newValue:e(p,l,i)})}else if(typeof i!=="undefined"){u(f,{name:n,newValue:i})}}}}}return f};function h(e){if(typeof e!=="object"||e===null){return false}const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function d(){const e=[];const t={run:n,use:r};return t;function n(...t){let n=-1;const r=t.pop();if(typeof r!=="function"){throw new TypeError("Expected function as last argument, not "+r)}i(null,...t);function i(o,...l){const s=e[++n];let a=-1;if(o){r(o);return}while(++a<t.length){if(l[a]===null||l[a]===undefined){l[a]=t[a]}}t=l;if(s){p(s,i)(...l)}else{r(null,...l)}}}function r(n){if(typeof n!=="function"){throw new TypeError("Expected `middelware` to be a function, not "+n)}e.push(n);return t}}function p(e,t){let n;return r;function r(...t){const r=e.length>t.length;let l;if(r){t.push(i)}try{l=e.apply(this,t)}catch(e){const t=e;if(r&&n){throw t}return i(t)}if(!r){if(l instanceof Promise){l.then(o,i)}else if(l instanceof Error){i(l)}else{o(l)}}}function i(e,...r){if(!n){n=true;t(e,...r)}}function o(e){i(null,e)}}function g(e){if(!e||typeof e!=="object"){return""}if("position"in e||"type"in e){return b(e.position)}if("start"in e||"end"in e){return b(e)}if("line"in e||"column"in e){return m(e)}return""}function m(e){return k(e&&e.line)+":"+k(e&&e.column)}function b(e){return m(e&&e.start)+"-"+m(e&&e.end)}function k(e){return e&&typeof e==="number"?e:1}class y extends Error{constructor(e,t,n){super();if(typeof t==="string"){n=t;t=undefined}let r="";let i={};let o=false;if(t){if("line"in t&&"column"in t){i={place:t}}else if("start"in t&&"end"in t){i={place:t}}else if("type"in t){i={ancestors:[t],place:t.position}}else{i={...t}}}if(typeof e==="string"){r=e}else if(!i.cause&&e){o=true;r=e.message;i.cause=e}if(!i.ruleId&&!i.source&&typeof n==="string"){const e=n.indexOf(":");if(e===-1){i.ruleId=n}else{i.source=n.slice(0,e);i.ruleId=n.slice(e+1)}}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];if(e){i.place=e.position}}const l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||undefined;this.cause=i.cause||undefined;this.column=l?l.column:undefined;this.fatal=undefined;this.message=r;this.line=l?l.line:undefined;this.name=g(i.place)||"1:1";this.place=i.place||undefined;this.reason=this.message;this.ruleId=i.ruleId||undefined;this.source=i.source||undefined;this.stack=o&&i.cause&&typeof i.cause.stack==="string"?i.cause.stack:""}}y.prototype.file="";y.prototype.name="";y.prototype.reason="";y.prototype.message="";y.prototype.stack="";y.prototype.column=undefined;y.prototype.line=undefined;y.prototype.ancestors=undefined;y.prototype.cause=undefined;y.prototype.fatal=undefined;y.prototype.place=undefined;y.prototype.ruleId=undefined;y.prototype.source=undefined;const w={basename:E,dirname:v,extname:S,join:x,sep:"/"};function E(e,t){if(t!==undefined&&typeof t!=="string"){throw new TypeError('"ext" argument must be a string')}C(e);let n=0;let r=-1;let i=e.length;let o;if(t===undefined||t.length===0||t.length>e.length){while(i--){if(e.codePointAt(i)===47){if(o){n=i+1;break}}else if(r<0){o=true;r=i+1}}return r<0?"":e.slice(n,r)}if(t===e){return""}let l=-1;let s=t.length-1;while(i--){if(e.codePointAt(i)===47){if(o){n=i+1;break}}else{if(l<0){o=true;l=i+1}if(s>-1){if(e.codePointAt(i)===t.codePointAt(s--)){if(s<0){r=i}}else{s=-1;r=l}}}}if(n===r){r=l}else if(r<0){r=e.length}return e.slice(n,r)}function v(e){C(e);if(e.length===0){return"."}let t=-1;let n=e.length;let r;while(--n){if(e.codePointAt(n)===47){if(r){t=n;break}}else if(!r){r=true}}return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function S(e){C(e);let t=e.length;let n=-1;let r=0;let i=-1;let o=0;let l;while(t--){const s=e.codePointAt(t);if(s===47){if(l){r=t+1;break}continue}if(n<0){l=true;n=t+1}if(s===46){if(i<0){i=t}else if(o!==1){o=1}}else if(i>-1){o=-1}}if(i<0||n<0||o===0||o===1&&i===n-1&&i===r+1){return""}return e.slice(i,n)}function x(...e){let t=-1;let n;while(++t<e.length){C(e[t]);if(e[t]){n=n===undefined?e[t]:n+"/"+e[t]}}return n===undefined?".":T(n)}function T(e){C(e);const t=e.codePointAt(0)===47;let n=A(e,!t);if(n.length===0&&!t){n="."}if(n.length>0&&e.codePointAt(e.length-1)===47){n+="/"}return t?"/"+n:n}function A(e,t){let n="";let r=0;let i=-1;let o=0;let l=-1;let s;let a;while(++l<=e.length){if(l<e.length){s=e.codePointAt(l)}else if(s===47){break}else{s=47}if(s===47){if(i===l-1||o===1);else if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){a=n.lastIndexOf("/");if(a!==n.length-1){if(a<0){n="";r=0}else{n=n.slice(0,a);r=n.length-1-n.lastIndexOf("/")}i=l;o=0;continue}}else if(n.length>0){n="";r=0;i=l;o=0;continue}}if(t){n=n.length>0?n+"/..":"..";r=2}}else{if(n.length>0){n+="/"+e.slice(i+1,l)}else{n=e.slice(i+1,l)}r=l-i-1}i=l;o=0}else if(s===46&&o>-1){o++}else{o=-1}}return n}function C(e){if(typeof e!=="string"){throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}}const D={cwd:L};function L(){return"/"}function R(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===undefined)}function O(e){if(typeof e==="string"){e=new URL(e)}else if(!R(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");t.code="ERR_INVALID_ARG_TYPE";throw t}if(e.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");e.code="ERR_INVALID_URL_SCHEME";throw e}return _(e)}function _(e){if(e.hostname!==""){const e=new TypeError('File URL host must be "localhost" or empty on darwin');e.code="ERR_INVALID_FILE_URL_HOST";throw e}const t=e.pathname;let n=-1;while(++n<t.length){if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const e=t.codePointAt(n+2);if(e===70||e===102){const e=new TypeError("File URL path must not include encoded / characters");e.code="ERR_INVALID_FILE_URL_PATH";throw e}}}return decodeURIComponent(t)}const P=["history","path","basename","stem","extname","dirname"];class M{constructor(e){let t;if(!e){t={}}else if(R(e)){t={path:e}}else if(typeof e==="string"||B(e)){t={value:e}}else{t=e}this.cwd=D.cwd();this.data={};this.history=[];this.messages=[];let n=-1;while(++n<P.length){const e=P[n];if(e in t&&t[e]!==undefined&&t[e]!==null){this[e]=e==="history"?[...t[e]]:t[e]}}let r;for(r in t){if(!P.includes(r)){this[r]=t[r]}}}get basename(){return typeof this.path==="string"?w.basename(this.path):undefined}set basename(e){q(e,"basename");I(e,"basename");this.path=w.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?w.dirname(this.path):undefined}set dirname(e){N(this.basename,"dirname");this.path=w.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?w.extname(this.path):undefined}set extname(e){I(e,"extname");N(this.dirname,"extname");if(e){if(e.codePointAt(0)!==46){throw new Error("`extname` must start with `.`")}if(e.includes(".",1)){throw new Error("`extname` cannot contain multiple dots")}}this.path=w.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(R(e)){e=O(e)}q(e,"path");if(this.path!==e){this.history.push(e)}}get stem(){return typeof this.path==="string"?w.basename(this.path,this.extname):undefined}set stem(e){q(e,"stem");I(e,"stem");this.path=w.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);r.fatal=true;throw r}info(e,t,n){const r=this.message(e,t,n);r.fatal=undefined;return r}message(e,t,n){const r=new y(e,t,n);if(this.path){r.name=this.path+":"+r.name;r.file=this.path}r.fatal=false;this.messages.push(r);return r}toString(e){if(this.value===undefined){return""}if(typeof this.value==="string"){return this.value}const t=new TextDecoder(e||undefined);return t.decode(this.value)}}function I(e,t){if(e&&e.includes(w.sep)){throw new Error("`"+t+"` cannot be a path: did not expect `"+w.sep+"`")}}function q(e,t){if(!e){throw new Error("`"+t+"` cannot be empty")}}function N(e,t){if(!e){throw new Error("Setting `"+t+"` requires `path` to be set too")}}function B(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}const F=function(e){const t=this;const n=t.constructor;const r=n.prototype;const i=r[e];const o=function(){return i.apply(o,arguments)};Object.setPrototypeOf(o,r);const l=Object.getOwnPropertyNames(i);for(const e of l){const t=Object.getOwnPropertyDescriptor(i,e);if(t)Object.defineProperty(o,e,t)}return o};const U={}.hasOwnProperty;class z extends F{constructor(){super("copy");this.Compiler=undefined;this.Parser=undefined;this.attachers=[];this.compiler=undefined;this.freezeIndex=-1;this.frozen=undefined;this.namespace={};this.parser=undefined;this.transformers=d()}copy(){const e=new z;let t=-1;while(++t<this.attachers.length){const n=this.attachers[t];e.use(...n)}e.data(f(true,{},this.namespace));return e}data(e,t){if(typeof e==="string"){if(arguments.length===2){G("data",this.frozen);this.namespace[e]=t;return this}return U.call(this.namespace,e)&&this.namespace[e]||undefined}if(e){G("data",this.frozen);this.namespace=e;return this}return this.namespace}freeze(){if(this.frozen){return this}const e=this;while(++this.freezeIndex<this.attachers.length){const[t,...n]=this.attachers[this.freezeIndex];if(n[0]===false){continue}if(n[0]===true){n[0]=undefined}const r=t.call(e,...n);if(typeof r==="function"){this.transformers.use(r)}}this.frozen=true;this.freezeIndex=Number.POSITIVE_INFINITY;return this}parse(e){this.freeze();const t=X(e);const n=this.parser||this.Parser;j("parse",n);return n(String(t),t)}process(e,t){const n=this;this.freeze();j("process",this.parser||this.Parser);V("process",this.compiler||this.Compiler);return t?r(undefined,t):new Promise(r);function r(r,i){const o=X(e);const l=n.parse(o);n.run(l,o,(function(e,t,r){if(e||!t||!r){return s(e)}const i=t;const o=n.stringify(i,r);if(Q(o)){r.value=o}else{r.result=o}s(e,r)}));function s(e,n){if(e||!n){i(e)}else if(r){r(n)}else{t(undefined,n)}}}}processSync(e){let t=false;let r;this.freeze();j("processSync",this.parser||this.Parser);V("processSync",this.compiler||this.Compiler);this.process(e,i);W("processSync","process",t);return r;function i(e,i){t=true;n(e);r=i}}run(e,t,n){Y(e);this.freeze();const r=this.transformers;if(!n&&typeof t==="function"){n=t;t=undefined}return n?i(undefined,n):new Promise(i);function i(i,o){const l=X(t);r.run(e,l,s);function s(t,r,l){const s=r||e;if(t){o(t)}else if(i){i(s)}else{n(undefined,s,l)}}}}runSync(e,t){let r=false;let i;this.run(e,t,o);W("runSync","run",r);return i;function o(e,t){n(e);i=t;r=true}}stringify(e,t){this.freeze();const n=X(t);const r=this.compiler||this.Compiler;V("stringify",r);Y(e);return r(e,n)}use(e,...t){const n=this.attachers;const r=this.namespace;G("use",this.frozen);if(e===null||e===undefined);else if(typeof e==="function"){s(e,t)}else if(typeof e==="object"){if(Array.isArray(e)){l(e)}else{o(e)}}else{throw new TypeError("Expected usable value, not `"+e+"`")}return this;function i(e){if(typeof e==="function"){s(e,[])}else if(typeof e==="object"){if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else{o(e)}}else{throw new TypeError("Expected usable value, not `"+e+"`")}}function o(e){if(!("plugins"in e)&&!("settings"in e)){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")}l(e.plugins);if(e.settings){r.settings=f(true,r.settings,e.settings)}}function l(e){let t=-1;if(e===null||e===undefined);else if(Array.isArray(e)){while(++t<e.length){const n=e[t];i(n)}}else{throw new TypeError("Expected a list of plugins, not `"+e+"`")}}function s(e,t){let r=-1;let i=-1;while(++r<n.length){if(n[r][0]===e){i=r;break}}if(i===-1){n.push([e,...t])}else if(t.length>0){let[r,...o]=t;const l=n[i][1];if(h(l)&&h(r)){r=f(true,l,r)}n[i]=[e,r,...o]}}}}const H=(new z).freeze();function j(e,t){if(typeof t!=="function"){throw new TypeError("Cannot `"+e+"` without `parser`")}}function V(e,t){if(typeof t!=="function"){throw new TypeError("Cannot `"+e+"` without `compiler`")}}function G(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 Y(e){if(!h(e)||typeof e.type!=="string"){throw new TypeError("Expected node, got `"+e+"`")}}function W(e,t,n){if(!n){throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}}function X(e){return K(e)?e:new M(e)}function K(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function Q(e){return typeof e==="string"||Z(e)}function Z(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}const $={};function J(e,t){const n=t||$;const r=typeof n.includeImageAlt==="boolean"?n.includeImageAlt:true;const i=typeof n.includeHtml==="boolean"?n.includeHtml:true;return ee(e,r,i)}function ee(e,t,n){if(ne(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 te(e.children,t,n)}}if(Array.isArray(e)){return te(e,t,n)}return""}function te(e,t,n){const r=[];let i=-1;while(++i<e.length){r[i]=ee(e[i],t,n)}return r.join("")}function ne(e){return Boolean(e&&typeof e==="object")}const re={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""};const ie={}.hasOwnProperty;function oe(e){return ie.call(re,e)?re[e]:false}function le(e,t,n,r){const i=e.length;let o=0;let l;if(t<0){t=-t>i?0:i+t}else{t=t>i?i:t}n=n>0?n:0;if(r.length<1e4){l=Array.from(r);l.unshift(t,n);e.splice(...l)}else{if(n)e.splice(t,n);while(o<r.length){l=r.slice(o,o+1e4);l.unshift(t,0);e.splice(...l);o+=1e4;t+=1e4}}}function se(e,t){if(e.length>0){le(e,e.length,0,t);return e}return t}const ae={}.hasOwnProperty;function ue(e){const t={};let n=-1;while(++n<e.length){ce(t,e[n])}return t}function ce(e,t){let n;for(n in t){const r=ae.call(e,n)?e[n]:undefined;const i=r||(e[n]={});const o=t[n];let l;if(o){for(l in o){if(!ae.call(i,l))i[l]=[];const e=o[l];fe(i[l],Array.isArray(e)?e:e?[e]:[])}}}}function fe(e,t){let n=-1;const r=[];while(++n<t.length){(t[n].add==="after"?e:r).push(t[n])}le(e,0,0,r)}function he(e,t){const n=Number.parseInt(e,t);if(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){return"�"}return String.fromCharCode(n)}function de(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const pe=Ce(/\p{P}/u);const ge=Ce(/[A-Za-z]/);const me=Ce(/[\dA-Za-z]/);const be=Ce(/[#-'*+\--9=?A-Z^-~]/);function ke(e){return e!==null&&(e<32||e===127)}const ye=Ce(/\d/);const we=Ce(/[\dA-Fa-f]/);const Ee=Ce(/[!-/:-@[-`{-~]/);function ve(e){return e!==null&&e<-2}function Se(e){return e!==null&&(e<0||e===32)}function xe(e){return e===-2||e===-1||e===32}function Te(e){return Ee(e)||pe(e)}const Ae=Ce(/\s/);function Ce(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function De(e){const t=[];let n=-1;let r=0;let i=0;while(++n<e.length){const o=e.charCodeAt(n);let l="";if(o===37&&me(e.charCodeAt(n+1))&&me(e.charCodeAt(n+2))){i=2}else if(o<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))){l=String.fromCharCode(o)}}else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);if(o<56320&&t>56319&&t<57344){l=String.fromCharCode(o,t);i=1}else{l="�"}}else{l=String.fromCharCode(o)}if(l){t.push(e.slice(r,n),encodeURIComponent(l));r=n+i+1;l=""}if(i){n+=i;i=0}}return t.join("")+e.slice(r)}function Le(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(r){if(xe(r)){e.enter(n);return s(r)}return t(r)}function s(r){if(xe(r)&&o++<i){e.consume(r);return s}e.exit(n);return t(r)}}const Re={tokenize:Oe};function Oe(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(n){if(n===null){e.consume(n);return}e.enter("lineEnding");e.consume(n);e.exit("lineEnding");return Le(e,t,"linePrefix")}function i(t){e.enter("paragraph");return o(t)}function o(t){const r=e.enter("chunkText",{contentType:"text",previous:n});if(n){n.next=r}n=r;return l(t)}function l(t){if(t===null){e.exit("chunkText");e.exit("paragraph");e.consume(t);return}if(ve(t)){e.consume(t);e.exit("chunkText");return o}e.consume(t);return l}}const _e={tokenize:Me};const Pe={tokenize:Ie};function Me(e){const t=this;const n=[];let r=0;let i;let o;let l;return s;function s(i){if(r<n.length){const o=n[r];t.containerState=o[1];return e.attempt(o[0].continuation,a,u)(i)}return u(i)}function a(e){r++;if(t.containerState._closeFlow){t.containerState._closeFlow=undefined;if(i){k()}const n=t.events.length;let o=n;let l;while(o--){if(t.events[o][0]==="exit"&&t.events[o][1].type==="chunkFlow"){l=t.events[o][1].end;break}}b(r);let s=n;while(s<t.events.length){t.events[s][1].end=Object.assign({},l);s++}le(t.events,o+1,0,t.events.slice(n));t.events.length=s;return u(e)}return s(e)}function u(o){if(r===n.length){if(!i){return h(o)}if(i.currentConstruct&&i.currentConstruct.concrete){return p(o)}t.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}t.containerState={};return e.check(Pe,c,f)(o)}function c(e){if(i)k();b(r);return h(e)}function f(e){t.parser.lazy[t.now().line]=r!==n.length;l=t.now().offset;return p(e)}function h(n){t.containerState={};return e.attempt(Pe,d,p)(n)}function d(e){r++;n.push([t.currentConstruct,t.containerState]);return h(e)}function p(n){if(n===null){if(i)k();b(0);e.consume(n);return}i=i||t.parser.flow(t.now());e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:i});return g(n)}function g(n){if(n===null){m(e.exit("chunkFlow"),true);b(0);e.consume(n);return}if(ve(n)){e.consume(n);m(e.exit("chunkFlow"));r=0;t.interrupt=undefined;return s}e.consume(n);return g}function m(e,n){const s=t.sliceStream(e);if(n)s.push(null);e.previous=o;if(o)o.next=e;o=e;i.defineSkip(e.start);i.write(s);if(t.parser.lazy[e.start.line]){let e=i.events.length;while(e--){if(i.events[e][1].start.offset<l&&(!i.events[e][1].end||i.events[e][1].end.offset>l)){return}}const n=t.events.length;let o=n;let s;let a;while(o--){if(t.events[o][0]==="exit"&&t.events[o][1].type==="chunkFlow"){if(s){a=t.events[o][1].end;break}s=true}}b(r);e=n;while(e<t.events.length){t.events[e][1].end=Object.assign({},a);e++}le(t.events,o+1,0,t.events.slice(n));t.events.length=e}}function b(r){let i=n.length;while(i-- >r){const r=n[i];t.containerState=r[1];r[0].exit.call(t,e)}n.length=r}function k(){i.write([null]);o=undefined;i=undefined;t.containerState._closeFlow=undefined}}function Ie(e,t,n){return Le(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?undefined:4)}function qe(e){if(e===null||Se(e)||Ae(e)){return 1}if(Te(e)){return 2}}function Ne(e,t,n){const r=[];let i=-1;while(++i<e.length){const o=e[i].resolveAll;if(o&&!r.includes(o)){t=o(t,n);r.push(o)}}return t}const Be={name:"attention",tokenize:Ue,resolveAll:Fe};function Fe(e,t){let n=-1;let r;let i;let o;let l;let s;let a;let u;let c;while(++n<e.length){if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){r=n;while(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}a=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=Object.assign({},e[r][1].end);const h=Object.assign({},e[n][1].start);ze(f,-a);ze(h,a);l={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)};s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h};o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)};i={type:a>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},s.end)};e[r][1].end=Object.assign({},l.start);e[n][1].start=Object.assign({},s.end);u=[];if(e[r][1].end.offset-e[r][1].start.offset){u=se(u,[["enter",e[r][1],t],["exit",e[r][1],t]])}u=se(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]);u=se(u,Ne(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t));u=se(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]);if(e[n][1].end.offset-e[n][1].start.offset){c=2;u=se(u,[["enter",e[n][1],t],["exit",e[n][1],t]])}else{c=0}le(e,r-1,n-r+3,u);n=r+u.length-c-2;break}}}}n=-1;while(++n<e.length){if(e[n][1].type==="attentionSequence"){e[n][1].type="data"}}return e}function Ue(e,t){const n=this.parser.constructs.attentionMarkers.null;const r=this.previous;const i=qe(r);let o;return l;function l(t){o=t;e.enter("attentionSequence");return s(t)}function s(l){if(l===o){e.consume(l);return s}const a=e.exit("attentionSequence");const u=qe(l);const c=!u||u===2&&i||n.includes(l);const f=!i||i===2&&u||n.includes(r);a._open=Boolean(o===42?c:c&&(i||!f));a._close=Boolean(o===42?f:f&&(u||!c));return t(l)}}function ze(e,t){e.column+=t;e.offset+=t;e._bufferIndex+=t}const He={name:"autolink",tokenize:je};function je(e,t,n){let r=0;return i;function i(t){e.enter("autolink");e.enter("autolinkMarker");e.consume(t);e.exit("autolinkMarker");e.enter("autolinkProtocol");return o}function o(t){if(ge(t)){e.consume(t);return l}return u(t)}function l(e){if(e===43||e===45||e===46||me(e)){r=1;return s(e)}return u(e)}function s(t){if(t===58){e.consume(t);r=0;return a}if((t===43||t===45||t===46||me(t))&&r++<32){e.consume(t);return s}r=0;return u(t)}function a(r){if(r===62){e.exit("autolinkProtocol");e.enter("autolinkMarker");e.consume(r);e.exit("autolinkMarker");e.exit("autolink");return t}if(r===null||r===32||r===60||ke(r)){return n(r)}e.consume(r);return a}function u(t){if(t===64){e.consume(t);return c}if(be(t)){e.consume(t);return u}return n(t)}function c(e){return me(e)?f(e):n(e)}function f(n){if(n===46){e.consume(n);r=0;return c}if(n===62){e.exit("autolinkProtocol").type="autolinkEmail";e.enter("autolinkMarker");e.consume(n);e.exit("autolinkMarker");e.exit("autolink");return t}return h(n)}function h(t){if((t===45||me(t))&&r++<63){const n=t===45?h:f;e.consume(t);return n}return n(t)}}const Ve={tokenize:Ge,partial:true};function Ge(e,t,n){return r;function r(t){return xe(t)?Le(e,i,"linePrefix")(t):i(t)}function i(e){return e===null||ve(e)?t(e):n(e)}}const Ye={name:"blockQuote",tokenize:We,continuation:{tokenize:Xe},exit:Ke};function We(e,t,n){const r=this;return i;function i(t){if(t===62){const n=r.containerState;if(!n.open){e.enter("blockQuote",{_container:true});n.open=true}e.enter("blockQuotePrefix");e.enter("blockQuoteMarker");e.consume(t);e.exit("blockQuoteMarker");return o}return n(t)}function o(n){if(xe(n)){e.enter("blockQuotePrefixWhitespace");e.consume(n);e.exit("blockQuotePrefixWhitespace");e.exit("blockQuotePrefix");return t}e.exit("blockQuotePrefix");return t(n)}}function Xe(e,t,n){const r=this;return i;function i(t){if(xe(t)){return Le(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t)}return o(t)}function o(r){return e.attempt(Ye,t,n)(r)}}function Ke(e){e.exit("blockQuote")}const Qe={name:"characterEscape",tokenize:Ze};function Ze(e,t,n){return r;function r(t){e.enter("characterEscape");e.enter("escapeMarker");e.consume(t);e.exit("escapeMarker");return i}function i(r){if(Ee(r)){e.enter("characterEscapeValue");e.consume(r);e.exit("characterEscapeValue");e.exit("characterEscape");return t}return n(r)}}const $e={name:"characterReference",tokenize:Je};function Je(e,t,n){const r=this;let i=0;let o;let l;return s;function s(t){e.enter("characterReference");e.enter("characterReferenceMarker");e.consume(t);e.exit("characterReferenceMarker");return a}function a(t){if(t===35){e.enter("characterReferenceMarkerNumeric");e.consume(t);e.exit("characterReferenceMarkerNumeric");return u}e.enter("characterReferenceValue");o=31;l=me;return c(t)}function u(t){if(t===88||t===120){e.enter("characterReferenceMarkerHexadecimal");e.consume(t);e.exit("characterReferenceMarkerHexadecimal");e.enter("characterReferenceValue");o=6;l=we;return c}e.enter("characterReferenceValue");o=7;l=ye;return c(t)}function c(s){if(s===59&&i){const i=e.exit("characterReferenceValue");if(l===me&&!oe(r.sliceSerialize(i))){return n(s)}e.enter("characterReferenceMarker");e.consume(s);e.exit("characterReferenceMarker");e.exit("characterReference");return t}if(l(s)&&i++<o){e.consume(s);return c}return n(s)}}const et={tokenize:rt,partial:true};const tt={name:"codeFenced",tokenize:nt,concrete:true};function nt(e,t,n){const r=this;const i={tokenize:E,partial:true};let o=0;let l=0;let s;return a;function a(e){return u(e)}function u(t){const n=r.events[r.events.length-1];o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],true).length:0;s=t;e.enter("codeFenced");e.enter("codeFencedFence");e.enter("codeFencedFenceSequence");return c(t)}function c(t){if(t===s){l++;e.consume(t);return c}if(l<3){return n(t)}e.exit("codeFencedFenceSequence");return xe(t)?Le(e,f,"whitespace")(t):f(t)}function f(n){if(n===null||ve(n)){e.exit("codeFencedFence");return r.interrupt?t(n):e.check(et,g,w)(n)}e.enter("codeFencedFenceInfo");e.enter("chunkString",{contentType:"string"});return h(n)}function h(t){if(t===null||ve(t)){e.exit("chunkString");e.exit("codeFencedFenceInfo");return f(t)}if(xe(t)){e.exit("chunkString");e.exit("codeFencedFenceInfo");return Le(e,d,"whitespace")(t)}if(t===96&&t===s){return n(t)}e.consume(t);return h}function d(t){if(t===null||ve(t)){return f(t)}e.enter("codeFencedFenceMeta");e.enter("chunkString",{contentType:"string"});return p(t)}function p(t){if(t===null||ve(t)){e.exit("chunkString");e.exit("codeFencedFenceMeta");return f(t)}if(t===96&&t===s){return n(t)}e.consume(t);return p}function g(t){return e.attempt(i,w,m)(t)}function m(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return b}function b(t){return o>0&&xe(t)?Le(e,k,"linePrefix",o+1)(t):k(t)}function k(t){if(t===null||ve(t)){return e.check(et,g,w)(t)}e.enter("codeFlowValue");return y(t)}function y(t){if(t===null||ve(t)){e.exit("codeFlowValue");return k(t)}e.consume(t);return y}function w(n){e.exit("codeFenced");return t(n)}function E(e,t,n){let i=0;return o;function o(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return a}function a(t){e.enter("codeFencedFence");return xe(t)?Le(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t):u(t)}function u(t){if(t===s){e.enter("codeFencedFenceSequence");return c(t)}return n(t)}function c(t){if(t===s){i++;e.consume(t);return c}if(i>=l){e.exit("codeFencedFenceSequence");return xe(t)?Le(e,f,"whitespace")(t):f(t)}return n(t)}function f(r){if(r===null||ve(r)){e.exit("codeFencedFence");return t(r)}return n(r)}}}function rt(e,t,n){const r=this;return i;function i(t){if(t===null){return n(t)}e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return o}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}const it={name:"codeIndented",tokenize:lt};const ot={tokenize:st,partial:true};function lt(e,t,n){const r=this;return i;function i(t){e.enter("codeIndented");return Le(e,o,"linePrefix",4+1)(t)}function o(e){const t=r.events[r.events.length-1];return t&&t[1].type==="linePrefix"&&t[2].sliceSerialize(t[1],true).length>=4?l(e):n(e)}function l(t){if(t===null){return a(t)}if(ve(t)){return e.attempt(ot,l,a)(t)}e.enter("codeFlowValue");return s(t)}function s(t){if(t===null||ve(t)){e.exit("codeFlowValue");return l(t)}e.consume(t);return s}function a(n){e.exit("codeIndented");return t(n)}}function st(e,t,n){const r=this;return i;function i(t){if(r.parser.lazy[r.now().line]){return n(t)}if(ve(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return i}return Le(e,o,"linePrefix",4+1)(t)}function o(e){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],true).length>=4?t(e):ve(e)?i(e):n(e)}}const at={name:"codeText",tokenize:ft,resolve:ut,previous:ct};function ut(e){let t=e.length-4;let n=3;let r;let i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){r=n;while(++r<t){if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding";e[t][1].type="codeTextPadding";n+=2;t-=2;break}}}r=n-1;t++;while(++r<=t){if(i===undefined){if(r!==t&&e[r][1].type!=="lineEnding"){i=r}}else if(r===t||e[r][1].type==="lineEnding"){e[i][1].type="codeTextData";if(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=undefined}}return e}function ct(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ft(e,t,n){let r=0;let i;let o;return l;function l(t){e.enter("codeText");e.enter("codeTextSequence");return s(t)}function s(t){if(t===96){e.consume(t);r++;return s}e.exit("codeTextSequence");return a(t)}function a(t){if(t===null){return n(t)}if(t===32){e.enter("space");e.consume(t);e.exit("space");return a}if(t===96){o=e.enter("codeTextSequence");i=0;return c(t)}if(ve(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return a}e.enter("codeTextData");return u(t)}function u(t){if(t===null||t===32||t===96||ve(t)){e.exit("codeTextData");return a(t)}e.consume(t);return u}function c(n){if(n===96){e.consume(n);i++;return c}if(i===r){e.exit("codeTextSequence");e.exit("codeText");return t(n)}o.type="codeTextData";return u(n)}}function ht(e){const t={};let n=-1;let r;let i;let o;let l;let s;let a;let u;while(++n<e.length){while(n in t){n=t[n]}r=e[n];if(n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"){a=r[1]._tokenizer.events;o=0;if(o<a.length&&a[o][1].type==="lineEndingBlank"){o+=2}if(o<a.length&&a[o][1].type==="content"){while(++o<a.length){if(a[o][1].type==="content"){break}if(a[o][1].type==="chunkText"){a[o][1]._isInFirstContentOfListItem=true;o++}}}}if(r[0]==="enter"){if(r[1].contentType){Object.assign(t,dt(e,n));n=t[n];u=true}}else if(r[1]._container){o=n;i=undefined;while(o--){l=e[o];if(l[1].type==="lineEnding"||l[1].type==="lineEndingBlank"){if(l[0]==="enter"){if(i){e[i][1].type="lineEndingBlank"}l[1].type="lineEnding";i=o}}else{break}}if(i){r[1].end=Object.assign({},e[i][1].start);s=e.slice(i,n);s.unshift(r);le(e,i,n-i+1,s)}}}return!u}function dt(e,t){const n=e[t][1];const r=e[t][2];let i=t-1;const o=[];const l=n._tokenizer||r.parser[n.contentType](n.start);const s=l.events;const a=[];const u={};let c;let f;let h=-1;let d=n;let p=0;let g=0;const m=[g];while(d){while(e[++i][1]!==d){}o.push(i);if(!d._tokenizer){c=r.sliceStream(d);if(!d.next){c.push(null)}if(f){l.defineSkip(d.start)}if(d._isInFirstContentOfListItem){l._gfmTasklistFirstContentOfListItem=true}l.write(c);if(d._isInFirstContentOfListItem){l._gfmTasklistFirstContentOfListItem=undefined}}f=d;d=d.next}d=n;while(++h<s.length){if(s[h][0]==="exit"&&s[h-1][0]==="enter"&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line){g=h+1;m.push(g);d._tokenizer=undefined;d.previous=undefined;d=d.next}}l.events=[];if(d){d._tokenizer=undefined;d.previous=undefined}else{m.pop()}h=m.length;while(h--){const t=s.slice(m[h],m[h+1]);const n=o.pop();a.unshift([n,n+t.length-1]);le(e,n,2,t)}h=-1;while(++h<a.length){u[p+a[h][0]]=p+a[h][1];p+=a[h][1]-a[h][0]-1}return u}const pt={tokenize:bt,resolve:mt};const gt={tokenize:kt,partial:true};function mt(e){ht(e);return e}function bt(e,t){let n;return r;function r(t){e.enter("content");n=e.enter("chunkContent",{contentType:"content"});return i(t)}function i(t){if(t===null){return o(t)}if(ve(t)){return e.check(gt,l,o)(t)}e.consume(t);return i}function o(n){e.exit("chunkContent");e.exit("content");return t(n)}function l(t){e.consume(t);e.exit("chunkContent");n.next=e.enter("chunkContent",{contentType:"content",previous:n});n=n.next;return i}}function kt(e,t,n){const r=this;return i;function i(t){e.exit("chunkContent");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return Le(e,o,"linePrefix")}function o(i){if(i===null||ve(i)){return n(i)}const o=r.events[r.events.length-1];if(!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],true).length>=4){return t(i)}return e.interrupt(r.parser.constructs.flow,n,t)(i)}}function yt(e,t,n,r,i,o,l,s,a){const u=a||Number.POSITIVE_INFINITY;let c=0;return f;function f(t){if(t===60){e.enter(r);e.enter(i);e.enter(o);e.consume(t);e.exit(o);return h}if(t===null||t===32||t===41||ke(t)){return n(t)}e.enter(r);e.enter(l);e.enter(s);e.enter("chunkString",{contentType:"string"});return g(t)}function h(n){if(n===62){e.enter(o);e.consume(n);e.exit(o);e.exit(i);e.exit(r);return t}e.enter(s);e.enter("chunkString",{contentType:"string"});return d(n)}function d(t){if(t===62){e.exit("chunkString");e.exit(s);return h(t)}if(t===null||t===60||ve(t)){return n(t)}e.consume(t);return t===92?p:d}function p(t){if(t===60||t===62||t===92){e.consume(t);return d}return d(t)}function g(i){if(!c&&(i===null||i===41||Se(i))){e.exit("chunkString");e.exit(s);e.exit(l);e.exit(r);return t(i)}if(c<u&&i===40){e.consume(i);c++;return g}if(i===41){e.consume(i);c--;return g}if(i===null||i===32||i===40||ke(i)){return n(i)}e.consume(i);return i===92?m:g}function m(t){if(t===40||t===41||t===92){e.consume(t);return g}return g(t)}}function wt(e,t,n,r,i,o){const l=this;let s=0;let a;return u;function u(t){e.enter(r);e.enter(i);e.consume(t);e.exit(i);e.enter(o);return c}function c(u){if(s>999||u===null||u===91||u===93&&!a||u===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs){return n(u)}if(u===93){e.exit(o);e.enter(i);e.consume(u);e.exit(i);e.exit(r);return t}if(ve(u)){e.enter("lineEnding");e.consume(u);e.exit("lineEnding");return c}e.enter("chunkString",{contentType:"string"});return f(u)}function f(t){if(t===null||t===91||t===93||ve(t)||s++>999){e.exit("chunkString");return c(t)}e.consume(t);if(!a)a=!xe(t);return t===92?h:f}function h(t){if(t===91||t===92||t===93){e.consume(t);s++;return f}return f(t)}}function Et(e,t,n,r,i,o){let l;return s;function s(t){if(t===34||t===39||t===40){e.enter(r);e.enter(i);e.consume(t);e.exit(i);l=t===40?41:t;return a}return n(t)}function a(n){if(n===l){e.enter(i);e.consume(n);e.exit(i);e.exit(r);return t}e.enter(o);return u(n)}function u(t){if(t===l){e.exit(o);return a(l)}if(t===null){return n(t)}if(ve(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return Le(e,u,"linePrefix")}e.enter("chunkString",{contentType:"string"});return c(t)}function c(t){if(t===l||t===null||ve(t)){e.exit("chunkString");return u(t)}e.consume(t);return t===92?f:c}function f(t){if(t===l||t===92){e.consume(t);return c}return c(t)}}function vt(e,t){let n;return r;function r(i){if(ve(i)){e.enter("lineEnding");e.consume(i);e.exit("lineEnding");n=true;return r}if(xe(i)){return Le(e,r,n?"linePrefix":"lineSuffix")(i)}return t(i)}}const St={name:"definition",tokenize:Tt};const xt={tokenize:At,partial:true};function Tt(e,t,n){const r=this;let i;return o;function o(t){e.enter("definition");return l(t)}function l(t){return wt.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}function s(t){i=de(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1));if(t===58){e.enter("definitionMarker");e.consume(t);e.exit("definitionMarker");return a}return n(t)}function a(t){return Se(t)?vt(e,u)(t):u(t)}function u(t){return yt(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(xt,f,f)(t)}function f(t){return xe(t)?Le(e,h,"whitespace")(t):h(t)}function h(o){if(o===null||ve(o)){e.exit("definition");r.parser.defined.push(i);return t(o)}return n(o)}}function At(e,t,n){return r;function r(t){return Se(t)?vt(e,i)(t):n(t)}function i(t){return Et(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return xe(t)?Le(e,l,"whitespace")(t):l(t)}function l(e){return e===null||ve(e)?t(e):n(e)}}const Ct={name:"hardBreakEscape",tokenize:Dt};function Dt(e,t,n){return r;function r(t){e.enter("hardBreakEscape");e.consume(t);return i}function i(r){if(ve(r)){e.exit("hardBreakEscape");return t(r)}return n(r)}}const Lt={name:"headingAtx",tokenize:Ot,resolve:Rt};function Rt(e,t){let n=e.length-2;let r=3;let i;let o;if(e[r][1].type==="whitespace"){r+=2}if(n-2>r&&e[n][1].type==="whitespace"){n-=2}if(e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")){n-=r+1===n?2:4}if(n>r){i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end};o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};le(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])}return e}function Ot(e,t,n){let r=0;return i;function i(t){e.enter("atxHeading");return o(t)}function o(t){e.enter("atxHeadingSequence");return l(t)}function l(t){if(t===35&&r++<6){e.consume(t);return l}if(t===null||Se(t)){e.exit("atxHeadingSequence");return s(t)}return n(t)}function s(n){if(n===35){e.enter("atxHeadingSequence");return a(n)}if(n===null||ve(n)){e.exit("atxHeading");return t(n)}if(xe(n)){return Le(e,s,"whitespace")(n)}e.enter("atxHeadingText");return u(n)}function a(t){if(t===35){e.consume(t);return a}e.exit("atxHeadingSequence");return s(t)}function u(t){if(t===null||t===35||Se(t)){e.exit("atxHeadingText");return s(t)}e.consume(t);return u}}const _t=["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"];const Pt=["pre","script","style","textarea"];const Mt={name:"htmlFlow",tokenize:Bt,resolveTo:Nt,concrete:true};const It={tokenize:Ut,partial:true};const qt={tokenize:Ft,partial:true};function Nt(e){let t=e.length;while(t--){if(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"){break}}if(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)}return e}function Bt(e,t,n){const r=this;let i;let o;let l;let s;let a;return u;function u(e){return c(e)}function c(t){e.enter("htmlFlow");e.enter("htmlFlowData");e.consume(t);return f}function f(s){if(s===33){e.consume(s);return h}if(s===47){e.consume(s);o=true;return g}if(s===63){e.consume(s);i=3;return r.interrupt?t:q}if(ge(s)){e.consume(s);l=String.fromCharCode(s);return m}return n(s)}function h(o){if(o===45){e.consume(o);i=2;return d}if(o===91){e.consume(o);i=5;s=0;return p}if(ge(o)){e.consume(o);i=4;return r.interrupt?t:q}return n(o)}function d(i){if(i===45){e.consume(i);return r.interrupt?t:q}return n(i)}function p(i){const o="CDATA[";if(i===o.charCodeAt(s++)){e.consume(i);if(s===o.length){return r.interrupt?t:D}return p}return n(i)}function g(t){if(ge(t)){e.consume(t);l=String.fromCharCode(t);return m}return n(t)}function m(s){if(s===null||s===47||s===62||Se(s)){const a=s===47;const u=l.toLowerCase();if(!a&&!o&&Pt.includes(u)){i=1;return r.interrupt?t(s):D(s)}if(_t.includes(l.toLowerCase())){i=6;if(a){e.consume(s);return b}return r.interrupt?t(s):D(s)}i=7;return r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?k(s):y(s)}if(s===45||me(s)){e.consume(s);l+=String.fromCharCode(s);return m}return n(s)}function b(i){if(i===62){e.consume(i);return r.interrupt?t:D}return n(i)}function k(t){if(xe(t)){e.consume(t);return k}return A(t)}function y(t){if(t===47){e.consume(t);return A}if(t===58||t===95||ge(t)){e.consume(t);return w}if(xe(t)){e.consume(t);return y}return A(t)}function w(t){if(t===45||t===46||t===58||t===95||me(t)){e.consume(t);return w}return E(t)}function E(t){if(t===61){e.consume(t);return v}if(xe(t)){e.consume(t);return E}return y(t)}function v(t){if(t===null||t===60||t===61||t===62||t===96){return n(t)}if(t===34||t===39){e.consume(t);a=t;return S}if(xe(t)){e.consume(t);return v}return x(t)}function S(t){if(t===a){e.consume(t);a=null;return T}if(t===null||ve(t)){return n(t)}e.consume(t);return S}function x(t){if(t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||Se(t)){return E(t)}e.consume(t);return x}function T(e){if(e===47||e===62||xe(e)){return y(e)}return n(e)}function A(t){if(t===62){e.consume(t);return C}return n(t)}function C(t){if(t===null||ve(t)){return D(t)}if(xe(t)){e.consume(t);return C}return n(t)}function D(t){if(t===45&&i===2){e.consume(t);return _}if(t===60&&i===1){e.consume(t);return P}if(t===62&&i===4){e.consume(t);return N}if(t===63&&i===3){e.consume(t);return q}if(t===93&&i===5){e.consume(t);return I}if(ve(t)&&(i===6||i===7)){e.exit("htmlFlowData");return e.check(It,B,L)(t)}if(t===null||ve(t)){e.exit("htmlFlowData");return L(t)}e.consume(t);return D}function L(t){return e.check(qt,R,B)(t)}function R(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return O}function O(t){if(t===null||ve(t)){return L(t)}e.enter("htmlFlowData");return D(t)}function _(t){if(t===45){e.consume(t);return q}return D(t)}function P(t){if(t===47){e.consume(t);l="";return M}return D(t)}function M(t){if(t===62){const n=l.toLowerCase();if(Pt.includes(n)){e.consume(t);return N}return D(t)}if(ge(t)&&l.length<8){e.consume(t);l+=String.fromCharCode(t);return M}return D(t)}function I(t){if(t===93){e.consume(t);return q}return D(t)}function q(t){if(t===62){e.consume(t);return N}if(t===45&&i===2){e.consume(t);return q}return D(t)}function N(t){if(t===null||ve(t)){e.exit("htmlFlowData");return B(t)}e.consume(t);return N}function B(n){e.exit("htmlFlow");return t(n)}}function Ft(e,t,n){const r=this;return i;function i(t){if(ve(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return o}return n(t)}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Ut(e,t,n){return r;function r(r){e.enter("lineEnding");e.consume(r);e.exit("lineEnding");return e.attempt(Ve,t,n)}}const zt={name:"htmlText",tokenize:Ht};function Ht(e,t,n){const r=this;let i;let o;let l;return s;function s(t){e.enter("htmlText");e.enter("htmlTextData");e.consume(t);return a}function a(t){if(t===33){e.consume(t);return u}if(t===47){e.consume(t);return E}if(t===63){e.consume(t);return y}if(ge(t)){e.consume(t);return x}return n(t)}function u(t){if(t===45){e.consume(t);return c}if(t===91){e.consume(t);o=0;return p}if(ge(t)){e.consume(t);return k}return n(t)}function c(t){if(t===45){e.consume(t);return d}return n(t)}function f(t){if(t===null){return n(t)}if(t===45){e.consume(t);return h}if(ve(t)){l=f;return P(t)}e.consume(t);return f}function h(t){if(t===45){e.consume(t);return d}return f(t)}function d(e){return e===62?_(e):e===45?h(e):f(e)}function p(t){const r="CDATA[";if(t===r.charCodeAt(o++)){e.consume(t);return o===r.length?g:p}return n(t)}function g(t){if(t===null){return n(t)}if(t===93){e.consume(t);return m}if(ve(t)){l=g;return P(t)}e.consume(t);return g}function m(t){if(t===93){e.consume(t);return b}return g(t)}function b(t){if(t===62){return _(t)}if(t===93){e.consume(t);return b}return g(t)}function k(t){if(t===null||t===62){return _(t)}if(ve(t)){l=k;return P(t)}e.consume(t);return k}function y(t){if(t===null){return n(t)}if(t===63){e.consume(t);return w}if(ve(t)){l=y;return P(t)}e.consume(t);return y}function w(e){return e===62?_(e):y(e)}function E(t){if(ge(t)){e.consume(t);return v}return n(t)}function v(t){if(t===45||me(t)){e.consume(t);return v}return S(t)}function S(t){if(ve(t)){l=S;return P(t)}if(xe(t)){e.consume(t);return S}return _(t)}function x(t){if(t===45||me(t)){e.consume(t);return x}if(t===47||t===62||Se(t)){return T(t)}return n(t)}function T(t){if(t===47){e.consume(t);return _}if(t===58||t===95||ge(t)){e.consume(t);return A}if(ve(t)){l=T;return P(t)}if(xe(t)){e.consume(t);return T}return _(t)}function A(t){if(t===45||t===46||t===58||t===95||me(t)){e.consume(t);return A}return C(t)}function C(t){if(t===61){e.consume(t);return D}if(ve(t)){l=C;return P(t)}if(xe(t)){e.consume(t);return C}return T(t)}function D(t){if(t===null||t===60||t===61||t===62||t===96){return n(t)}if(t===34||t===39){e.consume(t);i=t;return L}if(ve(t)){l=D;return P(t)}if(xe(t)){e.consume(t);return D}e.consume(t);return R}function L(t){if(t===i){e.consume(t);i=undefined;return O}if(t===null){return n(t)}if(ve(t)){l=L;return P(t)}e.consume(t);return L}function R(t){if(t===null||t===34||t===39||t===60||t===61||t===96){return n(t)}if(t===47||t===62||Se(t)){return T(t)}e.consume(t);return R}function O(e){if(e===47||e===62||Se(e)){return T(e)}return n(e)}function _(r){if(r===62){e.consume(r);e.exit("htmlTextData");e.exit("htmlText");return t}return n(r)}function P(t){e.exit("htmlTextData");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return M}function M(t){return xe(t)?Le(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t):I(t)}function I(t){e.enter("htmlTextData");return l(t)}}const jt={name:"labelEnd",tokenize:Kt,resolveTo:Xt,resolveAll:Wt};const Vt={tokenize:Qt};const Gt={tokenize:Zt};const Yt={tokenize:$t};function Wt(e){let t=-1;while(++t<e.length){const n=e[t][1];if(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){e.splice(t+1,n.type==="labelImage"?4:2);n.type="data";t++}}return e}function Xt(e,t){let n=e.length;let r=0;let i;let o;let l;let s;while(n--){i=e[n][1];if(o){if(i.type==="link"||i.type==="labelLink"&&i._inactive){break}if(e[n][0]==="enter"&&i.type==="labelLink"){i._inactive=true}}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced){o=n;if(i.type!=="labelLink"){r=2;break}}}else if(i.type==="labelEnd"){l=n}}const a={type:e[o][1].type==="labelLink"?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)};const u={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[l][1].end)};const c={type:"labelText",start:Object.assign({},e[o+r+2][1].end),end:Object.assign({},e[l-2][1].start)};s=[["enter",a,t],["enter",u,t]];s=se(s,e.slice(o+1,o+r+3));s=se(s,[["enter",c,t]]);s=se(s,Ne(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t));s=se(s,[["exit",c,t],e[l-2],e[l-1],["exit",u,t]]);s=se(s,e.slice(l+1));s=se(s,[["exit",a,t]]);le(e,o,e.length,s);return e}function Kt(e,t,n){const r=this;let i=r.events.length;let o;let l;while(i--){if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}}return s;function s(t){if(!o){return n(t)}if(o._inactive){return f(t)}l=r.parser.defined.includes(de(r.sliceSerialize({start:o.end,end:r.now()})));e.enter("labelEnd");e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelEnd");return a}function a(t){if(t===40){return e.attempt(Vt,c,l?c:f)(t)}if(t===91){return e.attempt(Gt,c,l?u:f)(t)}return l?c(t):f(t)}function u(t){return e.attempt(Yt,c,f)(t)}function c(e){return t(e)}function f(e){o._balanced=true;return n(e)}}function Qt(e,t,n){return r;function r(t){e.enter("resource");e.enter("resourceMarker");e.consume(t);e.exit("resourceMarker");return i}function i(t){return Se(t)?vt(e,o)(t):o(t)}function o(t){if(t===41){return c(t)}return yt(e,l,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function l(t){return Se(t)?vt(e,a)(t):c(t)}function s(e){return n(e)}function a(t){if(t===34||t===39||t===40){return Et(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t)}return c(t)}function u(t){return Se(t)?vt(e,c)(t):c(t)}function c(r){if(r===41){e.enter("resourceMarker");e.consume(r);e.exit("resourceMarker");e.exit("resource");return t}return n(r)}}function Zt(e,t,n){const r=this;return i;function i(t){return wt.call(r,e,o,l,"reference","referenceMarker","referenceString")(t)}function o(e){return r.parser.defined.includes(de(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function l(e){return n(e)}}function $t(e,t,n){return r;function r(t){e.enter("reference");e.enter("referenceMarker");e.consume(t);e.exit("referenceMarker");return i}function i(r){if(r===93){e.enter("referenceMarker");e.consume(r);e.exit("referenceMarker");e.exit("reference");return t}return n(r)}}const Jt={name:"labelStartImage",tokenize:en,resolveAll:jt.resolveAll};function en(e,t,n){const r=this;return i;function i(t){e.enter("labelImage");e.enter("labelImageMarker");e.consume(t);e.exit("labelImageMarker");return o}function o(t){if(t===91){e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelImage");return l}return n(t)}function l(e){return e===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}const tn={name:"labelStartLink",tokenize:nn,resolveAll:jt.resolveAll};function nn(e,t,n){const r=this;return i;function i(t){e.enter("labelLink");e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelLink");return o}function o(e){return e===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}const rn={name:"lineEnding",tokenize:on};function on(e,t){return n;function n(n){e.enter("lineEnding");e.consume(n);e.exit("lineEnding");return Le(e,t,"linePrefix")}}const ln={name:"thematicBreak",tokenize:sn};function sn(e,t,n){let r=0;let i;return o;function o(t){e.enter("thematicBreak");return l(t)}function l(e){i=e;return s(e)}function s(o){if(o===i){e.enter("thematicBreakSequence");return a(o)}if(r>=3&&(o===null||ve(o))){e.exit("thematicBreak");return t(o)}return n(o)}function a(t){if(t===i){e.consume(t);r++;return a}e.exit("thematicBreakSequence");return xe(t)?Le(e,s,"whitespace")(t):s(t)}}const an={name:"list",tokenize:fn,continuation:{tokenize:hn},exit:pn};const un={tokenize:gn,partial:true};const cn={tokenize:dn,partial:true};function fn(e,t,n){const r=this;const i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],true).length:0;let l=0;return s;function s(t){const i=r.containerState.type||(t===42||t===43||t===45?"listUnordered":"listOrdered");if(i==="listUnordered"?!r.containerState.marker||t===r.containerState.marker:ye(t)){if(!r.containerState.type){r.containerState.type=i;e.enter(i,{_container:true})}if(i==="listUnordered"){e.enter("listItemPrefix");return t===42||t===45?e.check(ln,n,u)(t):u(t)}if(!r.interrupt||t===49){e.enter("listItemPrefix");e.enter("listItemValue");return a(t)}}return n(t)}function a(t){if(ye(t)&&++l<10){e.consume(t);return a}if((!r.interrupt||l<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)){e.exit("listItemValue");return u(t)}return n(t)}function u(t){e.enter("listItemMarker");e.consume(t);e.exit("listItemMarker");r.containerState.marker=r.containerState.marker||t;return e.check(Ve,r.interrupt?n:c,e.attempt(un,h,f))}function c(e){r.containerState.initialBlankLine=true;o++;return h(e)}function f(t){if(xe(t)){e.enter("listItemPrefixWhitespace");e.consume(t);e.exit("listItemPrefixWhitespace");return h}return n(t)}function h(n){r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),true).length;return t(n)}}function hn(e,t,n){const r=this;r.containerState._closeFlow=undefined;return e.check(Ve,i,o);function i(n){r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine;return Le(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){if(r.containerState.furtherBlankLines||!xe(n)){r.containerState.furtherBlankLines=undefined;r.containerState.initialBlankLine=undefined;return l(n)}r.containerState.furtherBlankLines=undefined;r.containerState.initialBlankLine=undefined;return e.attempt(cn,t,l)(n)}function l(i){r.containerState._closeFlow=true;r.interrupt=undefined;return Le(e,e.attempt(an,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(i)}}function dn(e,t,n){const r=this;return Le(e,i,"listItemIndent",r.containerState.size+1);function i(e){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],true).length===r.containerState.size?t(e):n(e)}}function pn(e){e.exit(this.containerState.type)}function gn(e,t,n){const r=this;return Le(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4+1);function i(e){const i=r.events[r.events.length-1];return!xe(e)&&i&&i[1].type==="listItemPrefixWhitespace"?t(e):n(e)}}const mn={name:"setextUnderline",tokenize:kn,resolveTo:bn};function bn(e,t){let n=e.length;let r;let i;let o;while(n--){if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}if(e[n][1].type==="paragraph"){i=n}}else{if(e[n][1].type==="content"){e.splice(n,1)}if(!o&&e[n][1].type==="definition"){o=n}}}const l={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};e[i][1].type="setextHeadingText";if(o){e.splice(i,0,["enter",l,t]);e.splice(o+1,0,["exit",e[r][1],t]);e[r][1].end=Object.assign({},e[o][1].end)}else{e[r][1]=l}e.push(["exit",l,t]);return e}function kn(e,t,n){const r=this;let i;return o;function o(t){let o=r.events.length;let s;while(o--){if(r.events[o][1].type!=="lineEnding"&&r.events[o][1].type!=="linePrefix"&&r.events[o][1].type!=="content"){s=r.events[o][1].type==="paragraph";break}}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s)){e.enter("setextHeadingLine");i=t;return l(t)}return n(t)}function l(t){e.enter("setextHeadingLineSequence");return s(t)}function s(t){if(t===i){e.consume(t);return s}e.exit("setextHeadingLineSequence");return xe(t)?Le(e,a,"lineSuffix")(t):a(t)}function a(r){if(r===null||ve(r)){e.exit("setextHeadingLine");return t(r)}return n(r)}}const yn={tokenize:wn};function wn(e){const t=this;const n=e.attempt(Ve,r,e.attempt(this.parser.constructs.flowInitial,i,Le(e,e.attempt(this.parser.constructs.flow,i,e.attempt(pt,i)),"linePrefix")));return n;function r(r){if(r===null){e.consume(r);return}e.enter("lineEndingBlank");e.consume(r);e.exit("lineEndingBlank");t.currentConstruct=undefined;return n}function i(r){if(r===null){e.consume(r);return}e.enter("lineEnding");e.consume(r);e.exit("lineEnding");t.currentConstruct=undefined;return n}}const En={resolveAll:Tn()};const vn=xn("string");const Sn=xn("text");function xn(e){return{tokenize:t,resolveAll:Tn(e==="text"?An:undefined)};function t(t){const n=this;const r=this.parser.constructs[e];const i=t.attempt(r,o,l);return o;function o(e){return a(e)?i(e):l(e)}function l(e){if(e===null){t.consume(e);return}t.enter("data");t.consume(e);return s}function s(e){if(a(e)){t.exit("data");return i(e)}t.consume(e);return s}function a(e){if(e===null){return true}const t=r[e];let i=-1;if(t){while(++i<t.length){const e=t[i];if(!e.previous||e.previous.call(n,n.previous)){return true}}}return false}}}function Tn(e){return t;function t(t,n){let r=-1;let i;while(++r<=t.length){if(i===undefined){if(t[r]&&t[r][1].type==="data"){i=r;r++}}else if(!t[r]||t[r][1].type!=="data"){if(r!==i+2){t[i][1].end=t[r-1][1].end;t.splice(i+2,r-i-2);r=i+2}i=undefined}}return e?e(t,n):t}}function An(e,t){let n=0;while(++n<=e.length){if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1];const i=t.sliceStream(r);let o=i.length;let l=-1;let s=0;let a;while(o--){const e=i[o];if(typeof e==="string"){l=e.length;while(e.charCodeAt(l-1)===32){s++;l--}if(l)break;l=-1}else if(e===-2){a=true;s++}else if(e===-1);else{o++;break}}if(s){const i={type:n===e.length||a||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+o,_bufferIndex:o?l:r.start._bufferIndex+l},end:Object.assign({},r.end)};r.end=Object.assign({},i.start);if(r.start.offset===r.end.offset){Object.assign(r,i)}else{e.splice(n,0,["enter",i,t],["exit",i,t]);n+=2}}n++}}return e}function Cn(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={};const o=[];let l=[];let s=[];const a={consume:k,enter:y,exit:w,attempt:S(E),check:S(v),interrupt:S(v,{interrupt:true})};const u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:h,now:p,defineSkip:g,write:f};let c=t.tokenize.call(u,a);if(t.resolveAll){o.push(t)}return u;function f(e){l=se(l,e);m();if(l[l.length-1]!==null){return[]}x(t,0);u.events=Ne(o,u.events,u);return u.events}function h(e,t){return Ln(d(e),t)}function d(e){return Dn(l,e)}function p(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function g(e){i[e.line]=e.column;A()}function m(){let e;while(r._index<l.length){const t=l[r._index];if(typeof t==="string"){e=r._index;if(r._bufferIndex<0){r._bufferIndex=0}while(r._index===e&&r._bufferIndex<t.length){b(t.charCodeAt(r._bufferIndex))}}else{b(t)}}}function b(e){c=c(e)}function k(e){if(ve(e)){r.line++;r.column=1;r.offset+=e===-3?2:1;A()}else if(e!==-1){r.column++;r.offset++}if(r._bufferIndex<0){r._index++}else{r._bufferIndex++;if(r._bufferIndex===l[r._index].length){r._bufferIndex=-1;r._index++}}u.previous=e}function y(e,t){const n=t||{};n.type=e;n.start=p();u.events.push(["enter",n,u]);s.push(n);return n}function w(e){const t=s.pop();t.end=p();u.events.push(["exit",t,u]);return t}function E(e,t){x(e,t.from)}function v(e,t){t.restore()}function S(e,t){return n;function n(n,r,i){let o;let l;let s;let c;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):f(n);function f(e){return t;function t(t){const n=t!==null&&e[t];const r=t!==null&&e.null;const i=[...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]];return h(i)(t)}}function h(e){o=e;l=0;if(e.length===0){return i}return d(e[l])}function d(e){return n;function n(n){c=T();s=e;if(!e.partial){u.currentConstruct=e}if(e.name&&u.parser.constructs.disable.null.includes(e.name)){return g()}return e.tokenize.call(t?Object.assign(Object.create(u),t):u,a,p,g)(n)}}function p(t){e(s,c);return r}function g(e){c.restore();if(++l<o.length){return d(o[l])}return i}}}function x(e,t){if(e.resolveAll&&!o.includes(e)){o.push(e)}if(e.resolve){le(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u))}if(e.resolveTo){u.events=e.resolveTo(u.events,u)}}function T(){const e=p();const t=u.previous;const n=u.currentConstruct;const i=u.events.length;const o=Array.from(s);return{restore:l,from:i};function l(){r=e;u.previous=t;u.currentConstruct=n;u.events.length=i;s=o;A()}}function A(){if(r.line in i&&r.column<2){r.column=i[r.line];r.offset+=i[r.line]-1}}}function Dn(e,t){const n=t.start._index;const r=t.start._bufferIndex;const i=t.end._index;const o=t.end._bufferIndex;let l;if(n===i){l=[e[n].slice(r,o)]}else{l=e.slice(n,i);if(r>-1){const e=l[0];if(typeof e==="string"){l[0]=e.slice(r)}else{l.shift()}}if(o>0){l.push(e[i].slice(0,o))}}return l}function Ln(e,t){let n=-1;const r=[];let i;while(++n<e.length){const o=e[n];let l;if(typeof o==="string"){l=o}else switch(o){case-5:{l="\r";break}case-4:{l="\n";break}case-3:{l="\r"+"\n";break}case-2:{l=t?" ":"\t";break}case-1:{if(!t&&i)continue;l=" ";break}default:{l=String.fromCharCode(o)}}i=o===-2;r.push(l)}return r.join("")}const Rn={[42]:an,[43]:an,[45]:an,[48]:an,[49]:an,[50]:an,[51]:an,[52]:an,[53]:an,[54]:an,[55]:an,[56]:an,[57]:an,[62]:Ye};const On={[91]:St};const _n={[-2]:it,[-1]:it,[32]:it};const Pn={[35]:Lt,[42]:ln,[45]:[mn,ln],[60]:Mt,[61]:mn,[95]:ln,[96]:tt,[126]:tt};const Mn={[38]:$e,[92]:Qe};const In={[-5]:rn,[-4]:rn,[-3]:rn,[33]:Jt,[38]:$e,[42]:Be,[60]:[He,zt],[91]:tn,[92]:[Ct,Qe],[93]:jt,[95]:Be,[96]:at};const qn={null:[Be,En]};const Nn={null:[42,95]};const Bn={null:[]};const Fn=Object.freeze({__proto__:null,document:Rn,contentInitial:On,flowInitial:_n,flow:Pn,string:Mn,text:In,insideSpan:qn,attentionMarkers:Nn,disable:Bn});function Un(e){const t=e||{};const n=ue([Fn,...t.extensions||[]]);const r={defined:[],lazy:{},constructs:n,content:i(Re),document:i(_e),flow:i(yn),string:i(vn),text:i(Sn)};return r;function i(e){return t;function t(t){return Cn(r,e,t)}}}function zn(e){while(!ht(e)){}return e}const Hn=/[\0\t\n\r]/g;function jn(){let e=1;let t="";let n=true;let r;return i;function i(i,o,l){const s=[];let a;let u;let c;let f;let h;i=t+(typeof i==="string"?i.toString():new TextDecoder(o||undefined).decode(i));c=0;t="";if(n){if(i.charCodeAt(0)===65279){c++}n=undefined}while(c<i.length){Hn.lastIndex=c;a=Hn.exec(i);f=a&&a.index!==undefined?a.index:i.length;h=i.charCodeAt(f);if(!a){t=i.slice(c);break}if(h===10&&c===f&&r){s.push(-3);r=undefined}else{if(r){s.push(-5);r=undefined}if(c<f){s.push(i.slice(c,f));e+=f-c}switch(h){case 0:{s.push(65533);e++;break}case 9:{u=Math.ceil(e/4)*4;s.push(-2);while(e++<u)s.push(-1);break}case 10:{s.push(-4);e=1;break}default:{r=true;e=1}}}c=f+1}if(l){if(r)s.push(-5);if(t)s.push(t);s.push(null)}return s}}const Vn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Gn(e){return e.replace(Vn,Yn)}function Yn(e,t,n){if(t){return t}const r=n.charCodeAt(0);if(r===35){const e=n.charCodeAt(1);const t=e===120||e===88;return he(n.slice(t?2:1),t?16:10)}return oe(n)||e}function Wn(e){if(!e||typeof e!=="object"){return""}if("position"in e||"type"in e){return Kn(e.position)}if("start"in e||"end"in e){return Kn(e)}if("line"in e||"column"in e){return Xn(e)}return""}function Xn(e){return Qn(e&&e.line)+":"+Qn(e&&e.column)}function Kn(e){return Xn(e&&e.start)+"-"+Xn(e&&e.end)}function Qn(e){return e&&typeof e==="number"?e:1}const Zn={}.hasOwnProperty;function $n(e,t,n){if(typeof t!=="string"){n=t;t=undefined}return Jn(n)(zn(Un(n).document().write(jn()(e,t,true))))}function Jn(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(te),autolinkProtocol:T,autolinkEmail:T,atxHeading:o(Q),blockQuote:o(G),characterEscape:T,characterReference:T,codeFenced:o(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Y,l),codeText:o(W,l),codeTextData:T,data:T,codeFlowValue:T,definition:o(X),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(K),hardBreakEscape:o(Z),hardBreakTrailing:o(Z),htmlFlow:o($,l),htmlFlowData:T,htmlText:o($,l),htmlTextData:T,image:o(ee),label:l,link:o(te),listItem:o(re),listItemValue:h,listOrdered:o(ne,f),listUnordered:o(ne),paragraph:o(ie),reference:F,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Q),strong:o(le),thematicBreak:o(ae)},exit:{atxHeading:a(),atxHeadingSequence:E,autolink:a(),autolinkEmail:V,autolinkProtocol:j,blockQuote:a(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:H,codeFenced:a(m),codeFencedFence:g,codeFencedFenceInfo:d,codeFencedFenceMeta:p,codeFlowValue:A,codeIndented:a(b),codeText:a(O),codeTextData:A,data:A,definition:a(),definitionDestinationString:w,definitionLabelString:k,definitionTitleString:y,emphasis:a(),hardBreakEscape:a(D),hardBreakTrailing:a(D),htmlFlow:a(L),htmlFlowData:A,htmlText:a(R),htmlTextData:A,image:a(P),label:I,labelText:M,lineEnding:C,link:a(_),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:U,resourceDestinationString:q,resourceTitleString:N,resource:B,setextHeading:a(x),setextHeadingLineSequence:S,setextHeadingText:v,strong:a(),thematicBreak:a()}};tr(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:s,exit:u,buffer:l,resume:c,data:n};const a=[];let f=-1;while(++f<e.length){if(e[f][1].type==="listOrdered"||e[f][1].type==="listUnordered"){if(e[f][0]==="enter"){a.push(f)}else{const t=a.pop();f=i(e,t,f)}}}f=-1;while(++f<e.length){const n=t[e[f][0]];if(Zn.call(n,e[f][1].type)){n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},o),e[f][1])}}if(o.tokenStack.length>0){const e=o.tokenStack[o.tokenStack.length-1];const t=e[1]||rr;t.call(o,undefined,e[0])}r.position={start:er(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:er(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})};f=-1;while(++f<t.transforms.length){r=t.transforms[f](r)||r}return r}function i(e,t,n){let r=t-1;let i=-1;let o=false;let l;let s;let a;let u;while(++r<=n){const t=e[r];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(t[0]==="enter"){i++}else{i--}u=undefined;break}case"lineEndingBlank":{if(t[0]==="enter"){if(l&&!u&&!i&&!a){a=r}u=undefined}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":{break}default:{u=undefined}}if(!i&&t[0]==="enter"&&t[1].type==="listItemPrefix"||i===-1&&t[0]==="exit"&&(t[1].type==="listUnordered"||t[1].type==="listOrdered")){if(l){let i=r;s=undefined;while(i--){const t=e[i];if(t[1].type==="lineEnding"||t[1].type==="lineEndingBlank"){if(t[0]==="exit")continue;if(s){e[s][1].type="lineEndingBlank";o=true}t[1].type="lineEnding";s=i}else if(t[1].type==="linePrefix"||t[1].type==="blockQuotePrefix"||t[1].type==="blockQuotePrefixWhitespace"||t[1].type==="blockQuoteMarker"||t[1].type==="listItemIndent");else{break}}if(a&&(!s||a<s)){l._spread=true}l.end=Object.assign({},s?e[s][1].start:t[1].end);e.splice(s||r,0,["exit",l,t[2]]);r++;n++}if(t[1].type==="listItemPrefix"){const i={type:"listItem",_spread:false,start:Object.assign({},t[1].start),end:undefined};l=i;e.splice(r,0,["enter",i,t[2]]);r++;n++;a=undefined;u=true}}}e[t][1]._spread=o;return n}function o(e,t){return n;function n(n){s.call(this,e(n),n);if(t)t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){const r=this.stack[this.stack.length-1];const i=r.children;i.push(e);this.stack.push(e);this.tokenStack.push([t,n]);e.position={start:er(t.start),end:undefined}}function a(e){return t;function t(t){if(e)e.call(this,t);u.call(this,t)}}function u(e,t){const n=this.stack.pop();const r=this.tokenStack.pop();if(!r){throw new Error("Cannot close `"+e.type+"` ("+Wn({start:e.start,end:e.end})+"): it’s not open")}else if(r[0].type!==e.type){if(t){t.call(this,e,r[0])}else{const t=r[1]||rr;t.call(this,e,r[0])}}n.position.end=er(e.end)}function c(){return J(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=true}function h(e){if(this.data.expectingFirstListItemValue){const t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10);this.data.expectingFirstListItemValue=undefined}}function d(){const e=this.resume();const t=this.stack[this.stack.length-1];t.lang=e}function p(){const e=this.resume();const t=this.stack[this.stack.length-1];t.meta=e}function g(){if(this.data.flowCodeInside)return;this.buffer();this.data.flowCodeInside=true}function m(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"");this.data.flowCodeInside=undefined}function b(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}function k(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=de(this.sliceSerialize(e)).toLowerCase()}function y(){const e=this.resume();const t=this.stack[this.stack.length-1];t.title=e}function w(){const e=this.resume();const t=this.stack[this.stack.length-1];t.url=e}function E(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function v(){this.data.setextHeadingSlurpLineEnding=true}function S(e){const t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function x(){this.data.setextHeadingSlurpLineEnding=undefined}function T(e){const t=this.stack[this.stack.length-1];const n=t.children;let r=n[n.length-1];if(!r||r.type!=="text"){r=se();r.position={start:er(e.start),end:undefined};n.push(r)}this.stack.push(r)}function A(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e);t.position.end=er(e.end)}function C(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){const t=n.children[n.children.length-1];t.position.end=er(e.end);this.data.atHardBreak=undefined;return}if(!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)){T.call(this,e);A.call(this,e)}}function D(){this.data.atHardBreak=true}function L(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function R(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function O(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function _(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference";e.referenceType=t;delete e.url;delete e.title}else{delete e.identifier;delete e.label}this.data.referenceType=undefined}function P(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference";e.referenceType=t;delete e.url;delete e.title}else{delete e.identifier;delete e.label}this.data.referenceType=undefined}function M(e){const t=this.sliceSerialize(e);const n=this.stack[this.stack.length-2];n.label=Gn(t);n.identifier=de(t).toLowerCase()}function I(){const e=this.stack[this.stack.length-1];const t=this.resume();const n=this.stack[this.stack.length-1];this.data.inReference=true;if(n.type==="link"){const t=e.children;n.children=t}else{n.alt=t}}function q(){const e=this.resume();const t=this.stack[this.stack.length-1];t.url=e}function N(){const e=this.resume();const t=this.stack[this.stack.length-1];t.title=e}function B(){this.data.inReference=undefined}function F(){this.data.referenceType="collapsed"}function U(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=de(this.sliceSerialize(e)).toLowerCase();this.data.referenceType="full"}function z(e){this.data.characterReferenceType=e.type}function H(e){const t=this.sliceSerialize(e);const n=this.data.characterReferenceType;let r;if(n){r=he(t,n==="characterReferenceMarkerNumeric"?10:16);this.data.characterReferenceType=undefined}else{const e=oe(t);r=e}const i=this.stack.pop();i.value+=r;i.position.end=er(e.end)}function j(e){A.call(this,e);const t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function V(e){A.call(this,e);const t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)}function G(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function W(){return{type:"inlineCode",value:""}}function X(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function K(){return{type:"emphasis",children:[]}}function Q(){return{type:"heading",depth:0,children:[]}}function Z(){return{type:"break"}}function $(){return{type:"html",value:""}}function ee(){return{type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",title:null,url:"",children:[]}}function ne(e){return{type:"list",ordered:e.type==="listOrdered",start:null,spread:e._spread,children:[]}}function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ie(){return{type:"paragraph",children:[]}}function le(){return{type:"strong",children:[]}}function se(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}function er(e){return{line:e.line,column:e.column,offset:e.offset}}function tr(e,t){let n=-1;while(++n<t.length){const r=t[n];if(Array.isArray(r)){tr(e,r)}else{nr(e,r)}}}function nr(e,t){let n;for(n in t){if(Zn.call(t,n)){switch(n){case"canContainEols":{const r=t[n];if(r){e[n].push(...r)}break}case"transforms":{const r=t[n];if(r){e[n].push(...r)}break}case"enter":case"exit":{const r=t[n];if(r){Object.assign(e[n],r)}break}}}}}function rr(e,t){if(e){throw new Error("Cannot close `"+e.type+"` ("+Wn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wn({start:t.start,end:t.end})+") is open")}else{throw new Error("Cannot close document, a token (`"+t.type+"`, "+Wn({start:t.start,end:t.end})+") is still open")}}function ir(e){const t=this;t.parser=n;function n(n){return $n(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function or(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),true)};e.patch(t,n);return e.applyData(t,n)}function lr(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};e.patch(t,n);return[e.applyData(t,n),{type:"text",value:"\n"}]}function sr(e,t){const n=t.value?t.value+"\n":"";const r={};if(t.lang){r.className=["language-"+t.lang]}let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};if(t.meta){i.data={meta:t.meta}}e.patch(t,i);i=e.applyData(t,i);i={type:"element",tagName:"pre",properties:{},children:[i]};e.patch(t,i);return i}function ar(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function ur(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function cr(e,t){const n=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-";const r=String(t.identifier).toUpperCase();const i=De(r.toLowerCase());const o=e.footnoteOrder.indexOf(r);let l;let s=e.footnoteCounts.get(r);if(s===undefined){s=0;e.footnoteOrder.push(r);l=e.footnoteOrder.length}else{l=o+1}s+=1;e.footnoteCounts.set(r,s);const a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:true,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,a);const u={type:"element",tagName:"sup",properties:{},children:[a]};e.patch(t,u);return e.applyData(t,u)}function fr(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function hr(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};e.patch(t,n);return e.applyData(t,n)}return undefined}function dr(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"){r+="[]"}else if(n==="full"){r+="["+(t.label||t.identifier)+"]"}if(t.type==="imageReference"){return[{type:"text",value:"!["+t.alt+r}]}const i=e.all(t);const o=i[0];if(o&&o.type==="text"){o.value="["+o.value}else{i.unshift({type:"text",value:"["})}const l=i[i.length-1];if(l&&l.type==="text"){l.value+=r}else{i.push({type:"text",value:r})}return i}function pr(e,t){const n=String(t.identifier).toUpperCase();const r=e.definitionById.get(n);if(!r){return dr(e,t)}const i={src:De(r.url||""),alt:t.alt};if(r.title!==null&&r.title!==undefined){i.title=r.title}const o={type:"element",tagName:"img",properties:i,children:[]};e.patch(t,o);return e.applyData(t,o)}function gr(e,t){const n={src:De(t.url)};if(t.alt!==null&&t.alt!==undefined){n.alt=t.alt}if(t.title!==null&&t.title!==undefined){n.title=t.title}const r={type:"element",tagName:"img",properties:n,children:[]};e.patch(t,r);return e.applyData(t,r)}function mr(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]};e.patch(t,r);return e.applyData(t,r)}function br(e,t){const n=String(t.identifier).toUpperCase();const r=e.definitionById.get(n);if(!r){return dr(e,t)}const i={href:De(r.url||"")};if(r.title!==null&&r.title!==undefined){i.title=r.title}const o={type:"element",tagName:"a",properties:i,children:e.all(t)};e.patch(t,o);return e.applyData(t,o)}function kr(e,t){const n={href:De(t.url)};if(t.title!==null&&t.title!==undefined){n.title=t.title}const r={type:"element",tagName:"a",properties:n,children:e.all(t)};e.patch(t,r);return e.applyData(t,r)}function yr(e,t,n){const r=e.all(t);const i=n?wr(n):Er(t);const o={};const l=[];if(typeof t.checked==="boolean"){const e=r[0];let n;if(e&&e.type==="element"&&e.tagName==="p"){n=e}else{n={type:"element",tagName:"p",properties:{},children:[]};r.unshift(n)}if(n.children.length>0){n.children.unshift({type:"text",value:" "})}n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:true},children:[]});o.className=["task-list-item"]}let s=-1;while(++s<r.length){const e=r[s];if(i||s!==0||e.type!=="element"||e.tagName!=="p"){l.push({type:"text",value:"\n"})}if(e.type==="element"&&e.tagName==="p"&&!i){l.push(...e.children)}else{l.push(e)}}const a=r[r.length-1];if(a&&(i||a.type!=="element"||a.tagName!=="p")){l.push({type:"text",value:"\n"})}const u={type:"element",tagName:"li",properties:o,children:l};e.patch(t,u);return e.applyData(t,u)}function wr(e){let t=false;if(e.type==="list"){t=e.spread||false;const n=e.children;let r=-1;while(!t&&++r<n.length){t=Er(n[r])}}return t}function Er(e){const t=e.spread;return t===null||t===undefined?e.children.length>1:t}function vr(e,t){const n={};const r=e.all(t);let i=-1;if(typeof t.start==="number"&&t.start!==1){n.start=t.start}while(++i<r.length){const e=r[i];if(e.type==="element"&&e.tagName==="li"&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,true)};e.patch(t,o);return e.applyData(t,o)}function Sr(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function xr(e,t){const n={type:"root",children:e.wrap(e.all(t))};e.patch(t,n);return e.applyData(t,n)}function Tr(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}const Ar=Dr("end");const Cr=Dr("start");function Dr(e){return t;function t(t){const n=t&&t.position&&t.position[e]||{};if(typeof n.line==="number"&&n.line>0&&typeof n.column==="number"&&n.column>0){return{line:n.line,column:n.column,offset:typeof n.offset==="number"&&n.offset>-1?n.offset:undefined}}}}function Lr(e){const t=Cr(e);const n=Ar(e);if(t&&n){return{start:t,end:n}}}function Rr(e,t){const n=e.all(t);const r=n.shift();const i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],true)};e.patch(t.children[0],n);i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,true)};const o=Cr(t.children[1]);const l=Ar(t.children[t.children.length-1]);if(o&&l)r.position={start:o,end:l};i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,true)};e.patch(t,o);return e.applyData(t,o)}function Or(e,t,n){const r=n?n.children:undefined;const i=r?r.indexOf(t):1;const o=i===0?"th":"td";const l=n&&n.type==="table"?n.align:undefined;const s=l?l.length:t.children.length;let a=-1;const u=[];while(++a<s){const n=t.children[a];const r={};const i=l?l[a]:undefined;if(i){r.align=i}let s={type:"element",tagName:o,properties:r,children:[]};if(n){s.children=e.all(n);e.patch(n,s);s=e.applyData(n,s)}u.push(s)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,true)};e.patch(t,c);return e.applyData(t,c)}function _r(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}const Pr=9;const Mr=32;function Ir(e){const t=String(e);const n=/\r?\n|\r/g;let r=n.exec(t);let i=0;const o=[];while(r){o.push(qr(t.slice(i,r.index),i>0,true),r[0]);i=r.index+r[0].length;r=n.exec(t)}o.push(qr(t.slice(i),i>0,false));return o.join("")}function qr(e,t,n){let r=0;let i=e.length;if(t){let t=e.codePointAt(r);while(t===Pr||t===Mr){r++;t=e.codePointAt(r)}}if(n){let t=e.codePointAt(i-1);while(t===Pr||t===Mr){i--;t=e.codePointAt(i-1)}}return i>r?e.slice(r,i):""}function Nr(e,t){const n={type:"text",value:Ir(String(t.value))};e.patch(t,n);return e.applyData(t,n)}function Br(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};e.patch(t,n);return e.applyData(t,n)}const Fr={blockquote:or,break:lr,code:sr,delete:ar,emphasis:ur,footnoteReference:cr,heading:fr,html:hr,imageReference:pr,image:gr,inlineCode:mr,linkReference:br,link:kr,listItem:yr,list:vr,paragraph:Sr,root:xr,strong:Tr,table:Rr,tableCell:_r,tableRow:Or,text:Nr,thematicBreak:Br,toml:Ur,yaml:Ur,definition:Ur,footnoteDefinition:Ur};function Ur(){return undefined}const zr=-1;const Hr=0;const jr=1;const Vr=2;const Gr=3;const Yr=4;const Wr=5;const Xr=6;const Kr=7;const Qr=8;const Zr=typeof self==="object"?self:globalThis;const $r=(e,t)=>{const n=(t,n)=>{e.set(n,t);return t};const r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case Hr:case zr:return n(l,i);case jr:{const e=n([],i);for(const t of l)e.push(r(t));return e}case Vr:{const e=n({},i);for(const[t,n]of l)e[r(t)]=r(n);return e}case Gr:return n(new Date(l),i);case Yr:{const{source:e,flags:t}=l;return n(new RegExp(e,t),i)}case Wr:{const e=n(new Map,i);for(const[t,n]of l)e.set(r(t),r(n));return e}case Xr:{const e=n(new Set,i);for(const t of l)e.add(r(t));return e}case Kr:{const{name:e,message:t}=l;return n(new Zr[e](t),i)}case Qr:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i)}return n(new Zr[o](l),i)};return r};const Jr=e=>$r(new Map,e)(0);const ei="";const{toString:ti}={};const{keys:ni}=Object;const ri=e=>{const t=typeof e;if(t!=="object"||!e)return[Hr,t];const n=ti.call(e).slice(8,-1);switch(n){case"Array":return[jr,ei];case"Object":return[Vr,ei];case"Date":return[Gr,ei];case"RegExp":return[Yr,ei];case"Map":return[Wr,ei];case"Set":return[Xr,ei]}if(n.includes("Array"))return[jr,n];if(n.includes("Error"))return[Kr,n];return[Vr,n]};const ii=([e,t])=>e===Hr&&(t==="function"||t==="symbol");const oi=(e,t,n,r)=>{const i=(e,t)=>{const i=r.push(e)-1;n.set(t,i);return i};const o=r=>{if(n.has(r))return n.get(r);let[l,s]=ri(r);switch(l){case Hr:{let t=r;switch(s){case"bigint":l=Qr;t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([zr],r)}return i([l,t],r)}case jr:{if(s)return i([s,[...r]],r);const e=[];const t=i([l,e],r);for(const t of r)e.push(o(t));return t}case Vr:{if(s){switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}}if(t&&"toJSON"in r)return o(r.toJSON());const n=[];const a=i([l,n],r);for(const t of ni(r)){if(e||!ii(ri(r[t])))n.push([o(t),o(r[t])])}return a}case Gr:return i([l,r.toISOString()],r);case Yr:{const{source:e,flags:t}=r;return i([l,{source:e,flags:t}],r)}case Wr:{const t=[];const n=i([l,t],r);for(const[n,i]of r){if(e||!(ii(ri(n))||ii(ri(i))))t.push([o(n),o(i)])}return n}case Xr:{const t=[];const n=i([l,t],r);for(const n of r){if(e||!ii(ri(n)))t.push(o(n))}return n}}const{message:a}=r;return i([l,{name:s,message:a}],r)};return o};const li=(e,{json:t,lossy:n}={})=>{const r=[];return oi(!(t||n),!!t,new Map,r)(e),r};const si=typeof structuredClone==="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Jr(li(e,t)):structuredClone(e):(e,t)=>Jr(li(e,t));function ai(e,t){const n=[{type:"text",value:"↩"}];if(t>1){n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]})}return n}function ui(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function ci(e){const t=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-";const n=e.options.footnoteBackContent||ai;const r=e.options.footnoteBackLabel||ui;const i=e.options.footnoteLabel||"Footnotes";const o=e.options.footnoteLabelTagName||"h2";const l=e.options.footnoteLabelProperties||{className:["sr-only"]};const s=[];let a=-1;while(++a<e.footnoteOrder.length){const i=e.footnoteById.get(e.footnoteOrder[a]);if(!i){continue}const o=e.all(i);const l=String(i.identifier).toUpperCase();const u=De(l.toLowerCase());let c=0;const f=[];const h=e.footnoteCounts.get(l);while(h!==undefined&&++c<=h){if(f.length>0){f.push({type:"text",value:" "})}let e=typeof n==="string"?n:n(a,c);if(typeof e==="string"){e={type:"text",value:e}}f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:typeof r==="string"?r:r(a,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const d=o[o.length-1];if(d&&d.type==="element"&&d.tagName==="p"){const e=d.children[d.children.length-1];if(e&&e.type==="text"){e.value+=" "}else{d.children.push({type:"text",value:" "})}d.children.push(...f)}else{o.push(...f)}const p={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,true)};e.patch(i,p);s.push(p)}if(s.length===0){return}return{type:"element",tagName:"section",properties:{dataFootnotes:true,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...si(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,true)},{type:"text",value:"\n"}]}}const fi=function(e){if(e===null||e===undefined){return mi}if(typeof e==="function"){return gi(e)}if(typeof e==="object"){return Array.isArray(e)?hi(e):di(e)}if(typeof e==="string"){return pi(e)}throw new Error("Expected function, string, or object as test")};function hi(e){const t=[];let n=-1;while(++n<e.length){t[n]=fi(e[n])}return gi(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function di(e){const t=e;return gi(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function pi(e){return gi(t);function t(t){return t&&t.type===e}}function gi(e){return t;function t(t,n,r){return Boolean(bi(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function mi(){return true}function bi(e){return e!==null&&typeof e==="object"&&"type"in e}function ki(e){return e}const yi=[];const wi=true;const Ei=false;const vi="skip";function Si(e,t,n,r){let i;if(typeof t==="function"&&typeof n!=="function"){r=n;n=t}else{i=t}const o=fi(i);const l=r?-1:1;s(e,undefined,[])();function s(e,i,a){const u=e&&typeof e==="object"?e:{};if(typeof u.type==="string"){const t=typeof u.tagName==="string"?u.tagName:typeof u.name==="string"?u.name:undefined;Object.defineProperty(c,"name",{value:"node ("+ki(e.type+(t?"<"+t+">":""))+")"})}return c;function c(){let u=yi;let c;let f;let h;if(!t||o(e,i,a[a.length-1]||undefined)){u=xi(n(e,a));if(u[0]===Ei){return u}}if("children"in e&&e.children){const t=e;if(t.children&&u[0]!==vi){f=(r?t.children.length:-1)+l;h=a.concat(t);while(f>-1&&f<t.children.length){const e=t.children[f];c=s(e,f,h)();if(c[0]===Ei){return c}f=typeof c[1]==="number"?c[1]:f+l}}}return u}}}function xi(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[wi,e]}return e===null||e===undefined?yi:[e]}function Ti(e,t,n,r){let i;let o;let l;if(typeof t==="function"&&typeof n!=="function"){o=undefined;l=t;i=n}else{o=t;l=n;i=r}Si(e,o,s,i);function s(e,t){const n=t[t.length-1];const r=n?n.children.indexOf(e):undefined;return l(e,r,n)}}const Ai={}.hasOwnProperty;const Ci={};function Di(e,t){const n=t||Ci;const r=new Map;const i=new Map;const o=new Map;const l={...Fr,...n.handlers};const s={all:u,applyData:Ri,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:a,options:n,patch:Li,wrap:_i};Ti(e,(function(e){if(e.type==="definition"||e.type==="footnoteDefinition"){const t=e.type==="definition"?r:i;const n=String(e.identifier).toUpperCase();if(!t.has(n)){t.set(n,e)}}}));return s;function a(e,t){const n=e.type;const r=s.handlers[n];if(Ai.call(s.handlers,n)&&r){return r(s,e,t)}if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e;const r=si(n);r.children=s.all(e);return r}return si(e)}const i=s.options.unknownHandler||Oi;return i(s,e,t)}function u(e){const t=[];if("children"in e){const n=e.children;let r=-1;while(++r<n.length){const i=s.one(n[r],e);if(i){if(r&&n[r-1].type==="break"){if(!Array.isArray(i)&&i.type==="text"){i.value=Pi(i.value)}if(!Array.isArray(i)&&i.type==="element"){const e=i.children[0];if(e&&e.type==="text"){e.value=Pi(e.value)}}}if(Array.isArray(i)){t.push(...i)}else{t.push(i)}}}}return t}}function Li(e,t){if(e.position)t.position=Lr(e)}function Ri(e,t){let n=t;if(e&&e.data){const t=e.data.hName;const r=e.data.hChildren;const i=e.data.hProperties;if(typeof t==="string"){if(n.type==="element"){n.tagName=t}else{const e="children"in n?n.children:[n];n={type:"element",tagName:t,properties:{},children:e}}}if(n.type==="element"&&i){Object.assign(n.properties,si(i))}if("children"in n&&n.children&&r!==null&&r!==undefined){n.children=r}}return n}function Oi(e,t){const n=t.data||{};const r="value"in t&&!(Ai.call(n,"hProperties")||Ai.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};e.patch(t,r);return e.applyData(t,r)}function _i(e,t){const n=[];let r=-1;if(t){n.push({type:"text",value:"\n"})}while(++r<e.length){if(r)n.push({type:"text",value:"\n"});n.push(e[r])}if(t&&e.length>0){n.push({type:"text",value:"\n"})}return n}function Pi(e){let t=0;let n=e.charCodeAt(t);while(n===9||n===32){t++;n=e.charCodeAt(t)}return e.slice(t)}function Mi(e,t){const n=Di(e,t);const r=n.one(e,undefined);const i=ci(n);const o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};if(i){o.children.push({type:"text",value:"\n"},i)}return o}function Ii(e,t){if(e&&"run"in e){return async function(n,r){const i=Mi(n,{file:r,...t});await e.run(i,r)}}return function(n,r){return Mi(n,{file:r,...t||e})}}function qi(e,t){const n=String(e);if(typeof t!=="string"){throw new TypeError("Expected character")}let r=0;let i=n.indexOf(t);while(i!==-1){r++;i=n.indexOf(t,i+t.length)}return r}function Ni(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Bi=function(e){if(e===null||e===undefined){return ji}if(typeof e==="function"){return Hi(e)}if(typeof e==="object"){return Array.isArray(e)?Fi(e):Ui(e)}if(typeof e==="string"){return zi(e)}throw new Error("Expected function, string, or object as test")};function Fi(e){const t=[];let n=-1;while(++n<e.length){t[n]=Bi(e[n])}return Hi(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function Ui(e){const t=e;return Hi(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function zi(e){return Hi(t);function t(t){return t&&t.type===e}}function Hi(e){return t;function t(t,n,r){return Boolean(Vi(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function ji(){return true}function Vi(e){return e!==null&&typeof e==="object"&&"type"in e}function Gi(e){return e}const Yi=[];const Wi=true;const Xi=false;const Ki="skip";function Qi(e,t,n,r){let i;if(typeof t==="function"&&typeof n!=="function"){r=n;n=t}else{i=t}const o=Bi(i);const l=r?-1:1;s(e,undefined,[])();function s(e,i,a){const u=e&&typeof e==="object"?e:{};if(typeof u.type==="string"){const t=typeof u.tagName==="string"?u.tagName:typeof u.name==="string"?u.name:undefined;Object.defineProperty(c,"name",{value:"node ("+Gi(e.type+(t?"<"+t+">":""))+")"})}return c;function c(){let u=Yi;let c;let f;let h;if(!t||o(e,i,a[a.length-1]||undefined)){u=Zi(n(e,a));if(u[0]===Xi){return u}}if("children"in e&&e.children){const t=e;if(t.children&&u[0]!==Ki){f=(r?t.children.length:-1)+l;h=a.concat(t);while(f>-1&&f<t.children.length){const e=t.children[f];c=s(e,f,h)();if(c[0]===Xi){return c}f=typeof c[1]==="number"?c[1]:f+l}}}return u}}}function Zi(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[Wi,e]}return e===null||e===undefined?Yi:[e]}function $i(e,t,n){const r=n||{};const i=Bi(r.ignore||[]);const o=Ji(t);let l=-1;while(++l<o.length){Qi(e,"text",s)}function s(e,t){let n=-1;let r;while(++n<t.length){const e=t[n];const o=r?r.children:undefined;if(i(e,o?o.indexOf(e):undefined,r)){return}r=e}if(r){return a(e,t)}}function a(e,t){const n=t[t.length-1];const r=o[l][0];const i=o[l][1];let s=0;const a=n.children;const u=a.indexOf(e);let c=false;let f=[];r.lastIndex=0;let h=r.exec(e.value);while(h){const n=h.index;const o={index:h.index,input:h.input,stack:[...t,e]};let l=i(...h,o);if(typeof l==="string"){l=l.length>0?{type:"text",value:l}:undefined}if(l===false){r.lastIndex=n+1}else{if(s!==n){f.push({type:"text",value:e.value.slice(s,n)})}if(Array.isArray(l)){f.push(...l)}else if(l){f.push(l)}s=n+h[0].length;c=true}if(!r.global){break}h=r.exec(e.value)}if(c){if(s<e.value.length){f.push({type:"text",value:e.value.slice(s)})}n.children.splice(u,1,...f)}else{f=[e]}return u+f.length}}function Ji(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;while(++r<n.length){const e=n[r];t.push([eo(e[0]),to(e[1])])}return t}function eo(e){return typeof e==="string"?new RegExp(Ni(e),"g"):e}function to(e){return typeof e==="function"?e:function(){return e}}const no="phrasing";const ro=["autolink","link","image","label"];function io(){return{transforms:[ho],enter:{literalAutolink:lo,literalAutolinkEmail:so,literalAutolinkHttp:so,literalAutolinkWww:so},exit:{literalAutolink:fo,literalAutolinkEmail:co,literalAutolinkHttp:ao,literalAutolinkWww:uo}}}function oo(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:no,notInConstruct:ro},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:no,notInConstruct:ro},{character:":",before:"[ps]",after:"\\/",inConstruct:no,notInConstruct:ro}]}}function lo(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function so(e){this.config.enter.autolinkProtocol.call(this,e)}function ao(e){this.config.exit.autolinkProtocol.call(this,e)}function uo(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function co(e){this.config.exit.autolinkEmail.call(this,e)}function fo(e){this.exit(e)}function ho(e){$i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,po],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,go]],{ignore:["link","linkReference"]})}function po(e,t,n,r,i){let o="";if(!ko(i)){return false}if(/^w/i.test(t)){n=t+n;t="";o="http://"}if(!mo(n)){return false}const l=bo(n+r);if(!l[0])return false;const s={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};if(l[1]){return[s,{type:"text",value:l[1]}]}return s}function go(e,t,n,r){if(!ko(r,true)||/[-\d_]$/.test(n)){return false}return{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function mo(e){const t=e.split(".");if(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]))){return false}return true}function bo(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t){return[e,undefined]}e=e.slice(0,t.index);let n=t[0];let r=n.indexOf(")");const i=qi(e,"(");let o=qi(e,")");while(r!==-1&&i>o){e+=n.slice(0,r+1);n=n.slice(r+1);r=n.indexOf(")");o++}return[e,n]}function ko(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ae(n)||Te(n))&&(!t||n!==47)}Lo.peek=Ro;function yo(){return{enter:{gfmFootnoteDefinition:Eo,gfmFootnoteDefinitionLabelString:vo,gfmFootnoteCall:To,gfmFootnoteCallString:Ao},exit:{gfmFootnoteDefinition:xo,gfmFootnoteDefinitionLabelString:So,gfmFootnoteCall:Do,gfmFootnoteCallString:Co}}}function wo(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Oo,footnoteReference:Lo}}}function Eo(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function vo(){this.buffer()}function So(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=de(this.sliceSerialize(e)).toLowerCase()}function xo(e){this.exit(e)}function To(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ao(){this.buffer()}function Co(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=de(this.sliceSerialize(e)).toLowerCase()}function Do(e){this.exit(e)}function Lo(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference");const s=n.enter("reference");o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"}));s();l();o+=i.move("]");return o}function Ro(){return"["}function Oo(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteDefinition");const s=n.enter("label");o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"}));s();o+=i.move("]:"+(e.children&&e.children.length>0?" ":""));i.shift(4);o+=i.move(n.indentLines(n.containerFlow(e,i.current()),_o));l();return o}function _o(e,t,n){if(t===0){return e}return(n?"":" ")+e}const Po=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Bo.peek=Fo;function Mo(){return{canContainEols:["delete"],enter:{strikethrough:qo},exit:{strikethrough:No}}}function Io(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Po}],handlers:{delete:Bo}}}function qo(e){this.enter({type:"delete",children:[]},e)}function No(e){this.exit(e)}function Bo(e,t,n,r){const i=n.createTracker(r);const o=n.enter("strikethrough");let l=i.move("~~");l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"});l+=i.move("~~");o();return l}function Fo(){return"~"}function Uo(e,t={}){const n=(t.align||[]).concat();const r=t.stringLength||Ho;const i=[];const o=[];const l=[];const s=[];let a=0;let u=-1;while(++u<e.length){const n=[];const i=[];let c=-1;if(e[u].length>a){a=e[u].length}while(++c<e[u].length){const o=zo(e[u][c]);if(t.alignDelimiters!==false){const e=r(o);i[c]=e;if(s[c]===undefined||e>s[c]){s[c]=e}}n.push(o)}o[u]=n;l[u]=i}let c=-1;if(typeof n==="object"&&"length"in n){while(++c<a){i[c]=jo(n[c])}}else{const e=jo(n);while(++c<a){i[c]=e}}c=-1;const f=[];const h=[];while(++c<a){const e=i[c];let n="";let r="";if(e===99){n=":";r=":"}else if(e===108){n=":"}else if(e===114){r=":"}let o=t.alignDelimiters===false?1:Math.max(1,s[c]-n.length-r.length);const l=n+"-".repeat(o)+r;if(t.alignDelimiters!==false){o=n.length+o+r.length;if(o>s[c]){s[c]=o}h[c]=o}f[c]=l}o.splice(1,0,f);l.splice(1,0,h);u=-1;const d=[];while(++u<o.length){const e=o[u];const n=l[u];c=-1;const r=[];while(++c<a){const o=e[c]||"";let l="";let u="";if(t.alignDelimiters!==false){const e=s[c]-(n[c]||0);const t=i[c];if(t===114){l=" ".repeat(e)}else if(t===99){if(e%2){l=" ".repeat(e/2+.5);u=" ".repeat(e/2-.5)}else{l=" ".repeat(e/2);u=l}}else{u=" ".repeat(e)}}if(t.delimiterStart!==false&&!c){r.push("|")}if(t.padding!==false&&!(t.alignDelimiters===false&&o==="")&&(t.delimiterStart!==false||c)){r.push(" ")}if(t.alignDelimiters!==false){r.push(l)}r.push(o);if(t.alignDelimiters!==false){r.push(u)}if(t.padding!==false){r.push(" ")}if(t.delimiterEnd!==false||c!==a-1){r.push("|")}}d.push(t.delimiterEnd===false?r.join("").replace(/ +$/,""):r.join(""))}return d.join("\n")}function zo(e){return e===null||e===undefined?"":String(e)}function Ho(e){return e.length}function jo(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 Vo(e,t,n,r){const i=n.enter("blockquote");const o=n.createTracker(r);o.move("> ");o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),Go);i();return l}function Go(e,t,n){return">"+(n?"":" ")+e}function Yo(e,t){return Wo(e,t.inConstruct,true)&&!Wo(e,t.notInConstruct,false)}function Wo(e,t,n){if(typeof t==="string"){t=[t]}if(!t||t.length===0){return n}let r=-1;while(++r<t.length){if(e.includes(t[r])){return true}}return false}function Xo(e,t,n,r){let i=-1;while(++i<n.unsafe.length){if(n.unsafe[i].character==="\n"&&Yo(n.stack,n.unsafe[i])){return/[ \t]/.test(r.before)?"":" "}}return"\\\n"}function Ko(e,t){const n=String(e);let r=n.indexOf(t);let i=r;let o=0;let l=0;if(typeof t!=="string"){throw new TypeError("Expected substring")}while(r!==-1){if(r===i){if(++o>l){l=o}}else{o=1}i=r+t.length;r=n.indexOf(t,i)}return l}function Qo(e,t){return Boolean(t.options.fences===false&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Zo(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 $o(e,t,n,r){const i=Zo(n);const o=e.value||"";const l=i==="`"?"GraveAccent":"Tilde";if(Qo(e,n)){const e=n.enter("codeIndented");const t=n.indentLines(o,Jo);e();return t}const s=n.createTracker(r);const a=i.repeat(Math.max(Ko(o,i)+1,3));const u=n.enter("codeFenced");let c=s.move(a);if(e.lang){const t=n.enter(`codeFencedLang${l}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()}));t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${l}`);c+=s.move(" ");c+=s.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...s.current()}));t()}c+=s.move("\n");if(o){c+=s.move(o+"\n")}c+=s.move(a);u();return c}function Jo(e,t,n){return(n?"":" ")+e}function el(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 tl(e,t,n,r){const i=el(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("definition");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("[");u+=a.move(n.safe(n.associationId(e),{before:u,after:"]",...a.current()}));u+=a.move("]: ");s();if(!e.url||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}l();return u}function nl(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`")}return t}rl.peek=il;function rl(e,t,n,r){const i=nl(n);const o=n.enter("emphasis");const l=n.createTracker(r);let s=l.move(i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i);o();return s}function il(e,t,n){return n.options.emphasis||"*"}const ol=function(e){if(e===null||e===undefined){return cl}if(typeof e==="function"){return ul(e)}if(typeof e==="object"){return Array.isArray(e)?ll(e):sl(e)}if(typeof e==="string"){return al(e)}throw new Error("Expected function, string, or object as test")};function ll(e){const t=[];let n=-1;while(++n<e.length){t[n]=ol(e[n])}return ul(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function sl(e){const t=e;return ul(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function al(e){return ul(t);function t(t){return t&&t.type===e}}function ul(e){return t;function t(t,n,r){return Boolean(fl(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function cl(){return true}function fl(e){return e!==null&&typeof e==="object"&&"type"in e}function hl(e){return e}const dl=[];const pl=true;const gl=false;const ml="skip";function bl(e,t,n,r){let i;if(typeof t==="function"&&typeof n!=="function"){r=n;n=t}else{i=t}const o=ol(i);const l=r?-1:1;s(e,undefined,[])();function s(e,i,a){const u=e&&typeof e==="object"?e:{};if(typeof u.type==="string"){const t=typeof u.tagName==="string"?u.tagName:typeof u.name==="string"?u.name:undefined;Object.defineProperty(c,"name",{value:"node ("+hl(e.type+(t?"<"+t+">":""))+")"})}return c;function c(){let u=dl;let c;let f;let h;if(!t||o(e,i,a[a.length-1]||undefined)){u=kl(n(e,a));if(u[0]===gl){return u}}if("children"in e&&e.children){const t=e;if(t.children&&u[0]!==ml){f=(r?t.children.length:-1)+l;h=a.concat(t);while(f>-1&&f<t.children.length){const e=t.children[f];c=s(e,f,h)();if(c[0]===gl){return c}f=typeof c[1]==="number"?c[1]:f+l}}}return u}}}function kl(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[pl,e]}return e===null||e===undefined?dl:[e]}function yl(e,t,n,r){let i;let o;let l;if(typeof t==="function"&&typeof n!=="function"){o=undefined;l=t;i=n}else{o=t;l=n;i=r}bl(e,o,s,i);function s(e,t){const n=t[t.length-1];const r=n?n.children.indexOf(e):undefined;return l(e,r,n)}}const wl={};function El(e,t){const n=t||wl;const r=typeof n.includeImageAlt==="boolean"?n.includeImageAlt:true;const i=typeof n.includeHtml==="boolean"?n.includeHtml:true;return vl(e,r,i)}function vl(e,t,n){if(xl(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 Sl(e.children,t,n)}}if(Array.isArray(e)){return Sl(e,t,n)}return""}function Sl(e,t,n){const r=[];let i=-1;while(++i<e.length){r[i]=vl(e[i],t,n)}return r.join("")}function xl(e){return Boolean(e&&typeof e==="object")}function Tl(e,t){let n=false;yl(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||e.type==="break"){n=true;return gl}}));return Boolean((!e.depth||e.depth<3)&&El(e)&&(t.options.setext||n))}function Al(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1);const o=n.createTracker(r);if(Tl(e,n)){const t=n.enter("headingSetext");const r=n.enter("phrasing");const l=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});r();t();return l+"\n"+(i===1?"=":"-").repeat(l.length-(Math.max(l.lastIndexOf("\r"),l.lastIndexOf("\n"))+1))}const l="#".repeat(i);const s=n.enter("headingAtx");const a=n.enter("phrasing");o.move(l+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});if(/^[\t ]/.test(u)){u="&#x"+u.charCodeAt(0).toString(16).toUpperCase()+";"+u.slice(1)}u=u?l+" "+u:l;if(n.options.closeAtx){u+=" "+l}a();s();return u}Cl.peek=Dl;function Cl(e){return e.value||""}function Dl(){return"<"}Ll.peek=Rl;function Ll(e,t,n,r){const i=el(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("image");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("![");u+=a.move(n.safe(e.alt,{before:u,after:"]",...a.current()}));u+=a.move("](");s();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}u+=a.move(")");l();return u}function Rl(){return"!"}Ol.peek=_l;function Ol(e,t,n,r){const i=e.referenceType;const o=n.enter("imageReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("![");const u=n.safe(e.alt,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function _l(){return"!"}Pl.peek=Ml;function Pl(e,t,n){let r=e.value||"";let i="`";let o=-1;while(new RegExp("(^|[^`])"+i+"([^`]|$)").test(r)){i+="`"}if(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))){r=" "+r+" "}while(++o<n.unsafe.length){const e=n.unsafe[o];const t=n.compilePattern(e);let i;if(!e.atBreak)continue;while(i=t.exec(r)){let e=i.index;if(r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13){e--}r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function Ml(){return"`"}function Il(e,t){const n=El(e);return Boolean(!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))}ql.peek=Nl;function ql(e,t,n,r){const i=el(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.createTracker(r);let s;let a;if(Il(e,n)){const t=n.stack;n.stack=[];s=n.enter("autolink");let r=l.move("<");r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}));r+=l.move(">");s();n.stack=t;return r}s=n.enter("link");a=n.enter("label");let u=l.move("[");u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()}));u+=l.move("](");a();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){a=n.enter("destinationLiteral");u+=l.move("<");u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()}));u+=l.move(">")}else{a=n.enter("destinationRaw");u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))}a();if(e.title){a=n.enter(`title${o}`);u+=l.move(" "+i);u+=l.move(n.safe(e.title,{before:u,after:i,...l.current()}));u+=l.move(i);a()}u+=l.move(")");s();return u}function Nl(e,t,n){return Il(e,n)?"<":"["}Bl.peek=Fl;function Bl(e,t,n,r){const i=e.referenceType;const o=n.enter("linkReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("[");const u=n.containerPhrasing(e,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function Fl(){return"["}function Ul(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 zl(e){const t=Ul(e);const 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 Hl(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 jl(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 Vl(e,t,n,r){const i=n.enter("list");const o=n.bulletCurrent;let l=e.ordered?Hl(n):Ul(n);const s=e.ordered?l==="."?")":".":zl(n);let a=t&&n.bulletLastUsed?l===n.bulletLastUsed:false;if(!e.ordered){const t=e.children?e.children[0]:undefined;if((l==="*"||l==="-")&&t&&(!t.children||!t.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){a=true}if(jl(n)===l&&t){let t=-1;while(++t<e.children.length){const n=e.children[t];if(n&&n.type==="listItem"&&n.children&&n.children[0]&&n.children[0].type==="thematicBreak"){a=true;break}}}}if(a){l=s}n.bulletCurrent=l;const u=n.containerFlow(e,r);n.bulletLastUsed=l;n.bulletCurrent=o;i();return u}function Gl(e){const t=e.options.listItemIndent||"one";if(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 Yl(e,t,n,r){const i=Gl(n);let o=n.bulletCurrent||Ul(n);if(t&&t.type==="list"&&t.ordered){o=(typeof t.start==="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===false?0:t.children.indexOf(e))+o}let l=o.length+1;if(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread)){l=Math.ceil(l/4)*4}const s=n.createTracker(r);s.move(o+" ".repeat(l-o.length));s.shift(l);const a=n.enter("listItem");const u=n.indentLines(n.containerFlow(e,s.current()),c);a();return u;function c(e,t,n){if(t){return(n?"":" ".repeat(l))+e}return(n?o:o+" ".repeat(l-o.length))+e}}function Wl(e,t,n,r){const i=n.enter("paragraph");const o=n.enter("phrasing");const l=n.containerPhrasing(e,r);o();i();return l}const Xl=function(e){if(e===null||e===undefined){return Jl}if(typeof e==="function"){return $l(e)}if(typeof e==="object"){return Array.isArray(e)?Kl(e):Ql(e)}if(typeof e==="string"){return Zl(e)}throw new Error("Expected function, string, or object as test")};function Kl(e){const t=[];let n=-1;while(++n<e.length){t[n]=Xl(e[n])}return $l(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function Ql(e){const t=e;return $l(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function Zl(e){return $l(t);function t(t){return t&&t.type===e}}function $l(e){return t;function t(t,n,r){return Boolean(es(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function Jl(){return true}function es(e){return e!==null&&typeof e==="object"&&"type"in e}const ts=Xl(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function ns(e,t,n,r){const i=e.children.some((function(e){return ts(e)}));const o=i?n.containerPhrasing:n.containerFlow;return o.call(n,e,r)}function rs(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`")}return t}is.peek=os;function is(e,t,n,r){const i=rs(n);const o=n.enter("strong");const l=n.createTracker(r);let s=l.move(i+i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i+i);o();return s}function os(e,t,n){return n.options.strong||"*"}function ls(e,t,n,r){return n.safe(e.value,r)}function ss(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 as(e,t,n){const r=(jl(n)+(n.options.ruleSpaces?" ":"")).repeat(ss(n));return n.options.ruleSpaces?r.slice(0,-1):r}const us={blockquote:Vo,break:Xo,code:$o,definition:tl,emphasis:rl,hardBreak:Xo,heading:Al,html:Cl,image:Ll,imageReference:Ol,inlineCode:Pl,link:ql,linkReference:Bl,list:Vl,listItem:Yl,paragraph:Wl,root:ns,strong:is,text:ls,thematicBreak:as};function cs(){return{enter:{table:fs,tableData:gs,tableHeader:gs,tableRow:ds},exit:{codeText:ms,table:hs,tableData:ps,tableHeader:ps,tableRow:ps}}}function fs(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return e==="none"?null:e})),children:[]},e);this.data.inTable=true}function hs(e){this.exit(e);this.data.inTable=undefined}function ds(e){this.enter({type:"tableRow",children:[]},e)}function ps(e){this.exit(e)}function gs(e){this.enter({type:"tableCell",children:[]},e)}function ms(e){let t=this.resume();if(this.data.inTable){t=t.replace(/\\([\\|])/g,bs)}const n=this.stack[this.stack.length-1];n.value=t;this.exit(e)}function bs(e,t){return t==="|"?t:e}function ks(e){const t=e||{};const n=t.tableCellPadding;const r=t.tablePipeAlign;const i=t.stringLength;const o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:true,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:true,character:":",after:"-"},{atBreak:true,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:l,tableCell:a,tableRow:s}};function l(e,t,n,r){return u(c(e,n,r),e.align)}function s(e,t,n,r){const i=f(e,n,r);const o=u([i]);return o.slice(0,o.indexOf("\n"))}function a(e,t,n,r){const i=n.enter("tableCell");const l=n.enter("phrasing");const s=n.containerPhrasing(e,{...r,before:o,after:o});l();i();return s}function u(e,t){return Uo(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function c(e,t,n){const r=e.children;let i=-1;const o=[];const l=t.enter("table");while(++i<r.length){o[i]=f(r[i],t,n)}l();return o}function f(e,t,n){const r=e.children;let i=-1;const o=[];const l=t.enter("tableRow");while(++i<r.length){o[i]=a(r[i],e,t,n)}l();return o}function h(e,t,n){let r=us.inlineCode(e,t,n);if(n.stack.includes("tableCell")){r=r.replace(/\|/g,"\\$&")}return r}}function ys(e,t,n,r){const i=n.enter("blockquote");const o=n.createTracker(r);o.move("> ");o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),ws);i();return l}function ws(e,t,n){return">"+(n?"":" ")+e}function Es(e,t){return vs(e,t.inConstruct,true)&&!vs(e,t.notInConstruct,false)}function vs(e,t,n){if(typeof t==="string"){t=[t]}if(!t||t.length===0){return n}let r=-1;while(++r<t.length){if(e.includes(t[r])){return true}}return false}function Ss(e,t,n,r){let i=-1;while(++i<n.unsafe.length){if(n.unsafe[i].character==="\n"&&Es(n.stack,n.unsafe[i])){return/[ \t]/.test(r.before)?"":" "}}return"\\\n"}function xs(e,t){return Boolean(t.options.fences===false&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Ts(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 As(e,t,n,r){const i=Ts(n);const o=e.value||"";const l=i==="`"?"GraveAccent":"Tilde";if(xs(e,n)){const e=n.enter("codeIndented");const t=n.indentLines(o,Cs);e();return t}const s=n.createTracker(r);const a=i.repeat(Math.max(Ko(o,i)+1,3));const u=n.enter("codeFenced");let c=s.move(a);if(e.lang){const t=n.enter(`codeFencedLang${l}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()}));t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${l}`);c+=s.move(" ");c+=s.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...s.current()}));t()}c+=s.move("\n");if(o){c+=s.move(o+"\n")}c+=s.move(a);u();return c}function Cs(e,t,n){return(n?"":" ")+e}function Ds(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 Ls(e,t,n,r){const i=Ds(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("definition");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("[");u+=a.move(n.safe(n.associationId(e),{before:u,after:"]",...a.current()}));u+=a.move("]: ");s();if(!e.url||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}l();return u}function Rs(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`")}return t}Os.peek=_s;function Os(e,t,n,r){const i=Rs(n);const o=n.enter("emphasis");const l=n.createTracker(r);let s=l.move(i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i);o();return s}function _s(e,t,n){return n.options.emphasis||"*"}const Ps=function(e){if(e===null||e===undefined){return Bs}if(typeof e==="function"){return Ns(e)}if(typeof e==="object"){return Array.isArray(e)?Ms(e):Is(e)}if(typeof e==="string"){return qs(e)}throw new Error("Expected function, string, or object as test")};function Ms(e){const t=[];let n=-1;while(++n<e.length){t[n]=Ps(e[n])}return Ns(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function Is(e){const t=e;return Ns(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function qs(e){return Ns(t);function t(t){return t&&t.type===e}}function Ns(e){return t;function t(t,n,r){return Boolean(Fs(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function Bs(){return true}function Fs(e){return e!==null&&typeof e==="object"&&"type"in e}function Us(e){return e}const zs=[];const Hs=true;const js=false;const Vs="skip";function Gs(e,t,n,r){let i;if(typeof t==="function"&&typeof n!=="function"){r=n;n=t}else{i=t}const o=Ps(i);const l=r?-1:1;s(e,undefined,[])();function s(e,i,a){const u=e&&typeof e==="object"?e:{};if(typeof u.type==="string"){const t=typeof u.tagName==="string"?u.tagName:typeof u.name==="string"?u.name:undefined;Object.defineProperty(c,"name",{value:"node ("+Us(e.type+(t?"<"+t+">":""))+")"})}return c;function c(){let u=zs;let c;let f;let h;if(!t||o(e,i,a[a.length-1]||undefined)){u=Ys(n(e,a));if(u[0]===js){return u}}if("children"in e&&e.children){const t=e;if(t.children&&u[0]!==Vs){f=(r?t.children.length:-1)+l;h=a.concat(t);while(f>-1&&f<t.children.length){const e=t.children[f];c=s(e,f,h)();if(c[0]===js){return c}f=typeof c[1]==="number"?c[1]:f+l}}}return u}}}function Ys(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[Hs,e]}return e===null||e===undefined?zs:[e]}function Ws(e,t,n,r){let i;let o;let l;if(typeof t==="function"&&typeof n!=="function"){o=undefined;l=t;i=n}else{o=t;l=n;i=r}Gs(e,o,s,i);function s(e,t){const n=t[t.length-1];const r=n?n.children.indexOf(e):undefined;return l(e,r,n)}}const Xs={};function Ks(e,t){const n=t||Xs;const r=typeof n.includeImageAlt==="boolean"?n.includeImageAlt:true;const i=typeof n.includeHtml==="boolean"?n.includeHtml:true;return Qs(e,r,i)}function Qs(e,t,n){if($s(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 Zs(e.children,t,n)}}if(Array.isArray(e)){return Zs(e,t,n)}return""}function Zs(e,t,n){const r=[];let i=-1;while(++i<e.length){r[i]=Qs(e[i],t,n)}return r.join("")}function $s(e){return Boolean(e&&typeof e==="object")}function Js(e,t){let n=false;Ws(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||e.type==="break"){n=true;return js}}));return Boolean((!e.depth||e.depth<3)&&Ks(e)&&(t.options.setext||n))}function ea(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1);const o=n.createTracker(r);if(Js(e,n)){const t=n.enter("headingSetext");const r=n.enter("phrasing");const l=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});r();t();return l+"\n"+(i===1?"=":"-").repeat(l.length-(Math.max(l.lastIndexOf("\r"),l.lastIndexOf("\n"))+1))}const l="#".repeat(i);const s=n.enter("headingAtx");const a=n.enter("phrasing");o.move(l+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});if(/^[\t ]/.test(u)){u="&#x"+u.charCodeAt(0).toString(16).toUpperCase()+";"+u.slice(1)}u=u?l+" "+u:l;if(n.options.closeAtx){u+=" "+l}a();s();return u}ta.peek=na;function ta(e){return e.value||""}function na(){return"<"}ra.peek=ia;function ra(e,t,n,r){const i=Ds(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("image");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("![");u+=a.move(n.safe(e.alt,{before:u,after:"]",...a.current()}));u+=a.move("](");s();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}u+=a.move(")");l();return u}function ia(){return"!"}oa.peek=la;function oa(e,t,n,r){const i=e.referenceType;const o=n.enter("imageReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("![");const u=n.safe(e.alt,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function la(){return"!"}sa.peek=aa;function sa(e,t,n){let r=e.value||"";let i="`";let o=-1;while(new RegExp("(^|[^`])"+i+"([^`]|$)").test(r)){i+="`"}if(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))){r=" "+r+" "}while(++o<n.unsafe.length){const e=n.unsafe[o];const t=n.compilePattern(e);let i;if(!e.atBreak)continue;while(i=t.exec(r)){let e=i.index;if(r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13){e--}r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function aa(){return"`"}function ua(e,t){const n=Ks(e);return Boolean(!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))}ca.peek=fa;function ca(e,t,n,r){const i=Ds(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.createTracker(r);let s;let a;if(ua(e,n)){const t=n.stack;n.stack=[];s=n.enter("autolink");let r=l.move("<");r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}));r+=l.move(">");s();n.stack=t;return r}s=n.enter("link");a=n.enter("label");let u=l.move("[");u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()}));u+=l.move("](");a();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){a=n.enter("destinationLiteral");u+=l.move("<");u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()}));u+=l.move(">")}else{a=n.enter("destinationRaw");u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))}a();if(e.title){a=n.enter(`title${o}`);u+=l.move(" "+i);u+=l.move(n.safe(e.title,{before:u,after:i,...l.current()}));u+=l.move(i);a()}u+=l.move(")");s();return u}function fa(e,t,n){return ua(e,n)?"<":"["}ha.peek=da;function ha(e,t,n,r){const i=e.referenceType;const o=n.enter("linkReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("[");const u=n.containerPhrasing(e,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function da(){return"["}function pa(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 ga(e){const t=pa(e);const 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 ma(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 ba(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 ka(e,t,n,r){const i=n.enter("list");const o=n.bulletCurrent;let l=e.ordered?ma(n):pa(n);const s=e.ordered?l==="."?")":".":ga(n);let a=t&&n.bulletLastUsed?l===n.bulletLastUsed:false;if(!e.ordered){const t=e.children?e.children[0]:undefined;if((l==="*"||l==="-")&&t&&(!t.children||!t.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){a=true}if(ba(n)===l&&t){let t=-1;while(++t<e.children.length){const n=e.children[t];if(n&&n.type==="listItem"&&n.children&&n.children[0]&&n.children[0].type==="thematicBreak"){a=true;break}}}}if(a){l=s}n.bulletCurrent=l;const u=n.containerFlow(e,r);n.bulletLastUsed=l;n.bulletCurrent=o;i();return u}function ya(e){const t=e.options.listItemIndent||"one";if(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 wa(e,t,n,r){const i=ya(n);let o=n.bulletCurrent||pa(n);if(t&&t.type==="list"&&t.ordered){o=(typeof t.start==="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===false?0:t.children.indexOf(e))+o}let l=o.length+1;if(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread)){l=Math.ceil(l/4)*4}const s=n.createTracker(r);s.move(o+" ".repeat(l-o.length));s.shift(l);const a=n.enter("listItem");const u=n.indentLines(n.containerFlow(e,s.current()),c);a();return u;function c(e,t,n){if(t){return(n?"":" ".repeat(l))+e}return(n?o:o+" ".repeat(l-o.length))+e}}function Ea(e,t,n,r){const i=n.enter("paragraph");const o=n.enter("phrasing");const l=n.containerPhrasing(e,r);o();i();return l}function va(e,t,n,r){const i=e.children.some((function(e){return ts(e)}));const o=i?n.containerPhrasing:n.containerFlow;return o.call(n,e,r)}function Sa(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`")}return t}xa.peek=Ta;function xa(e,t,n,r){const i=Sa(n);const o=n.enter("strong");const l=n.createTracker(r);let s=l.move(i+i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i+i);o();return s}function Ta(e,t,n){return n.options.strong||"*"}function Aa(e,t,n,r){return n.safe(e.value,r)}function Ca(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 Da(e,t,n){const r=(ba(n)+(n.options.ruleSpaces?" ":"")).repeat(Ca(n));return n.options.ruleSpaces?r.slice(0,-1):r}const La={blockquote:ys,break:Ss,code:As,definition:Ls,emphasis:Os,hardBreak:Ss,heading:ea,html:ta,image:ra,imageReference:oa,inlineCode:sa,link:ca,linkReference:ha,list:ka,listItem:wa,paragraph:Ea,root:va,strong:xa,text:Aa,thematicBreak:Da};function Ra(){return{exit:{taskListCheckValueChecked:_a,taskListCheckValueUnchecked:_a,paragraph:Pa}}}function Oa(){return{unsafe:[{atBreak:true,character:"-",after:"[:|-]"}],handlers:{listItem:Ma}}}function _a(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function Pa(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked==="boolean"){const e=this.stack[this.stack.length-1];const n=e.children[0];if(n&&n.type==="text"){const r=t.children;let i=-1;let o;while(++i<r.length){const e=r[i];if(e.type==="paragraph"){o=e;break}}if(o===e){n.value=n.value.slice(1);if(n.value.length===0){e.children.shift()}else if(e.position&&n.position&&typeof n.position.start.offset==="number"){n.position.start.column++;n.position.start.offset++;e.position.start=Object.assign({},n.position.start)}}}}this.exit(e)}function Ma(e,t,n,r){const i=e.children[0];const o=typeof e.checked==="boolean"&&i&&i.type==="paragraph";const l="["+(e.checked?"x":" ")+"] ";const s=n.createTracker(r);if(o){s.move(l)}let a=La.listItem(e,t,n,{...r,...s.current()});if(o){a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)}return a;function u(e){return e+l}}function Ia(){return[io(),yo(),Mo(),cs(),Ra()]}function qa(e){return{extensions:[oo(),wo(),Io(),ks(e),Oa()]}}const Na={tokenize:Za,partial:true};const Ba={tokenize:$a,partial:true};const Fa={tokenize:Ja,partial:true};const Ua={tokenize:eu,partial:true};const za={tokenize:tu,partial:true};const Ha={tokenize:Ka,previous:nu};const ja={tokenize:Qa,previous:ru};const Va={tokenize:Xa,previous:iu};const Ga={};function Ya(){return{text:Ga}}let Wa=48;while(Wa<123){Ga[Wa]=Va;Wa++;if(Wa===58)Wa=65;else if(Wa===91)Wa=97}Ga[43]=Va;Ga[45]=Va;Ga[46]=Va;Ga[95]=Va;Ga[72]=[Va,ja];Ga[104]=[Va,ja];Ga[87]=[Va,Ha];Ga[119]=[Va,Ha];function Xa(e,t,n){const r=this;let i;let o;return l;function l(t){if(!ou(t)||!iu.call(r,r.previous)||lu(r.events)){return n(t)}e.enter("literalAutolink");e.enter("literalAutolinkEmail");return s(t)}function s(t){if(ou(t)){e.consume(t);return s}if(t===64){e.consume(t);return a}return n(t)}function a(t){if(t===46){return e.check(za,c,u)(t)}if(t===45||t===95||me(t)){o=true;e.consume(t);return a}return c(t)}function u(t){e.consume(t);i=true;return a}function c(l){if(o&&i&&ge(r.previous)){e.exit("literalAutolinkEmail");e.exit("literalAutolink");return t(l)}return n(l)}}function Ka(e,t,n){const r=this;return i;function i(t){if(t!==87&&t!==119||!nu.call(r,r.previous)||lu(r.events)){return n(t)}e.enter("literalAutolink");e.enter("literalAutolinkWww");return e.check(Na,e.attempt(Ba,e.attempt(Fa,o),n),n)(t)}function o(n){e.exit("literalAutolinkWww");e.exit("literalAutolink");return t(n)}}function Qa(e,t,n){const r=this;let i="";let o=false;return l;function l(t){if((t===72||t===104)&&ru.call(r,r.previous)&&!lu(r.events)){e.enter("literalAutolink");e.enter("literalAutolinkHttp");i+=String.fromCodePoint(t);e.consume(t);return s}return n(t)}function s(t){if(ge(t)&&i.length<5){i+=String.fromCodePoint(t);e.consume(t);return s}if(t===58){const n=i.toLowerCase();if(n==="http"||n==="https"){e.consume(t);return a}}return n(t)}function a(t){if(t===47){e.consume(t);if(o){return u}o=true;return a}return n(t)}function u(t){return t===null||ke(t)||Se(t)||Ae(t)||Te(t)?n(t):e.attempt(Ba,e.attempt(Fa,c),n)(t)}function c(n){e.exit("literalAutolinkHttp");e.exit("literalAutolink");return t(n)}}function Za(e,t,n){let r=0;return i;function i(t){if((t===87||t===119)&&r<3){r++;e.consume(t);return i}if(t===46&&r===3){e.consume(t);return o}return n(t)}function o(e){return e===null?n(e):t(e)}}function $a(e,t,n){let r;let i;let o;return l;function l(t){if(t===46||t===95){return e.check(Ua,a,s)(t)}if(t===null||Se(t)||Ae(t)||t!==45&&Te(t)){return a(t)}o=true;e.consume(t);return l}function s(t){if(t===95){r=true}else{i=r;r=undefined}e.consume(t);return l}function a(e){if(i||r||!o){return n(e)}return t(e)}}function Ja(e,t){let n=0;let r=0;return i;function i(l){if(l===40){n++;e.consume(l);return i}if(l===41&&r<n){return o(l)}if(l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126){return e.check(Ua,t,o)(l)}if(l===null||Se(l)||Ae(l)){return t(l)}e.consume(l);return i}function o(t){if(t===41){r++}e.consume(t);return i}}function eu(e,t,n){return r;function r(l){if(l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126){e.consume(l);return r}if(l===38){e.consume(l);return o}if(l===93){e.consume(l);return i}if(l===60||l===null||Se(l)||Ae(l)){return t(l)}return n(l)}function i(e){if(e===null||e===40||e===91||Se(e)||Ae(e)){return t(e)}return r(e)}function o(e){return ge(e)?l(e):n(e)}function l(t){if(t===59){e.consume(t);return r}if(ge(t)){e.consume(t);return l}return n(t)}}function tu(e,t,n){return r;function r(t){e.consume(t);return i}function i(e){return me(e)?n(e):t(e)}}function nu(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Se(e)}function ru(e){return!ge(e)}function iu(e){return!(e===47||ou(e))}function ou(e){return e===43||e===45||e===46||e===95||me(e)}function lu(e){let t=e.length;let n=false;while(t--){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=true;break}if(r._gfmAutolinkLiteralWalkedInto){n=false;break}}if(e.length>0&&!n){e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=true}return n}const su={tokenize:gu,partial:true};function au(){return{document:{[91]:{tokenize:hu,continuation:{tokenize:du},exit:pu}},text:{[91]:{tokenize:fu},[93]:{add:"after",tokenize:uu,resolveTo:cu}}}}function uu(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;while(i--){const e=r.events[i][1];if(e.type==="labelImage"){l=e;break}if(e.type==="gfmFootnoteCall"||e.type==="labelLink"||e.type==="label"||e.type==="image"||e.type==="link"){break}}return s;function s(i){if(!l||!l._balanced){return n(i)}const s=de(r.sliceSerialize({start:l.end,end:r.now()}));if(s.codePointAt(0)!==94||!o.includes(s.slice(1))){return n(i)}e.enter("gfmFootnoteCallLabelMarker");e.consume(i);e.exit("gfmFootnoteCallLabelMarker");return t(i)}}function cu(e,t){let n=e.length;while(n--){if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){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)};const 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 o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)};const l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)};const s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];e.splice(n,e.length-n+1,...s);return e}function fu(e,t,n){const r=this;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0;let l;return s;function s(t){e.enter("gfmFootnoteCall");e.enter("gfmFootnoteCallLabelMarker");e.consume(t);e.exit("gfmFootnoteCallLabelMarker");return a}function a(t){if(t!==94)return n(t);e.enter("gfmFootnoteCallMarker");e.consume(t);e.exit("gfmFootnoteCallMarker");e.enter("gfmFootnoteCallString");e.enter("chunkString").contentType="string";return u}function u(s){if(o>999||s===93&&!l||s===null||s===91||Se(s)){return n(s)}if(s===93){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");if(!i.includes(de(r.sliceSerialize(o)))){return n(s)}e.enter("gfmFootnoteCallLabelMarker");e.consume(s);e.exit("gfmFootnoteCallLabelMarker");e.exit("gfmFootnoteCall");return t}if(!Se(s)){l=true}o++;e.consume(s);return s===92?c:u}function c(t){if(t===91||t===92||t===93){e.consume(t);o++;return u}return u(t)}}function hu(e,t,n){const r=this;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;let l=0;let s;return a;function a(t){e.enter("gfmFootnoteDefinition")._container=true;e.enter("gfmFootnoteDefinitionLabel");e.enter("gfmFootnoteDefinitionLabelMarker");e.consume(t);e.exit("gfmFootnoteDefinitionLabelMarker");return u}function u(t){if(t===94){e.enter("gfmFootnoteDefinitionMarker");e.consume(t);e.exit("gfmFootnoteDefinitionMarker");e.enter("gfmFootnoteDefinitionLabelString");e.enter("chunkString").contentType="string";return c}return n(t)}function c(t){if(l>999||t===93&&!s||t===null||t===91||Se(t)){return n(t)}if(t===93){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");o=de(r.sliceSerialize(n));e.enter("gfmFootnoteDefinitionLabelMarker");e.consume(t);e.exit("gfmFootnoteDefinitionLabelMarker");e.exit("gfmFootnoteDefinitionLabel");return h}if(!Se(t)){s=true}l++;e.consume(t);return t===92?f:c}function f(t){if(t===91||t===92||t===93){e.consume(t);l++;return c}return c(t)}function h(t){if(t===58){e.enter("definitionMarker");e.consume(t);e.exit("definitionMarker");if(!i.includes(o)){i.push(o)}return Le(e,d,"gfmFootnoteDefinitionWhitespace")}return n(t)}function d(e){return t(e)}}function du(e,t,n){return e.check(Ve,t,e.attempt(su,t,n))}function pu(e){e.exit("gfmFootnoteDefinition")}function gu(e,t,n){const r=this;return Le(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(e){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],true).length===4?t(e):n(e)}}function mu(e){const t=e||{};let n=t.singleTilde;const r={tokenize:o,resolveAll:i};if(n===null||n===undefined){n=true}return{text:{[126]:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(e,t){let n=-1;while(++n<e.length){if(e[n][0]==="enter"&&e[n][1].type==="strikethroughSequenceTemporary"&&e[n][1]._close){let r=n;while(r--){if(e[r][0]==="exit"&&e[r][1].type==="strikethroughSequenceTemporary"&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence";e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)};const o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)};const l=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]];const s=t.parser.constructs.insideSpan.null;if(s){le(l,l.length,0,Ne(s,e.slice(r+1,n),t))}le(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]);le(e,r-1,n-r+3,l);n=r+l.length-2;break}}}}n=-1;while(++n<e.length){if(e[n][1].type==="strikethroughSequenceTemporary"){e[n][1].type="data"}}return e}function o(e,t,r){const i=this.previous;const o=this.events;let l=0;return s;function s(t){if(i===126&&o[o.length-1][1].type!=="characterEscape"){return r(t)}e.enter("strikethroughSequenceTemporary");return a(t)}function a(o){const s=qe(i);if(o===126){if(l>1)return r(o);e.consume(o);l++;return a}if(l<2&&!n)return r(o);const u=e.exit("strikethroughSequenceTemporary");const c=qe(o);u._open=!c||c===2&&Boolean(s);u._close=!s||s===2&&Boolean(c);return t(o)}}}class bu{constructor(){this.map=[]}add(e,t,n){ku(this,e,t,n)}consume(e){this.map.sort((function(e,t){return e[0]-t[0]}));if(this.map.length===0){return}let t=this.map.length;const n=[];while(t>0){t-=1;n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]);e.length=this.map[t][0]}n.push([...e]);e.length=0;let r=n.pop();while(r){e.push(...r);r=n.pop()}this.map.length=0}}function ku(e,t,n,r){let i=0;if(n===0&&r.length===0){return}while(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 yu(e,t){let n=false;const r=[];while(t<e.length){const i=e[t];if(n){if(i[0]==="enter"){if(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 e=r.length-1;r[e]=r[e]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow"){break}}else if(i[0]==="enter"&&i[1].type==="tableDelimiterRow"){n=true}t+=1}return r}function wu(){return{flow:{null:{tokenize:Eu,resolveAll:vu}}}}function Eu(e,t,n){const r=this;let i=0;let o=0;let l;return s;function s(e){let t=r.events.length-1;while(t>-1){const e=r.events[t][1].type;if(e==="lineEnding"||e==="linePrefix")t--;else break}const i=t>-1?r.events[t][1].type:null;const o=i==="tableHead"||i==="tableRow"?v:a;if(o===v&&r.parser.lazy[r.now().line]){return n(e)}return o(e)}function a(t){e.enter("tableHead");e.enter("tableRow");return u(t)}function u(e){if(e===124){return c(e)}l=true;o+=1;return c(e)}function c(t){if(t===null){return n(t)}if(ve(t)){if(o>1){o=0;r.interrupt=true;e.exit("tableRow");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return d}return n(t)}if(xe(t)){return Le(e,c,"whitespace")(t)}o+=1;if(l){l=false;i+=1}if(t===124){e.enter("tableCellDivider");e.consume(t);e.exit("tableCellDivider");l=true;return c}e.enter("data");return f(t)}function f(t){if(t===null||t===124||Se(t)){e.exit("data");return c(t)}e.consume(t);return t===92?h:f}function h(t){if(t===92||t===124){e.consume(t);return f}return f(t)}function d(t){r.interrupt=false;if(r.parser.lazy[r.now().line]){return n(t)}e.enter("tableDelimiterRow");l=false;if(xe(t)){return Le(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t)}return p(t)}function p(t){if(t===45||t===58){return m(t)}if(t===124){l=true;e.enter("tableCellDivider");e.consume(t);e.exit("tableCellDivider");return g}return E(t)}function g(t){if(xe(t)){return Le(e,m,"whitespace")(t)}return m(t)}function m(t){if(t===58){o+=1;l=true;e.enter("tableDelimiterMarker");e.consume(t);e.exit("tableDelimiterMarker");return b}if(t===45){o+=1;return b(t)}if(t===null||ve(t)){return w(t)}return E(t)}function b(t){if(t===45){e.enter("tableDelimiterFiller");return k(t)}return E(t)}function k(t){if(t===45){e.consume(t);return k}if(t===58){l=true;e.exit("tableDelimiterFiller");e.enter("tableDelimiterMarker");e.consume(t);e.exit("tableDelimiterMarker");return y}e.exit("tableDelimiterFiller");return y(t)}function y(t){if(xe(t)){return Le(e,w,"whitespace")(t)}return w(t)}function w(n){if(n===124){return p(n)}if(n===null||ve(n)){if(!l||i!==o){return E(n)}e.exit("tableDelimiterRow");e.exit("tableHead");return t(n)}return E(n)}function E(e){return n(e)}function v(t){e.enter("tableRow");return S(t)}function S(n){if(n===124){e.enter("tableCellDivider");e.consume(n);e.exit("tableCellDivider");return S}if(n===null||ve(n)){e.exit("tableRow");return t(n)}if(xe(n)){return Le(e,S,"whitespace")(n)}e.enter("data");return x(n)}function x(t){if(t===null||t===124||Se(t)){e.exit("data");return S(t)}e.consume(t);return t===92?T:x}function T(t){if(t===92||t===124){e.consume(t);return x}return x(t)}}function vu(e,t){let n=-1;let r=true;let i=0;let o=[0,0,0,0];let l=[0,0,0,0];let s=false;let a=0;let u;let c;let f;const h=new bu;while(++n<e.length){const d=e[n];const p=d[1];if(d[0]==="enter"){if(p.type==="tableHead"){s=false;if(a!==0){xu(h,t,a,u,c);c=undefined;a=0}u={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)};h.add(n,0,[["enter",u,t]])}else if(p.type==="tableRow"||p.type==="tableDelimiterRow"){r=true;f=undefined;o=[0,0,0,0];l=[0,n+1,0,0];if(s){s=false;c={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)};h.add(n,0,[["enter",c,t]])}i=p.type==="tableDelimiterRow"?2:c?3:1}else if(i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")){r=false;if(l[2]===0){if(o[1]!==0){l[0]=l[1];f=Su(h,t,o,i,undefined,f);o=[0,0,0,0]}l[2]=n}}else if(p.type==="tableCellDivider"){if(r){r=false}else{if(o[1]!==0){l[0]=l[1];f=Su(h,t,o,i,undefined,f)}o=l;l=[o[1],n,0,0]}}}else if(p.type==="tableHead"){s=true;a=n}else if(p.type==="tableRow"||p.type==="tableDelimiterRow"){a=n;if(o[1]!==0){l[0]=l[1];f=Su(h,t,o,i,n,f)}else if(l[1]!==0){f=Su(h,t,l,i,n,f)}i=0}else if(i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")){l[3]=n}}if(a!==0){xu(h,t,a,u,c)}h.consume(t.events);n=-1;while(++n<t.events.length){const e=t.events[n];if(e[0]==="enter"&&e[1].type==="table"){e[1]._align=yu(t.events,n)}}return e}function Su(e,t,n,r,i,o){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData";const s="tableContent";if(n[0]!==0){o.end=Object.assign({},Tu(t.events,n[0]));e.add(n[0],0,[["exit",o,t]])}const a=Tu(t.events,n[1]);o={type:l,start:Object.assign({},a),end:Object.assign({},a)};e.add(n[1],0,[["enter",o,t]]);if(n[2]!==0){const i=Tu(t.events,n[2]);const o=Tu(t.events,n[3]);const l={type:s,start:Object.assign({},i),end:Object.assign({},o)};e.add(n[2],0,[["enter",l,t]]);if(r!==2){const r=t.events[n[2]];const i=t.events[n[3]];r[1].end=Object.assign({},i[1].end);r[1].type="chunkText";r[1].contentType="text";if(n[3]>n[2]+1){const t=n[2]+1;const r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",l,t]])}if(i!==undefined){o.end=Object.assign({},Tu(t.events,i));e.add(i,0,[["exit",o,t]]);o=undefined}return o}function xu(e,t,n,r,i){const o=[];const l=Tu(t.events,n);if(i){i.end=Object.assign({},l);o.push(["exit",i,t])}r.end=Object.assign({},l);o.push(["exit",r,t]);e.add(n+1,0,o)}function Tu(e,t){const n=e[t];const r=n[0]==="enter"?"start":"end";return n[1][r]}const Au={tokenize:Du};function Cu(){return{text:{[91]:Au}}}function Du(e,t,n){const r=this;return i;function i(t){if(r.previous!==null||!r._gfmTasklistFirstContentOfListItem){return n(t)}e.enter("taskListCheck");e.enter("taskListCheckMarker");e.consume(t);e.exit("taskListCheckMarker");return o}function o(t){if(Se(t)){e.enter("taskListCheckValueUnchecked");e.consume(t);e.exit("taskListCheckValueUnchecked");return l}if(t===88||t===120){e.enter("taskListCheckValueChecked");e.consume(t);e.exit("taskListCheckValueChecked");return l}return n(t)}function l(t){if(t===93){e.enter("taskListCheckMarker");e.consume(t);e.exit("taskListCheckMarker");e.exit("taskListCheck");return s}return n(t)}function s(r){if(ve(r)){return t(r)}if(xe(r)){return e.check({tokenize:Lu},t,n)(r)}return n(r)}}function Lu(e,t,n){return Le(e,r,"whitespace");function r(e){return e===null?n(e):t(e)}}function Ru(e){return ue([Ya(),au(),mu(e),wu(),Cu()])}const Ou={};function _u(e){const t=this;const n=e||Ou;const r=t.data();const i=r.micromarkExtensions||(r.micromarkExtensions=[]);const o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]);const l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Ru(n));o.push(Ia());l.push(qa(n))}const Pu=function(e){if(e===null||e===undefined){return Nu}if(typeof e==="string"){return Iu(e)}if(typeof e==="object"){return Mu(e)}if(typeof e==="function"){return qu(e)}throw new Error("Expected function, string, or array as `test`")};function Mu(e){const t=[];let n=-1;while(++n<e.length){t[n]=Pu(e[n])}return qu(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function Iu(e){return qu(t);function t(t){return t.tagName===e}}function qu(e){return t;function t(t,n,r){return Boolean(Bu(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function Nu(e){return Boolean(e&&typeof e==="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName==="string")}function Bu(e){return e!==null&&typeof e==="object"&&"type"in e&&"tagName"in e}const Fu=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;const Uu=/^[a-zA-Z]:\\/;function zu(e){if(typeof e!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)}if(Uu.test(e)){return false}return Fu.test(e)}function Hu(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}const ju=function(e){if(e===null||e===undefined){return Xu}if(typeof e==="function"){return Wu(e)}if(typeof e==="object"){return Array.isArray(e)?Vu(e):Gu(e)}if(typeof e==="string"){return Yu(e)}throw new Error("Expected function, string, or object as test")};function Vu(e){const t=[];let n=-1;while(++n<e.length){t[n]=ju(e[n])}return Wu(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function Gu(e){const t=e;return Wu(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function Yu(e){return Wu(t);function t(t){return t&&t.type===e}}function Wu(e){return t;function t(t,n,r){return Boolean(Ku(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function Xu(){return true}function Ku(e){return e!==null&&typeof e==="object"&&"type"in e}function Qu(e){return e}const Zu=[];const $u=true;const Ju=false;const ec="skip";function tc(e,t,n,r){let i;if(typeof t==="function"&&typeof n!=="function"){r=n;n=t}else{i=t}const o=ju(i);const l=r?-1:1;s(e,undefined,[])();function s(e,i,a){const u=e&&typeof e==="object"?e:{};if(typeof u.type==="string"){const t=typeof u.tagName==="string"?u.tagName:typeof u.name==="string"?u.name:undefined;Object.defineProperty(c,"name",{value:"node ("+Qu(e.type+(t?"<"+t+">":""))+")"})}return c;function c(){let u=Zu;let c;let f;let h;if(!t||o(e,i,a[a.length-1]||undefined)){u=nc(n(e,a));if(u[0]===Ju){return u}}if("children"in e&&e.children){const t=e;if(t.children&&u[0]!==ec){f=(r?t.children.length:-1)+l;h=a.concat(t);while(f>-1&&f<t.children.length){const e=t.children[f];c=s(e,f,h)();if(c[0]===Ju){return c}f=typeof c[1]==="number"?c[1]:f+l}}}return u}}}function nc(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[$u,e]}return e===null||e===undefined?Zu:[e]}function rc(e,t,n,r){let i;let o;let l;if(typeof t==="function"&&typeof n!=="function"){o=undefined;l=t;i=n}else{o=t;l=n;i=r}tc(e,o,s,i);function s(e,t){const n=t[t.length-1];const r=n?n.children.indexOf(e):undefined;return l(e,r,n)}}const ic=["http","https"];const oc=["nofollow"];const lc={};function sc(e){const t=e||lc;const n=t.protocols||ic;const r=Pu(t.test);return function(e){rc(e,"element",(function(e,i,o){if(e.tagName==="a"&&typeof e.properties.href==="string"&&r(e,i,o)){const r=e.properties.href;if(zu(r)?n.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){const n=ac(t.content,e);const r=n&&!Array.isArray(n)?[n]:n;const i=ac(t.rel,e)||oc;const o=typeof i==="string"?Hu(i):i;const l=ac(t.target,e);const s=ac(t.properties,e);if(s){Object.assign(e.properties,si(s))}if(o.length>0){e.properties.rel=[...o]}if(l){e.properties.target=l}if(r){const n=ac(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:si(n),children:si(r)})}}}}))}}function ac(e,t){return typeof e==="function"?e(t):e}const uc=fc("end");const cc=fc("start");function fc(e){return t;function t(t){const n=t&&t.position&&t.position[e]||{};if(typeof n.line==="number"&&n.line>0&&typeof n.column==="number"&&n.column>0){return{line:n.line,column:n.column,offset:typeof n.offset==="number"&&n.offset>-1?n.offset:undefined}}}}function hc(e){const t=cc(e);const n=uc(e);if(t&&n){return{start:t,end:n}}}const dc=["ariaDescribedBy","ariaLabel","ariaLabelledBy"];const pc={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...dc,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...dc],h2:[["id","footnote-label"],["className","sr-only"]],img:[...dc,"longDesc","src"],input:[["disabled",true],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...dc,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...dc],table:[...dc],ul:[...dc,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","disabled","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:true,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]};const gc={}.hasOwnProperty;function mc(e,t){let n={type:"root",children:[]};const r={schema:t?{...pc,...t}:pc,stack:[]};const i=bc(r,e);if(i){if(Array.isArray(i)){if(i.length===1){n=i[0]}else{n.children=i}}else{n=i}}return n}function bc(e,t){if(t&&typeof t==="object"){const n=t;const r=typeof n.type==="string"?n.type:"";switch(r){case"comment":{return kc(e,n)}case"doctype":{return yc(e,n)}case"element":{return wc(e,n)}case"root":{return Ec(e,n)}case"text":{return vc(e,n)}}}}function kc(e,t){if(e.schema.allowComments){const e=typeof t.value==="string"?t.value:"";const n=e.indexOf("--\x3e");const r=n<0?e:e.slice(0,n);const i={type:"comment",value:r};Dc(i,t);return i}}function yc(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};Dc(e,t);return e}}function wc(e,t){const n=typeof t.tagName==="string"?t.tagName:"";e.stack.push(n);const r=Sc(e,t.children);const i=xc(e,t.properties);e.stack.pop();let o=false;if(n.length>0&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))){o=true;if(e.schema.ancestors&&gc.call(e.schema.ancestors,n)){const t=e.schema.ancestors[n];let r=-1;o=false;while(++r<t.length){if(e.stack.includes(t[r])){o=true}}}}if(!o){return e.schema.strip&&!e.schema.strip.includes(n)?r:undefined}const l={type:"element",tagName:n,properties:i,children:r};Dc(l,t);return l}function Ec(e,t){const n=Sc(e,t.children);const r={type:"root",children:n};Dc(r,t);return r}function vc(e,t){const n=typeof t.value==="string"?t.value:"";const r={type:"text",value:n};Dc(r,t);return r}function Sc(e,t){const n=[];if(Array.isArray(t)){const r=t;let i=-1;while(++i<r.length){const t=bc(e,r[i]);if(t){if(Array.isArray(t)){n.push(...t)}else{n.push(t)}}}}return n}function xc(e,t){const n=e.stack[e.stack.length-1];const r=e.schema.attributes;const i=e.schema.required;const o=r&&gc.call(r,n)?r[n]:undefined;const l=r&&gc.call(r,"*")?r["*"]:undefined;const s=t&&typeof t==="object"?t:{};const a={};let u;for(u in s){if(gc.call(s,u)){let t;if(o)t=Lc(o,u);if(!t&&l)t=Lc(l,u);if(t){const n=s[u];const r=Array.isArray(n)?Tc(e,t,u,n):Ac(e,t,u,n);if(r!==null&&r!==undefined){a[u]=r}}}}if(i&&gc.call(i,n)){const e=i[n];for(u in e){if(gc.call(e,u)&&!gc.call(a,u)){a[u]=e[u]}}}return a}function Tc(e,t,n,r){let i=-1;const o=[];while(++i<r.length){const l=Ac(e,t,n,r[i]);if(typeof l==="number"||typeof l==="string"){o.push(l)}}return o}function Ac(e,t,n,r){if(typeof r!=="boolean"&&typeof r!=="number"&&typeof r!=="string"){return}if(!Cc(e,n,r)){return}if(typeof t==="object"&&t.length>1){let e=false;let n=0;while(++n<t.length){const i=t[n];if(i&&typeof i==="object"&&"flags"in i){if(i.test(String(r))){e=true;break}}else if(i===r){e=true;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}function Cc(e,t,n){const r=e.schema.protocols&&gc.call(e.schema.protocols,t)?e.schema.protocols[t]:undefined;if(!r||r.length===0){return true}const i=String(n);const o=i.indexOf(":");const l=i.indexOf("?");const s=i.indexOf("#");const a=i.indexOf("/");if(o<0||a>-1&&o>a||l>-1&&o>l||s>-1&&o>s){return true}let u=-1;while(++u<r.length){const e=r[u];if(o===e.length&&i.slice(0,e.length)===e){return true}}return false}function Dc(e,t){const n=hc(t);if(t.data){e.data=si(t.data)}if(n)e.position=n}function Lc(e,t){let n;let r=-1;while(++r<e.length){const i=e[r];const o=typeof i==="string"?i:i[0];if(o===t){return i}if(o==="data*")n=i}if(t.length>4&&t.slice(0,4).toLowerCase()==="data"){return n}}function Rc(e){return function(t){const n=mc(t,e);return n}}const Oc=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class _c{constructor(e,t,n){this.property=e;this.normal=t;if(n){this.space=n}}}_c.prototype.property={};_c.prototype.normal={};_c.prototype.space=null;function Pc(e,t){const n={};const r={};let i=-1;while(++i<e.length){Object.assign(n,e[i].property);Object.assign(r,e[i].normal)}return new _c(n,r,t)}function Mc(e){return e.toLowerCase()}class Ic{constructor(e,t){this.property=e;this.attribute=t}}Ic.prototype.space=null;Ic.prototype.boolean=false;Ic.prototype.booleanish=false;Ic.prototype.overloadedBoolean=false;Ic.prototype.number=false;Ic.prototype.commaSeparated=false;Ic.prototype.spaceSeparated=false;Ic.prototype.commaOrSpaceSeparated=false;Ic.prototype.mustUseProperty=false;Ic.prototype.defined=false;let qc=0;const Nc=Vc();const Bc=Vc();const Fc=Vc();const Uc=Vc();const zc=Vc();const Hc=Vc();const jc=Vc();function Vc(){return 2**++qc}const Gc=Object.freeze({__proto__:null,boolean:Nc,booleanish:Bc,overloadedBoolean:Fc,number:Uc,spaceSeparated:zc,commaSeparated:Hc,commaOrSpaceSeparated:jc});const Yc=Object.keys(Gc);class Wc extends Ic{constructor(e,t,n,r){let i=-1;super(e,t);Xc(this,"space",r);if(typeof n==="number"){while(++i<Yc.length){const e=Yc[i];Xc(this,Yc[i],(n&Gc[e])===Gc[e])}}}}Wc.prototype.defined=true;function Xc(e,t,n){if(n){e[t]=n}}const Kc={}.hasOwnProperty;function Qc(e){const t={};const n={};let r;for(r in e.properties){if(Kc.call(e.properties,r)){const i=e.properties[r];const o=new Wc(r,e.transform(e.attributes||{},r),i,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(r)){o.mustUseProperty=true}t[r]=o;n[Mc(r)]=r;n[Mc(o.attribute)]=r}}return new _c(t,n,e.space)}const Zc=Qc({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});const $c=Qc({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Jc(e,t){return t in e?e[t]:t}function ef(e,t){return Jc(e,t.toLowerCase())}const tf=Qc({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ef,properties:{xmlns:null,xmlnsXLink:null}});const nf=Qc({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Bc,ariaAutoComplete:null,ariaBusy:Bc,ariaChecked:Bc,ariaColCount:Uc,ariaColIndex:Uc,ariaColSpan:Uc,ariaControls:zc,ariaCurrent:null,ariaDescribedBy:zc,ariaDetails:null,ariaDisabled:Bc,ariaDropEffect:zc,ariaErrorMessage:null,ariaExpanded:Bc,ariaFlowTo:zc,ariaGrabbed:Bc,ariaHasPopup:null,ariaHidden:Bc,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:zc,ariaLevel:Uc,ariaLive:null,ariaModal:Bc,ariaMultiLine:Bc,ariaMultiSelectable:Bc,ariaOrientation:null,ariaOwns:zc,ariaPlaceholder:null,ariaPosInSet:Uc,ariaPressed:Bc,ariaReadOnly:Bc,ariaRelevant:null,ariaRequired:Bc,ariaRoleDescription:zc,ariaRowCount:Uc,ariaRowIndex:Uc,ariaRowSpan:Uc,ariaSelected:Bc,ariaSetSize:Uc,ariaSort:null,ariaValueMax:Uc,ariaValueMin:Uc,ariaValueNow:Uc,ariaValueText:null,role:null}});const rf=Qc({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ef,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hc,acceptCharset:zc,accessKey:zc,action:null,allow:null,allowFullScreen:Nc,allowPaymentRequest:Nc,allowUserMedia:Nc,alt:null,as:null,async:Nc,autoCapitalize:null,autoComplete:zc,autoFocus:Nc,autoPlay:Nc,blocking:zc,capture:Nc,charSet:null,checked:Nc,cite:null,className:zc,cols:Uc,colSpan:null,content:null,contentEditable:Bc,controls:Nc,controlsList:zc,coords:Uc|Hc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Nc,defer:Nc,dir:null,dirName:null,disabled:Nc,download:Fc,draggable:Bc,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Nc,formTarget:null,headers:zc,height:Uc,hidden:Nc,high:Uc,href:null,hrefLang:null,htmlFor:zc,httpEquiv:zc,id:null,imageSizes:null,imageSrcSet:null,inert:Nc,inputMode:null,integrity:null,is:null,isMap:Nc,itemId:null,itemProp:zc,itemRef:zc,itemScope:Nc,itemType:zc,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Nc,low:Uc,manifest:null,max:null,maxLength:Uc,media:null,method:null,min:null,minLength:Uc,multiple:Nc,muted:Nc,name:null,nonce:null,noModule:Nc,noValidate:Nc,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Nc,optimum:Uc,pattern:null,ping:zc,placeholder:null,playsInline:Nc,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Nc,referrerPolicy:null,rel:zc,required:Nc,reversed:Nc,rows:Uc,rowSpan:Uc,sandbox:zc,scope:null,scoped:Nc,seamless:Nc,selected:Nc,shape:null,size:Uc,sizes:null,slot:null,span:Uc,spellCheck:Bc,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Uc,step:null,style:null,tabIndex:Uc,target:null,title:null,translate:null,type:null,typeMustMatch:Nc,useMap:null,value:Bc,width:Uc,wrap:null,align:null,aLink:null,archive:zc,axis:null,background:null,bgColor:null,border:Uc,borderColor:null,bottomMargin:Uc,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Nc,declare:Nc,event:null,face:null,frame:null,frameBorder:null,hSpace:Uc,leftMargin:Uc,link:null,longDesc:null,lowSrc:null,marginHeight:Uc,marginWidth:Uc,noResize:Nc,noHref:Nc,noShade:Nc,noWrap:Nc,object:null,profile:null,prompt:null,rev:null,rightMargin:Uc,rules:null,scheme:null,scrolling:Bc,standby:null,summary:null,text:null,topMargin:Uc,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Uc,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Nc,disableRemotePlayback:Nc,prefix:null,property:null,results:Uc,security:null,unselectable:null}});const of=Qc({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Jc,properties:{about:jc,accentHeight:Uc,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Uc,amplitude:Uc,arabicForm:null,ascent:Uc,attributeName:null,attributeType:null,azimuth:Uc,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Uc,by:null,calcMode:null,capHeight:Uc,className:zc,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Uc,diffuseConstant:Uc,direction:null,display:null,dur:null,divisor:Uc,dominantBaseline:null,download:Nc,dx:null,dy:null,edgeMode:null,editable:null,elevation:Uc,enableBackground:null,end:null,event:null,exponent:Uc,externalResourcesRequired:null,fill:null,fillOpacity:Uc,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Hc,g2:Hc,glyphName:Hc,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Uc,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Uc,horizOriginX:Uc,horizOriginY:Uc,id:null,ideographic:Uc,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Uc,k:Uc,k1:Uc,k2:Uc,k3:Uc,k4:Uc,kernelMatrix:jc,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Uc,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Uc,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Uc,overlineThickness:Uc,paintOrder:null,panose1:null,path:null,pathLength:Uc,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:zc,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Uc,pointsAtY:Uc,pointsAtZ:Uc,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:jc,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:jc,rev:jc,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:jc,requiredFeatures:jc,requiredFonts:jc,requiredFormats:jc,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Uc,specularExponent:Uc,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Uc,strikethroughThickness:Uc,string:null,stroke:null,strokeDashArray:jc,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Uc,strokeOpacity:Uc,strokeWidth:null,style:null,surfaceScale:Uc,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:jc,tabIndex:Uc,tableValues:null,target:null,targetX:Uc,targetY:Uc,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:jc,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Uc,underlineThickness:Uc,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Uc,values:null,vAlphabetic:Uc,vMathematical:Uc,vectorEffect:null,vHanging:Uc,vIdeographic:Uc,version:null,vertAdvY:Uc,vertOriginX:Uc,vertOriginY:Uc,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Uc,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});const lf=/^data[-\w.:]+$/i;const sf=/-[a-z]/g;const af=/[A-Z]/g;function uf(e,t){const n=Mc(t);let r=t;let i=Ic;if(n in e.normal){return e.property[e.normal[n]]}if(n.length>4&&n.slice(0,4)==="data"&&lf.test(t)){if(t.charAt(4)==="-"){const e=t.slice(5).replace(sf,ff);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!sf.test(e)){let n=e.replace(af,cf);if(n.charAt(0)!=="-"){n="-"+n}t="data"+n}}i=Wc}return new i(r,t)}function cf(e){return"-"+e.toLowerCase()}function ff(e){return e.charAt(1).toUpperCase()}const hf=Pc([$c,Zc,tf,nf,rf],"html");const df=Pc([$c,Zc,tf,nf,of],"svg");const pf={}.hasOwnProperty;function gf(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&pf.call(t,e)){const n=String(t[e]);i=pf.call(o,n)?o[n]:r.unknown}if(i){return i.call(this,t,...n)}}r.handlers=n.handlers||{};r.invalid=n.invalid;r.unknown=n.unknown;return r}function mf(e,t){e=e.replace(t.subset?bf(t.subset):/["&'<>`]/g,r);if(t.subset||t.escapeOnly){return e}return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function bf(e){const t=[];let n=-1;while(++n<e.length){t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"))}return new RegExp("(?:"+t.join("|")+")","g")}function kf(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function yf(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const wf=["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","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];const Ef={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:"⊄",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:"€"};const vf=["cent","copy","divide","gt","lt","not","para","times"];const Sf={}.hasOwnProperty;const xf={};let Tf;for(Tf in Ef){if(Sf.call(Ef,Tf)){xf[Ef[Tf]]=Tf}}function Af(e,t,n,r){const i=String.fromCharCode(e);if(Sf.call(xf,i)){const e=xf[i];const o="&"+e;if(n&&wf.includes(e)&&!vf.includes(e)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))){return o}return o+";"}return""}function Cf(e,t,n){let r=kf(e,t,n.omitOptionalSemicolons);let i;if(n.useNamedReferences||n.useShortestReferences){i=Af(e,t,n.omitOptionalSemicolons,n.attribute)}if((n.useShortestReferences||!i)&&n.useShortestReferences){const i=yf(e,t,n.omitOptionalSemicolons);if(i.length<r.length){r=i}}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function Df(e,t){return mf(e,Object.assign({format:Cf},t))}function Lf(e,t,n,r){return r.settings.bogusComments?"<?"+Df(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"\x3c!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,i)+"--\x3e";function i(e){return Df(e,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function Rf(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Of(e,t){const n=String(e);if(typeof t!=="string"){throw new TypeError("Expected character")}let r=0;let i=n.indexOf(t);while(i!==-1){r++;i=n.indexOf(t,i+t.length)}return r}function _f(e,t){const n=t||{};const r=e[e.length-1]===""?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(n.padLeft===false?"":" ")).trim()}function Pf(e){return e.join(" ").trim()}const Mf=/[ \t\n\f\r]/g;function If(e){return typeof e==="object"?e.type==="text"?qf(e.value):false:qf(e)}function qf(e){return e.replace(Mf,"")===""}const Nf=Uf(1);const Bf=Uf(-1);const Ff=[];function Uf(e){return t;function t(t,n,r){const i=t?t.children:Ff;let o=(n||0)+e;let l=i[o];if(!r){while(l&&If(l)){o+=e;l=i[o]}}return l}}const zf={}.hasOwnProperty;function Hf(e){return t;function t(t,n,r){return zf.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const jf=Hf({body:Yf,caption:Vf,colgroup:Vf,dd:Qf,dt:Kf,head:Vf,html:Gf,li:Xf,optgroup:$f,option:Jf,p:Wf,rp:Zf,rt:Zf,tbody:th,td:ih,tfoot:nh,th:ih,thead:eh,tr:rh});function Vf(e,t,n){const r=Nf(n,t,true);return!r||r.type!=="comment"&&!(r.type==="text"&&If(r.value.charAt(0)))}function Gf(e,t,n){const r=Nf(n,t);return!r||r.type!=="comment"}function Yf(e,t,n){const r=Nf(n,t);return!r||r.type!=="comment"}function Wf(e,t,n){const r=Nf(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Xf(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Kf(e,t,n){const r=Nf(n,t);return Boolean(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Qf(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Zf(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function $f(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Jf(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function eh(e,t,n){const r=Nf(n,t);return Boolean(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function th(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function nh(e,t,n){return!Nf(n,t)}function rh(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function ih(e,t,n){const r=Nf(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const oh=Hf({body:ah,colgroup:uh,head:sh,html:lh,tbody:ch});function lh(e){const t=Nf(e,-1);return!t||t.type!=="comment"}function sh(e){const t=e.children;const n=[];let r=-1;while(++r<t.length){const e=t[r];if(e.type==="element"&&(e.tagName==="title"||e.tagName==="base")){if(n.includes(e.tagName))return false;n.push(e.tagName)}}return t.length>0}function ah(e){const t=Nf(e,-1,true);return!t||t.type!=="comment"&&!(t.type==="text"&&If(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function uh(e,t,n){const r=Bf(n,t);const i=Nf(e,-1,true);if(n&&r&&r.type==="element"&&r.tagName==="colgroup"&&jf(r,n.children.indexOf(r),n)){return false}return Boolean(i&&i.type==="element"&&i.tagName==="col")}function ch(e,t,n){const r=Bf(n,t);const i=Nf(e,-1);if(n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&jf(r,n.children.indexOf(r),n)){return false}return Boolean(i&&i.type==="element"&&i.tagName==="tr")}const fh={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function hh(e,t,n,r){const i=r.schema;const o=i.space==="svg"?false:r.settings.omitOptionalTags;let l=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let a;if(i.space==="html"&&e.tagName==="svg"){r.schema=df}const u=dh(r,e.properties);const c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);r.schema=i;if(c)l=false;if(u||!o||!oh(e,t,n)){s.push("<",e.tagName,u?" "+u:"");if(l&&(i.space==="svg"||r.settings.closeSelfClosing)){a=u.charAt(u.length-1);if(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'"){s.push(" ")}s.push("/")}s.push(">")}s.push(c);if(!l&&(!o||!jf(e,t,n))){s.push("</"+e.tagName+">")}return s.join("")}function dh(e,t){const n=[];let r=-1;let i;if(t){for(i in t){if(t[i]!==null&&t[i]!==undefined){const r=ph(e,i,t[i]);if(r)n.push(r)}}}while(++r<n.length){const t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):undefined;if(r!==n.length-1&&t!=='"'&&t!=="'"){n[r]+=" "}}return n.join("")}function ph(e,t,n){const r=uf(e.schema,t);const i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1;const o=e.settings.allowDangerousCharacters?0:1;let l=e.quote;let s;if(r.overloadedBoolean&&(n===r.attribute||n==="")){n=true}else if(r.boolean||r.overloadedBoolean&&typeof n!=="string"){n=Boolean(n)}if(n===null||n===undefined||n===false||typeof n==="number"&&Number.isNaN(n)){return""}const a=Df(r.attribute,Object.assign({},e.settings.characterReferences,{subset:fh.name[i][o]}));if(n===true)return a;n=Array.isArray(n)?(r.commaSeparated?_f:Pf)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n);if(e.settings.collapseEmptyAttributes&&!n)return a;if(e.settings.preferUnquoted){s=Df(n,Object.assign({},e.settings.characterReferences,{attribute:true,subset:fh.unquoted[i][o]}))}if(s!==n){if(e.settings.quoteSmart&&Of(n,l)>Of(n,e.alternative)){l=e.alternative}s=l+Df(n,Object.assign({},e.settings.characterReferences,{subset:(l==="'"?fh.single:fh.double)[i][o],attribute:true}))+l}return a+(s?"="+s:s)}function gh(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Df(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function mh(e,t,n,r){return r.settings.allowDangerousHtml?e.value:gh(e,t,n,r)}function bh(e,t,n,r){return r.all(e)}const kh=gf("type",{invalid:yh,unknown:wh,handlers:{comment:Lf,doctype:Rf,element:hh,raw:mh,root:bh,text:gh}});function yh(e){throw new Error("Expected node, not `"+e+"`")}function wh(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Eh={};const vh={};const Sh=[];function xh(e,t){const n=t||Eh;const r=n.quote||'"';const i=r==='"'?"'":'"';if(r!=='"'&&r!=="'"){throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`")}const o={one:Th,all:Ah,settings:{omitOptionalTags:n.omitOptionalTags||false,allowParseErrors:n.allowParseErrors||false,allowDangerousCharacters:n.allowDangerousCharacters||false,quoteSmart:n.quoteSmart||false,preferUnquoted:n.preferUnquoted||false,tightAttributes:n.tightAttributes||false,upperDoctype:n.upperDoctype||false,tightDoctype:n.tightDoctype||false,bogusComments:n.bogusComments||false,tightCommaSeparatedLists:n.tightCommaSeparatedLists||false,tightSelfClosing:n.tightSelfClosing||false,collapseEmptyAttributes:n.collapseEmptyAttributes||false,allowDangerousHtml:n.allowDangerousHtml||false,voids:n.voids||Oc,characterReferences:n.characterReferences||vh,closeSelfClosing:n.closeSelfClosing||false,closeEmptyElements:n.closeEmptyElements||false},schema:n.space==="svg"?df:hf,quote:r,alternative:i};return o.one(Array.isArray(e)?{type:"root",children:e}:e,undefined,undefined)}function Th(e,t,n){return kh(e,t,n,this)}function Ah(e){const t=[];const n=e&&e.children||Sh;let r=-1;while(++r<n.length){t[r]=this.one(n[r],r,e)}return t.join("")}function Ch(e){const t=this;const n={...t.data("settings"),...e};t.compiler=r;function r(e){return xh(e,n)}}class Dh{constructor(e,t,n){this.property=e;this.normal=t;if(n){this.space=n}}}Dh.prototype.property={};Dh.prototype.normal={};Dh.prototype.space=null;function Lh(e,t){const n={};const r={};let i=-1;while(++i<e.length){Object.assign(n,e[i].property);Object.assign(r,e[i].normal)}return new Dh(n,r,t)}function Rh(e){return e.toLowerCase()}class Oh{constructor(e,t){this.property=e;this.attribute=t}}Oh.prototype.space=null;Oh.prototype.boolean=false;Oh.prototype.booleanish=false;Oh.prototype.overloadedBoolean=false;Oh.prototype.number=false;Oh.prototype.commaSeparated=false;Oh.prototype.spaceSeparated=false;Oh.prototype.commaOrSpaceSeparated=false;Oh.prototype.mustUseProperty=false;Oh.prototype.defined=false;let _h=0;const Ph=Uh();const Mh=Uh();const Ih=Uh();const qh=Uh();const Nh=Uh();const Bh=Uh();const Fh=Uh();function Uh(){return 2**++_h}const zh=Object.freeze({__proto__:null,boolean:Ph,booleanish:Mh,overloadedBoolean:Ih,number:qh,spaceSeparated:Nh,commaSeparated:Bh,commaOrSpaceSeparated:Fh});const Hh=Object.keys(zh);class jh extends Oh{constructor(e,t,n,r){let i=-1;super(e,t);Vh(this,"space",r);if(typeof n==="number"){while(++i<Hh.length){const e=Hh[i];Vh(this,Hh[i],(n&zh[e])===zh[e])}}}}jh.prototype.defined=true;function Vh(e,t,n){if(n){e[t]=n}}const Gh={}.hasOwnProperty;function Yh(e){const t={};const n={};let r;for(r in e.properties){if(Gh.call(e.properties,r)){const i=e.properties[r];const o=new jh(r,e.transform(e.attributes||{},r),i,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(r)){o.mustUseProperty=true}t[r]=o;n[Rh(r)]=r;n[Rh(o.attribute)]=r}}return new Dh(t,n,e.space)}const Wh=Yh({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});const Xh=Yh({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Kh(e,t){return t in e?e[t]:t}function Qh(e,t){return Kh(e,t.toLowerCase())}const Zh=Yh({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Qh,properties:{xmlns:null,xmlnsXLink:null}});const $h=Yh({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Mh,ariaAutoComplete:null,ariaBusy:Mh,ariaChecked:Mh,ariaColCount:qh,ariaColIndex:qh,ariaColSpan:qh,ariaControls:Nh,ariaCurrent:null,ariaDescribedBy:Nh,ariaDetails:null,ariaDisabled:Mh,ariaDropEffect:Nh,ariaErrorMessage:null,ariaExpanded:Mh,ariaFlowTo:Nh,ariaGrabbed:Mh,ariaHasPopup:null,ariaHidden:Mh,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Nh,ariaLevel:qh,ariaLive:null,ariaModal:Mh,ariaMultiLine:Mh,ariaMultiSelectable:Mh,ariaOrientation:null,ariaOwns:Nh,ariaPlaceholder:null,ariaPosInSet:qh,ariaPressed:Mh,ariaReadOnly:Mh,ariaRelevant:null,ariaRequired:Mh,ariaRoleDescription:Nh,ariaRowCount:qh,ariaRowIndex:qh,ariaRowSpan:qh,ariaSelected:Mh,ariaSetSize:qh,ariaSort:null,ariaValueMax:qh,ariaValueMin:qh,ariaValueNow:qh,ariaValueText:null,role:null}});const Jh=Yh({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Qh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Bh,acceptCharset:Nh,accessKey:Nh,action:null,allow:null,allowFullScreen:Ph,allowPaymentRequest:Ph,allowUserMedia:Ph,alt:null,as:null,async:Ph,autoCapitalize:null,autoComplete:Nh,autoFocus:Ph,autoPlay:Ph,blocking:Nh,capture:Ph,charSet:null,checked:Ph,cite:null,className:Nh,cols:qh,colSpan:null,content:null,contentEditable:Mh,controls:Ph,controlsList:Nh,coords:qh|Bh,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ph,defer:Ph,dir:null,dirName:null,disabled:Ph,download:Ih,draggable:Mh,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ph,formTarget:null,headers:Nh,height:qh,hidden:Ph,high:qh,href:null,hrefLang:null,htmlFor:Nh,httpEquiv:Nh,id:null,imageSizes:null,imageSrcSet:null,inert:Ph,inputMode:null,integrity:null,is:null,isMap:Ph,itemId:null,itemProp:Nh,itemRef:Nh,itemScope:Ph,itemType:Nh,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ph,low:qh,manifest:null,max:null,maxLength:qh,media:null,method:null,min:null,minLength:qh,multiple:Ph,muted:Ph,name:null,nonce:null,noModule:Ph,noValidate:Ph,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ph,optimum:qh,pattern:null,ping:Nh,placeholder:null,playsInline:Ph,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ph,referrerPolicy:null,rel:Nh,required:Ph,reversed:Ph,rows:qh,rowSpan:qh,sandbox:Nh,scope:null,scoped:Ph,seamless:Ph,selected:Ph,shape:null,size:qh,sizes:null,slot:null,span:qh,spellCheck:Mh,src:null,srcDoc:null,srcLang:null,srcSet:null,start:qh,step:null,style:null,tabIndex:qh,target:null,title:null,translate:null,type:null,typeMustMatch:Ph,useMap:null,value:Mh,width:qh,wrap:null,align:null,aLink:null,archive:Nh,axis:null,background:null,bgColor:null,border:qh,borderColor:null,bottomMargin:qh,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ph,declare:Ph,event:null,face:null,frame:null,frameBorder:null,hSpace:qh,leftMargin:qh,link:null,longDesc:null,lowSrc:null,marginHeight:qh,marginWidth:qh,noResize:Ph,noHref:Ph,noShade:Ph,noWrap:Ph,object:null,profile:null,prompt:null,rev:null,rightMargin:qh,rules:null,scheme:null,scrolling:Mh,standby:null,summary:null,text:null,topMargin:qh,valueType:null,version:null,vAlign:null,vLink:null,vSpace:qh,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ph,disableRemotePlayback:Ph,prefix:null,property:null,results:qh,security:null,unselectable:null}});const ed=Yh({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Kh,properties:{about:Fh,accentHeight:qh,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:qh,amplitude:qh,arabicForm:null,ascent:qh,attributeName:null,attributeType:null,azimuth:qh,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:qh,by:null,calcMode:null,capHeight:qh,className:Nh,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:qh,diffuseConstant:qh,direction:null,display:null,dur:null,divisor:qh,dominantBaseline:null,download:Ph,dx:null,dy:null,edgeMode:null,editable:null,elevation:qh,enableBackground:null,end:null,event:null,exponent:qh,externalResourcesRequired:null,fill:null,fillOpacity:qh,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Bh,g2:Bh,glyphName:Bh,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:qh,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:qh,horizOriginX:qh,horizOriginY:qh,id:null,ideographic:qh,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:qh,k:qh,k1:qh,k2:qh,k3:qh,k4:qh,kernelMatrix:Fh,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:qh,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:qh,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:qh,overlineThickness:qh,paintOrder:null,panose1:null,path:null,pathLength:qh,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Nh,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:qh,pointsAtY:qh,pointsAtZ:qh,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Fh,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Fh,rev:Fh,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Fh,requiredFeatures:Fh,requiredFonts:Fh,requiredFormats:Fh,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:qh,specularExponent:qh,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:qh,strikethroughThickness:qh,string:null,stroke:null,strokeDashArray:Fh,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:qh,strokeOpacity:qh,strokeWidth:null,style:null,surfaceScale:qh,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Fh,tabIndex:qh,tableValues:null,target:null,targetX:qh,targetY:qh,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Fh,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:qh,underlineThickness:qh,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:qh,values:null,vAlphabetic:qh,vMathematical:qh,vectorEffect:null,vHanging:qh,vIdeographic:qh,version:null,vertAdvY:qh,vertOriginX:qh,vertOriginY:qh,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:qh,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});const td=/^data[-\w.:]+$/i;const nd=/-[a-z]/g;const rd=/[A-Z]/g;function id(e,t){const n=Rh(t);let r=t;let i=Oh;if(n in e.normal){return e.property[e.normal[n]]}if(n.length>4&&n.slice(0,4)==="data"&&td.test(t)){if(t.charAt(4)==="-"){const e=t.slice(5).replace(nd,ld);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!nd.test(e)){let n=e.replace(rd,od);if(n.charAt(0)!=="-"){n="-"+n}t="data"+n}}i=jh}return new i(r,t)}function od(e){return"-"+e.toLowerCase()}function ld(e){return e.charAt(1).toUpperCase()}const sd=Lh([Xh,Wh,Zh,$h,Jh],"html");const ad=Lh([Xh,Wh,Zh,$h,ed],"svg");function ud(e){const t=[];const n=String(e||"");let r=n.indexOf(",");let i=0;let o=false;while(!o){if(r===-1){r=n.length;o=true}const e=n.slice(i,r).trim();if(e||!o){t.push(e)}i=r+1;r=n.indexOf(",",i)}return t}const cd=/[#.]/g;function fd(e,t){const n=e||"";const r={};let i=0;let o;let l;while(i<n.length){cd.lastIndex=i;const e=cd.exec(n);const t=n.slice(i,e?e.index:n.length);if(t){if(!o){l=t}else if(o==="#"){r.id=t}else if(Array.isArray(r.className)){r.className.push(t)}else{r.className=[t]}i+=t.length}if(e){o=e[0];i++}}return{type:"element",tagName:l||t||"div",properties:r,children:[]}}function hd(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}const dd=new Set(["button","menu","reset","submit"]);const pd={}.hasOwnProperty;function gd(e,t,n){const r=n&&Ed(n);function i(n,i,...o){let l=-1;let s;if(n===undefined||n===null){s={type:"root",children:[]};const e=i;o.unshift(e)}else{s=fd(n,t);s.tagName=s.tagName.toLowerCase();if(r&&pd.call(r,s.tagName)){s.tagName=r[s.tagName]}if(md(i,s.tagName)){let t;for(t in i){if(pd.call(i,t)){bd(e,s.properties,t,i[t])}}}else{o.unshift(i)}}while(++l<o.length){kd(s.children,o[l])}if(s.type==="element"&&s.tagName==="template"){s.content={type:"root",children:s.children};s.children=[]}return s}return i}function md(e,t){if(e===null||e===undefined||typeof e!=="object"||Array.isArray(e)){return false}if(t==="input"||!e.type||typeof e.type!=="string"){return true}if("children"in e&&Array.isArray(e.children)){return false}if(t==="button"){return dd.has(e.type.toLowerCase())}return!("value"in e)}function bd(e,t,n,r){const i=id(e,n);let o=-1;let l;if(r===undefined||r===null)return;if(typeof r==="number"){if(Number.isNaN(r))return;l=r}else if(typeof r==="boolean"){l=r}else if(typeof r==="string"){if(i.spaceSeparated){l=hd(r)}else if(i.commaSeparated){l=ud(r)}else if(i.commaOrSpaceSeparated){l=hd(ud(r).join(" "))}else{l=yd(i,i.property,r)}}else if(Array.isArray(r)){l=r.concat()}else{l=i.property==="style"?wd(r):String(r)}if(Array.isArray(l)){const e=[];while(++o<l.length){const t=yd(i,i.property,l[o]);e[o]=t}l=e}if(i.property==="className"&&Array.isArray(t.className)){const e=l;l=t.className.concat(e)}t[i.property]=l}function kd(e,t){let n=-1;if(t===undefined||t===null);else if(typeof t==="string"||typeof t==="number"){e.push({type:"text",value:String(t)})}else if(Array.isArray(t)){while(++n<t.length){kd(e,t[n])}}else if(typeof t==="object"&&"type"in t){if(t.type==="root"){kd(e,t.children)}else{e.push(t)}}else{throw new Error("Expected node, nodes, or string, got `"+t+"`")}}function yd(e,t,n){if(typeof n==="string"){if(e.number&&n&&!Number.isNaN(Number(n))){return Number(n)}if((e.boolean||e.overloadedBoolean)&&(n===""||Rh(n)===Rh(t))){return true}}return n}function wd(e){const t=[];let n;for(n in e){if(pd.call(e,n)){t.push([n,e[n]].join(": "))}}return t.join("; ")}function Ed(e){const t={};let n=-1;while(++n<e.length){t[e[n].toLowerCase()]=e[n]}return t}const vd=["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"];const Sd=gd(sd,"div");const xd=gd(ad,"g",vd);const Td=/\r?\n|\r/g;function Ad(e){const t=String(e);const n=[];Td.lastIndex=0;while(Td.test(t)){n.push(Td.lastIndex)}n.push(t.length+1);return{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==="number"&&e>-1&&e<n[n.length-1]){while(++t<n.length){if(n[t]>e){return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}}}function i(e){const t=e&&e.line;const r=e&&e.column;if(typeof t==="number"&&typeof r==="number"&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1]){return e}}}}const Cd={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/"};const Dd={}.hasOwnProperty;const Ld=Object.prototype;function Rd(e,t){const n=t||{};return Od({file:n.file||undefined,location:false,schema:n.space==="svg"?ad:sd,verbose:n.verbose||false},e)}function Od(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;n={type:"comment",value:r.data};Md(e,r,n);return n}case"#document":case"#document-fragment":{const r=t;const i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":false;n={type:"root",children:_d(e,t.childNodes),data:{quirksMode:i}};if(e.file&&e.location){const t=String(e.file);const r=Ad(t);const i=r.toPoint(0);const o=r.toPoint(t.length);n.position={start:i,end:o}}return n}case"#documentType":{const r=t;n={type:"doctype"};Md(e,r,n);return n}case"#text":{const r=t;n={type:"text",value:r.value};Md(e,r,n);return n}default:{const r=t;n=Pd(e,r);return n}}}function _d(e,t){let n=-1;const r=[];while(++n<t.length){const i=Od(e,t[n]);r.push(i)}return r}function Pd(e,t){const n=e.schema;e.schema=t.namespaceURI===Cd.svg?ad:sd;let r=-1;const i={};while(++r<t.attrs.length){const e=t.attrs[r];const n=(e.prefix?e.prefix+":":"")+e.name;if(!Dd.call(Ld,n)){i[n]=e.value}}const o=e.schema.space==="svg"?xd:Sd;const l=o(t.tagName,i,_d(e,t.childNodes));Md(e,t,l);if(l.tagName==="template"){const n=t;const r=n.sourceCodeLocation;const i=r&&r.startTag&&qd(r.startTag);const o=r&&r.endTag&&qd(r.endTag);const s=Od(e,n.content);if(i&&o&&e.file){s.position={start:i.end,end:o.start}}l.content=s}e.schema=n;return l}function Md(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Id(e,n,t.sourceCodeLocation);if(r){e.location=true;n.position=r}}}function Id(e,t,n){const r=qd(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)}if(e.verbose){const r={};let i;if(n.attrs){for(i in n.attrs){if(Dd.call(n.attrs,i)){r[id(e.schema,i).property]=qd(n.attrs[i])}}}const o=qd(n.startTag);const l=n.endTag?qd(n.endTag):undefined;const s={opening:o};if(l)s.closing=l;s.properties=r;t.data={position:s}}}return r}function qd(e){const t=Nd({line:e.startLine,column:e.startCol,offset:e.startOffset});const n=Nd({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:undefined}function Nd(e){return e.line&&e.column?e:undefined}function Bd(e,t){const n=t||{};const r=e[e.length-1]===""?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(n.padLeft===false?"":" ")).trim()}class Fd{constructor(e,t,n){this.property=e;this.normal=t;if(n){this.space=n}}}Fd.prototype.property={};Fd.prototype.normal={};Fd.prototype.space=null;function Ud(e,t){const n={};const r={};let i=-1;while(++i<e.length){Object.assign(n,e[i].property);Object.assign(r,e[i].normal)}return new Fd(n,r,t)}function zd(e){return e.toLowerCase()}class Hd{constructor(e,t){this.property=e;this.attribute=t}}Hd.prototype.space=null;Hd.prototype.boolean=false;Hd.prototype.booleanish=false;Hd.prototype.overloadedBoolean=false;Hd.prototype.number=false;Hd.prototype.commaSeparated=false;Hd.prototype.spaceSeparated=false;Hd.prototype.commaOrSpaceSeparated=false;Hd.prototype.mustUseProperty=false;Hd.prototype.defined=false;let jd=0;const Vd=Zd();const Gd=Zd();const Yd=Zd();const Wd=Zd();const Xd=Zd();const Kd=Zd();const Qd=Zd();function Zd(){return 2**++jd}const $d=Object.freeze({__proto__:null,boolean:Vd,booleanish:Gd,overloadedBoolean:Yd,number:Wd,spaceSeparated:Xd,commaSeparated:Kd,commaOrSpaceSeparated:Qd});const Jd=Object.keys($d);class ep extends Hd{constructor(e,t,n,r){let i=-1;super(e,t);tp(this,"space",r);if(typeof n==="number"){while(++i<Jd.length){const e=Jd[i];tp(this,Jd[i],(n&$d[e])===$d[e])}}}}ep.prototype.defined=true;function tp(e,t,n){if(n){e[t]=n}}const np={}.hasOwnProperty;function rp(e){const t={};const n={};let r;for(r in e.properties){if(np.call(e.properties,r)){const i=e.properties[r];const o=new ep(r,e.transform(e.attributes||{},r),i,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(r)){o.mustUseProperty=true}t[r]=o;n[zd(r)]=r;n[zd(o.attribute)]=r}}return new Fd(t,n,e.space)}const ip=rp({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});const op=rp({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function lp(e,t){return t in e?e[t]:t}function sp(e,t){return lp(e,t.toLowerCase())}const ap=rp({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:sp,properties:{xmlns:null,xmlnsXLink:null}});const up=rp({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Gd,ariaAutoComplete:null,ariaBusy:Gd,ariaChecked:Gd,ariaColCount:Wd,ariaColIndex:Wd,ariaColSpan:Wd,ariaControls:Xd,ariaCurrent:null,ariaDescribedBy:Xd,ariaDetails:null,ariaDisabled:Gd,ariaDropEffect:Xd,ariaErrorMessage:null,ariaExpanded:Gd,ariaFlowTo:Xd,ariaGrabbed:Gd,ariaHasPopup:null,ariaHidden:Gd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xd,ariaLevel:Wd,ariaLive:null,ariaModal:Gd,ariaMultiLine:Gd,ariaMultiSelectable:Gd,ariaOrientation:null,ariaOwns:Xd,ariaPlaceholder:null,ariaPosInSet:Wd,ariaPressed:Gd,ariaReadOnly:Gd,ariaRelevant:null,ariaRequired:Gd,ariaRoleDescription:Xd,ariaRowCount:Wd,ariaRowIndex:Wd,ariaRowSpan:Wd,ariaSelected:Gd,ariaSetSize:Wd,ariaSort:null,ariaValueMax:Wd,ariaValueMin:Wd,ariaValueNow:Wd,ariaValueText:null,role:null}});const cp=rp({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:sp,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Kd,acceptCharset:Xd,accessKey:Xd,action:null,allow:null,allowFullScreen:Vd,allowPaymentRequest:Vd,allowUserMedia:Vd,alt:null,as:null,async:Vd,autoCapitalize:null,autoComplete:Xd,autoFocus:Vd,autoPlay:Vd,blocking:Xd,capture:Vd,charSet:null,checked:Vd,cite:null,className:Xd,cols:Wd,colSpan:null,content:null,contentEditable:Gd,controls:Vd,controlsList:Xd,coords:Wd|Kd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Vd,defer:Vd,dir:null,dirName:null,disabled:Vd,download:Yd,draggable:Gd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Vd,formTarget:null,headers:Xd,height:Wd,hidden:Vd,high:Wd,href:null,hrefLang:null,htmlFor:Xd,httpEquiv:Xd,id:null,imageSizes:null,imageSrcSet:null,inert:Vd,inputMode:null,integrity:null,is:null,isMap:Vd,itemId:null,itemProp:Xd,itemRef:Xd,itemScope:Vd,itemType:Xd,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Vd,low:Wd,manifest:null,max:null,maxLength:Wd,media:null,method:null,min:null,minLength:Wd,multiple:Vd,muted:Vd,name:null,nonce:null,noModule:Vd,noValidate:Vd,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Vd,optimum:Wd,pattern:null,ping:Xd,placeholder:null,playsInline:Vd,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Vd,referrerPolicy:null,rel:Xd,required:Vd,reversed:Vd,rows:Wd,rowSpan:Wd,sandbox:Xd,scope:null,scoped:Vd,seamless:Vd,selected:Vd,shape:null,size:Wd,sizes:null,slot:null,span:Wd,spellCheck:Gd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Wd,step:null,style:null,tabIndex:Wd,target:null,title:null,translate:null,type:null,typeMustMatch:Vd,useMap:null,value:Gd,width:Wd,wrap:null,align:null,aLink:null,archive:Xd,axis:null,background:null,bgColor:null,border:Wd,borderColor:null,bottomMargin:Wd,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Vd,declare:Vd,event:null,face:null,frame:null,frameBorder:null,hSpace:Wd,leftMargin:Wd,link:null,longDesc:null,lowSrc:null,marginHeight:Wd,marginWidth:Wd,noResize:Vd,noHref:Vd,noShade:Vd,noWrap:Vd,object:null,profile:null,prompt:null,rev:null,rightMargin:Wd,rules:null,scheme:null,scrolling:Gd,standby:null,summary:null,text:null,topMargin:Wd,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Wd,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Vd,disableRemotePlayback:Vd,prefix:null,property:null,results:Wd,security:null,unselectable:null}});const fp=rp({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:lp,properties:{about:Qd,accentHeight:Wd,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Wd,amplitude:Wd,arabicForm:null,ascent:Wd,attributeName:null,attributeType:null,azimuth:Wd,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Wd,by:null,calcMode:null,capHeight:Wd,className:Xd,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Wd,diffuseConstant:Wd,direction:null,display:null,dur:null,divisor:Wd,dominantBaseline:null,download:Vd,dx:null,dy:null,edgeMode:null,editable:null,elevation:Wd,enableBackground:null,end:null,event:null,exponent:Wd,externalResourcesRequired:null,fill:null,fillOpacity:Wd,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Kd,g2:Kd,glyphName:Kd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Wd,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Wd,horizOriginX:Wd,horizOriginY:Wd,id:null,ideographic:Wd,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Wd,k:Wd,k1:Wd,k2:Wd,k3:Wd,k4:Wd,kernelMatrix:Qd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Wd,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Wd,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Wd,overlineThickness:Wd,paintOrder:null,panose1:null,path:null,pathLength:Wd,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xd,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Wd,pointsAtY:Wd,pointsAtZ:Wd,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qd,rev:Qd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qd,requiredFeatures:Qd,requiredFonts:Qd,requiredFormats:Qd,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Wd,specularExponent:Wd,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Wd,strikethroughThickness:Wd,string:null,stroke:null,strokeDashArray:Qd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Wd,strokeOpacity:Wd,strokeWidth:null,style:null,surfaceScale:Wd,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qd,tabIndex:Wd,tableValues:null,target:null,targetX:Wd,targetY:Wd,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Wd,underlineThickness:Wd,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Wd,values:null,vAlphabetic:Wd,vMathematical:Wd,vectorEffect:null,vHanging:Wd,vIdeographic:Wd,version:null,vertAdvY:Wd,vertOriginX:Wd,vertOriginY:Wd,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Wd,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});const hp=/^data[-\w.:]+$/i;const dp=/-[a-z]/g;const pp=/[A-Z]/g;function gp(e,t){const n=zd(t);let r=t;let i=Hd;if(n in e.normal){return e.property[e.normal[n]]}if(n.length>4&&n.slice(0,4)==="data"&&hp.test(t)){if(t.charAt(4)==="-"){const e=t.slice(5).replace(dp,bp);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!dp.test(e)){let n=e.replace(pp,mp);if(n.charAt(0)!=="-"){n="-"+n}t="data"+n}}i=ep}return new i(r,t)}function mp(e){return"-"+e.toLowerCase()}function bp(e){return e.charAt(1).toUpperCase()}const kp=Ud([op,ip,ap,up,cp],"html");const yp=Ud([op,ip,ap,up,fp],"svg");function wp(e){return e.join(" ").trim()}const Ep={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/"};const vp={}.hasOwnProperty;function Sp(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&vp.call(t,e)){const n=String(t[e]);i=vp.call(o,n)?o[n]:r.unknown}if(i){return i.call(this,t,...n)}}r.handlers=n.handlers||{};r.invalid=n.invalid;r.unknown=n.unknown;return r}const xp={};const Tp={}.hasOwnProperty;const Ap=Sp("type",{handlers:{root:Dp,element:Pp,text:Op,comment:_p,doctype:Rp}});function Cp(e,t){const n=t||xp;const r=n.space;return Ap(e,r==="svg"?yp:kp)}function Dp(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};n.childNodes=Ip(e.children,n,t);qp(e,n);return n}function Lp(e,t){const n={nodeName:"#document-fragment",childNodes:[]};n.childNodes=Ip(e.children,n,t);qp(e,n);return n}function Rp(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};qp(e,t);return t}function Op(e){const t={nodeName:"#text",value:e.value,parentNode:null};qp(e,t);return t}function _p(e){const t={nodeName:"#comment",data:e.value,parentNode:null};qp(e,t);return t}function Pp(e,t){const n=t;let r=n;if(e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"){r=yp}const i=[];let o;if(e.properties){for(o in e.properties){if(o!=="children"&&Tp.call(e.properties,o)){const t=Mp(r,o,e.properties[o]);if(t){i.push(t)}}}}const l=r.space;const s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Ep[l],childNodes:[],parentNode:null};s.childNodes=Ip(e.children,s,r);qp(e,s);if(e.tagName==="template"&&e.content){s.content=Lp(e.content,r)}return s}function Mp(e,t,n){const r=gp(e,t);if(n===false||n===null||n===undefined||typeof n==="number"&&Number.isNaN(n)||!n&&r.boolean){return}if(Array.isArray(n)){n=r.commaSeparated?Bd(n):wp(n)}const i={name:r.attribute,value:n===true?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const e=i.name.indexOf(":");if(e<0){i.prefix=""}else{i.name=i.name.slice(e+1);i.prefix=r.attribute.slice(0,e)}i.namespace=Ep[r.space]}return i}function Ip(e,t,n){let r=-1;const i=[];if(e){while(++r<e.length){const o=Ap(e[r],n);o.parentNode=t;i.push(o)}}return i}function qp(e,t){const n=e.position;if(n&&n.start&&n.end){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 Np=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];const Bp=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]);const Fp="�";var Up;(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["NUMBER_SIGN"]=35]="NUMBER_SIGN";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_F"]=70]="LATIN_CAPITAL_F";e[e["LATIN_CAPITAL_X"]=88]="LATIN_CAPITAL_X";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_F"]=102]="LATIN_SMALL_F";e[e["LATIN_SMALL_X"]=120]="LATIN_SMALL_X";e[e["LATIN_SMALL_Z"]=122]="LATIN_SMALL_Z";e[e["REPLACEMENT_CHARACTER"]=65533]="REPLACEMENT_CHARACTER"})(Up=Up||(Up={}));const zp={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Hp(e){return e>=55296&&e<=57343}function jp(e){return e>=56320&&e<=57343}function Vp(e,t){return(e-55296)*1024+9216+t}function Gp(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Yp(e){return e>=64976&&e<=65007||Bp.has(e)}var Wp;(function(e){e["controlCharacterInInputStream"]="control-character-in-input-stream";e["noncharacterInInputStream"]="noncharacter-in-input-stream";e["surrogateInInputStream"]="surrogate-in-input-stream";e["nonVoidHtmlElementStartTagWithTrailingSolidus"]="non-void-html-element-start-tag-with-trailing-solidus";e["endTagWithAttributes"]="end-tag-with-attributes";e["endTagWithTrailingSolidus"]="end-tag-with-trailing-solidus";e["unexpectedSolidusInTag"]="unexpected-solidus-in-tag";e["unexpectedNullCharacter"]="unexpected-null-character";e["unexpectedQuestionMarkInsteadOfTagName"]="unexpected-question-mark-instead-of-tag-name";e["invalidFirstCharacterOfTagName"]="invalid-first-character-of-tag-name";e["unexpectedEqualsSignBeforeAttributeName"]="unexpected-equals-sign-before-attribute-name";e["missingEndTagName"]="missing-end-tag-name";e["unexpectedCharacterInAttributeName"]="unexpected-character-in-attribute-name";e["unknownNamedCharacterReference"]="unknown-named-character-reference";e["missingSemicolonAfterCharacterReference"]="missing-semicolon-after-character-reference";e["unexpectedCharacterAfterDoctypeSystemIdentifier"]="unexpected-character-after-doctype-system-identifier";e["unexpectedCharacterInUnquotedAttributeValue"]="unexpected-character-in-unquoted-attribute-value";e["eofBeforeTagName"]="eof-before-tag-name";e["eofInTag"]="eof-in-tag";e["missingAttributeValue"]="missing-attribute-value";e["missingWhitespaceBetweenAttributes"]="missing-whitespace-between-attributes";e["missingWhitespaceAfterDoctypePublicKeyword"]="missing-whitespace-after-doctype-public-keyword";e["missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers"]="missing-whitespace-between-doctype-public-and-system-identifiers";e["missingWhitespaceAfterDoctypeSystemKeyword"]="missing-whitespace-after-doctype-system-keyword";e["missingQuoteBeforeDoctypePublicIdentifier"]="missing-quote-before-doctype-public-identifier";e["missingQuoteBeforeDoctypeSystemIdentifier"]="missing-quote-before-doctype-system-identifier";e["missingDoctypePublicIdentifier"]="missing-doctype-public-identifier";e["missingDoctypeSystemIdentifier"]="missing-doctype-system-identifier";e["abruptDoctypePublicIdentifier"]="abrupt-doctype-public-identifier";e["abruptDoctypeSystemIdentifier"]="abrupt-doctype-system-identifier";e["cdataInHtmlContent"]="cdata-in-html-content";e["incorrectlyOpenedComment"]="incorrectly-opened-comment";e["eofInScriptHtmlCommentLikeText"]="eof-in-script-html-comment-like-text";e["eofInDoctype"]="eof-in-doctype";e["nestedComment"]="nested-comment";e["abruptClosingOfEmptyComment"]="abrupt-closing-of-empty-comment";e["eofInComment"]="eof-in-comment";e["incorrectlyClosedComment"]="incorrectly-closed-comment";e["eofInCdata"]="eof-in-cdata";e["absenceOfDigitsInNumericCharacterReference"]="absence-of-digits-in-numeric-character-reference";e["nullCharacterReference"]="null-character-reference";e["surrogateCharacterReference"]="surrogate-character-reference";e["characterReferenceOutsideUnicodeRange"]="character-reference-outside-unicode-range";e["controlCharacterReference"]="control-character-reference";e["noncharacterCharacterReference"]="noncharacter-character-reference";e["missingWhitespaceBeforeDoctypeName"]="missing-whitespace-before-doctype-name";e["missingDoctypeName"]="missing-doctype-name";e["invalidCharacterSequenceAfterDoctypeName"]="invalid-character-sequence-after-doctype-name";e["duplicateAttribute"]="duplicate-attribute";e["nonConformingDoctype"]="non-conforming-doctype";e["missingDoctype"]="missing-doctype";e["misplacedDoctype"]="misplaced-doctype";e["endTagWithoutMatchingOpenElement"]="end-tag-without-matching-open-element";e["closingOfElementWithOpenChildElements"]="closing-of-element-with-open-child-elements";e["disallowedContentInNoscriptInHead"]="disallowed-content-in-noscript-in-head";e["openElementsLeftAfterEof"]="open-elements-left-after-eof";e["abandonedHeadElementChild"]="abandoned-head-element-child";e["misplacedStartTagForHeadElement"]="misplaced-start-tag-for-head-element";e["nestedNoscriptInHead"]="nested-noscript-in-head";e["eofInElementThatCanContainOnlyText"]="eof-in-element-that-can-contain-only-text"})(Wp=Wp||(Wp={}));const Xp=1<<16;class Kp{constructor(e){this.handler=e;this.html="";this.pos=-1;this.lastGapPos=-2;this.gapStack=[];this.skipNextNewLine=false;this.lastChunkWritten=false;this.endOfChunkHit=false;this.bufferWaterline=Xp;this.isEol=false;this.lineStartPos=0;this.droppedBufferSize=0;this.line=1;this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){if(this.handler.onParseError&&this.lastErrOffset!==this.offset){this.lastErrOffset=this.offset;this.handler.onParseError(this.getError(e))}}_addGap(){this.gapStack.push(this.lastGapPos);this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(jp(t)){this.pos++;this._addGap();return Vp(e,t)}}else if(!this.lastChunkWritten){this.endOfChunkHit=true;return Up.EOF}this._err(Wp.surrogateInInputStream);return e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){if(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(e,t){if(this.html.length>0){this.html+=e}else{this.html=e}this.endOfChunkHit=false;this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1);this.endOfChunkHit=false}startsWith(e,t){if(this.pos+e.length>this.html.length){this.endOfChunkHit=!this.lastChunkWritten;return false}if(t){return this.html.startsWith(e,this.pos)}for(let t=0;t<e.length;t++){const n=this.html.charCodeAt(this.pos+t)|32;if(n!==e.charCodeAt(t)){return false}}return true}peek(e){const t=this.pos+e;if(t>=this.html.length){this.endOfChunkHit=!this.lastChunkWritten;return Up.EOF}const n=this.html.charCodeAt(t);return n===Up.CARRIAGE_RETURN?Up.LINE_FEED:n}advance(){this.pos++;if(this.isEol){this.isEol=false;this.line++;this.lineStartPos=this.pos}if(this.pos>=this.html.length){this.endOfChunkHit=!this.lastChunkWritten;return Up.EOF}let e=this.html.charCodeAt(this.pos);if(e===Up.CARRIAGE_RETURN){this.isEol=true;this.skipNextNewLine=true;return Up.LINE_FEED}if(e===Up.LINE_FEED){this.isEol=true;if(this.skipNextNewLine){this.line--;this.skipNextNewLine=false;this._addGap();return this.advance()}}this.skipNextNewLine=false;if(Hp(e)){e=this._processSurrogate(e)}const t=this.handler.onParseError===null||e>31&&e<127||e===Up.LINE_FEED||e===Up.CARRIAGE_RETURN||e>159&&e<64976;if(!t){this._checkForProblematicCharacters(e)}return e}_checkForProblematicCharacters(e){if(Gp(e)){this._err(Wp.controlCharacterInInputStream)}else if(Yp(e)){this._err(Wp.noncharacterInInputStream)}}retreat(e){this.pos-=e;while(this.pos<this.lastGapPos){this.lastGapPos=this.gapStack.pop();this.pos--}this.isEol=false}}var Qp;(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"})(Qp=Qp||(Qp={}));function Zp(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 $p=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䄼ìࢰâ┩;䐻Ȁ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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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((e=>e.charCodeAt(0))));new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Jp;(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"})(Jp||(Jp={}));var eg;(function(e){e[e["VALUE_LENGTH"]=49152]="VALUE_LENGTH";e[e["BRANCH_LENGTH"]=16256]="BRANCH_LENGTH";e[e["JUMP_TABLE"]=127]="JUMP_TABLE"})(eg||(eg={}));var tg;(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"})(tg||(tg={}));var ng;(function(e){e[e["Legacy"]=0]="Legacy";e[e["Strict"]=1]="Strict";e[e["Attribute"]=2]="Attribute"})(ng||(ng={}));function rg(e,t,n,r){const i=(t&eg.BRANCH_LENGTH)>>7;const o=t&eg.JUMP_TABLE;if(i===0){return o!==0&&r===o?n:-1}if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let l=n;let s=l+i-1;while(l<=s){const t=l+s>>>1;const n=e[t];if(n<r){l=t+1}else if(n>r){s=t-1}else{return e[t+i]}}return-1}var ig;(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/"})(ig=ig||(ig={}));var og;(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"})(og=og||(og={}));var lg;(function(e){e["NO_QUIRKS"]="no-quirks";e["QUIRKS"]="quirks";e["LIMITED_QUIRKS"]="limited-quirks"})(lg=lg||(lg={}));var sg;(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["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"})(sg=sg||(sg={}));var ag;(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["SECTION"]=94]="SECTION";e[e["SELECT"]=95]="SELECT";e[e["SOURCE"]=96]="SOURCE";e[e["SMALL"]=97]="SMALL";e[e["SPAN"]=98]="SPAN";e[e["STRIKE"]=99]="STRIKE";e[e["STRONG"]=100]="STRONG";e[e["STYLE"]=101]="STYLE";e[e["SUB"]=102]="SUB";e[e["SUMMARY"]=103]="SUMMARY";e[e["SUP"]=104]="SUP";e[e["TABLE"]=105]="TABLE";e[e["TBODY"]=106]="TBODY";e[e["TEMPLATE"]=107]="TEMPLATE";e[e["TEXTAREA"]=108]="TEXTAREA";e[e["TFOOT"]=109]="TFOOT";e[e["TD"]=110]="TD";e[e["TH"]=111]="TH";e[e["THEAD"]=112]="THEAD";e[e["TITLE"]=113]="TITLE";e[e["TR"]=114]="TR";e[e["TRACK"]=115]="TRACK";e[e["TT"]=116]="TT";e[e["U"]=117]="U";e[e["UL"]=118]="UL";e[e["SVG"]=119]="SVG";e[e["VAR"]=120]="VAR";e[e["WBR"]=121]="WBR";e[e["XMP"]=122]="XMP"})(ag=ag||(ag={}));const ug=new Map([[sg.A,ag.A],[sg.ADDRESS,ag.ADDRESS],[sg.ANNOTATION_XML,ag.ANNOTATION_XML],[sg.APPLET,ag.APPLET],[sg.AREA,ag.AREA],[sg.ARTICLE,ag.ARTICLE],[sg.ASIDE,ag.ASIDE],[sg.B,ag.B],[sg.BASE,ag.BASE],[sg.BASEFONT,ag.BASEFONT],[sg.BGSOUND,ag.BGSOUND],[sg.BIG,ag.BIG],[sg.BLOCKQUOTE,ag.BLOCKQUOTE],[sg.BODY,ag.BODY],[sg.BR,ag.BR],[sg.BUTTON,ag.BUTTON],[sg.CAPTION,ag.CAPTION],[sg.CENTER,ag.CENTER],[sg.CODE,ag.CODE],[sg.COL,ag.COL],[sg.COLGROUP,ag.COLGROUP],[sg.DD,ag.DD],[sg.DESC,ag.DESC],[sg.DETAILS,ag.DETAILS],[sg.DIALOG,ag.DIALOG],[sg.DIR,ag.DIR],[sg.DIV,ag.DIV],[sg.DL,ag.DL],[sg.DT,ag.DT],[sg.EM,ag.EM],[sg.EMBED,ag.EMBED],[sg.FIELDSET,ag.FIELDSET],[sg.FIGCAPTION,ag.FIGCAPTION],[sg.FIGURE,ag.FIGURE],[sg.FONT,ag.FONT],[sg.FOOTER,ag.FOOTER],[sg.FOREIGN_OBJECT,ag.FOREIGN_OBJECT],[sg.FORM,ag.FORM],[sg.FRAME,ag.FRAME],[sg.FRAMESET,ag.FRAMESET],[sg.H1,ag.H1],[sg.H2,ag.H2],[sg.H3,ag.H3],[sg.H4,ag.H4],[sg.H5,ag.H5],[sg.H6,ag.H6],[sg.HEAD,ag.HEAD],[sg.HEADER,ag.HEADER],[sg.HGROUP,ag.HGROUP],[sg.HR,ag.HR],[sg.HTML,ag.HTML],[sg.I,ag.I],[sg.IMG,ag.IMG],[sg.IMAGE,ag.IMAGE],[sg.INPUT,ag.INPUT],[sg.IFRAME,ag.IFRAME],[sg.KEYGEN,ag.KEYGEN],[sg.LABEL,ag.LABEL],[sg.LI,ag.LI],[sg.LINK,ag.LINK],[sg.LISTING,ag.LISTING],[sg.MAIN,ag.MAIN],[sg.MALIGNMARK,ag.MALIGNMARK],[sg.MARQUEE,ag.MARQUEE],[sg.MATH,ag.MATH],[sg.MENU,ag.MENU],[sg.META,ag.META],[sg.MGLYPH,ag.MGLYPH],[sg.MI,ag.MI],[sg.MO,ag.MO],[sg.MN,ag.MN],[sg.MS,ag.MS],[sg.MTEXT,ag.MTEXT],[sg.NAV,ag.NAV],[sg.NOBR,ag.NOBR],[sg.NOFRAMES,ag.NOFRAMES],[sg.NOEMBED,ag.NOEMBED],[sg.NOSCRIPT,ag.NOSCRIPT],[sg.OBJECT,ag.OBJECT],[sg.OL,ag.OL],[sg.OPTGROUP,ag.OPTGROUP],[sg.OPTION,ag.OPTION],[sg.P,ag.P],[sg.PARAM,ag.PARAM],[sg.PLAINTEXT,ag.PLAINTEXT],[sg.PRE,ag.PRE],[sg.RB,ag.RB],[sg.RP,ag.RP],[sg.RT,ag.RT],[sg.RTC,ag.RTC],[sg.RUBY,ag.RUBY],[sg.S,ag.S],[sg.SCRIPT,ag.SCRIPT],[sg.SECTION,ag.SECTION],[sg.SELECT,ag.SELECT],[sg.SOURCE,ag.SOURCE],[sg.SMALL,ag.SMALL],[sg.SPAN,ag.SPAN],[sg.STRIKE,ag.STRIKE],[sg.STRONG,ag.STRONG],[sg.STYLE,ag.STYLE],[sg.SUB,ag.SUB],[sg.SUMMARY,ag.SUMMARY],[sg.SUP,ag.SUP],[sg.TABLE,ag.TABLE],[sg.TBODY,ag.TBODY],[sg.TEMPLATE,ag.TEMPLATE],[sg.TEXTAREA,ag.TEXTAREA],[sg.TFOOT,ag.TFOOT],[sg.TD,ag.TD],[sg.TH,ag.TH],[sg.THEAD,ag.THEAD],[sg.TITLE,ag.TITLE],[sg.TR,ag.TR],[sg.TRACK,ag.TRACK],[sg.TT,ag.TT],[sg.U,ag.U],[sg.UL,ag.UL],[sg.SVG,ag.SVG],[sg.VAR,ag.VAR],[sg.WBR,ag.WBR],[sg.XMP,ag.XMP]]);function cg(e){var t;return(t=ug.get(e))!==null&&t!==void 0?t:ag.UNKNOWN}const fg=ag;const hg={[ig.HTML]:new Set([fg.ADDRESS,fg.APPLET,fg.AREA,fg.ARTICLE,fg.ASIDE,fg.BASE,fg.BASEFONT,fg.BGSOUND,fg.BLOCKQUOTE,fg.BODY,fg.BR,fg.BUTTON,fg.CAPTION,fg.CENTER,fg.COL,fg.COLGROUP,fg.DD,fg.DETAILS,fg.DIR,fg.DIV,fg.DL,fg.DT,fg.EMBED,fg.FIELDSET,fg.FIGCAPTION,fg.FIGURE,fg.FOOTER,fg.FORM,fg.FRAME,fg.FRAMESET,fg.H1,fg.H2,fg.H3,fg.H4,fg.H5,fg.H6,fg.HEAD,fg.HEADER,fg.HGROUP,fg.HR,fg.HTML,fg.IFRAME,fg.IMG,fg.INPUT,fg.LI,fg.LINK,fg.LISTING,fg.MAIN,fg.MARQUEE,fg.MENU,fg.META,fg.NAV,fg.NOEMBED,fg.NOFRAMES,fg.NOSCRIPT,fg.OBJECT,fg.OL,fg.P,fg.PARAM,fg.PLAINTEXT,fg.PRE,fg.SCRIPT,fg.SECTION,fg.SELECT,fg.SOURCE,fg.STYLE,fg.SUMMARY,fg.TABLE,fg.TBODY,fg.TD,fg.TEMPLATE,fg.TEXTAREA,fg.TFOOT,fg.TH,fg.THEAD,fg.TITLE,fg.TR,fg.TRACK,fg.UL,fg.WBR,fg.XMP]),[ig.MATHML]:new Set([fg.MI,fg.MO,fg.MN,fg.MS,fg.MTEXT,fg.ANNOTATION_XML]),[ig.SVG]:new Set([fg.TITLE,fg.FOREIGN_OBJECT,fg.DESC]),[ig.XLINK]:new Set,[ig.XML]:new Set,[ig.XMLNS]:new Set};function dg(e){return e===fg.H1||e===fg.H2||e===fg.H3||e===fg.H4||e===fg.H5||e===fg.H6}const pg=new Map([[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]]);var gg;(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["NAMED_CHARACTER_REFERENCE"]=72]="NAMED_CHARACTER_REFERENCE";e[e["AMBIGUOUS_AMPERSAND"]=73]="AMBIGUOUS_AMPERSAND";e[e["NUMERIC_CHARACTER_REFERENCE"]=74]="NUMERIC_CHARACTER_REFERENCE";e[e["HEXADEMICAL_CHARACTER_REFERENCE_START"]=75]="HEXADEMICAL_CHARACTER_REFERENCE_START";e[e["HEXADEMICAL_CHARACTER_REFERENCE"]=76]="HEXADEMICAL_CHARACTER_REFERENCE";e[e["DECIMAL_CHARACTER_REFERENCE"]=77]="DECIMAL_CHARACTER_REFERENCE";e[e["NUMERIC_CHARACTER_REFERENCE_END"]=78]="NUMERIC_CHARACTER_REFERENCE_END"})(gg||(gg={}));const mg={DATA:gg.DATA,RCDATA:gg.RCDATA,RAWTEXT:gg.RAWTEXT,SCRIPT_DATA:gg.SCRIPT_DATA,PLAINTEXT:gg.PLAINTEXT,CDATA_SECTION:gg.CDATA_SECTION};function bg(e){return e>=Up.DIGIT_0&&e<=Up.DIGIT_9}function kg(e){return e>=Up.LATIN_CAPITAL_A&&e<=Up.LATIN_CAPITAL_Z}function yg(e){return e>=Up.LATIN_SMALL_A&&e<=Up.LATIN_SMALL_Z}function wg(e){return yg(e)||kg(e)}function Eg(e){return wg(e)||bg(e)}function vg(e){return e>=Up.LATIN_CAPITAL_A&&e<=Up.LATIN_CAPITAL_F}function Sg(e){return e>=Up.LATIN_SMALL_A&&e<=Up.LATIN_SMALL_F}function xg(e){return bg(e)||vg(e)||Sg(e)}function Tg(e){return e+32}function Ag(e){return e===Up.SPACE||e===Up.LINE_FEED||e===Up.TABULATION||e===Up.FORM_FEED}function Cg(e){return e===Up.EQUALS_SIGN||Eg(e)}function Dg(e){return Ag(e)||e===Up.SOLIDUS||e===Up.GREATER_THAN_SIGN}class Lg{constructor(e,t){this.options=e;this.handler=t;this.paused=false;this.inLoop=false;this.inForeignNode=false;this.lastStartTagName="";this.active=false;this.state=gg.DATA;this.returnState=gg.DATA;this.charRefCode=-1;this.consumedAfterSnapshot=-1;this.currentCharacterToken=null;this.currentToken=null;this.currentAttr={name:"",value:""};this.preprocessor=new Kp(t);this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;(n=(t=this.handler).onParseError)===null||n===void 0?void 0:n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){if(!this.options.sourceCodeLocationInfo){return null}return{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}}_runParsingLoop(){if(this.inLoop)return;this.inLoop=true;while(this.active&&!this.paused){this.consumedAfterSnapshot=0;const e=this._consume();if(!this._ensureHibernation()){this._callState(e)}}this.inLoop=false}pause(){this.paused=true}resume(e){if(!this.paused){throw new Error("Parser was already resumed")}this.paused=false;if(this.inLoop)return;this._runParsingLoop();if(!this.paused){e===null||e===void 0?void 0:e()}}write(e,t,n){this.active=true;this.preprocessor.write(e,t);this._runParsingLoop();if(!this.paused){n===null||n===void 0?void 0:n()}}insertHtmlAtCurrentPos(e){this.active=true;this.preprocessor.insertHtmlAtCurrentPos(e);this._runParsingLoop()}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){this._unconsume(this.consumedAfterSnapshot);this.active=false;return true}return false}_consume(){this.consumedAfterSnapshot++;return this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e;this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e;this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++){this.preprocessor.advance()}}_consumeSequenceIfMatch(e,t){if(this.preprocessor.startsWith(e,t)){this._advanceBy(e.length-1);return true}return false}_createStartTagToken(){this.currentToken={type:Qp.START_TAG,tagName:"",tagID:ag.UNKNOWN,selfClosing:false,ackSelfClosing:false,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Qp.END_TAG,tagName:"",tagID:ag.UNKNOWN,selfClosing:false,ackSelfClosing:false,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Qp.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Qp.DOCTYPE,name:e,forceQuirks:false,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""};this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;var t;const n=this.currentToken;if(Zp(n,this.currentAttr.name)===null){n.attrs.push(this.currentAttr);if(n.location&&this.currentLocation){const r=(e=(t=n.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation;this._leaveAttrValue()}}else{this._err(Wp.duplicateAttribute)}}_leaveAttrValue(){if(this.currentLocation){this.currentLocation.endLine=this.preprocessor.line;this.currentLocation.endCol=this.preprocessor.col;this.currentLocation.endOffset=this.preprocessor.offset}}prepareToken(e){this._emitCurrentCharacterToken(e.location);this.currentToken=null;if(e.location){e.location.endLine=this.preprocessor.line;e.location.endCol=this.preprocessor.col+1;e.location.endOffset=this.preprocessor.offset+1}this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e);e.tagID=cg(e.tagName);if(e.type===Qp.START_TAG){this.lastStartTagName=e.tagName;this.handler.onStartTag(e)}else{if(e.attrs.length>0){this._err(Wp.endTagWithAttributes)}if(e.selfClosing){this._err(Wp.endTagWithTrailingSolidus)}this.handler.onEndTag(e)}this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e);this.handler.onComment(e);this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e);this.handler.onDoctype(e);this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){if(e&&this.currentCharacterToken.location){this.currentCharacterToken.location.endLine=e.startLine;this.currentCharacterToken.location.endCol=e.startCol;this.currentCharacterToken.location.endOffset=e.startOffset}switch(this.currentCharacterToken.type){case Qp.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Qp.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Qp.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);if(e){e.endLine=e.startLine;e.endCol=e.startCol;e.endOffset=e.startOffset}this._emitCurrentCharacterToken(e);this.handler.onEof({type:Qp.EOF,location:e});this.active=false}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e){this.currentLocation=this.getCurrentLocation(0);this._emitCurrentCharacterToken(this.currentLocation);this.preprocessor.dropParsedChunk()}else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Ag(e)?Qp.WHITESPACE_CHARACTER:e===Up.NULL?Qp.NULL_CHARACTER:Qp.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Qp.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null;let n=0;let r=false;for(let i=0,o=$p[0];i>=0;e=this._consume()){i=rg($p,o,i+1,e);if(i<0)break;n+=1;o=$p[i];const l=o&eg.VALUE_LENGTH;if(l){const o=(l>>14)-1;if(e!==Up.SEMICOLON&&this._isCharacterReferenceInAttribute()&&Cg(this.preprocessor.peek(1))){t=[Up.AMPERSAND];i+=o}else{t=o===0?[$p[i]&~eg.VALUE_LENGTH]:o===1?[$p[++i]]:[$p[++i],$p[++i]];n=0;r=e!==Up.SEMICOLON}if(o===0){this._consume();break}}}this._unconsume(n);if(r&&!this.preprocessor.endOfChunkHit){this._err(Wp.missingSemicolonAfterCharacterReference)}this._unconsume(1);return t}_isCharacterReferenceInAttribute(){return this.returnState===gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===gg.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===gg.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){if(this._isCharacterReferenceInAttribute()){this.currentAttr.value+=String.fromCodePoint(e)}else{this._emitCodePoint(e)}}_callState(e){switch(this.state){case gg.DATA:{this._stateData(e);break}case gg.RCDATA:{this._stateRcdata(e);break}case gg.RAWTEXT:{this._stateRawtext(e);break}case gg.SCRIPT_DATA:{this._stateScriptData(e);break}case gg.PLAINTEXT:{this._statePlaintext(e);break}case gg.TAG_OPEN:{this._stateTagOpen(e);break}case gg.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case gg.TAG_NAME:{this._stateTagName(e);break}case gg.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case gg.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case gg.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case gg.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case gg.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case gg.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case gg.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case gg.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case gg.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case gg.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case gg.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case gg.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case gg.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case gg.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case gg.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case gg.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case gg.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case gg.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case gg.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case gg.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case gg.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case gg.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case gg.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case gg.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case gg.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case gg.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case gg.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case gg.BOGUS_COMMENT:{this._stateBogusComment(e);break}case gg.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case gg.COMMENT_START:{this._stateCommentStart(e);break}case gg.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case gg.COMMENT:{this._stateComment(e);break}case gg.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case gg.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case gg.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case gg.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case gg.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case gg.COMMENT_END:{this._stateCommentEnd(e);break}case gg.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case gg.DOCTYPE:{this._stateDoctype(e);break}case gg.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case gg.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case gg.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case gg.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case gg.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case gg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case gg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case gg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case gg.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case gg.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case gg.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case gg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case gg.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case gg.CDATA_SECTION:{this._stateCdataSection(e);break}case gg.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case gg.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case gg.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case gg.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case gg.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case gg.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case gg.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case gg.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case gg.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case gg.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:{throw new Error("Unknown state")}}}_stateData(e){switch(e){case Up.LESS_THAN_SIGN:{this.state=gg.TAG_OPEN;break}case Up.AMPERSAND:{this.returnState=gg.DATA;this.state=gg.CHARACTER_REFERENCE;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._emitCodePoint(e);break}case Up.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateRcdata(e){switch(e){case Up.AMPERSAND:{this.returnState=gg.RCDATA;this.state=gg.CHARACTER_REFERENCE;break}case Up.LESS_THAN_SIGN:{this.state=gg.RCDATA_LESS_THAN_SIGN;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._emitChars(Fp);break}case Up.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateRawtext(e){switch(e){case Up.LESS_THAN_SIGN:{this.state=gg.RAWTEXT_LESS_THAN_SIGN;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._emitChars(Fp);break}case Up.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateScriptData(e){switch(e){case Up.LESS_THAN_SIGN:{this.state=gg.SCRIPT_DATA_LESS_THAN_SIGN;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._emitChars(Fp);break}case Up.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_statePlaintext(e){switch(e){case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._emitChars(Fp);break}case Up.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateTagOpen(e){if(wg(e)){this._createStartTagToken();this.state=gg.TAG_NAME;this._stateTagName(e)}else switch(e){case Up.EXCLAMATION_MARK:{this.state=gg.MARKUP_DECLARATION_OPEN;break}case Up.SOLIDUS:{this.state=gg.END_TAG_OPEN;break}case Up.QUESTION_MARK:{this._err(Wp.unexpectedQuestionMarkInsteadOfTagName);this._createCommentToken(1);this.state=gg.BOGUS_COMMENT;this._stateBogusComment(e);break}case Up.EOF:{this._err(Wp.eofBeforeTagName);this._emitChars("<");this._emitEOFToken();break}default:{this._err(Wp.invalidFirstCharacterOfTagName);this._emitChars("<");this.state=gg.DATA;this._stateData(e)}}}_stateEndTagOpen(e){if(wg(e)){this._createEndTagToken();this.state=gg.TAG_NAME;this._stateTagName(e)}else switch(e){case Up.GREATER_THAN_SIGN:{this._err(Wp.missingEndTagName);this.state=gg.DATA;break}case Up.EOF:{this._err(Wp.eofBeforeTagName);this._emitChars("</");this._emitEOFToken();break}default:{this._err(Wp.invalidFirstCharacterOfTagName);this._createCommentToken(2);this.state=gg.BOGUS_COMMENT;this._stateBogusComment(e)}}}_stateTagName(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this.state=gg.BEFORE_ATTRIBUTE_NAME;break}case Up.SOLIDUS:{this.state=gg.SELF_CLOSING_START_TAG;break}case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;this.emitCurrentTagToken();break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.tagName+=Fp;break}case Up.EOF:{this._err(Wp.eofInTag);this._emitEOFToken();break}default:{t.tagName+=String.fromCodePoint(kg(e)?Tg(e):e)}}}_stateRcdataLessThanSign(e){if(e===Up.SOLIDUS){this.state=gg.RCDATA_END_TAG_OPEN}else{this._emitChars("<");this.state=gg.RCDATA;this._stateRcdata(e)}}_stateRcdataEndTagOpen(e){if(wg(e)){this.state=gg.RCDATA_END_TAG_NAME;this._stateRcdataEndTagName(e)}else{this._emitChars("</");this.state=gg.RCDATA;this._stateRcdata(e)}}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,false)){return!this._ensureHibernation()}this._createEndTagToken();const t=this.currentToken;t.tagName=this.lastStartTagName;const n=this.preprocessor.peek(this.lastStartTagName.length);switch(n){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this._advanceBy(this.lastStartTagName.length);this.state=gg.BEFORE_ATTRIBUTE_NAME;return false}case Up.SOLIDUS:{this._advanceBy(this.lastStartTagName.length);this.state=gg.SELF_CLOSING_START_TAG;return false}case Up.GREATER_THAN_SIGN:{this._advanceBy(this.lastStartTagName.length);this.emitCurrentTagToken();this.state=gg.DATA;return false}default:{return!this._ensureHibernation()}}}_stateRcdataEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=gg.RCDATA;this._stateRcdata(e)}}_stateRawtextLessThanSign(e){if(e===Up.SOLIDUS){this.state=gg.RAWTEXT_END_TAG_OPEN}else{this._emitChars("<");this.state=gg.RAWTEXT;this._stateRawtext(e)}}_stateRawtextEndTagOpen(e){if(wg(e)){this.state=gg.RAWTEXT_END_TAG_NAME;this._stateRawtextEndTagName(e)}else{this._emitChars("</");this.state=gg.RAWTEXT;this._stateRawtext(e)}}_stateRawtextEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=gg.RAWTEXT;this._stateRawtext(e)}}_stateScriptDataLessThanSign(e){switch(e){case Up.SOLIDUS:{this.state=gg.SCRIPT_DATA_END_TAG_OPEN;break}case Up.EXCLAMATION_MARK:{this.state=gg.SCRIPT_DATA_ESCAPE_START;this._emitChars("<!");break}default:{this._emitChars("<");this.state=gg.SCRIPT_DATA;this._stateScriptData(e)}}}_stateScriptDataEndTagOpen(e){if(wg(e)){this.state=gg.SCRIPT_DATA_END_TAG_NAME;this._stateScriptDataEndTagName(e)}else{this._emitChars("</");this.state=gg.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=gg.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEscapeStart(e){if(e===Up.HYPHEN_MINUS){this.state=gg.SCRIPT_DATA_ESCAPE_START_DASH;this._emitChars("-")}else{this.state=gg.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEscapeStartDash(e){if(e===Up.HYPHEN_MINUS){this.state=gg.SCRIPT_DATA_ESCAPED_DASH_DASH;this._emitChars("-")}else{this.state=gg.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEscaped(e){switch(e){case Up.HYPHEN_MINUS:{this.state=gg.SCRIPT_DATA_ESCAPED_DASH;this._emitChars("-");break}case Up.LESS_THAN_SIGN:{this.state=gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._emitChars(Fp);break}case Up.EOF:{this._err(Wp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateScriptDataEscapedDash(e){switch(e){case Up.HYPHEN_MINUS:{this.state=gg.SCRIPT_DATA_ESCAPED_DASH_DASH;this._emitChars("-");break}case Up.LESS_THAN_SIGN:{this.state=gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.state=gg.SCRIPT_DATA_ESCAPED;this._emitChars(Fp);break}case Up.EOF:{this._err(Wp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=gg.SCRIPT_DATA_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataEscapedDashDash(e){switch(e){case Up.HYPHEN_MINUS:{this._emitChars("-");break}case Up.LESS_THAN_SIGN:{this.state=gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Up.GREATER_THAN_SIGN:{this.state=gg.SCRIPT_DATA;this._emitChars(">");break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.state=gg.SCRIPT_DATA_ESCAPED;this._emitChars(Fp);break}case Up.EOF:{this._err(Wp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=gg.SCRIPT_DATA_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataEscapedLessThanSign(e){if(e===Up.SOLIDUS){this.state=gg.SCRIPT_DATA_ESCAPED_END_TAG_OPEN}else if(wg(e)){this._emitChars("<");this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPE_START;this._stateScriptDataDoubleEscapeStart(e)}else{this._emitChars("<");this.state=gg.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataEscapedEndTagOpen(e){if(wg(e)){this.state=gg.SCRIPT_DATA_ESCAPED_END_TAG_NAME;this._stateScriptDataEscapedEndTagName(e)}else{this._emitChars("</");this.state=gg.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataEscapedEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=gg.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(zp.SCRIPT,false)&&Dg(this.preprocessor.peek(zp.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<zp.SCRIPT.length;e++){this._emitCodePoint(this._consume())}this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED}else if(!this._ensureHibernation()){this.state=gg.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataDoubleEscaped(e){switch(e){case Up.HYPHEN_MINUS:{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH;this._emitChars("-");break}case Up.LESS_THAN_SIGN:{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;this._emitChars("<");break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._emitChars(Fp);break}case Up.EOF:{this._err(Wp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateScriptDataDoubleEscapedDash(e){switch(e){case Up.HYPHEN_MINUS:{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH;this._emitChars("-");break}case Up.LESS_THAN_SIGN:{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;this._emitChars("<");break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitChars(Fp);break}case Up.EOF:{this._err(Wp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case Up.HYPHEN_MINUS:{this._emitChars("-");break}case Up.LESS_THAN_SIGN:{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;this._emitChars("<");break}case Up.GREATER_THAN_SIGN:{this.state=gg.SCRIPT_DATA;this._emitChars(">");break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitChars(Fp);break}case Up.EOF:{this._err(Wp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataDoubleEscapedLessThanSign(e){if(e===Up.SOLIDUS){this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPE_END;this._emitChars("/")}else{this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED;this._stateScriptDataDoubleEscaped(e)}}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(zp.SCRIPT,false)&&Dg(this.preprocessor.peek(zp.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<zp.SCRIPT.length;e++){this._emitCodePoint(this._consume())}this.state=gg.SCRIPT_DATA_ESCAPED}else if(!this._ensureHibernation()){this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED;this._stateScriptDataDoubleEscaped(e)}}_stateBeforeAttributeName(e){switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.SOLIDUS:case Up.GREATER_THAN_SIGN:case Up.EOF:{this.state=gg.AFTER_ATTRIBUTE_NAME;this._stateAfterAttributeName(e);break}case Up.EQUALS_SIGN:{this._err(Wp.unexpectedEqualsSignBeforeAttributeName);this._createAttr("=");this.state=gg.ATTRIBUTE_NAME;break}default:{this._createAttr("");this.state=gg.ATTRIBUTE_NAME;this._stateAttributeName(e)}}}_stateAttributeName(e){switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:case Up.SOLIDUS:case Up.GREATER_THAN_SIGN:case Up.EOF:{this._leaveAttrName();this.state=gg.AFTER_ATTRIBUTE_NAME;this._stateAfterAttributeName(e);break}case Up.EQUALS_SIGN:{this._leaveAttrName();this.state=gg.BEFORE_ATTRIBUTE_VALUE;break}case Up.QUOTATION_MARK:case Up.APOSTROPHE:case Up.LESS_THAN_SIGN:{this._err(Wp.unexpectedCharacterInAttributeName);this.currentAttr.name+=String.fromCodePoint(e);break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.currentAttr.name+=Fp;break}default:{this.currentAttr.name+=String.fromCodePoint(kg(e)?Tg(e):e)}}}_stateAfterAttributeName(e){switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.SOLIDUS:{this.state=gg.SELF_CLOSING_START_TAG;break}case Up.EQUALS_SIGN:{this.state=gg.BEFORE_ATTRIBUTE_VALUE;break}case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;this.emitCurrentTagToken();break}case Up.EOF:{this._err(Wp.eofInTag);this._emitEOFToken();break}default:{this._createAttr("");this.state=gg.ATTRIBUTE_NAME;this._stateAttributeName(e)}}}_stateBeforeAttributeValue(e){switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.QUOTATION_MARK:{this.state=gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Up.APOSTROPHE:{this.state=gg.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.missingAttributeValue);this.state=gg.DATA;this.emitCurrentTagToken();break}default:{this.state=gg.ATTRIBUTE_VALUE_UNQUOTED;this._stateAttributeValueUnquoted(e)}}}_stateAttributeValueDoubleQuoted(e){switch(e){case Up.QUOTATION_MARK:{this.state=gg.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Up.AMPERSAND:{this.returnState=gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED;this.state=gg.CHARACTER_REFERENCE;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.currentAttr.value+=Fp;break}case Up.EOF:{this._err(Wp.eofInTag);this._emitEOFToken();break}default:{this.currentAttr.value+=String.fromCodePoint(e)}}}_stateAttributeValueSingleQuoted(e){switch(e){case Up.APOSTROPHE:{this.state=gg.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Up.AMPERSAND:{this.returnState=gg.ATTRIBUTE_VALUE_SINGLE_QUOTED;this.state=gg.CHARACTER_REFERENCE;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.currentAttr.value+=Fp;break}case Up.EOF:{this._err(Wp.eofInTag);this._emitEOFToken();break}default:{this.currentAttr.value+=String.fromCodePoint(e)}}}_stateAttributeValueUnquoted(e){switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this._leaveAttrValue();this.state=gg.BEFORE_ATTRIBUTE_NAME;break}case Up.AMPERSAND:{this.returnState=gg.ATTRIBUTE_VALUE_UNQUOTED;this.state=gg.CHARACTER_REFERENCE;break}case Up.GREATER_THAN_SIGN:{this._leaveAttrValue();this.state=gg.DATA;this.emitCurrentTagToken();break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this.currentAttr.value+=Fp;break}case Up.QUOTATION_MARK:case Up.APOSTROPHE:case Up.LESS_THAN_SIGN:case Up.EQUALS_SIGN:case Up.GRAVE_ACCENT:{this._err(Wp.unexpectedCharacterInUnquotedAttributeValue);this.currentAttr.value+=String.fromCodePoint(e);break}case Up.EOF:{this._err(Wp.eofInTag);this._emitEOFToken();break}default:{this.currentAttr.value+=String.fromCodePoint(e)}}}_stateAfterAttributeValueQuoted(e){switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this._leaveAttrValue();this.state=gg.BEFORE_ATTRIBUTE_NAME;break}case Up.SOLIDUS:{this._leaveAttrValue();this.state=gg.SELF_CLOSING_START_TAG;break}case Up.GREATER_THAN_SIGN:{this._leaveAttrValue();this.state=gg.DATA;this.emitCurrentTagToken();break}case Up.EOF:{this._err(Wp.eofInTag);this._emitEOFToken();break}default:{this._err(Wp.missingWhitespaceBetweenAttributes);this.state=gg.BEFORE_ATTRIBUTE_NAME;this._stateBeforeAttributeName(e)}}}_stateSelfClosingStartTag(e){switch(e){case Up.GREATER_THAN_SIGN:{const e=this.currentToken;e.selfClosing=true;this.state=gg.DATA;this.emitCurrentTagToken();break}case Up.EOF:{this._err(Wp.eofInTag);this._emitEOFToken();break}default:{this._err(Wp.unexpectedSolidusInTag);this.state=gg.BEFORE_ATTRIBUTE_NAME;this._stateBeforeAttributeName(e)}}}_stateBogusComment(e){const t=this.currentToken;switch(e){case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;this.emitCurrentComment(t);break}case Up.EOF:{this.emitCurrentComment(t);this._emitEOFToken();break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.data+=Fp;break}default:{t.data+=String.fromCodePoint(e)}}}_stateMarkupDeclarationOpen(e){if(this._consumeSequenceIfMatch(zp.DASH_DASH,true)){this._createCommentToken(zp.DASH_DASH.length+1);this.state=gg.COMMENT_START}else if(this._consumeSequenceIfMatch(zp.DOCTYPE,false)){this.currentLocation=this.getCurrentLocation(zp.DOCTYPE.length+1);this.state=gg.DOCTYPE}else if(this._consumeSequenceIfMatch(zp.CDATA_START,true)){if(this.inForeignNode){this.state=gg.CDATA_SECTION}else{this._err(Wp.cdataInHtmlContent);this._createCommentToken(zp.CDATA_START.length+1);this.currentToken.data="[CDATA[";this.state=gg.BOGUS_COMMENT}}else if(!this._ensureHibernation()){this._err(Wp.incorrectlyOpenedComment);this._createCommentToken(2);this.state=gg.BOGUS_COMMENT;this._stateBogusComment(e)}}_stateCommentStart(e){switch(e){case Up.HYPHEN_MINUS:{this.state=gg.COMMENT_START_DASH;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.abruptClosingOfEmptyComment);this.state=gg.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:{this.state=gg.COMMENT;this._stateComment(e)}}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case Up.HYPHEN_MINUS:{this.state=gg.COMMENT_END;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.abruptClosingOfEmptyComment);this.state=gg.DATA;this.emitCurrentComment(t);break}case Up.EOF:{this._err(Wp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="-";this.state=gg.COMMENT;this._stateComment(e)}}}_stateComment(e){const t=this.currentToken;switch(e){case Up.HYPHEN_MINUS:{this.state=gg.COMMENT_END_DASH;break}case Up.LESS_THAN_SIGN:{t.data+="<";this.state=gg.COMMENT_LESS_THAN_SIGN;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.data+=Fp;break}case Up.EOF:{this._err(Wp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+=String.fromCodePoint(e)}}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case Up.EXCLAMATION_MARK:{t.data+="!";this.state=gg.COMMENT_LESS_THAN_SIGN_BANG;break}case Up.LESS_THAN_SIGN:{t.data+="<";break}default:{this.state=gg.COMMENT;this._stateComment(e)}}}_stateCommentLessThanSignBang(e){if(e===Up.HYPHEN_MINUS){this.state=gg.COMMENT_LESS_THAN_SIGN_BANG_DASH}else{this.state=gg.COMMENT;this._stateComment(e)}}_stateCommentLessThanSignBangDash(e){if(e===Up.HYPHEN_MINUS){this.state=gg.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH}else{this.state=gg.COMMENT_END_DASH;this._stateCommentEndDash(e)}}_stateCommentLessThanSignBangDashDash(e){if(e!==Up.GREATER_THAN_SIGN&&e!==Up.EOF){this._err(Wp.nestedComment)}this.state=gg.COMMENT_END;this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case Up.HYPHEN_MINUS:{this.state=gg.COMMENT_END;break}case Up.EOF:{this._err(Wp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="-";this.state=gg.COMMENT;this._stateComment(e)}}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;this.emitCurrentComment(t);break}case Up.EXCLAMATION_MARK:{this.state=gg.COMMENT_END_BANG;break}case Up.HYPHEN_MINUS:{t.data+="-";break}case Up.EOF:{this._err(Wp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="--";this.state=gg.COMMENT;this._stateComment(e)}}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case Up.HYPHEN_MINUS:{t.data+="--!";this.state=gg.COMMENT_END_DASH;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.incorrectlyClosedComment);this.state=gg.DATA;this.emitCurrentComment(t);break}case Up.EOF:{this._err(Wp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="--!";this.state=gg.COMMENT;this._stateComment(e)}}}_stateDoctype(e){switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this.state=gg.BEFORE_DOCTYPE_NAME;break}case Up.GREATER_THAN_SIGN:{this.state=gg.BEFORE_DOCTYPE_NAME;this._stateBeforeDoctypeName(e);break}case Up.EOF:{this._err(Wp.eofInDoctype);this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=true;this.emitCurrentDoctype(e);this._emitEOFToken();break}default:{this._err(Wp.missingWhitespaceBeforeDoctypeName);this.state=gg.BEFORE_DOCTYPE_NAME;this._stateBeforeDoctypeName(e)}}}_stateBeforeDoctypeName(e){if(kg(e)){this._createDoctypeToken(String.fromCharCode(Tg(e)));this.state=gg.DOCTYPE_NAME}else switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);this._createDoctypeToken(Fp);this.state=gg.DOCTYPE_NAME;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.missingDoctypeName);this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=true;this.emitCurrentDoctype(e);this.state=gg.DATA;break}case Up.EOF:{this._err(Wp.eofInDoctype);this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=true;this.emitCurrentDoctype(e);this._emitEOFToken();break}default:{this._createDoctypeToken(String.fromCodePoint(e));this.state=gg.DOCTYPE_NAME}}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this.state=gg.AFTER_DOCTYPE_NAME;break}case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;this.emitCurrentDoctype(t);break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.name+=Fp;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.name+=String.fromCodePoint(kg(e)?Tg(e):e)}}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;this.emitCurrentDoctype(t);break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{if(this._consumeSequenceIfMatch(zp.PUBLIC,false)){this.state=gg.AFTER_DOCTYPE_PUBLIC_KEYWORD}else if(this._consumeSequenceIfMatch(zp.SYSTEM,false)){this.state=gg.AFTER_DOCTYPE_SYSTEM_KEYWORD}else if(!this._ensureHibernation()){this._err(Wp.invalidCharacterSequenceAfterDoctypeName);t.forceQuirks=true;this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this.state=gg.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Up.QUOTATION_MARK:{this._err(Wp.missingWhitespaceAfterDoctypePublicKeyword);t.publicId="";this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Up.APOSTROPHE:{this._err(Wp.missingWhitespaceAfterDoctypePublicKeyword);t.publicId="";this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.missingDoctypePublicIdentifier);t.forceQuirks=true;this.state=gg.DATA;this.emitCurrentDoctype(t);break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(Wp.missingQuoteBeforeDoctypePublicIdentifier);t.forceQuirks=true;this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.QUOTATION_MARK:{t.publicId="";this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Up.APOSTROPHE:{t.publicId="";this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.missingDoctypePublicIdentifier);t.forceQuirks=true;this.state=gg.DATA;this.emitCurrentDoctype(t);break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(Wp.missingQuoteBeforeDoctypePublicIdentifier);t.forceQuirks=true;this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Up.QUOTATION_MARK:{this.state=gg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.publicId+=Fp;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.abruptDoctypePublicIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=gg.DATA;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.publicId+=String.fromCodePoint(e)}}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Up.APOSTROPHE:{this.state=gg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.publicId+=Fp;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.abruptDoctypePublicIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=gg.DATA;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.publicId+=String.fromCodePoint(e)}}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this.state=gg.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;this.emitCurrentDoctype(t);break}case Up.QUOTATION_MARK:{this._err(Wp.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Up.APOSTROPHE:{this._err(Wp.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(Wp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t);this.state=gg.DATA;break}case Up.QUOTATION_MARK:{t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Up.APOSTROPHE:{t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(Wp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{this.state=gg.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Up.QUOTATION_MARK:{this._err(Wp.missingWhitespaceAfterDoctypeSystemKeyword);t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Up.APOSTROPHE:{this._err(Wp.missingWhitespaceAfterDoctypeSystemKeyword);t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.missingDoctypeSystemIdentifier);t.forceQuirks=true;this.state=gg.DATA;this.emitCurrentDoctype(t);break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(Wp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.QUOTATION_MARK:{t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Up.APOSTROPHE:{t.systemId="";this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.missingDoctypeSystemIdentifier);t.forceQuirks=true;this.state=gg.DATA;this.emitCurrentDoctype(t);break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(Wp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Up.QUOTATION_MARK:{this.state=gg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.systemId+=Fp;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.abruptDoctypeSystemIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=gg.DATA;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.systemId+=String.fromCodePoint(e)}}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Up.APOSTROPHE:{this.state=gg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);t.systemId+=Fp;break}case Up.GREATER_THAN_SIGN:{this._err(Wp.abruptDoctypeSystemIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=gg.DATA;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.systemId+=String.fromCodePoint(e)}}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Up.SPACE:case Up.LINE_FEED:case Up.TABULATION:case Up.FORM_FEED:{break}case Up.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t);this.state=gg.DATA;break}case Up.EOF:{this._err(Wp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(Wp.unexpectedCharacterAfterDoctypeSystemIdentifier);this.state=gg.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case Up.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t);this.state=gg.DATA;break}case Up.NULL:{this._err(Wp.unexpectedNullCharacter);break}case Up.EOF:{this.emitCurrentDoctype(t);this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case Up.RIGHT_SQUARE_BRACKET:{this.state=gg.CDATA_SECTION_BRACKET;break}case Up.EOF:{this._err(Wp.eofInCdata);this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateCdataSectionBracket(e){if(e===Up.RIGHT_SQUARE_BRACKET){this.state=gg.CDATA_SECTION_END}else{this._emitChars("]");this.state=gg.CDATA_SECTION;this._stateCdataSection(e)}}_stateCdataSectionEnd(e){switch(e){case Up.GREATER_THAN_SIGN:{this.state=gg.DATA;break}case Up.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:{this._emitChars("]]");this.state=gg.CDATA_SECTION;this._stateCdataSection(e)}}}_stateCharacterReference(e){if(e===Up.NUMBER_SIGN){this.state=gg.NUMERIC_CHARACTER_REFERENCE}else if(Eg(e)){this.state=gg.NAMED_CHARACTER_REFERENCE;this._stateNamedCharacterReference(e)}else{this._flushCodePointConsumedAsCharacterReference(Up.AMPERSAND);this._reconsumeInState(this.returnState,e)}}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++){this._flushCodePointConsumedAsCharacterReference(t[e])}this.state=this.returnState}else{this._flushCodePointConsumedAsCharacterReference(Up.AMPERSAND);this.state=gg.AMBIGUOUS_AMPERSAND}}_stateAmbiguousAmpersand(e){if(Eg(e)){this._flushCodePointConsumedAsCharacterReference(e)}else{if(e===Up.SEMICOLON){this._err(Wp.unknownNamedCharacterReference)}this._reconsumeInState(this.returnState,e)}}_stateNumericCharacterReference(e){this.charRefCode=0;if(e===Up.LATIN_SMALL_X||e===Up.LATIN_CAPITAL_X){this.state=gg.HEXADEMICAL_CHARACTER_REFERENCE_START}else if(bg(e)){this.state=gg.DECIMAL_CHARACTER_REFERENCE;this._stateDecimalCharacterReference(e)}else{this._err(Wp.absenceOfDigitsInNumericCharacterReference);this._flushCodePointConsumedAsCharacterReference(Up.AMPERSAND);this._flushCodePointConsumedAsCharacterReference(Up.NUMBER_SIGN);this._reconsumeInState(this.returnState,e)}}_stateHexademicalCharacterReferenceStart(e){if(xg(e)){this.state=gg.HEXADEMICAL_CHARACTER_REFERENCE;this._stateHexademicalCharacterReference(e)}else{this._err(Wp.absenceOfDigitsInNumericCharacterReference);this._flushCodePointConsumedAsCharacterReference(Up.AMPERSAND);this._flushCodePointConsumedAsCharacterReference(Up.NUMBER_SIGN);this._unconsume(2);this.state=this.returnState}}_stateHexademicalCharacterReference(e){if(vg(e)){this.charRefCode=this.charRefCode*16+e-55}else if(Sg(e)){this.charRefCode=this.charRefCode*16+e-87}else if(bg(e)){this.charRefCode=this.charRefCode*16+e-48}else if(e===Up.SEMICOLON){this.state=gg.NUMERIC_CHARACTER_REFERENCE_END}else{this._err(Wp.missingSemicolonAfterCharacterReference);this.state=gg.NUMERIC_CHARACTER_REFERENCE_END;this._stateNumericCharacterReferenceEnd(e)}}_stateDecimalCharacterReference(e){if(bg(e)){this.charRefCode=this.charRefCode*10+e-48}else if(e===Up.SEMICOLON){this.state=gg.NUMERIC_CHARACTER_REFERENCE_END}else{this._err(Wp.missingSemicolonAfterCharacterReference);this.state=gg.NUMERIC_CHARACTER_REFERENCE_END;this._stateNumericCharacterReferenceEnd(e)}}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===Up.NULL){this._err(Wp.nullCharacterReference);this.charRefCode=Up.REPLACEMENT_CHARACTER}else if(this.charRefCode>1114111){this._err(Wp.characterReferenceOutsideUnicodeRange);this.charRefCode=Up.REPLACEMENT_CHARACTER}else if(Hp(this.charRefCode)){this._err(Wp.surrogateCharacterReference);this.charRefCode=Up.REPLACEMENT_CHARACTER}else if(Yp(this.charRefCode)){this._err(Wp.noncharacterCharacterReference)}else if(Gp(this.charRefCode)||this.charRefCode===Up.CARRIAGE_RETURN){this._err(Wp.controlCharacterReference);const e=pg.get(this.charRefCode);if(e!==undefined){this.charRefCode=e}}this._flushCodePointConsumedAsCharacterReference(this.charRefCode);this._reconsumeInState(this.returnState,e)}}const Rg=new Set([ag.DD,ag.DT,ag.LI,ag.OPTGROUP,ag.OPTION,ag.P,ag.RB,ag.RP,ag.RT,ag.RTC]);const Og=new Set([...Rg,ag.CAPTION,ag.COLGROUP,ag.TBODY,ag.TD,ag.TFOOT,ag.TH,ag.THEAD,ag.TR]);const _g=new Map([[ag.APPLET,ig.HTML],[ag.CAPTION,ig.HTML],[ag.HTML,ig.HTML],[ag.MARQUEE,ig.HTML],[ag.OBJECT,ig.HTML],[ag.TABLE,ig.HTML],[ag.TD,ig.HTML],[ag.TEMPLATE,ig.HTML],[ag.TH,ig.HTML],[ag.ANNOTATION_XML,ig.MATHML],[ag.MI,ig.MATHML],[ag.MN,ig.MATHML],[ag.MO,ig.MATHML],[ag.MS,ig.MATHML],[ag.MTEXT,ig.MATHML],[ag.DESC,ig.SVG],[ag.FOREIGN_OBJECT,ig.SVG],[ag.TITLE,ig.SVG]]);const Pg=[ag.H1,ag.H2,ag.H3,ag.H4,ag.H5,ag.H6];const Mg=[ag.TR,ag.TEMPLATE,ag.HTML];const Ig=[ag.TBODY,ag.TFOOT,ag.THEAD,ag.TEMPLATE,ag.HTML];const qg=[ag.TABLE,ag.TEMPLATE,ag.HTML];const Ng=[ag.TD,ag.TH];class Bg{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t;this.handler=n;this.items=[];this.tagIDs=[];this.stackTop=-1;this.tmplCount=0;this.currentTagId=ag.UNKNOWN;this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===ag.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ig.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop];this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++;this.items[this.stackTop]=e;this.current=e;this.tagIDs[this.stackTop]=t;this.currentTagId=t;if(this._isInTemplate()){this.tmplCount++}this.handler.onItemPush(e,t,true)}pop(){const e=this.current;if(this.tmplCount>0&&this._isInTemplate()){this.tmplCount--}this.stackTop--;this._updateCurrentElement();this.handler.onItemPop(e,true)}replace(e,t){const n=this._indexOf(e);this.items[n]=t;if(n===this.stackTop){this.current=t}}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t);this.tagIDs.splice(r,0,n);this.stackTop++;if(r===this.stackTop){this._updateCurrentElement()}this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==ig.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){while(this.stackTop>=e){const t=this.current;if(this.tmplCount>0&&this._isInTemplate()){this.tmplCount-=1}this.stackTop--;this._updateCurrentElement();this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(Pg,ig.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ng,ig.HTML)}popAllUpToHtmlElement(){this.tmplCount=0;this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--){if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t){return n}}return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(qg,ig.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Ig,ig.HTML)}clearBackToTableRowContext(){this.clearBackTo(Mg,ig.HTML)}remove(e){const t=this._indexOf(e);if(t>=0){if(t===this.stackTop){this.pop()}else{this.items.splice(t,1);this.tagIDs.splice(t,1);this.stackTop--;this._updateCurrentElement();this.handler.onItemPop(e,false)}}}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===ag.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===ag.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===ig.HTML){return true}if(_g.get(n)===r){return false}}return true}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];const n=this.treeAdapter.getNamespaceURI(this.items[e]);if(dg(t)&&n===ig.HTML){return true}if(_g.get(t)===n){return false}}return true}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===ig.HTML){return true}if((n===ag.UL||n===ag.OL)&&r===ig.HTML||_g.get(n)===r){return false}}return true}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===ig.HTML){return true}if(n===ag.BUTTON&&r===ig.HTML||_g.get(n)===r){return false}}return true}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r!==ig.HTML){continue}if(n===e){return true}if(n===ag.TABLE||n===ag.TEMPLATE||n===ag.HTML){return false}}return true}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];const n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n!==ig.HTML){continue}if(t===ag.TBODY||t===ag.THEAD||t===ag.TFOOT){return true}if(t===ag.TABLE||t===ag.HTML){return false}}return true}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r!==ig.HTML){continue}if(n===e){return true}if(n!==ag.OPTION&&n!==ag.OPTGROUP){return false}}return true}generateImpliedEndTags(){while(Rg.has(this.currentTagId)){this.pop()}}generateImpliedEndTagsThoroughly(){while(Og.has(this.currentTagId)){this.pop()}}generateImpliedEndTagsWithExclusion(e){while(this.currentTagId!==e&&Og.has(this.currentTagId)){this.pop()}}}const Fg=3;var Ug;(function(e){e[e["Marker"]=0]="Marker";e[e["Element"]=1]="Element"})(Ug=Ug||(Ug={}));const zg={type:Ug.Marker};class Hg{constructor(e){this.treeAdapter=e;this.entries=[];this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[];const r=t.length;const i=this.treeAdapter.getTagName(e);const o=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){const t=this.entries[e];if(t.type===Ug.Marker){break}const{element:l}=t;if(this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===o){const t=this.treeAdapter.getAttrList(l);if(t.length===r){n.push({idx:e,attrs:t})}}}return n}_ensureNoahArkCondition(e){if(this.entries.length<Fg)return;const t=this.treeAdapter.getAttrList(e);const n=this._getNoahArkConditionCandidates(e,t);if(n.length<Fg)return;const r=new Map(t.map((e=>[e.name,e.value])));let i=0;for(let e=0;e<n.length;e++){const t=n[e];if(t.attrs.every((e=>r.get(e.name)===e.value))){i+=1;if(i>=Fg){this.entries.splice(t.idx,1)}}}}insertMarker(){this.entries.unshift(zg)}pushElement(e,t){this._ensureNoahArkCondition(e);this.entries.unshift({type:Ug.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ug.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);if(t>=0){this.entries.splice(t,1)}}clearToLastMarker(){const e=this.entries.indexOf(zg);if(e>=0){this.entries.splice(0,e+1)}else{this.entries.length=0}}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===Ug.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===Ug.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===Ug.Element&&t.element===e))}}function jg(e){return{nodeName:"#text",value:e,parentNode:null}}const Vg={createDocument(){return{nodeName:"#document",mode:lg.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}},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((e=>e.nodeName==="#documentType"));if(i){i.name=t;i.publicId=n;i.systemId=r}else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Vg.appendChild(e,i)}},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(Vg.isTextNode(n)){n.value+=t;return}}Vg.appendChild(e,jg(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];if(r&&Vg.isTextNode(r)){r.value+=t}else{Vg.insertBefore(e,jg(t),n)}},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;r<t.length;r++){if(!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}}};const Gg="html";const Yg="about:legacy-compat";const Wg="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd";const Xg=["+//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//"];const Kg=[...Xg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];const Qg=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]);const Zg=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"];const $g=[...Zg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Jg(e,t){return t.some((t=>e.startsWith(t)))}function em(e){return e.name===Gg&&e.publicId===null&&(e.systemId===null||e.systemId===Yg)}function tm(e){if(e.name!==Gg){return lg.QUIRKS}const{systemId:t}=e;if(t&&t.toLowerCase()===Wg){return lg.QUIRKS}let{publicId:n}=e;if(n!==null){n=n.toLowerCase();if(Qg.has(n)){return lg.QUIRKS}let e=t===null?Kg:Xg;if(Jg(n,e)){return lg.QUIRKS}e=t===null?Zg:$g;if(Jg(n,e)){return lg.LIMITED_QUIRKS}}return lg.NO_QUIRKS}const nm={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"};const rm="definitionurl";const im="definitionURL";const om=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])));const lm=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ig.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ig.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ig.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ig.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ig.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ig.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ig.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:ig.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:ig.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ig.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ig.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ig.XMLNS}]]);const sm=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])));const am=new Set([ag.B,ag.BIG,ag.BLOCKQUOTE,ag.BODY,ag.BR,ag.CENTER,ag.CODE,ag.DD,ag.DIV,ag.DL,ag.DT,ag.EM,ag.EMBED,ag.H1,ag.H2,ag.H3,ag.H4,ag.H5,ag.H6,ag.HEAD,ag.HR,ag.I,ag.IMG,ag.LI,ag.LISTING,ag.MENU,ag.META,ag.NOBR,ag.OL,ag.P,ag.PRE,ag.RUBY,ag.S,ag.SMALL,ag.SPAN,ag.STRONG,ag.STRIKE,ag.SUB,ag.SUP,ag.TABLE,ag.TT,ag.U,ag.UL,ag.VAR]);function um(e){const t=e.tagID;const n=t===ag.FONT&&e.attrs.some((({name:e})=>e===og.COLOR||e===og.SIZE||e===og.FACE));return n||am.has(t)}function cm(e){for(let t=0;t<e.attrs.length;t++){if(e.attrs[t].name===rm){e.attrs[t].name=im;break}}}function fm(e){for(let t=0;t<e.attrs.length;t++){const n=om.get(e.attrs[t].name);if(n!=null){e.attrs[t].name=n}}}function hm(e){for(let t=0;t<e.attrs.length;t++){const n=lm.get(e.attrs[t].name);if(n){e.attrs[t].prefix=n.prefix;e.attrs[t].name=n.name;e.attrs[t].namespace=n.namespace}}}function dm(e){const t=sm.get(e.tagName);if(t!=null){e.tagName=t;e.tagID=cg(e.tagName)}}function pm(e,t){return t===ig.MATHML&&(e===ag.MI||e===ag.MO||e===ag.MN||e===ag.MS||e===ag.MTEXT)}function gm(e,t,n){if(t===ig.MATHML&&e===ag.ANNOTATION_XML){for(let e=0;e<n.length;e++){if(n[e].name===og.ENCODING){const t=n[e].value.toLowerCase();return t===nm.TEXT_HTML||t===nm.APPLICATION_XML}}}return t===ig.SVG&&(e===ag.FOREIGN_OBJECT||e===ag.DESC||e===ag.TITLE)}function mm(e,t,n,r){return(!r||r===ig.HTML)&&gm(e,t,n)||(!r||r===ig.MATHML)&&pm(e,t)}const bm="hidden";const km=8;const ym=3;var wm;(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"})(wm||(wm={}));const Em={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};const vm=new Set([ag.TABLE,ag.TBODY,ag.TFOOT,ag.THEAD,ag.TR]);const Sm={scriptingEnabled:true,sourceCodeLocationInfo:false,treeAdapter:Vg,onParseError:null};class xm{constructor(e,t,n=null,r=null){this.fragmentContext=n;this.scriptHandler=r;this.currentToken=null;this.stopped=false;this.insertionMode=wm.INITIAL;this.originalInsertionMode=wm.INITIAL;this.headElement=null;this.formElement=null;this.currentNotInHTML=false;this.tmplInsertionModeStack=[];this.pendingCharacterTokens=[];this.hasNonWhitespacePendingCharacterToken=false;this.framesetOk=true;this.skipNextNewLine=false;this.fosterParentingEnabled=false;this.options={...Sm,...e};this.treeAdapter=this.options.treeAdapter;this.onParseError=this.options.onParseError;if(this.onParseError){this.options.sourceCodeLocationInfo=true}this.document=t!==null&&t!==void 0?t:this.treeAdapter.createDocument();this.tokenizer=new Lg(this.options,this);this.activeFormattingElements=new Hg(this.treeAdapter);this.fragmentContextID=n?cg(this.treeAdapter.getTagName(n)):ag.UNKNOWN;this._setContextModes(n!==null&&n!==void 0?n:this.document,this.fragmentContextID);this.openElements=new Bg(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);n.tokenizer.write(e,true);return n.document}static getFragmentParser(e,t){const n={...Sm,...t};e!==null&&e!==void 0?e:e=n.treeAdapter.createElement(sg.TEMPLATE,ig.HTML,[]);const r=n.treeAdapter.createElement("documentmock",ig.HTML,[]);const i=new this(n,r,e);if(i.fragmentContextID===ag.TEMPLATE){i.tmplInsertionModeStack.unshift(wm.IN_TEMPLATE)}i._initTokenizerForFragmentParsing();i._insertFakeRootElement();i._resetInsertionMode();i._findFormInFragmentContext();return i}getFragment(){const e=this.treeAdapter.getFirstChild(this.document);const t=this.treeAdapter.createDocumentFragment();this._adoptNodes(e,t);return t}_err(e,t,n){var r;if(!this.onParseError)return;const i=(r=e.location)!==null&&r!==void 0?r:Em;const o={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)===null||i===void 0?void 0:i.call(r,e);if(n&&this.openElements.stackTop>0)this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo){this._setEndLocation(e,this.currentToken)}(r=(n=this.treeAdapter).onItemPop)===null||r===void 0?void 0:r.call(n,e,this.openElements.current);if(t){let e;let t;if(this.openElements.stackTop===0&&this.fragmentContext){e=this.fragmentContext;t=this.fragmentContextID}else{({current:e,currentTagId:t}=this.openElements)}this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===ig.HTML;this.currentNotInHTML=!n;this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,ig.HTML);this.tokenizer.state=t;this.originalInsertionMode=this.insertionMode;this.insertionMode=wm.TEXT}switchToPlaintextParsing(){this.insertionMode=wm.TEXT;this.originalInsertionMode=wm.IN_BODY;this.tokenizer.state=mg.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;while(e){if(this.treeAdapter.getTagName(e)===sg.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ig.HTML){return}switch(this.fragmentContextID){case ag.TITLE:case ag.TEXTAREA:{this.tokenizer.state=mg.RCDATA;break}case ag.STYLE:case ag.XMP:case ag.IFRAME:case ag.NOEMBED:case ag.NOFRAMES:case ag.NOSCRIPT:{this.tokenizer.state=mg.RAWTEXT;break}case ag.SCRIPT:{this.tokenizer.state=mg.SCRIPT_DATA;break}case ag.PLAINTEXT:{this.tokenizer.state=mg.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"";const n=e.publicId||"";const r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r);if(e.location){const t=this.treeAdapter.getChildNodes(this.document);const n=t.find((e=>this.treeAdapter.isDocumentTypeNode(e)));if(n){this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion()){this._fosterParentElement(e)}else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location);this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,ig.HTML,[]);this._attachElementToTree(n,null);this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,ig.HTML,e.attrs);const n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n);this._attachElementToTree(t,e.location);this.openElements.push(t,e.tagID);if(this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(sg.HTML,ig.HTML,[]);if(this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(e,null);this.treeAdapter.appendChild(this.openElements.current,e);this.openElements.push(e,ag.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n);if(this.options.sourceCodeLocationInfo){this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_insertCharacters(e){let t;let n;if(this._shouldFosterParentOnInsertion()){({parent:t,beforeElement:n}=this._findFosterParentingLocation());if(n){this.treeAdapter.insertTextBefore(t,e.chars,n)}else{this.treeAdapter.insertText(t,e.chars)}}else{t=this.openElements.currentTmplContentOrNode;this.treeAdapter.insertText(t,e.chars)}if(!e.location)return;const r=this.treeAdapter.getChildNodes(t);const i=n?r.lastIndexOf(n):r.length;const o=r[i-1];const l=this.treeAdapter.getNodeSourceCodeLocation(o);if(l){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:n,endOffset:r})}else if(this.options.sourceCodeLocationInfo){this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e)){this.treeAdapter.detachNode(n);this.treeAdapter.appendChild(t,n)}}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location;const r=this.treeAdapter.getTagName(e);const i=t.type===Qp.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return false;let t;let n;if(this.openElements.stackTop===0&&this.fragmentContext){t=this.fragmentContext;n=this.fragmentContextID}else{({current:t,currentTagId:n}=this.openElements)}if(e.tagID===ag.SVG&&this.treeAdapter.getTagName(t)===sg.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===ig.MATHML){return false}return this.tokenizer.inForeignNode||(e.tagID===ag.MGLYPH||e.tagID===ag.MALIGNMARK)&&!this._isIntegrationPoint(n,t,ig.HTML)}_processToken(e){switch(e.type){case Qp.CHARACTER:{this.onCharacter(e);break}case Qp.NULL_CHARACTER:{this.onNullCharacter(e);break}case Qp.COMMENT:{this.onComment(e);break}case Qp.DOCTYPE:{this.onDoctype(e);break}case Qp.START_TAG:{this._processStartTag(e);break}case Qp.END_TAG:{this.onEndTag(e);break}case Qp.EOF:{this.onEof(e);break}case Qp.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,n){const r=this.treeAdapter.getNamespaceURI(t);const i=this.treeAdapter.getAttrList(t);return mm(e,r,i,n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===Ug.Marker||this.openElements.contains(e.element)));const n=t<0?e-1:t-1;for(let e=n;e>=0;e--){const t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element));t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags();this.openElements.popUntilTableCellPopped();this.activeFormattingElements.clearToLastMarker();this.insertionMode=wm.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(ag.P);this.openElements.popUntilTagNamePopped(ag.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--){switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case ag.TR:{this.insertionMode=wm.IN_ROW;return}case ag.TBODY:case ag.THEAD:case ag.TFOOT:{this.insertionMode=wm.IN_TABLE_BODY;return}case ag.CAPTION:{this.insertionMode=wm.IN_CAPTION;return}case ag.COLGROUP:{this.insertionMode=wm.IN_COLUMN_GROUP;return}case ag.TABLE:{this.insertionMode=wm.IN_TABLE;return}case ag.BODY:{this.insertionMode=wm.IN_BODY;return}case ag.FRAMESET:{this.insertionMode=wm.IN_FRAMESET;return}case ag.SELECT:{this._resetInsertionModeForSelect(e);return}case ag.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case ag.HTML:{this.insertionMode=this.headElement?wm.AFTER_HEAD:wm.BEFORE_HEAD;return}case ag.TD:case ag.TH:{if(e>0){this.insertionMode=wm.IN_CELL;return}break}case ag.HEAD:{if(e>0){this.insertionMode=wm.IN_HEAD;return}break}}}this.insertionMode=wm.IN_BODY}_resetInsertionModeForSelect(e){if(e>0){for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===ag.TEMPLATE){break}else if(e===ag.TABLE){this.insertionMode=wm.IN_SELECT_IN_TABLE;return}}}this.insertionMode=wm.IN_SELECT}_isElementCausesFosterParenting(e){return vm.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case ag.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===ig.HTML){return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null}}break}case ag.TABLE:{const n=this.treeAdapter.getParentNode(t);if(n){return{parent:n,beforeElement:t}}return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();if(t.beforeElement){this.treeAdapter.insertBefore(t.parent,e,t.beforeElement)}else{this.treeAdapter.appendChild(t.parent,e)}}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return hg[n].has(t)}onCharacter(e){this.skipNextNewLine=false;if(this.tokenizer.inForeignNode){Hk(this,e);return}switch(this.insertionMode){case wm.INITIAL:{Nm(this,e);break}case wm.BEFORE_HTML:{Um(this,e);break}case wm.BEFORE_HEAD:{jm(this,e);break}case wm.IN_HEAD:{Wm(this,e);break}case wm.IN_HEAD_NO_SCRIPT:{Qm(this,e);break}case wm.AFTER_HEAD:{Jm(this,e);break}case wm.IN_BODY:case wm.IN_CAPTION:case wm.IN_CELL:case wm.IN_TEMPLATE:{nb(this,e);break}case wm.TEXT:case wm.IN_SELECT:case wm.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case wm.IN_TABLE:case wm.IN_TABLE_BODY:case wm.IN_ROW:{Zb(this,e);break}case wm.IN_TABLE_TEXT:{ck(this,e);break}case wm.IN_COLUMN_GROUP:{bk(this,e);break}case wm.AFTER_BODY:{Pk(this,e);break}case wm.AFTER_AFTER_BODY:{Fk(this,e);break}}}onNullCharacter(e){this.skipNextNewLine=false;if(this.tokenizer.inForeignNode){zk(this,e);return}switch(this.insertionMode){case wm.INITIAL:{Nm(this,e);break}case wm.BEFORE_HTML:{Um(this,e);break}case wm.BEFORE_HEAD:{jm(this,e);break}case wm.IN_HEAD:{Wm(this,e);break}case wm.IN_HEAD_NO_SCRIPT:{Qm(this,e);break}case wm.AFTER_HEAD:{Jm(this,e);break}case wm.TEXT:{this._insertCharacters(e);break}case wm.IN_TABLE:case wm.IN_TABLE_BODY:case wm.IN_ROW:{Zb(this,e);break}case wm.IN_COLUMN_GROUP:{bk(this,e);break}case wm.AFTER_BODY:{Pk(this,e);break}case wm.AFTER_AFTER_BODY:{Fk(this,e);break}}}onComment(e){this.skipNextNewLine=false;if(this.currentNotInHTML){_m(this,e);return}switch(this.insertionMode){case wm.INITIAL:case wm.BEFORE_HTML:case wm.BEFORE_HEAD:case wm.IN_HEAD:case wm.IN_HEAD_NO_SCRIPT:case wm.AFTER_HEAD:case wm.IN_BODY:case wm.IN_TABLE:case wm.IN_CAPTION:case wm.IN_COLUMN_GROUP:case wm.IN_TABLE_BODY:case wm.IN_ROW:case wm.IN_CELL:case wm.IN_SELECT:case wm.IN_SELECT_IN_TABLE:case wm.IN_TEMPLATE:case wm.IN_FRAMESET:case wm.AFTER_FRAMESET:{_m(this,e);break}case wm.IN_TABLE_TEXT:{fk(this,e);break}case wm.AFTER_BODY:{Pm(this,e);break}case wm.AFTER_AFTER_BODY:case wm.AFTER_AFTER_FRAMESET:{Mm(this,e);break}}}onDoctype(e){this.skipNextNewLine=false;switch(this.insertionMode){case wm.INITIAL:{qm(this,e);break}case wm.BEFORE_HEAD:case wm.IN_HEAD:case wm.IN_HEAD_NO_SCRIPT:case wm.AFTER_HEAD:{this._err(e,Wp.misplacedDoctype);break}case wm.IN_TABLE_TEXT:{fk(this,e);break}}}onStartTag(e){this.skipNextNewLine=false;this.currentToken=e;this._processStartTag(e);if(e.selfClosing&&!e.ackSelfClosing){this._err(e,Wp.nonVoidHtmlElementStartTagWithTrailingSolidus)}}_processStartTag(e){if(this.shouldProcessStartTagTokenInForeignContent(e)){Vk(this,e)}else{this._startTagOutsideForeignContent(e)}}_startTagOutsideForeignContent(e){switch(this.insertionMode){case wm.INITIAL:{Nm(this,e);break}case wm.BEFORE_HTML:{Bm(this,e);break}case wm.BEFORE_HEAD:{zm(this,e);break}case wm.IN_HEAD:{Vm(this,e);break}case wm.IN_HEAD_NO_SCRIPT:{Xm(this,e);break}case wm.AFTER_HEAD:{Zm(this,e);break}case wm.IN_BODY:{Ib(this,e);break}case wm.IN_TABLE:{lk(this,e);break}case wm.IN_TABLE_TEXT:{fk(this,e);break}case wm.IN_CAPTION:{dk(this,e);break}case wm.IN_COLUMN_GROUP:{gk(this,e);break}case wm.IN_TABLE_BODY:{kk(this,e);break}case wm.IN_ROW:{wk(this,e);break}case wm.IN_CELL:{vk(this,e);break}case wm.IN_SELECT:{xk(this,e);break}case wm.IN_SELECT_IN_TABLE:{Ak(this,e);break}case wm.IN_TEMPLATE:{Dk(this,e);break}case wm.AFTER_BODY:{Ok(this,e);break}case wm.IN_FRAMESET:{Mk(this,e);break}case wm.AFTER_FRAMESET:{qk(this,e);break}case wm.AFTER_AFTER_BODY:{Bk(this,e);break}case wm.AFTER_AFTER_FRAMESET:{Uk(this,e);break}}}onEndTag(e){this.skipNextNewLine=false;this.currentToken=e;if(this.currentNotInHTML){Gk(this,e)}else{this._endTagOutsideForeignContent(e)}}_endTagOutsideForeignContent(e){switch(this.insertionMode){case wm.INITIAL:{Nm(this,e);break}case wm.BEFORE_HTML:{Fm(this,e);break}case wm.BEFORE_HEAD:{Hm(this,e);break}case wm.IN_HEAD:{Gm(this,e);break}case wm.IN_HEAD_NO_SCRIPT:{Km(this,e);break}case wm.AFTER_HEAD:{$m(this,e);break}case wm.IN_BODY:{Wb(this,e);break}case wm.TEXT:{Kb(this,e);break}case wm.IN_TABLE:{sk(this,e);break}case wm.IN_TABLE_TEXT:{fk(this,e);break}case wm.IN_CAPTION:{pk(this,e);break}case wm.IN_COLUMN_GROUP:{mk(this,e);break}case wm.IN_TABLE_BODY:{yk(this,e);break}case wm.IN_ROW:{Ek(this,e);break}case wm.IN_CELL:{Sk(this,e);break}case wm.IN_SELECT:{Tk(this,e);break}case wm.IN_SELECT_IN_TABLE:{Ck(this,e);break}case wm.IN_TEMPLATE:{Lk(this,e);break}case wm.AFTER_BODY:{_k(this,e);break}case wm.IN_FRAMESET:{Ik(this,e);break}case wm.AFTER_FRAMESET:{Nk(this,e);break}case wm.AFTER_AFTER_BODY:{Fk(this,e);break}}}onEof(e){switch(this.insertionMode){case wm.INITIAL:{Nm(this,e);break}case wm.BEFORE_HTML:{Um(this,e);break}case wm.BEFORE_HEAD:{jm(this,e);break}case wm.IN_HEAD:{Wm(this,e);break}case wm.IN_HEAD_NO_SCRIPT:{Qm(this,e);break}case wm.AFTER_HEAD:{Jm(this,e);break}case wm.IN_BODY:case wm.IN_TABLE:case wm.IN_CAPTION:case wm.IN_COLUMN_GROUP:case wm.IN_TABLE_BODY:case wm.IN_ROW:case wm.IN_CELL:case wm.IN_SELECT:case wm.IN_SELECT_IN_TABLE:{Xb(this,e);break}case wm.TEXT:{Qb(this,e);break}case wm.IN_TABLE_TEXT:{fk(this,e);break}case wm.IN_TEMPLATE:{Rk(this,e);break}case wm.AFTER_BODY:case wm.IN_FRAMESET:case wm.AFTER_FRAMESET:case wm.AFTER_AFTER_BODY:case wm.AFTER_AFTER_FRAMESET:{Im(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine){this.skipNextNewLine=false;if(e.chars.charCodeAt(0)===Up.LINE_FEED){if(e.chars.length===1){return}e.chars=e.chars.substr(1)}}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case wm.IN_HEAD:case wm.IN_HEAD_NO_SCRIPT:case wm.AFTER_HEAD:case wm.TEXT:case wm.IN_COLUMN_GROUP:case wm.IN_SELECT:case wm.IN_SELECT_IN_TABLE:case wm.IN_FRAMESET:case wm.AFTER_FRAMESET:{this._insertCharacters(e);break}case wm.IN_BODY:case wm.IN_CAPTION:case wm.IN_CELL:case wm.IN_TEMPLATE:case wm.AFTER_BODY:case wm.AFTER_AFTER_BODY:case wm.AFTER_AFTER_FRAMESET:{tb(this,e);break}case wm.IN_TABLE:case wm.IN_TABLE_BODY:case wm.IN_ROW:{Zb(this,e);break}case wm.IN_TABLE_TEXT:{uk(this,e);break}}}}function Tm(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);if(n){if(!e.openElements.contains(n.element)){e.activeFormattingElements.removeEntry(n);n=null}else if(!e.openElements.hasInScope(t.tagID)){n=null}}else{Yb(e,t)}return n}function Am(e,t){let n=null;let r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element){break}if(e._isSpecialElement(i,e.openElements.tagIDs[r])){n=i}}if(!n){e.openElements.shortenToLength(r<0?0:r);e.activeFormattingElements.removeEntry(t)}return n}function Cm(e,t,n){let r=t;let i=e.openElements.getCommonAncestor(t);for(let o=0,l=i;l!==n;o++,l=i){i=e.openElements.getCommonAncestor(l);const n=e.activeFormattingElements.getElementEntry(l);const s=n&&o>=ym;const a=!n||s;if(a){if(s){e.activeFormattingElements.removeEntry(n)}e.openElements.remove(l)}else{l=Dm(e,n);if(r===t){e.activeFormattingElements.bookmark=n}e.treeAdapter.detachNode(r);e.treeAdapter.appendChild(l,r);r=l}}return r}function Dm(e,t){const n=e.treeAdapter.getNamespaceURI(t.element);const r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);e.openElements.replace(t.element,r);t.element=r;return r}function Lm(e,t,n){const r=e.treeAdapter.getTagName(t);const i=cg(r);if(e._isElementCausesFosterParenting(i)){e._fosterParentElement(n)}else{const r=e.treeAdapter.getNamespaceURI(t);if(i===ag.TEMPLATE&&r===ig.HTML){t=e.treeAdapter.getTemplateContent(t)}e.treeAdapter.appendChild(t,n)}}function Rm(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element);const{token:i}=n;const o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o);e.treeAdapter.appendChild(t,o);e.activeFormattingElements.insertElementAfterBookmark(o,i);e.activeFormattingElements.removeEntry(n);e.openElements.remove(n.element);e.openElements.insertAfter(t,o,i.tagID)}function Om(e,t){for(let n=0;n<km;n++){const n=Tm(e,t);if(!n){break}const r=Am(e,n);if(!r){break}e.activeFormattingElements.bookmark=n;const i=Cm(e,r,n.element);const o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i);if(o)Lm(e,o,i);Rm(e,r,n)}}function _m(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Pm(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Mm(e,t){e._appendCommentNode(t,e.document)}function Im(e,t){e.stopped=true;if(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 n=e.openElements.items[0];const r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag){e._setEndLocation(n,t);if(e.openElements.stackTop>=1){const n=e.openElements.items[1];const r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag){e._setEndLocation(n,t)}}}}}}function qm(e,t){e._setDocumentType(t);const n=t.forceQuirks?lg.QUIRKS:tm(t);if(!em(t)){e._err(t,Wp.nonConformingDoctype)}e.treeAdapter.setDocumentMode(e.document,n);e.insertionMode=wm.BEFORE_HTML}function Nm(e,t){e._err(t,Wp.missingDoctype,true);e.treeAdapter.setDocumentMode(e.document,lg.QUIRKS);e.insertionMode=wm.BEFORE_HTML;e._processToken(t)}function Bm(e,t){if(t.tagID===ag.HTML){e._insertElement(t,ig.HTML);e.insertionMode=wm.BEFORE_HEAD}else{Um(e,t)}}function Fm(e,t){const n=t.tagID;if(n===ag.HTML||n===ag.HEAD||n===ag.BODY||n===ag.BR){Um(e,t)}}function Um(e,t){e._insertFakeRootElement();e.insertionMode=wm.BEFORE_HEAD;e._processToken(t)}function zm(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.HEAD:{e._insertElement(t,ig.HTML);e.headElement=e.openElements.current;e.insertionMode=wm.IN_HEAD;break}default:{jm(e,t)}}}function Hm(e,t){const n=t.tagID;if(n===ag.HEAD||n===ag.BODY||n===ag.HTML||n===ag.BR){jm(e,t)}else{e._err(t,Wp.endTagWithoutMatchingOpenElement)}}function jm(e,t){e._insertFakeElement(sg.HEAD,ag.HEAD);e.headElement=e.openElements.current;e.insertionMode=wm.IN_HEAD;e._processToken(t)}function Vm(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.BASE:case ag.BASEFONT:case ag.BGSOUND:case ag.LINK:case ag.META:{e._appendElement(t,ig.HTML);t.ackSelfClosing=true;break}case ag.TITLE:{e._switchToTextParsing(t,mg.RCDATA);break}case ag.NOSCRIPT:{if(e.options.scriptingEnabled){e._switchToTextParsing(t,mg.RAWTEXT)}else{e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_HEAD_NO_SCRIPT}break}case ag.NOFRAMES:case ag.STYLE:{e._switchToTextParsing(t,mg.RAWTEXT);break}case ag.SCRIPT:{e._switchToTextParsing(t,mg.SCRIPT_DATA);break}case ag.TEMPLATE:{e._insertTemplate(t);e.activeFormattingElements.insertMarker();e.framesetOk=false;e.insertionMode=wm.IN_TEMPLATE;e.tmplInsertionModeStack.unshift(wm.IN_TEMPLATE);break}case ag.HEAD:{e._err(t,Wp.misplacedStartTagForHeadElement);break}default:{Wm(e,t)}}}function Gm(e,t){switch(t.tagID){case ag.HEAD:{e.openElements.pop();e.insertionMode=wm.AFTER_HEAD;break}case ag.BODY:case ag.BR:case ag.HTML:{Wm(e,t);break}case ag.TEMPLATE:{Ym(e,t);break}default:{e._err(t,Wp.endTagWithoutMatchingOpenElement)}}}function Ym(e,t){if(e.openElements.tmplCount>0){e.openElements.generateImpliedEndTagsThoroughly();if(e.openElements.currentTagId!==ag.TEMPLATE){e._err(t,Wp.closingOfElementWithOpenChildElements)}e.openElements.popUntilTagNamePopped(ag.TEMPLATE);e.activeFormattingElements.clearToLastMarker();e.tmplInsertionModeStack.shift();e._resetInsertionMode()}else{e._err(t,Wp.endTagWithoutMatchingOpenElement)}}function Wm(e,t){e.openElements.pop();e.insertionMode=wm.AFTER_HEAD;e._processToken(t)}function Xm(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.BASEFONT:case ag.BGSOUND:case ag.HEAD:case ag.LINK:case ag.META:case ag.NOFRAMES:case ag.STYLE:{Vm(e,t);break}case ag.NOSCRIPT:{e._err(t,Wp.nestedNoscriptInHead);break}default:{Qm(e,t)}}}function Km(e,t){switch(t.tagID){case ag.NOSCRIPT:{e.openElements.pop();e.insertionMode=wm.IN_HEAD;break}case ag.BR:{Qm(e,t);break}default:{e._err(t,Wp.endTagWithoutMatchingOpenElement)}}}function Qm(e,t){const n=t.type===Qp.EOF?Wp.openElementsLeftAfterEof:Wp.disallowedContentInNoscriptInHead;e._err(t,n);e.openElements.pop();e.insertionMode=wm.IN_HEAD;e._processToken(t)}function Zm(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.BODY:{e._insertElement(t,ig.HTML);e.framesetOk=false;e.insertionMode=wm.IN_BODY;break}case ag.FRAMESET:{e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_FRAMESET;break}case ag.BASE:case ag.BASEFONT:case ag.BGSOUND:case ag.LINK:case ag.META:case ag.NOFRAMES:case ag.SCRIPT:case ag.STYLE:case ag.TEMPLATE:case ag.TITLE:{e._err(t,Wp.abandonedHeadElementChild);e.openElements.push(e.headElement,ag.HEAD);Vm(e,t);e.openElements.remove(e.headElement);break}case ag.HEAD:{e._err(t,Wp.misplacedStartTagForHeadElement);break}default:{Jm(e,t)}}}function $m(e,t){switch(t.tagID){case ag.BODY:case ag.HTML:case ag.BR:{Jm(e,t);break}case ag.TEMPLATE:{Ym(e,t);break}default:{e._err(t,Wp.endTagWithoutMatchingOpenElement)}}}function Jm(e,t){e._insertFakeElement(sg.BODY,ag.BODY);e.insertionMode=wm.IN_BODY;eb(e,t)}function eb(e,t){switch(t.type){case Qp.CHARACTER:{nb(e,t);break}case Qp.WHITESPACE_CHARACTER:{tb(e,t);break}case Qp.COMMENT:{_m(e,t);break}case Qp.START_TAG:{Ib(e,t);break}case Qp.END_TAG:{Wb(e,t);break}case Qp.EOF:{Xb(e,t);break}}}function tb(e,t){e._reconstructActiveFormattingElements();e._insertCharacters(t)}function nb(e,t){e._reconstructActiveFormattingElements();e._insertCharacters(t);e.framesetOk=false}function rb(e,t){if(e.openElements.tmplCount===0){e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}}function ib(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();if(n&&e.openElements.tmplCount===0){e.framesetOk=false;e.treeAdapter.adoptAttributes(n,t.attrs)}}function ob(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();if(e.framesetOk&&n){e.treeAdapter.detachNode(n);e.openElements.popAllUpToHtmlElement();e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_FRAMESET}}function lb(e,t){if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._insertElement(t,ig.HTML)}function sb(e,t){if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}if(dg(e.openElements.currentTagId)){e.openElements.pop()}e._insertElement(t,ig.HTML)}function ab(e,t){if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._insertElement(t,ig.HTML);e.skipNextNewLine=true;e.framesetOk=false}function ub(e,t){const n=e.openElements.tmplCount>0;if(!e.formElement||n){if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._insertElement(t,ig.HTML);if(!n){e.formElement=e.openElements.current}}}function cb(e,t){e.framesetOk=false;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===ag.LI&&r===ag.LI||(n===ag.DD||n===ag.DT)&&(r===ag.DD||r===ag.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r);e.openElements.popUntilTagNamePopped(r);break}if(r!==ag.ADDRESS&&r!==ag.DIV&&r!==ag.P&&e._isSpecialElement(e.openElements.items[t],r)){break}}if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._insertElement(t,ig.HTML)}function fb(e,t){if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._insertElement(t,ig.HTML);e.tokenizer.state=mg.PLAINTEXT}function hb(e,t){if(e.openElements.hasInScope(ag.BUTTON)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(ag.BUTTON)}e._reconstructActiveFormattingElements();e._insertElement(t,ig.HTML);e.framesetOk=false}function db(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(sg.A);if(n){Om(e,t);e.openElements.remove(n.element);e.activeFormattingElements.removeEntry(n)}e._reconstructActiveFormattingElements();e._insertElement(t,ig.HTML);e.activeFormattingElements.pushElement(e.openElements.current,t)}function pb(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,ig.HTML);e.activeFormattingElements.pushElement(e.openElements.current,t)}function gb(e,t){e._reconstructActiveFormattingElements();if(e.openElements.hasInScope(ag.NOBR)){Om(e,t);e._reconstructActiveFormattingElements()}e._insertElement(t,ig.HTML);e.activeFormattingElements.pushElement(e.openElements.current,t)}function mb(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,ig.HTML);e.activeFormattingElements.insertMarker();e.framesetOk=false}function bb(e,t){if(e.treeAdapter.getDocumentMode(e.document)!==lg.QUIRKS&&e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._insertElement(t,ig.HTML);e.framesetOk=false;e.insertionMode=wm.IN_TABLE}function kb(e,t){e._reconstructActiveFormattingElements();e._appendElement(t,ig.HTML);e.framesetOk=false;t.ackSelfClosing=true}function yb(e){const t=Zp(e,og.TYPE);return t!=null&&t.toLowerCase()===bm}function wb(e,t){e._reconstructActiveFormattingElements();e._appendElement(t,ig.HTML);if(!yb(t)){e.framesetOk=false}t.ackSelfClosing=true}function Eb(e,t){e._appendElement(t,ig.HTML);t.ackSelfClosing=true}function vb(e,t){if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._appendElement(t,ig.HTML);e.framesetOk=false;t.ackSelfClosing=true}function Sb(e,t){t.tagName=sg.IMG;t.tagID=ag.IMG;kb(e,t)}function xb(e,t){e._insertElement(t,ig.HTML);e.skipNextNewLine=true;e.tokenizer.state=mg.RCDATA;e.originalInsertionMode=e.insertionMode;e.framesetOk=false;e.insertionMode=wm.TEXT}function Tb(e,t){if(e.openElements.hasInButtonScope(ag.P)){e._closePElement()}e._reconstructActiveFormattingElements();e.framesetOk=false;e._switchToTextParsing(t,mg.RAWTEXT)}function Ab(e,t){e.framesetOk=false;e._switchToTextParsing(t,mg.RAWTEXT)}function Cb(e,t){e._switchToTextParsing(t,mg.RAWTEXT)}function Db(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,ig.HTML);e.framesetOk=false;e.insertionMode=e.insertionMode===wm.IN_TABLE||e.insertionMode===wm.IN_CAPTION||e.insertionMode===wm.IN_TABLE_BODY||e.insertionMode===wm.IN_ROW||e.insertionMode===wm.IN_CELL?wm.IN_SELECT_IN_TABLE:wm.IN_SELECT}function Lb(e,t){if(e.openElements.currentTagId===ag.OPTION){e.openElements.pop()}e._reconstructActiveFormattingElements();e._insertElement(t,ig.HTML)}function Rb(e,t){if(e.openElements.hasInScope(ag.RUBY)){e.openElements.generateImpliedEndTags()}e._insertElement(t,ig.HTML)}function Ob(e,t){if(e.openElements.hasInScope(ag.RUBY)){e.openElements.generateImpliedEndTagsWithExclusion(ag.RTC)}e._insertElement(t,ig.HTML)}function _b(e,t){e._reconstructActiveFormattingElements();cm(t);hm(t);if(t.selfClosing){e._appendElement(t,ig.MATHML)}else{e._insertElement(t,ig.MATHML)}t.ackSelfClosing=true}function Pb(e,t){e._reconstructActiveFormattingElements();fm(t);hm(t);if(t.selfClosing){e._appendElement(t,ig.SVG)}else{e._insertElement(t,ig.SVG)}t.ackSelfClosing=true}function Mb(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,ig.HTML)}function Ib(e,t){switch(t.tagID){case ag.I:case ag.S:case ag.B:case ag.U:case ag.EM:case ag.TT:case ag.BIG:case ag.CODE:case ag.FONT:case ag.SMALL:case ag.STRIKE:case ag.STRONG:{pb(e,t);break}case ag.A:{db(e,t);break}case ag.H1:case ag.H2:case ag.H3:case ag.H4:case ag.H5:case ag.H6:{sb(e,t);break}case ag.P:case ag.DL:case ag.OL:case ag.UL:case ag.DIV:case ag.DIR:case ag.NAV:case ag.MAIN:case ag.MENU:case ag.ASIDE:case ag.CENTER:case ag.FIGURE:case ag.FOOTER:case ag.HEADER:case ag.HGROUP:case ag.DIALOG:case ag.DETAILS:case ag.ADDRESS:case ag.ARTICLE:case ag.SECTION:case ag.SUMMARY:case ag.FIELDSET:case ag.BLOCKQUOTE:case ag.FIGCAPTION:{lb(e,t);break}case ag.LI:case ag.DD:case ag.DT:{cb(e,t);break}case ag.BR:case ag.IMG:case ag.WBR:case ag.AREA:case ag.EMBED:case ag.KEYGEN:{kb(e,t);break}case ag.HR:{vb(e,t);break}case ag.RB:case ag.RTC:{Rb(e,t);break}case ag.RT:case ag.RP:{Ob(e,t);break}case ag.PRE:case ag.LISTING:{ab(e,t);break}case ag.XMP:{Tb(e,t);break}case ag.SVG:{Pb(e,t);break}case ag.HTML:{rb(e,t);break}case ag.BASE:case ag.LINK:case ag.META:case ag.STYLE:case ag.TITLE:case ag.SCRIPT:case ag.BGSOUND:case ag.BASEFONT:case ag.TEMPLATE:{Vm(e,t);break}case ag.BODY:{ib(e,t);break}case ag.FORM:{ub(e,t);break}case ag.NOBR:{gb(e,t);break}case ag.MATH:{_b(e,t);break}case ag.TABLE:{bb(e,t);break}case ag.INPUT:{wb(e,t);break}case ag.PARAM:case ag.TRACK:case ag.SOURCE:{Eb(e,t);break}case ag.IMAGE:{Sb(e,t);break}case ag.BUTTON:{hb(e,t);break}case ag.APPLET:case ag.OBJECT:case ag.MARQUEE:{mb(e,t);break}case ag.IFRAME:{Ab(e,t);break}case ag.SELECT:{Db(e,t);break}case ag.OPTION:case ag.OPTGROUP:{Lb(e,t);break}case ag.NOEMBED:{Cb(e,t);break}case ag.FRAMESET:{ob(e,t);break}case ag.TEXTAREA:{xb(e,t);break}case ag.NOSCRIPT:{if(e.options.scriptingEnabled){Cb(e,t)}else{Mb(e,t)}break}case ag.PLAINTEXT:{fb(e,t);break}case ag.COL:case ag.TH:case ag.TD:case ag.TR:case ag.HEAD:case ag.FRAME:case ag.TBODY:case ag.TFOOT:case ag.THEAD:case ag.CAPTION:case ag.COLGROUP:{break}default:{Mb(e,t)}}}function qb(e,t){if(e.openElements.hasInScope(ag.BODY)){e.insertionMode=wm.AFTER_BODY;if(e.options.sourceCodeLocationInfo){const n=e.openElements.tryPeekProperlyNestedBodyElement();if(n){e._setEndLocation(n,t)}}}}function Nb(e,t){if(e.openElements.hasInScope(ag.BODY)){e.insertionMode=wm.AFTER_BODY;_k(e,t)}}function Bb(e,t){const n=t.tagID;if(e.openElements.hasInScope(n)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(n)}}function Fb(e){const t=e.openElements.tmplCount>0;const{formElement:n}=e;if(!t){e.formElement=null}if((n||t)&&e.openElements.hasInScope(ag.FORM)){e.openElements.generateImpliedEndTags();if(t){e.openElements.popUntilTagNamePopped(ag.FORM)}else if(n){e.openElements.remove(n)}}}function Ub(e){if(!e.openElements.hasInButtonScope(ag.P)){e._insertFakeElement(sg.P,ag.P)}e._closePElement()}function zb(e){if(e.openElements.hasInListItemScope(ag.LI)){e.openElements.generateImpliedEndTagsWithExclusion(ag.LI);e.openElements.popUntilTagNamePopped(ag.LI)}}function Hb(e,t){const n=t.tagID;if(e.openElements.hasInScope(n)){e.openElements.generateImpliedEndTagsWithExclusion(n);e.openElements.popUntilTagNamePopped(n)}}function jb(e){if(e.openElements.hasNumberedHeaderInScope()){e.openElements.generateImpliedEndTags();e.openElements.popUntilNumberedHeaderPopped()}}function Vb(e,t){const n=t.tagID;if(e.openElements.hasInScope(n)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(n);e.activeFormattingElements.clearToLastMarker()}}function Gb(e){e._reconstructActiveFormattingElements();e._insertFakeElement(sg.BR,ag.BR);e.openElements.pop();e.framesetOk=false}function Yb(e,t){const n=t.tagName;const r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const i=e.openElements.items[t];const o=e.openElements.tagIDs[t];if(r===o&&(r!==ag.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r);if(e.openElements.stackTop>=t)e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,o)){break}}}function Wb(e,t){switch(t.tagID){case ag.A:case ag.B:case ag.I:case ag.S:case ag.U:case ag.EM:case ag.TT:case ag.BIG:case ag.CODE:case ag.FONT:case ag.NOBR:case ag.SMALL:case ag.STRIKE:case ag.STRONG:{Om(e,t);break}case ag.P:{Ub(e);break}case ag.DL:case ag.UL:case ag.OL:case ag.DIR:case ag.DIV:case ag.NAV:case ag.PRE:case ag.MAIN:case ag.MENU:case ag.ASIDE:case ag.BUTTON:case ag.CENTER:case ag.FIGURE:case ag.FOOTER:case ag.HEADER:case ag.HGROUP:case ag.DIALOG:case ag.ADDRESS:case ag.ARTICLE:case ag.DETAILS:case ag.SECTION:case ag.SUMMARY:case ag.LISTING:case ag.FIELDSET:case ag.BLOCKQUOTE:case ag.FIGCAPTION:{Bb(e,t);break}case ag.LI:{zb(e);break}case ag.DD:case ag.DT:{Hb(e,t);break}case ag.H1:case ag.H2:case ag.H3:case ag.H4:case ag.H5:case ag.H6:{jb(e);break}case ag.BR:{Gb(e);break}case ag.BODY:{qb(e,t);break}case ag.HTML:{Nb(e,t);break}case ag.FORM:{Fb(e);break}case ag.APPLET:case ag.OBJECT:case ag.MARQUEE:{Vb(e,t);break}case ag.TEMPLATE:{Ym(e,t);break}default:{Yb(e,t)}}}function Xb(e,t){if(e.tmplInsertionModeStack.length>0){Rk(e,t)}else{Im(e,t)}}function Kb(e,t){var n;if(t.tagID===ag.SCRIPT){(n=e.scriptHandler)===null||n===void 0?void 0:n.call(e,e.openElements.current)}e.openElements.pop();e.insertionMode=e.originalInsertionMode}function Qb(e,t){e._err(t,Wp.eofInElementThatCanContainOnlyText);e.openElements.pop();e.insertionMode=e.originalInsertionMode;e.onEof(t)}function Zb(e,t){if(vm.has(e.openElements.currentTagId)){e.pendingCharacterTokens.length=0;e.hasNonWhitespacePendingCharacterToken=false;e.originalInsertionMode=e.insertionMode;e.insertionMode=wm.IN_TABLE_TEXT;switch(t.type){case Qp.CHARACTER:{ck(e,t);break}case Qp.WHITESPACE_CHARACTER:{uk(e,t);break}}}else{ak(e,t)}}function $b(e,t){e.openElements.clearBackToTableContext();e.activeFormattingElements.insertMarker();e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_CAPTION}function Jb(e,t){e.openElements.clearBackToTableContext();e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_COLUMN_GROUP}function ek(e,t){e.openElements.clearBackToTableContext();e._insertFakeElement(sg.COLGROUP,ag.COLGROUP);e.insertionMode=wm.IN_COLUMN_GROUP;gk(e,t)}function tk(e,t){e.openElements.clearBackToTableContext();e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_TABLE_BODY}function nk(e,t){e.openElements.clearBackToTableContext();e._insertFakeElement(sg.TBODY,ag.TBODY);e.insertionMode=wm.IN_TABLE_BODY;kk(e,t)}function rk(e,t){if(e.openElements.hasInTableScope(ag.TABLE)){e.openElements.popUntilTagNamePopped(ag.TABLE);e._resetInsertionMode();e._processStartTag(t)}}function ik(e,t){if(yb(t)){e._appendElement(t,ig.HTML)}else{ak(e,t)}t.ackSelfClosing=true}function ok(e,t){if(!e.formElement&&e.openElements.tmplCount===0){e._insertElement(t,ig.HTML);e.formElement=e.openElements.current;e.openElements.pop()}}function lk(e,t){switch(t.tagID){case ag.TD:case ag.TH:case ag.TR:{nk(e,t);break}case ag.STYLE:case ag.SCRIPT:case ag.TEMPLATE:{Vm(e,t);break}case ag.COL:{ek(e,t);break}case ag.FORM:{ok(e,t);break}case ag.TABLE:{rk(e,t);break}case ag.TBODY:case ag.TFOOT:case ag.THEAD:{tk(e,t);break}case ag.INPUT:{ik(e,t);break}case ag.CAPTION:{$b(e,t);break}case ag.COLGROUP:{Jb(e,t);break}default:{ak(e,t)}}}function sk(e,t){switch(t.tagID){case ag.TABLE:{if(e.openElements.hasInTableScope(ag.TABLE)){e.openElements.popUntilTagNamePopped(ag.TABLE);e._resetInsertionMode()}break}case ag.TEMPLATE:{Ym(e,t);break}case ag.BODY:case ag.CAPTION:case ag.COL:case ag.COLGROUP:case ag.HTML:case ag.TBODY:case ag.TD:case ag.TFOOT:case ag.TH:case ag.THEAD:case ag.TR:{break}default:{ak(e,t)}}}function ak(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=true;eb(e,t);e.fosterParentingEnabled=n}function uk(e,t){e.pendingCharacterTokens.push(t)}function ck(e,t){e.pendingCharacterTokens.push(t);e.hasNonWhitespacePendingCharacterToken=true}function fk(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken){for(;n<e.pendingCharacterTokens.length;n++){ak(e,e.pendingCharacterTokens[n])}}else{for(;n<e.pendingCharacterTokens.length;n++){e._insertCharacters(e.pendingCharacterTokens[n])}}e.insertionMode=e.originalInsertionMode;e._processToken(t)}const hk=new Set([ag.CAPTION,ag.COL,ag.COLGROUP,ag.TBODY,ag.TD,ag.TFOOT,ag.TH,ag.THEAD,ag.TR]);function dk(e,t){const n=t.tagID;if(hk.has(n)){if(e.openElements.hasInTableScope(ag.CAPTION)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(ag.CAPTION);e.activeFormattingElements.clearToLastMarker();e.insertionMode=wm.IN_TABLE;lk(e,t)}}else{Ib(e,t)}}function pk(e,t){const n=t.tagID;switch(n){case ag.CAPTION:case ag.TABLE:{if(e.openElements.hasInTableScope(ag.CAPTION)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(ag.CAPTION);e.activeFormattingElements.clearToLastMarker();e.insertionMode=wm.IN_TABLE;if(n===ag.TABLE){sk(e,t)}}break}case ag.BODY:case ag.COL:case ag.COLGROUP:case ag.HTML:case ag.TBODY:case ag.TD:case ag.TFOOT:case ag.TH:case ag.THEAD:case ag.TR:{break}default:{Wb(e,t)}}}function gk(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.COL:{e._appendElement(t,ig.HTML);t.ackSelfClosing=true;break}case ag.TEMPLATE:{Vm(e,t);break}default:{bk(e,t)}}}function mk(e,t){switch(t.tagID){case ag.COLGROUP:{if(e.openElements.currentTagId===ag.COLGROUP){e.openElements.pop();e.insertionMode=wm.IN_TABLE}break}case ag.TEMPLATE:{Ym(e,t);break}case ag.COL:{break}default:{bk(e,t)}}}function bk(e,t){if(e.openElements.currentTagId===ag.COLGROUP){e.openElements.pop();e.insertionMode=wm.IN_TABLE;e._processToken(t)}}function kk(e,t){switch(t.tagID){case ag.TR:{e.openElements.clearBackToTableBodyContext();e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_ROW;break}case ag.TH:case ag.TD:{e.openElements.clearBackToTableBodyContext();e._insertFakeElement(sg.TR,ag.TR);e.insertionMode=wm.IN_ROW;wk(e,t);break}case ag.CAPTION:case ag.COL:case ag.COLGROUP:case ag.TBODY:case ag.TFOOT:case ag.THEAD:{if(e.openElements.hasTableBodyContextInTableScope()){e.openElements.clearBackToTableBodyContext();e.openElements.pop();e.insertionMode=wm.IN_TABLE;lk(e,t)}break}default:{lk(e,t)}}}function yk(e,t){const n=t.tagID;switch(t.tagID){case ag.TBODY:case ag.TFOOT:case ag.THEAD:{if(e.openElements.hasInTableScope(n)){e.openElements.clearBackToTableBodyContext();e.openElements.pop();e.insertionMode=wm.IN_TABLE}break}case ag.TABLE:{if(e.openElements.hasTableBodyContextInTableScope()){e.openElements.clearBackToTableBodyContext();e.openElements.pop();e.insertionMode=wm.IN_TABLE;sk(e,t)}break}case ag.BODY:case ag.CAPTION:case ag.COL:case ag.COLGROUP:case ag.HTML:case ag.TD:case ag.TH:case ag.TR:{break}default:{sk(e,t)}}}function wk(e,t){switch(t.tagID){case ag.TH:case ag.TD:{e.openElements.clearBackToTableRowContext();e._insertElement(t,ig.HTML);e.insertionMode=wm.IN_CELL;e.activeFormattingElements.insertMarker();break}case ag.CAPTION:case ag.COL:case ag.COLGROUP:case ag.TBODY:case ag.TFOOT:case ag.THEAD:case ag.TR:{if(e.openElements.hasInTableScope(ag.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=wm.IN_TABLE_BODY;kk(e,t)}break}default:{lk(e,t)}}}function Ek(e,t){switch(t.tagID){case ag.TR:{if(e.openElements.hasInTableScope(ag.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=wm.IN_TABLE_BODY}break}case ag.TABLE:{if(e.openElements.hasInTableScope(ag.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=wm.IN_TABLE_BODY;yk(e,t)}break}case ag.TBODY:case ag.TFOOT:case ag.THEAD:{if(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(ag.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=wm.IN_TABLE_BODY;yk(e,t)}break}case ag.BODY:case ag.CAPTION:case ag.COL:case ag.COLGROUP:case ag.HTML:case ag.TD:case ag.TH:{break}default:{sk(e,t)}}}function vk(e,t){const n=t.tagID;if(hk.has(n)){if(e.openElements.hasInTableScope(ag.TD)||e.openElements.hasInTableScope(ag.TH)){e._closeTableCell();wk(e,t)}}else{Ib(e,t)}}function Sk(e,t){const n=t.tagID;switch(n){case ag.TD:case ag.TH:{if(e.openElements.hasInTableScope(n)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(n);e.activeFormattingElements.clearToLastMarker();e.insertionMode=wm.IN_ROW}break}case ag.TABLE:case ag.TBODY:case ag.TFOOT:case ag.THEAD:case ag.TR:{if(e.openElements.hasInTableScope(n)){e._closeTableCell();Ek(e,t)}break}case ag.BODY:case ag.CAPTION:case ag.COL:case ag.COLGROUP:case ag.HTML:{break}default:{Wb(e,t)}}}function xk(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.OPTION:{if(e.openElements.currentTagId===ag.OPTION){e.openElements.pop()}e._insertElement(t,ig.HTML);break}case ag.OPTGROUP:{if(e.openElements.currentTagId===ag.OPTION){e.openElements.pop()}if(e.openElements.currentTagId===ag.OPTGROUP){e.openElements.pop()}e._insertElement(t,ig.HTML);break}case ag.INPUT:case ag.KEYGEN:case ag.TEXTAREA:case ag.SELECT:{if(e.openElements.hasInSelectScope(ag.SELECT)){e.openElements.popUntilTagNamePopped(ag.SELECT);e._resetInsertionMode();if(t.tagID!==ag.SELECT){e._processStartTag(t)}}break}case ag.SCRIPT:case ag.TEMPLATE:{Vm(e,t);break}}}function Tk(e,t){switch(t.tagID){case ag.OPTGROUP:{if(e.openElements.stackTop>0&&e.openElements.currentTagId===ag.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===ag.OPTGROUP){e.openElements.pop()}if(e.openElements.currentTagId===ag.OPTGROUP){e.openElements.pop()}break}case ag.OPTION:{if(e.openElements.currentTagId===ag.OPTION){e.openElements.pop()}break}case ag.SELECT:{if(e.openElements.hasInSelectScope(ag.SELECT)){e.openElements.popUntilTagNamePopped(ag.SELECT);e._resetInsertionMode()}break}case ag.TEMPLATE:{Ym(e,t);break}}}function Ak(e,t){const n=t.tagID;if(n===ag.CAPTION||n===ag.TABLE||n===ag.TBODY||n===ag.TFOOT||n===ag.THEAD||n===ag.TR||n===ag.TD||n===ag.TH){e.openElements.popUntilTagNamePopped(ag.SELECT);e._resetInsertionMode();e._processStartTag(t)}else{xk(e,t)}}function Ck(e,t){const n=t.tagID;if(n===ag.CAPTION||n===ag.TABLE||n===ag.TBODY||n===ag.TFOOT||n===ag.THEAD||n===ag.TR||n===ag.TD||n===ag.TH){if(e.openElements.hasInTableScope(n)){e.openElements.popUntilTagNamePopped(ag.SELECT);e._resetInsertionMode();e.onEndTag(t)}}else{Tk(e,t)}}function Dk(e,t){switch(t.tagID){case ag.BASE:case ag.BASEFONT:case ag.BGSOUND:case ag.LINK:case ag.META:case ag.NOFRAMES:case ag.SCRIPT:case ag.STYLE:case ag.TEMPLATE:case ag.TITLE:{Vm(e,t);break}case ag.CAPTION:case ag.COLGROUP:case ag.TBODY:case ag.TFOOT:case ag.THEAD:{e.tmplInsertionModeStack[0]=wm.IN_TABLE;e.insertionMode=wm.IN_TABLE;lk(e,t);break}case ag.COL:{e.tmplInsertionModeStack[0]=wm.IN_COLUMN_GROUP;e.insertionMode=wm.IN_COLUMN_GROUP;gk(e,t);break}case ag.TR:{e.tmplInsertionModeStack[0]=wm.IN_TABLE_BODY;e.insertionMode=wm.IN_TABLE_BODY;kk(e,t);break}case ag.TD:case ag.TH:{e.tmplInsertionModeStack[0]=wm.IN_ROW;e.insertionMode=wm.IN_ROW;wk(e,t);break}default:{e.tmplInsertionModeStack[0]=wm.IN_BODY;e.insertionMode=wm.IN_BODY;Ib(e,t)}}}function Lk(e,t){if(t.tagID===ag.TEMPLATE){Ym(e,t)}}function Rk(e,t){if(e.openElements.tmplCount>0){e.openElements.popUntilTagNamePopped(ag.TEMPLATE);e.activeFormattingElements.clearToLastMarker();e.tmplInsertionModeStack.shift();e._resetInsertionMode();e.onEof(t)}else{Im(e,t)}}function Ok(e,t){if(t.tagID===ag.HTML){Ib(e,t)}else{Pk(e,t)}}function _k(e,t){var n;if(t.tagID===ag.HTML){if(!e.fragmentContext){e.insertionMode=wm.AFTER_AFTER_BODY}if(e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===ag.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];if(r&&!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0?void 0:n.endTag)){e._setEndLocation(r,t)}}}else{Pk(e,t)}}function Pk(e,t){e.insertionMode=wm.IN_BODY;eb(e,t)}function Mk(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.FRAMESET:{e._insertElement(t,ig.HTML);break}case ag.FRAME:{e._appendElement(t,ig.HTML);t.ackSelfClosing=true;break}case ag.NOFRAMES:{Vm(e,t);break}}}function Ik(e,t){if(t.tagID===ag.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()){e.openElements.pop();if(!e.fragmentContext&&e.openElements.currentTagId!==ag.FRAMESET){e.insertionMode=wm.AFTER_FRAMESET}}}function qk(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.NOFRAMES:{Vm(e,t);break}}}function Nk(e,t){if(t.tagID===ag.HTML){e.insertionMode=wm.AFTER_AFTER_FRAMESET}}function Bk(e,t){if(t.tagID===ag.HTML){Ib(e,t)}else{Fk(e,t)}}function Fk(e,t){e.insertionMode=wm.IN_BODY;eb(e,t)}function Uk(e,t){switch(t.tagID){case ag.HTML:{Ib(e,t);break}case ag.NOFRAMES:{Vm(e,t);break}}}function zk(e,t){t.chars=Fp;e._insertCharacters(t)}function Hk(e,t){e._insertCharacters(t);e.framesetOk=false}function jk(e){while(e.treeAdapter.getNamespaceURI(e.openElements.current)!==ig.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current)){e.openElements.pop()}}function Vk(e,t){if(um(t)){jk(e);e._startTagOutsideForeignContent(t)}else{const n=e._getAdjustedCurrentElement();const r=e.treeAdapter.getNamespaceURI(n);if(r===ig.MATHML){cm(t)}else if(r===ig.SVG){dm(t);fm(t)}hm(t);if(t.selfClosing){e._appendElement(t,r)}else{e._insertElement(t,r)}t.ackSelfClosing=true}}function Gk(e,t){if(t.tagID===ag.P||t.tagID===ag.BR){jk(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)===ig.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i;e.openElements.shortenToLength(n);break}}}const Yk=Xk("end");const Wk=Xk("start");function Xk(e){return t;function t(t){const n=t&&t.position&&t.position[e]||{};if(typeof n.line==="number"&&n.line>0&&typeof n.column==="number"&&n.column>0){return{line:n.line,column:n.column,offset:typeof n.offset==="number"&&n.offset>-1?n.offset:undefined}}}}const Kk=function(e){if(e===null||e===undefined){return ey}if(typeof e==="function"){return Jk(e)}if(typeof e==="object"){return Array.isArray(e)?Qk(e):Zk(e)}if(typeof e==="string"){return $k(e)}throw new Error("Expected function, string, or object as test")};function Qk(e){const t=[];let n=-1;while(++n<e.length){t[n]=Kk(e[n])}return Jk(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function Zk(e){const t=e;return Jk(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function $k(e){return Jk(t);function t(t){return t&&t.type===e}}function Jk(e){return t;function t(t,n,r){return Boolean(ty(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function ey(){return true}function ty(e){return e!==null&&typeof e==="object"&&"type"in e}function ny(e){return e}const ry=[];const iy=true;const oy=false;const ly="skip";function sy(e,t,n,r){let i;if(typeof t==="function"&&typeof n!=="function"){r=n;n=t}else{i=t}const o=Kk(i);const l=r?-1:1;s(e,undefined,[])();function s(e,i,a){const u=e&&typeof e==="object"?e:{};if(typeof u.type==="string"){const t=typeof u.tagName==="string"?u.tagName:typeof u.name==="string"?u.name:undefined;Object.defineProperty(c,"name",{value:"node ("+ny(e.type+(t?"<"+t+">":""))+")"})}return c;function c(){let u=ry;let c;let f;let h;if(!t||o(e,i,a[a.length-1]||undefined)){u=ay(n(e,a));if(u[0]===oy){return u}}if("children"in e&&e.children){const t=e;if(t.children&&u[0]!==ly){f=(r?t.children.length:-1)+l;h=a.concat(t);while(f>-1&&f<t.children.length){const e=t.children[f];c=s(e,f,h)();if(c[0]===oy){return c}f=typeof c[1]==="number"?c[1]:f+l}}}return u}}}function ay(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[iy,e]}return e===null||e===undefined?ry:[e]}function uy(e,t,n,r){let i;let o;let l;if(typeof t==="function"&&typeof n!=="function"){o=undefined;l=t;i=n}else{o=t;l=n;i=r}sy(e,o,s,i);function s(e,t){const n=t[t.length-1];const r=n?n.children.indexOf(e):undefined;return l(e,r,n)}}const cy={}.hasOwnProperty;function fy(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&cy.call(t,e)){const n=String(t[e]);i=cy.call(o,n)?o[n]:r.unknown}if(i){return i.call(this,t,...n)}}r.handlers=n.handlers||{};r.invalid=n.invalid;r.unknown=n.unknown;return r}const hy=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]);const dy={sourceCodeLocationInfo:true,scriptingEnabled:false};function py(e,t){const n=Dy(e);const r=fy("type",{handlers:{root:my,element:by,text:ky,comment:Ey,doctype:yy,raw:vy},unknown:Sy});const i={parser:n?new xm(dy):xm.getFragmentParser(undefined,dy),handle(e){r(e,i)},stitches:false,options:t||{}};r(e,i);xy(i,Wk());const o=n?i.parser.document:i.parser.getFragment();const l=Rd(o,{file:i.options.file});if(i.stitches){uy(l,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&t!==undefined){const e=n.children;e[t]=r.value.stitch;return t}}))}if(l.type==="root"&&l.children.length===1&&l.children[0].type===e.type){return l.children[0]}return l}function gy(e,t){let n=-1;if(e){while(++n<e.length){t.handle(e[n])}}}function my(e,t){gy(e.children,t)}function by(e,t){Ay(e,t);gy(e.children,t);Cy(e,t)}function ky(e,t){const n={type:Qp.CHARACTER,chars:e.value,location:Ly(e)};xy(t,Wk(e));t.parser.currentToken=n;t.parser._processToken(t.parser.currentToken)}function yy(e,t){const n={type:Qp.DOCTYPE,name:"html",forceQuirks:false,publicId:"",systemId:"",location:Ly(e)};xy(t,Wk(e));t.parser.currentToken=n;t.parser._processToken(t.parser.currentToken)}function wy(e,t){t.stitches=true;const n=Ry(e);if("children"in e&&"children"in n){const r=py({type:"root",children:e.children},t.options);n.children=r.children}Ey({type:"comment",value:{stitch:n}},t)}function Ey(e,t){const n=e.value;const r={type:Qp.COMMENT,data:n,location:Ly(e)};xy(t,Wk(e));t.parser.currentToken=r;t.parser._processToken(t.parser.currentToken)}function vy(e,t){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=false;t.parser.tokenizer.preprocessor.lastChunkWritten=false;t.parser.tokenizer.preprocessor.endOfChunkHit=false;t.parser.tokenizer.preprocessor.isEol=false;Ty(t,Wk(e));t.parser.tokenizer.write(e.value,false);t.parser.tokenizer._runParsingLoop();if(t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=true;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function Sy(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type)){wy(n,t)}else{let e="";if(hy.has(n.type)){e=". 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"}throw new Error("Cannot compile `"+n.type+"` node"+e)}}function xy(e,t){Ty(e,t);const n=e.parser.tokenizer.currentCharacterToken;if(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=false;e.parser.tokenizer.inLoop=false;e.parser.tokenizer.active=false;e.parser.tokenizer.returnState=mg.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 Ty(e,t){if(t&&t.offset!==undefined){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 Ay(e,t){if(t.parser.tokenizer.state===mg.PLAINTEXT)return;xy(t,Wk(e));const n=t.parser.openElements.current;let r="namespaceURI"in n?n.namespaceURI:Cd.html;if(r===Cd.html&&e.tagName==="svg"){r=Cd.svg}const i=Cp({...e,children:[]},{space:r===Cd.svg?"svg":"html"});const o="attrs"in i?i.attrs:[];const l={type:Qp.START_TAG,tagName:e.tagName,tagID:cg(e.tagName),selfClosing:false,ackSelfClosing:false,attrs:o,location:Ly(e)};t.parser.currentToken=l;t.parser._processToken(t.parser.currentToken);t.parser.tokenizer.lastStartTagName=e.tagName}function Cy(e,t){if(!t.parser.tokenizer.inForeignNode&&Np.includes(e.tagName)){return}if(t.parser.tokenizer.state===mg.PLAINTEXT)return;xy(t,Yk(e));const n={type:Qp.END_TAG,tagName:e.tagName,tagID:cg(e.tagName),selfClosing:false,ackSelfClosing:false,attrs:[],location:Ly(e)};t.parser.currentToken=n;t.parser._processToken(t.parser.currentToken);if(n.tagName===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===mg.RCDATA||t.parser.tokenizer.state===mg.RAWTEXT||t.parser.tokenizer.state===mg.SCRIPT_DATA)){t.parser.tokenizer.state=mg.DATA}}function Dy(e){const t=e.type==="root"?e.children[0]:e;return Boolean(t&&(t.type==="doctype"||t.type==="element"&&t.tagName==="html"))}function Ly(e){const t=Wk(e)||{line:undefined,column:undefined,offset:undefined};const n=Yk(e)||{line:undefined,column:undefined,offset:undefined};const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function Ry(e){return"children"in e?si({...e,children:[]}):si(e)}function Oy(e){return function(t,n){const r=py(t,{...e,file:n});return r}}async function _y(e,t){if(t===null||t===void 0?void 0:t.forceHardLineBreaks){e=e.replace(/([\n\r])/g," $1")}const n=await H().use(ir).use(_u).use(Ii,{allowDangerousHtml:true}).use(sc,{target:"_blank"}).use(Oy).use(Rc).use(Ch).process(e);return n.toString()}const Py='@charset "UTF-8";code{font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-size:0.8125rem;letter-spacing:-0.0125rem;color:rgb(var(--contrast-1300));-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;display:inline-block;border-radius:0.25rem;padding:0.03125rem 0.25rem;background-color:rgb(var(--contrast-600))}pre>code{display:block;margin:0.5rem 0;padding:0.5rem 0.75rem;overflow:auto;white-space:pre-wrap}h1{font-size:1.875rem;line-height:1.875rem;margin-top:1.5rem;margin-bottom:0.75rem;letter-spacing:-0.0625rem}h2{font-size:1.625rem;line-height:1.625rem;margin-top:1.25rem;margin-bottom:0.75rem}h3{font-size:1.375rem;line-height:1.375rem;margin-top:1rem;margin-bottom:0.75rem}h4{font-size:1.25rem;line-height:1.25rem;margin-top:0.75rem;margin-bottom:0.5rem}h5{font-size:1.125rem;line-height:1.125rem;margin-top:0.75rem;margin-bottom:0.5rem}h6{font-size:1rem;line-height:1rem;margin-top:0.75rem;margin-bottom:0.5rem}:host(limel-markdown.truncate-paragraphs) p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}p,a,li{font-size:0.875rem}p{margin-top:0;margin-bottom:0.5rem}p:only-child{margin-bottom:0}a{transition:color 0.2s ease;color:var(--markdown-hyperlink-color, rgb(var(--color-blue-dark)));text-decoration:none}a:hover{color:var(--markdown-hyperlink-color--hovered, rgb(var(--color-blue-default)))}hr{margin:1.75rem 0 2rem 0;border-width:0;border-top:1px solid rgb(var(--contrast-500))}ul{list-style:none}ul li{position:relative;margin-left:0.75rem}ul li:before{content:"";position:absolute;left:-0.5rem;top:0.5rem;width:0.25rem;height:0.25rem;border-radius:50%;background-color:rgb(var(--contrast-700));display:block}ol{margin-top:0.25rem;padding-left:1rem}ul{margin-top:0.25rem;padding-left:0}ul ul,ul ol,ol ol,ol ul{margin-left:0}li{margin-bottom:0.25rem}:host(limel-markdown:not(.no-table-styles)) table{table-layout:auto;min-width:100%;border-collapse:collapse;border-spacing:0;background:transparent;margin:0.75rem 0;border:1px solid rgb(var(--contrast-400))}:host(limel-markdown:not(.no-table-styles)) th,:host(limel-markdown:not(.no-table-styles)) td{text-align:left;vertical-align:top;transition:background-color 0.2s ease;font-size:0.875rem}:host(limel-markdown:not(.no-table-styles)) td{padding:0.5rem 0.375rem 0.75rem 0.375rem}:host(limel-markdown:not(.no-table-styles)) tr th{background-color:rgb(var(--contrast-400));padding:0.25rem 0.375rem;font-weight:normal}:host(limel-markdown:not(.no-table-styles)) tr th:only-child{text-align:center}:host(limel-markdown:not(.no-table-styles)) tbody tr:nth-child(odd) td{background-color:rgb(var(--contrast-200))}:host(limel-markdown:not(.no-table-styles)) tbody tr:hover td{background-color:rgb(var(--contrast-300))}blockquote{position:relative;font-weight:100;font-size:0.875rem;max-width:100%;line-height:1.4;margin:0;padding:0.5rem 1.25rem;border-radius:0.05rem 0.75rem;background-color:rgb(var(--contrast-300))}blockquote:before,blockquote:after{position:absolute;font-size:2.75rem;opacity:0.4}blockquote:before{content:"“";left:0;top:-0.75rem}blockquote:after{content:"”";right:0;bottom:-2rem}dl{display:grid;grid-template-columns:1fr 2fr;grid-template-rows:1fr;margin-bottom:2rem;border:1px solid rgb(var(--contrast-400));border-radius:0.375rem;background-color:rgb(var(--contrast-200))}dl dt,dl dd{padding:0.375rem 0.5rem;font-size:0.875rem;margin:0}dl dt:nth-of-type(even),dl dd:nth-of-type(even){background-color:rgb(var(--contrast-300))}dl dt:first-child{border-top-left-radius:0.375rem}dl dt:last-child{border-bottom-left-radius:0.375rem}dl dd:first-child{border-top-right-radius:0.375rem}dl dd:last-child{border-bottom-right-radius:0.375rem}hr{border-top:1px solid rgb(var(--contrast-700))}img{max-width:100%}';const My=class{constructor(t){e(this,t);this.value=undefined}async textChanged(){try{const e=await _y(this.value,{forceHardLineBreaks:true});this.rootElement.innerHTML=e}catch(e){console.error(e)}}async componentDidLoad(){this.textChanged()}render(){return[t("div",{id:"markdown",ref:e=>this.rootElement=e})]}static get watchers(){return{value:["textChanged"]}}};My.style=Py;export{My as limel_markdown};
|
|
2
|
-
//# sourceMappingURL=p-264bf26c.entry.js.map
|