@wdio/devtools-script 1.0.0 → 1.2.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/dist/script.js CHANGED
@@ -33,12 +33,12 @@ const Ot = /* @__PURE__ */ new Set([
33
33
  1048575,
34
34
  1114110,
35
35
  1114111
36
- ]), b = "�";
36
+ ]), N = "�";
37
37
  var r;
38
38
  (function(e) {
39
39
  e[e.EOF = -1] = "EOF", e[e.NULL = 0] = "NULL", e[e.TABULATION = 9] = "TABULATION", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.LINE_FEED = 10] = "LINE_FEED", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_0 = 48] = "DIGIT_0", e[e.DIGIT_9 = 57] = "DIGIT_9", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", e[e.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", e[e.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
40
40
  })(r || (r = {}));
41
- const S = {
41
+ const L = {
42
42
  DASH_DASH: "--",
43
43
  CDATA_START: "[CDATA[",
44
44
  DOCTYPE: "doctype",
@@ -46,7 +46,7 @@ const S = {
46
46
  PUBLIC: "public",
47
47
  SYSTEM: "system"
48
48
  };
49
- function Ye(e) {
49
+ function Qe(e) {
50
50
  return e >= 55296 && e <= 57343;
51
51
  }
52
52
  function St(e) {
@@ -55,20 +55,20 @@ function St(e) {
55
55
  function Lt(e, t) {
56
56
  return (e - 55296) * 1024 + 9216 + t;
57
57
  }
58
- function ve(e) {
58
+ function We(e) {
59
59
  return e !== 32 && e !== 10 && e !== 13 && e !== 9 && e !== 12 && e >= 1 && e <= 31 || e >= 127 && e <= 159;
60
60
  }
61
- function Qe(e) {
61
+ function Ge(e) {
62
62
  return e >= 64976 && e <= 65007 || Ot.has(e);
63
63
  }
64
64
  var E;
65
65
  (function(e) {
66
66
  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";
67
67
  })(E || (E = {}));
68
- const Rt = 65536;
69
- class Dt {
68
+ const pt = 65536;
69
+ class Rt {
70
70
  constructor(t) {
71
- this.handler = t, this.html = "", this.pos = -1, this.lastGapPos = -2, this.gapStack = [], this.skipNextNewLine = !1, this.lastChunkWritten = !1, this.endOfChunkHit = !1, this.bufferWaterline = Rt, this.isEol = !1, this.lineStartPos = 0, this.droppedBufferSize = 0, this.line = 1, this.lastErrOffset = -1;
71
+ this.handler = t, this.html = "", this.pos = -1, this.lastGapPos = -2, this.gapStack = [], this.skipNextNewLine = !1, this.lastChunkWritten = !1, this.endOfChunkHit = !1, this.bufferWaterline = pt, this.isEol = !1, this.lineStartPos = 0, this.droppedBufferSize = 0, this.line = 1, this.lastErrOffset = -1;
72
72
  }
73
73
  /** The column on the current line. If we just saw a gap (eg. a surrogate pair), return the index before. */
74
74
  get col() {
@@ -78,13 +78,13 @@ class Dt {
78
78
  return this.droppedBufferSize + this.pos;
79
79
  }
80
80
  getError(t, a) {
81
- const { line: s, col: c, offset: d } = this, h = c + a, f = d + a;
81
+ const { line: s, col: c, offset: d } = this, T = c + a, f = d + a;
82
82
  return {
83
83
  code: t,
84
84
  startLine: s,
85
85
  endLine: s,
86
- startCol: h,
87
- endCol: h,
86
+ startCol: T,
87
+ endCol: T,
88
88
  startOffset: f,
89
89
  endOffset: f
90
90
  };
@@ -137,10 +137,10 @@ class Dt {
137
137
  if (this.pos++, this.isEol && (this.isEol = !1, this.line++, this.lineStartPos = this.pos), this.pos >= this.html.length)
138
138
  return this.endOfChunkHit = !this.lastChunkWritten, r.EOF;
139
139
  let t = this.html.charCodeAt(this.pos);
140
- return t === r.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, r.LINE_FEED) : t === r.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, Ye(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === r.LINE_FEED || t === r.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
140
+ return t === r.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, r.LINE_FEED) : t === r.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, Qe(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === r.LINE_FEED || t === r.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
141
141
  }
142
142
  _checkForProblematicCharacters(t) {
143
- ve(t) ? this._err(E.controlCharacterInInputStream) : Qe(t) && this._err(E.noncharacterInInputStream);
143
+ We(t) ? this._err(E.controlCharacterInInputStream) : Ge(t) && this._err(E.noncharacterInInputStream);
144
144
  }
145
145
  retreat(t) {
146
146
  for (this.pos -= t; this.pos < this.lastGapPos; )
@@ -148,17 +148,17 @@ class Dt {
148
148
  this.isEol = !1;
149
149
  }
150
150
  }
151
- var m;
151
+ var _;
152
152
  (function(e) {
153
153
  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";
154
- })(m || (m = {}));
155
- function We(e, t) {
154
+ })(_ || (_ = {}));
155
+ function Xe(e, t) {
156
156
  for (let a = e.attrs.length - 1; a >= 0; a--)
157
157
  if (e.attrs[a].name === t)
158
158
  return e.attrs[a].value;
159
159
  return null;
160
160
  }
161
- const pt = /* @__PURE__ */ new Uint16Array(
161
+ const Dt = /* @__PURE__ */ new Uint16Array(
162
162
  // prettier-ignore
163
163
  /* @__PURE__ */ 'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e) => e.charCodeAt(0))
164
164
  ), gt = /* @__PURE__ */ new Map([
@@ -196,42 +196,42 @@ function Pt(e) {
196
196
  var t;
197
197
  return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (t = gt.get(e)) !== null && t !== void 0 ? t : e;
198
198
  }
199
- var I;
199
+ var C;
200
200
  (function(e) {
201
201
  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";
202
- })(I || (I = {}));
202
+ })(C || (C = {}));
203
203
  const Mt = 32;
204
- var H;
204
+ var k;
205
205
  (function(e) {
206
206
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
207
- })(H || (H = {}));
208
- function Te(e) {
209
- return e >= I.ZERO && e <= I.NINE;
207
+ })(k || (k = {}));
208
+ function me(e) {
209
+ return e >= C.ZERO && e <= C.NINE;
210
210
  }
211
211
  function Bt(e) {
212
- return e >= I.UPPER_A && e <= I.UPPER_F || e >= I.LOWER_A && e <= I.LOWER_F;
212
+ return e >= C.UPPER_A && e <= C.UPPER_F || e >= C.LOWER_A && e <= C.LOWER_F;
213
213
  }
214
214
  function xt(e) {
215
- return e >= I.UPPER_A && e <= I.UPPER_Z || e >= I.LOWER_A && e <= I.LOWER_Z || Te(e);
215
+ return e >= C.UPPER_A && e <= C.UPPER_Z || e >= C.LOWER_A && e <= C.LOWER_Z || me(e);
216
216
  }
217
217
  function Ht(e) {
218
- return e === I.EQUALS || xt(e);
218
+ return e === C.EQUALS || xt(e);
219
219
  }
220
- var N;
220
+ var I;
221
221
  (function(e) {
222
222
  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";
223
- })(N || (N = {}));
224
- var P;
223
+ })(I || (I = {}));
224
+ var M;
225
225
  (function(e) {
226
226
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
227
- })(P || (P = {}));
227
+ })(M || (M = {}));
228
228
  class kt {
229
229
  constructor(t, a, s) {
230
- this.decodeTree = t, this.emitCodePoint = a, this.errors = s, this.state = N.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = P.Strict;
230
+ this.decodeTree = t, this.emitCodePoint = a, this.errors = s, this.state = I.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = M.Strict;
231
231
  }
232
232
  /** Resets the instance to make it reusable. */
233
233
  startEntity(t) {
234
- this.decodeMode = t, this.state = N.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
234
+ this.decodeMode = t, this.state = I.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
235
235
  }
236
236
  /**
237
237
  * Write an entity to the decoder. This can be called multiple times with partial entities.
@@ -246,15 +246,15 @@ class kt {
246
246
  */
247
247
  write(t, a) {
248
248
  switch (this.state) {
249
- case N.EntityStart:
250
- return t.charCodeAt(a) === I.NUM ? (this.state = N.NumericStart, this.consumed += 1, this.stateNumericStart(t, a + 1)) : (this.state = N.NamedEntity, this.stateNamedEntity(t, a));
251
- case N.NumericStart:
249
+ case I.EntityStart:
250
+ return t.charCodeAt(a) === C.NUM ? (this.state = I.NumericStart, this.consumed += 1, this.stateNumericStart(t, a + 1)) : (this.state = I.NamedEntity, this.stateNamedEntity(t, a));
251
+ case I.NumericStart:
252
252
  return this.stateNumericStart(t, a);
253
- case N.NumericDecimal:
253
+ case I.NumericDecimal:
254
254
  return this.stateNumericDecimal(t, a);
255
- case N.NumericHex:
255
+ case I.NumericHex:
256
256
  return this.stateNumericHex(t, a);
257
- case N.NamedEntity:
257
+ case I.NamedEntity:
258
258
  return this.stateNamedEntity(t, a);
259
259
  }
260
260
  }
@@ -268,7 +268,7 @@ class kt {
268
268
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
269
269
  */
270
270
  stateNumericStart(t, a) {
271
- return a >= t.length ? -1 : (t.charCodeAt(a) | Mt) === I.LOWER_X ? (this.state = N.NumericHex, this.consumed += 1, this.stateNumericHex(t, a + 1)) : (this.state = N.NumericDecimal, this.stateNumericDecimal(t, a));
271
+ return a >= t.length ? -1 : (t.charCodeAt(a) | Mt) === C.LOWER_X ? (this.state = I.NumericHex, this.consumed += 1, this.stateNumericHex(t, a + 1)) : (this.state = I.NumericDecimal, this.stateNumericDecimal(t, a));
272
272
  }
273
273
  addToNumericResult(t, a, s, c) {
274
274
  if (a !== s) {
@@ -289,7 +289,7 @@ class kt {
289
289
  const s = a;
290
290
  for (; a < t.length; ) {
291
291
  const c = t.charCodeAt(a);
292
- if (Te(c) || Bt(c))
292
+ if (me(c) || Bt(c))
293
293
  a += 1;
294
294
  else
295
295
  return this.addToNumericResult(t, s, a, 16), this.emitNumericEntity(c, 3);
@@ -309,7 +309,7 @@ class kt {
309
309
  const s = a;
310
310
  for (; a < t.length; ) {
311
311
  const c = t.charCodeAt(a);
312
- if (Te(c))
312
+ if (me(c))
313
313
  a += 1;
314
314
  else
315
315
  return this.addToNumericResult(t, s, a, 10), this.emitNumericEntity(c, 2);
@@ -333,11 +333,11 @@ class kt {
333
333
  var s;
334
334
  if (this.consumed <= a)
335
335
  return (s = this.errors) === null || s === void 0 || s.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
336
- if (t === I.SEMI)
336
+ if (t === C.SEMI)
337
337
  this.consumed += 1;
338
- else if (this.decodeMode === P.Strict)
338
+ else if (this.decodeMode === M.Strict)
339
339
  return 0;
340
- return this.emitCodePoint(Pt(this.result), this.consumed), this.errors && (t !== I.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
340
+ return this.emitCodePoint(Pt(this.result), this.consumed), this.errors && (t !== C.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
341
341
  }
342
342
  /**
343
343
  * Parses a named entity.
@@ -350,18 +350,18 @@ class kt {
350
350
  */
351
351
  stateNamedEntity(t, a) {
352
352
  const { decodeTree: s } = this;
353
- let c = s[this.treeIndex], d = (c & H.VALUE_LENGTH) >> 14;
353
+ let c = s[this.treeIndex], d = (c & k.VALUE_LENGTH) >> 14;
354
354
  for (; a < t.length; a++, this.excess++) {
355
- const h = t.charCodeAt(a);
356
- if (this.treeIndex = Ft(s, c, this.treeIndex + Math.max(1, d), h), this.treeIndex < 0)
355
+ const T = t.charCodeAt(a);
356
+ if (this.treeIndex = Ft(s, c, this.treeIndex + Math.max(1, d), T), this.treeIndex < 0)
357
357
  return this.result === 0 || // If we are parsing an attribute
358
- this.decodeMode === P.Attribute && // We shouldn't have consumed any characters after the entity,
358
+ this.decodeMode === M.Attribute && // We shouldn't have consumed any characters after the entity,
359
359
  (d === 0 || // And there should be no invalid characters.
360
- Ht(h)) ? 0 : this.emitNotTerminatedNamedEntity();
361
- if (c = s[this.treeIndex], d = (c & H.VALUE_LENGTH) >> 14, d !== 0) {
362
- if (h === I.SEMI)
360
+ Ht(T)) ? 0 : this.emitNotTerminatedNamedEntity();
361
+ if (c = s[this.treeIndex], d = (c & k.VALUE_LENGTH) >> 14, d !== 0) {
362
+ if (T === C.SEMI)
363
363
  return this.emitNamedEntityData(this.treeIndex, d, this.consumed + this.excess);
364
- this.decodeMode !== P.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
364
+ this.decodeMode !== M.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
365
365
  }
366
366
  }
367
367
  return -1;
@@ -373,7 +373,7 @@ class kt {
373
373
  */
374
374
  emitNotTerminatedNamedEntity() {
375
375
  var t;
376
- const { result: a, decodeTree: s } = this, c = (s[a] & H.VALUE_LENGTH) >> 14;
376
+ const { result: a, decodeTree: s } = this, c = (s[a] & k.VALUE_LENGTH) >> 14;
377
377
  return this.emitNamedEntityData(a, c, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
378
378
  }
379
379
  /**
@@ -387,7 +387,7 @@ class kt {
387
387
  */
388
388
  emitNamedEntityData(t, a, s) {
389
389
  const { decodeTree: c } = this;
390
- return this.emitCodePoint(a === 1 ? c[t] & ~H.VALUE_LENGTH : c[t + 1], s), a === 3 && this.emitCodePoint(c[t + 2], s), s;
390
+ return this.emitCodePoint(a === 1 ? c[t] & ~k.VALUE_LENGTH : c[t + 1], s), a === 3 && this.emitCodePoint(c[t + 2], s), s;
391
391
  }
392
392
  /**
393
393
  * Signal to the parser that the end of the input was reached.
@@ -399,48 +399,48 @@ class kt {
399
399
  end() {
400
400
  var t;
401
401
  switch (this.state) {
402
- case N.NamedEntity:
403
- return this.result !== 0 && (this.decodeMode !== P.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
402
+ case I.NamedEntity:
403
+ return this.result !== 0 && (this.decodeMode !== M.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
404
404
  // Otherwise, emit a numeric entity if we have one.
405
- case N.NumericDecimal:
405
+ case I.NumericDecimal:
406
406
  return this.emitNumericEntity(0, 2);
407
- case N.NumericHex:
407
+ case I.NumericHex:
408
408
  return this.emitNumericEntity(0, 3);
409
- case N.NumericStart:
409
+ case I.NumericStart:
410
410
  return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
411
- case N.EntityStart:
411
+ case I.EntityStart:
412
412
  return 0;
413
413
  }
414
414
  }
415
415
  }
416
416
  function Ft(e, t, a, s) {
417
- const c = (t & H.BRANCH_LENGTH) >> 7, d = t & H.JUMP_TABLE;
417
+ const c = (t & k.BRANCH_LENGTH) >> 7, d = t & k.JUMP_TABLE;
418
418
  if (c === 0)
419
419
  return d !== 0 && s === d ? a : -1;
420
420
  if (d) {
421
- const _ = s - d;
422
- return _ < 0 || _ >= c ? -1 : e[a + _] - 1;
423
- }
424
- let h = a, f = h + c - 1;
425
- for (; h <= f; ) {
426
- const _ = h + f >>> 1, A = e[_];
427
- if (A < s)
428
- h = _ + 1;
429
- else if (A > s)
430
- f = _ - 1;
421
+ const m = s - d;
422
+ return m < 0 || m >= c ? -1 : e[a + m] - 1;
423
+ }
424
+ let T = a, f = T + c - 1;
425
+ for (; T <= f; ) {
426
+ const m = T + f >>> 1, b = e[m];
427
+ if (b < s)
428
+ T = m + 1;
429
+ else if (b > s)
430
+ f = m - 1;
431
431
  else
432
- return e[_ + c];
432
+ return e[m + c];
433
433
  }
434
434
  return -1;
435
435
  }
436
- var T;
436
+ var h;
437
437
  (function(e) {
438
438
  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/";
439
- })(T || (T = {}));
440
- var k;
439
+ })(h || (h = {}));
440
+ var F;
441
441
  (function(e) {
442
442
  e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
443
- })(k || (k = {}));
443
+ })(F || (F = {}));
444
444
  var D;
445
445
  (function(e) {
446
446
  e.NO_QUIRKS = "no-quirks", e.QUIRKS = "quirks", e.LIMITED_QUIRKS = "limited-quirks";
@@ -578,12 +578,12 @@ const Ut = /* @__PURE__ */ new Map([
578
578
  [o.WBR, u.WBR],
579
579
  [o.XMP, u.XMP]
580
580
  ]);
581
- function re(e) {
581
+ function ce(e) {
582
582
  var t;
583
583
  return (t = Ut.get(e)) !== null && t !== void 0 ? t : u.UNKNOWN;
584
584
  }
585
585
  const l = u, yt = {
586
- [T.HTML]: /* @__PURE__ */ new Set([
586
+ [h.HTML]: /* @__PURE__ */ new Set([
587
587
  l.ADDRESS,
588
588
  l.APPLET,
589
589
  l.AREA,
@@ -666,18 +666,18 @@ const l = u, yt = {
666
666
  l.WBR,
667
667
  l.XMP
668
668
  ]),
669
- [T.MATHML]: /* @__PURE__ */ new Set([l.MI, l.MO, l.MN, l.MS, l.MTEXT, l.ANNOTATION_XML]),
670
- [T.SVG]: /* @__PURE__ */ new Set([l.TITLE, l.FOREIGN_OBJECT, l.DESC]),
671
- [T.XLINK]: /* @__PURE__ */ new Set(),
672
- [T.XML]: /* @__PURE__ */ new Set(),
673
- [T.XMLNS]: /* @__PURE__ */ new Set()
674
- }, he = /* @__PURE__ */ new Set([l.H1, l.H2, l.H3, l.H4, l.H5, l.H6]);
669
+ [h.MATHML]: /* @__PURE__ */ new Set([l.MI, l.MO, l.MN, l.MS, l.MTEXT, l.ANNOTATION_XML]),
670
+ [h.SVG]: /* @__PURE__ */ new Set([l.TITLE, l.FOREIGN_OBJECT, l.DESC]),
671
+ [h.XLINK]: /* @__PURE__ */ new Set(),
672
+ [h.XML]: /* @__PURE__ */ new Set(),
673
+ [h.XMLNS]: /* @__PURE__ */ new Set()
674
+ }, _e = /* @__PURE__ */ new Set([l.H1, l.H2, l.H3, l.H4, l.H5, l.H6]);
675
675
  o.STYLE, o.SCRIPT, o.XMP, o.IFRAME, o.NOEMBED, o.NOFRAMES, o.PLAINTEXT;
676
676
  var i;
677
677
  (function(e) {
678
678
  e[e.DATA = 0] = "DATA", e[e.RCDATA = 1] = "RCDATA", e[e.RAWTEXT = 2] = "RAWTEXT", e[e.SCRIPT_DATA = 3] = "SCRIPT_DATA", e[e.PLAINTEXT = 4] = "PLAINTEXT", e[e.TAG_OPEN = 5] = "TAG_OPEN", e[e.END_TAG_OPEN = 6] = "END_TAG_OPEN", e[e.TAG_NAME = 7] = "TAG_NAME", e[e.RCDATA_LESS_THAN_SIGN = 8] = "RCDATA_LESS_THAN_SIGN", e[e.RCDATA_END_TAG_OPEN = 9] = "RCDATA_END_TAG_OPEN", e[e.RCDATA_END_TAG_NAME = 10] = "RCDATA_END_TAG_NAME", e[e.RAWTEXT_LESS_THAN_SIGN = 11] = "RAWTEXT_LESS_THAN_SIGN", e[e.RAWTEXT_END_TAG_OPEN = 12] = "RAWTEXT_END_TAG_OPEN", e[e.RAWTEXT_END_TAG_NAME = 13] = "RAWTEXT_END_TAG_NAME", e[e.SCRIPT_DATA_LESS_THAN_SIGN = 14] = "SCRIPT_DATA_LESS_THAN_SIGN", e[e.SCRIPT_DATA_END_TAG_OPEN = 15] = "SCRIPT_DATA_END_TAG_OPEN", e[e.SCRIPT_DATA_END_TAG_NAME = 16] = "SCRIPT_DATA_END_TAG_NAME", e[e.SCRIPT_DATA_ESCAPE_START = 17] = "SCRIPT_DATA_ESCAPE_START", e[e.SCRIPT_DATA_ESCAPE_START_DASH = 18] = "SCRIPT_DATA_ESCAPE_START_DASH", e[e.SCRIPT_DATA_ESCAPED = 19] = "SCRIPT_DATA_ESCAPED", e[e.SCRIPT_DATA_ESCAPED_DASH = 20] = "SCRIPT_DATA_ESCAPED_DASH", e[e.SCRIPT_DATA_ESCAPED_DASH_DASH = 21] = "SCRIPT_DATA_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN = 22] = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN = 23] = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME = 24] = "SCRIPT_DATA_ESCAPED_END_TAG_NAME", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START = 25] = "SCRIPT_DATA_DOUBLE_ESCAPE_START", e[e.SCRIPT_DATA_DOUBLE_ESCAPED = 26] = "SCRIPT_DATA_DOUBLE_ESCAPED", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH = 27] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH = 28] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN = 29] = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END = 30] = "SCRIPT_DATA_DOUBLE_ESCAPE_END", e[e.BEFORE_ATTRIBUTE_NAME = 31] = "BEFORE_ATTRIBUTE_NAME", e[e.ATTRIBUTE_NAME = 32] = "ATTRIBUTE_NAME", e[e.AFTER_ATTRIBUTE_NAME = 33] = "AFTER_ATTRIBUTE_NAME", e[e.BEFORE_ATTRIBUTE_VALUE = 34] = "BEFORE_ATTRIBUTE_VALUE", e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED = 35] = "ATTRIBUTE_VALUE_DOUBLE_QUOTED", e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED = 36] = "ATTRIBUTE_VALUE_SINGLE_QUOTED", e[e.ATTRIBUTE_VALUE_UNQUOTED = 37] = "ATTRIBUTE_VALUE_UNQUOTED", e[e.AFTER_ATTRIBUTE_VALUE_QUOTED = 38] = "AFTER_ATTRIBUTE_VALUE_QUOTED", e[e.SELF_CLOSING_START_TAG = 39] = "SELF_CLOSING_START_TAG", e[e.BOGUS_COMMENT = 40] = "BOGUS_COMMENT", e[e.MARKUP_DECLARATION_OPEN = 41] = "MARKUP_DECLARATION_OPEN", e[e.COMMENT_START = 42] = "COMMENT_START", e[e.COMMENT_START_DASH = 43] = "COMMENT_START_DASH", e[e.COMMENT = 44] = "COMMENT", e[e.COMMENT_LESS_THAN_SIGN = 45] = "COMMENT_LESS_THAN_SIGN", e[e.COMMENT_LESS_THAN_SIGN_BANG = 46] = "COMMENT_LESS_THAN_SIGN_BANG", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH = 47] = "COMMENT_LESS_THAN_SIGN_BANG_DASH", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH = 48] = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH", e[e.COMMENT_END_DASH = 49] = "COMMENT_END_DASH", e[e.COMMENT_END = 50] = "COMMENT_END", e[e.COMMENT_END_BANG = 51] = "COMMENT_END_BANG", e[e.DOCTYPE = 52] = "DOCTYPE", e[e.BEFORE_DOCTYPE_NAME = 53] = "BEFORE_DOCTYPE_NAME", e[e.DOCTYPE_NAME = 54] = "DOCTYPE_NAME", e[e.AFTER_DOCTYPE_NAME = 55] = "AFTER_DOCTYPE_NAME", e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD = 56] = "AFTER_DOCTYPE_PUBLIC_KEYWORD", e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER = 57] = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER", e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED = 58] = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED = 59] = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER = 60] = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER", e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS = 61] = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS", e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD = 62] = "AFTER_DOCTYPE_SYSTEM_KEYWORD", e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER = 63] = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER", e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED = 64] = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED = 65] = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER = 66] = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER", e[e.BOGUS_DOCTYPE = 67] = "BOGUS_DOCTYPE", e[e.CDATA_SECTION = 68] = "CDATA_SECTION", e[e.CDATA_SECTION_BRACKET = 69] = "CDATA_SECTION_BRACKET", e[e.CDATA_SECTION_END = 70] = "CDATA_SECTION_END", e[e.CHARACTER_REFERENCE = 71] = "CHARACTER_REFERENCE", e[e.AMBIGUOUS_AMPERSAND = 72] = "AMBIGUOUS_AMPERSAND";
679
679
  })(i || (i = {}));
680
- const L = {
680
+ const p = {
681
681
  DATA: i.DATA,
682
682
  RCDATA: i.RCDATA,
683
683
  RAWTEXT: i.RAWTEXT,
@@ -688,33 +688,33 @@ const L = {
688
688
  function wt(e) {
689
689
  return e >= r.DIGIT_0 && e <= r.DIGIT_9;
690
690
  }
691
- function v(e) {
691
+ function W(e) {
692
692
  return e >= r.LATIN_CAPITAL_A && e <= r.LATIN_CAPITAL_Z;
693
693
  }
694
- function Yt(e) {
694
+ function vt(e) {
695
695
  return e >= r.LATIN_SMALL_A && e <= r.LATIN_SMALL_Z;
696
696
  }
697
- function M(e) {
698
- return Yt(e) || v(e);
697
+ function B(e) {
698
+ return vt(e) || W(e);
699
699
  }
700
- function Re(e) {
701
- return M(e) || wt(e);
700
+ function ge(e) {
701
+ return B(e) || wt(e);
702
702
  }
703
- function J(e) {
703
+ function ee(e) {
704
704
  return e + 32;
705
705
  }
706
- function Ge(e) {
706
+ function Ke(e) {
707
707
  return e === r.SPACE || e === r.LINE_FEED || e === r.TABULATION || e === r.FORM_FEED;
708
708
  }
709
- function De(e) {
710
- return Ge(e) || e === r.SOLIDUS || e === r.GREATER_THAN_SIGN;
709
+ function Pe(e) {
710
+ return Ke(e) || e === r.SOLIDUS || e === r.GREATER_THAN_SIGN;
711
711
  }
712
- function vt(e) {
713
- return e === r.NULL ? E.nullCharacterReference : e > 1114111 ? E.characterReferenceOutsideUnicodeRange : Ye(e) ? E.surrogateCharacterReference : Qe(e) ? E.noncharacterCharacterReference : ve(e) || e === r.CARRIAGE_RETURN ? E.controlCharacterReference : null;
712
+ function Yt(e) {
713
+ return e === r.NULL ? E.nullCharacterReference : e > 1114111 ? E.characterReferenceOutsideUnicodeRange : Qe(e) ? E.surrogateCharacterReference : Ge(e) ? E.noncharacterCharacterReference : We(e) || e === r.CARRIAGE_RETURN ? E.controlCharacterReference : null;
714
714
  }
715
- class Qt {
715
+ class qt {
716
716
  constructor(t, a) {
717
- this.options = t, this.handler = a, this.paused = !1, this.inLoop = !1, this.inForeignNode = !1, this.lastStartTagName = "", this.active = !1, this.state = i.DATA, this.returnState = i.DATA, this.entityStartPos = 0, this.consumedAfterSnapshot = -1, this.currentCharacterToken = null, this.currentToken = null, this.currentAttr = { name: "", value: "" }, this.preprocessor = new Dt(a), this.currentLocation = this.getCurrentLocation(-1), this.entityDecoder = new kt(pt, (s, c) => {
717
+ this.options = t, this.handler = a, this.paused = !1, this.inLoop = !1, this.inForeignNode = !1, this.lastStartTagName = "", this.active = !1, this.state = i.DATA, this.returnState = i.DATA, this.entityStartPos = 0, this.consumedAfterSnapshot = -1, this.currentCharacterToken = null, this.currentToken = null, this.currentAttr = { name: "", value: "" }, this.preprocessor = new Rt(a), this.currentLocation = this.getCurrentLocation(-1), this.entityDecoder = new kt(Dt, (s, c) => {
718
718
  this.preprocessor.pos = this.entityStartPos + c - 1, this._flushCodePointConsumedAsCharacterReference(s);
719
719
  }, a.onParseError ? {
720
720
  missingSemicolonAfterCharacterReference: () => {
@@ -724,7 +724,7 @@ class Qt {
724
724
  this._err(E.absenceOfDigitsInNumericCharacterReference, this.entityStartPos - this.preprocessor.pos + s);
725
725
  },
726
726
  validateNumericCharacterReference: (s) => {
727
- const c = vt(s);
727
+ const c = Yt(s);
728
728
  c && this._err(c, 1);
729
729
  }
730
730
  } : void 0);
@@ -789,7 +789,7 @@ class Qt {
789
789
  //Token creation
790
790
  _createStartTagToken() {
791
791
  this.currentToken = {
792
- type: m.START_TAG,
792
+ type: _.START_TAG,
793
793
  tagName: "",
794
794
  tagID: u.UNKNOWN,
795
795
  selfClosing: !1,
@@ -800,7 +800,7 @@ class Qt {
800
800
  }
801
801
  _createEndTagToken() {
802
802
  this.currentToken = {
803
- type: m.END_TAG,
803
+ type: _.END_TAG,
804
804
  tagName: "",
805
805
  tagID: u.UNKNOWN,
806
806
  selfClosing: !1,
@@ -811,14 +811,14 @@ class Qt {
811
811
  }
812
812
  _createCommentToken(t) {
813
813
  this.currentToken = {
814
- type: m.COMMENT,
814
+ type: _.COMMENT,
815
815
  data: "",
816
816
  location: this.getCurrentLocation(t)
817
817
  };
818
818
  }
819
819
  _createDoctypeToken(t) {
820
820
  this.currentToken = {
821
- type: m.DOCTYPE,
821
+ type: _.DOCTYPE,
822
822
  name: t,
823
823
  forceQuirks: !1,
824
824
  publicId: null,
@@ -843,7 +843,7 @@ class Qt {
843
843
  _leaveAttrName() {
844
844
  var t, a;
845
845
  const s = this.currentToken;
846
- if (We(s, this.currentAttr.name) === null) {
846
+ if (Xe(s, this.currentAttr.name) === null) {
847
847
  if (s.attrs.push(this.currentAttr), s.location && this.currentLocation) {
848
848
  const c = (t = (a = s.location).attrs) !== null && t !== void 0 ? t : a.attrs = /* @__PURE__ */ Object.create(null);
849
849
  c[this.currentAttr.name] = this.currentLocation, this._leaveAttrValue();
@@ -860,7 +860,7 @@ class Qt {
860
860
  }
861
861
  emitCurrentTagToken() {
862
862
  const t = this.currentToken;
863
- this.prepareToken(t), t.tagID = re(t.tagName), t.type === m.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(E.endTagWithAttributes), t.selfClosing && this._err(E.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
863
+ this.prepareToken(t), t.tagID = ce(t.tagName), t.type === _.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(E.endTagWithAttributes), t.selfClosing && this._err(E.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
864
864
  }
865
865
  emitCurrentComment(t) {
866
866
  this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
@@ -871,15 +871,15 @@ class Qt {
871
871
  _emitCurrentCharacterToken(t) {
872
872
  if (this.currentCharacterToken) {
873
873
  switch (t && this.currentCharacterToken.location && (this.currentCharacterToken.location.endLine = t.startLine, this.currentCharacterToken.location.endCol = t.startCol, this.currentCharacterToken.location.endOffset = t.startOffset), this.currentCharacterToken.type) {
874
- case m.CHARACTER: {
874
+ case _.CHARACTER: {
875
875
  this.handler.onCharacter(this.currentCharacterToken);
876
876
  break;
877
877
  }
878
- case m.NULL_CHARACTER: {
878
+ case _.NULL_CHARACTER: {
879
879
  this.handler.onNullCharacter(this.currentCharacterToken);
880
880
  break;
881
881
  }
882
- case m.WHITESPACE_CHARACTER: {
882
+ case _.WHITESPACE_CHARACTER: {
883
883
  this.handler.onWhitespaceCharacter(this.currentCharacterToken);
884
884
  break;
885
885
  }
@@ -889,7 +889,7 @@ class Qt {
889
889
  }
890
890
  _emitEOFToken() {
891
891
  const t = this.getCurrentLocation(0);
892
- t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type: m.EOF, location: t }), this.active = !1;
892
+ t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type: _.EOF, location: t }), this.active = !1;
893
893
  }
894
894
  //Characters emission
895
895
  //OPTIMIZATION: The specification uses only one type of character token (one token per character).
@@ -910,17 +910,17 @@ class Qt {
910
910
  this._createCharacterToken(t, a);
911
911
  }
912
912
  _emitCodePoint(t) {
913
- const a = Ge(t) ? m.WHITESPACE_CHARACTER : t === r.NULL ? m.NULL_CHARACTER : m.CHARACTER;
913
+ const a = Ke(t) ? _.WHITESPACE_CHARACTER : t === r.NULL ? _.NULL_CHARACTER : _.CHARACTER;
914
914
  this._appendCharToCurrentCharacterToken(a, String.fromCodePoint(t));
915
915
  }
916
916
  //NOTE: used when we emit characters explicitly.
917
917
  //This is always for non-whitespace and non-null characters, which allows us to avoid additional checks.
918
918
  _emitChars(t) {
919
- this._appendCharToCurrentCharacterToken(m.CHARACTER, t);
919
+ this._appendCharToCurrentCharacterToken(_.CHARACTER, t);
920
920
  }
921
921
  // Character reference helpers
922
922
  _startCharacterReference() {
923
- this.returnState = this.state, this.state = i.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? P.Attribute : P.Legacy);
923
+ this.returnState = this.state, this.state = i.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? M.Attribute : M.Legacy);
924
924
  }
925
925
  _isCharacterReferenceInAttribute() {
926
926
  return this.returnState === i.ATTRIBUTE_VALUE_DOUBLE_QUOTED || this.returnState === i.ATTRIBUTE_VALUE_SINGLE_QUOTED || this.returnState === i.ATTRIBUTE_VALUE_UNQUOTED;
@@ -1265,7 +1265,7 @@ class Qt {
1265
1265
  break;
1266
1266
  }
1267
1267
  case r.NULL: {
1268
- this._err(E.unexpectedNullCharacter), this._emitChars(b);
1268
+ this._err(E.unexpectedNullCharacter), this._emitChars(N);
1269
1269
  break;
1270
1270
  }
1271
1271
  case r.EOF: {
@@ -1285,7 +1285,7 @@ class Qt {
1285
1285
  break;
1286
1286
  }
1287
1287
  case r.NULL: {
1288
- this._err(E.unexpectedNullCharacter), this._emitChars(b);
1288
+ this._err(E.unexpectedNullCharacter), this._emitChars(N);
1289
1289
  break;
1290
1290
  }
1291
1291
  case r.EOF: {
@@ -1305,7 +1305,7 @@ class Qt {
1305
1305
  break;
1306
1306
  }
1307
1307
  case r.NULL: {
1308
- this._err(E.unexpectedNullCharacter), this._emitChars(b);
1308
+ this._err(E.unexpectedNullCharacter), this._emitChars(N);
1309
1309
  break;
1310
1310
  }
1311
1311
  case r.EOF: {
@@ -1321,7 +1321,7 @@ class Qt {
1321
1321
  _statePlaintext(t) {
1322
1322
  switch (t) {
1323
1323
  case r.NULL: {
1324
- this._err(E.unexpectedNullCharacter), this._emitChars(b);
1324
+ this._err(E.unexpectedNullCharacter), this._emitChars(N);
1325
1325
  break;
1326
1326
  }
1327
1327
  case r.EOF: {
@@ -1335,7 +1335,7 @@ class Qt {
1335
1335
  // Tag open state
1336
1336
  //------------------------------------------------------------------
1337
1337
  _stateTagOpen(t) {
1338
- if (M(t))
1338
+ if (B(t))
1339
1339
  this._createStartTagToken(), this.state = i.TAG_NAME, this._stateTagName(t);
1340
1340
  else
1341
1341
  switch (t) {
@@ -1362,7 +1362,7 @@ class Qt {
1362
1362
  // End tag open state
1363
1363
  //------------------------------------------------------------------
1364
1364
  _stateEndTagOpen(t) {
1365
- if (M(t))
1365
+ if (B(t))
1366
1366
  this._createEndTagToken(), this.state = i.TAG_NAME, this._stateTagName(t);
1367
1367
  else
1368
1368
  switch (t) {
@@ -1399,7 +1399,7 @@ class Qt {
1399
1399
  break;
1400
1400
  }
1401
1401
  case r.NULL: {
1402
- this._err(E.unexpectedNullCharacter), a.tagName += b;
1402
+ this._err(E.unexpectedNullCharacter), a.tagName += N;
1403
1403
  break;
1404
1404
  }
1405
1405
  case r.EOF: {
@@ -1407,7 +1407,7 @@ class Qt {
1407
1407
  break;
1408
1408
  }
1409
1409
  default:
1410
- a.tagName += String.fromCodePoint(v(t) ? J(t) : t);
1410
+ a.tagName += String.fromCodePoint(W(t) ? ee(t) : t);
1411
1411
  }
1412
1412
  }
1413
1413
  // RCDATA less-than sign state
@@ -1418,7 +1418,7 @@ class Qt {
1418
1418
  // RCDATA end tag open state
1419
1419
  //------------------------------------------------------------------
1420
1420
  _stateRcdataEndTagOpen(t) {
1421
- M(t) ? (this.state = i.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = i.RCDATA, this._stateRcdata(t));
1421
+ B(t) ? (this.state = i.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = i.RCDATA, this._stateRcdata(t));
1422
1422
  }
1423
1423
  handleSpecialEndTag(t) {
1424
1424
  if (!this.preprocessor.startsWith(this.lastStartTagName, !1))
@@ -1452,7 +1452,7 @@ class Qt {
1452
1452
  // RAWTEXT end tag open state
1453
1453
  //------------------------------------------------------------------
1454
1454
  _stateRawtextEndTagOpen(t) {
1455
- M(t) ? (this.state = i.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = i.RAWTEXT, this._stateRawtext(t));
1455
+ B(t) ? (this.state = i.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = i.RAWTEXT, this._stateRawtext(t));
1456
1456
  }
1457
1457
  // RAWTEXT end tag name state
1458
1458
  //------------------------------------------------------------------
@@ -1478,7 +1478,7 @@ class Qt {
1478
1478
  // Script data end tag open state
1479
1479
  //------------------------------------------------------------------
1480
1480
  _stateScriptDataEndTagOpen(t) {
1481
- M(t) ? (this.state = i.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = i.SCRIPT_DATA, this._stateScriptData(t));
1481
+ B(t) ? (this.state = i.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = i.SCRIPT_DATA, this._stateScriptData(t));
1482
1482
  }
1483
1483
  // Script data end tag name state
1484
1484
  //------------------------------------------------------------------
@@ -1508,7 +1508,7 @@ class Qt {
1508
1508
  break;
1509
1509
  }
1510
1510
  case r.NULL: {
1511
- this._err(E.unexpectedNullCharacter), this._emitChars(b);
1511
+ this._err(E.unexpectedNullCharacter), this._emitChars(N);
1512
1512
  break;
1513
1513
  }
1514
1514
  case r.EOF: {
@@ -1532,7 +1532,7 @@ class Qt {
1532
1532
  break;
1533
1533
  }
1534
1534
  case r.NULL: {
1535
- this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_ESCAPED, this._emitChars(b);
1535
+ this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_ESCAPED, this._emitChars(N);
1536
1536
  break;
1537
1537
  }
1538
1538
  case r.EOF: {
@@ -1560,7 +1560,7 @@ class Qt {
1560
1560
  break;
1561
1561
  }
1562
1562
  case r.NULL: {
1563
- this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_ESCAPED, this._emitChars(b);
1563
+ this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_ESCAPED, this._emitChars(N);
1564
1564
  break;
1565
1565
  }
1566
1566
  case r.EOF: {
@@ -1574,12 +1574,12 @@ class Qt {
1574
1574
  // Script data escaped less-than sign state
1575
1575
  //------------------------------------------------------------------
1576
1576
  _stateScriptDataEscapedLessThanSign(t) {
1577
- t === r.SOLIDUS ? this.state = i.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : M(t) ? (this._emitChars("<"), this.state = i.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = i.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
1577
+ t === r.SOLIDUS ? this.state = i.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : B(t) ? (this._emitChars("<"), this.state = i.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = i.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
1578
1578
  }
1579
1579
  // Script data escaped end tag open state
1580
1580
  //------------------------------------------------------------------
1581
1581
  _stateScriptDataEscapedEndTagOpen(t) {
1582
- M(t) ? (this.state = i.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = i.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
1582
+ B(t) ? (this.state = i.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = i.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
1583
1583
  }
1584
1584
  // Script data escaped end tag name state
1585
1585
  //------------------------------------------------------------------
@@ -1589,9 +1589,9 @@ class Qt {
1589
1589
  // Script data double escape start state
1590
1590
  //------------------------------------------------------------------
1591
1591
  _stateScriptDataDoubleEscapeStart(t) {
1592
- if (this.preprocessor.startsWith(S.SCRIPT, !1) && De(this.preprocessor.peek(S.SCRIPT.length))) {
1592
+ if (this.preprocessor.startsWith(L.SCRIPT, !1) && Pe(this.preprocessor.peek(L.SCRIPT.length))) {
1593
1593
  this._emitCodePoint(t);
1594
- for (let a = 0; a < S.SCRIPT.length; a++)
1594
+ for (let a = 0; a < L.SCRIPT.length; a++)
1595
1595
  this._emitCodePoint(this._consume());
1596
1596
  this.state = i.SCRIPT_DATA_DOUBLE_ESCAPED;
1597
1597
  } else this._ensureHibernation() || (this.state = i.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
@@ -1609,7 +1609,7 @@ class Qt {
1609
1609
  break;
1610
1610
  }
1611
1611
  case r.NULL: {
1612
- this._err(E.unexpectedNullCharacter), this._emitChars(b);
1612
+ this._err(E.unexpectedNullCharacter), this._emitChars(N);
1613
1613
  break;
1614
1614
  }
1615
1615
  case r.EOF: {
@@ -1633,7 +1633,7 @@ class Qt {
1633
1633
  break;
1634
1634
  }
1635
1635
  case r.NULL: {
1636
- this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(b);
1636
+ this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(N);
1637
1637
  break;
1638
1638
  }
1639
1639
  case r.EOF: {
@@ -1661,7 +1661,7 @@ class Qt {
1661
1661
  break;
1662
1662
  }
1663
1663
  case r.NULL: {
1664
- this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(b);
1664
+ this._err(E.unexpectedNullCharacter), this.state = i.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(N);
1665
1665
  break;
1666
1666
  }
1667
1667
  case r.EOF: {
@@ -1680,9 +1680,9 @@ class Qt {
1680
1680
  // Script data double escape end state
1681
1681
  //------------------------------------------------------------------
1682
1682
  _stateScriptDataDoubleEscapeEnd(t) {
1683
- if (this.preprocessor.startsWith(S.SCRIPT, !1) && De(this.preprocessor.peek(S.SCRIPT.length))) {
1683
+ if (this.preprocessor.startsWith(L.SCRIPT, !1) && Pe(this.preprocessor.peek(L.SCRIPT.length))) {
1684
1684
  this._emitCodePoint(t);
1685
- for (let a = 0; a < S.SCRIPT.length; a++)
1685
+ for (let a = 0; a < L.SCRIPT.length; a++)
1686
1686
  this._emitCodePoint(this._consume());
1687
1687
  this.state = i.SCRIPT_DATA_ESCAPED;
1688
1688
  } else this._ensureHibernation() || (this.state = i.SCRIPT_DATA_DOUBLE_ESCAPED, this._stateScriptDataDoubleEscaped(t));
@@ -1735,11 +1735,11 @@ class Qt {
1735
1735
  break;
1736
1736
  }
1737
1737
  case r.NULL: {
1738
- this._err(E.unexpectedNullCharacter), this.currentAttr.name += b;
1738
+ this._err(E.unexpectedNullCharacter), this.currentAttr.name += N;
1739
1739
  break;
1740
1740
  }
1741
1741
  default:
1742
- this.currentAttr.name += String.fromCodePoint(v(t) ? J(t) : t);
1742
+ this.currentAttr.name += String.fromCodePoint(W(t) ? ee(t) : t);
1743
1743
  }
1744
1744
  }
1745
1745
  // After attribute name state
@@ -1809,7 +1809,7 @@ class Qt {
1809
1809
  break;
1810
1810
  }
1811
1811
  case r.NULL: {
1812
- this._err(E.unexpectedNullCharacter), this.currentAttr.value += b;
1812
+ this._err(E.unexpectedNullCharacter), this.currentAttr.value += N;
1813
1813
  break;
1814
1814
  }
1815
1815
  case r.EOF: {
@@ -1833,7 +1833,7 @@ class Qt {
1833
1833
  break;
1834
1834
  }
1835
1835
  case r.NULL: {
1836
- this._err(E.unexpectedNullCharacter), this.currentAttr.value += b;
1836
+ this._err(E.unexpectedNullCharacter), this.currentAttr.value += N;
1837
1837
  break;
1838
1838
  }
1839
1839
  case r.EOF: {
@@ -1864,7 +1864,7 @@ class Qt {
1864
1864
  break;
1865
1865
  }
1866
1866
  case r.NULL: {
1867
- this._err(E.unexpectedNullCharacter), this.currentAttr.value += b;
1867
+ this._err(E.unexpectedNullCharacter), this.currentAttr.value += N;
1868
1868
  break;
1869
1869
  }
1870
1870
  case r.QUOTATION_MARK:
@@ -1941,7 +1941,7 @@ class Qt {
1941
1941
  break;
1942
1942
  }
1943
1943
  case r.NULL: {
1944
- this._err(E.unexpectedNullCharacter), a.data += b;
1944
+ this._err(E.unexpectedNullCharacter), a.data += N;
1945
1945
  break;
1946
1946
  }
1947
1947
  default:
@@ -1951,7 +1951,7 @@ class Qt {
1951
1951
  // Markup declaration open state
1952
1952
  //------------------------------------------------------------------
1953
1953
  _stateMarkupDeclarationOpen(t) {
1954
- this._consumeSequenceIfMatch(S.DASH_DASH, !0) ? (this._createCommentToken(S.DASH_DASH.length + 1), this.state = i.COMMENT_START) : this._consumeSequenceIfMatch(S.DOCTYPE, !1) ? (this.currentLocation = this.getCurrentLocation(S.DOCTYPE.length + 1), this.state = i.DOCTYPE) : this._consumeSequenceIfMatch(S.CDATA_START, !0) ? this.inForeignNode ? this.state = i.CDATA_SECTION : (this._err(E.cdataInHtmlContent), this._createCommentToken(S.CDATA_START.length + 1), this.currentToken.data = "[CDATA[", this.state = i.BOGUS_COMMENT) : this._ensureHibernation() || (this._err(E.incorrectlyOpenedComment), this._createCommentToken(2), this.state = i.BOGUS_COMMENT, this._stateBogusComment(t));
1954
+ this._consumeSequenceIfMatch(L.DASH_DASH, !0) ? (this._createCommentToken(L.DASH_DASH.length + 1), this.state = i.COMMENT_START) : this._consumeSequenceIfMatch(L.DOCTYPE, !1) ? (this.currentLocation = this.getCurrentLocation(L.DOCTYPE.length + 1), this.state = i.DOCTYPE) : this._consumeSequenceIfMatch(L.CDATA_START, !0) ? this.inForeignNode ? this.state = i.CDATA_SECTION : (this._err(E.cdataInHtmlContent), this._createCommentToken(L.CDATA_START.length + 1), this.currentToken.data = "[CDATA[", this.state = i.BOGUS_COMMENT) : this._ensureHibernation() || (this._err(E.incorrectlyOpenedComment), this._createCommentToken(2), this.state = i.BOGUS_COMMENT, this._stateBogusComment(t));
1955
1955
  }
1956
1956
  // Comment start state
1957
1957
  //------------------------------------------------------------------
@@ -2006,7 +2006,7 @@ class Qt {
2006
2006
  break;
2007
2007
  }
2008
2008
  case r.NULL: {
2009
- this._err(E.unexpectedNullCharacter), a.data += b;
2009
+ this._err(E.unexpectedNullCharacter), a.data += N;
2010
2010
  break;
2011
2011
  }
2012
2012
  case r.EOF: {
@@ -2140,8 +2140,8 @@ class Qt {
2140
2140
  // Before DOCTYPE name state
2141
2141
  //------------------------------------------------------------------
2142
2142
  _stateBeforeDoctypeName(t) {
2143
- if (v(t))
2144
- this._createDoctypeToken(String.fromCharCode(J(t))), this.state = i.DOCTYPE_NAME;
2143
+ if (W(t))
2144
+ this._createDoctypeToken(String.fromCharCode(ee(t))), this.state = i.DOCTYPE_NAME;
2145
2145
  else
2146
2146
  switch (t) {
2147
2147
  case r.SPACE:
@@ -2150,7 +2150,7 @@ class Qt {
2150
2150
  case r.FORM_FEED:
2151
2151
  break;
2152
2152
  case r.NULL: {
2153
- this._err(E.unexpectedNullCharacter), this._createDoctypeToken(b), this.state = i.DOCTYPE_NAME;
2153
+ this._err(E.unexpectedNullCharacter), this._createDoctypeToken(N), this.state = i.DOCTYPE_NAME;
2154
2154
  break;
2155
2155
  }
2156
2156
  case r.GREATER_THAN_SIGN: {
@@ -2186,7 +2186,7 @@ class Qt {
2186
2186
  break;
2187
2187
  }
2188
2188
  case r.NULL: {
2189
- this._err(E.unexpectedNullCharacter), a.name += b;
2189
+ this._err(E.unexpectedNullCharacter), a.name += N;
2190
2190
  break;
2191
2191
  }
2192
2192
  case r.EOF: {
@@ -2194,7 +2194,7 @@ class Qt {
2194
2194
  break;
2195
2195
  }
2196
2196
  default:
2197
- a.name += String.fromCodePoint(v(t) ? J(t) : t);
2197
+ a.name += String.fromCodePoint(W(t) ? ee(t) : t);
2198
2198
  }
2199
2199
  }
2200
2200
  // After DOCTYPE name state
@@ -2216,7 +2216,7 @@ class Qt {
2216
2216
  break;
2217
2217
  }
2218
2218
  default:
2219
- this._consumeSequenceIfMatch(S.PUBLIC, !1) ? this.state = i.AFTER_DOCTYPE_PUBLIC_KEYWORD : this._consumeSequenceIfMatch(S.SYSTEM, !1) ? this.state = i.AFTER_DOCTYPE_SYSTEM_KEYWORD : this._ensureHibernation() || (this._err(E.invalidCharacterSequenceAfterDoctypeName), a.forceQuirks = !0, this.state = i.BOGUS_DOCTYPE, this._stateBogusDoctype(t));
2219
+ this._consumeSequenceIfMatch(L.PUBLIC, !1) ? this.state = i.AFTER_DOCTYPE_PUBLIC_KEYWORD : this._consumeSequenceIfMatch(L.SYSTEM, !1) ? this.state = i.AFTER_DOCTYPE_SYSTEM_KEYWORD : this._ensureHibernation() || (this._err(E.invalidCharacterSequenceAfterDoctypeName), a.forceQuirks = !0, this.state = i.BOGUS_DOCTYPE, this._stateBogusDoctype(t));
2220
2220
  }
2221
2221
  }
2222
2222
  // After DOCTYPE public keyword state
@@ -2291,7 +2291,7 @@ class Qt {
2291
2291
  break;
2292
2292
  }
2293
2293
  case r.NULL: {
2294
- this._err(E.unexpectedNullCharacter), a.publicId += b;
2294
+ this._err(E.unexpectedNullCharacter), a.publicId += N;
2295
2295
  break;
2296
2296
  }
2297
2297
  case r.GREATER_THAN_SIGN: {
@@ -2316,7 +2316,7 @@ class Qt {
2316
2316
  break;
2317
2317
  }
2318
2318
  case r.NULL: {
2319
- this._err(E.unexpectedNullCharacter), a.publicId += b;
2319
+ this._err(E.unexpectedNullCharacter), a.publicId += N;
2320
2320
  break;
2321
2321
  }
2322
2322
  case r.GREATER_THAN_SIGN: {
@@ -2465,7 +2465,7 @@ class Qt {
2465
2465
  break;
2466
2466
  }
2467
2467
  case r.NULL: {
2468
- this._err(E.unexpectedNullCharacter), a.systemId += b;
2468
+ this._err(E.unexpectedNullCharacter), a.systemId += N;
2469
2469
  break;
2470
2470
  }
2471
2471
  case r.GREATER_THAN_SIGN: {
@@ -2490,7 +2490,7 @@ class Qt {
2490
2490
  break;
2491
2491
  }
2492
2492
  case r.NULL: {
2493
- this._err(E.unexpectedNullCharacter), a.systemId += b;
2493
+ this._err(E.unexpectedNullCharacter), a.systemId += N;
2494
2494
  break;
2495
2495
  }
2496
2496
  case r.GREATER_THAN_SIGN: {
@@ -2594,16 +2594,16 @@ class Qt {
2594
2594
  this.active = !1, this.preprocessor.pos = this.preprocessor.html.length - 1, this.consumedAfterSnapshot = 0, this.preprocessor.endOfChunkHit = !0;
2595
2595
  return;
2596
2596
  }
2597
- t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(r.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Re(this.preprocessor.peek(1)) ? i.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
2597
+ t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(r.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && ge(this.preprocessor.peek(1)) ? i.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
2598
2598
  }
2599
2599
  // Ambiguos ampersand state
2600
2600
  //------------------------------------------------------------------
2601
2601
  _stateAmbiguousAmpersand(t) {
2602
- Re(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === r.SEMICOLON && this._err(E.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
2602
+ ge(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === r.SEMICOLON && this._err(E.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
2603
2603
  }
2604
2604
  }
2605
- const qe = /* @__PURE__ */ new Set([u.DD, u.DT, u.LI, u.OPTGROUP, u.OPTION, u.P, u.RB, u.RP, u.RT, u.RTC]), pe = /* @__PURE__ */ new Set([
2606
- ...qe,
2605
+ const Ve = /* @__PURE__ */ new Set([u.DD, u.DT, u.LI, u.OPTGROUP, u.OPTION, u.P, u.RB, u.RP, u.RT, u.RTC]), Me = /* @__PURE__ */ new Set([
2606
+ ...Ve,
2607
2607
  u.CAPTION,
2608
2608
  u.COLGROUP,
2609
2609
  u.TBODY,
@@ -2612,7 +2612,7 @@ const qe = /* @__PURE__ */ new Set([u.DD, u.DT, u.LI, u.OPTGROUP, u.OPTION, u.P,
2612
2612
  u.TH,
2613
2613
  u.THEAD,
2614
2614
  u.TR
2615
- ]), te = /* @__PURE__ */ new Set([
2615
+ ]), se = /* @__PURE__ */ new Set([
2616
2616
  u.APPLET,
2617
2617
  u.CAPTION,
2618
2618
  u.HTML,
@@ -2622,7 +2622,7 @@ const qe = /* @__PURE__ */ new Set([u.DD, u.DT, u.LI, u.OPTGROUP, u.OPTION, u.P,
2622
2622
  u.TD,
2623
2623
  u.TEMPLATE,
2624
2624
  u.TH
2625
- ]), Wt = /* @__PURE__ */ new Set([...te, u.OL, u.UL]), Gt = /* @__PURE__ */ new Set([...te, u.BUTTON]), ge = /* @__PURE__ */ new Set([u.ANNOTATION_XML, u.MI, u.MN, u.MO, u.MS, u.MTEXT]), Pe = /* @__PURE__ */ new Set([u.DESC, u.FOREIGN_OBJECT, u.TITLE]), qt = /* @__PURE__ */ new Set([u.TR, u.TEMPLATE, u.HTML]), Kt = /* @__PURE__ */ new Set([u.TBODY, u.TFOOT, u.THEAD, u.TEMPLATE, u.HTML]), Xt = /* @__PURE__ */ new Set([u.TABLE, u.TEMPLATE, u.HTML]), Vt = /* @__PURE__ */ new Set([u.TD, u.TH]);
2625
+ ]), Qt = /* @__PURE__ */ new Set([...se, u.OL, u.UL]), Wt = /* @__PURE__ */ new Set([...se, u.BUTTON]), Be = /* @__PURE__ */ new Set([u.ANNOTATION_XML, u.MI, u.MN, u.MO, u.MS, u.MTEXT]), xe = /* @__PURE__ */ new Set([u.DESC, u.FOREIGN_OBJECT, u.TITLE]), Gt = /* @__PURE__ */ new Set([u.TR, u.TEMPLATE, u.HTML]), Xt = /* @__PURE__ */ new Set([u.TBODY, u.TFOOT, u.THEAD, u.TEMPLATE, u.HTML]), Kt = /* @__PURE__ */ new Set([u.TABLE, u.TEMPLATE, u.HTML]), Vt = /* @__PURE__ */ new Set([u.TD, u.TH]);
2626
2626
  class zt {
2627
2627
  get currentTmplContentOrNode() {
2628
2628
  return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
@@ -2636,7 +2636,7 @@ class zt {
2636
2636
  }
2637
2637
  //Update current element
2638
2638
  _isInTemplate() {
2639
- return this.currentTagId === u.TEMPLATE && this.treeAdapter.getNamespaceURI(this.current) === T.HTML;
2639
+ return this.currentTagId === u.TEMPLATE && this.treeAdapter.getNamespaceURI(this.current) === h.HTML;
2640
2640
  }
2641
2641
  _updateCurrentElement() {
2642
2642
  this.current = this.items[this.stackTop], this.currentTagId = this.tagIDs[this.stackTop];
@@ -2661,7 +2661,7 @@ class zt {
2661
2661
  let a = this.stackTop + 1;
2662
2662
  do
2663
2663
  a = this.tagIDs.lastIndexOf(t, a - 1);
2664
- while (a > 0 && this.treeAdapter.getNamespaceURI(this.items[a]) !== T.HTML);
2664
+ while (a > 0 && this.treeAdapter.getNamespaceURI(this.items[a]) !== h.HTML);
2665
2665
  this.shortenToLength(Math.max(a, 0));
2666
2666
  }
2667
2667
  shortenToLength(t) {
@@ -2679,10 +2679,10 @@ class zt {
2679
2679
  this.shortenToLength(Math.max(s, 0));
2680
2680
  }
2681
2681
  popUntilNumberedHeaderPopped() {
2682
- this.popUntilPopped(he, T.HTML);
2682
+ this.popUntilPopped(_e, h.HTML);
2683
2683
  }
2684
2684
  popUntilTableCellPopped() {
2685
- this.popUntilPopped(Vt, T.HTML);
2685
+ this.popUntilPopped(Vt, h.HTML);
2686
2686
  }
2687
2687
  popAllUpToHtmlElement() {
2688
2688
  this.tmplCount = 0, this.shortenToLength(1);
@@ -2698,13 +2698,13 @@ class zt {
2698
2698
  this.shortenToLength(s + 1);
2699
2699
  }
2700
2700
  clearBackToTableContext() {
2701
- this.clearBackTo(Xt, T.HTML);
2701
+ this.clearBackTo(Kt, h.HTML);
2702
2702
  }
2703
2703
  clearBackToTableBodyContext() {
2704
- this.clearBackTo(Kt, T.HTML);
2704
+ this.clearBackTo(Xt, h.HTML);
2705
2705
  }
2706
2706
  clearBackToTableRowContext() {
2707
- this.clearBackTo(qt, T.HTML);
2707
+ this.clearBackTo(Gt, h.HTML);
2708
2708
  }
2709
2709
  remove(t) {
2710
2710
  const a = this._indexOf(t);
@@ -2729,20 +2729,20 @@ class zt {
2729
2729
  for (let s = this.stackTop; s >= 0; s--) {
2730
2730
  const c = this.tagIDs[s];
2731
2731
  switch (this.treeAdapter.getNamespaceURI(this.items[s])) {
2732
- case T.HTML: {
2732
+ case h.HTML: {
2733
2733
  if (c === t)
2734
2734
  return !0;
2735
2735
  if (a.has(c))
2736
2736
  return !1;
2737
2737
  break;
2738
2738
  }
2739
- case T.SVG: {
2740
- if (Pe.has(c))
2739
+ case h.SVG: {
2740
+ if (xe.has(c))
2741
2741
  return !1;
2742
2742
  break;
2743
2743
  }
2744
- case T.MATHML: {
2745
- if (ge.has(c))
2744
+ case h.MATHML: {
2745
+ if (Be.has(c))
2746
2746
  return !1;
2747
2747
  break;
2748
2748
  }
@@ -2751,32 +2751,32 @@ class zt {
2751
2751
  return !0;
2752
2752
  }
2753
2753
  hasInScope(t) {
2754
- return this.hasInDynamicScope(t, te);
2754
+ return this.hasInDynamicScope(t, se);
2755
2755
  }
2756
2756
  hasInListItemScope(t) {
2757
- return this.hasInDynamicScope(t, Wt);
2757
+ return this.hasInDynamicScope(t, Qt);
2758
2758
  }
2759
2759
  hasInButtonScope(t) {
2760
- return this.hasInDynamicScope(t, Gt);
2760
+ return this.hasInDynamicScope(t, Wt);
2761
2761
  }
2762
2762
  hasNumberedHeaderInScope() {
2763
2763
  for (let t = this.stackTop; t >= 0; t--) {
2764
2764
  const a = this.tagIDs[t];
2765
2765
  switch (this.treeAdapter.getNamespaceURI(this.items[t])) {
2766
- case T.HTML: {
2767
- if (he.has(a))
2766
+ case h.HTML: {
2767
+ if (_e.has(a))
2768
2768
  return !0;
2769
- if (te.has(a))
2769
+ if (se.has(a))
2770
2770
  return !1;
2771
2771
  break;
2772
2772
  }
2773
- case T.SVG: {
2774
- if (Pe.has(a))
2773
+ case h.SVG: {
2774
+ if (xe.has(a))
2775
2775
  return !1;
2776
2776
  break;
2777
2777
  }
2778
- case T.MATHML: {
2779
- if (ge.has(a))
2778
+ case h.MATHML: {
2779
+ if (Be.has(a))
2780
2780
  return !1;
2781
2781
  break;
2782
2782
  }
@@ -2786,7 +2786,7 @@ class zt {
2786
2786
  }
2787
2787
  hasInTableScope(t) {
2788
2788
  for (let a = this.stackTop; a >= 0; a--)
2789
- if (this.treeAdapter.getNamespaceURI(this.items[a]) === T.HTML)
2789
+ if (this.treeAdapter.getNamespaceURI(this.items[a]) === h.HTML)
2790
2790
  switch (this.tagIDs[a]) {
2791
2791
  case t:
2792
2792
  return !0;
@@ -2798,7 +2798,7 @@ class zt {
2798
2798
  }
2799
2799
  hasTableBodyContextInTableScope() {
2800
2800
  for (let t = this.stackTop; t >= 0; t--)
2801
- if (this.treeAdapter.getNamespaceURI(this.items[t]) === T.HTML)
2801
+ if (this.treeAdapter.getNamespaceURI(this.items[t]) === h.HTML)
2802
2802
  switch (this.tagIDs[t]) {
2803
2803
  case u.TBODY:
2804
2804
  case u.THEAD:
@@ -2812,7 +2812,7 @@ class zt {
2812
2812
  }
2813
2813
  hasInSelectScope(t) {
2814
2814
  for (let a = this.stackTop; a >= 0; a--)
2815
- if (this.treeAdapter.getNamespaceURI(this.items[a]) === T.HTML)
2815
+ if (this.treeAdapter.getNamespaceURI(this.items[a]) === h.HTML)
2816
2816
  switch (this.tagIDs[a]) {
2817
2817
  case t:
2818
2818
  return !0;
@@ -2826,24 +2826,24 @@ class zt {
2826
2826
  }
2827
2827
  //Implied end tags
2828
2828
  generateImpliedEndTags() {
2829
- for (; this.currentTagId !== void 0 && qe.has(this.currentTagId); )
2829
+ for (; this.currentTagId !== void 0 && Ve.has(this.currentTagId); )
2830
2830
  this.pop();
2831
2831
  }
2832
2832
  generateImpliedEndTagsThoroughly() {
2833
- for (; this.currentTagId !== void 0 && pe.has(this.currentTagId); )
2833
+ for (; this.currentTagId !== void 0 && Me.has(this.currentTagId); )
2834
2834
  this.pop();
2835
2835
  }
2836
2836
  generateImpliedEndTagsWithExclusion(t) {
2837
- for (; this.currentTagId !== void 0 && this.currentTagId !== t && pe.has(this.currentTagId); )
2837
+ for (; this.currentTagId !== void 0 && this.currentTagId !== t && Me.has(this.currentTagId); )
2838
2838
  this.pop();
2839
2839
  }
2840
2840
  }
2841
- const de = 3;
2842
- var g;
2841
+ const le = 3;
2842
+ var P;
2843
2843
  (function(e) {
2844
2844
  e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
2845
- })(g || (g = {}));
2846
- const Me = { type: g.Marker };
2845
+ })(P || (P = {}));
2846
+ const He = { type: P.Marker };
2847
2847
  class jt {
2848
2848
  constructor(t) {
2849
2849
  this.treeAdapter = t, this.entries = [], this.bookmark = null;
@@ -2852,39 +2852,39 @@ class jt {
2852
2852
  //OPTIMIZATION: at first we try to find possible candidates for exclusion using
2853
2853
  //lightweight heuristics without thorough attributes check.
2854
2854
  _getNoahArkConditionCandidates(t, a) {
2855
- const s = [], c = a.length, d = this.treeAdapter.getTagName(t), h = this.treeAdapter.getNamespaceURI(t);
2855
+ const s = [], c = a.length, d = this.treeAdapter.getTagName(t), T = this.treeAdapter.getNamespaceURI(t);
2856
2856
  for (let f = 0; f < this.entries.length; f++) {
2857
- const _ = this.entries[f];
2858
- if (_.type === g.Marker)
2857
+ const m = this.entries[f];
2858
+ if (m.type === P.Marker)
2859
2859
  break;
2860
- const { element: A } = _;
2861
- if (this.treeAdapter.getTagName(A) === d && this.treeAdapter.getNamespaceURI(A) === h) {
2862
- const O = this.treeAdapter.getAttrList(A);
2863
- O.length === c && s.push({ idx: f, attrs: O });
2860
+ const { element: b } = m;
2861
+ if (this.treeAdapter.getTagName(b) === d && this.treeAdapter.getNamespaceURI(b) === T) {
2862
+ const A = this.treeAdapter.getAttrList(b);
2863
+ A.length === c && s.push({ idx: f, attrs: A });
2864
2864
  }
2865
2865
  }
2866
2866
  return s;
2867
2867
  }
2868
2868
  _ensureNoahArkCondition(t) {
2869
- if (this.entries.length < de)
2869
+ if (this.entries.length < le)
2870
2870
  return;
2871
2871
  const a = this.treeAdapter.getAttrList(t), s = this._getNoahArkConditionCandidates(t, a);
2872
- if (s.length < de)
2872
+ if (s.length < le)
2873
2873
  return;
2874
- const c = new Map(a.map((h) => [h.name, h.value]));
2874
+ const c = new Map(a.map((T) => [T.name, T.value]));
2875
2875
  let d = 0;
2876
- for (let h = 0; h < s.length; h++) {
2877
- const f = s[h];
2878
- f.attrs.every((_) => c.get(_.name) === _.value) && (d += 1, d >= de && this.entries.splice(f.idx, 1));
2876
+ for (let T = 0; T < s.length; T++) {
2877
+ const f = s[T];
2878
+ f.attrs.every((m) => c.get(m.name) === m.value) && (d += 1, d >= le && this.entries.splice(f.idx, 1));
2879
2879
  }
2880
2880
  }
2881
2881
  //Mutations
2882
2882
  insertMarker() {
2883
- this.entries.unshift(Me);
2883
+ this.entries.unshift(He);
2884
2884
  }
2885
2885
  pushElement(t, a) {
2886
2886
  this._ensureNoahArkCondition(t), this.entries.unshift({
2887
- type: g.Element,
2887
+ type: P.Element,
2888
2888
  element: t,
2889
2889
  token: a
2890
2890
  });
@@ -2892,7 +2892,7 @@ class jt {
2892
2892
  insertElementAfterBookmark(t, a) {
2893
2893
  const s = this.entries.indexOf(this.bookmark);
2894
2894
  this.entries.splice(s, 0, {
2895
- type: g.Element,
2895
+ type: P.Element,
2896
2896
  element: t,
2897
2897
  token: a
2898
2898
  });
@@ -2907,19 +2907,19 @@ class jt {
2907
2907
  * @see https://html.spec.whatwg.org/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker
2908
2908
  */
2909
2909
  clearToLastMarker() {
2910
- const t = this.entries.indexOf(Me);
2910
+ const t = this.entries.indexOf(He);
2911
2911
  t === -1 ? this.entries.length = 0 : this.entries.splice(0, t + 1);
2912
2912
  }
2913
2913
  //Search
2914
2914
  getElementEntryInScopeWithTagName(t) {
2915
- const a = this.entries.find((s) => s.type === g.Marker || this.treeAdapter.getTagName(s.element) === t);
2916
- return a && a.type === g.Element ? a : null;
2915
+ const a = this.entries.find((s) => s.type === P.Marker || this.treeAdapter.getTagName(s.element) === t);
2916
+ return a && a.type === P.Element ? a : null;
2917
2917
  }
2918
2918
  getElementEntry(t) {
2919
- return this.entries.find((a) => a.type === g.Element && a.element === t);
2919
+ return this.entries.find((a) => a.type === P.Element && a.element === t);
2920
2920
  }
2921
2921
  }
2922
- const B = {
2922
+ const x = {
2923
2923
  //Node construction
2924
2924
  createDocument() {
2925
2925
  return {
@@ -2984,7 +2984,7 @@ const B = {
2984
2984
  systemId: s,
2985
2985
  parentNode: null
2986
2986
  };
2987
- B.appendChild(e, d);
2987
+ x.appendChild(e, d);
2988
2988
  }
2989
2989
  },
2990
2990
  setDocumentMode(e, t) {
@@ -3002,16 +3002,16 @@ const B = {
3002
3002
  insertText(e, t) {
3003
3003
  if (e.childNodes.length > 0) {
3004
3004
  const a = e.childNodes[e.childNodes.length - 1];
3005
- if (B.isTextNode(a)) {
3005
+ if (x.isTextNode(a)) {
3006
3006
  a.value += t;
3007
3007
  return;
3008
3008
  }
3009
3009
  }
3010
- B.appendChild(e, B.createTextNode(t));
3010
+ x.appendChild(e, x.createTextNode(t));
3011
3011
  },
3012
3012
  insertTextBefore(e, t, a) {
3013
3013
  const s = e.childNodes[e.childNodes.indexOf(a) - 1];
3014
- s && B.isTextNode(s) ? s.value += t : B.insertBefore(e, B.createTextNode(t), a);
3014
+ s && x.isTextNode(s) ? s.value += t : x.insertBefore(e, x.createTextNode(t), a);
3015
3015
  },
3016
3016
  adoptAttributes(e, t) {
3017
3017
  const a = new Set(e.attrs.map((s) => s.name));
@@ -3076,7 +3076,7 @@ const B = {
3076
3076
  updateNodeSourceCodeLocation(e, t) {
3077
3077
  e.sourceCodeLocation = { ...e.sourceCodeLocation, ...t };
3078
3078
  }
3079
- }, Ke = "html", Jt = "about:legacy-compat", Zt = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", Xe = [
3079
+ }, ze = "html", Jt = "about:legacy-compat", Zt = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", je = [
3080
3080
  "+//silmaril//dtd html pro v0r11 19970101//",
3081
3081
  "-//as//dtd html 3.0 aswedit + extensions//",
3082
3082
  "-//advasoft ltd//dtd html 3.0 aswedit + extensions//",
@@ -3133,26 +3133,26 @@ const B = {
3133
3133
  "-//webtechs//dtd mozilla html 2.0//",
3134
3134
  "-//webtechs//dtd mozilla html//"
3135
3135
  ], $t = [
3136
- ...Xe,
3136
+ ...je,
3137
3137
  "-//w3c//dtd html 4.01 frameset//",
3138
3138
  "-//w3c//dtd html 4.01 transitional//"
3139
3139
  ], eu = /* @__PURE__ */ new Set([
3140
3140
  "-//w3o//dtd w3 html strict 3.0//en//",
3141
3141
  "-/w3c/dtd html 4.0 transitional/en",
3142
3142
  "html"
3143
- ]), Ve = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], tu = [
3144
- ...Ve,
3143
+ ]), Je = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], tu = [
3144
+ ...Je,
3145
3145
  "-//w3c//dtd html 4.01 frameset//",
3146
3146
  "-//w3c//dtd html 4.01 transitional//"
3147
3147
  ];
3148
- function Be(e, t) {
3148
+ function ke(e, t) {
3149
3149
  return t.some((a) => e.startsWith(a));
3150
3150
  }
3151
3151
  function uu(e) {
3152
- return e.name === Ke && e.publicId === null && (e.systemId === null || e.systemId === Jt);
3152
+ return e.name === ze && e.publicId === null && (e.systemId === null || e.systemId === Jt);
3153
3153
  }
3154
3154
  function au(e) {
3155
- if (e.name !== Ke)
3155
+ if (e.name !== ze)
3156
3156
  return D.QUIRKS;
3157
3157
  const { systemId: t } = e;
3158
3158
  if (t && t.toLowerCase() === Zt)
@@ -3161,15 +3161,15 @@ function au(e) {
3161
3161
  if (a !== null) {
3162
3162
  if (a = a.toLowerCase(), eu.has(a))
3163
3163
  return D.QUIRKS;
3164
- let s = t === null ? $t : Xe;
3165
- if (Be(a, s))
3164
+ let s = t === null ? $t : je;
3165
+ if (ke(a, s))
3166
3166
  return D.QUIRKS;
3167
- if (s = t === null ? Ve : tu, Be(a, s))
3167
+ if (s = t === null ? Je : tu, ke(a, s))
3168
3168
  return D.LIMITED_QUIRKS;
3169
3169
  }
3170
3170
  return D.NO_QUIRKS;
3171
3171
  }
3172
- const xe = {
3172
+ const Fe = {
3173
3173
  TEXT_HTML: "text/html",
3174
3174
  APPLICATION_XML: "application/xhtml+xml"
3175
3175
  }, su = "definitionurl", ru = "definitionURL", iu = new Map([
@@ -3232,17 +3232,17 @@ const xe = {
3232
3232
  "yChannelSelector",
3233
3233
  "zoomAndPan"
3234
3234
  ].map((e) => [e.toLowerCase(), e])), nu = /* @__PURE__ */ new Map([
3235
- ["xlink:actuate", { prefix: "xlink", name: "actuate", namespace: T.XLINK }],
3236
- ["xlink:arcrole", { prefix: "xlink", name: "arcrole", namespace: T.XLINK }],
3237
- ["xlink:href", { prefix: "xlink", name: "href", namespace: T.XLINK }],
3238
- ["xlink:role", { prefix: "xlink", name: "role", namespace: T.XLINK }],
3239
- ["xlink:show", { prefix: "xlink", name: "show", namespace: T.XLINK }],
3240
- ["xlink:title", { prefix: "xlink", name: "title", namespace: T.XLINK }],
3241
- ["xlink:type", { prefix: "xlink", name: "type", namespace: T.XLINK }],
3242
- ["xml:lang", { prefix: "xml", name: "lang", namespace: T.XML }],
3243
- ["xml:space", { prefix: "xml", name: "space", namespace: T.XML }],
3244
- ["xmlns", { prefix: "", name: "xmlns", namespace: T.XMLNS }],
3245
- ["xmlns:xlink", { prefix: "xmlns", name: "xlink", namespace: T.XMLNS }]
3235
+ ["xlink:actuate", { prefix: "xlink", name: "actuate", namespace: h.XLINK }],
3236
+ ["xlink:arcrole", { prefix: "xlink", name: "arcrole", namespace: h.XLINK }],
3237
+ ["xlink:href", { prefix: "xlink", name: "href", namespace: h.XLINK }],
3238
+ ["xlink:role", { prefix: "xlink", name: "role", namespace: h.XLINK }],
3239
+ ["xlink:show", { prefix: "xlink", name: "show", namespace: h.XLINK }],
3240
+ ["xlink:title", { prefix: "xlink", name: "title", namespace: h.XLINK }],
3241
+ ["xlink:type", { prefix: "xlink", name: "type", namespace: h.XLINK }],
3242
+ ["xml:lang", { prefix: "xml", name: "lang", namespace: h.XML }],
3243
+ ["xml:space", { prefix: "xml", name: "space", namespace: h.XML }],
3244
+ ["xmlns", { prefix: "", name: "xmlns", namespace: h.XMLNS }],
3245
+ ["xmlns:xlink", { prefix: "xmlns", name: "xlink", namespace: h.XMLNS }]
3246
3246
  ]), cu = new Map([
3247
3247
  "altGlyph",
3248
3248
  "altGlyphDef",
@@ -3328,22 +3328,22 @@ const xe = {
3328
3328
  ]);
3329
3329
  function du(e) {
3330
3330
  const t = e.tagID;
3331
- return t === u.FONT && e.attrs.some(({ name: s }) => s === k.COLOR || s === k.SIZE || s === k.FACE) || ou.has(t);
3331
+ return t === u.FONT && e.attrs.some(({ name: s }) => s === F.COLOR || s === F.SIZE || s === F.FACE) || ou.has(t);
3332
3332
  }
3333
- function ze(e) {
3333
+ function Ze(e) {
3334
3334
  for (let t = 0; t < e.attrs.length; t++)
3335
3335
  if (e.attrs[t].name === su) {
3336
3336
  e.attrs[t].name = ru;
3337
3337
  break;
3338
3338
  }
3339
3339
  }
3340
- function je(e) {
3340
+ function $e(e) {
3341
3341
  for (let t = 0; t < e.attrs.length; t++) {
3342
3342
  const a = iu.get(e.attrs[t].name);
3343
3343
  a != null && (e.attrs[t].name = a);
3344
3344
  }
3345
3345
  }
3346
- function me(e) {
3346
+ function Ie(e) {
3347
3347
  for (let t = 0; t < e.attrs.length; t++) {
3348
3348
  const a = nu.get(e.attrs[t].name);
3349
3349
  a && (e.attrs[t].prefix = a.prefix, e.attrs[t].name = a.name, e.attrs[t].namespace = a.namespace);
@@ -3351,25 +3351,25 @@ function me(e) {
3351
3351
  }
3352
3352
  function Eu(e) {
3353
3353
  const t = cu.get(e.tagName);
3354
- t != null && (e.tagName = t, e.tagID = re(e.tagName));
3354
+ t != null && (e.tagName = t, e.tagID = ce(e.tagName));
3355
3355
  }
3356
3356
  function Tu(e, t) {
3357
- return t === T.MATHML && (e === u.MI || e === u.MO || e === u.MN || e === u.MS || e === u.MTEXT);
3357
+ return t === h.MATHML && (e === u.MI || e === u.MO || e === u.MN || e === u.MS || e === u.MTEXT);
3358
3358
  }
3359
3359
  function hu(e, t, a) {
3360
- if (t === T.MATHML && e === u.ANNOTATION_XML) {
3360
+ if (t === h.MATHML && e === u.ANNOTATION_XML) {
3361
3361
  for (let s = 0; s < a.length; s++)
3362
- if (a[s].name === k.ENCODING) {
3362
+ if (a[s].name === F.ENCODING) {
3363
3363
  const c = a[s].value.toLowerCase();
3364
- return c === xe.TEXT_HTML || c === xe.APPLICATION_XML;
3364
+ return c === Fe.TEXT_HTML || c === Fe.APPLICATION_XML;
3365
3365
  }
3366
3366
  }
3367
- return t === T.SVG && (e === u.FOREIGN_OBJECT || e === u.DESC || e === u.TITLE);
3367
+ return t === h.SVG && (e === u.FOREIGN_OBJECT || e === u.DESC || e === u.TITLE);
3368
3368
  }
3369
3369
  function lu(e, t, a, s) {
3370
- return (!s || s === T.HTML) && hu(e, t, a) || (!s || s === T.MATHML) && Tu(e, t);
3370
+ return (!s || s === h.HTML) && hu(e, t, a) || (!s || s === h.MATHML) && Tu(e, t);
3371
3371
  }
3372
- const fu = "hidden", _u = 8, mu = 3;
3372
+ const fu = "hidden", mu = 8, _u = 3;
3373
3373
  var n;
3374
3374
  (function(e) {
3375
3375
  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";
@@ -3381,18 +3381,18 @@ const bu = {
3381
3381
  endLine: -1,
3382
3382
  endCol: -1,
3383
3383
  endOffset: -1
3384
- }, Je = /* @__PURE__ */ new Set([u.TABLE, u.TBODY, u.TFOOT, u.THEAD, u.TR]), He = {
3384
+ }, et = /* @__PURE__ */ new Set([u.TABLE, u.TBODY, u.TFOOT, u.THEAD, u.TR]), Ue = {
3385
3385
  scriptingEnabled: !0,
3386
3386
  sourceCodeLocationInfo: !1,
3387
- treeAdapter: B,
3387
+ treeAdapter: x,
3388
3388
  onParseError: null
3389
3389
  };
3390
- class Ze {
3390
+ class tt {
3391
3391
  constructor(t, a, s = null, c = null) {
3392
3392
  this.fragmentContext = s, this.scriptHandler = c, this.currentToken = null, this.stopped = !1, this.insertionMode = n.INITIAL, this.originalInsertionMode = n.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = {
3393
- ...He,
3393
+ ...Ue,
3394
3394
  ...t
3395
- }, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = a ?? this.treeAdapter.createDocument(), this.tokenizer = new Qt(this.options, this), this.activeFormattingElements = new jt(this.treeAdapter), this.fragmentContextID = s ? re(this.treeAdapter.getTagName(s)) : u.UNKNOWN, this._setContextModes(s ?? this.document, this.fragmentContextID), this.openElements = new zt(this.document, this.treeAdapter, this);
3395
+ }, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = a ?? this.treeAdapter.createDocument(), this.tokenizer = new qt(this.options, this), this.activeFormattingElements = new jt(this.treeAdapter), this.fragmentContextID = s ? ce(this.treeAdapter.getTagName(s)) : u.UNKNOWN, this._setContextModes(s ?? this.document, this.fragmentContextID), this.openElements = new zt(this.document, this.treeAdapter, this);
3396
3396
  }
3397
3397
  // API
3398
3398
  static parse(t, a) {
@@ -3401,11 +3401,11 @@ class Ze {
3401
3401
  }
3402
3402
  static getFragmentParser(t, a) {
3403
3403
  const s = {
3404
- ...He,
3404
+ ...Ue,
3405
3405
  ...a
3406
3406
  };
3407
- t ?? (t = s.treeAdapter.createElement(o.TEMPLATE, T.HTML, []));
3408
- const c = s.treeAdapter.createElement("documentmock", T.HTML, []), d = new this(s, c, t);
3407
+ t ?? (t = s.treeAdapter.createElement(o.TEMPLATE, h.HTML, []));
3408
+ const c = s.treeAdapter.createElement("documentmock", h.HTML, []), d = new this(s, c, t);
3409
3409
  return d.fragmentContextID === u.TEMPLATE && d.tmplInsertionModeStack.unshift(n.IN_TEMPLATE), d._initTokenizerForFragmentParsing(), d._insertFakeRootElement(), d._resetInsertionMode(), d._findFormInFragmentContext(), d;
3410
3410
  }
3411
3411
  getFragment() {
@@ -3418,7 +3418,7 @@ class Ze {
3418
3418
  var c;
3419
3419
  if (!this.onParseError)
3420
3420
  return;
3421
- const d = (c = t.location) !== null && c !== void 0 ? c : bu, h = {
3421
+ const d = (c = t.location) !== null && c !== void 0 ? c : bu, T = {
3422
3422
  code: a,
3423
3423
  startLine: d.startLine,
3424
3424
  startCol: d.startCol,
@@ -3427,7 +3427,7 @@ class Ze {
3427
3427
  endCol: s ? d.startCol : d.endCol,
3428
3428
  endOffset: s ? d.startOffset : d.endOffset
3429
3429
  };
3430
- this.onParseError(h);
3430
+ this.onParseError(T);
3431
3431
  }
3432
3432
  //Stack events
3433
3433
  /** @internal */
@@ -3439,20 +3439,20 @@ class Ze {
3439
3439
  onItemPop(t, a) {
3440
3440
  var s, c;
3441
3441
  if (this.options.sourceCodeLocationInfo && this._setEndLocation(t, this.currentToken), (c = (s = this.treeAdapter).onItemPop) === null || c === void 0 || c.call(s, t, this.openElements.current), a) {
3442
- let d, h;
3443
- this.openElements.stackTop === 0 && this.fragmentContext ? (d = this.fragmentContext, h = this.fragmentContextID) : { current: d, currentTagId: h } = this.openElements, this._setContextModes(d, h);
3442
+ let d, T;
3443
+ this.openElements.stackTop === 0 && this.fragmentContext ? (d = this.fragmentContext, T = this.fragmentContextID) : { current: d, currentTagId: T } = this.openElements, this._setContextModes(d, T);
3444
3444
  }
3445
3445
  }
3446
3446
  _setContextModes(t, a) {
3447
- const s = t === this.document || t && this.treeAdapter.getNamespaceURI(t) === T.HTML;
3447
+ const s = t === this.document || t && this.treeAdapter.getNamespaceURI(t) === h.HTML;
3448
3448
  this.currentNotInHTML = !s, this.tokenizer.inForeignNode = !s && t !== void 0 && a !== void 0 && !this._isIntegrationPoint(a, t);
3449
3449
  }
3450
3450
  /** @protected */
3451
3451
  _switchToTextParsing(t, a) {
3452
- this._insertElement(t, T.HTML), this.tokenizer.state = a, this.originalInsertionMode = this.insertionMode, this.insertionMode = n.TEXT;
3452
+ this._insertElement(t, h.HTML), this.tokenizer.state = a, this.originalInsertionMode = this.insertionMode, this.insertionMode = n.TEXT;
3453
3453
  }
3454
3454
  switchToPlaintextParsing() {
3455
- this.insertionMode = n.TEXT, this.originalInsertionMode = n.IN_BODY, this.tokenizer.state = L.PLAINTEXT;
3455
+ this.insertionMode = n.TEXT, this.originalInsertionMode = n.IN_BODY, this.tokenizer.state = p.PLAINTEXT;
3456
3456
  }
3457
3457
  //Fragment parsing
3458
3458
  /** @protected */
@@ -3471,11 +3471,11 @@ class Ze {
3471
3471
  }
3472
3472
  }
3473
3473
  _initTokenizerForFragmentParsing() {
3474
- if (!(!this.fragmentContext || this.treeAdapter.getNamespaceURI(this.fragmentContext) !== T.HTML))
3474
+ if (!(!this.fragmentContext || this.treeAdapter.getNamespaceURI(this.fragmentContext) !== h.HTML))
3475
3475
  switch (this.fragmentContextID) {
3476
3476
  case u.TITLE:
3477
3477
  case u.TEXTAREA: {
3478
- this.tokenizer.state = L.RCDATA;
3478
+ this.tokenizer.state = p.RCDATA;
3479
3479
  break;
3480
3480
  }
3481
3481
  case u.STYLE:
@@ -3484,15 +3484,15 @@ class Ze {
3484
3484
  case u.NOEMBED:
3485
3485
  case u.NOFRAMES:
3486
3486
  case u.NOSCRIPT: {
3487
- this.tokenizer.state = L.RAWTEXT;
3487
+ this.tokenizer.state = p.RAWTEXT;
3488
3488
  break;
3489
3489
  }
3490
3490
  case u.SCRIPT: {
3491
- this.tokenizer.state = L.SCRIPT_DATA;
3491
+ this.tokenizer.state = p.SCRIPT_DATA;
3492
3492
  break;
3493
3493
  }
3494
3494
  case u.PLAINTEXT: {
3495
- this.tokenizer.state = L.PLAINTEXT;
3495
+ this.tokenizer.state = p.PLAINTEXT;
3496
3496
  break;
3497
3497
  }
3498
3498
  }
@@ -3502,8 +3502,8 @@ class Ze {
3502
3502
  _setDocumentType(t) {
3503
3503
  const a = t.name || "", s = t.publicId || "", c = t.systemId || "";
3504
3504
  if (this.treeAdapter.setDocumentType(this.document, a, s, c), t.location) {
3505
- const h = this.treeAdapter.getChildNodes(this.document).find((f) => this.treeAdapter.isDocumentTypeNode(f));
3506
- h && this.treeAdapter.setNodeSourceCodeLocation(h, t.location);
3505
+ const T = this.treeAdapter.getChildNodes(this.document).find((f) => this.treeAdapter.isDocumentTypeNode(f));
3506
+ T && this.treeAdapter.setNodeSourceCodeLocation(T, t.location);
3507
3507
  }
3508
3508
  }
3509
3509
  /** @protected */
@@ -3538,17 +3538,17 @@ class Ze {
3538
3538
  }
3539
3539
  /** @protected */
3540
3540
  _insertFakeElement(t, a) {
3541
- const s = this.treeAdapter.createElement(t, T.HTML, []);
3541
+ const s = this.treeAdapter.createElement(t, h.HTML, []);
3542
3542
  this._attachElementToTree(s, null), this.openElements.push(s, a);
3543
3543
  }
3544
3544
  /** @protected */
3545
3545
  _insertTemplate(t) {
3546
- const a = this.treeAdapter.createElement(t.tagName, T.HTML, t.attrs), s = this.treeAdapter.createDocumentFragment();
3546
+ const a = this.treeAdapter.createElement(t.tagName, h.HTML, t.attrs), s = this.treeAdapter.createDocumentFragment();
3547
3547
  this.treeAdapter.setTemplateContent(a, s), this._attachElementToTree(a, t.location), this.openElements.push(a, t.tagID), this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(s, null);
3548
3548
  }
3549
3549
  /** @protected */
3550
3550
  _insertFakeRootElement() {
3551
- const t = this.treeAdapter.createElement(o.HTML, T.HTML, []);
3551
+ const t = this.treeAdapter.createElement(o.HTML, h.HTML, []);
3552
3552
  this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(t, null), this.treeAdapter.appendChild(this.openElements.current, t), this.openElements.push(t, u.HTML);
3553
3553
  }
3554
3554
  /** @protected */
@@ -3561,11 +3561,11 @@ class Ze {
3561
3561
  let a, s;
3562
3562
  if (this._shouldFosterParentOnInsertion() ? ({ parent: a, beforeElement: s } = this._findFosterParentingLocation(), s ? this.treeAdapter.insertTextBefore(a, t.chars, s) : this.treeAdapter.insertText(a, t.chars)) : (a = this.openElements.currentTmplContentOrNode, this.treeAdapter.insertText(a, t.chars)), !t.location)
3563
3563
  return;
3564
- const c = this.treeAdapter.getChildNodes(a), d = s ? c.lastIndexOf(s) : c.length, h = c[d - 1];
3565
- if (this.treeAdapter.getNodeSourceCodeLocation(h)) {
3566
- const { endLine: _, endCol: A, endOffset: O } = t.location;
3567
- this.treeAdapter.updateNodeSourceCodeLocation(h, { endLine: _, endCol: A, endOffset: O });
3568
- } else this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(h, t.location);
3564
+ const c = this.treeAdapter.getChildNodes(a), d = s ? c.lastIndexOf(s) : c.length, T = c[d - 1];
3565
+ if (this.treeAdapter.getNodeSourceCodeLocation(T)) {
3566
+ const { endLine: m, endCol: b, endOffset: A } = t.location;
3567
+ this.treeAdapter.updateNodeSourceCodeLocation(T, { endLine: m, endCol: b, endOffset: A });
3568
+ } else this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(T, t.location);
3569
3569
  }
3570
3570
  /** @protected */
3571
3571
  _adoptNodes(t, a) {
@@ -3578,7 +3578,7 @@ class Ze {
3578
3578
  const s = a.location, c = this.treeAdapter.getTagName(t), d = (
3579
3579
  // NOTE: For cases like <p> <p> </p> - First 'p' closes without a closing
3580
3580
  // tag and for cases like <td> <p> </td> - 'p' closes without a closing tag.
3581
- a.type === m.END_TAG && c === a.tagName ? {
3581
+ a.type === _.END_TAG && c === a.tagName ? {
3582
3582
  endTag: { ...s },
3583
3583
  endLine: s.endLine,
3584
3584
  endCol: s.endCol,
@@ -3597,45 +3597,45 @@ class Ze {
3597
3597
  if (!this.currentNotInHTML)
3598
3598
  return !1;
3599
3599
  let a, s;
3600
- return this.openElements.stackTop === 0 && this.fragmentContext ? (a = this.fragmentContext, s = this.fragmentContextID) : { current: a, currentTagId: s } = this.openElements, t.tagID === u.SVG && this.treeAdapter.getTagName(a) === o.ANNOTATION_XML && this.treeAdapter.getNamespaceURI(a) === T.MATHML ? !1 : (
3600
+ return this.openElements.stackTop === 0 && this.fragmentContext ? (a = this.fragmentContext, s = this.fragmentContextID) : { current: a, currentTagId: s } = this.openElements, t.tagID === u.SVG && this.treeAdapter.getTagName(a) === o.ANNOTATION_XML && this.treeAdapter.getNamespaceURI(a) === h.MATHML ? !1 : (
3601
3601
  // Check that `current` is not an integration point for HTML or MathML elements.
3602
3602
  this.tokenizer.inForeignNode || // If it _is_ an integration point, then we might have to check that it is not an HTML
3603
3603
  // integration point.
3604
- (t.tagID === u.MGLYPH || t.tagID === u.MALIGNMARK) && s !== void 0 && !this._isIntegrationPoint(s, a, T.HTML)
3604
+ (t.tagID === u.MGLYPH || t.tagID === u.MALIGNMARK) && s !== void 0 && !this._isIntegrationPoint(s, a, h.HTML)
3605
3605
  );
3606
3606
  }
3607
3607
  /** @protected */
3608
3608
  _processToken(t) {
3609
3609
  switch (t.type) {
3610
- case m.CHARACTER: {
3610
+ case _.CHARACTER: {
3611
3611
  this.onCharacter(t);
3612
3612
  break;
3613
3613
  }
3614
- case m.NULL_CHARACTER: {
3614
+ case _.NULL_CHARACTER: {
3615
3615
  this.onNullCharacter(t);
3616
3616
  break;
3617
3617
  }
3618
- case m.COMMENT: {
3618
+ case _.COMMENT: {
3619
3619
  this.onComment(t);
3620
3620
  break;
3621
3621
  }
3622
- case m.DOCTYPE: {
3622
+ case _.DOCTYPE: {
3623
3623
  this.onDoctype(t);
3624
3624
  break;
3625
3625
  }
3626
- case m.START_TAG: {
3626
+ case _.START_TAG: {
3627
3627
  this._processStartTag(t);
3628
3628
  break;
3629
3629
  }
3630
- case m.END_TAG: {
3630
+ case _.END_TAG: {
3631
3631
  this.onEndTag(t);
3632
3632
  break;
3633
3633
  }
3634
- case m.EOF: {
3634
+ case _.EOF: {
3635
3635
  this.onEof(t);
3636
3636
  break;
3637
3637
  }
3638
- case m.WHITESPACE_CHARACTER: {
3638
+ case _.WHITESPACE_CHARACTER: {
3639
3639
  this.onWhitespaceCharacter(t);
3640
3640
  break;
3641
3641
  }
@@ -3652,7 +3652,7 @@ class Ze {
3652
3652
  _reconstructActiveFormattingElements() {
3653
3653
  const t = this.activeFormattingElements.entries.length;
3654
3654
  if (t) {
3655
- const a = this.activeFormattingElements.entries.findIndex((c) => c.type === g.Marker || this.openElements.contains(c.element)), s = a === -1 ? t - 1 : a - 1;
3655
+ const a = this.activeFormattingElements.entries.findIndex((c) => c.type === P.Marker || this.openElements.contains(c.element)), s = a === -1 ? t - 1 : a - 1;
3656
3656
  for (let c = s; c >= 0; c--) {
3657
3657
  const d = this.activeFormattingElements.entries[c];
3658
3658
  this._insertElement(d.token, this.treeAdapter.getNamespaceURI(d.element)), d.element = this.openElements.current;
@@ -3750,7 +3750,7 @@ class Ze {
3750
3750
  //Foster parenting
3751
3751
  /** @protected */
3752
3752
  _isElementCausesFosterParenting(t) {
3753
- return Je.has(t);
3753
+ return et.has(t);
3754
3754
  }
3755
3755
  /** @protected */
3756
3756
  _shouldFosterParentOnInsertion() {
@@ -3762,7 +3762,7 @@ class Ze {
3762
3762
  const a = this.openElements.items[t];
3763
3763
  switch (this.openElements.tagIDs[t]) {
3764
3764
  case u.TEMPLATE: {
3765
- if (this.treeAdapter.getNamespaceURI(a) === T.HTML)
3765
+ if (this.treeAdapter.getNamespaceURI(a) === h.HTML)
3766
3766
  return { parent: this.treeAdapter.getTemplateContent(a), beforeElement: null };
3767
3767
  break;
3768
3768
  }
@@ -3793,34 +3793,34 @@ class Ze {
3793
3793
  }
3794
3794
  switch (this.insertionMode) {
3795
3795
  case n.INITIAL: {
3796
- w(this, t);
3796
+ q(this, t);
3797
3797
  break;
3798
3798
  }
3799
3799
  case n.BEFORE_HTML: {
3800
- Q(this, t);
3800
+ G(this, t);
3801
3801
  break;
3802
3802
  }
3803
3803
  case n.BEFORE_HEAD: {
3804
- W(this, t);
3804
+ X(this, t);
3805
3805
  break;
3806
3806
  }
3807
3807
  case n.IN_HEAD: {
3808
- G(this, t);
3808
+ K(this, t);
3809
3809
  break;
3810
3810
  }
3811
3811
  case n.IN_HEAD_NO_SCRIPT: {
3812
- q(this, t);
3812
+ V(this, t);
3813
3813
  break;
3814
3814
  }
3815
3815
  case n.AFTER_HEAD: {
3816
- K(this, t);
3816
+ z(this, t);
3817
3817
  break;
3818
3818
  }
3819
3819
  case n.IN_BODY:
3820
3820
  case n.IN_CAPTION:
3821
3821
  case n.IN_CELL:
3822
3822
  case n.IN_TEMPLATE: {
3823
- et(this, t);
3823
+ at(this, t);
3824
3824
  break;
3825
3825
  }
3826
3826
  case n.TEXT:
@@ -3832,23 +3832,23 @@ class Ze {
3832
3832
  case n.IN_TABLE:
3833
3833
  case n.IN_TABLE_BODY:
3834
3834
  case n.IN_ROW: {
3835
- Ee(this, t);
3835
+ fe(this, t);
3836
3836
  break;
3837
3837
  }
3838
3838
  case n.IN_TABLE_TEXT: {
3839
- it(this, t);
3839
+ ot(this, t);
3840
3840
  break;
3841
3841
  }
3842
3842
  case n.IN_COLUMN_GROUP: {
3843
- ue(this, t);
3843
+ re(this, t);
3844
3844
  break;
3845
3845
  }
3846
3846
  case n.AFTER_BODY: {
3847
- ae(this, t);
3847
+ ie(this, t);
3848
3848
  break;
3849
3849
  }
3850
3850
  case n.AFTER_AFTER_BODY: {
3851
- ee(this, t);
3851
+ ae(this, t);
3852
3852
  break;
3853
3853
  }
3854
3854
  }
@@ -3856,32 +3856,32 @@ class Ze {
3856
3856
  /** @internal */
3857
3857
  onNullCharacter(t) {
3858
3858
  if (this.skipNextNewLine = !1, this.tokenizer.inForeignNode) {
3859
- Xa(this, t);
3859
+ Ka(this, t);
3860
3860
  return;
3861
3861
  }
3862
3862
  switch (this.insertionMode) {
3863
3863
  case n.INITIAL: {
3864
- w(this, t);
3864
+ q(this, t);
3865
3865
  break;
3866
3866
  }
3867
3867
  case n.BEFORE_HTML: {
3868
- Q(this, t);
3868
+ G(this, t);
3869
3869
  break;
3870
3870
  }
3871
3871
  case n.BEFORE_HEAD: {
3872
- W(this, t);
3872
+ X(this, t);
3873
3873
  break;
3874
3874
  }
3875
3875
  case n.IN_HEAD: {
3876
- G(this, t);
3876
+ K(this, t);
3877
3877
  break;
3878
3878
  }
3879
3879
  case n.IN_HEAD_NO_SCRIPT: {
3880
- q(this, t);
3880
+ V(this, t);
3881
3881
  break;
3882
3882
  }
3883
3883
  case n.AFTER_HEAD: {
3884
- K(this, t);
3884
+ z(this, t);
3885
3885
  break;
3886
3886
  }
3887
3887
  case n.TEXT: {
@@ -3891,19 +3891,19 @@ class Ze {
3891
3891
  case n.IN_TABLE:
3892
3892
  case n.IN_TABLE_BODY:
3893
3893
  case n.IN_ROW: {
3894
- Ee(this, t);
3894
+ fe(this, t);
3895
3895
  break;
3896
3896
  }
3897
3897
  case n.IN_COLUMN_GROUP: {
3898
- ue(this, t);
3898
+ re(this, t);
3899
3899
  break;
3900
3900
  }
3901
3901
  case n.AFTER_BODY: {
3902
- ae(this, t);
3902
+ ie(this, t);
3903
3903
  break;
3904
3904
  }
3905
3905
  case n.AFTER_AFTER_BODY: {
3906
- ee(this, t);
3906
+ ae(this, t);
3907
3907
  break;
3908
3908
  }
3909
3909
  }
@@ -3911,7 +3911,7 @@ class Ze {
3911
3911
  /** @internal */
3912
3912
  onComment(t) {
3913
3913
  if (this.skipNextNewLine = !1, this.currentNotInHTML) {
3914
- le(this, t);
3914
+ be(this, t);
3915
3915
  return;
3916
3916
  }
3917
3917
  switch (this.insertionMode) {
@@ -3933,11 +3933,11 @@ class Ze {
3933
3933
  case n.IN_TEMPLATE:
3934
3934
  case n.IN_FRAMESET:
3935
3935
  case n.AFTER_FRAMESET: {
3936
- le(this, t);
3936
+ be(this, t);
3937
3937
  break;
3938
3938
  }
3939
3939
  case n.IN_TABLE_TEXT: {
3940
- Y(this, t);
3940
+ Q(this, t);
3941
3941
  break;
3942
3942
  }
3943
3943
  case n.AFTER_BODY: {
@@ -3946,7 +3946,7 @@ class Ze {
3946
3946
  }
3947
3947
  case n.AFTER_AFTER_BODY:
3948
3948
  case n.AFTER_AFTER_FRAMESET: {
3949
- Ru(this, t);
3949
+ pu(this, t);
3950
3950
  break;
3951
3951
  }
3952
3952
  }
@@ -3955,7 +3955,7 @@ class Ze {
3955
3955
  onDoctype(t) {
3956
3956
  switch (this.skipNextNewLine = !1, this.insertionMode) {
3957
3957
  case n.INITIAL: {
3958
- Du(this, t);
3958
+ Ru(this, t);
3959
3959
  break;
3960
3960
  }
3961
3961
  case n.BEFORE_HEAD:
@@ -3966,7 +3966,7 @@ class Ze {
3966
3966
  break;
3967
3967
  }
3968
3968
  case n.IN_TABLE_TEXT: {
3969
- Y(this, t);
3969
+ Q(this, t);
3970
3970
  break;
3971
3971
  }
3972
3972
  }
@@ -3993,11 +3993,11 @@ class Ze {
3993
3993
  _startTagOutsideForeignContent(t) {
3994
3994
  switch (this.insertionMode) {
3995
3995
  case n.INITIAL: {
3996
- w(this, t);
3996
+ q(this, t);
3997
3997
  break;
3998
3998
  }
3999
3999
  case n.BEFORE_HTML: {
4000
- pu(this, t);
4000
+ Du(this, t);
4001
4001
  break;
4002
4002
  }
4003
4003
  case n.BEFORE_HEAD: {
@@ -4005,7 +4005,7 @@ class Ze {
4005
4005
  break;
4006
4006
  }
4007
4007
  case n.IN_HEAD: {
4008
- p(this, t);
4008
+ g(this, t);
4009
4009
  break;
4010
4010
  }
4011
4011
  case n.IN_HEAD_NO_SCRIPT: {
@@ -4017,15 +4017,15 @@ class Ze {
4017
4017
  break;
4018
4018
  }
4019
4019
  case n.IN_BODY: {
4020
- C(this, t);
4020
+ S(this, t);
4021
4021
  break;
4022
4022
  }
4023
4023
  case n.IN_TABLE: {
4024
- y(this, t);
4024
+ w(this, t);
4025
4025
  break;
4026
4026
  }
4027
4027
  case n.IN_TABLE_TEXT: {
4028
- Y(this, t);
4028
+ Q(this, t);
4029
4029
  break;
4030
4030
  }
4031
4031
  case n.IN_CAPTION: {
@@ -4033,15 +4033,15 @@ class Ze {
4033
4033
  break;
4034
4034
  }
4035
4035
  case n.IN_COLUMN_GROUP: {
4036
- Ne(this, t);
4036
+ Se(this, t);
4037
4037
  break;
4038
4038
  }
4039
4039
  case n.IN_TABLE_BODY: {
4040
- ce(this, t);
4040
+ Ee(this, t);
4041
4041
  break;
4042
4042
  }
4043
4043
  case n.IN_ROW: {
4044
- oe(this, t);
4044
+ Te(this, t);
4045
4045
  break;
4046
4046
  }
4047
4047
  case n.IN_CELL: {
@@ -4049,7 +4049,7 @@ class Ze {
4049
4049
  break;
4050
4050
  }
4051
4051
  case n.IN_SELECT: {
4052
- ot(this, t);
4052
+ Tt(this, t);
4053
4053
  break;
4054
4054
  }
4055
4055
  case n.IN_SELECT_IN_TABLE: {
@@ -4061,23 +4061,23 @@ class Ze {
4061
4061
  break;
4062
4062
  }
4063
4063
  case n.AFTER_BODY: {
4064
- Ya(this, t);
4064
+ va(this, t);
4065
4065
  break;
4066
4066
  }
4067
4067
  case n.IN_FRAMESET: {
4068
- va(this, t);
4068
+ Ya(this, t);
4069
4069
  break;
4070
4070
  }
4071
4071
  case n.AFTER_FRAMESET: {
4072
- Wa(this, t);
4072
+ Qa(this, t);
4073
4073
  break;
4074
4074
  }
4075
4075
  case n.AFTER_AFTER_BODY: {
4076
- qa(this, t);
4076
+ Ga(this, t);
4077
4077
  break;
4078
4078
  }
4079
4079
  case n.AFTER_AFTER_FRAMESET: {
4080
- Ka(this, t);
4080
+ Xa(this, t);
4081
4081
  break;
4082
4082
  }
4083
4083
  }
@@ -4090,7 +4090,7 @@ class Ze {
4090
4090
  _endTagOutsideForeignContent(t) {
4091
4091
  switch (this.insertionMode) {
4092
4092
  case n.INITIAL: {
4093
- w(this, t);
4093
+ q(this, t);
4094
4094
  break;
4095
4095
  }
4096
4096
  case n.BEFORE_HTML: {
@@ -4114,7 +4114,7 @@ class Ze {
4114
4114
  break;
4115
4115
  }
4116
4116
  case n.IN_BODY: {
4117
- ne(this, t);
4117
+ de(this, t);
4118
4118
  break;
4119
4119
  }
4120
4120
  case n.TEXT: {
@@ -4122,11 +4122,11 @@ class Ze {
4122
4122
  break;
4123
4123
  }
4124
4124
  case n.IN_TABLE: {
4125
- X(this, t);
4125
+ j(this, t);
4126
4126
  break;
4127
4127
  }
4128
4128
  case n.IN_TABLE_TEXT: {
4129
- Y(this, t);
4129
+ Q(this, t);
4130
4130
  break;
4131
4131
  }
4132
4132
  case n.IN_CAPTION: {
@@ -4138,11 +4138,11 @@ class Ze {
4138
4138
  break;
4139
4139
  }
4140
4140
  case n.IN_TABLE_BODY: {
4141
- fe(this, t);
4141
+ Ae(this, t);
4142
4142
  break;
4143
4143
  }
4144
4144
  case n.IN_ROW: {
4145
- ct(this, t);
4145
+ Et(this, t);
4146
4146
  break;
4147
4147
  }
4148
4148
  case n.IN_CELL: {
@@ -4150,7 +4150,7 @@ class Ze {
4150
4150
  break;
4151
4151
  }
4152
4152
  case n.IN_SELECT: {
4153
- dt(this, t);
4153
+ ht(this, t);
4154
4154
  break;
4155
4155
  }
4156
4156
  case n.IN_SELECT_IN_TABLE: {
@@ -4162,19 +4162,19 @@ class Ze {
4162
4162
  break;
4163
4163
  }
4164
4164
  case n.AFTER_BODY: {
4165
- Tt(this, t);
4165
+ ft(this, t);
4166
4166
  break;
4167
4167
  }
4168
4168
  case n.IN_FRAMESET: {
4169
- Qa(this, t);
4169
+ qa(this, t);
4170
4170
  break;
4171
4171
  }
4172
4172
  case n.AFTER_FRAMESET: {
4173
- Ga(this, t);
4173
+ Wa(this, t);
4174
4174
  break;
4175
4175
  }
4176
4176
  case n.AFTER_AFTER_BODY: {
4177
- ee(this, t);
4177
+ ae(this, t);
4178
4178
  break;
4179
4179
  }
4180
4180
  }
@@ -4183,27 +4183,27 @@ class Ze {
4183
4183
  onEof(t) {
4184
4184
  switch (this.insertionMode) {
4185
4185
  case n.INITIAL: {
4186
- w(this, t);
4186
+ q(this, t);
4187
4187
  break;
4188
4188
  }
4189
4189
  case n.BEFORE_HTML: {
4190
- Q(this, t);
4190
+ G(this, t);
4191
4191
  break;
4192
4192
  }
4193
4193
  case n.BEFORE_HEAD: {
4194
- W(this, t);
4194
+ X(this, t);
4195
4195
  break;
4196
4196
  }
4197
4197
  case n.IN_HEAD: {
4198
- G(this, t);
4198
+ K(this, t);
4199
4199
  break;
4200
4200
  }
4201
4201
  case n.IN_HEAD_NO_SCRIPT: {
4202
- q(this, t);
4202
+ V(this, t);
4203
4203
  break;
4204
4204
  }
4205
4205
  case n.AFTER_HEAD: {
4206
- K(this, t);
4206
+ z(this, t);
4207
4207
  break;
4208
4208
  }
4209
4209
  case n.IN_BODY:
@@ -4215,7 +4215,7 @@ class Ze {
4215
4215
  case n.IN_CELL:
4216
4216
  case n.IN_SELECT:
4217
4217
  case n.IN_SELECT_IN_TABLE: {
4218
- st(this, t);
4218
+ nt(this, t);
4219
4219
  break;
4220
4220
  }
4221
4221
  case n.TEXT: {
@@ -4223,11 +4223,11 @@ class Ze {
4223
4223
  break;
4224
4224
  }
4225
4225
  case n.IN_TABLE_TEXT: {
4226
- Y(this, t);
4226
+ Q(this, t);
4227
4227
  break;
4228
4228
  }
4229
4229
  case n.IN_TEMPLATE: {
4230
- Et(this, t);
4230
+ lt(this, t);
4231
4231
  break;
4232
4232
  }
4233
4233
  case n.AFTER_BODY:
@@ -4235,7 +4235,7 @@ class Ze {
4235
4235
  case n.AFTER_FRAMESET:
4236
4236
  case n.AFTER_AFTER_BODY:
4237
4237
  case n.AFTER_AFTER_FRAMESET: {
4238
- Ae(this, t);
4238
+ Oe(this, t);
4239
4239
  break;
4240
4240
  }
4241
4241
  }
@@ -4271,17 +4271,17 @@ class Ze {
4271
4271
  case n.AFTER_BODY:
4272
4272
  case n.AFTER_AFTER_BODY:
4273
4273
  case n.AFTER_AFTER_FRAMESET: {
4274
- $e(this, t);
4274
+ ut(this, t);
4275
4275
  break;
4276
4276
  }
4277
4277
  case n.IN_TABLE:
4278
4278
  case n.IN_TABLE_BODY:
4279
4279
  case n.IN_ROW: {
4280
- Ee(this, t);
4280
+ fe(this, t);
4281
4281
  break;
4282
4282
  }
4283
4283
  case n.IN_TABLE_TEXT: {
4284
- rt(this, t);
4284
+ ct(this, t);
4285
4285
  break;
4286
4286
  }
4287
4287
  }
@@ -4289,7 +4289,7 @@ class Ze {
4289
4289
  }
4290
4290
  function Au(e, t) {
4291
4291
  let a = e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);
4292
- return a ? e.openElements.contains(a.element) ? e.openElements.hasInScope(t.tagID) || (a = null) : (e.activeFormattingElements.removeEntry(a), a = null) : at(e, t), a;
4292
+ return a ? e.openElements.contains(a.element) ? e.openElements.hasInScope(t.tagID) || (a = null) : (e.activeFormattingElements.removeEntry(a), a = null) : it(e, t), a;
4293
4293
  }
4294
4294
  function Nu(e, t) {
4295
4295
  let a = null, s = e.openElements.stackTop;
@@ -4303,10 +4303,10 @@ function Nu(e, t) {
4303
4303
  }
4304
4304
  function Iu(e, t, a) {
4305
4305
  let s = t, c = e.openElements.getCommonAncestor(t);
4306
- for (let d = 0, h = c; h !== a; d++, h = c) {
4307
- c = e.openElements.getCommonAncestor(h);
4308
- const f = e.activeFormattingElements.getElementEntry(h), _ = f && d >= mu;
4309
- !f || _ ? (_ && e.activeFormattingElements.removeEntry(f), e.openElements.remove(h)) : (h = Cu(e, f), s === t && (e.activeFormattingElements.bookmark = f), e.treeAdapter.detachNode(s), e.treeAdapter.appendChild(h, s), s = h);
4306
+ for (let d = 0, T = c; T !== a; d++, T = c) {
4307
+ c = e.openElements.getCommonAncestor(T);
4308
+ const f = e.activeFormattingElements.getElementEntry(T), m = f && d >= _u;
4309
+ !f || m ? (m && e.activeFormattingElements.removeEntry(f), e.openElements.remove(T)) : (T = Cu(e, f), s === t && (e.activeFormattingElements.bookmark = f), e.treeAdapter.detachNode(s), e.treeAdapter.appendChild(T, s), s = T);
4310
4310
  }
4311
4311
  return s;
4312
4312
  }
@@ -4315,20 +4315,20 @@ function Cu(e, t) {
4315
4315
  return e.openElements.replace(t.element, s), t.element = s, s;
4316
4316
  }
4317
4317
  function Ou(e, t, a) {
4318
- const s = e.treeAdapter.getTagName(t), c = re(s);
4318
+ const s = e.treeAdapter.getTagName(t), c = ce(s);
4319
4319
  if (e._isElementCausesFosterParenting(c))
4320
4320
  e._fosterParentElement(a);
4321
4321
  else {
4322
4322
  const d = e.treeAdapter.getNamespaceURI(t);
4323
- c === u.TEMPLATE && d === T.HTML && (t = e.treeAdapter.getTemplateContent(t)), e.treeAdapter.appendChild(t, a);
4323
+ c === u.TEMPLATE && d === h.HTML && (t = e.treeAdapter.getTemplateContent(t)), e.treeAdapter.appendChild(t, a);
4324
4324
  }
4325
4325
  }
4326
4326
  function Su(e, t, a) {
4327
4327
  const s = e.treeAdapter.getNamespaceURI(a.element), { token: c } = a, d = e.treeAdapter.createElement(c.tagName, s, c.attrs);
4328
4328
  e._adoptNodes(t, d), e.treeAdapter.appendChild(t, d), e.activeFormattingElements.insertElementAfterBookmark(d, c), e.activeFormattingElements.removeEntry(a), e.openElements.remove(a.element), e.openElements.insertAfter(t, d, c.tagID);
4329
4329
  }
4330
- function be(e, t) {
4331
- for (let a = 0; a < _u; a++) {
4330
+ function Ce(e, t) {
4331
+ for (let a = 0; a < mu; a++) {
4332
4332
  const s = Au(e, t);
4333
4333
  if (!s)
4334
4334
  break;
@@ -4336,20 +4336,20 @@ function be(e, t) {
4336
4336
  if (!c)
4337
4337
  break;
4338
4338
  e.activeFormattingElements.bookmark = s;
4339
- const d = Iu(e, c, s.element), h = e.openElements.getCommonAncestor(s.element);
4340
- e.treeAdapter.detachNode(d), h && Ou(e, h, d), Su(e, c, s);
4339
+ const d = Iu(e, c, s.element), T = e.openElements.getCommonAncestor(s.element);
4340
+ e.treeAdapter.detachNode(d), T && Ou(e, T, d), Su(e, c, s);
4341
4341
  }
4342
4342
  }
4343
- function le(e, t) {
4343
+ function be(e, t) {
4344
4344
  e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
4345
4345
  }
4346
4346
  function Lu(e, t) {
4347
4347
  e._appendCommentNode(t, e.openElements.items[0]);
4348
4348
  }
4349
- function Ru(e, t) {
4349
+ function pu(e, t) {
4350
4350
  e._appendCommentNode(t, e.document);
4351
4351
  }
4352
- function Ae(e, t) {
4352
+ function Oe(e, t) {
4353
4353
  if (e.stopped = !0, t.location) {
4354
4354
  const a = e.fragmentContext ? 0 : 2;
4355
4355
  for (let s = e.openElements.stackTop; s >= a; s--)
@@ -4357,55 +4357,55 @@ function Ae(e, t) {
4357
4357
  if (!e.fragmentContext && e.openElements.stackTop >= 0) {
4358
4358
  const s = e.openElements.items[0], c = e.treeAdapter.getNodeSourceCodeLocation(s);
4359
4359
  if (c && !c.endTag && (e._setEndLocation(s, t), e.openElements.stackTop >= 1)) {
4360
- const d = e.openElements.items[1], h = e.treeAdapter.getNodeSourceCodeLocation(d);
4361
- h && !h.endTag && e._setEndLocation(d, t);
4360
+ const d = e.openElements.items[1], T = e.treeAdapter.getNodeSourceCodeLocation(d);
4361
+ T && !T.endTag && e._setEndLocation(d, t);
4362
4362
  }
4363
4363
  }
4364
4364
  }
4365
4365
  }
4366
- function Du(e, t) {
4366
+ function Ru(e, t) {
4367
4367
  e._setDocumentType(t);
4368
4368
  const a = t.forceQuirks ? D.QUIRKS : au(t);
4369
4369
  uu(t) || e._err(t, E.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, a), e.insertionMode = n.BEFORE_HTML;
4370
4370
  }
4371
- function w(e, t) {
4371
+ function q(e, t) {
4372
4372
  e._err(t, E.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, D.QUIRKS), e.insertionMode = n.BEFORE_HTML, e._processToken(t);
4373
4373
  }
4374
- function pu(e, t) {
4375
- t.tagID === u.HTML ? (e._insertElement(t, T.HTML), e.insertionMode = n.BEFORE_HEAD) : Q(e, t);
4374
+ function Du(e, t) {
4375
+ t.tagID === u.HTML ? (e._insertElement(t, h.HTML), e.insertionMode = n.BEFORE_HEAD) : G(e, t);
4376
4376
  }
4377
4377
  function gu(e, t) {
4378
4378
  const a = t.tagID;
4379
- (a === u.HTML || a === u.HEAD || a === u.BODY || a === u.BR) && Q(e, t);
4379
+ (a === u.HTML || a === u.HEAD || a === u.BODY || a === u.BR) && G(e, t);
4380
4380
  }
4381
- function Q(e, t) {
4381
+ function G(e, t) {
4382
4382
  e._insertFakeRootElement(), e.insertionMode = n.BEFORE_HEAD, e._processToken(t);
4383
4383
  }
4384
4384
  function Pu(e, t) {
4385
4385
  switch (t.tagID) {
4386
4386
  case u.HTML: {
4387
- C(e, t);
4387
+ S(e, t);
4388
4388
  break;
4389
4389
  }
4390
4390
  case u.HEAD: {
4391
- e._insertElement(t, T.HTML), e.headElement = e.openElements.current, e.insertionMode = n.IN_HEAD;
4391
+ e._insertElement(t, h.HTML), e.headElement = e.openElements.current, e.insertionMode = n.IN_HEAD;
4392
4392
  break;
4393
4393
  }
4394
4394
  default:
4395
- W(e, t);
4395
+ X(e, t);
4396
4396
  }
4397
4397
  }
4398
4398
  function Mu(e, t) {
4399
4399
  const a = t.tagID;
4400
- a === u.HEAD || a === u.BODY || a === u.HTML || a === u.BR ? W(e, t) : e._err(t, E.endTagWithoutMatchingOpenElement);
4400
+ a === u.HEAD || a === u.BODY || a === u.HTML || a === u.BR ? X(e, t) : e._err(t, E.endTagWithoutMatchingOpenElement);
4401
4401
  }
4402
- function W(e, t) {
4402
+ function X(e, t) {
4403
4403
  e._insertFakeElement(o.HEAD, u.HEAD), e.headElement = e.openElements.current, e.insertionMode = n.IN_HEAD, e._processToken(t);
4404
4404
  }
4405
- function p(e, t) {
4405
+ function g(e, t) {
4406
4406
  switch (t.tagID) {
4407
4407
  case u.HTML: {
4408
- C(e, t);
4408
+ S(e, t);
4409
4409
  break;
4410
4410
  }
4411
4411
  case u.BASE:
@@ -4413,24 +4413,24 @@ function p(e, t) {
4413
4413
  case u.BGSOUND:
4414
4414
  case u.LINK:
4415
4415
  case u.META: {
4416
- e._appendElement(t, T.HTML), t.ackSelfClosing = !0;
4416
+ e._appendElement(t, h.HTML), t.ackSelfClosing = !0;
4417
4417
  break;
4418
4418
  }
4419
4419
  case u.TITLE: {
4420
- e._switchToTextParsing(t, L.RCDATA);
4420
+ e._switchToTextParsing(t, p.RCDATA);
4421
4421
  break;
4422
4422
  }
4423
4423
  case u.NOSCRIPT: {
4424
- e.options.scriptingEnabled ? e._switchToTextParsing(t, L.RAWTEXT) : (e._insertElement(t, T.HTML), e.insertionMode = n.IN_HEAD_NO_SCRIPT);
4424
+ e.options.scriptingEnabled ? e._switchToTextParsing(t, p.RAWTEXT) : (e._insertElement(t, h.HTML), e.insertionMode = n.IN_HEAD_NO_SCRIPT);
4425
4425
  break;
4426
4426
  }
4427
4427
  case u.NOFRAMES:
4428
4428
  case u.STYLE: {
4429
- e._switchToTextParsing(t, L.RAWTEXT);
4429
+ e._switchToTextParsing(t, p.RAWTEXT);
4430
4430
  break;
4431
4431
  }
4432
4432
  case u.SCRIPT: {
4433
- e._switchToTextParsing(t, L.SCRIPT_DATA);
4433
+ e._switchToTextParsing(t, p.SCRIPT_DATA);
4434
4434
  break;
4435
4435
  }
4436
4436
  case u.TEMPLATE: {
@@ -4442,7 +4442,7 @@ function p(e, t) {
4442
4442
  break;
4443
4443
  }
4444
4444
  default:
4445
- G(e, t);
4445
+ K(e, t);
4446
4446
  }
4447
4447
  }
4448
4448
  function Bu(e, t) {
@@ -4454,27 +4454,27 @@ function Bu(e, t) {
4454
4454
  case u.BODY:
4455
4455
  case u.BR:
4456
4456
  case u.HTML: {
4457
- G(e, t);
4457
+ K(e, t);
4458
4458
  break;
4459
4459
  }
4460
4460
  case u.TEMPLATE: {
4461
- F(e, t);
4461
+ U(e, t);
4462
4462
  break;
4463
4463
  }
4464
4464
  default:
4465
4465
  e._err(t, E.endTagWithoutMatchingOpenElement);
4466
4466
  }
4467
4467
  }
4468
- function F(e, t) {
4468
+ function U(e, t) {
4469
4469
  e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== u.TEMPLATE && e._err(t, E.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(u.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, E.endTagWithoutMatchingOpenElement);
4470
4470
  }
4471
- function G(e, t) {
4471
+ function K(e, t) {
4472
4472
  e.openElements.pop(), e.insertionMode = n.AFTER_HEAD, e._processToken(t);
4473
4473
  }
4474
4474
  function xu(e, t) {
4475
4475
  switch (t.tagID) {
4476
4476
  case u.HTML: {
4477
- C(e, t);
4477
+ S(e, t);
4478
4478
  break;
4479
4479
  }
4480
4480
  case u.BASEFONT:
@@ -4484,7 +4484,7 @@ function xu(e, t) {
4484
4484
  case u.META:
4485
4485
  case u.NOFRAMES:
4486
4486
  case u.STYLE: {
4487
- p(e, t);
4487
+ g(e, t);
4488
4488
  break;
4489
4489
  }
4490
4490
  case u.NOSCRIPT: {
@@ -4492,7 +4492,7 @@ function xu(e, t) {
4492
4492
  break;
4493
4493
  }
4494
4494
  default:
4495
- q(e, t);
4495
+ V(e, t);
4496
4496
  }
4497
4497
  }
4498
4498
  function Hu(e, t) {
@@ -4502,29 +4502,29 @@ function Hu(e, t) {
4502
4502
  break;
4503
4503
  }
4504
4504
  case u.BR: {
4505
- q(e, t);
4505
+ V(e, t);
4506
4506
  break;
4507
4507
  }
4508
4508
  default:
4509
4509
  e._err(t, E.endTagWithoutMatchingOpenElement);
4510
4510
  }
4511
4511
  }
4512
- function q(e, t) {
4513
- const a = t.type === m.EOF ? E.openElementsLeftAfterEof : E.disallowedContentInNoscriptInHead;
4512
+ function V(e, t) {
4513
+ const a = t.type === _.EOF ? E.openElementsLeftAfterEof : E.disallowedContentInNoscriptInHead;
4514
4514
  e._err(t, a), e.openElements.pop(), e.insertionMode = n.IN_HEAD, e._processToken(t);
4515
4515
  }
4516
4516
  function ku(e, t) {
4517
4517
  switch (t.tagID) {
4518
4518
  case u.HTML: {
4519
- C(e, t);
4519
+ S(e, t);
4520
4520
  break;
4521
4521
  }
4522
4522
  case u.BODY: {
4523
- e._insertElement(t, T.HTML), e.framesetOk = !1, e.insertionMode = n.IN_BODY;
4523
+ e._insertElement(t, h.HTML), e.framesetOk = !1, e.insertionMode = n.IN_BODY;
4524
4524
  break;
4525
4525
  }
4526
4526
  case u.FRAMESET: {
4527
- e._insertElement(t, T.HTML), e.insertionMode = n.IN_FRAMESET;
4527
+ e._insertElement(t, h.HTML), e.insertionMode = n.IN_FRAMESET;
4528
4528
  break;
4529
4529
  }
4530
4530
  case u.BASE:
@@ -4537,7 +4537,7 @@ function ku(e, t) {
4537
4537
  case u.STYLE:
4538
4538
  case u.TEMPLATE:
4539
4539
  case u.TITLE: {
4540
- e._err(t, E.abandonedHeadElementChild), e.openElements.push(e.headElement, u.HEAD), p(e, t), e.openElements.remove(e.headElement);
4540
+ e._err(t, E.abandonedHeadElementChild), e.openElements.push(e.headElement, u.HEAD), g(e, t), e.openElements.remove(e.headElement);
4541
4541
  break;
4542
4542
  }
4543
4543
  case u.HEAD: {
@@ -4545,7 +4545,7 @@ function ku(e, t) {
4545
4545
  break;
4546
4546
  }
4547
4547
  default:
4548
- K(e, t);
4548
+ z(e, t);
4549
4549
  }
4550
4550
  }
4551
4551
  function Fu(e, t) {
@@ -4553,52 +4553,52 @@ function Fu(e, t) {
4553
4553
  case u.BODY:
4554
4554
  case u.HTML:
4555
4555
  case u.BR: {
4556
- K(e, t);
4556
+ z(e, t);
4557
4557
  break;
4558
4558
  }
4559
4559
  case u.TEMPLATE: {
4560
- F(e, t);
4560
+ U(e, t);
4561
4561
  break;
4562
4562
  }
4563
4563
  default:
4564
4564
  e._err(t, E.endTagWithoutMatchingOpenElement);
4565
4565
  }
4566
4566
  }
4567
- function K(e, t) {
4568
- e._insertFakeElement(o.BODY, u.BODY), e.insertionMode = n.IN_BODY, ie(e, t);
4567
+ function z(e, t) {
4568
+ e._insertFakeElement(o.BODY, u.BODY), e.insertionMode = n.IN_BODY, oe(e, t);
4569
4569
  }
4570
- function ie(e, t) {
4570
+ function oe(e, t) {
4571
4571
  switch (t.type) {
4572
- case m.CHARACTER: {
4573
- et(e, t);
4572
+ case _.CHARACTER: {
4573
+ at(e, t);
4574
4574
  break;
4575
4575
  }
4576
- case m.WHITESPACE_CHARACTER: {
4577
- $e(e, t);
4576
+ case _.WHITESPACE_CHARACTER: {
4577
+ ut(e, t);
4578
4578
  break;
4579
4579
  }
4580
- case m.COMMENT: {
4581
- le(e, t);
4580
+ case _.COMMENT: {
4581
+ be(e, t);
4582
4582
  break;
4583
4583
  }
4584
- case m.START_TAG: {
4585
- C(e, t);
4584
+ case _.START_TAG: {
4585
+ S(e, t);
4586
4586
  break;
4587
4587
  }
4588
- case m.END_TAG: {
4589
- ne(e, t);
4588
+ case _.END_TAG: {
4589
+ de(e, t);
4590
4590
  break;
4591
4591
  }
4592
- case m.EOF: {
4593
- st(e, t);
4592
+ case _.EOF: {
4593
+ nt(e, t);
4594
4594
  break;
4595
4595
  }
4596
4596
  }
4597
4597
  }
4598
- function $e(e, t) {
4598
+ function ut(e, t) {
4599
4599
  e._reconstructActiveFormattingElements(), e._insertCharacters(t);
4600
4600
  }
4601
- function et(e, t) {
4601
+ function at(e, t) {
4602
4602
  e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
4603
4603
  }
4604
4604
  function Uu(e, t) {
@@ -4610,22 +4610,22 @@ function yu(e, t) {
4610
4610
  }
4611
4611
  function wu(e, t) {
4612
4612
  const a = e.openElements.tryPeekProperlyNestedBodyElement();
4613
- e.framesetOk && a && (e.treeAdapter.detachNode(a), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, T.HTML), e.insertionMode = n.IN_FRAMESET);
4613
+ e.framesetOk && a && (e.treeAdapter.detachNode(a), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, h.HTML), e.insertionMode = n.IN_FRAMESET);
4614
+ }
4615
+ function vu(e, t) {
4616
+ e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, h.HTML);
4614
4617
  }
4615
4618
  function Yu(e, t) {
4616
- e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, T.HTML);
4619
+ e.openElements.hasInButtonScope(u.P) && e._closePElement(), e.openElements.currentTagId !== void 0 && _e.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, h.HTML);
4617
4620
  }
4618
- function vu(e, t) {
4619
- e.openElements.hasInButtonScope(u.P) && e._closePElement(), e.openElements.currentTagId !== void 0 && he.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, T.HTML);
4621
+ function qu(e, t) {
4622
+ e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, h.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
4620
4623
  }
4621
4624
  function Qu(e, t) {
4622
- e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, T.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
4623
- }
4624
- function Wu(e, t) {
4625
4625
  const a = e.openElements.tmplCount > 0;
4626
- (!e.formElement || a) && (e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, T.HTML), a || (e.formElement = e.openElements.current));
4626
+ (!e.formElement || a) && (e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, h.HTML), a || (e.formElement = e.openElements.current));
4627
4627
  }
4628
- function Gu(e, t) {
4628
+ function Wu(e, t) {
4629
4629
  e.framesetOk = !1;
4630
4630
  const a = t.tagID;
4631
4631
  for (let s = e.openElements.stackTop; s >= 0; s--) {
@@ -4637,83 +4637,83 @@ function Gu(e, t) {
4637
4637
  if (c !== u.ADDRESS && c !== u.DIV && c !== u.P && e._isSpecialElement(e.openElements.items[s], c))
4638
4638
  break;
4639
4639
  }
4640
- e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, T.HTML);
4640
+ e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, h.HTML);
4641
4641
  }
4642
- function qu(e, t) {
4643
- e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, T.HTML), e.tokenizer.state = L.PLAINTEXT;
4644
- }
4645
- function Ku(e, t) {
4646
- e.openElements.hasInScope(u.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(u.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, T.HTML), e.framesetOk = !1;
4642
+ function Gu(e, t) {
4643
+ e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, h.HTML), e.tokenizer.state = p.PLAINTEXT;
4647
4644
  }
4648
4645
  function Xu(e, t) {
4646
+ e.openElements.hasInScope(u.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(u.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, h.HTML), e.framesetOk = !1;
4647
+ }
4648
+ function Ku(e, t) {
4649
4649
  const a = e.activeFormattingElements.getElementEntryInScopeWithTagName(o.A);
4650
- a && (be(e, t), e.openElements.remove(a.element), e.activeFormattingElements.removeEntry(a)), e._reconstructActiveFormattingElements(), e._insertElement(t, T.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
4650
+ a && (Ce(e, t), e.openElements.remove(a.element), e.activeFormattingElements.removeEntry(a)), e._reconstructActiveFormattingElements(), e._insertElement(t, h.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
4651
4651
  }
4652
4652
  function Vu(e, t) {
4653
- e._reconstructActiveFormattingElements(), e._insertElement(t, T.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
4653
+ e._reconstructActiveFormattingElements(), e._insertElement(t, h.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
4654
4654
  }
4655
4655
  function zu(e, t) {
4656
- e._reconstructActiveFormattingElements(), e.openElements.hasInScope(u.NOBR) && (be(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, T.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
4656
+ e._reconstructActiveFormattingElements(), e.openElements.hasInScope(u.NOBR) && (Ce(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, h.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
4657
4657
  }
4658
4658
  function ju(e, t) {
4659
- e._reconstructActiveFormattingElements(), e._insertElement(t, T.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
4659
+ e._reconstructActiveFormattingElements(), e._insertElement(t, h.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
4660
4660
  }
4661
4661
  function Ju(e, t) {
4662
- e.treeAdapter.getDocumentMode(e.document) !== D.QUIRKS && e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, T.HTML), e.framesetOk = !1, e.insertionMode = n.IN_TABLE;
4662
+ e.treeAdapter.getDocumentMode(e.document) !== D.QUIRKS && e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._insertElement(t, h.HTML), e.framesetOk = !1, e.insertionMode = n.IN_TABLE;
4663
4663
  }
4664
- function tt(e, t) {
4665
- e._reconstructActiveFormattingElements(), e._appendElement(t, T.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
4664
+ function st(e, t) {
4665
+ e._reconstructActiveFormattingElements(), e._appendElement(t, h.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
4666
4666
  }
4667
- function ut(e) {
4668
- const t = We(e, k.TYPE);
4667
+ function rt(e) {
4668
+ const t = Xe(e, F.TYPE);
4669
4669
  return t != null && t.toLowerCase() === fu;
4670
4670
  }
4671
4671
  function Zu(e, t) {
4672
- e._reconstructActiveFormattingElements(), e._appendElement(t, T.HTML), ut(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
4672
+ e._reconstructActiveFormattingElements(), e._appendElement(t, h.HTML), rt(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
4673
4673
  }
4674
4674
  function $u(e, t) {
4675
- e._appendElement(t, T.HTML), t.ackSelfClosing = !0;
4675
+ e._appendElement(t, h.HTML), t.ackSelfClosing = !0;
4676
4676
  }
4677
4677
  function ea(e, t) {
4678
- e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._appendElement(t, T.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
4678
+ e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._appendElement(t, h.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
4679
4679
  }
4680
4680
  function ta(e, t) {
4681
- t.tagName = o.IMG, t.tagID = u.IMG, tt(e, t);
4681
+ t.tagName = o.IMG, t.tagID = u.IMG, st(e, t);
4682
4682
  }
4683
4683
  function ua(e, t) {
4684
- e._insertElement(t, T.HTML), e.skipNextNewLine = !0, e.tokenizer.state = L.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = n.TEXT;
4684
+ e._insertElement(t, h.HTML), e.skipNextNewLine = !0, e.tokenizer.state = p.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = n.TEXT;
4685
4685
  }
4686
4686
  function aa(e, t) {
4687
- e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, L.RAWTEXT);
4687
+ e.openElements.hasInButtonScope(u.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, p.RAWTEXT);
4688
4688
  }
4689
4689
  function sa(e, t) {
4690
- e.framesetOk = !1, e._switchToTextParsing(t, L.RAWTEXT);
4690
+ e.framesetOk = !1, e._switchToTextParsing(t, p.RAWTEXT);
4691
4691
  }
4692
- function ke(e, t) {
4693
- e._switchToTextParsing(t, L.RAWTEXT);
4692
+ function ye(e, t) {
4693
+ e._switchToTextParsing(t, p.RAWTEXT);
4694
4694
  }
4695
4695
  function ra(e, t) {
4696
- e._reconstructActiveFormattingElements(), e._insertElement(t, T.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === n.IN_TABLE || e.insertionMode === n.IN_CAPTION || e.insertionMode === n.IN_TABLE_BODY || e.insertionMode === n.IN_ROW || e.insertionMode === n.IN_CELL ? n.IN_SELECT_IN_TABLE : n.IN_SELECT;
4696
+ e._reconstructActiveFormattingElements(), e._insertElement(t, h.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === n.IN_TABLE || e.insertionMode === n.IN_CAPTION || e.insertionMode === n.IN_TABLE_BODY || e.insertionMode === n.IN_ROW || e.insertionMode === n.IN_CELL ? n.IN_SELECT_IN_TABLE : n.IN_SELECT;
4697
4697
  }
4698
4698
  function ia(e, t) {
4699
- e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), e._insertElement(t, T.HTML);
4699
+ e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), e._insertElement(t, h.HTML);
4700
4700
  }
4701
4701
  function na(e, t) {
4702
- e.openElements.hasInScope(u.RUBY) && e.openElements.generateImpliedEndTags(), e._insertElement(t, T.HTML);
4702
+ e.openElements.hasInScope(u.RUBY) && e.openElements.generateImpliedEndTags(), e._insertElement(t, h.HTML);
4703
4703
  }
4704
4704
  function ca(e, t) {
4705
- e.openElements.hasInScope(u.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(u.RTC), e._insertElement(t, T.HTML);
4705
+ e.openElements.hasInScope(u.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(u.RTC), e._insertElement(t, h.HTML);
4706
4706
  }
4707
4707
  function oa(e, t) {
4708
- e._reconstructActiveFormattingElements(), ze(t), me(t), t.selfClosing ? e._appendElement(t, T.MATHML) : e._insertElement(t, T.MATHML), t.ackSelfClosing = !0;
4708
+ e._reconstructActiveFormattingElements(), Ze(t), Ie(t), t.selfClosing ? e._appendElement(t, h.MATHML) : e._insertElement(t, h.MATHML), t.ackSelfClosing = !0;
4709
4709
  }
4710
4710
  function da(e, t) {
4711
- e._reconstructActiveFormattingElements(), je(t), me(t), t.selfClosing ? e._appendElement(t, T.SVG) : e._insertElement(t, T.SVG), t.ackSelfClosing = !0;
4711
+ e._reconstructActiveFormattingElements(), $e(t), Ie(t), t.selfClosing ? e._appendElement(t, h.SVG) : e._insertElement(t, h.SVG), t.ackSelfClosing = !0;
4712
4712
  }
4713
- function Fe(e, t) {
4714
- e._reconstructActiveFormattingElements(), e._insertElement(t, T.HTML);
4713
+ function we(e, t) {
4714
+ e._reconstructActiveFormattingElements(), e._insertElement(t, h.HTML);
4715
4715
  }
4716
- function C(e, t) {
4716
+ function S(e, t) {
4717
4717
  switch (t.tagID) {
4718
4718
  case u.I:
4719
4719
  case u.S:
@@ -4731,7 +4731,7 @@ function C(e, t) {
4731
4731
  break;
4732
4732
  }
4733
4733
  case u.A: {
4734
- Xu(e, t);
4734
+ Ku(e, t);
4735
4735
  break;
4736
4736
  }
4737
4737
  case u.H1:
@@ -4740,7 +4740,7 @@ function C(e, t) {
4740
4740
  case u.H4:
4741
4741
  case u.H5:
4742
4742
  case u.H6: {
4743
- vu(e, t);
4743
+ Yu(e, t);
4744
4744
  break;
4745
4745
  }
4746
4746
  case u.P:
@@ -4768,13 +4768,13 @@ function C(e, t) {
4768
4768
  case u.FIELDSET:
4769
4769
  case u.BLOCKQUOTE:
4770
4770
  case u.FIGCAPTION: {
4771
- Yu(e, t);
4771
+ vu(e, t);
4772
4772
  break;
4773
4773
  }
4774
4774
  case u.LI:
4775
4775
  case u.DD:
4776
4776
  case u.DT: {
4777
- Gu(e, t);
4777
+ Wu(e, t);
4778
4778
  break;
4779
4779
  }
4780
4780
  case u.BR:
@@ -4783,7 +4783,7 @@ function C(e, t) {
4783
4783
  case u.AREA:
4784
4784
  case u.EMBED:
4785
4785
  case u.KEYGEN: {
4786
- tt(e, t);
4786
+ st(e, t);
4787
4787
  break;
4788
4788
  }
4789
4789
  case u.HR: {
@@ -4802,7 +4802,7 @@ function C(e, t) {
4802
4802
  }
4803
4803
  case u.PRE:
4804
4804
  case u.LISTING: {
4805
- Qu(e, t);
4805
+ qu(e, t);
4806
4806
  break;
4807
4807
  }
4808
4808
  case u.XMP: {
@@ -4826,7 +4826,7 @@ function C(e, t) {
4826
4826
  case u.BGSOUND:
4827
4827
  case u.BASEFONT:
4828
4828
  case u.TEMPLATE: {
4829
- p(e, t);
4829
+ g(e, t);
4830
4830
  break;
4831
4831
  }
4832
4832
  case u.BODY: {
@@ -4834,7 +4834,7 @@ function C(e, t) {
4834
4834
  break;
4835
4835
  }
4836
4836
  case u.FORM: {
4837
- Wu(e, t);
4837
+ Qu(e, t);
4838
4838
  break;
4839
4839
  }
4840
4840
  case u.NOBR: {
@@ -4864,7 +4864,7 @@ function C(e, t) {
4864
4864
  break;
4865
4865
  }
4866
4866
  case u.BUTTON: {
4867
- Ku(e, t);
4867
+ Xu(e, t);
4868
4868
  break;
4869
4869
  }
4870
4870
  case u.APPLET:
@@ -4888,7 +4888,7 @@ function C(e, t) {
4888
4888
  }
4889
4889
  case u.NOEMBED:
4890
4890
  case u.NOFRAMES: {
4891
- ke(e, t);
4891
+ ye(e, t);
4892
4892
  break;
4893
4893
  }
4894
4894
  case u.FRAMESET: {
@@ -4900,11 +4900,11 @@ function C(e, t) {
4900
4900
  break;
4901
4901
  }
4902
4902
  case u.NOSCRIPT: {
4903
- e.options.scriptingEnabled ? ke(e, t) : Fe(e, t);
4903
+ e.options.scriptingEnabled ? ye(e, t) : we(e, t);
4904
4904
  break;
4905
4905
  }
4906
4906
  case u.PLAINTEXT: {
4907
- qu(e, t);
4907
+ Gu(e, t);
4908
4908
  break;
4909
4909
  }
4910
4910
  case u.COL:
@@ -4920,7 +4920,7 @@ function C(e, t) {
4920
4920
  case u.COLGROUP:
4921
4921
  break;
4922
4922
  default:
4923
- Fe(e, t);
4923
+ we(e, t);
4924
4924
  }
4925
4925
  }
4926
4926
  function Ea(e, t) {
@@ -4930,7 +4930,7 @@ function Ea(e, t) {
4930
4930
  }
4931
4931
  }
4932
4932
  function Ta(e, t) {
4933
- e.openElements.hasInScope(u.BODY) && (e.insertionMode = n.AFTER_BODY, Tt(e, t));
4933
+ e.openElements.hasInScope(u.BODY) && (e.insertionMode = n.AFTER_BODY, ft(e, t));
4934
4934
  }
4935
4935
  function ha(e, t) {
4936
4936
  const a = t.tagID;
@@ -4943,10 +4943,10 @@ function la(e) {
4943
4943
  function fa(e) {
4944
4944
  e.openElements.hasInButtonScope(u.P) || e._insertFakeElement(o.P, u.P), e._closePElement();
4945
4945
  }
4946
- function _a(e) {
4946
+ function ma(e) {
4947
4947
  e.openElements.hasInListItemScope(u.LI) && (e.openElements.generateImpliedEndTagsWithExclusion(u.LI), e.openElements.popUntilTagNamePopped(u.LI));
4948
4948
  }
4949
- function ma(e, t) {
4949
+ function _a(e, t) {
4950
4950
  const a = t.tagID;
4951
4951
  e.openElements.hasInScope(a) && (e.openElements.generateImpliedEndTagsWithExclusion(a), e.openElements.popUntilTagNamePopped(a));
4952
4952
  }
@@ -4960,19 +4960,19 @@ function Aa(e, t) {
4960
4960
  function Na(e) {
4961
4961
  e._reconstructActiveFormattingElements(), e._insertFakeElement(o.BR, u.BR), e.openElements.pop(), e.framesetOk = !1;
4962
4962
  }
4963
- function at(e, t) {
4963
+ function it(e, t) {
4964
4964
  const a = t.tagName, s = t.tagID;
4965
4965
  for (let c = e.openElements.stackTop; c > 0; c--) {
4966
- const d = e.openElements.items[c], h = e.openElements.tagIDs[c];
4967
- if (s === h && (s !== u.UNKNOWN || e.treeAdapter.getTagName(d) === a)) {
4966
+ const d = e.openElements.items[c], T = e.openElements.tagIDs[c];
4967
+ if (s === T && (s !== u.UNKNOWN || e.treeAdapter.getTagName(d) === a)) {
4968
4968
  e.openElements.generateImpliedEndTagsWithExclusion(s), e.openElements.stackTop >= c && e.openElements.shortenToLength(c);
4969
4969
  break;
4970
4970
  }
4971
- if (e._isSpecialElement(d, h))
4971
+ if (e._isSpecialElement(d, T))
4972
4972
  break;
4973
4973
  }
4974
4974
  }
4975
- function ne(e, t) {
4975
+ function de(e, t) {
4976
4976
  switch (t.tagID) {
4977
4977
  case u.A:
4978
4978
  case u.B:
@@ -4988,7 +4988,7 @@ function ne(e, t) {
4988
4988
  case u.SMALL:
4989
4989
  case u.STRIKE:
4990
4990
  case u.STRONG: {
4991
- be(e, t);
4991
+ Ce(e, t);
4992
4992
  break;
4993
4993
  }
4994
4994
  case u.P: {
@@ -5026,12 +5026,12 @@ function ne(e, t) {
5026
5026
  break;
5027
5027
  }
5028
5028
  case u.LI: {
5029
- _a(e);
5029
+ ma(e);
5030
5030
  break;
5031
5031
  }
5032
5032
  case u.DD:
5033
5033
  case u.DT: {
5034
- ma(e, t);
5034
+ _a(e, t);
5035
5035
  break;
5036
5036
  }
5037
5037
  case u.H1:
@@ -5066,15 +5066,15 @@ function ne(e, t) {
5066
5066
  break;
5067
5067
  }
5068
5068
  case u.TEMPLATE: {
5069
- F(e, t);
5069
+ U(e, t);
5070
5070
  break;
5071
5071
  }
5072
5072
  default:
5073
- at(e, t);
5073
+ it(e, t);
5074
5074
  }
5075
5075
  }
5076
- function st(e, t) {
5077
- e.tmplInsertionModeStack.length > 0 ? Et(e, t) : Ae(e, t);
5076
+ function nt(e, t) {
5077
+ e.tmplInsertionModeStack.length > 0 ? lt(e, t) : Oe(e, t);
5078
5078
  }
5079
5079
  function Ia(e, t) {
5080
5080
  var a;
@@ -5083,57 +5083,57 @@ function Ia(e, t) {
5083
5083
  function Ca(e, t) {
5084
5084
  e._err(t, E.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(t);
5085
5085
  }
5086
- function Ee(e, t) {
5087
- if (e.openElements.currentTagId !== void 0 && Je.has(e.openElements.currentTagId))
5086
+ function fe(e, t) {
5087
+ if (e.openElements.currentTagId !== void 0 && et.has(e.openElements.currentTagId))
5088
5088
  switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = n.IN_TABLE_TEXT, t.type) {
5089
- case m.CHARACTER: {
5090
- it(e, t);
5089
+ case _.CHARACTER: {
5090
+ ot(e, t);
5091
5091
  break;
5092
5092
  }
5093
- case m.WHITESPACE_CHARACTER: {
5094
- rt(e, t);
5093
+ case _.WHITESPACE_CHARACTER: {
5094
+ ct(e, t);
5095
5095
  break;
5096
5096
  }
5097
5097
  }
5098
5098
  else
5099
- z(e, t);
5099
+ Z(e, t);
5100
5100
  }
5101
5101
  function Oa(e, t) {
5102
- e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, T.HTML), e.insertionMode = n.IN_CAPTION;
5102
+ e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, h.HTML), e.insertionMode = n.IN_CAPTION;
5103
5103
  }
5104
5104
  function Sa(e, t) {
5105
- e.openElements.clearBackToTableContext(), e._insertElement(t, T.HTML), e.insertionMode = n.IN_COLUMN_GROUP;
5105
+ e.openElements.clearBackToTableContext(), e._insertElement(t, h.HTML), e.insertionMode = n.IN_COLUMN_GROUP;
5106
5106
  }
5107
5107
  function La(e, t) {
5108
- e.openElements.clearBackToTableContext(), e._insertFakeElement(o.COLGROUP, u.COLGROUP), e.insertionMode = n.IN_COLUMN_GROUP, Ne(e, t);
5108
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(o.COLGROUP, u.COLGROUP), e.insertionMode = n.IN_COLUMN_GROUP, Se(e, t);
5109
+ }
5110
+ function pa(e, t) {
5111
+ e.openElements.clearBackToTableContext(), e._insertElement(t, h.HTML), e.insertionMode = n.IN_TABLE_BODY;
5109
5112
  }
5110
5113
  function Ra(e, t) {
5111
- e.openElements.clearBackToTableContext(), e._insertElement(t, T.HTML), e.insertionMode = n.IN_TABLE_BODY;
5114
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(o.TBODY, u.TBODY), e.insertionMode = n.IN_TABLE_BODY, Ee(e, t);
5112
5115
  }
5113
5116
  function Da(e, t) {
5114
- e.openElements.clearBackToTableContext(), e._insertFakeElement(o.TBODY, u.TBODY), e.insertionMode = n.IN_TABLE_BODY, ce(e, t);
5115
- }
5116
- function pa(e, t) {
5117
5117
  e.openElements.hasInTableScope(u.TABLE) && (e.openElements.popUntilTagNamePopped(u.TABLE), e._resetInsertionMode(), e._processStartTag(t));
5118
5118
  }
5119
5119
  function ga(e, t) {
5120
- ut(t) ? e._appendElement(t, T.HTML) : z(e, t), t.ackSelfClosing = !0;
5120
+ rt(t) ? e._appendElement(t, h.HTML) : Z(e, t), t.ackSelfClosing = !0;
5121
5121
  }
5122
5122
  function Pa(e, t) {
5123
- !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, T.HTML), e.formElement = e.openElements.current, e.openElements.pop());
5123
+ !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, h.HTML), e.formElement = e.openElements.current, e.openElements.pop());
5124
5124
  }
5125
- function y(e, t) {
5125
+ function w(e, t) {
5126
5126
  switch (t.tagID) {
5127
5127
  case u.TD:
5128
5128
  case u.TH:
5129
5129
  case u.TR: {
5130
- Da(e, t);
5130
+ Ra(e, t);
5131
5131
  break;
5132
5132
  }
5133
5133
  case u.STYLE:
5134
5134
  case u.SCRIPT:
5135
5135
  case u.TEMPLATE: {
5136
- p(e, t);
5136
+ g(e, t);
5137
5137
  break;
5138
5138
  }
5139
5139
  case u.COL: {
@@ -5145,13 +5145,13 @@ function y(e, t) {
5145
5145
  break;
5146
5146
  }
5147
5147
  case u.TABLE: {
5148
- pa(e, t);
5148
+ Da(e, t);
5149
5149
  break;
5150
5150
  }
5151
5151
  case u.TBODY:
5152
5152
  case u.TFOOT:
5153
5153
  case u.THEAD: {
5154
- Ra(e, t);
5154
+ pa(e, t);
5155
5155
  break;
5156
5156
  }
5157
5157
  case u.INPUT: {
@@ -5167,17 +5167,17 @@ function y(e, t) {
5167
5167
  break;
5168
5168
  }
5169
5169
  default:
5170
- z(e, t);
5170
+ Z(e, t);
5171
5171
  }
5172
5172
  }
5173
- function X(e, t) {
5173
+ function j(e, t) {
5174
5174
  switch (t.tagID) {
5175
5175
  case u.TABLE: {
5176
5176
  e.openElements.hasInTableScope(u.TABLE) && (e.openElements.popUntilTagNamePopped(u.TABLE), e._resetInsertionMode());
5177
5177
  break;
5178
5178
  }
5179
5179
  case u.TEMPLATE: {
5180
- F(e, t);
5180
+ U(e, t);
5181
5181
  break;
5182
5182
  }
5183
5183
  case u.BODY:
@@ -5193,40 +5193,40 @@ function X(e, t) {
5193
5193
  case u.TR:
5194
5194
  break;
5195
5195
  default:
5196
- z(e, t);
5196
+ Z(e, t);
5197
5197
  }
5198
5198
  }
5199
- function z(e, t) {
5199
+ function Z(e, t) {
5200
5200
  const a = e.fosterParentingEnabled;
5201
- e.fosterParentingEnabled = !0, ie(e, t), e.fosterParentingEnabled = a;
5201
+ e.fosterParentingEnabled = !0, oe(e, t), e.fosterParentingEnabled = a;
5202
5202
  }
5203
- function rt(e, t) {
5203
+ function ct(e, t) {
5204
5204
  e.pendingCharacterTokens.push(t);
5205
5205
  }
5206
- function it(e, t) {
5206
+ function ot(e, t) {
5207
5207
  e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
5208
5208
  }
5209
- function Y(e, t) {
5209
+ function Q(e, t) {
5210
5210
  let a = 0;
5211
5211
  if (e.hasNonWhitespacePendingCharacterToken)
5212
5212
  for (; a < e.pendingCharacterTokens.length; a++)
5213
- z(e, e.pendingCharacterTokens[a]);
5213
+ Z(e, e.pendingCharacterTokens[a]);
5214
5214
  else
5215
5215
  for (; a < e.pendingCharacterTokens.length; a++)
5216
5216
  e._insertCharacters(e.pendingCharacterTokens[a]);
5217
5217
  e.insertionMode = e.originalInsertionMode, e._processToken(t);
5218
5218
  }
5219
- const nt = /* @__PURE__ */ new Set([u.CAPTION, u.COL, u.COLGROUP, u.TBODY, u.TD, u.TFOOT, u.TH, u.THEAD, u.TR]);
5219
+ const dt = /* @__PURE__ */ new Set([u.CAPTION, u.COL, u.COLGROUP, u.TBODY, u.TD, u.TFOOT, u.TH, u.THEAD, u.TR]);
5220
5220
  function Ma(e, t) {
5221
5221
  const a = t.tagID;
5222
- nt.has(a) ? e.openElements.hasInTableScope(u.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(u.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = n.IN_TABLE, y(e, t)) : C(e, t);
5222
+ dt.has(a) ? e.openElements.hasInTableScope(u.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(u.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = n.IN_TABLE, w(e, t)) : S(e, t);
5223
5223
  }
5224
5224
  function Ba(e, t) {
5225
5225
  const a = t.tagID;
5226
5226
  switch (a) {
5227
5227
  case u.CAPTION:
5228
5228
  case u.TABLE: {
5229
- e.openElements.hasInTableScope(u.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(u.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = n.IN_TABLE, a === u.TABLE && X(e, t));
5229
+ e.openElements.hasInTableScope(u.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(u.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = n.IN_TABLE, a === u.TABLE && j(e, t));
5230
5230
  break;
5231
5231
  }
5232
5232
  case u.BODY:
@@ -5241,25 +5241,25 @@ function Ba(e, t) {
5241
5241
  case u.TR:
5242
5242
  break;
5243
5243
  default:
5244
- ne(e, t);
5244
+ de(e, t);
5245
5245
  }
5246
5246
  }
5247
- function Ne(e, t) {
5247
+ function Se(e, t) {
5248
5248
  switch (t.tagID) {
5249
5249
  case u.HTML: {
5250
- C(e, t);
5250
+ S(e, t);
5251
5251
  break;
5252
5252
  }
5253
5253
  case u.COL: {
5254
- e._appendElement(t, T.HTML), t.ackSelfClosing = !0;
5254
+ e._appendElement(t, h.HTML), t.ackSelfClosing = !0;
5255
5255
  break;
5256
5256
  }
5257
5257
  case u.TEMPLATE: {
5258
- p(e, t);
5258
+ g(e, t);
5259
5259
  break;
5260
5260
  }
5261
5261
  default:
5262
- ue(e, t);
5262
+ re(e, t);
5263
5263
  }
5264
5264
  }
5265
5265
  function xa(e, t) {
@@ -5269,27 +5269,27 @@ function xa(e, t) {
5269
5269
  break;
5270
5270
  }
5271
5271
  case u.TEMPLATE: {
5272
- F(e, t);
5272
+ U(e, t);
5273
5273
  break;
5274
5274
  }
5275
5275
  case u.COL:
5276
5276
  break;
5277
5277
  default:
5278
- ue(e, t);
5278
+ re(e, t);
5279
5279
  }
5280
5280
  }
5281
- function ue(e, t) {
5281
+ function re(e, t) {
5282
5282
  e.openElements.currentTagId === u.COLGROUP && (e.openElements.pop(), e.insertionMode = n.IN_TABLE, e._processToken(t));
5283
5283
  }
5284
- function ce(e, t) {
5284
+ function Ee(e, t) {
5285
5285
  switch (t.tagID) {
5286
5286
  case u.TR: {
5287
- e.openElements.clearBackToTableBodyContext(), e._insertElement(t, T.HTML), e.insertionMode = n.IN_ROW;
5287
+ e.openElements.clearBackToTableBodyContext(), e._insertElement(t, h.HTML), e.insertionMode = n.IN_ROW;
5288
5288
  break;
5289
5289
  }
5290
5290
  case u.TH:
5291
5291
  case u.TD: {
5292
- e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(o.TR, u.TR), e.insertionMode = n.IN_ROW, oe(e, t);
5292
+ e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(o.TR, u.TR), e.insertionMode = n.IN_ROW, Te(e, t);
5293
5293
  break;
5294
5294
  }
5295
5295
  case u.CAPTION:
@@ -5298,14 +5298,14 @@ function ce(e, t) {
5298
5298
  case u.TBODY:
5299
5299
  case u.TFOOT:
5300
5300
  case u.THEAD: {
5301
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE, y(e, t));
5301
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE, w(e, t));
5302
5302
  break;
5303
5303
  }
5304
5304
  default:
5305
- y(e, t);
5305
+ w(e, t);
5306
5306
  }
5307
5307
  }
5308
- function fe(e, t) {
5308
+ function Ae(e, t) {
5309
5309
  const a = t.tagID;
5310
5310
  switch (t.tagID) {
5311
5311
  case u.TBODY:
@@ -5315,7 +5315,7 @@ function fe(e, t) {
5315
5315
  break;
5316
5316
  }
5317
5317
  case u.TABLE: {
5318
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE, X(e, t));
5318
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE, j(e, t));
5319
5319
  break;
5320
5320
  }
5321
5321
  case u.BODY:
@@ -5328,14 +5328,14 @@ function fe(e, t) {
5328
5328
  case u.TR:
5329
5329
  break;
5330
5330
  default:
5331
- X(e, t);
5331
+ j(e, t);
5332
5332
  }
5333
5333
  }
5334
- function oe(e, t) {
5334
+ function Te(e, t) {
5335
5335
  switch (t.tagID) {
5336
5336
  case u.TH:
5337
5337
  case u.TD: {
5338
- e.openElements.clearBackToTableRowContext(), e._insertElement(t, T.HTML), e.insertionMode = n.IN_CELL, e.activeFormattingElements.insertMarker();
5338
+ e.openElements.clearBackToTableRowContext(), e._insertElement(t, h.HTML), e.insertionMode = n.IN_CELL, e.activeFormattingElements.insertMarker();
5339
5339
  break;
5340
5340
  }
5341
5341
  case u.CAPTION:
@@ -5345,27 +5345,27 @@ function oe(e, t) {
5345
5345
  case u.TFOOT:
5346
5346
  case u.THEAD:
5347
5347
  case u.TR: {
5348
- e.openElements.hasInTableScope(u.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE_BODY, ce(e, t));
5348
+ e.openElements.hasInTableScope(u.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE_BODY, Ee(e, t));
5349
5349
  break;
5350
5350
  }
5351
5351
  default:
5352
- y(e, t);
5352
+ w(e, t);
5353
5353
  }
5354
5354
  }
5355
- function ct(e, t) {
5355
+ function Et(e, t) {
5356
5356
  switch (t.tagID) {
5357
5357
  case u.TR: {
5358
5358
  e.openElements.hasInTableScope(u.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE_BODY);
5359
5359
  break;
5360
5360
  }
5361
5361
  case u.TABLE: {
5362
- e.openElements.hasInTableScope(u.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE_BODY, fe(e, t));
5362
+ e.openElements.hasInTableScope(u.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE_BODY, Ae(e, t));
5363
5363
  break;
5364
5364
  }
5365
5365
  case u.TBODY:
5366
5366
  case u.TFOOT:
5367
5367
  case u.THEAD: {
5368
- (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(u.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE_BODY, fe(e, t));
5368
+ (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(u.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = n.IN_TABLE_BODY, Ae(e, t));
5369
5369
  break;
5370
5370
  }
5371
5371
  case u.BODY:
@@ -5377,12 +5377,12 @@ function ct(e, t) {
5377
5377
  case u.TH:
5378
5378
  break;
5379
5379
  default:
5380
- X(e, t);
5380
+ j(e, t);
5381
5381
  }
5382
5382
  }
5383
5383
  function Ha(e, t) {
5384
5384
  const a = t.tagID;
5385
- nt.has(a) ? (e.openElements.hasInTableScope(u.TD) || e.openElements.hasInTableScope(u.TH)) && (e._closeTableCell(), oe(e, t)) : C(e, t);
5385
+ dt.has(a) ? (e.openElements.hasInTableScope(u.TD) || e.openElements.hasInTableScope(u.TH)) && (e._closeTableCell(), Te(e, t)) : S(e, t);
5386
5386
  }
5387
5387
  function ka(e, t) {
5388
5388
  const a = t.tagID;
@@ -5397,7 +5397,7 @@ function ka(e, t) {
5397
5397
  case u.TFOOT:
5398
5398
  case u.THEAD:
5399
5399
  case u.TR: {
5400
- e.openElements.hasInTableScope(a) && (e._closeTableCell(), ct(e, t));
5400
+ e.openElements.hasInTableScope(a) && (e._closeTableCell(), Et(e, t));
5401
5401
  break;
5402
5402
  }
5403
5403
  case u.BODY:
@@ -5407,25 +5407,25 @@ function ka(e, t) {
5407
5407
  case u.HTML:
5408
5408
  break;
5409
5409
  default:
5410
- ne(e, t);
5410
+ de(e, t);
5411
5411
  }
5412
5412
  }
5413
- function ot(e, t) {
5413
+ function Tt(e, t) {
5414
5414
  switch (t.tagID) {
5415
5415
  case u.HTML: {
5416
- C(e, t);
5416
+ S(e, t);
5417
5417
  break;
5418
5418
  }
5419
5419
  case u.OPTION: {
5420
- e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e._insertElement(t, T.HTML);
5420
+ e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e._insertElement(t, h.HTML);
5421
5421
  break;
5422
5422
  }
5423
5423
  case u.OPTGROUP: {
5424
- e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e.openElements.currentTagId === u.OPTGROUP && e.openElements.pop(), e._insertElement(t, T.HTML);
5424
+ e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e.openElements.currentTagId === u.OPTGROUP && e.openElements.pop(), e._insertElement(t, h.HTML);
5425
5425
  break;
5426
5426
  }
5427
5427
  case u.HR: {
5428
- e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e.openElements.currentTagId === u.OPTGROUP && e.openElements.pop(), e._appendElement(t, T.HTML), t.ackSelfClosing = !0;
5428
+ e.openElements.currentTagId === u.OPTION && e.openElements.pop(), e.openElements.currentTagId === u.OPTGROUP && e.openElements.pop(), e._appendElement(t, h.HTML), t.ackSelfClosing = !0;
5429
5429
  break;
5430
5430
  }
5431
5431
  case u.INPUT:
@@ -5437,12 +5437,12 @@ function ot(e, t) {
5437
5437
  }
5438
5438
  case u.SCRIPT:
5439
5439
  case u.TEMPLATE: {
5440
- p(e, t);
5440
+ g(e, t);
5441
5441
  break;
5442
5442
  }
5443
5443
  }
5444
5444
  }
5445
- function dt(e, t) {
5445
+ function ht(e, t) {
5446
5446
  switch (t.tagID) {
5447
5447
  case u.OPTGROUP: {
5448
5448
  e.openElements.stackTop > 0 && e.openElements.currentTagId === u.OPTION && e.openElements.tagIDs[e.openElements.stackTop - 1] === u.OPTGROUP && e.openElements.pop(), e.openElements.currentTagId === u.OPTGROUP && e.openElements.pop();
@@ -5457,18 +5457,18 @@ function dt(e, t) {
5457
5457
  break;
5458
5458
  }
5459
5459
  case u.TEMPLATE: {
5460
- F(e, t);
5460
+ U(e, t);
5461
5461
  break;
5462
5462
  }
5463
5463
  }
5464
5464
  }
5465
5465
  function Fa(e, t) {
5466
5466
  const a = t.tagID;
5467
- a === u.CAPTION || a === u.TABLE || a === u.TBODY || a === u.TFOOT || a === u.THEAD || a === u.TR || a === u.TD || a === u.TH ? (e.openElements.popUntilTagNamePopped(u.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : ot(e, t);
5467
+ a === u.CAPTION || a === u.TABLE || a === u.TBODY || a === u.TFOOT || a === u.THEAD || a === u.TR || a === u.TD || a === u.TH ? (e.openElements.popUntilTagNamePopped(u.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : Tt(e, t);
5468
5468
  }
5469
5469
  function Ua(e, t) {
5470
5470
  const a = t.tagID;
5471
- a === u.CAPTION || a === u.TABLE || a === u.TBODY || a === u.TFOOT || a === u.THEAD || a === u.TR || a === u.TD || a === u.TH ? e.openElements.hasInTableScope(a) && (e.openElements.popUntilTagNamePopped(u.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : dt(e, t);
5471
+ a === u.CAPTION || a === u.TABLE || a === u.TBODY || a === u.TFOOT || a === u.THEAD || a === u.TR || a === u.TD || a === u.TH ? e.openElements.hasInTableScope(a) && (e.openElements.popUntilTagNamePopped(u.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : ht(e, t);
5472
5472
  }
5473
5473
  function ya(e, t) {
5474
5474
  switch (t.tagID) {
@@ -5483,7 +5483,7 @@ function ya(e, t) {
5483
5483
  case u.STYLE:
5484
5484
  case u.TEMPLATE:
5485
5485
  case u.TITLE: {
5486
- p(e, t);
5486
+ g(e, t);
5487
5487
  break;
5488
5488
  }
5489
5489
  // Re-process the token in the appropriate mode
@@ -5492,36 +5492,36 @@ function ya(e, t) {
5492
5492
  case u.TBODY:
5493
5493
  case u.TFOOT:
5494
5494
  case u.THEAD: {
5495
- e.tmplInsertionModeStack[0] = n.IN_TABLE, e.insertionMode = n.IN_TABLE, y(e, t);
5495
+ e.tmplInsertionModeStack[0] = n.IN_TABLE, e.insertionMode = n.IN_TABLE, w(e, t);
5496
5496
  break;
5497
5497
  }
5498
5498
  case u.COL: {
5499
- e.tmplInsertionModeStack[0] = n.IN_COLUMN_GROUP, e.insertionMode = n.IN_COLUMN_GROUP, Ne(e, t);
5499
+ e.tmplInsertionModeStack[0] = n.IN_COLUMN_GROUP, e.insertionMode = n.IN_COLUMN_GROUP, Se(e, t);
5500
5500
  break;
5501
5501
  }
5502
5502
  case u.TR: {
5503
- e.tmplInsertionModeStack[0] = n.IN_TABLE_BODY, e.insertionMode = n.IN_TABLE_BODY, ce(e, t);
5503
+ e.tmplInsertionModeStack[0] = n.IN_TABLE_BODY, e.insertionMode = n.IN_TABLE_BODY, Ee(e, t);
5504
5504
  break;
5505
5505
  }
5506
5506
  case u.TD:
5507
5507
  case u.TH: {
5508
- e.tmplInsertionModeStack[0] = n.IN_ROW, e.insertionMode = n.IN_ROW, oe(e, t);
5508
+ e.tmplInsertionModeStack[0] = n.IN_ROW, e.insertionMode = n.IN_ROW, Te(e, t);
5509
5509
  break;
5510
5510
  }
5511
5511
  default:
5512
- e.tmplInsertionModeStack[0] = n.IN_BODY, e.insertionMode = n.IN_BODY, C(e, t);
5512
+ e.tmplInsertionModeStack[0] = n.IN_BODY, e.insertionMode = n.IN_BODY, S(e, t);
5513
5513
  }
5514
5514
  }
5515
5515
  function wa(e, t) {
5516
- t.tagID === u.TEMPLATE && F(e, t);
5516
+ t.tagID === u.TEMPLATE && U(e, t);
5517
5517
  }
5518
- function Et(e, t) {
5519
- e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(u.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Ae(e, t);
5518
+ function lt(e, t) {
5519
+ e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(u.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Oe(e, t);
5520
5520
  }
5521
- function Ya(e, t) {
5522
- t.tagID === u.HTML ? C(e, t) : ae(e, t);
5521
+ function va(e, t) {
5522
+ t.tagID === u.HTML ? S(e, t) : ie(e, t);
5523
5523
  }
5524
- function Tt(e, t) {
5524
+ function ft(e, t) {
5525
5525
  var a;
5526
5526
  if (t.tagID === u.HTML) {
5527
5527
  if (e.fragmentContext || (e.insertionMode = n.AFTER_AFTER_BODY), e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === u.HTML) {
@@ -5530,93 +5530,93 @@ function Tt(e, t) {
5530
5530
  s && !(!((a = e.treeAdapter.getNodeSourceCodeLocation(s)) === null || a === void 0) && a.endTag) && e._setEndLocation(s, t);
5531
5531
  }
5532
5532
  } else
5533
- ae(e, t);
5533
+ ie(e, t);
5534
5534
  }
5535
- function ae(e, t) {
5536
- e.insertionMode = n.IN_BODY, ie(e, t);
5535
+ function ie(e, t) {
5536
+ e.insertionMode = n.IN_BODY, oe(e, t);
5537
5537
  }
5538
- function va(e, t) {
5538
+ function Ya(e, t) {
5539
5539
  switch (t.tagID) {
5540
5540
  case u.HTML: {
5541
- C(e, t);
5541
+ S(e, t);
5542
5542
  break;
5543
5543
  }
5544
5544
  case u.FRAMESET: {
5545
- e._insertElement(t, T.HTML);
5545
+ e._insertElement(t, h.HTML);
5546
5546
  break;
5547
5547
  }
5548
5548
  case u.FRAME: {
5549
- e._appendElement(t, T.HTML), t.ackSelfClosing = !0;
5549
+ e._appendElement(t, h.HTML), t.ackSelfClosing = !0;
5550
5550
  break;
5551
5551
  }
5552
5552
  case u.NOFRAMES: {
5553
- p(e, t);
5553
+ g(e, t);
5554
5554
  break;
5555
5555
  }
5556
5556
  }
5557
5557
  }
5558
- function Qa(e, t) {
5558
+ function qa(e, t) {
5559
5559
  t.tagID === u.FRAMESET && !e.openElements.isRootHtmlElementCurrent() && (e.openElements.pop(), !e.fragmentContext && e.openElements.currentTagId !== u.FRAMESET && (e.insertionMode = n.AFTER_FRAMESET));
5560
5560
  }
5561
- function Wa(e, t) {
5561
+ function Qa(e, t) {
5562
5562
  switch (t.tagID) {
5563
5563
  case u.HTML: {
5564
- C(e, t);
5564
+ S(e, t);
5565
5565
  break;
5566
5566
  }
5567
5567
  case u.NOFRAMES: {
5568
- p(e, t);
5568
+ g(e, t);
5569
5569
  break;
5570
5570
  }
5571
5571
  }
5572
5572
  }
5573
- function Ga(e, t) {
5573
+ function Wa(e, t) {
5574
5574
  t.tagID === u.HTML && (e.insertionMode = n.AFTER_AFTER_FRAMESET);
5575
5575
  }
5576
- function qa(e, t) {
5577
- t.tagID === u.HTML ? C(e, t) : ee(e, t);
5576
+ function Ga(e, t) {
5577
+ t.tagID === u.HTML ? S(e, t) : ae(e, t);
5578
5578
  }
5579
- function ee(e, t) {
5580
- e.insertionMode = n.IN_BODY, ie(e, t);
5579
+ function ae(e, t) {
5580
+ e.insertionMode = n.IN_BODY, oe(e, t);
5581
5581
  }
5582
- function Ka(e, t) {
5582
+ function Xa(e, t) {
5583
5583
  switch (t.tagID) {
5584
5584
  case u.HTML: {
5585
- C(e, t);
5585
+ S(e, t);
5586
5586
  break;
5587
5587
  }
5588
5588
  case u.NOFRAMES: {
5589
- p(e, t);
5589
+ g(e, t);
5590
5590
  break;
5591
5591
  }
5592
5592
  }
5593
5593
  }
5594
- function Xa(e, t) {
5595
- t.chars = b, e._insertCharacters(t);
5594
+ function Ka(e, t) {
5595
+ t.chars = N, e._insertCharacters(t);
5596
5596
  }
5597
5597
  function Va(e, t) {
5598
5598
  e._insertCharacters(t), e.framesetOk = !1;
5599
5599
  }
5600
- function ht(e) {
5601
- for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== T.HTML && e.openElements.currentTagId !== void 0 && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); )
5600
+ function mt(e) {
5601
+ for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== h.HTML && e.openElements.currentTagId !== void 0 && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); )
5602
5602
  e.openElements.pop();
5603
5603
  }
5604
5604
  function za(e, t) {
5605
5605
  if (du(t))
5606
- ht(e), e._startTagOutsideForeignContent(t);
5606
+ mt(e), e._startTagOutsideForeignContent(t);
5607
5607
  else {
5608
5608
  const a = e._getAdjustedCurrentElement(), s = e.treeAdapter.getNamespaceURI(a);
5609
- s === T.MATHML ? ze(t) : s === T.SVG && (Eu(t), je(t)), me(t), t.selfClosing ? e._appendElement(t, s) : e._insertElement(t, s), t.ackSelfClosing = !0;
5609
+ s === h.MATHML ? Ze(t) : s === h.SVG && (Eu(t), $e(t)), Ie(t), t.selfClosing ? e._appendElement(t, s) : e._insertElement(t, s), t.ackSelfClosing = !0;
5610
5610
  }
5611
5611
  }
5612
5612
  function ja(e, t) {
5613
5613
  if (t.tagID === u.P || t.tagID === u.BR) {
5614
- ht(e), e._endTagOutsideForeignContent(t);
5614
+ mt(e), e._endTagOutsideForeignContent(t);
5615
5615
  return;
5616
5616
  }
5617
5617
  for (let a = e.openElements.stackTop; a > 0; a--) {
5618
5618
  const s = e.openElements.items[a];
5619
- if (e.treeAdapter.getNamespaceURI(s) === T.HTML) {
5619
+ if (e.treeAdapter.getNamespaceURI(s) === h.HTML) {
5620
5620
  e._endTagOutsideForeignContent(t);
5621
5621
  break;
5622
5622
  }
@@ -5629,70 +5629,70 @@ function ja(e, t) {
5629
5629
  }
5630
5630
  o.AREA, o.BASE, o.BASEFONT, o.BGSOUND, o.BR, o.COL, o.EMBED, o.FRAME, o.HR, o.IMG, o.INPUT, o.KEYGEN, o.LINK, o.META, o.PARAM, o.SOURCE, o.TRACK, o.WBR;
5631
5631
  function Ja(e, t) {
5632
- return Ze.parse(e, t);
5632
+ return tt.parse(e, t);
5633
5633
  }
5634
5634
  function Za(e, t, a) {
5635
5635
  typeof e == "string" && (a = t, t = e, e = null);
5636
- const s = Ze.getFragmentParser(e, a);
5636
+ const s = tt.getFragmentParser(e, a);
5637
5637
  return s.tokenizer.write(t, !0), s.getFragment();
5638
5638
  }
5639
- var lt, _e, ft, $a = [];
5640
- function V(e, t, a) {
5641
- var s, c, d, h = {};
5642
- for (d in t) d == "key" ? s = t[d] : d == "ref" ? c = t[d] : h[d] = t[d];
5643
- if (arguments.length > 2 && (h.children = arguments.length > 3 ? lt.call(arguments, 2) : a), typeof e == "function" && e.defaultProps != null) for (d in e.defaultProps) h[d] === void 0 && (h[d] = e.defaultProps[d]);
5644
- return es(e, h, s, c, null);
5639
+ var _t, Ne, bt, $a = [];
5640
+ function J(e, t, a) {
5641
+ var s, c, d, T = {};
5642
+ for (d in t) d == "key" ? s = t[d] : d == "ref" ? c = t[d] : T[d] = t[d];
5643
+ if (arguments.length > 2 && (T.children = arguments.length > 3 ? _t.call(arguments, 2) : a), typeof e == "function" && e.defaultProps != null) for (d in e.defaultProps) T[d] === void 0 && (T[d] = e.defaultProps[d]);
5644
+ return es(e, T, s, c, null);
5645
5645
  }
5646
5646
  function es(e, t, a, s, c) {
5647
- var d = { type: e, props: t, key: a, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: c ?? ++ft, __i: -1, __u: 0 };
5648
- return _e.vnode != null && _e.vnode(d), d;
5647
+ var d = { type: e, props: t, key: a, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: c ?? ++bt, __i: -1, __u: 0 };
5648
+ return Ne.vnode != null && Ne.vnode(d), d;
5649
5649
  }
5650
- lt = $a.slice, _e = { __e: function(e, t, a, s) {
5651
- for (var c, d, h; t = t.__; ) if ((c = t.__c) && !c.__) try {
5652
- if ((d = c.constructor) && d.getDerivedStateFromError != null && (c.setState(d.getDerivedStateFromError(e)), h = c.__d), c.componentDidCatch != null && (c.componentDidCatch(e, s || {}), h = c.__d), h) return c.__E = c;
5650
+ _t = $a.slice, Ne = { __e: function(e, t, a, s) {
5651
+ for (var c, d, T; t = t.__; ) if ((c = t.__c) && !c.__) try {
5652
+ if ((d = c.constructor) && d.getDerivedStateFromError != null && (c.setState(d.getDerivedStateFromError(e)), T = c.__d), c.componentDidCatch != null && (c.componentDidCatch(e, s || {}), T = c.__d), T) return c.__E = c;
5653
5653
  } catch (f) {
5654
5654
  e = f;
5655
5655
  }
5656
5656
  throw e;
5657
- } }, ft = 0, typeof Promise == "function" && Promise.prototype.then.bind(Promise.resolve());
5658
- var _t = function(e, t, a, s) {
5657
+ } }, bt = 0, typeof Promise == "function" && Promise.prototype.then.bind(Promise.resolve());
5658
+ var At = function(e, t, a, s) {
5659
5659
  var c;
5660
5660
  t[0] = 0;
5661
5661
  for (var d = 1; d < t.length; d++) {
5662
- var h = t[d++], f = t[d] ? (t[0] |= h ? 1 : 2, a[t[d++]]) : t[++d];
5663
- h === 3 ? s[0] = f : h === 4 ? s[1] = Object.assign(s[1] || {}, f) : h === 5 ? (s[1] = s[1] || {})[t[++d]] = f : h === 6 ? s[1][t[++d]] += f + "" : h ? (c = e.apply(f, _t(e, f, a, ["", null])), s.push(c), f[0] ? t[0] |= 2 : (t[d - 2] = 0, t[d] = c)) : s.push(f);
5662
+ var T = t[d++], f = t[d] ? (t[0] |= T ? 1 : 2, a[t[d++]]) : t[++d];
5663
+ T === 3 ? s[0] = f : T === 4 ? s[1] = Object.assign(s[1] || {}, f) : T === 5 ? (s[1] = s[1] || {})[t[++d]] = f : T === 6 ? s[1][t[++d]] += f + "" : T ? (c = e.apply(f, At(e, f, a, ["", null])), s.push(c), f[0] ? t[0] |= 2 : (t[d - 2] = 0, t[d] = c)) : s.push(f);
5664
5664
  }
5665
5665
  return s;
5666
- }, Ue = /* @__PURE__ */ new Map();
5666
+ }, ve = /* @__PURE__ */ new Map();
5667
5667
  function ts(e) {
5668
- var t = Ue.get(this);
5669
- return t || (t = /* @__PURE__ */ new Map(), Ue.set(this, t)), (t = _t(this, t.get(e) || (t.set(e, t = (function(a) {
5670
- for (var s, c, d = 1, h = "", f = "", _ = [0], A = function(R) {
5671
- d === 1 && (R || (h = h.replace(/^\s*\n\s*|\s*\n\s*$/g, ""))) ? _.push(0, R, h) : d === 3 && (R || h) ? (_.push(3, R, h), d = 2) : d === 2 && h === "..." && R ? _.push(4, R, 0) : d === 2 && h && !R ? _.push(5, 0, !0, h) : d >= 5 && ((h || !R && d === 5) && (_.push(d, 0, h, c), d = 6), R && (_.push(d, R, 0, c), d = 6)), h = "";
5672
- }, O = 0; O < a.length; O++) {
5673
- O && (d === 1 && A(), A(O));
5674
- for (var U = 0; U < a[O].length; U++) s = a[O][U], d === 1 ? s === "<" ? (A(), _ = [_], d = 3) : h += s : d === 4 ? h === "--" && s === ">" ? (d = 1, h = "") : h = s + h[0] : f ? s === f ? f = "" : h += s : s === '"' || s === "'" ? f = s : s === ">" ? (A(), d = 1) : d && (s === "=" ? (d = 5, c = h, h = "") : s === "/" && (d < 5 || a[O][U + 1] === ">") ? (A(), d === 3 && (_ = _[0]), d = _, (_ = _[0]).push(2, 0, d), d = 0) : s === " " || s === " " || s === `
5675
- ` || s === "\r" ? (A(), d = 2) : h += s), d === 3 && h === "!--" && (d = 4, _ = _[0]);
5676
- }
5677
- return A(), _;
5668
+ var t = ve.get(this);
5669
+ return t || (t = /* @__PURE__ */ new Map(), ve.set(this, t)), (t = At(this, t.get(e) || (t.set(e, t = (function(a) {
5670
+ for (var s, c, d = 1, T = "", f = "", m = [0], b = function(O) {
5671
+ d === 1 && (O || (T = T.replace(/^\s*\n\s*|\s*\n\s*$/g, ""))) ? m.push(0, O, T) : d === 3 && (O || T) ? (m.push(3, O, T), d = 2) : d === 2 && T === "..." && O ? m.push(4, O, 0) : d === 2 && T && !O ? m.push(5, 0, !0, T) : d >= 5 && ((T || !O && d === 5) && (m.push(d, 0, T, c), d = 6), O && (m.push(d, O, 0, c), d = 6)), T = "";
5672
+ }, A = 0; A < a.length; A++) {
5673
+ A && (d === 1 && b(), b(A));
5674
+ for (var R = 0; R < a[A].length; R++) s = a[A][R], d === 1 ? s === "<" ? (b(), m = [m], d = 3) : T += s : d === 4 ? T === "--" && s === ">" ? (d = 1, T = "") : T = s + T[0] : f ? s === f ? f = "" : T += s : s === '"' || s === "'" ? f = s : s === ">" ? (b(), d = 1) : d && (s === "=" ? (d = 5, c = T, T = "") : s === "/" && (d < 5 || a[A][R + 1] === ">") ? (b(), d === 3 && (m = m[0]), d = m, (m = m[0]).push(2, 0, d), d = 0) : s === " " || s === " " || s === `
5675
+ ` || s === "\r" ? (b(), d = 2) : T += s), d === 3 && T === "!--" && (d = 4, m = m[0]);
5676
+ }
5677
+ return b(), m;
5678
5678
  })(e)), t), arguments, [])).length > 1 ? t : t[0];
5679
5679
  }
5680
- ts.bind(V);
5681
- let Ie = [];
5682
- function x(...e) {
5683
- Ie.push(e.map((t) => JSON.stringify(t)).join(" "));
5680
+ ts.bind(J);
5681
+ let Le = [];
5682
+ function H(...e) {
5683
+ Le.push(e.map((t) => JSON.stringify(t)).join(" "));
5684
5684
  }
5685
5685
  function us() {
5686
- return Ie;
5686
+ return Le;
5687
5687
  }
5688
5688
  function as() {
5689
- Ie = [];
5689
+ Le = [];
5690
5690
  }
5691
- function se(e) {
5691
+ function ne(e) {
5692
5692
  const { type: t, props: a } = e;
5693
5693
  return { type: t, props: a };
5694
5694
  }
5695
- function Ce(e) {
5695
+ function pe(e) {
5696
5696
  const t = {};
5697
5697
  if (e.nodeName === "#comment")
5698
5698
  return e.data;
@@ -5702,33 +5702,33 @@ function Ce(e) {
5702
5702
  for (const d of s || [])
5703
5703
  t[d.name] = d.value;
5704
5704
  try {
5705
- return se(
5706
- V(c, t, ...(a || []).map((d) => Ce(d)))
5705
+ return ne(
5706
+ J(c, t, ...(a || []).map((d) => pe(d)))
5707
5707
  );
5708
5708
  } catch (d) {
5709
- return se(V("div", { class: "parseNode" }, d.stack));
5709
+ return ne(J("div", { class: "parseNode" }, d.stack));
5710
5710
  }
5711
5711
  }
5712
5712
  function ss(e) {
5713
5713
  try {
5714
5714
  const t = Ja(e.outerHTML);
5715
- return Ce(t.childNodes[0]);
5715
+ return pe(t.childNodes[0]);
5716
5716
  } catch (t) {
5717
- return se(V("div", { class: "parseDocument" }, t.stack));
5717
+ return ne(J("div", { class: "parseDocument" }, t.stack));
5718
5718
  }
5719
5719
  }
5720
5720
  function rs(e) {
5721
5721
  try {
5722
5722
  const t = Za(e.outerHTML);
5723
- return Ce(t);
5723
+ return pe(t);
5724
5724
  } catch (t) {
5725
- return se(V("div", { class: "parseFragmentWrapper" }, t.stack));
5725
+ return ne(J("div", { class: "parseFragmentWrapper" }, t.stack));
5726
5726
  }
5727
5727
  }
5728
5728
  async function is() {
5729
5729
  let e = 0, t, a;
5730
- const s = new Promise((h, f) => {
5731
- t = h, a = f;
5730
+ const s = new Promise((T, f) => {
5731
+ t = T, a = f;
5732
5732
  }), c = setTimeout(
5733
5733
  () => a(new Error("Timeout waiting for body")),
5734
5734
  1e4
@@ -5738,37 +5738,37 @@ async function is() {
5738
5738
  }
5739
5739
  e = requestAnimationFrame(d), await s, cancelAnimationFrame(e), clearTimeout(c);
5740
5740
  }
5741
- let ye = 0;
5742
- function we(e) {
5741
+ let Ye = 0;
5742
+ function qe(e) {
5743
5743
  if (typeof e.querySelectorAll != "function") {
5744
- x(
5744
+ H(
5745
5745
  "assignRef: elem has no querySelectorAll",
5746
5746
  e.nodeType || e.nodeName || e.textContent || Object.keys(e)
5747
5747
  );
5748
5748
  return;
5749
5749
  }
5750
- e.hasAttribute("data-wdio-ref") || e.setAttribute("data-wdio-ref", `${++ye}`), Array.from(e.querySelectorAll("*")).forEach((t) => {
5751
- t.setAttribute("data-wdio-ref", `${++ye}`);
5750
+ e.hasAttribute("data-wdio-ref") || e.setAttribute("data-wdio-ref", `${++Ye}`), Array.from(e.querySelectorAll("*")).forEach((t) => {
5751
+ t.setAttribute("data-wdio-ref", `${++Ye}`);
5752
5752
  });
5753
5753
  }
5754
- function Z(e) {
5754
+ function te(e) {
5755
5755
  return !e || !e.getAttribute ? null : e.getAttribute("data-wdio-ref");
5756
5756
  }
5757
5757
  const ns = ["log", "info", "warn", "error"];
5758
5758
  class cs {
5759
- #e = [];
5759
+ #t = [];
5760
5760
  constructor() {
5761
- ns.forEach(this.#t.bind(this));
5761
+ ns.forEach(this.#e.bind(this));
5762
5762
  }
5763
5763
  getArtifacts() {
5764
- return this.#e;
5764
+ return this.#t;
5765
5765
  }
5766
5766
  clear() {
5767
- this.#e = [];
5767
+ this.#t = [];
5768
5768
  }
5769
- #t(t) {
5769
+ #e(t) {
5770
5770
  const a = console[t];
5771
- console[t] = (...s) => (this.#e.push({
5771
+ console[t] = (...s) => (this.#t.push({
5772
5772
  timestamp: Date.now(),
5773
5773
  type: t,
5774
5774
  args: s
@@ -5776,42 +5776,207 @@ class cs {
5776
5776
  }
5777
5777
  }
5778
5778
  class os {
5779
- #e = {
5779
+ #t = [];
5780
+ #e = /* @__PURE__ */ new Map();
5781
+ #u;
5782
+ #a;
5783
+ #s;
5784
+ constructor() {
5785
+ this.#o(), this.#d();
5786
+ }
5787
+ getArtifacts() {
5788
+ return this.#t;
5789
+ }
5790
+ clear() {
5791
+ this.#t = [], this.#e.clear();
5792
+ }
5793
+ #r() {
5794
+ return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
5795
+ }
5796
+ #i(t) {
5797
+ if (!t)
5798
+ return !0;
5799
+ const a = t.toLowerCase();
5800
+ return !!(a.startsWith("data:") || a.startsWith("blob:") || a.startsWith("chrome:") || a.startsWith("chrome-extension:") || a.startsWith("about:") || a.startsWith("ws:") || a.startsWith("wss:") || a.includes("/.well-known/") || a.includes("/favicon.ico"));
5801
+ }
5802
+ #o() {
5803
+ if (typeof window.fetch != "function")
5804
+ return;
5805
+ this.#u = window.fetch;
5806
+ const t = this;
5807
+ window.fetch = async function(a, s) {
5808
+ const c = t.#r(), d = typeof a == "string" ? a : a instanceof URL ? a.href : a.url, T = s?.method?.toUpperCase() || "GET";
5809
+ if (t.#i(d))
5810
+ return t.#u.apply(this, [a, s]);
5811
+ const f = performance.now(), m = Date.now(), b = {
5812
+ id: c,
5813
+ url: d,
5814
+ method: T,
5815
+ type: "fetch",
5816
+ timestamp: m,
5817
+ startTime: f,
5818
+ requestHeaders: s?.headers ? t.#n(s.headers) : {},
5819
+ requestBody: s?.body ? String(s.body) : void 0
5820
+ };
5821
+ t.#e.set(c, b);
5822
+ try {
5823
+ const A = await t.#u.apply(this, [a, s]), R = performance.now(), O = R - f, v = t.#n(A.headers), y = v["content-type"]?.trim();
5824
+ if (!y || y === "-")
5825
+ return t.#e.delete(c), A;
5826
+ let Y;
5827
+ try {
5828
+ (y.includes("application/json") || y.includes("text/")) && (Y = await A.clone().text());
5829
+ } catch {
5830
+ }
5831
+ const he = {
5832
+ id: c,
5833
+ url: d,
5834
+ method: T,
5835
+ status: A.status,
5836
+ statusText: A.statusText,
5837
+ type: "fetch",
5838
+ timestamp: m,
5839
+ startTime: f,
5840
+ endTime: R,
5841
+ time: O,
5842
+ requestHeaders: b.requestHeaders,
5843
+ responseHeaders: v,
5844
+ requestBody: b.requestBody,
5845
+ responseBody: Y,
5846
+ size: t.#c(Y)
5847
+ };
5848
+ return t.#t.push(he), t.#e.delete(c), A;
5849
+ } catch (A) {
5850
+ throw t.#e.delete(c), A;
5851
+ }
5852
+ };
5853
+ }
5854
+ #d() {
5855
+ if (typeof XMLHttpRequest > "u")
5856
+ return;
5857
+ const t = this;
5858
+ this.#a = XMLHttpRequest.prototype.open, this.#s = XMLHttpRequest.prototype.send, XMLHttpRequest.prototype.open = function(a, s, c, d, T) {
5859
+ const f = t.#r(), m = typeof s == "string" ? s : s.href;
5860
+ return t.#i(m) ? t.#a.call(
5861
+ this,
5862
+ a,
5863
+ s,
5864
+ c ?? !0,
5865
+ d,
5866
+ T
5867
+ ) : (this._networkRequestId = f, this._networkRequestData = {
5868
+ id: f,
5869
+ url: m,
5870
+ method: a.toUpperCase(),
5871
+ type: "xhr",
5872
+ timestamp: Date.now(),
5873
+ startTime: performance.now(),
5874
+ requestHeaders: {}
5875
+ }, t.#a.call(
5876
+ this,
5877
+ a,
5878
+ s,
5879
+ c ?? !0,
5880
+ d,
5881
+ T
5882
+ ));
5883
+ }, XMLHttpRequest.prototype.send = function(a) {
5884
+ const s = this._networkRequestData;
5885
+ if (!s)
5886
+ return t.#s.call(this, a);
5887
+ a && (s.requestBody = String(a));
5888
+ const c = s.startTime || performance.now(), d = function() {
5889
+ const f = performance.now(), m = f - c, b = t.#E(this), A = b["content-type"]?.trim();
5890
+ if (!A || A === "-")
5891
+ return;
5892
+ let R;
5893
+ try {
5894
+ (A.includes("application/json") || A.includes("text/")) && (R = this.responseText);
5895
+ } catch {
5896
+ }
5897
+ const O = {
5898
+ id: s.id,
5899
+ url: s.url,
5900
+ method: s.method,
5901
+ status: this.status,
5902
+ statusText: this.statusText,
5903
+ type: "xhr",
5904
+ timestamp: s.timestamp,
5905
+ startTime: c,
5906
+ endTime: f,
5907
+ time: m,
5908
+ requestHeaders: s.requestHeaders,
5909
+ responseHeaders: b,
5910
+ requestBody: s.requestBody,
5911
+ responseBody: R,
5912
+ size: t.#c(R)
5913
+ };
5914
+ t.#t.push(O);
5915
+ }, T = function() {
5916
+ };
5917
+ return this.addEventListener("load", d), this.addEventListener("error", T), t.#s.call(this, a);
5918
+ };
5919
+ }
5920
+ #n(t) {
5921
+ const a = {};
5922
+ return t instanceof Headers ? t.forEach((s, c) => {
5923
+ a[c.toLowerCase()] = s;
5924
+ }) : Array.isArray(t) ? t.forEach(([s, c]) => {
5925
+ a[s.toLowerCase()] = c;
5926
+ }) : t && Object.entries(t).forEach(([s, c]) => {
5927
+ a[s.toLowerCase()] = c;
5928
+ }), a;
5929
+ }
5930
+ #E(t) {
5931
+ const a = {}, s = t.getAllResponseHeaders();
5932
+ return s && s.trim().split(/[\r\n]+/).forEach((d) => {
5933
+ const T = d.split(": "), f = T.shift(), m = T.join(": ");
5934
+ f && (a[f.toLowerCase()] = m);
5935
+ }), a;
5936
+ }
5937
+ #c(t) {
5938
+ return t ? new Blob([t]).size : 0;
5939
+ }
5940
+ }
5941
+ class ds {
5942
+ #t = {
5780
5943
  url: window.location.href,
5781
5944
  viewport: window.visualViewport
5782
5945
  };
5783
- #t = [];
5946
+ #e = [];
5784
5947
  #u = [];
5785
5948
  #a = new cs();
5949
+ #s = new os();
5786
5950
  captureError(t) {
5787
5951
  const a = t.stack || t.message;
5788
- this.#t.push(a);
5952
+ this.#e.push(a);
5789
5953
  }
5790
5954
  captureMutation(t) {
5791
5955
  this.#u.push(...t);
5792
5956
  }
5793
5957
  reset() {
5794
- this.#t = [], this.#u = [], this.#a.clear(), as();
5958
+ this.#e = [], this.#u = [], this.#a.clear(), this.#s.clear(), as();
5795
5959
  }
5796
5960
  getMetadata() {
5797
- return this.#e;
5961
+ return this.#t;
5798
5962
  }
5799
5963
  getTraceData() {
5800
5964
  const t = {
5801
- errors: this.#t,
5965
+ errors: this.#e,
5802
5966
  mutations: this.#u,
5803
5967
  consoleLogs: this.#a.getArtifacts(),
5968
+ networkRequests: this.#s.getArtifacts(),
5804
5969
  traceLogs: us(),
5805
5970
  metadata: this.getMetadata()
5806
5971
  };
5807
5972
  return this.reset(), t;
5808
5973
  }
5809
5974
  }
5810
- const $ = window.wdioTraceCollector = new os();
5975
+ const ue = window.wdioTraceCollector = new ds();
5811
5976
  try {
5812
- x("waiting for body to render"), await is(), x("body rendered"), we(document.documentElement), x("applied wdio ref ids");
5977
+ H("waiting for body to render"), await is(), H("body rendered"), qe(document.documentElement), H("applied wdio ref ids");
5813
5978
  const e = Date.now();
5814
- $.captureMutation([
5979
+ ue.captureMutation([
5815
5980
  {
5816
5981
  type: "childList",
5817
5982
  url: document.location.href,
@@ -5819,51 +5984,51 @@ try {
5819
5984
  addedNodes: [ss(document.documentElement)],
5820
5985
  removedNodes: []
5821
5986
  }
5822
- ]), x("added initial page structure");
5987
+ ]), H("added initial page structure");
5823
5988
  const t = { attributes: !0, childList: !0, subtree: !0 };
5824
5989
  new MutationObserver((s) => {
5825
- const c = Date.now(), d = s.filter((h) => h.attributeName !== "data-wdio-ref");
5826
- x(`observed ${d.length} mutations`);
5990
+ const c = Date.now(), d = s.filter((T) => T.attributeName !== "data-wdio-ref");
5991
+ H(`observed ${d.length} mutations`);
5827
5992
  try {
5828
- $.captureMutation(
5993
+ ue.captureMutation(
5829
5994
  d.map(
5830
5995
  ({
5831
- target: h,
5996
+ target: T,
5832
5997
  addedNodes: f,
5833
- removedNodes: _,
5834
- type: A,
5835
- attributeName: O,
5836
- attributeNamespace: U,
5837
- previousSibling: R,
5838
- nextSibling: Oe,
5839
- oldValue: mt
5998
+ removedNodes: m,
5999
+ type: b,
6000
+ attributeName: A,
6001
+ attributeNamespace: R,
6002
+ previousSibling: O,
6003
+ nextSibling: v,
6004
+ oldValue: y
5840
6005
  }) => {
5841
- const bt = Array.from(f).map((j) => (we(j), rs(j))), At = Array.from(_).map((j) => Z(j)), Nt = Z(h), It = R ? Z(R) : null, Ct = Oe ? Z(Oe) : null;
5842
- let Se;
5843
- A === "attributes" && (Se = h.getAttribute(O) || "");
5844
- let Le;
5845
- return A === "characterData" && (Le = h.textContent || ""), x(`added mutation: ${A}`), {
5846
- type: A,
5847
- attributeName: O,
5848
- attributeNamespace: U,
5849
- oldValue: mt,
5850
- addedNodes: bt,
6006
+ const Y = Array.from(f).map(($) => (qe($), rs($))), he = Array.from(m).map(($) => te($)), Nt = te(T), It = O ? te(O) : null, Ct = v ? te(v) : null;
6007
+ let Re;
6008
+ b === "attributes" && (Re = T.getAttribute(A) || "");
6009
+ let De;
6010
+ return b === "characterData" && (De = T.textContent || ""), H(`added mutation: ${b}`), {
6011
+ type: b,
6012
+ attributeName: A,
6013
+ attributeNamespace: R,
6014
+ oldValue: y,
6015
+ addedNodes: Y,
5851
6016
  target: Nt,
5852
- removedNodes: At,
6017
+ removedNodes: he,
5853
6018
  previousSibling: It,
5854
6019
  nextSibling: Ct,
5855
6020
  timestamp: c,
5856
- attributeValue: Se,
5857
- newTextContent: Le
6021
+ attributeValue: Re,
6022
+ newTextContent: De
5858
6023
  };
5859
6024
  }
5860
6025
  )
5861
6026
  );
5862
- } catch (h) {
5863
- $.captureError(h);
6027
+ } catch (T) {
6028
+ ue.captureError(T);
5864
6029
  }
5865
6030
  }).observe(document.body, t);
5866
6031
  } catch (e) {
5867
- $.captureError(e);
6032
+ ue.captureError(e);
5868
6033
  }
5869
- x("Finished program");
6034
+ H("Finished program");