gp-designer 1.0.13 → 1.0.14

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ge, computed as Ke, openBlock as B, createElementBlock as V, normalizeClass as Da, ref as z, watch as ot, createElementVNode as S, withModifiers as he, Fragment as Ht, renderList as js, createBlock as xt, createCommentVNode as K, mergeProps as zs, toDisplayString as we, resolveComponent as Pu, resolveDynamicComponent as ku, withCtx as Ks, createTextVNode as wu, unref as Ne, createVNode as lt, Transition as Bu, renderSlot as Uu, reactive as Fu, createApp as Hu, h as Ji, withDirectives as st, vModelSelect as Yu, vModelText as pt, normalizeStyle as qu } from "vue";
1
+ import { defineComponent as Ge, computed as Ke, openBlock as B, createElementBlock as V, normalizeClass as Da, ref as z, watch as ot, createElementVNode as S, withModifiers as he, Fragment as Ht, renderList as Ks, createBlock as xt, createCommentVNode as K, mergeProps as Zs, toDisplayString as ve, resolveComponent as wu, resolveDynamicComponent as Bu, withCtx as Js, createTextVNode as ti, unref as Ne, createVNode as lt, Transition as Uu, renderSlot as Fu, reactive as Hu, createApp as Yu, h as es, withDirectives as st, vModelSelect as qu, vModelText as pt, normalizeStyle as ts } from "vue";
2
2
  var j;
3
3
  (function(e) {
4
4
  e.Root = "root", e.Text = "text", e.Directive = "directive", e.Comment = "comment", e.Script = "script", e.Style = "style", e.Tag = "tag", e.CDATA = "cdata", e.Doctype = "doctype";
@@ -7,7 +7,7 @@ function Vu(e) {
7
7
  return e.type === j.Tag || e.type === j.Script || e.type === j.Style;
8
8
  }
9
9
  const Wu = j.Root, $u = j.Text, Xu = j.Directive, Gu = j.Comment, Qu = j.Script, ju = j.Style, zu = j.Tag, Ku = j.CDATA, Zu = j.Doctype;
10
- let Zs = class {
10
+ let en = class {
11
11
  constructor() {
12
12
  this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
13
13
  }
@@ -52,7 +52,7 @@ let Zs = class {
52
52
  return zt(this, t);
53
53
  }
54
54
  };
55
- class Ci extends Zs {
55
+ class Si extends en {
56
56
  /**
57
57
  * @param data The content of the data node
58
58
  */
@@ -70,7 +70,7 @@ class Ci extends Zs {
70
70
  this.data = t;
71
71
  }
72
72
  }
73
- class jt extends Ci {
73
+ class jt extends Si {
74
74
  constructor() {
75
75
  super(...arguments), this.type = j.Text;
76
76
  }
@@ -78,7 +78,7 @@ class jt extends Ci {
78
78
  return 3;
79
79
  }
80
80
  }
81
- class Si extends Ci {
81
+ class xi extends Si {
82
82
  constructor() {
83
83
  super(...arguments), this.type = j.Comment;
84
84
  }
@@ -86,7 +86,7 @@ class Si extends Ci {
86
86
  return 8;
87
87
  }
88
88
  }
89
- class xi extends Ci {
89
+ class Oi extends Si {
90
90
  constructor(t, a) {
91
91
  super(a), this.name = t, this.type = j.Directive;
92
92
  }
@@ -94,7 +94,7 @@ class xi extends Ci {
94
94
  return 1;
95
95
  }
96
96
  }
97
- class Oi extends Zs {
97
+ class Di extends en {
98
98
  /**
99
99
  * @param children Children of the node. Only certain node types can have children.
100
100
  */
@@ -122,7 +122,7 @@ class Oi extends Zs {
122
122
  this.children = t;
123
123
  }
124
124
  }
125
- class Js extends Oi {
125
+ class tn extends Di {
126
126
  constructor() {
127
127
  super(...arguments), this.type = j.CDATA;
128
128
  }
@@ -130,7 +130,7 @@ class Js extends Oi {
130
130
  return 4;
131
131
  }
132
132
  }
133
- class dt extends Oi {
133
+ class dt extends Di {
134
134
  constructor() {
135
135
  super(...arguments), this.type = j.Root;
136
136
  }
@@ -138,7 +138,7 @@ class dt extends Oi {
138
138
  return 9;
139
139
  }
140
140
  }
141
- class Di extends Oi {
141
+ class Li extends Di {
142
142
  /**
143
143
  * @param name Name of the tag, eg. `div`, `span`.
144
144
  * @param attribs Object mapping attribute names to attribute values.
@@ -185,7 +185,7 @@ function He(e) {
185
185
  function va(e) {
186
186
  return e.type === j.Comment;
187
187
  }
188
- function ti(e) {
188
+ function ai(e) {
189
189
  return e.type === j.Directive;
190
190
  }
191
191
  function at(e) {
@@ -199,18 +199,18 @@ function zt(e, t = !1) {
199
199
  if (He(e))
200
200
  a = new jt(e.data);
201
201
  else if (va(e))
202
- a = new Si(e.data);
202
+ a = new xi(e.data);
203
203
  else if (k(e)) {
204
- const i = t ? qa(e.children) : [], s = new Di(e.name, { ...e.attribs }, i);
204
+ const i = t ? qa(e.children) : [], s = new Li(e.name, { ...e.attribs }, i);
205
205
  i.forEach((u) => u.parent = s), e.namespace != null && (s.namespace = e.namespace), e["x-attribsNamespace"] && (s["x-attribsNamespace"] = { ...e["x-attribsNamespace"] }), e["x-attribsPrefix"] && (s["x-attribsPrefix"] = { ...e["x-attribsPrefix"] }), a = s;
206
206
  } else if (La(e)) {
207
- const i = t ? qa(e.children) : [], s = new Js(i);
207
+ const i = t ? qa(e.children) : [], s = new tn(i);
208
208
  i.forEach((u) => u.parent = s), a = s;
209
209
  } else if (at(e)) {
210
210
  const i = t ? qa(e.children) : [], s = new dt(i);
211
211
  i.forEach((u) => u.parent = s), e["x-mode"] && (s["x-mode"] = e["x-mode"]), a = s;
212
- } else if (ti(e)) {
213
- const i = new xi(e.name, e.data);
212
+ } else if (ai(e)) {
213
+ const i = new Oi(e.name, e.data);
214
214
  e["x-name"] != null && (i["x-name"] = e["x-name"], i["x-publicId"] = e["x-publicId"], i["x-systemId"] = e["x-systemId"]), a = i;
215
215
  } else
216
216
  throw new Error(`Not implemented yet: ${e.type}`);
@@ -222,7 +222,7 @@ function qa(e) {
222
222
  t[a].prev = t[a - 1], t[a - 1].next = t[a];
223
223
  return t;
224
224
  }
225
- const es = {
225
+ const as = {
226
226
  withStartIndices: !1,
227
227
  withEndIndices: !1,
228
228
  xmlMode: !1
@@ -234,7 +234,7 @@ class Ju {
234
234
  * @param elementCB Callback whenever a tag is closed.
235
235
  */
236
236
  constructor(t, a, i) {
237
- this.dom = [], this.root = new dt(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof a == "function" && (i = a, a = es), typeof t == "object" && (a = t, t = void 0), this.callback = t ?? null, this.options = a ?? es, this.elementCB = i ?? null;
237
+ this.dom = [], this.root = new dt(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof a == "function" && (i = a, a = as), typeof t == "object" && (a = t, t = void 0), this.callback = t ?? null, this.options = a ?? as, this.elementCB = i ?? null;
238
238
  }
239
239
  onparserinit(t) {
240
240
  this.parser = t;
@@ -256,7 +256,7 @@ class Ju {
256
256
  this.options.withEndIndices && (t.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(t);
257
257
  }
258
258
  onopentag(t, a) {
259
- const i = this.options.xmlMode ? j.Tag : void 0, s = new Di(t, a, void 0, i);
259
+ const i = this.options.xmlMode ? j.Tag : void 0, s = new Li(t, a, void 0, i);
260
260
  this.addNode(s), this.tagStack.push(s);
261
261
  }
262
262
  ontext(t) {
@@ -273,21 +273,21 @@ class Ju {
273
273
  this.lastNode.data += t;
274
274
  return;
275
275
  }
276
- const a = new Si(t);
276
+ const a = new xi(t);
277
277
  this.addNode(a), this.lastNode = a;
278
278
  }
279
279
  oncommentend() {
280
280
  this.lastNode = null;
281
281
  }
282
282
  oncdatastart() {
283
- const t = new jt(""), a = new Js([t]);
283
+ const t = new jt(""), a = new tn([t]);
284
284
  this.addNode(a), t.parent = a, this.lastNode = t;
285
285
  }
286
286
  oncdataend() {
287
287
  this.lastNode = null;
288
288
  }
289
289
  onprocessinginstruction(t, a) {
290
- const i = new xi(t, a);
290
+ const i = new Oi(t, a);
291
291
  this.addNode(i);
292
292
  }
293
293
  handleCallback(t) {
@@ -301,10 +301,10 @@ class Ju {
301
301
  this.options.withStartIndices && (t.startIndex = this.parser.startIndex), this.options.withEndIndices && (t.endIndex = this.parser.endIndex), a.children.push(t), i && (t.prev = i, i.next = t), t.parent = a, this.lastNode = null;
302
302
  }
303
303
  }
304
- const Li = new Uint16Array(
304
+ const vi = new Uint16Array(
305
305
  // prettier-ignore
306
306
  'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\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))
307
- ), en = new Uint16Array(
307
+ ), an = new Uint16Array(
308
308
  // prettier-ignore
309
309
  "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
310
310
  );
@@ -339,7 +339,7 @@ const er = /* @__PURE__ */ new Map([
339
339
  [156, 339],
340
340
  [158, 382],
341
341
  [159, 376]
342
- ]), ai = (
342
+ ]), ii = (
343
343
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
344
344
  (Va = String.fromCodePoint) !== null && Va !== void 0 ? Va : function(e) {
345
345
  let t = "";
@@ -359,14 +359,14 @@ var Ze;
359
359
  (function(e) {
360
360
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
361
361
  })(Ze || (Ze = {}));
362
- function ii(e) {
362
+ function si(e) {
363
363
  return e >= me.ZERO && e <= me.NINE;
364
364
  }
365
365
  function ir(e) {
366
366
  return e >= me.UPPER_A && e <= me.UPPER_F || e >= me.LOWER_A && e <= me.LOWER_F;
367
367
  }
368
368
  function sr(e) {
369
- return e >= me.UPPER_A && e <= me.UPPER_Z || e >= me.LOWER_A && e <= me.LOWER_Z || ii(e);
369
+ return e >= me.UPPER_A && e <= me.UPPER_Z || e >= me.LOWER_A && e <= me.LOWER_Z || si(e);
370
370
  }
371
371
  function nr(e) {
372
372
  return e === me.EQUALS || sr(e);
@@ -375,13 +375,13 @@ var fe;
375
375
  (function(e) {
376
376
  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";
377
377
  })(fe || (fe = {}));
378
- var Pe;
378
+ var ke;
379
379
  (function(e) {
380
380
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
381
- })(Pe || (Pe = {}));
382
- class vi {
381
+ })(ke || (ke = {}));
382
+ class Ri {
383
383
  constructor(t, a, i) {
384
- this.decodeTree = t, this.emitCodePoint = a, this.errors = i, this.state = fe.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Pe.Strict;
384
+ this.decodeTree = t, this.emitCodePoint = a, this.errors = i, this.state = fe.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = ke.Strict;
385
385
  }
386
386
  /** Resets the instance to make it reusable. */
387
387
  startEntity(t) {
@@ -443,7 +443,7 @@ class vi {
443
443
  const i = a;
444
444
  for (; a < t.length; ) {
445
445
  const s = t.charCodeAt(a);
446
- if (ii(s) || ir(s))
446
+ if (si(s) || ir(s))
447
447
  a += 1;
448
448
  else
449
449
  return this.addToNumericResult(t, i, a, 16), this.emitNumericEntity(s, 3);
@@ -463,7 +463,7 @@ class vi {
463
463
  const i = a;
464
464
  for (; a < t.length; ) {
465
465
  const s = t.charCodeAt(a);
466
- if (ii(s))
466
+ if (si(s))
467
467
  a += 1;
468
468
  else
469
469
  return this.addToNumericResult(t, i, a, 10), this.emitNumericEntity(s, 2);
@@ -489,7 +489,7 @@ class vi {
489
489
  return (i = this.errors) === null || i === void 0 || i.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
490
490
  if (t === me.SEMI)
491
491
  this.consumed += 1;
492
- else if (this.decodeMode === Pe.Strict)
492
+ else if (this.decodeMode === ke.Strict)
493
493
  return 0;
494
494
  return this.emitCodePoint(tr(this.result), this.consumed), this.errors && (t !== me.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
495
495
  }
@@ -509,13 +509,13 @@ class vi {
509
509
  const r = t.charCodeAt(a);
510
510
  if (this.treeIndex = ur(i, s, this.treeIndex + Math.max(1, u), r), this.treeIndex < 0)
511
511
  return this.result === 0 || // If we are parsing an attribute
512
- this.decodeMode === Pe.Attribute && // We shouldn't have consumed any characters after the entity,
512
+ this.decodeMode === ke.Attribute && // We shouldn't have consumed any characters after the entity,
513
513
  (u === 0 || // And there should be no invalid characters.
514
514
  nr(r)) ? 0 : this.emitNotTerminatedNamedEntity();
515
515
  if (s = i[this.treeIndex], u = (s & Ze.VALUE_LENGTH) >> 14, u !== 0) {
516
516
  if (r === me.SEMI)
517
517
  return this.emitNamedEntityData(this.treeIndex, u, this.consumed + this.excess);
518
- this.decodeMode !== Pe.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
518
+ this.decodeMode !== ke.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
519
519
  }
520
520
  }
521
521
  return -1;
@@ -554,7 +554,7 @@ class vi {
554
554
  var t;
555
555
  switch (this.state) {
556
556
  case fe.NamedEntity:
557
- return this.result !== 0 && (this.decodeMode !== Pe.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
557
+ return this.result !== 0 && (this.decodeMode !== ke.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
558
558
  case fe.NumericDecimal:
559
559
  return this.emitNumericEntity(0, 2);
560
560
  case fe.NumericHex:
@@ -566,9 +566,9 @@ class vi {
566
566
  }
567
567
  }
568
568
  }
569
- function tn(e) {
569
+ function sn(e) {
570
570
  let t = "";
571
- const a = new vi(e, (i) => t += ai(i));
571
+ const a = new Ri(e, (i) => t += ii(i));
572
572
  return function(s, u) {
573
573
  let r = 0, o = 0;
574
574
  for (; (o = s.indexOf("&", o)) >= 0; ) {
@@ -608,9 +608,9 @@ function ur(e, t, a, i) {
608
608
  }
609
609
  return -1;
610
610
  }
611
- tn(Li);
612
- tn(en);
613
- const ts = /["&'<>$\x80-\uFFFF]/g, rr = /* @__PURE__ */ new Map([
611
+ sn(vi);
612
+ sn(an);
613
+ const is = /["&'<>$\x80-\uFFFF]/g, rr = /* @__PURE__ */ new Map([
614
614
  [34, "&quot;"],
615
615
  [38, "&amp;"],
616
616
  [39, "&apos;"],
@@ -623,15 +623,15 @@ const ts = /["&'<>$\x80-\uFFFF]/g, rr = /* @__PURE__ */ new Map([
623
623
  (e, t) => (e.charCodeAt(t) & 64512) === 55296 ? (e.charCodeAt(t) - 55296) * 1024 + e.charCodeAt(t + 1) - 56320 + 65536 : e.charCodeAt(t)
624
624
  )
625
625
  );
626
- function an(e) {
626
+ function nn(e) {
627
627
  let t = "", a = 0, i;
628
- for (; (i = ts.exec(e)) !== null; ) {
628
+ for (; (i = is.exec(e)) !== null; ) {
629
629
  const s = i.index, u = e.charCodeAt(s), r = rr.get(u);
630
- r !== void 0 ? (t += e.substring(a, s) + r, a = s + 1) : (t += `${e.substring(a, s)}&#x${or(e, s).toString(16)};`, a = ts.lastIndex += +((u & 64512) === 55296));
630
+ r !== void 0 ? (t += e.substring(a, s) + r, a = s + 1) : (t += `${e.substring(a, s)}&#x${or(e, s).toString(16)};`, a = is.lastIndex += +((u & 64512) === 55296));
631
631
  }
632
632
  return t + e.substr(a);
633
633
  }
634
- function sn(e, t) {
634
+ function un(e, t) {
635
635
  return function(i) {
636
636
  let s, u = 0, r = "";
637
637
  for (; s = e.exec(i); )
@@ -639,11 +639,11 @@ function sn(e, t) {
639
639
  return r + i.substring(u);
640
640
  };
641
641
  }
642
- const nn = sn(/["&\u00A0]/g, /* @__PURE__ */ new Map([
642
+ const rn = un(/["&\u00A0]/g, /* @__PURE__ */ new Map([
643
643
  [34, "&quot;"],
644
644
  [38, "&amp;"],
645
645
  [160, "&nbsp;"]
646
- ])), un = sn(/[&<>\u00A0]/g, /* @__PURE__ */ new Map([
646
+ ])), on = un(/[&<>\u00A0]/g, /* @__PURE__ */ new Map([
647
647
  [38, "&amp;"],
648
648
  [60, "&lt;"],
649
649
  [62, "&gt;"],
@@ -763,14 +763,14 @@ function fr(e, t) {
763
763
  var a;
764
764
  if (!e)
765
765
  return;
766
- const i = ((a = t.encodeEntities) !== null && a !== void 0 ? a : t.decodeEntities) === !1 ? dr : t.xmlMode || t.encodeEntities !== "utf8" ? an : nn;
766
+ const i = ((a = t.encodeEntities) !== null && a !== void 0 ? a : t.decodeEntities) === !1 ? dr : t.xmlMode || t.encodeEntities !== "utf8" ? nn : rn;
767
767
  return Object.keys(e).map((s) => {
768
768
  var u, r;
769
769
  const o = (u = e[s]) !== null && u !== void 0 ? u : "";
770
770
  return t.xmlMode === "foreign" && (s = (r = lr.get(s)) !== null && r !== void 0 ? r : s), !t.emptyAttrs && !t.xmlMode && o === "" ? s : `${s}="${i(o)}"`;
771
771
  }).join(" ");
772
772
  }
773
- const as = /* @__PURE__ */ new Set([
773
+ const ss = /* @__PURE__ */ new Set([
774
774
  "area",
775
775
  "base",
776
776
  "basefont",
@@ -838,8 +838,8 @@ function pr(e, t) {
838
838
  t.selfClosingTags !== !1
839
839
  ) : (
840
840
  // User explicitly asked for self-closing tags, even in HTML mode
841
- t.selfClosingTags && as.has(e.name)
842
- )) ? (t.xmlMode || (i += " "), i += "/>") : (i += ">", e.children.length > 0 && (i += Ra(e.children, t)), (t.xmlMode || !as.has(e.name)) && (i += `</${e.name}>`)), i;
841
+ t.selfClosingTags && ss.has(e.name)
842
+ )) ? (t.xmlMode || (i += " "), i += "/>") : (i += ">", e.children.length > 0 && (i += Ra(e.children, t)), (t.xmlMode || !ss.has(e.name)) && (i += `</${e.name}>`)), i;
843
843
  }
844
844
  function br(e) {
845
845
  return `<${e.data}>`;
@@ -847,7 +847,7 @@ function br(e) {
847
847
  function gr(e, t) {
848
848
  var a;
849
849
  let i = e.data || "";
850
- return ((a = t.encodeEntities) !== null && a !== void 0 ? a : t.decodeEntities) !== !1 && !(!t.xmlMode && e.parent && hr.has(e.parent.name)) && (i = t.xmlMode || t.encodeEntities !== "utf8" ? an(i) : un(i)), i;
850
+ return ((a = t.encodeEntities) !== null && a !== void 0 ? a : t.decodeEntities) !== !1 && !(!t.xmlMode && e.parent && hr.has(e.parent.name)) && (i = t.xmlMode || t.encodeEntities !== "utf8" ? nn(i) : on(i)), i;
851
851
  }
852
852
  function _r(e) {
853
853
  return `<![CDATA[${e.children[0].data}]]>`;
@@ -855,11 +855,11 @@ function _r(e) {
855
855
  function Ar(e) {
856
856
  return `<!--${e.data}-->`;
857
857
  }
858
- function rn(e, t) {
858
+ function cn(e, t) {
859
859
  return Ra(e, t);
860
860
  }
861
861
  function Nr(e, t) {
862
- return Te(e) ? e.children.map((a) => rn(a, t)).join("") : "";
862
+ return Te(e) ? e.children.map((a) => cn(a, t)).join("") : "";
863
863
  }
864
864
  function Ea(e) {
865
865
  return Array.isArray(e) ? e.map(Ea).join("") : k(e) ? e.name === "br" ? `
@@ -874,11 +874,11 @@ function Ta(e) {
874
874
  function ya(e) {
875
875
  return Te(e) ? e.children : [];
876
876
  }
877
- function on(e) {
877
+ function ln(e) {
878
878
  return e.parent || null;
879
879
  }
880
- function cn(e) {
881
- const t = on(e);
880
+ function hn(e) {
881
+ const t = ln(e);
882
882
  if (t != null)
883
883
  return ya(t);
884
884
  const a = [e];
@@ -899,13 +899,13 @@ function Cr(e, t) {
899
899
  function Sr(e) {
900
900
  return e.name;
901
901
  }
902
- function Ri(e) {
902
+ function yi(e) {
903
903
  let { next: t } = e;
904
904
  for (; t !== null && !k(t); )
905
905
  ({ next: t } = t);
906
906
  return t;
907
907
  }
908
- function yi(e) {
908
+ function Mi(e) {
909
909
  let { prev: t } = e;
910
910
  for (; t !== null && !k(t); )
911
911
  ({ prev: t } = t);
@@ -963,9 +963,9 @@ function vr(e, t) {
963
963
  e.prev && (e.prev.next = t), t.parent = a, t.prev = e.prev, t.next = e, e.prev = t;
964
964
  }
965
965
  function Ma(e, t, a = !0, i = 1 / 0) {
966
- return Mi(e, Array.isArray(t) ? t : [t], a, i);
966
+ return Pi(e, Array.isArray(t) ? t : [t], a, i);
967
967
  }
968
- function Mi(e, t, a, i) {
968
+ function Pi(e, t, a, i) {
969
969
  const s = [], u = [t], r = [0];
970
970
  for (; ; ) {
971
971
  if (r[0] >= u[0].length) {
@@ -983,18 +983,18 @@ function Mi(e, t, a, i) {
983
983
  function Rr(e, t) {
984
984
  return t.find(e);
985
985
  }
986
- function Pi(e, t, a = !0) {
986
+ function ki(e, t, a = !0) {
987
987
  let i = null;
988
988
  for (let s = 0; s < t.length && !i; s++) {
989
989
  const u = t[s];
990
990
  if (k(u))
991
- e(u) ? i = u : a && u.children.length > 0 && (i = Pi(e, u.children, !0));
991
+ e(u) ? i = u : a && u.children.length > 0 && (i = ki(e, u.children, !0));
992
992
  else continue;
993
993
  }
994
994
  return i;
995
995
  }
996
- function ln(e, t) {
997
- return t.some((a) => k(a) && (e(a) || ln(e, a.children)));
996
+ function dn(e, t) {
997
+ return t.some((a) => k(a) && (e(a) || dn(e, a.children)));
998
998
  }
999
999
  function yr(e, t) {
1000
1000
  const a = [], i = [t], s = [0];
@@ -1020,29 +1020,29 @@ const pa = {
1020
1020
  return typeof e == "function" ? (t) => He(t) && e(t.data) : (t) => He(t) && t.data === e;
1021
1021
  }
1022
1022
  };
1023
- function hn(e, t) {
1023
+ function fn(e, t) {
1024
1024
  return typeof t == "function" ? (a) => k(a) && t(a.attribs[e]) : (a) => k(a) && a.attribs[e] === t;
1025
1025
  }
1026
1026
  function Mr(e, t) {
1027
1027
  return (a) => e(a) || t(a);
1028
1028
  }
1029
- function dn(e) {
1029
+ function En(e) {
1030
1030
  const t = Object.keys(e).map((a) => {
1031
1031
  const i = e[a];
1032
- return Object.prototype.hasOwnProperty.call(pa, a) ? pa[a](i) : hn(a, i);
1032
+ return Object.prototype.hasOwnProperty.call(pa, a) ? pa[a](i) : fn(a, i);
1033
1033
  });
1034
1034
  return t.length === 0 ? null : t.reduce(Mr);
1035
1035
  }
1036
1036
  function Pr(e, t) {
1037
- const a = dn(e);
1037
+ const a = En(e);
1038
1038
  return a ? a(t) : !0;
1039
1039
  }
1040
1040
  function kr(e, t, a, i = 1 / 0) {
1041
- const s = dn(e);
1041
+ const s = En(e);
1042
1042
  return s ? Ma(s, t, a, i) : [];
1043
1043
  }
1044
1044
  function wr(e, t, a = !0) {
1045
- return Array.isArray(t) || (t = [t]), Pi(hn("id", e), t, a);
1045
+ return Array.isArray(t) || (t = [t]), ki(fn("id", e), t, a);
1046
1046
  }
1047
1047
  function Lt(e, t, a = !0, i = 1 / 0) {
1048
1048
  return Ma(pa.tag_name(e), t, a, i);
@@ -1066,11 +1066,11 @@ function Ur(e) {
1066
1066
  }
1067
1067
  return e;
1068
1068
  }
1069
- var Me;
1069
+ var Pe;
1070
1070
  (function(e) {
1071
1071
  e[e.DISCONNECTED = 1] = "DISCONNECTED", e[e.PRECEDING = 2] = "PRECEDING", e[e.FOLLOWING = 4] = "FOLLOWING", e[e.CONTAINS = 8] = "CONTAINS", e[e.CONTAINED_BY = 16] = "CONTAINED_BY";
1072
- })(Me || (Me = {}));
1073
- function fn(e, t) {
1072
+ })(Pe || (Pe = {}));
1073
+ function mn(e, t) {
1074
1074
  const a = [], i = [];
1075
1075
  if (e === t)
1076
1076
  return 0;
@@ -1084,14 +1084,14 @@ function fn(e, t) {
1084
1084
  for (; r < u && a[r] === i[r]; )
1085
1085
  r++;
1086
1086
  if (r === 0)
1087
- return Me.DISCONNECTED;
1087
+ return Pe.DISCONNECTED;
1088
1088
  const o = a[r - 1], c = o.children, h = a[r], f = i[r];
1089
- return c.indexOf(h) > c.indexOf(f) ? o === t ? Me.FOLLOWING | Me.CONTAINED_BY : Me.FOLLOWING : o === e ? Me.PRECEDING | Me.CONTAINS : Me.PRECEDING;
1089
+ return c.indexOf(h) > c.indexOf(f) ? o === t ? Pe.FOLLOWING | Pe.CONTAINED_BY : Pe.FOLLOWING : o === e ? Pe.PRECEDING | Pe.CONTAINS : Pe.PRECEDING;
1090
1090
  }
1091
1091
  function vt(e) {
1092
1092
  return e = e.filter((t, a, i) => !i.includes(t, a + 1)), e.sort((t, a) => {
1093
- const i = fn(t, a);
1094
- return i & Me.PRECEDING ? -1 : i & Me.FOLLOWING ? 1 : 0;
1093
+ const i = mn(t, a);
1094
+ return i & Pe.PRECEDING ? -1 : i & Pe.FOLLOWING ? 1 : 0;
1095
1095
  }), e;
1096
1096
  }
1097
1097
  function Fr(e) {
@@ -1104,7 +1104,7 @@ function Hr(e) {
1104
1104
  type: "atom",
1105
1105
  items: Lt("entry", a).map((r) => {
1106
1106
  var o;
1107
- const { children: c } = r, h = { media: En(c) };
1107
+ const { children: c } = r, h = { media: Tn(c) };
1108
1108
  xe(h, "id", "id", c), xe(h, "title", "title", c);
1109
1109
  const f = (o = ba("link", c)) === null || o === void 0 ? void 0 : o.attribs.href;
1110
1110
  f && (h.link = f);
@@ -1126,7 +1126,7 @@ function Yr(e) {
1126
1126
  type: e.name.substr(0, 3),
1127
1127
  id: "",
1128
1128
  items: Lt("item", e.children).map((r) => {
1129
- const { children: o } = r, c = { media: En(o) };
1129
+ const { children: o } = r, c = { media: Tn(o) };
1130
1130
  xe(c, "id", "guid", o), xe(c, "title", "title", o), xe(c, "link", "link", o), xe(c, "description", "description", o);
1131
1131
  const h = Je("pubDate", o) || Je("dc:date", o);
1132
1132
  return h && (c.pubDate = new Date(h)), c;
@@ -1146,7 +1146,7 @@ const qr = ["url", "type", "lang"], Vr = [
1146
1146
  "height",
1147
1147
  "width"
1148
1148
  ];
1149
- function En(e) {
1149
+ function Tn(e) {
1150
1150
  return Lt("media:content", e).map((t) => {
1151
1151
  const { attribs: a } = t, i = {
1152
1152
  medium: a.medium,
@@ -1175,16 +1175,16 @@ function Wr(e) {
1175
1175
  const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1176
1176
  __proto__: null,
1177
1177
  get DocumentPosition() {
1178
- return Me;
1178
+ return Pe;
1179
1179
  },
1180
1180
  append: Dr,
1181
1181
  appendChild: Or,
1182
- compareDocumentPosition: fn,
1183
- existsOne: ln,
1182
+ compareDocumentPosition: mn,
1183
+ existsOne: dn,
1184
1184
  filter: Ma,
1185
- find: Mi,
1185
+ find: Pi,
1186
1186
  findAll: yr,
1187
- findOne: Pi,
1187
+ findOne: ki,
1188
1188
  findOneChild: Rr,
1189
1189
  getAttributeValue: Ir,
1190
1190
  getChildren: ya,
@@ -1195,9 +1195,9 @@ const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1195
1195
  getFeed: Fr,
1196
1196
  getInnerHTML: Nr,
1197
1197
  getName: Sr,
1198
- getOuterHTML: rn,
1199
- getParent: on,
1200
- getSiblings: cn,
1198
+ getOuterHTML: cn,
1199
+ getParent: ln,
1200
+ getSiblings: hn,
1201
1201
  getText: Ea,
1202
1202
  hasAttrib: Cr,
1203
1203
  hasChildren: Te,
@@ -1207,10 +1207,10 @@ const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1207
1207
  isDocument: at,
1208
1208
  isTag: k,
1209
1209
  isText: He,
1210
- nextElementSibling: Ri,
1210
+ nextElementSibling: yi,
1211
1211
  prepend: vr,
1212
1212
  prependChild: Lr,
1213
- prevElementSibling: yi,
1213
+ prevElementSibling: Mi,
1214
1214
  removeElement: mt,
1215
1215
  removeSubsets: Ur,
1216
1216
  replaceElement: xr,
@@ -1220,7 +1220,7 @@ const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1220
1220
  }, Symbol.toStringTag, { value: "Module" })), $r = {
1221
1221
  _useHtmlParser2: !1
1222
1222
  };
1223
- function si(e, t) {
1223
+ function ni(e, t) {
1224
1224
  if (!e)
1225
1225
  return t ?? $r;
1226
1226
  const a = {
@@ -1230,7 +1230,7 @@ function si(e, t) {
1230
1230
  };
1231
1231
  return e.xml ? (a._useHtmlParser2 = !0, a.xmlMode = !0, e.xml !== !0 && Object.assign(a, e.xml)) : e.xmlMode && (a._useHtmlParser2 = !0), a;
1232
1232
  }
1233
- function mn(e, t, a) {
1233
+ function pn(e, t, a) {
1234
1234
  return e ? e(t ?? e._root.children, null, void 0, a).toString() : "";
1235
1235
  }
1236
1236
  function Xr(e, t) {
@@ -1239,13 +1239,13 @@ function Xr(e, t) {
1239
1239
  function Gr(e, t) {
1240
1240
  const a = Xr(e) ? (t = e, void 0) : e, i = {
1241
1241
  ...this === null || this === void 0 ? void 0 : this._options,
1242
- ...si(t)
1242
+ ...ni(t)
1243
1243
  };
1244
- return mn(this, a, i);
1244
+ return pn(this, a, i);
1245
1245
  }
1246
1246
  function Qr(e) {
1247
1247
  const t = { ...this._options, xmlMode: !0 };
1248
- return mn(this, e, t);
1248
+ return pn(this, e, t);
1249
1249
  }
1250
1250
  function Kt(e) {
1251
1251
  const t = e ?? (this ? this.root() : []);
@@ -1264,7 +1264,7 @@ function jr(e, t, a = typeof t == "boolean" ? t : !1) {
1264
1264
  function zr() {
1265
1265
  return this(this._root);
1266
1266
  }
1267
- function Tn(e, t) {
1267
+ function bn(e, t) {
1268
1268
  if (t === e)
1269
1269
  return !1;
1270
1270
  let a = t;
@@ -1277,7 +1277,7 @@ function Kr(e) {
1277
1277
  return this.root().extract(e);
1278
1278
  }
1279
1279
  function Zr(e, t) {
1280
- if (!is(e) || !is(t))
1280
+ if (!ns(e) || !ns(t))
1281
1281
  return;
1282
1282
  let a = e.length;
1283
1283
  const i = +t.length;
@@ -1285,7 +1285,7 @@ function Zr(e, t) {
1285
1285
  e[a++] = t[s];
1286
1286
  return e.length = a, e;
1287
1287
  }
1288
- function is(e) {
1288
+ function ns(e) {
1289
1289
  if (Array.isArray(e))
1290
1290
  return !0;
1291
1291
  if (typeof e != "object" || e === null || !("length" in e) || typeof e.length != "number" || e.length < 0)
@@ -1297,7 +1297,7 @@ function is(e) {
1297
1297
  }
1298
1298
  const Jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1299
1299
  __proto__: null,
1300
- contains: Tn,
1300
+ contains: bn,
1301
1301
  extract: Kr,
1302
1302
  html: Gr,
1303
1303
  merge: Zr,
@@ -1325,21 +1325,21 @@ var ct;
1325
1325
  (function(e) {
1326
1326
  e[e.LowerA = 97] = "LowerA", e[e.LowerZ = 122] = "LowerZ", e[e.UpperA = 65] = "UpperA", e[e.UpperZ = 90] = "UpperZ", e[e.Exclamation = 33] = "Exclamation";
1327
1327
  })(ct || (ct = {}));
1328
- function ni(e) {
1328
+ function ui(e) {
1329
1329
  const t = e.indexOf("<");
1330
1330
  if (t < 0 || t > e.length - 3)
1331
1331
  return !1;
1332
1332
  const a = e.charCodeAt(t + 1);
1333
1333
  return (a >= ct.LowerA && a <= ct.LowerZ || a >= ct.UpperA && a <= ct.UpperZ || a === ct.Exclamation) && e.includes(">", t + 2);
1334
1334
  }
1335
- const Zt = Object.prototype.hasOwnProperty, Jt = /\s+/, ui = "data-", ki = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, ao = /^{[^]*}$|^\[[^]*]$/;
1335
+ const Zt = Object.prototype.hasOwnProperty, Jt = /\s+/, ri = "data-", wi = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, ao = /^{[^]*}$|^\[[^]*]$/;
1336
1336
  function ga(e, t, a) {
1337
1337
  var i;
1338
1338
  if (!(!e || !k(e))) {
1339
1339
  if ((i = e.attribs) !== null && i !== void 0 || (e.attribs = {}), !t)
1340
1340
  return e.attribs;
1341
1341
  if (Zt.call(e.attribs, t))
1342
- return !a && ki.test(t) ? t : e.attribs[t];
1342
+ return !a && wi.test(t) ? t : e.attribs[t];
1343
1343
  if (e.name === "option" && t === "value")
1344
1344
  return Kt(e.children);
1345
1345
  if (e.name === "input" && (e.attribs.type === "radio" || e.attribs.type === "checkbox") && t === "value")
@@ -1347,7 +1347,7 @@ function ga(e, t, a) {
1347
1347
  }
1348
1348
  }
1349
1349
  function Nt(e, t, a) {
1350
- a === null ? bn(e, t) : e.attribs[t] = `${a}`;
1350
+ a === null ? _n(e, t) : e.attribs[t] = `${a}`;
1351
1351
  }
1352
1352
  function io(e, t) {
1353
1353
  if (typeof e == "object" || t !== void 0) {
@@ -1371,14 +1371,14 @@ function io(e, t) {
1371
1371
  }
1372
1372
  return arguments.length > 1 ? this : ga(this[0], e, this.options.xmlMode);
1373
1373
  }
1374
- function ss(e, t, a) {
1374
+ function us(e, t, a) {
1375
1375
  return t in e ? (
1376
1376
  // @ts-expect-error TS doesn't like us accessing the value directly here.
1377
1377
  e[t]
1378
- ) : !a && ki.test(t) ? ga(e, t, !1) !== void 0 : ga(e, t, a);
1378
+ ) : !a && wi.test(t) ? ga(e, t, !1) !== void 0 : ga(e, t, a);
1379
1379
  }
1380
1380
  function Wa(e, t, a, i) {
1381
- t in e ? e[t] = a : Nt(e, t, !i && ki.test(t) ? a ? "" : null : `${a}`);
1381
+ t in e ? e[t] = a : Nt(e, t, !i && wi.test(t) ? a ? "" : null : `${a}`);
1382
1382
  }
1383
1383
  function so(e, t) {
1384
1384
  var a;
@@ -1410,7 +1410,7 @@ function so(e, t) {
1410
1410
  case "innerHTML":
1411
1411
  return this.html();
1412
1412
  default:
1413
- return ss(i, e, this.options.xmlMode);
1413
+ return us(i, e, this.options.xmlMode);
1414
1414
  }
1415
1415
  }
1416
1416
  if (typeof e == "object" || t !== void 0) {
@@ -1418,7 +1418,7 @@ function so(e, t) {
1418
1418
  if (typeof e == "object")
1419
1419
  throw new TypeError("Bad combination of arguments.");
1420
1420
  return re(this, (i, s) => {
1421
- k(i) && Wa(i, e, t.call(i, s, ss(i, e, this.options.xmlMode)), this.options.xmlMode);
1421
+ k(i) && Wa(i, e, t.call(i, s, us(i, e, this.options.xmlMode)), this.options.xmlMode);
1422
1422
  });
1423
1423
  }
1424
1424
  return re(this, (i) => {
@@ -1433,27 +1433,27 @@ function so(e, t) {
1433
1433
  });
1434
1434
  }
1435
1435
  }
1436
- function ns(e, t, a) {
1436
+ function rs(e, t, a) {
1437
1437
  var i;
1438
1438
  (i = e.data) !== null && i !== void 0 || (e.data = {}), typeof t == "object" ? Object.assign(e.data, t) : typeof t == "string" && a !== void 0 && (e.data[t] = a);
1439
1439
  }
1440
1440
  function no(e) {
1441
1441
  for (const t of Object.keys(e.attribs)) {
1442
- if (!t.startsWith(ui))
1442
+ if (!t.startsWith(ri))
1443
1443
  continue;
1444
- const a = eo(t.slice(ui.length));
1445
- Zt.call(e.data, a) || (e.data[a] = pn(e.attribs[t]));
1444
+ const a = eo(t.slice(ri.length));
1445
+ Zt.call(e.data, a) || (e.data[a] = gn(e.attribs[t]));
1446
1446
  }
1447
1447
  return e.data;
1448
1448
  }
1449
1449
  function uo(e, t) {
1450
- const a = ui + to(t), i = e.data;
1450
+ const a = ri + to(t), i = e.data;
1451
1451
  if (Zt.call(i, t))
1452
1452
  return i[t];
1453
1453
  if (Zt.call(e.attribs, a))
1454
- return i[t] = pn(e.attribs[a]);
1454
+ return i[t] = gn(e.attribs[a]);
1455
1455
  }
1456
- function pn(e) {
1456
+ function gn(e) {
1457
1457
  if (e === "null")
1458
1458
  return null;
1459
1459
  if (e === "true")
@@ -1477,7 +1477,7 @@ function ro(e, t) {
1477
1477
  return;
1478
1478
  const s = i;
1479
1479
  return (a = s.data) !== null && a !== void 0 || (s.data = {}), e == null ? no(s) : typeof e == "object" || t !== void 0 ? (re(this, (u) => {
1480
- k(u) && (typeof e == "object" ? ns(u, e) : ns(u, e, t));
1480
+ k(u) && (typeof e == "object" ? rs(u, e) : rs(u, e, t));
1481
1481
  }), this) : uo(s, e);
1482
1482
  }
1483
1483
  function oo(e) {
@@ -1505,7 +1505,7 @@ function oo(e) {
1505
1505
  return t ? this.attr("value") : this.attr("value", e);
1506
1506
  }
1507
1507
  }
1508
- function bn(e, t) {
1508
+ function _n(e, t) {
1509
1509
  !e.attribs || !Zt.call(e.attribs, t) || delete e.attribs[t];
1510
1510
  }
1511
1511
  function _a(e) {
@@ -1515,7 +1515,7 @@ function co(e) {
1515
1515
  const t = _a(e);
1516
1516
  for (const a of t)
1517
1517
  re(this, (i) => {
1518
- k(i) && bn(i, a);
1518
+ k(i) && _n(i, a);
1519
1519
  });
1520
1520
  return this;
1521
1521
  }
@@ -1532,12 +1532,12 @@ function lo(e) {
1532
1532
  return !1;
1533
1533
  });
1534
1534
  }
1535
- function gn(e) {
1535
+ function An(e) {
1536
1536
  if (typeof e == "function")
1537
1537
  return re(this, (i, s) => {
1538
1538
  if (k(i)) {
1539
1539
  const u = i.attribs.class || "";
1540
- gn.call([i], e.call(i, s, u));
1540
+ An.call([i], e.call(i, s, u));
1541
1541
  }
1542
1542
  });
1543
1543
  if (!e || typeof e != "string")
@@ -1560,10 +1560,10 @@ function gn(e) {
1560
1560
  }
1561
1561
  return this;
1562
1562
  }
1563
- function _n(e) {
1563
+ function Nn(e) {
1564
1564
  if (typeof e == "function")
1565
1565
  return re(this, (s, u) => {
1566
- k(s) && _n.call([s], e.call(s, u, s.attribs.class || ""));
1566
+ k(s) && Nn.call([s], e.call(s, u, s.attribs.class || ""));
1567
1567
  });
1568
1568
  const t = _a(e), a = t.length, i = arguments.length === 0;
1569
1569
  return re(this, (s) => {
@@ -1581,10 +1581,10 @@ function _n(e) {
1581
1581
  }
1582
1582
  });
1583
1583
  }
1584
- function An(e, t) {
1584
+ function In(e, t) {
1585
1585
  if (typeof e == "function")
1586
1586
  return re(this, (r, o) => {
1587
- k(r) && An.call([r], e.call(r, o, r.attribs.class || "", t), t);
1587
+ k(r) && In.call([r], e.call(r, o, r.attribs.class || "", t), t);
1588
1588
  });
1589
1589
  if (!e || typeof e != "string")
1590
1590
  return this;
@@ -1604,14 +1604,14 @@ function An(e, t) {
1604
1604
  }
1605
1605
  const ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1606
1606
  __proto__: null,
1607
- addClass: gn,
1607
+ addClass: An,
1608
1608
  attr: io,
1609
1609
  data: ro,
1610
1610
  hasClass: lo,
1611
1611
  prop: so,
1612
1612
  removeAttr: co,
1613
- removeClass: _n,
1614
- toggleClass: An,
1613
+ removeClass: Nn,
1614
+ toggleClass: In,
1615
1615
  val: oo
1616
1616
  }, Symbol.toStringTag, { value: "Module" }));
1617
1617
  var v;
@@ -1622,7 +1622,7 @@ var de;
1622
1622
  (function(e) {
1623
1623
  e.Any = "any", e.Element = "element", e.End = "end", e.Equals = "equals", e.Exists = "exists", e.Hyphen = "hyphen", e.Not = "not", e.Start = "start";
1624
1624
  })(de || (de = {}));
1625
- const us = /^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/, fo = /\\([\da-f]{1,6}\s?|(\s)|.)/gi, Eo = /* @__PURE__ */ new Map([
1625
+ const os = /^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/, fo = /\\([\da-f]{1,6}\s?|(\s)|.)/gi, Eo = /* @__PURE__ */ new Map([
1626
1626
  [126, de.Element],
1627
1627
  [94, de.Start],
1628
1628
  [36, de.End],
@@ -1668,26 +1668,26 @@ function Mt(e) {
1668
1668
  function $a(e) {
1669
1669
  return e === 39 || e === 34;
1670
1670
  }
1671
- function rs(e) {
1671
+ function cs(e) {
1672
1672
  return e === 32 || e === 9 || e === 10 || e === 12 || e === 13;
1673
1673
  }
1674
1674
  function ka(e) {
1675
- const t = [], a = Nn(t, `${e}`, 0);
1675
+ const t = [], a = Cn(t, `${e}`, 0);
1676
1676
  if (a < e.length)
1677
1677
  throw new Error(`Unmatched selector: ${e.slice(a)}`);
1678
1678
  return t;
1679
1679
  }
1680
- function Nn(e, t, a) {
1680
+ function Cn(e, t, a) {
1681
1681
  let i = [];
1682
1682
  function s(T) {
1683
- const A = t.slice(a + T).match(us);
1683
+ const A = t.slice(a + T).match(os);
1684
1684
  if (!A)
1685
1685
  throw new Error(`Expected name, found ${t.slice(a)}`);
1686
1686
  const [I] = A;
1687
1687
  return a += T + I.length, Mt(I);
1688
1688
  }
1689
1689
  function u(T) {
1690
- for (a += T; a < t.length && rs(t.charCodeAt(a)); )
1690
+ for (a += T; a < t.length && cs(t.charCodeAt(a)); )
1691
1691
  a++;
1692
1692
  }
1693
1693
  function r() {
@@ -1792,7 +1792,7 @@ function Nn(e, t, a) {
1792
1792
  X = Mt(t.slice(a + 1, g)), a = g + 1;
1793
1793
  } else {
1794
1794
  const P = a;
1795
- for (; a < t.length && (!rs(t.charCodeAt(a)) && t.charCodeAt(a) !== 93 || o(a)); )
1795
+ for (; a < t.length && (!cs(t.charCodeAt(a)) && t.charCodeAt(a) !== 93 || o(a)); )
1796
1796
  a += 1;
1797
1797
  X = Mt(t.slice(P, a));
1798
1798
  }
@@ -1829,7 +1829,7 @@ function Nn(e, t, a) {
1829
1829
  if (mo.has(A)) {
1830
1830
  if ($a(t.charCodeAt(a + 1)))
1831
1831
  throw new Error(`Pseudo-selector ${A} cannot be quoted`);
1832
- if (I = [], a = Nn(I, t, a + 1), t.charCodeAt(a) !== 41)
1832
+ if (I = [], a = Cn(I, t, a + 1), t.charCodeAt(a) !== 41)
1833
1833
  throw new Error(`Missing closing parenthesis in :${A} (${t})`);
1834
1834
  a += 1;
1835
1835
  } else {
@@ -1862,7 +1862,7 @@ function Nn(e, t, a) {
1862
1862
  h(v.ColumnCombinator), u(2);
1863
1863
  break;
1864
1864
  }
1865
- } else if (us.test(t.slice(a)))
1865
+ } else if (os.test(t.slice(a)))
1866
1866
  I = s(0);
1867
1867
  else
1868
1868
  break e;
@@ -1883,14 +1883,14 @@ var Aa = {
1883
1883
  return !1;
1884
1884
  }
1885
1885
  };
1886
- const Y = /* @__PURE__ */ bo(Aa), In = /* @__PURE__ */ new Map([
1886
+ const Y = /* @__PURE__ */ bo(Aa), Sn = /* @__PURE__ */ new Map([
1887
1887
  [v.Universal, 50],
1888
1888
  [v.Tag, 30],
1889
1889
  [v.Attribute, 1],
1890
1890
  [v.Pseudo, 0]
1891
1891
  ]);
1892
- function wi(e) {
1893
- return !In.has(e.type);
1892
+ function Bi(e) {
1893
+ return !Sn.has(e.type);
1894
1894
  }
1895
1895
  const go = /* @__PURE__ */ new Map([
1896
1896
  [de.Exists, 10],
@@ -1901,7 +1901,7 @@ const go = /* @__PURE__ */ new Map([
1901
1901
  [de.Any, 5]
1902
1902
  ]);
1903
1903
  function _o(e) {
1904
- const t = e.map(Cn);
1904
+ const t = e.map(xn);
1905
1905
  for (let a = 1; a < e.length; a++) {
1906
1906
  const i = t[a];
1907
1907
  if (!(i < 0))
@@ -1911,13 +1911,13 @@ function _o(e) {
1911
1911
  }
1912
1912
  }
1913
1913
  }
1914
- function Cn(e) {
1914
+ function xn(e) {
1915
1915
  var t, a;
1916
- let i = (t = In.get(e.type)) !== null && t !== void 0 ? t : -1;
1917
- return e.type === v.Attribute ? (i = (a = go.get(e.action)) !== null && a !== void 0 ? a : 4, e.action === de.Equals && e.name === "id" && (i = 9), e.ignoreCase && (i >>= 1)) : e.type === v.Pseudo && (e.data ? e.name === "has" || e.name === "contains" ? i = 0 : Array.isArray(e.data) ? (i = Math.min(...e.data.map((s) => Math.min(...s.map(Cn)))), i < 0 && (i = 0)) : i = 2 : i = 3), i;
1916
+ let i = (t = Sn.get(e.type)) !== null && t !== void 0 ? t : -1;
1917
+ return e.type === v.Attribute ? (i = (a = go.get(e.action)) !== null && a !== void 0 ? a : 4, e.action === de.Equals && e.name === "id" && (i = 9), e.ignoreCase && (i >>= 1)) : e.type === v.Pseudo && (e.data ? e.name === "has" || e.name === "contains" ? i = 0 : Array.isArray(e.data) ? (i = Math.min(...e.data.map((s) => Math.min(...s.map(xn)))), i < 0 && (i = 0)) : i = 2 : i = 3), i;
1918
1918
  }
1919
1919
  const Ao = /[-[\]{}()*+?.,\\^$|#\s]/g;
1920
- function os(e) {
1920
+ function ls(e) {
1921
1921
  return e.replace(Ao, "\\$&");
1922
1922
  }
1923
1923
  const No = /* @__PURE__ */ new Set([
@@ -1996,7 +1996,7 @@ const Io = {
1996
1996
  const { adapter: i } = a, { name: s, value: u } = t;
1997
1997
  if (/\s/.test(u))
1998
1998
  return Y.falseFunc;
1999
- const r = new RegExp(`(?:^|\\s)${os(u)}(?:$|\\s)`, nt(t, a) ? "i" : "");
1999
+ const r = new RegExp(`(?:^|\\s)${ls(u)}(?:$|\\s)`, nt(t, a) ? "i" : "");
2000
2000
  return function(c) {
2001
2001
  const h = i.getAttributeValue(c, s);
2002
2002
  return h != null && h.length >= u.length && r.test(h) && e(c);
@@ -2034,7 +2034,7 @@ const Io = {
2034
2034
  if (u === "")
2035
2035
  return Y.falseFunc;
2036
2036
  if (nt(t, a)) {
2037
- const r = new RegExp(os(u), "i");
2037
+ const r = new RegExp(ls(u), "i");
2038
2038
  return function(c) {
2039
2039
  const h = i.getAttributeValue(c, s);
2040
2040
  return h != null && h.length >= u.length && r.test(h) && e(c);
@@ -2053,7 +2053,7 @@ const Io = {
2053
2053
  return (o == null || o.length !== u.length || o.toLowerCase() !== u) && e(r);
2054
2054
  }) : (r) => i.getAttributeValue(r, s) !== u && e(r);
2055
2055
  }
2056
- }, Co = /* @__PURE__ */ new Set([9, 10, 12, 13, 32]), cs = 48, So = 57;
2056
+ }, Co = /* @__PURE__ */ new Set([9, 10, 12, 13, 32]), hs = 48, So = 57;
2057
2057
  function xo(e) {
2058
2058
  if (e = e.trim().toLowerCase(), e === "even")
2059
2059
  return [2, 0];
@@ -2069,8 +2069,8 @@ function xo(e) {
2069
2069
  function r() {
2070
2070
  const c = t;
2071
2071
  let h = 0;
2072
- for (; t < e.length && e.charCodeAt(t) >= cs && e.charCodeAt(t) <= So; )
2073
- h = h * 10 + (e.charCodeAt(t) - cs), t++;
2072
+ for (; t < e.length && e.charCodeAt(t) >= hs && e.charCodeAt(t) <= So; )
2073
+ h = h * 10 + (e.charCodeAt(t) - hs), t++;
2074
2074
  return t === c ? null : h;
2075
2075
  }
2076
2076
  function o() {
@@ -2100,7 +2100,7 @@ function oa(e, t) {
2100
2100
  return i != null && t.isTag(i) && e(a);
2101
2101
  };
2102
2102
  }
2103
- const ri = {
2103
+ const oi = {
2104
2104
  contains(e, t, { adapter: a }) {
2105
2105
  return function(s) {
2106
2106
  return e(s) && a.getText(s).includes(t);
@@ -2170,7 +2170,7 @@ const ri = {
2170
2170
  },
2171
2171
  scope(e, t, a, i) {
2172
2172
  const { equals: s } = a;
2173
- return !i || i.length === 0 ? ri.root(e, t, a) : i.length === 1 ? (u) => s(i[0], u) && e(u) : (u) => i.includes(u) && e(u);
2173
+ return !i || i.length === 0 ? oi.root(e, t, a) : i.length === 1 ? (u) => s(i[0], u) && e(u) : (u) => i.includes(u) && e(u);
2174
2174
  },
2175
2175
  hover: Xa("isHovered"),
2176
2176
  visited: Xa("isVisited"),
@@ -2184,7 +2184,7 @@ function Xa(e) {
2184
2184
  };
2185
2185
  };
2186
2186
  }
2187
- const ls = {
2187
+ const ds = {
2188
2188
  empty(e, { adapter: t }) {
2189
2189
  return !t.getChildren(e).some((a) => (
2190
2190
  // FIXME: `getText` call is potentially expensive.
@@ -2237,7 +2237,7 @@ const ls = {
2237
2237
  return t.getSiblings(e).every((i) => a(e, i) || !t.isTag(i));
2238
2238
  }
2239
2239
  };
2240
- function hs(e, t, a, i) {
2240
+ function fs(e, t, a, i) {
2241
2241
  if (a === null) {
2242
2242
  if (e.length > i)
2243
2243
  throw new Error(`Pseudo-class :${t} requires an argument`);
@@ -2274,18 +2274,18 @@ const Do = {
2274
2274
  button: ":is(button, input[type=button])",
2275
2275
  input: ":is(input, textarea, select, button)",
2276
2276
  text: "input:is(:not([type!='']), [type=text])"
2277
- }, Sn = {};
2277
+ }, On = {};
2278
2278
  function Lo(e, t) {
2279
2279
  return e === Y.falseFunc ? Y.falseFunc : (a) => t.isTag(a) && e(a);
2280
2280
  }
2281
- function xn(e, t) {
2281
+ function Dn(e, t) {
2282
2282
  const a = t.getSiblings(e);
2283
2283
  if (a.length <= 1)
2284
2284
  return [];
2285
2285
  const i = a.indexOf(e);
2286
2286
  return i < 0 || i === a.length - 1 ? [] : a.slice(i + 1).filter(t.isTag);
2287
2287
  }
2288
- function oi(e) {
2288
+ function ci(e) {
2289
2289
  return {
2290
2290
  xmlMode: !!e.xmlMode,
2291
2291
  lowerCaseAttributeNames: !!e.lowerCaseAttributeNames,
@@ -2298,7 +2298,7 @@ function oi(e) {
2298
2298
  };
2299
2299
  }
2300
2300
  const Ga = (e, t, a, i, s) => {
2301
- const u = s(t, oi(a), i);
2301
+ const u = s(t, ci(a), i);
2302
2302
  return u === Y.trueFunc ? e : u === Y.falseFunc ? Y.falseFunc : (r) => u(r) && e(r);
2303
2303
  }, Qa = {
2304
2304
  is: Ga,
@@ -2308,15 +2308,15 @@ const Ga = (e, t, a, i, s) => {
2308
2308
  matches: Ga,
2309
2309
  where: Ga,
2310
2310
  not(e, t, a, i, s) {
2311
- const u = s(t, oi(a), i);
2311
+ const u = s(t, ci(a), i);
2312
2312
  return u === Y.falseFunc ? e : u === Y.trueFunc ? Y.falseFunc : (r) => !u(r) && e(r);
2313
2313
  },
2314
2314
  has(e, t, a, i, s) {
2315
- const { adapter: u } = a, r = oi(a);
2315
+ const { adapter: u } = a, r = ci(a);
2316
2316
  r.relativeSelector = !0;
2317
- const o = t.some((f) => f.some(wi)) ? (
2317
+ const o = t.some((f) => f.some(Bi)) ? (
2318
2318
  // Used as a placeholder. Will be replaced with the actual element.
2319
- [Sn]
2319
+ [On]
2320
2320
  ) : void 0, c = s(t, r, o);
2321
2321
  if (c === Y.falseFunc)
2322
2322
  return Y.falseFunc;
@@ -2327,7 +2327,7 @@ const Ga = (e, t, a, i, s) => {
2327
2327
  if (!e(m))
2328
2328
  return !1;
2329
2329
  o[0] = m;
2330
- const T = u.getChildren(m), A = f ? [...T, ...xn(m, u)] : T;
2330
+ const T = u.getChildren(m), A = f ? [...T, ...Dn(m, u)] : T;
2331
2331
  return u.existsOne(h, A);
2332
2332
  };
2333
2333
  }
@@ -2350,12 +2350,12 @@ function vo(e, t, a, i, s) {
2350
2350
  return Qa.is(e, f, a, i, s);
2351
2351
  }
2352
2352
  if (typeof c == "function")
2353
- return hs(c, r, o, 1), (f) => c(f, o) && e(f);
2354
- if (r in ri)
2355
- return ri[r](e, o, a, i);
2356
- if (r in ls) {
2357
- const f = ls[r];
2358
- return hs(f, r, o, 2), (m) => f(m, a, o) && e(m);
2353
+ return fs(c, r, o, 1), (f) => c(f, o) && e(f);
2354
+ if (r in oi)
2355
+ return oi[r](e, o, a, i);
2356
+ if (r in ds) {
2357
+ const f = ds[r];
2358
+ return fs(f, r, o, 2), (m) => f(m, a, o) && e(m);
2359
2359
  }
2360
2360
  throw new Error(`Unknown pseudo-class :${r}`);
2361
2361
  }
@@ -2458,8 +2458,8 @@ function Ro(e, t, a, i, s) {
2458
2458
  }
2459
2459
  }
2460
2460
  }
2461
- function On(e) {
2462
- return e.type === v.Pseudo && (e.name === "scope" || Array.isArray(e.data) && e.data.some((t) => t.some(On)));
2461
+ function Ln(e) {
2462
+ return e.type === v.Pseudo && (e.name === "scope" || Array.isArray(e.data) && e.data.some((t) => t.some(Ln)));
2463
2463
  }
2464
2464
  const yo = { type: v.Descendant }, Mo = {
2465
2465
  type: "_flexibleDescendant"
@@ -2471,23 +2471,23 @@ const yo = { type: v.Descendant }, Mo = {
2471
2471
  function ko(e, { adapter: t }, a) {
2472
2472
  const i = !!(a != null && a.every((s) => {
2473
2473
  const u = t.isTag(s) && t.getParent(s);
2474
- return s === Sn || u && t.isTag(u);
2474
+ return s === On || u && t.isTag(u);
2475
2475
  }));
2476
2476
  for (const s of e) {
2477
- if (!(s.length > 0 && wi(s[0]) && s[0].type !== v.Descendant)) if (i && !s.some(On))
2477
+ if (!(s.length > 0 && Bi(s[0]) && s[0].type !== v.Descendant)) if (i && !s.some(Ln))
2478
2478
  s.unshift(yo);
2479
2479
  else
2480
2480
  continue;
2481
2481
  s.unshift(Po);
2482
2482
  }
2483
2483
  }
2484
- function Dn(e, t, a) {
2484
+ function vn(e, t, a) {
2485
2485
  var i;
2486
2486
  e.forEach(_o), a = (i = t.context) !== null && i !== void 0 ? i : a;
2487
2487
  const s = Array.isArray(a), u = a && (Array.isArray(a) ? a : [a]);
2488
2488
  if (t.relativeSelector !== !1)
2489
2489
  ko(e, t, u);
2490
- else if (e.some((c) => c.length > 0 && wi(c[0])))
2490
+ else if (e.some((c) => c.length > 0 && Bi(c[0])))
2491
2491
  throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");
2492
2492
  let r = !1;
2493
2493
  const o = e.map((c) => {
@@ -2501,21 +2501,21 @@ function Dn(e, t, a) {
2501
2501
  }
2502
2502
  function wo(e, t, a) {
2503
2503
  var i;
2504
- return e.reduce((s, u) => s === Y.falseFunc ? Y.falseFunc : Ro(s, u, t, a, Dn), (i = t.rootFunc) !== null && i !== void 0 ? i : Y.trueFunc);
2504
+ return e.reduce((s, u) => s === Y.falseFunc ? Y.falseFunc : Ro(s, u, t, a, vn), (i = t.rootFunc) !== null && i !== void 0 ? i : Y.trueFunc);
2505
2505
  }
2506
2506
  function Bo(e, t) {
2507
2507
  return t === Y.falseFunc || e === Y.trueFunc ? e : e === Y.falseFunc || t === Y.trueFunc ? t : function(i) {
2508
2508
  return e(i) || t(i);
2509
2509
  };
2510
2510
  }
2511
- const Ln = (e, t) => e === t, Uo = {
2511
+ const Rn = (e, t) => e === t, Uo = {
2512
2512
  adapter: Pa,
2513
- equals: Ln
2513
+ equals: Rn
2514
2514
  };
2515
2515
  function Fo(e) {
2516
2516
  var t, a, i, s;
2517
2517
  const u = e ?? Uo;
2518
- return (t = u.adapter) !== null && t !== void 0 || (u.adapter = Pa), (a = u.equals) !== null && a !== void 0 || (u.equals = (s = (i = u.adapter) === null || i === void 0 ? void 0 : i.equals) !== null && s !== void 0 ? s : Ln), u;
2518
+ return (t = u.adapter) !== null && t !== void 0 || (u.adapter = Pa), (a = u.equals) !== null && a !== void 0 || (u.equals = (s = (i = u.adapter) === null || i === void 0 ? void 0 : i.equals) !== null && s !== void 0 ? s : Rn), u;
2519
2519
  }
2520
2520
  function Ho(e) {
2521
2521
  return function(a, i, s) {
@@ -2523,14 +2523,14 @@ function Ho(e) {
2523
2523
  return e(a, u, s);
2524
2524
  };
2525
2525
  }
2526
- const Bi = Ho(Dn);
2527
- function vn(e, t, a = !1) {
2526
+ const Ui = Ho(vn);
2527
+ function yn(e, t, a = !1) {
2528
2528
  return a && (e = Yo(e, t)), Array.isArray(e) ? t.removeSubsets(e) : t.getChildren(e);
2529
2529
  }
2530
2530
  function Yo(e, t) {
2531
2531
  const a = Array.isArray(e) ? e.slice(0) : [e], i = a.length;
2532
2532
  for (let s = 0; s < i; s++) {
2533
- const u = xn(a[s], t);
2533
+ const u = Dn(a[s], t);
2534
2534
  a.push(...u);
2535
2535
  }
2536
2536
  return a;
@@ -2574,7 +2574,7 @@ function Wo(e) {
2574
2574
  e = e.parent;
2575
2575
  return e;
2576
2576
  }
2577
- function Ui(e) {
2577
+ function Fi(e) {
2578
2578
  const t = [], a = [];
2579
2579
  for (const i of e)
2580
2580
  i.some(Na) ? t.push(i) : a.push(i);
@@ -2588,14 +2588,14 @@ const $o = {
2588
2588
  name: "scope",
2589
2589
  data: null
2590
2590
  };
2591
- function Rn(e, t, a = {}) {
2592
- return yn([e], t, a);
2591
+ function Mn(e, t, a = {}) {
2592
+ return Pn([e], t, a);
2593
2593
  }
2594
- function yn(e, t, a = {}) {
2594
+ function Pn(e, t, a = {}) {
2595
2595
  if (typeof t == "function")
2596
2596
  return e.some(t);
2597
- const [i, s] = Ui(ka(t));
2598
- return i.length > 0 && e.some(Bi(i, a)) || s.some((u) => kn(u, e, a).length > 0);
2597
+ const [i, s] = Fi(ka(t));
2598
+ return i.length > 0 && e.some(Ui(i, a)) || s.some((u) => Bn(u, e, a).length > 0);
2599
2599
  }
2600
2600
  function Go(e, t, a, i) {
2601
2601
  const s = typeof a == "string" ? parseInt(a, 10) : NaN;
@@ -2615,21 +2615,21 @@ function Go(e, t, a, i) {
2615
2615
  case "odd":
2616
2616
  return t.filter((u, r) => r % 2 === 1);
2617
2617
  case "not": {
2618
- const u = new Set(Pn(a, t, i));
2618
+ const u = new Set(wn(a, t, i));
2619
2619
  return t.filter((r) => !u.has(r));
2620
2620
  }
2621
2621
  }
2622
2622
  }
2623
- function Mn(e, t, a = {}) {
2624
- return Pn(ka(e), t, a);
2623
+ function kn(e, t, a = {}) {
2624
+ return wn(ka(e), t, a);
2625
2625
  }
2626
- function Pn(e, t, a) {
2626
+ function wn(e, t, a) {
2627
2627
  if (t.length === 0)
2628
2628
  return [];
2629
- const [i, s] = Ui(e);
2629
+ const [i, s] = Fi(e);
2630
2630
  let u;
2631
2631
  if (i.length) {
2632
- const r = li(t, i, a);
2632
+ const r = hi(t, i, a);
2633
2633
  if (s.length === 0)
2634
2634
  return r;
2635
2635
  r.length && (u = new Set(r));
@@ -2638,7 +2638,7 @@ function Pn(e, t, a) {
2638
2638
  const o = s[r];
2639
2639
  if ((u ? t.filter((f) => k(f) && !u.has(f)) : t).length === 0)
2640
2640
  break;
2641
- const h = kn(o, t, a);
2641
+ const h = Bn(o, t, a);
2642
2642
  if (h.length)
2643
2643
  if (u)
2644
2644
  h.forEach((f) => u.add(f));
@@ -2653,7 +2653,7 @@ function Pn(e, t, a) {
2653
2653
  t.filter((r) => u.has(r))
2654
2654
  ) : [];
2655
2655
  }
2656
- function kn(e, t, a) {
2656
+ function Bn(e, t, a) {
2657
2657
  var i;
2658
2658
  if (e.some(qt)) {
2659
2659
  const s = (i = a.root) !== null && i !== void 0 ? i : Wo(t[0]), u = { ...a, context: t, relativeSelector: !1 };
@@ -2663,15 +2663,15 @@ function kn(e, t, a) {
2663
2663
  }
2664
2664
  function Qo(e, t, a = {}, i = 1 / 0) {
2665
2665
  if (typeof e == "function")
2666
- return wn(t, e);
2667
- const [s, u] = Ui(ka(e)), r = u.map((o) => Ia(t, o, a, !0, i));
2668
- return s.length && r.push(ci(t, s, a, i)), r.length === 0 ? [] : r.length === 1 ? r[0] : vt(r.reduce((o, c) => [...o, ...c]));
2666
+ return Un(t, e);
2667
+ const [s, u] = Fi(ka(e)), r = u.map((o) => Ia(t, o, a, !0, i));
2668
+ return s.length && r.push(li(t, s, a, i)), r.length === 0 ? [] : r.length === 1 ? r[0] : vt(r.reduce((o, c) => [...o, ...c]));
2669
2669
  }
2670
2670
  function Ia(e, t, a, i, s) {
2671
2671
  const u = t.findIndex(Na), r = t.slice(0, u), o = t[u], c = t.length - 1 === u ? s : 1 / 0, h = Vo(o.name, o.data, c);
2672
2672
  if (h === 0)
2673
2673
  return [];
2674
- const m = (r.length === 0 && !Array.isArray(e) ? ya(e).filter(k) : r.length === 0 ? (Array.isArray(e) ? e : [e]).filter(k) : i || r.some(qt) ? ci(e, [r], a, h) : li(e, [r], a)).slice(0, h);
2674
+ const m = (r.length === 0 && !Array.isArray(e) ? ya(e).filter(k) : r.length === 0 ? (Array.isArray(e) ? e : [e]).filter(k) : i || r.some(qt) ? li(e, [r], a, h) : hi(e, [r], a)).slice(0, h);
2675
2675
  let T = Go(o.name, m, o.data, a);
2676
2676
  if (T.length === 0 || t.length === u + 1)
2677
2677
  return T;
@@ -2679,7 +2679,7 @@ function Ia(e, t, a, i, s) {
2679
2679
  if (I) {
2680
2680
  if (qt(A[0])) {
2681
2681
  const { type: L } = A[0];
2682
- (L === v.Sibling || L === v.Adjacent) && (T = vn(T, Pa, !0)), A.unshift($o);
2682
+ (L === v.Sibling || L === v.Adjacent) && (T = yn(T, Pa, !0)), A.unshift($o);
2683
2683
  }
2684
2684
  a = {
2685
2685
  ...a,
@@ -2694,25 +2694,25 @@ function Ia(e, t, a, i, s) {
2694
2694
  } else a.rootFunc && a.rootFunc !== Aa.trueFunc && (a = { ...a, rootFunc: Aa.trueFunc });
2695
2695
  return A.some(Na) ? Ia(T, A, a, !1, s) : I ? (
2696
2696
  // Query existing elements to resolve traversal.
2697
- ci(T, [A], a, s)
2697
+ li(T, [A], a, s)
2698
2698
  ) : (
2699
2699
  // If we don't have any more traversals, simply filter elements.
2700
- li(T, [A], a)
2700
+ hi(T, [A], a)
2701
2701
  );
2702
2702
  }
2703
- function ci(e, t, a, i) {
2704
- const s = Bi(t, a, e);
2705
- return wn(e, s, i);
2703
+ function li(e, t, a, i) {
2704
+ const s = Ui(t, a, e);
2705
+ return Un(e, s, i);
2706
2706
  }
2707
- function wn(e, t, a = 1 / 0) {
2708
- const i = vn(e, Pa, t.shouldTestNextSiblings);
2709
- return Mi((s) => k(s) && t(s), i, !0, a);
2707
+ function Un(e, t, a = 1 / 0) {
2708
+ const i = yn(e, Pa, t.shouldTestNextSiblings);
2709
+ return Pi((s) => k(s) && t(s), i, !0, a);
2710
2710
  }
2711
- function li(e, t, a) {
2711
+ function hi(e, t, a) {
2712
2712
  const i = (Array.isArray(e) ? e : [e]).filter(k);
2713
2713
  if (i.length === 0)
2714
2714
  return i;
2715
- const s = Bi(t, a);
2715
+ const s = Ui(t, a);
2716
2716
  return s === Aa.trueFunc ? i : i.filter(s);
2717
2717
  }
2718
2718
  const jo = /^\s*[+~]/;
@@ -2721,7 +2721,7 @@ function zo(e) {
2721
2721
  return this._make([]);
2722
2722
  if (typeof e != "string") {
2723
2723
  const t = Xe(e) ? e.toArray() : [e], a = this.toArray();
2724
- return this._make(t.filter((i) => a.some((s) => Tn(s, i))));
2724
+ return this._make(t.filter((i) => a.some((s) => bn(s, i))));
2725
2725
  }
2726
2726
  return this._findBySelector(e, Number.POSITIVE_INFINITY);
2727
2727
  }
@@ -2739,26 +2739,26 @@ function Ko(e, t) {
2739
2739
  };
2740
2740
  return this._make(Qo(e, s, u, t));
2741
2741
  }
2742
- function Fi(e) {
2742
+ function Hi(e) {
2743
2743
  return function(t, ...a) {
2744
2744
  return function(i) {
2745
2745
  var s;
2746
2746
  let u = e(t, this);
2747
- return i && (u = qi(u, i, this.options.xmlMode, (s = this._root) === null || s === void 0 ? void 0 : s[0])), this._make(
2747
+ return i && (u = Vi(u, i, this.options.xmlMode, (s = this._root) === null || s === void 0 ? void 0 : s[0])), this._make(
2748
2748
  // Post processing is only necessary if there is more than one element.
2749
2749
  this.length > 1 && u.length > 1 ? a.reduce((r, o) => o(r), u) : u
2750
2750
  );
2751
2751
  };
2752
2752
  };
2753
2753
  }
2754
- const ia = Fi((e, t) => {
2754
+ const ia = Hi((e, t) => {
2755
2755
  let a = [];
2756
2756
  for (let i = 0; i < t.length; i++) {
2757
2757
  const s = e(t[i]);
2758
2758
  s.length > 0 && (a = a.concat(s));
2759
2759
  }
2760
2760
  return a;
2761
- }), Hi = Fi((e, t) => {
2761
+ }), Yi = Hi((e, t) => {
2762
2762
  const a = [];
2763
2763
  for (let i = 0; i < t.length; i++) {
2764
2764
  const s = e(t[i]);
@@ -2766,9 +2766,9 @@ const ia = Fi((e, t) => {
2766
2766
  }
2767
2767
  return a;
2768
2768
  });
2769
- function Yi(e, ...t) {
2769
+ function qi(e, ...t) {
2770
2770
  let a = null;
2771
- const i = Fi((s, u) => {
2771
+ const i = Hi((s, u) => {
2772
2772
  const r = [];
2773
2773
  return re(u, (o) => {
2774
2774
  for (let c; (c = s(o)) && !(a != null && a(c, r.length)); o = c)
@@ -2776,7 +2776,7 @@ function Yi(e, ...t) {
2776
2776
  }), r;
2777
2777
  })(e, ...t);
2778
2778
  return function(s, u) {
2779
- a = typeof s == "string" ? (o) => Rn(o, s, this.options) : s ? sa(s) : null;
2779
+ a = typeof s == "string" ? (o) => Mn(o, s, this.options) : s ? sa(s) : null;
2780
2780
  const r = i.call(this, u);
2781
2781
  return a = null, r;
2782
2782
  };
@@ -2784,12 +2784,12 @@ function Yi(e, ...t) {
2784
2784
  function Rt(e) {
2785
2785
  return e.length > 1 ? Array.from(new Set(e)) : e;
2786
2786
  }
2787
- const Zo = Hi(({ parent: e }) => e && !at(e) ? e : null, Rt), Jo = ia((e) => {
2787
+ const Zo = Yi(({ parent: e }) => e && !at(e) ? e : null, Rt), Jo = ia((e) => {
2788
2788
  const t = [];
2789
2789
  for (; e.parent && !at(e.parent); )
2790
2790
  t.push(e.parent), e = e.parent;
2791
2791
  return t;
2792
- }, vt, (e) => e.reverse()), ec = Yi(({ parent: e }) => e && !at(e) ? e : null, vt, (e) => e.reverse());
2792
+ }, vt, (e) => e.reverse()), ec = qi(({ parent: e }) => e && !at(e) ? e : null, vt, (e) => e.reverse());
2793
2793
  function tc(e) {
2794
2794
  var t;
2795
2795
  const a = [];
@@ -2798,7 +2798,7 @@ function tc(e) {
2798
2798
  const i = {
2799
2799
  xmlMode: this.options.xmlMode,
2800
2800
  root: (t = this._root) === null || t === void 0 ? void 0 : t[0]
2801
- }, s = typeof e == "string" ? (u) => Rn(u, e, i) : sa(e);
2801
+ }, s = typeof e == "string" ? (u) => Mn(u, e, i) : sa(e);
2802
2802
  return re(this, (u) => {
2803
2803
  for (u && !at(u) && !k(u) && (u = u.parent); u && k(u); ) {
2804
2804
  if (s(u, 0)) {
@@ -2809,17 +2809,17 @@ function tc(e) {
2809
2809
  }
2810
2810
  }), this._make(a);
2811
2811
  }
2812
- const ac = Hi((e) => Ri(e)), ic = ia((e) => {
2812
+ const ac = Yi((e) => yi(e)), ic = ia((e) => {
2813
2813
  const t = [];
2814
2814
  for (; e.next; )
2815
2815
  e = e.next, k(e) && t.push(e);
2816
2816
  return t;
2817
- }, Rt), sc = Yi((e) => Ri(e), Rt), nc = Hi((e) => yi(e)), uc = ia((e) => {
2817
+ }, Rt), sc = qi((e) => yi(e), Rt), nc = Yi((e) => Mi(e)), uc = ia((e) => {
2818
2818
  const t = [];
2819
2819
  for (; e.prev; )
2820
2820
  e = e.prev, k(e) && t.push(e);
2821
2821
  return t;
2822
- }, Rt), rc = Yi((e) => yi(e), Rt), oc = ia((e) => cn(e).filter((t) => k(t) && t !== e), vt), cc = ia((e) => ya(e).filter(k), Rt);
2822
+ }, Rt), rc = qi((e) => Mi(e), Rt), oc = ia((e) => hn(e).filter((t) => k(t) && t !== e), vt), cc = ia((e) => ya(e).filter(k), Rt);
2823
2823
  function lc() {
2824
2824
  const e = this.toArray().reduce((t, a) => Te(a) ? t.concat(a.children) : t, []);
2825
2825
  return this._make(e);
@@ -2846,19 +2846,19 @@ function sa(e) {
2846
2846
  }
2847
2847
  function fc(e) {
2848
2848
  var t;
2849
- return this._make(qi(this.toArray(), e, this.options.xmlMode, (t = this._root) === null || t === void 0 ? void 0 : t[0]));
2849
+ return this._make(Vi(this.toArray(), e, this.options.xmlMode, (t = this._root) === null || t === void 0 ? void 0 : t[0]));
2850
2850
  }
2851
- function qi(e, t, a, i) {
2852
- return typeof t == "string" ? Mn(t, e, { xmlMode: a, root: i }) : e.filter(sa(t));
2851
+ function Vi(e, t, a, i) {
2852
+ return typeof t == "string" ? kn(t, e, { xmlMode: a, root: i }) : e.filter(sa(t));
2853
2853
  }
2854
2854
  function Ec(e) {
2855
2855
  const t = this.toArray();
2856
- return typeof e == "string" ? yn(t.filter(k), e, this.options) : e ? t.some(sa(e)) : !1;
2856
+ return typeof e == "string" ? Pn(t.filter(k), e, this.options) : e ? t.some(sa(e)) : !1;
2857
2857
  }
2858
2858
  function mc(e) {
2859
2859
  let t = this.toArray();
2860
2860
  if (typeof e == "string") {
2861
- const a = new Set(Mn(e, t, this.options));
2861
+ const a = new Set(kn(e, t, this.options));
2862
2862
  t = t.filter((i) => !a.has(i));
2863
2863
  } else {
2864
2864
  const a = sa(e);
@@ -2918,7 +2918,7 @@ const Oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2918
2918
  end: Cc,
2919
2919
  eq: gc,
2920
2920
  filter: fc,
2921
- filterArray: qi,
2921
+ filterArray: Vi,
2922
2922
  find: zo,
2923
2923
  first: pc,
2924
2924
  get: _c,
@@ -2986,7 +2986,7 @@ function Lc(e, t) {
2986
2986
  }
2987
2987
  return [t ? zt(e, !0) : e];
2988
2988
  }
2989
- function Bn(e) {
2989
+ function Fn(e) {
2990
2990
  return function(...t) {
2991
2991
  const a = this.length - 1;
2992
2992
  return re(this, (i, s) => {
@@ -3020,16 +3020,16 @@ function vc(e) {
3020
3020
  function Rc(e) {
3021
3021
  return (Xe(e) ? e : this._make(e)).prepend(this), this;
3022
3022
  }
3023
- const yc = Bn((e, t, a) => {
3023
+ const yc = Fn((e, t, a) => {
3024
3024
  it(t, t.length, 0, e, a);
3025
- }), Mc = Bn((e, t, a) => {
3025
+ }), Mc = Fn((e, t, a) => {
3026
3026
  it(t, 0, 0, e, a);
3027
3027
  });
3028
- function Un(e) {
3028
+ function Hn(e) {
3029
3029
  return function(t) {
3030
3030
  const a = this.length - 1, i = this.parents().last();
3031
3031
  for (let s = 0; s < this.length; s++) {
3032
- const u = this[s], r = typeof t == "function" ? t.call(u, s, u) : typeof t == "string" && !ni(t) ? i.find(t).clone() : t, [o] = this._makeDomArray(r, s < a);
3032
+ const u = this[s], r = typeof t == "function" ? t.call(u, s, u) : typeof t == "string" && !ui(t) ? i.find(t).clone() : t, [o] = this._makeDomArray(r, s < a);
3033
3033
  if (!o || !Te(o))
3034
3034
  continue;
3035
3035
  let c = o, h = 0;
@@ -3042,13 +3042,13 @@ function Un(e) {
3042
3042
  return this;
3043
3043
  };
3044
3044
  }
3045
- const Pc = Un((e, t, a) => {
3045
+ const Pc = Hn((e, t, a) => {
3046
3046
  const { parent: i } = e;
3047
3047
  if (!i)
3048
3048
  return;
3049
3049
  const s = i.children, u = s.indexOf(e);
3050
3050
  ft([e], t), it(s, u, 0, a, i);
3051
- }), kc = Un((e, t, a) => {
3051
+ }), kc = Hn((e, t, a) => {
3052
3052
  Te(e) && (ft(e.children, t), ft(a, e));
3053
3053
  });
3054
3054
  function wc(e) {
@@ -3206,24 +3206,24 @@ function zc(e, t) {
3206
3206
  if (e != null && t != null || // When `prop` is a "plain" object
3207
3207
  typeof e == "object" && !Array.isArray(e))
3208
3208
  return re(this, (a, i) => {
3209
- k(a) && Fn(a, e, t, i);
3209
+ k(a) && Yn(a, e, t, i);
3210
3210
  });
3211
3211
  if (this.length !== 0)
3212
- return Hn(this[0], e);
3212
+ return qn(this[0], e);
3213
3213
  }
3214
- function Fn(e, t, a, i) {
3214
+ function Yn(e, t, a, i) {
3215
3215
  if (typeof t == "string") {
3216
- const s = Hn(e), u = typeof a == "function" ? a.call(e, i, s[t]) : a;
3216
+ const s = qn(e), u = typeof a == "function" ? a.call(e, i, s[t]) : a;
3217
3217
  u === "" ? delete s[t] : u != null && (s[t] = u), e.attribs.style = Kc(s);
3218
3218
  } else if (typeof t == "object") {
3219
3219
  const s = Object.keys(t);
3220
3220
  for (let u = 0; u < s.length; u++) {
3221
3221
  const r = s[u];
3222
- Fn(e, r, t[r], u);
3222
+ Yn(e, r, t[r], u);
3223
3223
  }
3224
3224
  }
3225
3225
  }
3226
- function Hn(e, t) {
3226
+ function qn(e, t) {
3227
3227
  if (!e || !k(e))
3228
3228
  return;
3229
3229
  const a = Zc(e.attribs.style);
@@ -3258,14 +3258,14 @@ function Zc(e) {
3258
3258
  const Jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3259
3259
  __proto__: null,
3260
3260
  css: zc
3261
- }, Symbol.toStringTag, { value: "Module" })), ds = "input,select,textarea,keygen", el = /%20/g, fs = /\r?\n/g;
3261
+ }, Symbol.toStringTag, { value: "Module" })), Es = "input,select,textarea,keygen", el = /%20/g, ms = /\r?\n/g;
3262
3262
  function tl() {
3263
3263
  return this.serializeArray().map((a) => `${encodeURIComponent(a.name)}=${encodeURIComponent(a.value)}`).join("&").replace(el, "+");
3264
3264
  }
3265
3265
  function al() {
3266
3266
  return this.map((e, t) => {
3267
3267
  const a = this._make(t);
3268
- return k(t) && t.name === "form" ? a.find(ds).toArray() : a.filter(ds).toArray();
3268
+ return k(t) && t.name === "form" ? a.find(Es).toArray() : a.filter(Es).toArray();
3269
3269
  }).filter(
3270
3270
  // Verify elements have a name (`attr.name`) and are not disabled (`:enabled`)
3271
3271
  '[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))'
@@ -3277,9 +3277,9 @@ function al() {
3277
3277
  * We trim replace any line endings (e.g. `\r` or `\r\n` with `\r\n`) to guarantee consistency across platforms
3278
3278
  * These can occur inside of `<textarea>'s`
3279
3279
  */
3280
- { name: s, value: r.replace(fs, `\r
3280
+ { name: s, value: r.replace(ms, `\r
3281
3281
  `) }
3282
- )) : { name: s, value: u.replace(fs, `\r
3282
+ )) : { name: s, value: u.replace(ms, `\r
3283
3283
  `) };
3284
3284
  }).toArray();
3285
3285
  }
@@ -3338,7 +3338,7 @@ function rl(e, t) {
3338
3338
  return function a(i, s, u = !0) {
3339
3339
  if (i == null)
3340
3340
  throw new Error("cheerio.load() expects a string");
3341
- const r = si(s), o = e(i, r, u, null);
3341
+ const r = ni(s), o = e(i, r, u, null);
3342
3342
  class c extends na {
3343
3343
  _make(m, T) {
3344
3344
  const A = h(m, T);
@@ -3354,10 +3354,10 @@ function rl(e, t) {
3354
3354
  function h(f, m, T = o, A) {
3355
3355
  if (f && Xe(f))
3356
3356
  return f;
3357
- const I = si(A, r), L = typeof T == "string" ? [e(T, I, !1, null)] : "length" in T ? T : [T], M = Xe(L) ? L : new c(L, null, I);
3357
+ const I = ni(A, r), L = typeof T == "string" ? [e(T, I, !1, null)] : "length" in T ? T : [T], M = Xe(L) ? L : new c(L, null, I);
3358
3358
  if (M._root = M, !f)
3359
3359
  return new c(void 0, M, I);
3360
- const X = typeof f == "string" && ni(f) ? (
3360
+ const X = typeof f == "string" && ui(f) ? (
3361
3361
  // $(<html>)
3362
3362
  e(f, I, !1, null).children
3363
3363
  ) : ol(f) ? (
@@ -3374,7 +3374,7 @@ function rl(e, t) {
3374
3374
  let $ = f;
3375
3375
  const F = m ? (
3376
3376
  // If we don't have a context, maybe we have a root, from loading
3377
- typeof m == "string" ? ni(m) ? (
3377
+ typeof m == "string" ? ui(m) ? (
3378
3378
  // $('li', '<ul>...</ul>')
3379
3379
  new c([e(m, I, !1, null)], M, I)
3380
3380
  ) : (
@@ -3453,7 +3453,7 @@ const Ce = {
3453
3453
  PUBLIC: "public",
3454
3454
  SYSTEM: "system"
3455
3455
  };
3456
- function Yn(e) {
3456
+ function Vn(e) {
3457
3457
  return e >= 55296 && e <= 57343;
3458
3458
  }
3459
3459
  function ll(e) {
@@ -3462,10 +3462,10 @@ function ll(e) {
3462
3462
  function hl(e, t) {
3463
3463
  return (e - 55296) * 1024 + 9216 + t;
3464
3464
  }
3465
- function qn(e) {
3465
+ function Wn(e) {
3466
3466
  return e !== 32 && e !== 10 && e !== 13 && e !== 9 && e !== 12 && e >= 1 && e <= 31 || e >= 127 && e <= 159;
3467
3467
  }
3468
- function Vn(e) {
3468
+ function $n(e) {
3469
3469
  return e >= 64976 && e <= 65007 || cl.has(e);
3470
3470
  }
3471
3471
  var b;
@@ -3544,10 +3544,10 @@ class fl {
3544
3544
  if (this.pos++, this.isEol && (this.isEol = !1, this.line++, this.lineStartPos = this.pos), this.pos >= this.html.length)
3545
3545
  return this.endOfChunkHit = !this.lastChunkWritten, l.EOF;
3546
3546
  let t = this.html.charCodeAt(this.pos);
3547
- return t === l.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, l.LINE_FEED) : t === l.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, Yn(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === l.LINE_FEED || t === l.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
3547
+ return t === l.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, l.LINE_FEED) : t === l.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, Vn(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === l.LINE_FEED || t === l.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
3548
3548
  }
3549
3549
  _checkForProblematicCharacters(t) {
3550
- qn(t) ? this._err(b.controlCharacterInInputStream) : Vn(t) && this._err(b.noncharacterInInputStream);
3550
+ Wn(t) ? this._err(b.controlCharacterInInputStream) : $n(t) && this._err(b.noncharacterInInputStream);
3551
3551
  }
3552
3552
  retreat(t) {
3553
3553
  for (this.pos -= t; this.pos < this.lastGapPos; )
@@ -3555,11 +3555,11 @@ class fl {
3555
3555
  this.isEol = !1;
3556
3556
  }
3557
3557
  }
3558
- var G;
3558
+ var Q;
3559
3559
  (function(e) {
3560
3560
  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";
3561
- })(G || (G = {}));
3562
- function Wn(e, t) {
3561
+ })(Q || (Q = {}));
3562
+ function Xn(e, t) {
3563
3563
  for (let a = e.attrs.length - 1; a >= 0; a--)
3564
3564
  if (e.attrs[a].name === t)
3565
3565
  return e.attrs[a].value;
@@ -3803,7 +3803,7 @@ const C = n, ml = {
3803
3803
  [_.XLINK]: /* @__PURE__ */ new Set(),
3804
3804
  [_.XML]: /* @__PURE__ */ new Set(),
3805
3805
  [_.XMLNS]: /* @__PURE__ */ new Set()
3806
- }, hi = /* @__PURE__ */ new Set([C.H1, C.H2, C.H3, C.H4, C.H5, C.H6]), Tl = /* @__PURE__ */ new Set([
3806
+ }, di = /* @__PURE__ */ new Set([C.H1, C.H2, C.H3, C.H4, C.H5, C.H6]), Tl = /* @__PURE__ */ new Set([
3807
3807
  p.STYLE,
3808
3808
  p.SCRIPT,
3809
3809
  p.XMP,
@@ -3839,24 +3839,24 @@ function gl(e) {
3839
3839
  function je(e) {
3840
3840
  return gl(e) || Yt(e);
3841
3841
  }
3842
- function Es(e) {
3842
+ function Ts(e) {
3843
3843
  return je(e) || bl(e);
3844
3844
  }
3845
3845
  function ca(e) {
3846
3846
  return e + 32;
3847
3847
  }
3848
- function $n(e) {
3848
+ function Gn(e) {
3849
3849
  return e === l.SPACE || e === l.LINE_FEED || e === l.TABULATION || e === l.FORM_FEED;
3850
3850
  }
3851
- function ms(e) {
3852
- return $n(e) || e === l.SOLIDUS || e === l.GREATER_THAN_SIGN;
3851
+ function ps(e) {
3852
+ return Gn(e) || e === l.SOLIDUS || e === l.GREATER_THAN_SIGN;
3853
3853
  }
3854
3854
  function _l(e) {
3855
- return e === l.NULL ? b.nullCharacterReference : e > 1114111 ? b.characterReferenceOutsideUnicodeRange : Yn(e) ? b.surrogateCharacterReference : Vn(e) ? b.noncharacterCharacterReference : qn(e) || e === l.CARRIAGE_RETURN ? b.controlCharacterReference : null;
3855
+ return e === l.NULL ? b.nullCharacterReference : e > 1114111 ? b.characterReferenceOutsideUnicodeRange : Vn(e) ? b.surrogateCharacterReference : $n(e) ? b.noncharacterCharacterReference : Wn(e) || e === l.CARRIAGE_RETURN ? b.controlCharacterReference : null;
3856
3856
  }
3857
3857
  let Al = class {
3858
3858
  constructor(t, a) {
3859
- this.options = t, this.handler = a, this.paused = !1, this.inLoop = !1, this.inForeignNode = !1, this.lastStartTagName = "", this.active = !1, this.state = d.DATA, this.returnState = d.DATA, this.entityStartPos = 0, this.consumedAfterSnapshot = -1, this.currentCharacterToken = null, this.currentToken = null, this.currentAttr = { name: "", value: "" }, this.preprocessor = new fl(a), this.currentLocation = this.getCurrentLocation(-1), this.entityDecoder = new vi(Li, (i, s) => {
3859
+ this.options = t, this.handler = a, this.paused = !1, this.inLoop = !1, this.inForeignNode = !1, this.lastStartTagName = "", this.active = !1, this.state = d.DATA, this.returnState = d.DATA, this.entityStartPos = 0, this.consumedAfterSnapshot = -1, this.currentCharacterToken = null, this.currentToken = null, this.currentAttr = { name: "", value: "" }, this.preprocessor = new fl(a), this.currentLocation = this.getCurrentLocation(-1), this.entityDecoder = new Ri(vi, (i, s) => {
3860
3860
  this.preprocessor.pos = this.entityStartPos + s - 1, this._flushCodePointConsumedAsCharacterReference(i);
3861
3861
  }, a.onParseError ? {
3862
3862
  missingSemicolonAfterCharacterReference: () => {
@@ -3931,7 +3931,7 @@ let Al = class {
3931
3931
  //Token creation
3932
3932
  _createStartTagToken() {
3933
3933
  this.currentToken = {
3934
- type: G.START_TAG,
3934
+ type: Q.START_TAG,
3935
3935
  tagName: "",
3936
3936
  tagID: n.UNKNOWN,
3937
3937
  selfClosing: !1,
@@ -3942,7 +3942,7 @@ let Al = class {
3942
3942
  }
3943
3943
  _createEndTagToken() {
3944
3944
  this.currentToken = {
3945
- type: G.END_TAG,
3945
+ type: Q.END_TAG,
3946
3946
  tagName: "",
3947
3947
  tagID: n.UNKNOWN,
3948
3948
  selfClosing: !1,
@@ -3953,14 +3953,14 @@ let Al = class {
3953
3953
  }
3954
3954
  _createCommentToken(t) {
3955
3955
  this.currentToken = {
3956
- type: G.COMMENT,
3956
+ type: Q.COMMENT,
3957
3957
  data: "",
3958
3958
  location: this.getCurrentLocation(t)
3959
3959
  };
3960
3960
  }
3961
3961
  _createDoctypeToken(t) {
3962
3962
  this.currentToken = {
3963
- type: G.DOCTYPE,
3963
+ type: Q.DOCTYPE,
3964
3964
  name: t,
3965
3965
  forceQuirks: !1,
3966
3966
  publicId: null,
@@ -3985,7 +3985,7 @@ let Al = class {
3985
3985
  _leaveAttrName() {
3986
3986
  var t, a;
3987
3987
  const i = this.currentToken;
3988
- if (Wn(i, this.currentAttr.name) === null) {
3988
+ if (Xn(i, this.currentAttr.name) === null) {
3989
3989
  if (i.attrs.push(this.currentAttr), i.location && this.currentLocation) {
3990
3990
  const s = (t = (a = i.location).attrs) !== null && t !== void 0 ? t : a.attrs = /* @__PURE__ */ Object.create(null);
3991
3991
  s[this.currentAttr.name] = this.currentLocation, this._leaveAttrValue();
@@ -4002,7 +4002,7 @@ let Al = class {
4002
4002
  }
4003
4003
  emitCurrentTagToken() {
4004
4004
  const t = this.currentToken;
4005
- this.prepareToken(t), t.tagID = wa(t.tagName), t.type === G.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(b.endTagWithAttributes), t.selfClosing && this._err(b.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
4005
+ this.prepareToken(t), t.tagID = wa(t.tagName), t.type === Q.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(b.endTagWithAttributes), t.selfClosing && this._err(b.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
4006
4006
  }
4007
4007
  emitCurrentComment(t) {
4008
4008
  this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
@@ -4013,15 +4013,15 @@ let Al = class {
4013
4013
  _emitCurrentCharacterToken(t) {
4014
4014
  if (this.currentCharacterToken) {
4015
4015
  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) {
4016
- case G.CHARACTER: {
4016
+ case Q.CHARACTER: {
4017
4017
  this.handler.onCharacter(this.currentCharacterToken);
4018
4018
  break;
4019
4019
  }
4020
- case G.NULL_CHARACTER: {
4020
+ case Q.NULL_CHARACTER: {
4021
4021
  this.handler.onNullCharacter(this.currentCharacterToken);
4022
4022
  break;
4023
4023
  }
4024
- case G.WHITESPACE_CHARACTER: {
4024
+ case Q.WHITESPACE_CHARACTER: {
4025
4025
  this.handler.onWhitespaceCharacter(this.currentCharacterToken);
4026
4026
  break;
4027
4027
  }
@@ -4031,7 +4031,7 @@ let Al = class {
4031
4031
  }
4032
4032
  _emitEOFToken() {
4033
4033
  const t = this.getCurrentLocation(0);
4034
- t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type: G.EOF, location: t }), this.active = !1;
4034
+ t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type: Q.EOF, location: t }), this.active = !1;
4035
4035
  }
4036
4036
  //Characters emission
4037
4037
  //OPTIMIZATION: The specification uses only one type of character token (one token per character).
@@ -4052,17 +4052,17 @@ let Al = class {
4052
4052
  this._createCharacterToken(t, a);
4053
4053
  }
4054
4054
  _emitCodePoint(t) {
4055
- const a = $n(t) ? G.WHITESPACE_CHARACTER : t === l.NULL ? G.NULL_CHARACTER : G.CHARACTER;
4055
+ const a = Gn(t) ? Q.WHITESPACE_CHARACTER : t === l.NULL ? Q.NULL_CHARACTER : Q.CHARACTER;
4056
4056
  this._appendCharToCurrentCharacterToken(a, String.fromCodePoint(t));
4057
4057
  }
4058
4058
  //NOTE: used when we emit characters explicitly.
4059
4059
  //This is always for non-whitespace and non-null characters, which allows us to avoid additional checks.
4060
4060
  _emitChars(t) {
4061
- this._appendCharToCurrentCharacterToken(G.CHARACTER, t);
4061
+ this._appendCharToCurrentCharacterToken(Q.CHARACTER, t);
4062
4062
  }
4063
4063
  // Character reference helpers
4064
4064
  _startCharacterReference() {
4065
- this.returnState = this.state, this.state = d.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? Pe.Attribute : Pe.Legacy);
4065
+ this.returnState = this.state, this.state = d.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? ke.Attribute : ke.Legacy);
4066
4066
  }
4067
4067
  _isCharacterReferenceInAttribute() {
4068
4068
  return this.returnState === d.ATTRIBUTE_VALUE_DOUBLE_QUOTED || this.returnState === d.ATTRIBUTE_VALUE_SINGLE_QUOTED || this.returnState === d.ATTRIBUTE_VALUE_UNQUOTED;
@@ -4731,7 +4731,7 @@ let Al = class {
4731
4731
  // Script data double escape start state
4732
4732
  //------------------------------------------------------------------
4733
4733
  _stateScriptDataDoubleEscapeStart(t) {
4734
- if (this.preprocessor.startsWith(Ce.SCRIPT, !1) && ms(this.preprocessor.peek(Ce.SCRIPT.length))) {
4734
+ if (this.preprocessor.startsWith(Ce.SCRIPT, !1) && ps(this.preprocessor.peek(Ce.SCRIPT.length))) {
4735
4735
  this._emitCodePoint(t);
4736
4736
  for (let a = 0; a < Ce.SCRIPT.length; a++)
4737
4737
  this._emitCodePoint(this._consume());
@@ -4822,7 +4822,7 @@ let Al = class {
4822
4822
  // Script data double escape end state
4823
4823
  //------------------------------------------------------------------
4824
4824
  _stateScriptDataDoubleEscapeEnd(t) {
4825
- if (this.preprocessor.startsWith(Ce.SCRIPT, !1) && ms(this.preprocessor.peek(Ce.SCRIPT.length))) {
4825
+ if (this.preprocessor.startsWith(Ce.SCRIPT, !1) && ps(this.preprocessor.peek(Ce.SCRIPT.length))) {
4826
4826
  this._emitCodePoint(t);
4827
4827
  for (let a = 0; a < Ce.SCRIPT.length; a++)
4828
4828
  this._emitCodePoint(this._consume());
@@ -5736,16 +5736,16 @@ let Al = class {
5736
5736
  this.active = !1, this.preprocessor.pos = this.preprocessor.html.length - 1, this.consumedAfterSnapshot = 0, this.preprocessor.endOfChunkHit = !0;
5737
5737
  return;
5738
5738
  }
5739
- t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(l.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Es(this.preprocessor.peek(1)) ? d.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
5739
+ t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(l.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Ts(this.preprocessor.peek(1)) ? d.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
5740
5740
  }
5741
5741
  // Ambiguos ampersand state
5742
5742
  //------------------------------------------------------------------
5743
5743
  _stateAmbiguousAmpersand(t) {
5744
- Es(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === l.SEMICOLON && this._err(b.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
5744
+ Ts(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === l.SEMICOLON && this._err(b.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
5745
5745
  }
5746
5746
  };
5747
- const Xn = /* @__PURE__ */ new Set([n.DD, n.DT, n.LI, n.OPTGROUP, n.OPTION, n.P, n.RB, n.RP, n.RT, n.RTC]), Ts = /* @__PURE__ */ new Set([
5748
- ...Xn,
5747
+ const Qn = /* @__PURE__ */ new Set([n.DD, n.DT, n.LI, n.OPTGROUP, n.OPTION, n.P, n.RB, n.RP, n.RT, n.RTC]), bs = /* @__PURE__ */ new Set([
5748
+ ...Qn,
5749
5749
  n.CAPTION,
5750
5750
  n.COLGROUP,
5751
5751
  n.TBODY,
@@ -5764,7 +5764,7 @@ const Xn = /* @__PURE__ */ new Set([n.DD, n.DT, n.LI, n.OPTGROUP, n.OPTION, n.P,
5764
5764
  n.TD,
5765
5765
  n.TEMPLATE,
5766
5766
  n.TH
5767
- ]), Nl = /* @__PURE__ */ new Set([...Ca, n.OL, n.UL]), Il = /* @__PURE__ */ new Set([...Ca, n.BUTTON]), ps = /* @__PURE__ */ new Set([n.ANNOTATION_XML, n.MI, n.MN, n.MO, n.MS, n.MTEXT]), bs = /* @__PURE__ */ new Set([n.DESC, n.FOREIGN_OBJECT, n.TITLE]), Cl = /* @__PURE__ */ new Set([n.TR, n.TEMPLATE, n.HTML]), Sl = /* @__PURE__ */ new Set([n.TBODY, n.TFOOT, n.THEAD, n.TEMPLATE, n.HTML]), xl = /* @__PURE__ */ new Set([n.TABLE, n.TEMPLATE, n.HTML]), Ol = /* @__PURE__ */ new Set([n.TD, n.TH]);
5767
+ ]), Nl = /* @__PURE__ */ new Set([...Ca, n.OL, n.UL]), Il = /* @__PURE__ */ new Set([...Ca, n.BUTTON]), gs = /* @__PURE__ */ new Set([n.ANNOTATION_XML, n.MI, n.MN, n.MO, n.MS, n.MTEXT]), _s = /* @__PURE__ */ new Set([n.DESC, n.FOREIGN_OBJECT, n.TITLE]), Cl = /* @__PURE__ */ new Set([n.TR, n.TEMPLATE, n.HTML]), Sl = /* @__PURE__ */ new Set([n.TBODY, n.TFOOT, n.THEAD, n.TEMPLATE, n.HTML]), xl = /* @__PURE__ */ new Set([n.TABLE, n.TEMPLATE, n.HTML]), Ol = /* @__PURE__ */ new Set([n.TD, n.TH]);
5768
5768
  class Dl {
5769
5769
  get currentTmplContentOrNode() {
5770
5770
  return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
@@ -5821,7 +5821,7 @@ class Dl {
5821
5821
  this.shortenToLength(i < 0 ? 0 : i);
5822
5822
  }
5823
5823
  popUntilNumberedHeaderPopped() {
5824
- this.popUntilPopped(hi, _.HTML);
5824
+ this.popUntilPopped(di, _.HTML);
5825
5825
  }
5826
5826
  popUntilTableCellPopped() {
5827
5827
  this.popUntilPopped(Ol, _.HTML);
@@ -5879,12 +5879,12 @@ class Dl {
5879
5879
  break;
5880
5880
  }
5881
5881
  case _.SVG: {
5882
- if (bs.has(s))
5882
+ if (_s.has(s))
5883
5883
  return !1;
5884
5884
  break;
5885
5885
  }
5886
5886
  case _.MATHML: {
5887
- if (ps.has(s))
5887
+ if (gs.has(s))
5888
5888
  return !1;
5889
5889
  break;
5890
5890
  }
@@ -5906,19 +5906,19 @@ class Dl {
5906
5906
  const a = this.tagIDs[t];
5907
5907
  switch (this.treeAdapter.getNamespaceURI(this.items[t])) {
5908
5908
  case _.HTML: {
5909
- if (hi.has(a))
5909
+ if (di.has(a))
5910
5910
  return !0;
5911
5911
  if (Ca.has(a))
5912
5912
  return !1;
5913
5913
  break;
5914
5914
  }
5915
5915
  case _.SVG: {
5916
- if (bs.has(a))
5916
+ if (_s.has(a))
5917
5917
  return !1;
5918
5918
  break;
5919
5919
  }
5920
5920
  case _.MATHML: {
5921
- if (ps.has(a))
5921
+ if (gs.has(a))
5922
5922
  return !1;
5923
5923
  break;
5924
5924
  }
@@ -5968,15 +5968,15 @@ class Dl {
5968
5968
  }
5969
5969
  //Implied end tags
5970
5970
  generateImpliedEndTags() {
5971
- for (; Xn.has(this.currentTagId); )
5971
+ for (; Qn.has(this.currentTagId); )
5972
5972
  this.pop();
5973
5973
  }
5974
5974
  generateImpliedEndTagsThoroughly() {
5975
- for (; Ts.has(this.currentTagId); )
5975
+ for (; bs.has(this.currentTagId); )
5976
5976
  this.pop();
5977
5977
  }
5978
5978
  generateImpliedEndTagsWithExclusion(t) {
5979
- for (; this.currentTagId !== t && Ts.has(this.currentTagId); )
5979
+ for (; this.currentTagId !== t && bs.has(this.currentTagId); )
5980
5980
  this.pop();
5981
5981
  }
5982
5982
  }
@@ -5985,7 +5985,7 @@ var Ue;
5985
5985
  (function(e) {
5986
5986
  e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
5987
5987
  })(Ue || (Ue = {}));
5988
- const gs = { type: Ue.Marker };
5988
+ const As = { type: Ue.Marker };
5989
5989
  class Ll {
5990
5990
  constructor(t) {
5991
5991
  this.treeAdapter = t, this.entries = [], this.bookmark = null;
@@ -6022,7 +6022,7 @@ class Ll {
6022
6022
  }
6023
6023
  //Mutations
6024
6024
  insertMarker() {
6025
- this.entries.unshift(gs);
6025
+ this.entries.unshift(As);
6026
6026
  }
6027
6027
  pushElement(t, a) {
6028
6028
  this._ensureNoahArkCondition(t), this.entries.unshift({
@@ -6049,7 +6049,7 @@ class Ll {
6049
6049
  * @see https://html.spec.whatwg.org/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker
6050
6050
  */
6051
6051
  clearToLastMarker() {
6052
- const t = this.entries.indexOf(gs);
6052
+ const t = this.entries.indexOf(As);
6053
6053
  t >= 0 ? this.entries.splice(0, t + 1) : this.entries.length = 0;
6054
6054
  }
6055
6055
  //Search
@@ -6218,7 +6218,7 @@ const $e = {
6218
6218
  updateNodeSourceCodeLocation(e, t) {
6219
6219
  e.sourceCodeLocation = { ...e.sourceCodeLocation, ...t };
6220
6220
  }
6221
- }, Gn = "html", vl = "about:legacy-compat", Rl = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", Qn = [
6221
+ }, jn = "html", vl = "about:legacy-compat", Rl = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", zn = [
6222
6222
  "+//silmaril//dtd html pro v0r11 19970101//",
6223
6223
  "-//as//dtd html 3.0 aswedit + extensions//",
6224
6224
  "-//advasoft ltd//dtd html 3.0 aswedit + extensions//",
@@ -6275,26 +6275,26 @@ const $e = {
6275
6275
  "-//webtechs//dtd mozilla html 2.0//",
6276
6276
  "-//webtechs//dtd mozilla html//"
6277
6277
  ], yl = [
6278
- ...Qn,
6278
+ ...zn,
6279
6279
  "-//w3c//dtd html 4.01 frameset//",
6280
6280
  "-//w3c//dtd html 4.01 transitional//"
6281
6281
  ], Ml = /* @__PURE__ */ new Set([
6282
6282
  "-//w3o//dtd w3 html strict 3.0//en//",
6283
6283
  "-/w3c/dtd html 4.0 transitional/en",
6284
6284
  "html"
6285
- ]), jn = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], Pl = [
6286
- ...jn,
6285
+ ]), Kn = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], Pl = [
6286
+ ...Kn,
6287
6287
  "-//w3c//dtd html 4.01 frameset//",
6288
6288
  "-//w3c//dtd html 4.01 transitional//"
6289
6289
  ];
6290
- function _s(e, t) {
6290
+ function Ns(e, t) {
6291
6291
  return t.some((a) => e.startsWith(a));
6292
6292
  }
6293
6293
  function kl(e) {
6294
- return e.name === Gn && e.publicId === null && (e.systemId === null || e.systemId === vl);
6294
+ return e.name === jn && e.publicId === null && (e.systemId === null || e.systemId === vl);
6295
6295
  }
6296
6296
  function wl(e) {
6297
- if (e.name !== Gn)
6297
+ if (e.name !== jn)
6298
6298
  return Le.QUIRKS;
6299
6299
  const { systemId: t } = e;
6300
6300
  if (t && t.toLowerCase() === Rl)
@@ -6303,15 +6303,15 @@ function wl(e) {
6303
6303
  if (a !== null) {
6304
6304
  if (a = a.toLowerCase(), Ml.has(a))
6305
6305
  return Le.QUIRKS;
6306
- let i = t === null ? yl : Qn;
6307
- if (_s(a, i))
6306
+ let i = t === null ? yl : zn;
6307
+ if (Ns(a, i))
6308
6308
  return Le.QUIRKS;
6309
- if (i = t === null ? jn : Pl, _s(a, i))
6309
+ if (i = t === null ? Kn : Pl, Ns(a, i))
6310
6310
  return Le.LIMITED_QUIRKS;
6311
6311
  }
6312
6312
  return Le.NO_QUIRKS;
6313
6313
  }
6314
- const As = {
6314
+ const Is = {
6315
6315
  TEXT_HTML: "text/html",
6316
6316
  APPLICATION_XML: "application/xhtml+xml"
6317
6317
  }, Bl = "definitionurl", Ul = "definitionURL", Fl = new Map([
@@ -6472,20 +6472,20 @@ function Vl(e) {
6472
6472
  const t = e.tagID;
6473
6473
  return t === n.FONT && e.attrs.some(({ name: i }) => i === ht.COLOR || i === ht.SIZE || i === ht.FACE) || ql.has(t);
6474
6474
  }
6475
- function zn(e) {
6475
+ function Zn(e) {
6476
6476
  for (let t = 0; t < e.attrs.length; t++)
6477
6477
  if (e.attrs[t].name === Bl) {
6478
6478
  e.attrs[t].name = Ul;
6479
6479
  break;
6480
6480
  }
6481
6481
  }
6482
- function Kn(e) {
6482
+ function Jn(e) {
6483
6483
  for (let t = 0; t < e.attrs.length; t++) {
6484
6484
  const a = Fl.get(e.attrs[t].name);
6485
6485
  a != null && (e.attrs[t].name = a);
6486
6486
  }
6487
6487
  }
6488
- function Vi(e) {
6488
+ function Wi(e) {
6489
6489
  for (let t = 0; t < e.attrs.length; t++) {
6490
6490
  const a = Hl.get(e.attrs[t].name);
6491
6491
  a && (e.attrs[t].prefix = a.prefix, e.attrs[t].name = a.name, e.attrs[t].namespace = a.namespace);
@@ -6503,7 +6503,7 @@ function Xl(e, t, a) {
6503
6503
  for (let i = 0; i < a.length; i++)
6504
6504
  if (a[i].name === ht.ENCODING) {
6505
6505
  const s = a[i].value.toLowerCase();
6506
- return s === As.TEXT_HTML || s === As.APPLICATION_XML;
6506
+ return s === Is.TEXT_HTML || s === Is.APPLICATION_XML;
6507
6507
  }
6508
6508
  }
6509
6509
  return t === _.SVG && (e === n.FOREIGN_OBJECT || e === n.DESC || e === n.TITLE);
@@ -6523,16 +6523,16 @@ const Kl = {
6523
6523
  endLine: -1,
6524
6524
  endCol: -1,
6525
6525
  endOffset: -1
6526
- }, Zn = /* @__PURE__ */ new Set([n.TABLE, n.TBODY, n.TFOOT, n.THEAD, n.TR]), Ns = {
6526
+ }, eu = /* @__PURE__ */ new Set([n.TABLE, n.TBODY, n.TFOOT, n.THEAD, n.TR]), Cs = {
6527
6527
  scriptingEnabled: !0,
6528
6528
  sourceCodeLocationInfo: !1,
6529
6529
  treeAdapter: $e,
6530
6530
  onParseError: null
6531
6531
  };
6532
- let Jn = class {
6532
+ let tu = class {
6533
6533
  constructor(t, a, i = null, s = null) {
6534
6534
  this.fragmentContext = i, this.scriptHandler = s, this.currentToken = null, this.stopped = !1, this.insertionMode = E.INITIAL, this.originalInsertionMode = E.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 = {
6535
- ...Ns,
6535
+ ...Cs,
6536
6536
  ...t
6537
6537
  }, 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 Al(this.options, this), this.activeFormattingElements = new Ll(this.treeAdapter), this.fragmentContextID = i ? wa(this.treeAdapter.getTagName(i)) : n.UNKNOWN, this._setContextModes(i ?? this.document, this.fragmentContextID), this.openElements = new Dl(this.document, this.treeAdapter, this);
6538
6538
  }
@@ -6543,7 +6543,7 @@ let Jn = class {
6543
6543
  }
6544
6544
  static getFragmentParser(t, a) {
6545
6545
  const i = {
6546
- ...Ns,
6546
+ ...Cs,
6547
6547
  ...a
6548
6548
  };
6549
6549
  t ?? (t = i.treeAdapter.createElement(p.TEMPLATE, _.HTML, []));
@@ -6720,7 +6720,7 @@ let Jn = class {
6720
6720
  const i = a.location, s = this.treeAdapter.getTagName(t), u = (
6721
6721
  // NOTE: For cases like <p> <p> </p> - First 'p' closes without a closing
6722
6722
  // tag and for cases like <td> <p> </td> - 'p' closes without a closing tag.
6723
- a.type === G.END_TAG && s === a.tagName ? {
6723
+ a.type === Q.END_TAG && s === a.tagName ? {
6724
6724
  endTag: { ...i },
6725
6725
  endLine: i.endLine,
6726
6726
  endCol: i.endCol,
@@ -6749,35 +6749,35 @@ let Jn = class {
6749
6749
  /** @protected */
6750
6750
  _processToken(t) {
6751
6751
  switch (t.type) {
6752
- case G.CHARACTER: {
6752
+ case Q.CHARACTER: {
6753
6753
  this.onCharacter(t);
6754
6754
  break;
6755
6755
  }
6756
- case G.NULL_CHARACTER: {
6756
+ case Q.NULL_CHARACTER: {
6757
6757
  this.onNullCharacter(t);
6758
6758
  break;
6759
6759
  }
6760
- case G.COMMENT: {
6760
+ case Q.COMMENT: {
6761
6761
  this.onComment(t);
6762
6762
  break;
6763
6763
  }
6764
- case G.DOCTYPE: {
6764
+ case Q.DOCTYPE: {
6765
6765
  this.onDoctype(t);
6766
6766
  break;
6767
6767
  }
6768
- case G.START_TAG: {
6768
+ case Q.START_TAG: {
6769
6769
  this._processStartTag(t);
6770
6770
  break;
6771
6771
  }
6772
- case G.END_TAG: {
6772
+ case Q.END_TAG: {
6773
6773
  this.onEndTag(t);
6774
6774
  break;
6775
6775
  }
6776
- case G.EOF: {
6776
+ case Q.EOF: {
6777
6777
  this.onEof(t);
6778
6778
  break;
6779
6779
  }
6780
- case G.WHITESPACE_CHARACTER: {
6780
+ case Q.WHITESPACE_CHARACTER: {
6781
6781
  this.onWhitespaceCharacter(t);
6782
6782
  break;
6783
6783
  }
@@ -6892,7 +6892,7 @@ let Jn = class {
6892
6892
  //Foster parenting
6893
6893
  /** @protected */
6894
6894
  _isElementCausesFosterParenting(t) {
6895
- return Zn.has(t);
6895
+ return eu.has(t);
6896
6896
  }
6897
6897
  /** @protected */
6898
6898
  _shouldFosterParentOnInsertion() {
@@ -6962,7 +6962,7 @@ let Jn = class {
6962
6962
  case E.IN_CAPTION:
6963
6963
  case E.IN_CELL:
6964
6964
  case E.IN_TEMPLATE: {
6965
- tu(this, t);
6965
+ iu(this, t);
6966
6966
  break;
6967
6967
  }
6968
6968
  case E.TEXT:
@@ -6978,7 +6978,7 @@ let Jn = class {
6978
6978
  break;
6979
6979
  }
6980
6980
  case E.IN_TABLE_TEXT: {
6981
- ru(this, t);
6981
+ cu(this, t);
6982
6982
  break;
6983
6983
  }
6984
6984
  case E.IN_COLUMN_GROUP: {
@@ -7053,7 +7053,7 @@ let Jn = class {
7053
7053
  /** @internal */
7054
7054
  onComment(t) {
7055
7055
  if (this.skipNextNewLine = !1, this.currentNotInHTML) {
7056
- di(this, t);
7056
+ fi(this, t);
7057
7057
  return;
7058
7058
  }
7059
7059
  switch (this.insertionMode) {
@@ -7075,7 +7075,7 @@ let Jn = class {
7075
7075
  case E.IN_TEMPLATE:
7076
7076
  case E.IN_FRAMESET:
7077
7077
  case E.AFTER_FRAMESET: {
7078
- di(this, t);
7078
+ fi(this, t);
7079
7079
  break;
7080
7080
  }
7081
7081
  case E.IN_TABLE_TEXT: {
@@ -7159,7 +7159,7 @@ let Jn = class {
7159
7159
  break;
7160
7160
  }
7161
7161
  case E.IN_BODY: {
7162
- be(this, t);
7162
+ _e(this, t);
7163
7163
  break;
7164
7164
  }
7165
7165
  case E.IN_TABLE: {
@@ -7175,7 +7175,7 @@ let Jn = class {
7175
7175
  break;
7176
7176
  }
7177
7177
  case E.IN_COLUMN_GROUP: {
7178
- Xi(this, t);
7178
+ Gi(this, t);
7179
7179
  break;
7180
7180
  }
7181
7181
  case E.IN_TABLE_BODY: {
@@ -7191,7 +7191,7 @@ let Jn = class {
7191
7191
  break;
7192
7192
  }
7193
7193
  case E.IN_SELECT: {
7194
- lu(this, t);
7194
+ du(this, t);
7195
7195
  break;
7196
7196
  }
7197
7197
  case E.IN_SELECT_IN_TABLE: {
@@ -7280,11 +7280,11 @@ let Jn = class {
7280
7280
  break;
7281
7281
  }
7282
7282
  case E.IN_TABLE_BODY: {
7283
- fi(this, t);
7283
+ Ei(this, t);
7284
7284
  break;
7285
7285
  }
7286
7286
  case E.IN_ROW: {
7287
- cu(this, t);
7287
+ hu(this, t);
7288
7288
  break;
7289
7289
  }
7290
7290
  case E.IN_CELL: {
@@ -7292,7 +7292,7 @@ let Jn = class {
7292
7292
  break;
7293
7293
  }
7294
7294
  case E.IN_SELECT: {
7295
- hu(this, t);
7295
+ fu(this, t);
7296
7296
  break;
7297
7297
  }
7298
7298
  case E.IN_SELECT_IN_TABLE: {
@@ -7304,7 +7304,7 @@ let Jn = class {
7304
7304
  break;
7305
7305
  }
7306
7306
  case E.AFTER_BODY: {
7307
- fu(this, t);
7307
+ mu(this, t);
7308
7308
  break;
7309
7309
  }
7310
7310
  case E.IN_FRAMESET: {
@@ -7357,7 +7357,7 @@ let Jn = class {
7357
7357
  case E.IN_CELL:
7358
7358
  case E.IN_SELECT:
7359
7359
  case E.IN_SELECT_IN_TABLE: {
7360
- nu(this, t);
7360
+ ru(this, t);
7361
7361
  break;
7362
7362
  }
7363
7363
  case E.TEXT: {
@@ -7369,7 +7369,7 @@ let Jn = class {
7369
7369
  break;
7370
7370
  }
7371
7371
  case E.IN_TEMPLATE: {
7372
- du(this, t);
7372
+ Eu(this, t);
7373
7373
  break;
7374
7374
  }
7375
7375
  case E.AFTER_BODY:
@@ -7377,7 +7377,7 @@ let Jn = class {
7377
7377
  case E.AFTER_FRAMESET:
7378
7378
  case E.AFTER_AFTER_BODY:
7379
7379
  case E.AFTER_AFTER_FRAMESET: {
7380
- $i(this, t);
7380
+ Xi(this, t);
7381
7381
  break;
7382
7382
  }
7383
7383
  }
@@ -7413,7 +7413,7 @@ let Jn = class {
7413
7413
  case E.AFTER_BODY:
7414
7414
  case E.AFTER_AFTER_BODY:
7415
7415
  case E.AFTER_AFTER_FRAMESET: {
7416
- eu(this, t);
7416
+ au(this, t);
7417
7417
  break;
7418
7418
  }
7419
7419
  case E.IN_TABLE:
@@ -7423,7 +7423,7 @@ let Jn = class {
7423
7423
  break;
7424
7424
  }
7425
7425
  case E.IN_TABLE_TEXT: {
7426
- uu(this, t);
7426
+ ou(this, t);
7427
7427
  break;
7428
7428
  }
7429
7429
  }
@@ -7431,7 +7431,7 @@ let Jn = class {
7431
7431
  };
7432
7432
  function Zl(e, t) {
7433
7433
  let a = e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);
7434
- return a ? e.openElements.contains(a.element) ? e.openElements.hasInScope(t.tagID) || (a = null) : (e.activeFormattingElements.removeEntry(a), a = null) : su(e, t), a;
7434
+ return a ? e.openElements.contains(a.element) ? e.openElements.hasInScope(t.tagID) || (a = null) : (e.activeFormattingElements.removeEntry(a), a = null) : uu(e, t), a;
7435
7435
  }
7436
7436
  function Jl(e, t) {
7437
7437
  let a = null, i = e.openElements.stackTop;
@@ -7469,7 +7469,7 @@ function i0(e, t, a) {
7469
7469
  const i = e.treeAdapter.getNamespaceURI(a.element), { token: s } = a, u = e.treeAdapter.createElement(s.tagName, i, s.attrs);
7470
7470
  e._adoptNodes(t, u), e.treeAdapter.appendChild(t, u), e.activeFormattingElements.insertElementAfterBookmark(u, s), e.activeFormattingElements.removeEntry(a), e.openElements.remove(a.element), e.openElements.insertAfter(t, u, s.tagID);
7471
7471
  }
7472
- function Wi(e, t) {
7472
+ function $i(e, t) {
7473
7473
  for (let a = 0; a < jl; a++) {
7474
7474
  const i = Zl(e, t);
7475
7475
  if (!i)
@@ -7482,7 +7482,7 @@ function Wi(e, t) {
7482
7482
  e.treeAdapter.detachNode(u), r && a0(e, r, u), i0(e, s, i);
7483
7483
  }
7484
7484
  }
7485
- function di(e, t) {
7485
+ function fi(e, t) {
7486
7486
  e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
7487
7487
  }
7488
7488
  function s0(e, t) {
@@ -7491,7 +7491,7 @@ function s0(e, t) {
7491
7491
  function n0(e, t) {
7492
7492
  e._appendCommentNode(t, e.document);
7493
7493
  }
7494
- function $i(e, t) {
7494
+ function Xi(e, t) {
7495
7495
  if (e.stopped = !0, t.location) {
7496
7496
  const a = e.fragmentContext ? 0 : 2;
7497
7497
  for (let i = e.openElements.stackTop; i >= a; i--)
@@ -7526,7 +7526,7 @@ function Vt(e, t) {
7526
7526
  function c0(e, t) {
7527
7527
  switch (t.tagID) {
7528
7528
  case n.HTML: {
7529
- be(e, t);
7529
+ _e(e, t);
7530
7530
  break;
7531
7531
  }
7532
7532
  case n.HEAD: {
@@ -7547,7 +7547,7 @@ function Wt(e, t) {
7547
7547
  function Be(e, t) {
7548
7548
  switch (t.tagID) {
7549
7549
  case n.HTML: {
7550
- be(e, t);
7550
+ _e(e, t);
7551
7551
  break;
7552
7552
  }
7553
7553
  case n.BASE:
@@ -7616,7 +7616,7 @@ function $t(e, t) {
7616
7616
  function d0(e, t) {
7617
7617
  switch (t.tagID) {
7618
7618
  case n.HTML: {
7619
- be(e, t);
7619
+ _e(e, t);
7620
7620
  break;
7621
7621
  }
7622
7622
  case n.BASEFONT:
@@ -7652,13 +7652,13 @@ function f0(e, t) {
7652
7652
  }
7653
7653
  }
7654
7654
  function Xt(e, t) {
7655
- const a = t.type === G.EOF ? b.openElementsLeftAfterEof : b.disallowedContentInNoscriptInHead;
7655
+ const a = t.type === Q.EOF ? b.openElementsLeftAfterEof : b.disallowedContentInNoscriptInHead;
7656
7656
  e._err(t, a), e.openElements.pop(), e.insertionMode = E.IN_HEAD, e._processToken(t);
7657
7657
  }
7658
7658
  function E0(e, t) {
7659
7659
  switch (t.tagID) {
7660
7660
  case n.HTML: {
7661
- be(e, t);
7661
+ _e(e, t);
7662
7662
  break;
7663
7663
  }
7664
7664
  case n.BODY: {
@@ -7711,36 +7711,36 @@ function Gt(e, t) {
7711
7711
  }
7712
7712
  function Ba(e, t) {
7713
7713
  switch (t.type) {
7714
- case G.CHARACTER: {
7715
- tu(e, t);
7714
+ case Q.CHARACTER: {
7715
+ iu(e, t);
7716
7716
  break;
7717
7717
  }
7718
- case G.WHITESPACE_CHARACTER: {
7719
- eu(e, t);
7718
+ case Q.WHITESPACE_CHARACTER: {
7719
+ au(e, t);
7720
7720
  break;
7721
7721
  }
7722
- case G.COMMENT: {
7723
- di(e, t);
7722
+ case Q.COMMENT: {
7723
+ fi(e, t);
7724
7724
  break;
7725
7725
  }
7726
- case G.START_TAG: {
7727
- be(e, t);
7726
+ case Q.START_TAG: {
7727
+ _e(e, t);
7728
7728
  break;
7729
7729
  }
7730
- case G.END_TAG: {
7730
+ case Q.END_TAG: {
7731
7731
  Ua(e, t);
7732
7732
  break;
7733
7733
  }
7734
- case G.EOF: {
7735
- nu(e, t);
7734
+ case Q.EOF: {
7735
+ ru(e, t);
7736
7736
  break;
7737
7737
  }
7738
7738
  }
7739
7739
  }
7740
- function eu(e, t) {
7740
+ function au(e, t) {
7741
7741
  e._reconstructActiveFormattingElements(), e._insertCharacters(t);
7742
7742
  }
7743
- function tu(e, t) {
7743
+ function iu(e, t) {
7744
7744
  e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
7745
7745
  }
7746
7746
  function T0(e, t) {
@@ -7758,7 +7758,7 @@ function g0(e, t) {
7758
7758
  e.openElements.hasInButtonScope(n.P) && e._closePElement(), e._insertElement(t, _.HTML);
7759
7759
  }
7760
7760
  function _0(e, t) {
7761
- e.openElements.hasInButtonScope(n.P) && e._closePElement(), hi.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, _.HTML);
7761
+ e.openElements.hasInButtonScope(n.P) && e._closePElement(), di.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, _.HTML);
7762
7762
  }
7763
7763
  function A0(e, t) {
7764
7764
  e.openElements.hasInButtonScope(n.P) && e._closePElement(), e._insertElement(t, _.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
@@ -7789,13 +7789,13 @@ function S0(e, t) {
7789
7789
  }
7790
7790
  function x0(e, t) {
7791
7791
  const a = e.activeFormattingElements.getElementEntryInScopeWithTagName(p.A);
7792
- a && (Wi(e, t), e.openElements.remove(a.element), e.activeFormattingElements.removeEntry(a)), e._reconstructActiveFormattingElements(), e._insertElement(t, _.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
7792
+ a && ($i(e, t), e.openElements.remove(a.element), e.activeFormattingElements.removeEntry(a)), e._reconstructActiveFormattingElements(), e._insertElement(t, _.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
7793
7793
  }
7794
7794
  function O0(e, t) {
7795
7795
  e._reconstructActiveFormattingElements(), e._insertElement(t, _.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
7796
7796
  }
7797
7797
  function D0(e, t) {
7798
- e._reconstructActiveFormattingElements(), e.openElements.hasInScope(n.NOBR) && (Wi(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, _.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
7798
+ e._reconstructActiveFormattingElements(), e.openElements.hasInScope(n.NOBR) && ($i(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, _.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
7799
7799
  }
7800
7800
  function L0(e, t) {
7801
7801
  e._reconstructActiveFormattingElements(), e._insertElement(t, _.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
@@ -7803,15 +7803,15 @@ function L0(e, t) {
7803
7803
  function v0(e, t) {
7804
7804
  e.treeAdapter.getDocumentMode(e.document) !== Le.QUIRKS && e.openElements.hasInButtonScope(n.P) && e._closePElement(), e._insertElement(t, _.HTML), e.framesetOk = !1, e.insertionMode = E.IN_TABLE;
7805
7805
  }
7806
- function au(e, t) {
7806
+ function su(e, t) {
7807
7807
  e._reconstructActiveFormattingElements(), e._appendElement(t, _.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
7808
7808
  }
7809
- function iu(e) {
7810
- const t = Wn(e, ht.TYPE);
7809
+ function nu(e) {
7810
+ const t = Xn(e, ht.TYPE);
7811
7811
  return t != null && t.toLowerCase() === Ql;
7812
7812
  }
7813
7813
  function R0(e, t) {
7814
- e._reconstructActiveFormattingElements(), e._appendElement(t, _.HTML), iu(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
7814
+ e._reconstructActiveFormattingElements(), e._appendElement(t, _.HTML), nu(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
7815
7815
  }
7816
7816
  function y0(e, t) {
7817
7817
  e._appendElement(t, _.HTML), t.ackSelfClosing = !0;
@@ -7820,7 +7820,7 @@ function M0(e, t) {
7820
7820
  e.openElements.hasInButtonScope(n.P) && e._closePElement(), e._appendElement(t, _.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
7821
7821
  }
7822
7822
  function P0(e, t) {
7823
- t.tagName = p.IMG, t.tagID = n.IMG, au(e, t);
7823
+ t.tagName = p.IMG, t.tagID = n.IMG, su(e, t);
7824
7824
  }
7825
7825
  function k0(e, t) {
7826
7826
  e._insertElement(t, _.HTML), e.skipNextNewLine = !0, e.tokenizer.state = De.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = E.TEXT;
@@ -7831,7 +7831,7 @@ function w0(e, t) {
7831
7831
  function B0(e, t) {
7832
7832
  e.framesetOk = !1, e._switchToTextParsing(t, De.RAWTEXT);
7833
7833
  }
7834
- function Is(e, t) {
7834
+ function Ss(e, t) {
7835
7835
  e._switchToTextParsing(t, De.RAWTEXT);
7836
7836
  }
7837
7837
  function U0(e, t) {
@@ -7847,15 +7847,15 @@ function Y0(e, t) {
7847
7847
  e.openElements.hasInScope(n.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(n.RTC), e._insertElement(t, _.HTML);
7848
7848
  }
7849
7849
  function q0(e, t) {
7850
- e._reconstructActiveFormattingElements(), zn(t), Vi(t), t.selfClosing ? e._appendElement(t, _.MATHML) : e._insertElement(t, _.MATHML), t.ackSelfClosing = !0;
7850
+ e._reconstructActiveFormattingElements(), Zn(t), Wi(t), t.selfClosing ? e._appendElement(t, _.MATHML) : e._insertElement(t, _.MATHML), t.ackSelfClosing = !0;
7851
7851
  }
7852
7852
  function V0(e, t) {
7853
- e._reconstructActiveFormattingElements(), Kn(t), Vi(t), t.selfClosing ? e._appendElement(t, _.SVG) : e._insertElement(t, _.SVG), t.ackSelfClosing = !0;
7853
+ e._reconstructActiveFormattingElements(), Jn(t), Wi(t), t.selfClosing ? e._appendElement(t, _.SVG) : e._insertElement(t, _.SVG), t.ackSelfClosing = !0;
7854
7854
  }
7855
- function Cs(e, t) {
7855
+ function xs(e, t) {
7856
7856
  e._reconstructActiveFormattingElements(), e._insertElement(t, _.HTML);
7857
7857
  }
7858
- function be(e, t) {
7858
+ function _e(e, t) {
7859
7859
  switch (t.tagID) {
7860
7860
  case n.I:
7861
7861
  case n.S:
@@ -7925,7 +7925,7 @@ function be(e, t) {
7925
7925
  case n.AREA:
7926
7926
  case n.EMBED:
7927
7927
  case n.KEYGEN: {
7928
- au(e, t);
7928
+ su(e, t);
7929
7929
  break;
7930
7930
  }
7931
7931
  case n.HR: {
@@ -8030,7 +8030,7 @@ function be(e, t) {
8030
8030
  }
8031
8031
  case n.NOEMBED:
8032
8032
  case n.NOFRAMES: {
8033
- Is(e, t);
8033
+ Ss(e, t);
8034
8034
  break;
8035
8035
  }
8036
8036
  case n.FRAMESET: {
@@ -8042,7 +8042,7 @@ function be(e, t) {
8042
8042
  break;
8043
8043
  }
8044
8044
  case n.NOSCRIPT: {
8045
- e.options.scriptingEnabled ? Is(e, t) : Cs(e, t);
8045
+ e.options.scriptingEnabled ? Ss(e, t) : xs(e, t);
8046
8046
  break;
8047
8047
  }
8048
8048
  case n.PLAINTEXT: {
@@ -8062,7 +8062,7 @@ function be(e, t) {
8062
8062
  case n.COLGROUP:
8063
8063
  break;
8064
8064
  default:
8065
- Cs(e, t);
8065
+ xs(e, t);
8066
8066
  }
8067
8067
  }
8068
8068
  function W0(e, t) {
@@ -8072,7 +8072,7 @@ function W0(e, t) {
8072
8072
  }
8073
8073
  }
8074
8074
  function $0(e, t) {
8075
- e.openElements.hasInScope(n.BODY) && (e.insertionMode = E.AFTER_BODY, fu(e, t));
8075
+ e.openElements.hasInScope(n.BODY) && (e.insertionMode = E.AFTER_BODY, mu(e, t));
8076
8076
  }
8077
8077
  function X0(e, t) {
8078
8078
  const a = t.tagID;
@@ -8102,7 +8102,7 @@ function Z0(e, t) {
8102
8102
  function J0(e) {
8103
8103
  e._reconstructActiveFormattingElements(), e._insertFakeElement(p.BR, n.BR), e.openElements.pop(), e.framesetOk = !1;
8104
8104
  }
8105
- function su(e, t) {
8105
+ function uu(e, t) {
8106
8106
  const a = t.tagName, i = t.tagID;
8107
8107
  for (let s = e.openElements.stackTop; s > 0; s--) {
8108
8108
  const u = e.openElements.items[s], r = e.openElements.tagIDs[s];
@@ -8130,7 +8130,7 @@ function Ua(e, t) {
8130
8130
  case n.SMALL:
8131
8131
  case n.STRIKE:
8132
8132
  case n.STRONG: {
8133
- Wi(e, t);
8133
+ $i(e, t);
8134
8134
  break;
8135
8135
  }
8136
8136
  case n.P: {
@@ -8212,11 +8212,11 @@ function Ua(e, t) {
8212
8212
  break;
8213
8213
  }
8214
8214
  default:
8215
- su(e, t);
8215
+ uu(e, t);
8216
8216
  }
8217
8217
  }
8218
- function nu(e, t) {
8219
- e.tmplInsertionModeStack.length > 0 ? du(e, t) : $i(e, t);
8218
+ function ru(e, t) {
8219
+ e.tmplInsertionModeStack.length > 0 ? Eu(e, t) : Xi(e, t);
8220
8220
  }
8221
8221
  function eh(e, t) {
8222
8222
  var a;
@@ -8226,14 +8226,14 @@ function th(e, t) {
8226
8226
  e._err(t, b.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(t);
8227
8227
  }
8228
8228
  function Ka(e, t) {
8229
- if (Zn.has(e.openElements.currentTagId))
8229
+ if (eu.has(e.openElements.currentTagId))
8230
8230
  switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = E.IN_TABLE_TEXT, t.type) {
8231
- case G.CHARACTER: {
8232
- ru(e, t);
8231
+ case Q.CHARACTER: {
8232
+ cu(e, t);
8233
8233
  break;
8234
8234
  }
8235
- case G.WHITESPACE_CHARACTER: {
8236
- uu(e, t);
8235
+ case Q.WHITESPACE_CHARACTER: {
8236
+ ou(e, t);
8237
8237
  break;
8238
8238
  }
8239
8239
  }
@@ -8247,7 +8247,7 @@ function ih(e, t) {
8247
8247
  e.openElements.clearBackToTableContext(), e._insertElement(t, _.HTML), e.insertionMode = E.IN_COLUMN_GROUP;
8248
8248
  }
8249
8249
  function sh(e, t) {
8250
- e.openElements.clearBackToTableContext(), e._insertFakeElement(p.COLGROUP, n.COLGROUP), e.insertionMode = E.IN_COLUMN_GROUP, Xi(e, t);
8250
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(p.COLGROUP, n.COLGROUP), e.insertionMode = E.IN_COLUMN_GROUP, Gi(e, t);
8251
8251
  }
8252
8252
  function nh(e, t) {
8253
8253
  e.openElements.clearBackToTableContext(), e._insertElement(t, _.HTML), e.insertionMode = E.IN_TABLE_BODY;
@@ -8259,7 +8259,7 @@ function rh(e, t) {
8259
8259
  e.openElements.hasInTableScope(n.TABLE) && (e.openElements.popUntilTagNamePopped(n.TABLE), e._resetInsertionMode(), e._processStartTag(t));
8260
8260
  }
8261
8261
  function oh(e, t) {
8262
- iu(t) ? e._appendElement(t, _.HTML) : ua(e, t), t.ackSelfClosing = !0;
8262
+ nu(t) ? e._appendElement(t, _.HTML) : ua(e, t), t.ackSelfClosing = !0;
8263
8263
  }
8264
8264
  function ch(e, t) {
8265
8265
  !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, _.HTML), e.formElement = e.openElements.current, e.openElements.pop());
@@ -8342,10 +8342,10 @@ function ua(e, t) {
8342
8342
  const a = e.fosterParentingEnabled;
8343
8343
  e.fosterParentingEnabled = !0, Ba(e, t), e.fosterParentingEnabled = a;
8344
8344
  }
8345
- function uu(e, t) {
8345
+ function ou(e, t) {
8346
8346
  e.pendingCharacterTokens.push(t);
8347
8347
  }
8348
- function ru(e, t) {
8348
+ function cu(e, t) {
8349
8349
  e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
8350
8350
  }
8351
8351
  function kt(e, t) {
@@ -8358,10 +8358,10 @@ function kt(e, t) {
8358
8358
  e._insertCharacters(e.pendingCharacterTokens[a]);
8359
8359
  e.insertionMode = e.originalInsertionMode, e._processToken(t);
8360
8360
  }
8361
- const ou = /* @__PURE__ */ new Set([n.CAPTION, n.COL, n.COLGROUP, n.TBODY, n.TD, n.TFOOT, n.TH, n.THEAD, n.TR]);
8361
+ const lu = /* @__PURE__ */ new Set([n.CAPTION, n.COL, n.COLGROUP, n.TBODY, n.TD, n.TFOOT, n.TH, n.THEAD, n.TR]);
8362
8362
  function lh(e, t) {
8363
8363
  const a = t.tagID;
8364
- ou.has(a) ? e.openElements.hasInTableScope(n.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = E.IN_TABLE, Dt(e, t)) : be(e, t);
8364
+ lu.has(a) ? e.openElements.hasInTableScope(n.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = E.IN_TABLE, Dt(e, t)) : _e(e, t);
8365
8365
  }
8366
8366
  function hh(e, t) {
8367
8367
  const a = t.tagID;
@@ -8386,10 +8386,10 @@ function hh(e, t) {
8386
8386
  Ua(e, t);
8387
8387
  }
8388
8388
  }
8389
- function Xi(e, t) {
8389
+ function Gi(e, t) {
8390
8390
  switch (t.tagID) {
8391
8391
  case n.HTML: {
8392
- be(e, t);
8392
+ _e(e, t);
8393
8393
  break;
8394
8394
  }
8395
8395
  case n.COL: {
@@ -8447,7 +8447,7 @@ function Fa(e, t) {
8447
8447
  Dt(e, t);
8448
8448
  }
8449
8449
  }
8450
- function fi(e, t) {
8450
+ function Ei(e, t) {
8451
8451
  const a = t.tagID;
8452
8452
  switch (t.tagID) {
8453
8453
  case n.TBODY:
@@ -8494,20 +8494,20 @@ function Ha(e, t) {
8494
8494
  Dt(e, t);
8495
8495
  }
8496
8496
  }
8497
- function cu(e, t) {
8497
+ function hu(e, t) {
8498
8498
  switch (t.tagID) {
8499
8499
  case n.TR: {
8500
8500
  e.openElements.hasInTableScope(n.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY);
8501
8501
  break;
8502
8502
  }
8503
8503
  case n.TABLE: {
8504
- e.openElements.hasInTableScope(n.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY, fi(e, t));
8504
+ e.openElements.hasInTableScope(n.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY, Ei(e, t));
8505
8505
  break;
8506
8506
  }
8507
8507
  case n.TBODY:
8508
8508
  case n.TFOOT:
8509
8509
  case n.THEAD: {
8510
- (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(n.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY, fi(e, t));
8510
+ (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(n.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY, Ei(e, t));
8511
8511
  break;
8512
8512
  }
8513
8513
  case n.BODY:
@@ -8524,7 +8524,7 @@ function cu(e, t) {
8524
8524
  }
8525
8525
  function fh(e, t) {
8526
8526
  const a = t.tagID;
8527
- ou.has(a) ? (e.openElements.hasInTableScope(n.TD) || e.openElements.hasInTableScope(n.TH)) && (e._closeTableCell(), Ha(e, t)) : be(e, t);
8527
+ lu.has(a) ? (e.openElements.hasInTableScope(n.TD) || e.openElements.hasInTableScope(n.TH)) && (e._closeTableCell(), Ha(e, t)) : _e(e, t);
8528
8528
  }
8529
8529
  function Eh(e, t) {
8530
8530
  const a = t.tagID;
@@ -8539,7 +8539,7 @@ function Eh(e, t) {
8539
8539
  case n.TFOOT:
8540
8540
  case n.THEAD:
8541
8541
  case n.TR: {
8542
- e.openElements.hasInTableScope(a) && (e._closeTableCell(), cu(e, t));
8542
+ e.openElements.hasInTableScope(a) && (e._closeTableCell(), hu(e, t));
8543
8543
  break;
8544
8544
  }
8545
8545
  case n.BODY:
@@ -8552,10 +8552,10 @@ function Eh(e, t) {
8552
8552
  Ua(e, t);
8553
8553
  }
8554
8554
  }
8555
- function lu(e, t) {
8555
+ function du(e, t) {
8556
8556
  switch (t.tagID) {
8557
8557
  case n.HTML: {
8558
- be(e, t);
8558
+ _e(e, t);
8559
8559
  break;
8560
8560
  }
8561
8561
  case n.OPTION: {
@@ -8584,7 +8584,7 @@ function lu(e, t) {
8584
8584
  }
8585
8585
  }
8586
8586
  }
8587
- function hu(e, t) {
8587
+ function fu(e, t) {
8588
8588
  switch (t.tagID) {
8589
8589
  case n.OPTGROUP: {
8590
8590
  e.openElements.stackTop > 0 && e.openElements.currentTagId === n.OPTION && e.openElements.tagIDs[e.openElements.stackTop - 1] === n.OPTGROUP && e.openElements.pop(), e.openElements.currentTagId === n.OPTGROUP && e.openElements.pop();
@@ -8606,11 +8606,11 @@ function hu(e, t) {
8606
8606
  }
8607
8607
  function mh(e, t) {
8608
8608
  const a = t.tagID;
8609
- a === n.CAPTION || a === n.TABLE || a === n.TBODY || a === n.TFOOT || a === n.THEAD || a === n.TR || a === n.TD || a === n.TH ? (e.openElements.popUntilTagNamePopped(n.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : lu(e, t);
8609
+ a === n.CAPTION || a === n.TABLE || a === n.TBODY || a === n.TFOOT || a === n.THEAD || a === n.TR || a === n.TD || a === n.TH ? (e.openElements.popUntilTagNamePopped(n.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : du(e, t);
8610
8610
  }
8611
8611
  function Th(e, t) {
8612
8612
  const a = t.tagID;
8613
- a === n.CAPTION || a === n.TABLE || a === n.TBODY || a === n.TFOOT || a === n.THEAD || a === n.TR || a === n.TD || a === n.TH ? e.openElements.hasInTableScope(a) && (e.openElements.popUntilTagNamePopped(n.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : hu(e, t);
8613
+ a === n.CAPTION || a === n.TABLE || a === n.TBODY || a === n.TFOOT || a === n.THEAD || a === n.TR || a === n.TD || a === n.TH ? e.openElements.hasInTableScope(a) && (e.openElements.popUntilTagNamePopped(n.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : fu(e, t);
8614
8614
  }
8615
8615
  function ph(e, t) {
8616
8616
  switch (t.tagID) {
@@ -8636,7 +8636,7 @@ function ph(e, t) {
8636
8636
  break;
8637
8637
  }
8638
8638
  case n.COL: {
8639
- e.tmplInsertionModeStack[0] = E.IN_COLUMN_GROUP, e.insertionMode = E.IN_COLUMN_GROUP, Xi(e, t);
8639
+ e.tmplInsertionModeStack[0] = E.IN_COLUMN_GROUP, e.insertionMode = E.IN_COLUMN_GROUP, Gi(e, t);
8640
8640
  break;
8641
8641
  }
8642
8642
  case n.TR: {
@@ -8649,19 +8649,19 @@ function ph(e, t) {
8649
8649
  break;
8650
8650
  }
8651
8651
  default:
8652
- e.tmplInsertionModeStack[0] = E.IN_BODY, e.insertionMode = E.IN_BODY, be(e, t);
8652
+ e.tmplInsertionModeStack[0] = E.IN_BODY, e.insertionMode = E.IN_BODY, _e(e, t);
8653
8653
  }
8654
8654
  }
8655
8655
  function bh(e, t) {
8656
8656
  t.tagID === n.TEMPLATE && Tt(e, t);
8657
8657
  }
8658
- function du(e, t) {
8659
- e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(n.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : $i(e, t);
8658
+ function Eu(e, t) {
8659
+ e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(n.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Xi(e, t);
8660
8660
  }
8661
8661
  function gh(e, t) {
8662
- t.tagID === n.HTML ? be(e, t) : xa(e, t);
8662
+ t.tagID === n.HTML ? _e(e, t) : xa(e, t);
8663
8663
  }
8664
- function fu(e, t) {
8664
+ function mu(e, t) {
8665
8665
  var a;
8666
8666
  if (t.tagID === n.HTML) {
8667
8667
  if (e.fragmentContext || (e.insertionMode = E.AFTER_AFTER_BODY), e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === n.HTML) {
@@ -8678,7 +8678,7 @@ function xa(e, t) {
8678
8678
  function _h(e, t) {
8679
8679
  switch (t.tagID) {
8680
8680
  case n.HTML: {
8681
- be(e, t);
8681
+ _e(e, t);
8682
8682
  break;
8683
8683
  }
8684
8684
  case n.FRAMESET: {
@@ -8701,7 +8701,7 @@ function Ah(e, t) {
8701
8701
  function Nh(e, t) {
8702
8702
  switch (t.tagID) {
8703
8703
  case n.HTML: {
8704
- be(e, t);
8704
+ _e(e, t);
8705
8705
  break;
8706
8706
  }
8707
8707
  case n.NOFRAMES: {
@@ -8714,7 +8714,7 @@ function Ih(e, t) {
8714
8714
  t.tagID === n.HTML && (e.insertionMode = E.AFTER_AFTER_FRAMESET);
8715
8715
  }
8716
8716
  function Ch(e, t) {
8717
- t.tagID === n.HTML ? be(e, t) : ma(e, t);
8717
+ t.tagID === n.HTML ? _e(e, t) : ma(e, t);
8718
8718
  }
8719
8719
  function ma(e, t) {
8720
8720
  e.insertionMode = E.IN_BODY, Ba(e, t);
@@ -8722,7 +8722,7 @@ function ma(e, t) {
8722
8722
  function Sh(e, t) {
8723
8723
  switch (t.tagID) {
8724
8724
  case n.HTML: {
8725
- be(e, t);
8725
+ _e(e, t);
8726
8726
  break;
8727
8727
  }
8728
8728
  case n.NOFRAMES: {
@@ -8737,21 +8737,21 @@ function xh(e, t) {
8737
8737
  function Oh(e, t) {
8738
8738
  e._insertCharacters(t), e.framesetOk = !1;
8739
8739
  }
8740
- function Eu(e) {
8740
+ function Tu(e) {
8741
8741
  for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== _.HTML && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); )
8742
8742
  e.openElements.pop();
8743
8743
  }
8744
8744
  function Dh(e, t) {
8745
8745
  if (Vl(t))
8746
- Eu(e), e._startTagOutsideForeignContent(t);
8746
+ Tu(e), e._startTagOutsideForeignContent(t);
8747
8747
  else {
8748
8748
  const a = e._getAdjustedCurrentElement(), i = e.treeAdapter.getNamespaceURI(a);
8749
- i === _.MATHML ? zn(t) : i === _.SVG && (Wl(t), Kn(t)), Vi(t), t.selfClosing ? e._appendElement(t, i) : e._insertElement(t, i), t.ackSelfClosing = !0;
8749
+ i === _.MATHML ? Zn(t) : i === _.SVG && (Wl(t), Jn(t)), Wi(t), t.selfClosing ? e._appendElement(t, i) : e._insertElement(t, i), t.ackSelfClosing = !0;
8750
8750
  }
8751
8751
  }
8752
8752
  function Lh(e, t) {
8753
8753
  if (t.tagID === n.P || t.tagID === n.BR) {
8754
- Eu(e), e._endTagOutsideForeignContent(t);
8754
+ Tu(e), e._endTagOutsideForeignContent(t);
8755
8755
  return;
8756
8756
  }
8757
8757
  for (let a = e.openElements.stackTop; a > 0; a--) {
@@ -8793,17 +8793,17 @@ function Rh(e, t) {
8793
8793
  const yh = { treeAdapter: $e, scriptingEnabled: !0 };
8794
8794
  function Mh(e, t) {
8795
8795
  const a = { ...yh, ...t };
8796
- return mu(e, a);
8796
+ return pu(e, a);
8797
8797
  }
8798
8798
  function Ph(e, t) {
8799
8799
  let a = "";
8800
8800
  const i = t.treeAdapter.isElementNode(e) && t.treeAdapter.getTagName(e) === p.TEMPLATE && t.treeAdapter.getNamespaceURI(e) === _.HTML ? t.treeAdapter.getTemplateContent(e) : e, s = t.treeAdapter.getChildNodes(i);
8801
8801
  if (s)
8802
8802
  for (const u of s)
8803
- a += mu(u, t);
8803
+ a += pu(u, t);
8804
8804
  return a;
8805
8805
  }
8806
- function mu(e, t) {
8806
+ function pu(e, t) {
8807
8807
  return t.treeAdapter.isElementNode(e) ? kh(e, t) : t.treeAdapter.isTextNode(e) ? Bh(e, t) : t.treeAdapter.isCommentNode(e) ? Uh(e, t) : t.treeAdapter.isDocumentTypeNode(e) ? Fh(e, t) : "";
8808
8808
  }
8809
8809
  function kh(e, t) {
@@ -8832,13 +8832,13 @@ function wh(e, { treeAdapter: t }) {
8832
8832
  }
8833
8833
  else
8834
8834
  a += i.name;
8835
- a += `="${nn(i.value)}"`;
8835
+ a += `="${rn(i.value)}"`;
8836
8836
  }
8837
8837
  return a;
8838
8838
  }
8839
8839
  function Bh(e, t) {
8840
8840
  const { treeAdapter: a } = t, i = a.getTextNodeContent(e), s = a.getParentNode(e), u = s && a.isElementNode(s) && a.getTagName(s);
8841
- return u && a.getNamespaceURI(s) === _.HTML && pl(u, t.scriptingEnabled) ? i : un(i);
8841
+ return u && a.getNamespaceURI(s) === _.HTML && pl(u, t.scriptingEnabled) ? i : on(i);
8842
8842
  }
8843
8843
  function Uh(e, { treeAdapter: t }) {
8844
8844
  return `<!--${t.getCommentNodeContent(e)}-->`;
@@ -8847,20 +8847,20 @@ function Fh(e, { treeAdapter: t }) {
8847
8847
  return `<!DOCTYPE ${t.getDocumentTypeNodeName(e)}>`;
8848
8848
  }
8849
8849
  function Hh(e, t) {
8850
- return Jn.parse(e, t);
8850
+ return tu.parse(e, t);
8851
8851
  }
8852
8852
  function Yh(e, t, a) {
8853
8853
  typeof e == "string" && (a = t, t = e, e = null);
8854
- const i = Jn.getFragmentParser(e, a);
8854
+ const i = tu.getFragmentParser(e, a);
8855
8855
  return i.tokenizer.write(t, !0), i.getFragment();
8856
8856
  }
8857
- function Ss(e) {
8857
+ function Os(e) {
8858
8858
  const t = e.includes('"') ? "'" : '"';
8859
8859
  return t + e + t;
8860
8860
  }
8861
8861
  function qh(e, t, a) {
8862
8862
  let i = "!DOCTYPE ";
8863
- return e && (i += e), t ? i += ` PUBLIC ${Ss(t)}` : a && (i += " SYSTEM"), a && (i += ` ${Ss(a)}`), i;
8863
+ return e && (i += e), t ? i += ` PUBLIC ${Os(t)}` : a && (i += " SYSTEM"), a && (i += ` ${Os(a)}`), i;
8864
8864
  }
8865
8865
  const ze = {
8866
8866
  // Re-exports from domhandler
@@ -8881,11 +8881,11 @@ const ze = {
8881
8881
  const c = a[o].name;
8882
8882
  i[c] = a[o].value, s[c] = a[o].namespace, u[c] = a[o].prefix;
8883
8883
  }
8884
- const r = new Di(e, i, []);
8884
+ const r = new Li(e, i, []);
8885
8885
  return r.namespace = t, r["x-attribsNamespace"] = s, r["x-attribsPrefix"] = u, r;
8886
8886
  },
8887
8887
  createCommentNode(e) {
8888
- return new Si(e);
8888
+ return new xi(e);
8889
8889
  },
8890
8890
  createTextNode(e) {
8891
8891
  return new jt(e);
@@ -8907,8 +8907,8 @@ const ze = {
8907
8907
  },
8908
8908
  setDocumentType(e, t, a, i) {
8909
8909
  const s = qh(t, a, i);
8910
- let u = e.children.find((r) => ti(r) && r.name === "!doctype");
8911
- u ? u.data = s ?? null : (u = new xi("!doctype", s), ze.appendChild(e, u)), u["x-name"] = t, u["x-publicId"] = a, u["x-systemId"] = i;
8910
+ let u = e.children.find((r) => ai(r) && r.name === "!doctype");
8911
+ u ? u.data = s ?? null : (u = new Oi("!doctype", s), ze.appendChild(e, u)), u["x-name"] = t, u["x-publicId"] = a, u["x-systemId"] = i;
8912
8912
  },
8913
8913
  setDocumentMode(e, t) {
8914
8914
  e["x-mode"] = t;
@@ -8976,7 +8976,7 @@ const ze = {
8976
8976
  },
8977
8977
  //Node types
8978
8978
  isDocumentTypeNode(e) {
8979
- return ti(e) && e.name === "!doctype";
8979
+ return ai(e) && e.name === "!doctype";
8980
8980
  },
8981
8981
  // Source code location
8982
8982
  setNodeSourceCodeLocation(e, t) {
@@ -9010,22 +9010,22 @@ function $h(e) {
9010
9010
  }
9011
9011
  return a;
9012
9012
  }
9013
- var R;
9013
+ var y;
9014
9014
  (function(e) {
9015
9015
  e[e.Tab = 9] = "Tab", e[e.NewLine = 10] = "NewLine", e[e.FormFeed = 12] = "FormFeed", e[e.CarriageReturn = 13] = "CarriageReturn", e[e.Space = 32] = "Space", e[e.ExclamationMark = 33] = "ExclamationMark", e[e.Number = 35] = "Number", e[e.Amp = 38] = "Amp", e[e.SingleQuote = 39] = "SingleQuote", e[e.DoubleQuote = 34] = "DoubleQuote", e[e.Dash = 45] = "Dash", e[e.Slash = 47] = "Slash", e[e.Zero = 48] = "Zero", e[e.Nine = 57] = "Nine", e[e.Semi = 59] = "Semi", e[e.Lt = 60] = "Lt", e[e.Eq = 61] = "Eq", e[e.Gt = 62] = "Gt", e[e.Questionmark = 63] = "Questionmark", e[e.UpperA = 65] = "UpperA", e[e.LowerA = 97] = "LowerA", e[e.UpperF = 70] = "UpperF", e[e.LowerF = 102] = "LowerF", e[e.UpperZ = 90] = "UpperZ", e[e.LowerZ = 122] = "LowerZ", e[e.LowerX = 120] = "LowerX", e[e.OpeningSquareBracket = 91] = "OpeningSquareBracket";
9016
- })(R || (R = {}));
9016
+ })(y || (y = {}));
9017
9017
  var N;
9018
9018
  (function(e) {
9019
9019
  e[e.Text = 1] = "Text", e[e.BeforeTagName = 2] = "BeforeTagName", e[e.InTagName = 3] = "InTagName", e[e.InSelfClosingTag = 4] = "InSelfClosingTag", e[e.BeforeClosingTagName = 5] = "BeforeClosingTagName", e[e.InClosingTagName = 6] = "InClosingTagName", e[e.AfterClosingTagName = 7] = "AfterClosingTagName", e[e.BeforeAttributeName = 8] = "BeforeAttributeName", e[e.InAttributeName = 9] = "InAttributeName", e[e.AfterAttributeName = 10] = "AfterAttributeName", e[e.BeforeAttributeValue = 11] = "BeforeAttributeValue", e[e.InAttributeValueDq = 12] = "InAttributeValueDq", e[e.InAttributeValueSq = 13] = "InAttributeValueSq", e[e.InAttributeValueNq = 14] = "InAttributeValueNq", e[e.BeforeDeclaration = 15] = "BeforeDeclaration", e[e.InDeclaration = 16] = "InDeclaration", e[e.InProcessingInstruction = 17] = "InProcessingInstruction", e[e.BeforeComment = 18] = "BeforeComment", e[e.CDATASequence = 19] = "CDATASequence", e[e.InSpecialComment = 20] = "InSpecialComment", e[e.InCommentLike = 21] = "InCommentLike", e[e.BeforeSpecialS = 22] = "BeforeSpecialS", e[e.BeforeSpecialT = 23] = "BeforeSpecialT", e[e.SpecialStartSequence = 24] = "SpecialStartSequence", e[e.InSpecialTag = 25] = "InSpecialTag", e[e.InEntity = 26] = "InEntity";
9020
9020
  })(N || (N = {}));
9021
9021
  function We(e) {
9022
- return e === R.Space || e === R.NewLine || e === R.Tab || e === R.FormFeed || e === R.CarriageReturn;
9022
+ return e === y.Space || e === y.NewLine || e === y.Tab || e === y.FormFeed || e === y.CarriageReturn;
9023
9023
  }
9024
9024
  function la(e) {
9025
- return e === R.Slash || e === R.Gt || We(e);
9025
+ return e === y.Slash || e === y.Gt || We(e);
9026
9026
  }
9027
9027
  function Xh(e) {
9028
- return e >= R.LowerA && e <= R.LowerZ || e >= R.UpperA && e <= R.UpperZ;
9028
+ return e >= y.LowerA && e <= y.LowerZ || e >= y.UpperA && e <= y.UpperZ;
9029
9029
  }
9030
9030
  var Fe;
9031
9031
  (function(e) {
@@ -9060,7 +9060,7 @@ const pe = {
9060
9060
  };
9061
9061
  class Gh {
9062
9062
  constructor({ xmlMode: t = !1, decodeEntities: a = !0 }, i) {
9063
- this.cbs = i, this.state = N.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = N.Text, this.isSpecial = !1, this.running = !0, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.xmlMode = t, this.decodeEntities = a, this.entityDecoder = new vi(t ? en : Li, (s, u) => this.emitCodePoint(s, u));
9063
+ this.cbs = i, this.state = N.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = N.Text, this.isSpecial = !1, this.running = !0, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.xmlMode = t, this.decodeEntities = a, this.entityDecoder = new Ri(t ? an : vi, (s, u) => this.emitCodePoint(s, u));
9064
9064
  }
9065
9065
  reset() {
9066
9066
  this.state = N.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = N.Text, this.currentSequence = void 0, this.running = !0, this.offset = 0;
@@ -9078,7 +9078,7 @@ class Gh {
9078
9078
  this.running = !0, this.index < this.buffer.length + this.offset && this.parse();
9079
9079
  }
9080
9080
  stateText(t) {
9081
- t === R.Lt || !this.decodeEntities && this.fastForwardTo(R.Lt) ? (this.index > this.sectionStart && this.cbs.ontext(this.sectionStart, this.index), this.state = N.BeforeTagName, this.sectionStart = this.index) : this.decodeEntities && t === R.Amp && this.startEntity();
9081
+ t === y.Lt || !this.decodeEntities && this.fastForwardTo(y.Lt) ? (this.index > this.sectionStart && this.cbs.ontext(this.sectionStart, this.index), this.state = N.BeforeTagName, this.sectionStart = this.index) : this.decodeEntities && t === y.Amp && this.startEntity();
9082
9082
  }
9083
9083
  stateSpecialStartSequence(t) {
9084
9084
  const a = this.sequenceIndex === this.currentSequence.length;
@@ -9099,7 +9099,7 @@ class Gh {
9099
9099
  /** Look for an end tag. For <title> tags, also decode entities. */
9100
9100
  stateInSpecialTag(t) {
9101
9101
  if (this.sequenceIndex === this.currentSequence.length) {
9102
- if (t === R.Gt || We(t)) {
9102
+ if (t === y.Gt || We(t)) {
9103
9103
  const a = this.index - this.currentSequence.length;
9104
9104
  if (this.sectionStart < a) {
9105
9105
  const i = this.index;
@@ -9110,7 +9110,7 @@ class Gh {
9110
9110
  }
9111
9111
  this.sequenceIndex = 0;
9112
9112
  }
9113
- (t | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === pe.TitleEnd ? this.decodeEntities && t === R.Amp && this.startEntity() : this.fastForwardTo(R.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(t === R.Lt);
9113
+ (t | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === pe.TitleEnd ? this.decodeEntities && t === y.Amp && this.startEntity() : this.fastForwardTo(y.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(t === y.Lt);
9114
9114
  }
9115
9115
  stateCDATASequence(t) {
9116
9116
  t === pe.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === pe.Cdata.length && (this.state = N.InCommentLike, this.currentSequence = pe.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = N.InDeclaration, this.stateInDeclaration(t));
@@ -9151,68 +9151,68 @@ class Gh {
9151
9151
  this.isSpecial = !0, this.currentSequence = t, this.sequenceIndex = a, this.state = N.SpecialStartSequence;
9152
9152
  }
9153
9153
  stateBeforeTagName(t) {
9154
- if (t === R.ExclamationMark)
9154
+ if (t === y.ExclamationMark)
9155
9155
  this.state = N.BeforeDeclaration, this.sectionStart = this.index + 1;
9156
- else if (t === R.Questionmark)
9156
+ else if (t === y.Questionmark)
9157
9157
  this.state = N.InProcessingInstruction, this.sectionStart = this.index + 1;
9158
9158
  else if (this.isTagStartChar(t)) {
9159
9159
  const a = t | 32;
9160
9160
  this.sectionStart = this.index, this.xmlMode ? this.state = N.InTagName : a === pe.ScriptEnd[2] ? this.state = N.BeforeSpecialS : a === pe.TitleEnd[2] ? this.state = N.BeforeSpecialT : this.state = N.InTagName;
9161
- } else t === R.Slash ? this.state = N.BeforeClosingTagName : (this.state = N.Text, this.stateText(t));
9161
+ } else t === y.Slash ? this.state = N.BeforeClosingTagName : (this.state = N.Text, this.stateText(t));
9162
9162
  }
9163
9163
  stateInTagName(t) {
9164
9164
  la(t) && (this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = N.BeforeAttributeName, this.stateBeforeAttributeName(t));
9165
9165
  }
9166
9166
  stateBeforeClosingTagName(t) {
9167
- We(t) || (t === R.Gt ? this.state = N.Text : (this.state = this.isTagStartChar(t) ? N.InClosingTagName : N.InSpecialComment, this.sectionStart = this.index));
9167
+ We(t) || (t === y.Gt ? this.state = N.Text : (this.state = this.isTagStartChar(t) ? N.InClosingTagName : N.InSpecialComment, this.sectionStart = this.index));
9168
9168
  }
9169
9169
  stateInClosingTagName(t) {
9170
- (t === R.Gt || We(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = N.AfterClosingTagName, this.stateAfterClosingTagName(t));
9170
+ (t === y.Gt || We(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = N.AfterClosingTagName, this.stateAfterClosingTagName(t));
9171
9171
  }
9172
9172
  stateAfterClosingTagName(t) {
9173
- (t === R.Gt || this.fastForwardTo(R.Gt)) && (this.state = N.Text, this.sectionStart = this.index + 1);
9173
+ (t === y.Gt || this.fastForwardTo(y.Gt)) && (this.state = N.Text, this.sectionStart = this.index + 1);
9174
9174
  }
9175
9175
  stateBeforeAttributeName(t) {
9176
- t === R.Gt ? (this.cbs.onopentagend(this.index), this.isSpecial ? (this.state = N.InSpecialTag, this.sequenceIndex = 0) : this.state = N.Text, this.sectionStart = this.index + 1) : t === R.Slash ? this.state = N.InSelfClosingTag : We(t) || (this.state = N.InAttributeName, this.sectionStart = this.index);
9176
+ t === y.Gt ? (this.cbs.onopentagend(this.index), this.isSpecial ? (this.state = N.InSpecialTag, this.sequenceIndex = 0) : this.state = N.Text, this.sectionStart = this.index + 1) : t === y.Slash ? this.state = N.InSelfClosingTag : We(t) || (this.state = N.InAttributeName, this.sectionStart = this.index);
9177
9177
  }
9178
9178
  stateInSelfClosingTag(t) {
9179
- t === R.Gt ? (this.cbs.onselfclosingtag(this.index), this.state = N.Text, this.sectionStart = this.index + 1, this.isSpecial = !1) : We(t) || (this.state = N.BeforeAttributeName, this.stateBeforeAttributeName(t));
9179
+ t === y.Gt ? (this.cbs.onselfclosingtag(this.index), this.state = N.Text, this.sectionStart = this.index + 1, this.isSpecial = !1) : We(t) || (this.state = N.BeforeAttributeName, this.stateBeforeAttributeName(t));
9180
9180
  }
9181
9181
  stateInAttributeName(t) {
9182
- (t === R.Eq || la(t)) && (this.cbs.onattribname(this.sectionStart, this.index), this.sectionStart = this.index, this.state = N.AfterAttributeName, this.stateAfterAttributeName(t));
9182
+ (t === y.Eq || la(t)) && (this.cbs.onattribname(this.sectionStart, this.index), this.sectionStart = this.index, this.state = N.AfterAttributeName, this.stateAfterAttributeName(t));
9183
9183
  }
9184
9184
  stateAfterAttributeName(t) {
9185
- t === R.Eq ? this.state = N.BeforeAttributeValue : t === R.Slash || t === R.Gt ? (this.cbs.onattribend(Fe.NoValue, this.sectionStart), this.sectionStart = -1, this.state = N.BeforeAttributeName, this.stateBeforeAttributeName(t)) : We(t) || (this.cbs.onattribend(Fe.NoValue, this.sectionStart), this.state = N.InAttributeName, this.sectionStart = this.index);
9185
+ t === y.Eq ? this.state = N.BeforeAttributeValue : t === y.Slash || t === y.Gt ? (this.cbs.onattribend(Fe.NoValue, this.sectionStart), this.sectionStart = -1, this.state = N.BeforeAttributeName, this.stateBeforeAttributeName(t)) : We(t) || (this.cbs.onattribend(Fe.NoValue, this.sectionStart), this.state = N.InAttributeName, this.sectionStart = this.index);
9186
9186
  }
9187
9187
  stateBeforeAttributeValue(t) {
9188
- t === R.DoubleQuote ? (this.state = N.InAttributeValueDq, this.sectionStart = this.index + 1) : t === R.SingleQuote ? (this.state = N.InAttributeValueSq, this.sectionStart = this.index + 1) : We(t) || (this.sectionStart = this.index, this.state = N.InAttributeValueNq, this.stateInAttributeValueNoQuotes(t));
9188
+ t === y.DoubleQuote ? (this.state = N.InAttributeValueDq, this.sectionStart = this.index + 1) : t === y.SingleQuote ? (this.state = N.InAttributeValueSq, this.sectionStart = this.index + 1) : We(t) || (this.sectionStart = this.index, this.state = N.InAttributeValueNq, this.stateInAttributeValueNoQuotes(t));
9189
9189
  }
9190
9190
  handleInAttributeValue(t, a) {
9191
- t === a || !this.decodeEntities && this.fastForwardTo(a) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(a === R.DoubleQuote ? Fe.Double : Fe.Single, this.index + 1), this.state = N.BeforeAttributeName) : this.decodeEntities && t === R.Amp && this.startEntity();
9191
+ t === a || !this.decodeEntities && this.fastForwardTo(a) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(a === y.DoubleQuote ? Fe.Double : Fe.Single, this.index + 1), this.state = N.BeforeAttributeName) : this.decodeEntities && t === y.Amp && this.startEntity();
9192
9192
  }
9193
9193
  stateInAttributeValueDoubleQuotes(t) {
9194
- this.handleInAttributeValue(t, R.DoubleQuote);
9194
+ this.handleInAttributeValue(t, y.DoubleQuote);
9195
9195
  }
9196
9196
  stateInAttributeValueSingleQuotes(t) {
9197
- this.handleInAttributeValue(t, R.SingleQuote);
9197
+ this.handleInAttributeValue(t, y.SingleQuote);
9198
9198
  }
9199
9199
  stateInAttributeValueNoQuotes(t) {
9200
- We(t) || t === R.Gt ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(Fe.Unquoted, this.index), this.state = N.BeforeAttributeName, this.stateBeforeAttributeName(t)) : this.decodeEntities && t === R.Amp && this.startEntity();
9200
+ We(t) || t === y.Gt ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(Fe.Unquoted, this.index), this.state = N.BeforeAttributeName, this.stateBeforeAttributeName(t)) : this.decodeEntities && t === y.Amp && this.startEntity();
9201
9201
  }
9202
9202
  stateBeforeDeclaration(t) {
9203
- t === R.OpeningSquareBracket ? (this.state = N.CDATASequence, this.sequenceIndex = 0) : this.state = t === R.Dash ? N.BeforeComment : N.InDeclaration;
9203
+ t === y.OpeningSquareBracket ? (this.state = N.CDATASequence, this.sequenceIndex = 0) : this.state = t === y.Dash ? N.BeforeComment : N.InDeclaration;
9204
9204
  }
9205
9205
  stateInDeclaration(t) {
9206
- (t === R.Gt || this.fastForwardTo(R.Gt)) && (this.cbs.ondeclaration(this.sectionStart, this.index), this.state = N.Text, this.sectionStart = this.index + 1);
9206
+ (t === y.Gt || this.fastForwardTo(y.Gt)) && (this.cbs.ondeclaration(this.sectionStart, this.index), this.state = N.Text, this.sectionStart = this.index + 1);
9207
9207
  }
9208
9208
  stateInProcessingInstruction(t) {
9209
- (t === R.Gt || this.fastForwardTo(R.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = N.Text, this.sectionStart = this.index + 1);
9209
+ (t === y.Gt || this.fastForwardTo(y.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = N.Text, this.sectionStart = this.index + 1);
9210
9210
  }
9211
9211
  stateBeforeComment(t) {
9212
- t === R.Dash ? (this.state = N.InCommentLike, this.currentSequence = pe.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = N.InDeclaration;
9212
+ t === y.Dash ? (this.state = N.InCommentLike, this.currentSequence = pe.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = N.InDeclaration;
9213
9213
  }
9214
9214
  stateInSpecialComment(t) {
9215
- (t === R.Gt || this.fastForwardTo(R.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = N.Text, this.sectionStart = this.index + 1);
9215
+ (t === y.Gt || this.fastForwardTo(y.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = N.Text, this.sectionStart = this.index + 1);
9216
9216
  }
9217
9217
  stateBeforeSpecialS(t) {
9218
9218
  const a = t | 32;
@@ -9223,7 +9223,7 @@ class Gh {
9223
9223
  a === pe.TitleEnd[3] ? this.startSpecial(pe.TitleEnd, 4) : a === pe.TextareaEnd[3] ? this.startSpecial(pe.TextareaEnd, 4) : (this.state = N.InTagName, this.stateInTagName(t));
9224
9224
  }
9225
9225
  startEntity() {
9226
- this.baseState = this.state, this.state = N.InEntity, this.entityStart = this.index, this.entityDecoder.startEntity(this.xmlMode ? Pe.Strict : this.baseState === N.Text || this.baseState === N.InSpecialTag ? Pe.Legacy : Pe.Attribute);
9226
+ this.baseState = this.state, this.state = N.InEntity, this.entityStart = this.index, this.entityDecoder.startEntity(this.xmlMode ? ke.Strict : this.baseState === N.Text || this.baseState === N.InSpecialTag ? ke.Legacy : ke.Attribute);
9227
9227
  }
9228
9228
  stateInEntity() {
9229
9229
  const t = this.entityDecoder.write(this.buffer, this.index - this.offset);
@@ -9376,7 +9376,7 @@ const bt = /* @__PURE__ */ new Set([
9376
9376
  "button",
9377
9377
  "datalist",
9378
9378
  "textarea"
9379
- ]), Z = /* @__PURE__ */ new Set(["p"]), xs = /* @__PURE__ */ new Set(["thead", "tbody"]), Os = /* @__PURE__ */ new Set(["dd", "dt"]), Ds = /* @__PURE__ */ new Set(["rt", "rp"]), Qh = /* @__PURE__ */ new Map([
9379
+ ]), Z = /* @__PURE__ */ new Set(["p"]), Ds = /* @__PURE__ */ new Set(["thead", "tbody"]), Ls = /* @__PURE__ */ new Set(["dd", "dt"]), vs = /* @__PURE__ */ new Set(["rt", "rp"]), Qh = /* @__PURE__ */ new Map([
9380
9380
  ["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
9381
9381
  ["th", /* @__PURE__ */ new Set(["th"])],
9382
9382
  ["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
@@ -9397,8 +9397,8 @@ const bt = /* @__PURE__ */ new Set([
9397
9397
  ["textarea", bt],
9398
9398
  ["option", /* @__PURE__ */ new Set(["option"])],
9399
9399
  ["optgroup", /* @__PURE__ */ new Set(["optgroup", "option"])],
9400
- ["dd", Os],
9401
- ["dt", Os],
9400
+ ["dd", Ls],
9401
+ ["dt", Ls],
9402
9402
  ["address", Z],
9403
9403
  ["article", Z],
9404
9404
  ["aside", Z],
@@ -9420,10 +9420,10 @@ const bt = /* @__PURE__ */ new Set([
9420
9420
  ["section", Z],
9421
9421
  ["table", Z],
9422
9422
  ["ul", Z],
9423
- ["rt", Ds],
9424
- ["rp", Ds],
9425
- ["tbody", xs],
9426
- ["tfoot", xs]
9423
+ ["rt", vs],
9424
+ ["rp", vs],
9425
+ ["tbody", Ds],
9426
+ ["tfoot", Ds]
9427
9427
  ]), jh = /* @__PURE__ */ new Set([
9428
9428
  "area",
9429
9429
  "base",
@@ -9444,7 +9444,7 @@ const bt = /* @__PURE__ */ new Set([
9444
9444
  "source",
9445
9445
  "track",
9446
9446
  "wbr"
9447
- ]), Ls = /* @__PURE__ */ new Set(["math", "svg"]), vs = /* @__PURE__ */ new Set([
9447
+ ]), Rs = /* @__PURE__ */ new Set(["math", "svg"]), ys = /* @__PURE__ */ new Set([
9448
9448
  "mi",
9449
9449
  "mo",
9450
9450
  "mn",
@@ -9470,7 +9470,7 @@ class Kh {
9470
9470
  /** @internal */
9471
9471
  ontextentity(t, a) {
9472
9472
  var i, s;
9473
- this.endIndex = a - 1, (s = (i = this.cbs).ontext) === null || s === void 0 || s.call(i, ai(t)), this.startIndex = a;
9473
+ this.endIndex = a - 1, (s = (i = this.cbs).ontext) === null || s === void 0 || s.call(i, ii(t)), this.startIndex = a;
9474
9474
  }
9475
9475
  /**
9476
9476
  * Checks if the current tag is a void element. Override this if you want
@@ -9494,7 +9494,7 @@ class Kh {
9494
9494
  const o = this.stack.shift();
9495
9495
  (i = (a = this.cbs).onclosetag) === null || i === void 0 || i.call(a, o, !0);
9496
9496
  }
9497
- this.isVoidElement(t) || (this.stack.unshift(t), this.htmlMode && (Ls.has(t) ? this.foreignContext.unshift(!0) : vs.has(t) && this.foreignContext.unshift(!1))), (u = (s = this.cbs).onopentagname) === null || u === void 0 || u.call(s, t), this.cbs.onopentag && (this.attribs = {});
9497
+ this.isVoidElement(t) || (this.stack.unshift(t), this.htmlMode && (Rs.has(t) ? this.foreignContext.unshift(!0) : ys.has(t) && this.foreignContext.unshift(!1))), (u = (s = this.cbs).onopentagname) === null || u === void 0 || u.call(s, t), this.cbs.onopentag && (this.attribs = {});
9498
9498
  }
9499
9499
  endOpenTag(t) {
9500
9500
  var a, i;
@@ -9509,7 +9509,7 @@ class Kh {
9509
9509
  var i, s, u, r, o, c, h, f;
9510
9510
  this.endIndex = a;
9511
9511
  let m = this.getSlice(t, a);
9512
- if (this.lowerCaseTagNames && (m = m.toLowerCase()), this.htmlMode && (Ls.has(m) || vs.has(m)) && this.foreignContext.shift(), this.isVoidElement(m))
9512
+ if (this.lowerCaseTagNames && (m = m.toLowerCase()), this.htmlMode && (Rs.has(m) || ys.has(m)) && this.foreignContext.shift(), this.isVoidElement(m))
9513
9513
  this.htmlMode && m === "br" && ((r = (u = this.cbs).onopentagname) === null || r === void 0 || r.call(u, "br"), (c = (o = this.cbs).onopentag) === null || c === void 0 || c.call(o, "br", {}, !0), (f = (h = this.cbs).onclosetag) === null || f === void 0 || f.call(h, "br", !1));
9514
9514
  else {
9515
9515
  const T = this.stack.indexOf(m);
@@ -9543,7 +9543,7 @@ class Kh {
9543
9543
  }
9544
9544
  /** @internal */
9545
9545
  onattribentity(t) {
9546
- this.attribvalue += ai(t);
9546
+ this.attribvalue += ii(t);
9547
9547
  }
9548
9548
  /** @internal */
9549
9549
  onattribend(t, a) {
@@ -9687,7 +9687,7 @@ function Zh(e, t) {
9687
9687
  const a = new Ju(void 0, t);
9688
9688
  return new Kh(a, t).end(e), a.root;
9689
9689
  }
9690
- const Jh = Dc((e, t, a, i) => t._useHtmlParser2 ? Zh(e, t) : Vh(e, t, a, i)), Rs = rl(Jh, (e, t) => t._useHtmlParser2 ? Ra(e, t) : $h(e));
9690
+ const Jh = Dc((e, t, a, i) => t._useHtmlParser2 ? Zh(e, t) : Vh(e, t, a, i)), Ms = rl(Jh, (e, t) => t._useHtmlParser2 ? Ra(e, t) : $h(e));
9691
9691
  var te = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Text = 1] = "Text", e[e.Image = 2] = "Image", e[e.Video = 3] = "Video", e[e.Icon = 4] = "Icon", e[e.Link = 5] = "Link", e[e.Block = 10] = "Block", e))(te || {});
9692
9692
  const ed = Ge({
9693
9693
  name: "CustomIcon",
@@ -9752,7 +9752,7 @@ const ad = /* @__PURE__ */ yt(ed, [["render", td]]), id = {
9752
9752
  })
9753
9753
  ]),
9754
9754
  S("div", ud, [
9755
- (B(!0), V(Ht, null, js(s.value, (T) => (B(), xt(ad, {
9755
+ (B(!0), V(Ht, null, Ks(s.value, (T) => (B(), xt(ad, {
9756
9756
  key: T,
9757
9757
  class: "w-12 h-12 mx-1 mb-2 border cursor-pointer hover:border-gray-400 hover:bg-gray-200",
9758
9758
  iconName: T,
@@ -9764,7 +9764,7 @@ const ad = /* @__PURE__ */ yt(ed, [["render", td]]), id = {
9764
9764
  ])) : K("", !0);
9765
9765
  }
9766
9766
  });
9767
- function ys(e) {
9767
+ function Ps(e) {
9768
9768
  return typeof e == "number" && Number.isFinite(e);
9769
9769
  }
9770
9770
  const od = /* @__PURE__ */ Ge({
@@ -9789,7 +9789,7 @@ const od = /* @__PURE__ */ Ge({
9789
9789
  width: t.width,
9790
9790
  height: t.height
9791
9791
  };
9792
- return ys(t.width) && (r.width += "px"), ys(t.height) && (r.height += "px"), r;
9792
+ return Ps(t.width) && (r.width += "px"), Ps(t.height) && (r.height += "px"), r;
9793
9793
  });
9794
9794
  async function s(r) {
9795
9795
  console.log(r, r.target);
@@ -9805,7 +9805,7 @@ const od = /* @__PURE__ */ Ge({
9805
9805
  success: 0
9806
9806
  };
9807
9807
  }
9808
- return (r, o) => (B(), V("div", zs({
9808
+ return (r, o) => (B(), V("div", Zs({
9809
9809
  style: i.value,
9810
9810
  contenteditable: "false",
9811
9811
  class: "bg-background-deep box-border cursor-pointer absolute left-0 top-0",
@@ -9837,7 +9837,7 @@ const od = /* @__PURE__ */ Ge({
9837
9837
  *
9838
9838
  * Date: 2024-04-21T07:43:05.335Z
9839
9839
  */
9840
- function Ms(e, t) {
9840
+ function ks(e, t) {
9841
9841
  var a = Object.keys(e);
9842
9842
  if (Object.getOwnPropertySymbols) {
9843
9843
  var i = Object.getOwnPropertySymbols(e);
@@ -9847,12 +9847,12 @@ function Ms(e, t) {
9847
9847
  }
9848
9848
  return a;
9849
9849
  }
9850
- function Tu(e) {
9850
+ function bu(e) {
9851
9851
  for (var t = 1; t < arguments.length; t++) {
9852
9852
  var a = arguments[t] != null ? arguments[t] : {};
9853
- t % 2 ? Ms(Object(a), !0).forEach(function(i) {
9853
+ t % 2 ? ks(Object(a), !0).forEach(function(i) {
9854
9854
  dd(e, i, a[i]);
9855
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Ms(Object(a)).forEach(function(i) {
9855
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : ks(Object(a)).forEach(function(i) {
9856
9856
  Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(a, i));
9857
9857
  });
9858
9858
  }
@@ -9868,59 +9868,59 @@ function cd(e, t) {
9868
9868
  }
9869
9869
  return (t === "string" ? String : Number)(e);
9870
9870
  }
9871
- function pu(e) {
9871
+ function gu(e) {
9872
9872
  var t = cd(e, "string");
9873
9873
  return typeof t == "symbol" ? t : t + "";
9874
9874
  }
9875
- function Ei(e) {
9875
+ function mi(e) {
9876
9876
  "@babel/helpers - typeof";
9877
- return Ei = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
9877
+ return mi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
9878
9878
  return typeof t;
9879
9879
  } : function(t) {
9880
9880
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
9881
- }, Ei(e);
9881
+ }, mi(e);
9882
9882
  }
9883
9883
  function ld(e, t) {
9884
9884
  if (!(e instanceof t))
9885
9885
  throw new TypeError("Cannot call a class as a function");
9886
9886
  }
9887
- function Ps(e, t) {
9887
+ function ws(e, t) {
9888
9888
  for (var a = 0; a < t.length; a++) {
9889
9889
  var i = t[a];
9890
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, pu(i.key), i);
9890
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, gu(i.key), i);
9891
9891
  }
9892
9892
  }
9893
9893
  function hd(e, t, a) {
9894
- return t && Ps(e.prototype, t), a && Ps(e, a), Object.defineProperty(e, "prototype", {
9894
+ return t && ws(e.prototype, t), a && ws(e, a), Object.defineProperty(e, "prototype", {
9895
9895
  writable: !1
9896
9896
  }), e;
9897
9897
  }
9898
9898
  function dd(e, t, a) {
9899
- return t = pu(t), t in e ? Object.defineProperty(e, t, {
9899
+ return t = gu(t), t in e ? Object.defineProperty(e, t, {
9900
9900
  value: a,
9901
9901
  enumerable: !0,
9902
9902
  configurable: !0,
9903
9903
  writable: !0
9904
9904
  }) : e[t] = a, e;
9905
9905
  }
9906
- function bu(e) {
9906
+ function _u(e) {
9907
9907
  return fd(e) || Ed(e) || md(e) || Td();
9908
9908
  }
9909
9909
  function fd(e) {
9910
- if (Array.isArray(e)) return mi(e);
9910
+ if (Array.isArray(e)) return Ti(e);
9911
9911
  }
9912
9912
  function Ed(e) {
9913
9913
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
9914
9914
  }
9915
9915
  function md(e, t) {
9916
9916
  if (e) {
9917
- if (typeof e == "string") return mi(e, t);
9917
+ if (typeof e == "string") return Ti(e, t);
9918
9918
  var a = Object.prototype.toString.call(e).slice(8, -1);
9919
9919
  if (a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set") return Array.from(e);
9920
- if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return mi(e, t);
9920
+ if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return Ti(e, t);
9921
9921
  }
9922
9922
  }
9923
- function mi(e, t) {
9923
+ function Ti(e, t) {
9924
9924
  (t == null || t > e.length) && (t = e.length);
9925
9925
  for (var a = 0, i = new Array(t); a < t; a++) i[a] = e[a];
9926
9926
  return i;
@@ -9929,12 +9929,12 @@ function Td() {
9929
9929
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
9930
9930
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
9931
9931
  }
9932
- var Ya = typeof window < "u" && typeof window.document < "u", qe = Ya ? window : {}, Gi = Ya && qe.document.documentElement ? "ontouchstart" in qe.document.documentElement : !1, Qi = Ya ? "PointerEvent" in qe : !1, ae = "cropper", ji = "all", gu = "crop", _u = "move", Au = "zoom", ut = "e", rt = "w", gt = "s", Qe = "n", wt = "ne", Bt = "nw", Ut = "se", Ft = "sw", Ti = "".concat(ae, "-crop"), ks = "".concat(ae, "-disabled"), Oe = "".concat(ae, "-hidden"), ws = "".concat(ae, "-hide"), pd = "".concat(ae, "-invisible"), Oa = "".concat(ae, "-modal"), pi = "".concat(ae, "-move"), ta = "".concat(ae, "Action"), ha = "".concat(ae, "Preview"), zi = "crop", Nu = "move", Iu = "none", bi = "crop", gi = "cropend", _i = "cropmove", Ai = "cropstart", Bs = "dblclick", bd = Gi ? "touchstart" : "mousedown", gd = Gi ? "touchmove" : "mousemove", _d = Gi ? "touchend touchcancel" : "mouseup", Us = Qi ? "pointerdown" : bd, Fs = Qi ? "pointermove" : gd, Hs = Qi ? "pointerup pointercancel" : _d, Ys = "ready", qs = "resize", Vs = "wheel", Ni = "zoom", Ws = "image/jpeg", Ad = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, Nd = /^data:/, Id = /^data:image\/jpeg;base64,/, Cd = /^img|canvas$/i, Cu = 200, Su = 100, $s = {
9932
+ var Ya = typeof window < "u" && typeof window.document < "u", qe = Ya ? window : {}, Qi = Ya && qe.document.documentElement ? "ontouchstart" in qe.document.documentElement : !1, ji = Ya ? "PointerEvent" in qe : !1, ae = "cropper", zi = "all", Au = "crop", Nu = "move", Iu = "zoom", ut = "e", rt = "w", gt = "s", Qe = "n", wt = "ne", Bt = "nw", Ut = "se", Ft = "sw", pi = "".concat(ae, "-crop"), Bs = "".concat(ae, "-disabled"), Oe = "".concat(ae, "-hidden"), Us = "".concat(ae, "-hide"), pd = "".concat(ae, "-invisible"), Oa = "".concat(ae, "-modal"), bi = "".concat(ae, "-move"), ta = "".concat(ae, "Action"), ha = "".concat(ae, "Preview"), Ki = "crop", Cu = "move", Su = "none", gi = "crop", _i = "cropend", Ai = "cropmove", Ni = "cropstart", Fs = "dblclick", bd = Qi ? "touchstart" : "mousedown", gd = Qi ? "touchmove" : "mousemove", _d = Qi ? "touchend touchcancel" : "mouseup", Hs = ji ? "pointerdown" : bd, Ys = ji ? "pointermove" : gd, qs = ji ? "pointerup pointercancel" : _d, Vs = "ready", Ws = "resize", $s = "wheel", Ii = "zoom", Xs = "image/jpeg", Ad = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, Nd = /^data:/, Id = /^data:image\/jpeg;base64,/, Cd = /^img|canvas$/i, xu = 200, Ou = 100, Gs = {
9933
9933
  // Define the view mode of the cropper
9934
9934
  viewMode: 0,
9935
9935
  // 0, 1, 2, 3
9936
9936
  // Define the dragging mode of the cropper
9937
- dragMode: zi,
9937
+ dragMode: Ki,
9938
9938
  // 'crop', 'move' or 'none'
9939
9939
  // Define the initial aspect ratio of the crop box
9940
9940
  initialAspectRatio: NaN,
@@ -9991,8 +9991,8 @@ var Ya = typeof window < "u" && typeof window.document < "u", qe = Ya ? window :
9991
9991
  minCanvasHeight: 0,
9992
9992
  minCropBoxWidth: 0,
9993
9993
  minCropBoxHeight: 0,
9994
- minContainerWidth: Cu,
9995
- minContainerHeight: Su,
9994
+ minContainerWidth: xu,
9995
+ minContainerHeight: Ou,
9996
9996
  // Shortcuts of events
9997
9997
  ready: null,
9998
9998
  cropstart: null,
@@ -10004,14 +10004,14 @@ var Ya = typeof window < "u" && typeof window.document < "u", qe = Ya ? window :
10004
10004
  function W(e) {
10005
10005
  return typeof e == "number" && !xd(e);
10006
10006
  }
10007
- var Xs = function(t) {
10007
+ var Qs = function(t) {
10008
10008
  return t > 0 && t < 1 / 0;
10009
10009
  };
10010
10010
  function Za(e) {
10011
10011
  return typeof e > "u";
10012
10012
  }
10013
10013
  function Et(e) {
10014
- return Ei(e) === "object" && e !== null;
10014
+ return mi(e) === "object" && e !== null;
10015
10015
  }
10016
10016
  var Od = Object.prototype.hasOwnProperty;
10017
10017
  function _t(e) {
@@ -10028,11 +10028,11 @@ function Se(e) {
10028
10028
  return typeof e == "function";
10029
10029
  }
10030
10030
  var Dd = Array.prototype.slice;
10031
- function xu(e) {
10031
+ function Du(e) {
10032
10032
  return Array.from ? Array.from(e) : Dd.call(e);
10033
10033
  }
10034
- function ce(e, t) {
10035
- return e && Se(t) && (Array.isArray(e) || W(e.length) ? xu(e).forEach(function(a, i) {
10034
+ function le(e, t) {
10035
+ return e && Se(t) && (Array.isArray(e) || W(e.length) ? Du(e).forEach(function(a, i) {
10036
10036
  t.call(e, a, i, e);
10037
10037
  }) : Et(e) && Object.keys(e).forEach(function(a) {
10038
10038
  t.call(e, e[a], a, e);
@@ -10054,7 +10054,7 @@ function It(e) {
10054
10054
  var vd = /^width|height|left|top|marginLeft|marginTop$/;
10055
10055
  function et(e, t) {
10056
10056
  var a = e.style;
10057
- ce(t, function(i, s) {
10057
+ le(t, function(i, s) {
10058
10058
  vd.test(s) && W(i) && (i = "".concat(i, "px")), a[s] = i;
10059
10059
  });
10060
10060
  }
@@ -10064,7 +10064,7 @@ function Rd(e, t) {
10064
10064
  function Ee(e, t) {
10065
10065
  if (t) {
10066
10066
  if (W(e.length)) {
10067
- ce(e, function(i) {
10067
+ le(e, function(i) {
10068
10068
  Ee(i, t);
10069
10069
  });
10070
10070
  return;
@@ -10080,7 +10080,7 @@ function Ee(e, t) {
10080
10080
  function Ye(e, t) {
10081
10081
  if (t) {
10082
10082
  if (W(e.length)) {
10083
- ce(e, function(a) {
10083
+ le(e, function(a) {
10084
10084
  Ye(a, t);
10085
10085
  });
10086
10086
  return;
@@ -10095,7 +10095,7 @@ function Ye(e, t) {
10095
10095
  function At(e, t, a) {
10096
10096
  if (t) {
10097
10097
  if (W(e.length)) {
10098
- ce(e, function(i) {
10098
+ le(e, function(i) {
10099
10099
  At(i, t, a);
10100
10100
  });
10101
10101
  return;
@@ -10104,14 +10104,14 @@ function At(e, t, a) {
10104
10104
  }
10105
10105
  }
10106
10106
  var yd = /([a-z\d])([A-Z])/g;
10107
- function Ki(e) {
10107
+ function Zi(e) {
10108
10108
  return e.replace(yd, "$1-$2").toLowerCase();
10109
10109
  }
10110
- function Ii(e, t) {
10111
- return Et(e[t]) ? e[t] : e.dataset ? e.dataset[t] : e.getAttribute("data-".concat(Ki(t)));
10110
+ function Ci(e, t) {
10111
+ return Et(e[t]) ? e[t] : e.dataset ? e.dataset[t] : e.getAttribute("data-".concat(Zi(t)));
10112
10112
  }
10113
10113
  function aa(e, t, a) {
10114
- Et(a) ? e[t] = a : e.dataset ? e.dataset[t] = a : e.setAttribute("data-".concat(Ki(t)), a);
10114
+ Et(a) ? e[t] = a : e.dataset ? e.dataset[t] = a : e.setAttribute("data-".concat(Zi(t)), a);
10115
10115
  }
10116
10116
  function Md(e, t) {
10117
10117
  if (Et(e[t]))
@@ -10127,9 +10127,9 @@ function Md(e, t) {
10127
10127
  e.dataset[t] = void 0;
10128
10128
  }
10129
10129
  else
10130
- e.removeAttribute("data-".concat(Ki(t)));
10130
+ e.removeAttribute("data-".concat(Zi(t)));
10131
10131
  }
10132
- var Ou = /\s\s*/, Du = function() {
10132
+ var Lu = /\s\s*/, vu = function() {
10133
10133
  var e = !1;
10134
10134
  if (Ya) {
10135
10135
  var t = !1, a = function() {
@@ -10150,20 +10150,20 @@ var Ou = /\s\s*/, Du = function() {
10150
10150
  }
10151
10151
  return e;
10152
10152
  }();
10153
- function ke(e, t, a) {
10153
+ function we(e, t, a) {
10154
10154
  var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = a;
10155
- t.trim().split(Ou).forEach(function(u) {
10156
- if (!Du) {
10155
+ t.trim().split(Lu).forEach(function(u) {
10156
+ if (!vu) {
10157
10157
  var r = e.listeners;
10158
10158
  r && r[u] && r[u][a] && (s = r[u][a], delete r[u][a], Object.keys(r[u]).length === 0 && delete r[u], Object.keys(r).length === 0 && delete e.listeners);
10159
10159
  }
10160
10160
  e.removeEventListener(u, s, i);
10161
10161
  });
10162
10162
  }
10163
- function ye(e, t, a) {
10163
+ function Me(e, t, a) {
10164
10164
  var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = a;
10165
- t.trim().split(Ou).forEach(function(u) {
10166
- if (i.once && !Du) {
10165
+ t.trim().split(Lu).forEach(function(u) {
10166
+ if (i.once && !vu) {
10167
10167
  var r = e.listeners, o = r === void 0 ? {} : r;
10168
10168
  s = function() {
10169
10169
  delete o[u][a], e.removeEventListener(u, s, i);
@@ -10183,7 +10183,7 @@ function Ct(e, t, a) {
10183
10183
  cancelable: !0
10184
10184
  }) : (i = document.createEvent("CustomEvent"), i.initCustomEvent(t, !0, !0, a)), e.dispatchEvent(i);
10185
10185
  }
10186
- function Lu(e) {
10186
+ function Ru(e) {
10187
10187
  var t = e.getBoundingClientRect();
10188
10188
  return {
10189
10189
  left: t.left + (window.pageXOffset - document.documentElement.clientLeft),
@@ -10191,11 +10191,11 @@ function Lu(e) {
10191
10191
  };
10192
10192
  }
10193
10193
  var Ja = qe.location, Pd = /^(\w+:)\/\/([^:/?#]*):?(\d*)/i;
10194
- function Gs(e) {
10194
+ function js(e) {
10195
10195
  var t = e.match(Pd);
10196
10196
  return t !== null && (t[1] !== Ja.protocol || t[2] !== Ja.hostname || t[3] !== Ja.port);
10197
10197
  }
10198
- function Qs(e) {
10198
+ function zs(e) {
10199
10199
  var t = "timestamp=".concat((/* @__PURE__ */ new Date()).getTime());
10200
10200
  return e + (e.indexOf("?") === -1 ? "?" : "&") + t;
10201
10201
  }
@@ -10210,9 +10210,9 @@ function Qt(e) {
10210
10210
  };
10211
10211
  }
10212
10212
  function kd(e) {
10213
- var t = Tu({}, e), a = 0;
10214
- return ce(e, function(i, s) {
10215
- delete t[s], ce(t, function(u) {
10213
+ var t = bu({}, e), a = 0;
10214
+ return le(e, function(i, s) {
10215
+ delete t[s], le(t, function(u) {
10216
10216
  var r = Math.abs(i.startX - u.startX), o = Math.abs(i.startY - u.startY), c = Math.abs(i.endX - u.endX), h = Math.abs(i.endY - u.endY), f = Math.sqrt(r * r + o * o), m = Math.sqrt(c * c + h * h), T = (m - f) / f;
10217
10217
  Math.abs(T) > Math.abs(a) && (a = T);
10218
10218
  });
@@ -10223,14 +10223,14 @@ function da(e, t) {
10223
10223
  endX: a,
10224
10224
  endY: i
10225
10225
  };
10226
- return t ? s : Tu({
10226
+ return t ? s : bu({
10227
10227
  startX: a,
10228
10228
  startY: i
10229
10229
  }, s);
10230
10230
  }
10231
10231
  function wd(e) {
10232
10232
  var t = 0, a = 0, i = 0;
10233
- return ce(e, function(s) {
10233
+ return le(e, function(s) {
10234
10234
  var u = s.startX, r = s.startY;
10235
10235
  t += u, a += r, i += 1;
10236
10236
  }), t /= i, a /= i, {
@@ -10239,7 +10239,7 @@ function wd(e) {
10239
10239
  };
10240
10240
  }
10241
10241
  function tt(e) {
10242
- var t = e.aspectRatio, a = e.height, i = e.width, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "contain", u = Xs(i), r = Xs(a);
10242
+ var t = e.aspectRatio, a = e.height, i = e.width, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "contain", u = Qs(i), r = Qs(a);
10243
10243
  if (u && r) {
10244
10244
  var o = a * t;
10245
10245
  s === "contain" && o > i || s === "cover" && o < i ? a = i / t : i = a * t;
@@ -10266,45 +10266,45 @@ function Bd(e) {
10266
10266
  };
10267
10267
  }
10268
10268
  function Ud(e, t, a, i) {
10269
- var s = t.aspectRatio, u = t.naturalWidth, r = t.naturalHeight, o = t.rotate, c = o === void 0 ? 0 : o, h = t.scaleX, f = h === void 0 ? 1 : h, m = t.scaleY, T = m === void 0 ? 1 : m, A = a.aspectRatio, I = a.naturalWidth, L = a.naturalHeight, M = i.fillColor, X = M === void 0 ? "transparent" : M, U = i.imageSmoothingEnabled, $ = U === void 0 ? !0 : U, F = i.imageSmoothingQuality, P = F === void 0 ? "low" : F, g = i.maxWidth, w = g === void 0 ? 1 / 0 : g, Q = i.maxHeight, le = Q === void 0 ? 1 / 0 : Q, ge = i.minWidth, Ie = ge === void 0 ? 0 : ge, ve = i.minHeight, _e = ve === void 0 ? 0 : ve, Ae = document.createElement("canvas"), se = Ae.getContext("2d"), Re = tt({
10269
+ var s = t.aspectRatio, u = t.naturalWidth, r = t.naturalHeight, o = t.rotate, c = o === void 0 ? 0 : o, h = t.scaleX, f = h === void 0 ? 1 : h, m = t.scaleY, T = m === void 0 ? 1 : m, A = a.aspectRatio, I = a.naturalWidth, L = a.naturalHeight, M = i.fillColor, X = M === void 0 ? "transparent" : M, U = i.imageSmoothingEnabled, $ = U === void 0 ? !0 : U, F = i.imageSmoothingQuality, P = F === void 0 ? "low" : F, g = i.maxWidth, w = g === void 0 ? 1 / 0 : g, G = i.maxHeight, oe = G === void 0 ? 1 / 0 : G, Ae = i.minWidth, Ie = Ae === void 0 ? 0 : Ae, Re = i.minHeight, be = Re === void 0 ? 0 : Re, ge = document.createElement("canvas"), se = ge.getContext("2d"), ye = tt({
10270
10270
  aspectRatio: A,
10271
10271
  width: w,
10272
- height: le
10272
+ height: oe
10273
10273
  }), x = tt({
10274
10274
  aspectRatio: A,
10275
10275
  width: Ie,
10276
- height: _e
10277
- }, "cover"), y = Math.min(Re.width, Math.max(x.width, I)), O = Math.min(Re.height, Math.max(x.height, L)), D = tt({
10276
+ height: be
10277
+ }, "cover"), R = Math.min(ye.width, Math.max(x.width, I)), O = Math.min(ye.height, Math.max(x.height, L)), D = tt({
10278
10278
  aspectRatio: s,
10279
10279
  width: w,
10280
- height: le
10280
+ height: oe
10281
10281
  }), H = tt({
10282
10282
  aspectRatio: s,
10283
10283
  width: Ie,
10284
- height: _e
10284
+ height: be
10285
10285
  }, "cover"), q = Math.min(D.width, Math.max(H.width, u)), J = Math.min(D.height, Math.max(H.height, r)), ne = [-q / 2, -J / 2, q, J];
10286
- return Ae.width = It(y), Ae.height = It(O), se.fillStyle = X, se.fillRect(0, 0, y, O), se.save(), se.translate(y / 2, O / 2), se.rotate(c * Math.PI / 180), se.scale(f, T), se.imageSmoothingEnabled = $, se.imageSmoothingQuality = P, se.drawImage.apply(se, [e].concat(bu(ne.map(function(oe) {
10287
- return Math.floor(It(oe));
10288
- })))), se.restore(), Ae;
10286
+ return ge.width = It(R), ge.height = It(O), se.fillStyle = X, se.fillRect(0, 0, R, O), se.save(), se.translate(R / 2, O / 2), se.rotate(c * Math.PI / 180), se.scale(f, T), se.imageSmoothingEnabled = $, se.imageSmoothingQuality = P, se.drawImage.apply(se, [e].concat(_u(ne.map(function(ce) {
10287
+ return Math.floor(It(ce));
10288
+ })))), se.restore(), ge;
10289
10289
  }
10290
- var vu = String.fromCharCode;
10290
+ var yu = String.fromCharCode;
10291
10291
  function Fd(e, t, a) {
10292
10292
  var i = "";
10293
10293
  a += t;
10294
10294
  for (var s = t; s < a; s += 1)
10295
- i += vu(e.getUint8(s));
10295
+ i += yu(e.getUint8(s));
10296
10296
  return i;
10297
10297
  }
10298
10298
  var Hd = /^data:.*,/;
10299
10299
  function Yd(e) {
10300
10300
  var t = e.replace(Hd, ""), a = atob(t), i = new ArrayBuffer(a.length), s = new Uint8Array(i);
10301
- return ce(s, function(u, r) {
10301
+ return le(s, function(u, r) {
10302
10302
  s[r] = a.charCodeAt(r);
10303
10303
  }), i;
10304
10304
  }
10305
10305
  function qd(e, t) {
10306
10306
  for (var a = [], i = 8192, s = new Uint8Array(e); s.length > 0; )
10307
- a.push(vu.apply(null, xu(s.subarray(0, i)))), s = s.subarray(i);
10307
+ a.push(yu.apply(null, Du(s.subarray(0, i)))), s = s.subarray(i);
10308
10308
  return "data:".concat(t, ";base64,").concat(btoa(a.join("")));
10309
10309
  }
10310
10310
  function Vd(e) {
@@ -10381,8 +10381,8 @@ var $d = {
10381
10381
  var t = this.element, a = this.options, i = this.container, s = this.cropper, u = Number(a.minContainerWidth), r = Number(a.minContainerHeight);
10382
10382
  Ee(s, Oe), Ye(t, Oe);
10383
10383
  var o = {
10384
- width: Math.max(i.offsetWidth, u >= 0 ? u : Cu),
10385
- height: Math.max(i.offsetHeight, r >= 0 ? r : Su)
10384
+ width: Math.max(i.offsetWidth, u >= 0 ? u : xu),
10385
+ height: Math.max(i.offsetHeight, r >= 0 ? r : Ou)
10386
10386
  };
10387
10387
  this.containerData = o, et(s, {
10388
10388
  width: o.width,
@@ -10471,7 +10471,7 @@ var $d = {
10471
10471
  },
10472
10472
  renderCropBox: function() {
10473
10473
  var t = this.options, a = this.containerData, i = this.cropBoxData;
10474
- (i.width > i.maxWidth || i.width < i.minWidth) && (i.left = i.oldLeft), (i.height > i.maxHeight || i.height < i.minHeight) && (i.top = i.oldTop), i.width = Math.min(Math.max(i.width, i.minWidth), i.maxWidth), i.height = Math.min(Math.max(i.height, i.minHeight), i.maxHeight), this.limitCropBox(!1, !0), i.left = Math.min(Math.max(i.left, i.minLeft), i.maxLeft), i.top = Math.min(Math.max(i.top, i.minTop), i.maxTop), i.oldLeft = i.left, i.oldTop = i.top, t.movable && t.cropBoxMovable && aa(this.face, ta, i.width >= a.width && i.height >= a.height ? _u : ji), et(this.cropBox, ie({
10474
+ (i.width > i.maxWidth || i.width < i.minWidth) && (i.left = i.oldLeft), (i.height > i.maxHeight || i.height < i.minHeight) && (i.top = i.oldTop), i.width = Math.min(Math.max(i.width, i.minWidth), i.maxWidth), i.height = Math.min(Math.max(i.height, i.minHeight), i.maxHeight), this.limitCropBox(!1, !0), i.left = Math.min(Math.max(i.left, i.minLeft), i.maxLeft), i.top = Math.min(Math.max(i.top, i.minTop), i.maxTop), i.oldLeft = i.left, i.oldTop = i.top, t.movable && t.cropBoxMovable && aa(this.face, ta, i.width >= a.width && i.height >= a.height ? Nu : zi), et(this.cropBox, ie({
10475
10475
  width: i.width,
10476
10476
  height: i.height
10477
10477
  }, Qt({
@@ -10480,14 +10480,14 @@ var $d = {
10480
10480
  }))), this.cropped && this.limited && this.limitCanvas(!0, !0), this.disabled || this.output();
10481
10481
  },
10482
10482
  output: function() {
10483
- this.preview(), Ct(this.element, bi, this.getData());
10483
+ this.preview(), Ct(this.element, gi, this.getData());
10484
10484
  }
10485
10485
  }, Xd = {
10486
10486
  initPreview: function() {
10487
10487
  var t = this.element, a = this.crossOrigin, i = this.options.preview, s = a ? this.crossOriginUrl : this.url, u = t.alt || "The image to preview", r = document.createElement("img");
10488
10488
  if (a && (r.crossOrigin = a), r.src = s, r.alt = u, this.viewBox.appendChild(r), this.viewBoxImage = r, !!i) {
10489
10489
  var o = i;
10490
- typeof i == "string" ? o = t.ownerDocument.querySelectorAll(i) : i.querySelector && (o = [i]), this.previews = o, ce(o, function(c) {
10490
+ typeof i == "string" ? o = t.ownerDocument.querySelectorAll(i) : i.querySelector && (o = [i]), this.previews = o, le(o, function(c) {
10491
10491
  var h = document.createElement("img");
10492
10492
  aa(c, ha, {
10493
10493
  width: c.offsetWidth,
@@ -10498,8 +10498,8 @@ var $d = {
10498
10498
  }
10499
10499
  },
10500
10500
  resetPreview: function() {
10501
- ce(this.previews, function(t) {
10502
- var a = Ii(t, ha);
10501
+ le(this.previews, function(t) {
10502
+ var a = Ci(t, ha);
10503
10503
  et(t, {
10504
10504
  width: a.width,
10505
10505
  height: a.height
@@ -10514,8 +10514,8 @@ var $d = {
10514
10514
  }, Qt(ie({
10515
10515
  translateX: -c,
10516
10516
  translateY: -h
10517
- }, t)))), ce(this.previews, function(f) {
10518
- var m = Ii(f, ha), T = m.width, A = m.height, I = T, L = A, M = 1;
10517
+ }, t)))), le(this.previews, function(f) {
10518
+ var m = Ci(f, ha), T = m.width, A = m.height, I = T, L = A, M = 1;
10519
10519
  s && (M = T / s, L = u * M), u && L > A && (M = A / u, I = s * M, L = A), et(f, {
10520
10520
  width: I,
10521
10521
  height: L
@@ -10531,17 +10531,17 @@ var $d = {
10531
10531
  }, Gd = {
10532
10532
  bind: function() {
10533
10533
  var t = this.element, a = this.options, i = this.cropper;
10534
- Se(a.cropstart) && ye(t, Ai, a.cropstart), Se(a.cropmove) && ye(t, _i, a.cropmove), Se(a.cropend) && ye(t, gi, a.cropend), Se(a.crop) && ye(t, bi, a.crop), Se(a.zoom) && ye(t, Ni, a.zoom), ye(i, Us, this.onCropStart = this.cropStart.bind(this)), a.zoomable && a.zoomOnWheel && ye(i, Vs, this.onWheel = this.wheel.bind(this), {
10534
+ Se(a.cropstart) && Me(t, Ni, a.cropstart), Se(a.cropmove) && Me(t, Ai, a.cropmove), Se(a.cropend) && Me(t, _i, a.cropend), Se(a.crop) && Me(t, gi, a.crop), Se(a.zoom) && Me(t, Ii, a.zoom), Me(i, Hs, this.onCropStart = this.cropStart.bind(this)), a.zoomable && a.zoomOnWheel && Me(i, $s, this.onWheel = this.wheel.bind(this), {
10535
10535
  passive: !1,
10536
10536
  capture: !0
10537
- }), a.toggleDragModeOnDblclick && ye(i, Bs, this.onDblclick = this.dblclick.bind(this)), ye(t.ownerDocument, Fs, this.onCropMove = this.cropMove.bind(this)), ye(t.ownerDocument, Hs, this.onCropEnd = this.cropEnd.bind(this)), a.responsive && ye(window, qs, this.onResize = this.resize.bind(this));
10537
+ }), a.toggleDragModeOnDblclick && Me(i, Fs, this.onDblclick = this.dblclick.bind(this)), Me(t.ownerDocument, Ys, this.onCropMove = this.cropMove.bind(this)), Me(t.ownerDocument, qs, this.onCropEnd = this.cropEnd.bind(this)), a.responsive && Me(window, Ws, this.onResize = this.resize.bind(this));
10538
10538
  },
10539
10539
  unbind: function() {
10540
10540
  var t = this.element, a = this.options, i = this.cropper;
10541
- Se(a.cropstart) && ke(t, Ai, a.cropstart), Se(a.cropmove) && ke(t, _i, a.cropmove), Se(a.cropend) && ke(t, gi, a.cropend), Se(a.crop) && ke(t, bi, a.crop), Se(a.zoom) && ke(t, Ni, a.zoom), ke(i, Us, this.onCropStart), a.zoomable && a.zoomOnWheel && ke(i, Vs, this.onWheel, {
10541
+ Se(a.cropstart) && we(t, Ni, a.cropstart), Se(a.cropmove) && we(t, Ai, a.cropmove), Se(a.cropend) && we(t, _i, a.cropend), Se(a.crop) && we(t, gi, a.crop), Se(a.zoom) && we(t, Ii, a.zoom), we(i, Hs, this.onCropStart), a.zoomable && a.zoomOnWheel && we(i, $s, this.onWheel, {
10542
10542
  passive: !1,
10543
10543
  capture: !0
10544
- }), a.toggleDragModeOnDblclick && ke(i, Bs, this.onDblclick), ke(t.ownerDocument, Fs, this.onCropMove), ke(t.ownerDocument, Hs, this.onCropEnd), a.responsive && ke(window, qs, this.onResize);
10544
+ }), a.toggleDragModeOnDblclick && we(i, Fs, this.onDblclick), we(t.ownerDocument, Ys, this.onCropMove), we(t.ownerDocument, qs, this.onCropEnd), a.responsive && we(window, Ws, this.onResize);
10545
10545
  }
10546
10546
  }, Qd = {
10547
10547
  resize: function() {
@@ -10549,16 +10549,16 @@ var $d = {
10549
10549
  var t = this.options, a = this.container, i = this.containerData, s = a.offsetWidth / i.width, u = a.offsetHeight / i.height, r = Math.abs(s - 1) > Math.abs(u - 1) ? s : u;
10550
10550
  if (r !== 1) {
10551
10551
  var o, c;
10552
- t.restore && (o = this.getCanvasData(), c = this.getCropBoxData()), this.render(), t.restore && (this.setCanvasData(ce(o, function(h, f) {
10552
+ t.restore && (o = this.getCanvasData(), c = this.getCropBoxData()), this.render(), t.restore && (this.setCanvasData(le(o, function(h, f) {
10553
10553
  o[f] = h * r;
10554
- })), this.setCropBoxData(ce(c, function(h, f) {
10554
+ })), this.setCropBoxData(le(c, function(h, f) {
10555
10555
  c[f] = h * r;
10556
10556
  })));
10557
10557
  }
10558
10558
  }
10559
10559
  },
10560
10560
  dblclick: function() {
10561
- this.disabled || this.options.dragMode === Iu || this.setDragMode(Rd(this.dragBox, Ti) ? Nu : zi);
10561
+ this.disabled || this.options.dragMode === Su || this.setDragMode(Rd(this.dragBox, pi) ? Cu : Ki);
10562
10562
  },
10563
10563
  wheel: function(t) {
10564
10564
  var a = this, i = Number(this.options.wheelZoomRatio) || 0.1, s = 1;
@@ -10571,22 +10571,22 @@ var $d = {
10571
10571
  if (!(this.disabled || (t.type === "mousedown" || t.type === "pointerdown" && t.pointerType === "mouse") && // No primary button (Usually the left button)
10572
10572
  (W(a) && a !== 1 || W(i) && i !== 0 || t.ctrlKey))) {
10573
10573
  var s = this.options, u = this.pointers, r;
10574
- t.changedTouches ? ce(t.changedTouches, function(o) {
10574
+ t.changedTouches ? le(t.changedTouches, function(o) {
10575
10575
  u[o.identifier] = da(o);
10576
- }) : u[t.pointerId || 0] = da(t), Object.keys(u).length > 1 && s.zoomable && s.zoomOnTouch ? r = Au : r = Ii(t.target, ta), Ad.test(r) && Ct(this.element, Ai, {
10576
+ }) : u[t.pointerId || 0] = da(t), Object.keys(u).length > 1 && s.zoomable && s.zoomOnTouch ? r = Iu : r = Ci(t.target, ta), Ad.test(r) && Ct(this.element, Ni, {
10577
10577
  originalEvent: t,
10578
10578
  action: r
10579
- }) !== !1 && (t.preventDefault(), this.action = r, this.cropping = !1, r === gu && (this.cropping = !0, Ee(this.dragBox, Oa)));
10579
+ }) !== !1 && (t.preventDefault(), this.action = r, this.cropping = !1, r === Au && (this.cropping = !0, Ee(this.dragBox, Oa)));
10580
10580
  }
10581
10581
  },
10582
10582
  cropMove: function(t) {
10583
10583
  var a = this.action;
10584
10584
  if (!(this.disabled || !a)) {
10585
10585
  var i = this.pointers;
10586
- t.preventDefault(), Ct(this.element, _i, {
10586
+ t.preventDefault(), Ct(this.element, Ai, {
10587
10587
  originalEvent: t,
10588
10588
  action: a
10589
- }) !== !1 && (t.changedTouches ? ce(t.changedTouches, function(s) {
10589
+ }) !== !1 && (t.changedTouches ? le(t.changedTouches, function(s) {
10590
10590
  ie(i[s.identifier] || {}, da(s, !0));
10591
10591
  }) : ie(i[t.pointerId || 0] || {}, da(t, !0)), this.change(t));
10592
10592
  }
@@ -10594,9 +10594,9 @@ var $d = {
10594
10594
  cropEnd: function(t) {
10595
10595
  if (!this.disabled) {
10596
10596
  var a = this.action, i = this.pointers;
10597
- t.changedTouches ? ce(t.changedTouches, function(s) {
10597
+ t.changedTouches ? le(t.changedTouches, function(s) {
10598
10598
  delete i[s.identifier];
10599
- }) : delete i[t.pointerId || 0], a && (t.preventDefault(), Object.keys(i).length || (this.action = ""), this.cropping && (this.cropping = !1, At(this.dragBox, Oa, this.cropped && this.options.modal)), Ct(this.element, gi, {
10599
+ }) : delete i[t.pointerId || 0], a && (t.preventDefault(), Object.keys(i).length || (this.action = ""), this.cropping && (this.cropping = !1, At(this.dragBox, Oa, this.cropped && this.options.modal)), Ct(this.element, _i, {
10600
10600
  originalEvent: t,
10601
10601
  action: a
10602
10602
  }));
@@ -10609,8 +10609,8 @@ var $d = {
10609
10609
  var P = r[Object.keys(r)[0]], g = {
10610
10610
  x: P.endX - P.startX,
10611
10611
  y: P.endY - P.startY
10612
- }, w = function(le) {
10613
- switch (le) {
10612
+ }, w = function(oe) {
10613
+ switch (oe) {
10614
10614
  case ut:
10615
10615
  A + g.x > X && (g.x = X - A);
10616
10616
  break;
@@ -10626,7 +10626,7 @@ var $d = {
10626
10626
  }
10627
10627
  };
10628
10628
  switch (o) {
10629
- case ji:
10629
+ case zi:
10630
10630
  h += g.x, f += g.y;
10631
10631
  break;
10632
10632
  case ut:
@@ -10701,22 +10701,22 @@ var $d = {
10701
10701
  w(gt), w(ut), g.x >= 0 ? A < X ? m += g.x : g.y >= 0 && I >= U && ($ = !1) : m += g.x, g.y >= 0 ? I < U && (T += g.y) : T += g.y;
10702
10702
  m < 0 && T < 0 ? (o = Bt, T = -T, m = -m, f -= T, h -= m) : m < 0 ? (o = Ft, m = -m, h -= m) : T < 0 && (o = wt, T = -T, f -= T);
10703
10703
  break;
10704
- case _u:
10704
+ case Nu:
10705
10705
  this.move(g.x, g.y), $ = !1;
10706
10706
  break;
10707
- case Au:
10707
+ case Iu:
10708
10708
  this.zoom(kd(r), t), $ = !1;
10709
10709
  break;
10710
- case gu:
10710
+ case Au:
10711
10711
  if (!g.x || !g.y) {
10712
10712
  $ = !1;
10713
10713
  break;
10714
10714
  }
10715
- F = Lu(this.cropper), h = P.startX - F.left, f = P.startY - F.top, m = u.minWidth, T = u.minHeight, g.x > 0 ? o = g.y > 0 ? Ut : wt : g.x < 0 && (h -= m, o = g.y > 0 ? Ft : Bt), g.y < 0 && (f -= T), this.cropped || (Ye(this.cropBox, Oe), this.cropped = !0, this.limited && this.limitCropBox(!0, !0));
10715
+ F = Ru(this.cropper), h = P.startX - F.left, f = P.startY - F.top, m = u.minWidth, T = u.minHeight, g.x > 0 ? o = g.y > 0 ? Ut : wt : g.x < 0 && (h -= m, o = g.y > 0 ? Ft : Bt), g.y < 0 && (f -= T), this.cropped || (Ye(this.cropBox, Oe), this.cropped = !0, this.limited && this.limitCropBox(!0, !0));
10716
10716
  break;
10717
10717
  }
10718
- $ && (u.width = m, u.height = T, u.left = h, u.top = f, this.action = o, this.renderCropBox()), ce(r, function(Q) {
10719
- Q.startX = Q.endX, Q.startY = Q.endY;
10718
+ $ && (u.width = m, u.height = T, u.left = h, u.top = f, this.action = o, this.renderCropBox()), le(r, function(G) {
10719
+ G.startX = G.endX, G.startY = G.endY;
10720
10720
  });
10721
10721
  }
10722
10722
  }, zd = {
@@ -10745,17 +10745,17 @@ var $d = {
10745
10745
  */
10746
10746
  replace: function(t) {
10747
10747
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
10748
- return !this.disabled && t && (this.isImg && (this.element.src = t), a ? (this.url = t, this.image.src = t, this.ready && (this.viewBoxImage.src = t, ce(this.previews, function(i) {
10748
+ return !this.disabled && t && (this.isImg && (this.element.src = t), a ? (this.url = t, this.image.src = t, this.ready && (this.viewBoxImage.src = t, le(this.previews, function(i) {
10749
10749
  i.getElementsByTagName("img")[0].src = t;
10750
10750
  }))) : (this.isImg && (this.replaced = !0), this.options.data = null, this.uncreate(), this.load(t))), this;
10751
10751
  },
10752
10752
  // Enable (unfreeze) the cropper
10753
10753
  enable: function() {
10754
- return this.ready && this.disabled && (this.disabled = !1, Ye(this.cropper, ks)), this;
10754
+ return this.ready && this.disabled && (this.disabled = !1, Ye(this.cropper, Bs)), this;
10755
10755
  },
10756
10756
  // Disable (freeze) the cropper
10757
10757
  disable: function() {
10758
- return this.ready && !this.disabled && (this.disabled = !0, Ee(this.cropper, ks)), this;
10758
+ return this.ready && !this.disabled && (this.disabled = !0, Ee(this.cropper, Bs)), this;
10759
10759
  },
10760
10760
  /**
10761
10761
  * Destroy the cropper and remove the instance from the image
@@ -10806,14 +10806,14 @@ var $d = {
10806
10806
  var s = this.options, u = this.canvasData, r = u.width, o = u.height, c = u.naturalWidth, h = u.naturalHeight;
10807
10807
  if (t = Number(t), t >= 0 && this.ready && !this.disabled && s.zoomable) {
10808
10808
  var f = c * t, m = h * t;
10809
- if (Ct(this.element, Ni, {
10809
+ if (Ct(this.element, Ii, {
10810
10810
  ratio: t,
10811
10811
  oldRatio: r / c,
10812
10812
  originalEvent: i
10813
10813
  }) === !1)
10814
10814
  return this;
10815
10815
  if (i) {
10816
- var T = this.pointers, A = Lu(this.cropper), I = T && Object.keys(T).length ? wd(T) : {
10816
+ var T = this.pointers, A = Ru(this.cropper), I = T && Object.keys(T).length ? wd(T) : {
10817
10817
  pageX: i.pageX,
10818
10818
  pageY: i.pageY
10819
10819
  };
@@ -10882,7 +10882,7 @@ var $d = {
10882
10882
  height: u.height
10883
10883
  };
10884
10884
  var o = i.width / i.naturalWidth;
10885
- if (ce(r, function(f, m) {
10885
+ if (le(r, function(f, m) {
10886
10886
  r[m] = f / o;
10887
10887
  }), t) {
10888
10888
  var c = Math.round(r.y + r.height), h = Math.round(r.x + r.width);
@@ -10932,7 +10932,7 @@ var $d = {
10932
10932
  */
10933
10933
  getCanvasData: function() {
10934
10934
  var t = this.canvasData, a = {};
10935
- return this.ready && ce(["left", "top", "width", "height", "naturalWidth", "naturalHeight"], function(i) {
10935
+ return this.ready && le(["left", "top", "width", "height", "naturalWidth", "naturalHeight"], function(i) {
10936
10936
  a[i] = t[i];
10937
10937
  }), a;
10938
10938
  },
@@ -10999,14 +10999,14 @@ var $d = {
10999
10999
  M.width = It(I), M.height = It(L), X.fillStyle = t.fillColor || "transparent", X.fillRect(0, 0, I, L);
11000
11000
  var U = t.imageSmoothingEnabled, $ = U === void 0 ? !0 : U, F = t.imageSmoothingQuality;
11001
11001
  X.imageSmoothingEnabled = $, F && (X.imageSmoothingQuality = F);
11002
- var P = i.width, g = i.height, w = u, Q = r, le, ge, Ie, ve, _e, Ae;
11003
- w <= -o || w > P ? (w = 0, le = 0, Ie = 0, _e = 0) : w <= 0 ? (Ie = -w, w = 0, le = Math.min(P, o + w), _e = le) : w <= P && (Ie = 0, le = Math.min(o, P - w), _e = le), le <= 0 || Q <= -c || Q > g ? (Q = 0, ge = 0, ve = 0, Ae = 0) : Q <= 0 ? (ve = -Q, Q = 0, ge = Math.min(g, c + Q), Ae = ge) : Q <= g && (ve = 0, ge = Math.min(c, g - Q), Ae = ge);
11004
- var se = [w, Q, le, ge];
11005
- if (_e > 0 && Ae > 0) {
11006
- var Re = I / o;
11007
- se.push(Ie * Re, ve * Re, _e * Re, Ae * Re);
11008
- }
11009
- return X.drawImage.apply(X, [i].concat(bu(se.map(function(x) {
11002
+ var P = i.width, g = i.height, w = u, G = r, oe, Ae, Ie, Re, be, ge;
11003
+ w <= -o || w > P ? (w = 0, oe = 0, Ie = 0, be = 0) : w <= 0 ? (Ie = -w, w = 0, oe = Math.min(P, o + w), be = oe) : w <= P && (Ie = 0, oe = Math.min(o, P - w), be = oe), oe <= 0 || G <= -c || G > g ? (G = 0, Ae = 0, Re = 0, ge = 0) : G <= 0 ? (Re = -G, G = 0, Ae = Math.min(g, c + G), ge = Ae) : G <= g && (Re = 0, Ae = Math.min(c, g - G), ge = Ae);
11004
+ var se = [w, G, oe, Ae];
11005
+ if (be > 0 && ge > 0) {
11006
+ var ye = I / o;
11007
+ se.push(Ie * ye, Re * ye, be * ye, ge * ye);
11008
+ }
11009
+ return X.drawImage.apply(X, [i].concat(_u(se.map(function(x) {
11010
11010
  return Math.floor(It(x));
11011
11011
  })))), M;
11012
11012
  },
@@ -11027,17 +11027,17 @@ var $d = {
11027
11027
  setDragMode: function(t) {
11028
11028
  var a = this.options, i = this.dragBox, s = this.face;
11029
11029
  if (this.ready && !this.disabled) {
11030
- var u = t === zi, r = a.movable && t === Nu;
11031
- t = u || r ? t : Iu, a.dragMode = t, aa(i, ta, t), At(i, Ti, u), At(i, pi, r), a.cropBoxMovable || (aa(s, ta, t), At(s, Ti, u), At(s, pi, r));
11030
+ var u = t === Ki, r = a.movable && t === Cu;
11031
+ t = u || r ? t : Su, a.dragMode = t, aa(i, ta, t), At(i, pi, u), At(i, bi, r), a.cropBoxMovable || (aa(s, ta, t), At(s, pi, u), At(s, bi, r));
11032
11032
  }
11033
11033
  return this;
11034
11034
  }
11035
- }, Kd = qe.Cropper, Ru = /* @__PURE__ */ function() {
11035
+ }, Kd = qe.Cropper, Mu = /* @__PURE__ */ function() {
11036
11036
  function e(t) {
11037
11037
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
11038
11038
  if (ld(this, e), !t || !Cd.test(t.tagName))
11039
11039
  throw new Error("The first argument is required and must be an <img> or <canvas> element.");
11040
- this.element = t, this.options = ie({}, $s, _t(a) && a), this.cropped = !1, this.disabled = !1, this.pointers = {}, this.ready = !1, this.reloading = !1, this.replaced = !1, this.sized = !1, this.sizing = !1, this.init();
11040
+ this.element = t, this.options = ie({}, Gs, _t(a) && a), this.cropped = !1, this.disabled = !1, this.pointers = {}, this.ready = !1, this.reloading = !1, this.replaced = !1, this.sized = !1, this.sizing = !1, this.init();
11041
11041
  }
11042
11042
  return hd(e, [{
11043
11043
  key: "init",
@@ -11069,12 +11069,12 @@ var $d = {
11069
11069
  }
11070
11070
  var r = new XMLHttpRequest(), o = this.clone.bind(this);
11071
11071
  this.reloading = !0, this.xhr = r, r.onabort = o, r.onerror = o, r.ontimeout = o, r.onprogress = function() {
11072
- r.getResponseHeader("content-type") !== Ws && r.abort();
11072
+ r.getResponseHeader("content-type") !== Xs && r.abort();
11073
11073
  }, r.onload = function() {
11074
11074
  i.read(r.response);
11075
11075
  }, r.onloadend = function() {
11076
11076
  i.reloading = !1, i.xhr = null;
11077
- }, u.checkCrossOrigin && Gs(a) && s.crossOrigin && (a = Qs(a)), r.open("GET", a, !0), r.responseType = "arraybuffer", r.withCredentials = s.crossOrigin === "use-credentials", r.send();
11077
+ }, u.checkCrossOrigin && js(a) && s.crossOrigin && (a = zs(a)), r.open("GET", a, !0), r.responseType = "arraybuffer", r.withCredentials = s.crossOrigin === "use-credentials", r.send();
11078
11078
  }
11079
11079
  }
11080
11080
  }, {
@@ -11082,7 +11082,7 @@ var $d = {
11082
11082
  value: function(a) {
11083
11083
  var i = this.options, s = this.imageData, u = Vd(a), r = 0, o = 1, c = 1;
11084
11084
  if (u > 1) {
11085
- this.url = qd(a, Ws);
11085
+ this.url = qd(a, Xs);
11086
11086
  var h = Wd(u);
11087
11087
  r = h.rotate, o = h.scaleX, c = h.scaleY;
11088
11088
  }
@@ -11092,9 +11092,9 @@ var $d = {
11092
11092
  key: "clone",
11093
11093
  value: function() {
11094
11094
  var a = this.element, i = this.url, s = a.crossOrigin, u = i;
11095
- this.options.checkCrossOrigin && Gs(i) && (s || (s = "anonymous"), u = Qs(i)), this.crossOrigin = s, this.crossOriginUrl = u;
11095
+ this.options.checkCrossOrigin && js(i) && (s || (s = "anonymous"), u = zs(i)), this.crossOrigin = s, this.crossOriginUrl = u;
11096
11096
  var r = document.createElement("img");
11097
- s && (r.crossOrigin = s), r.src = u || i, r.alt = a.alt || "The image to crop", this.image = r, r.onload = this.start.bind(this), r.onerror = this.stop.bind(this), Ee(r, ws), a.parentNode.insertBefore(r, a.nextSibling);
11097
+ s && (r.crossOrigin = s), r.src = u || i, r.alt = a.alt || "The image to crop", this.image = r, r.onload = this.start.bind(this), r.onerror = this.stop.bind(this), Ee(r, Us), a.parentNode.insertBefore(r, a.nextSibling);
11098
11098
  }
11099
11099
  }, {
11100
11100
  key: "start",
@@ -11130,9 +11130,9 @@ var $d = {
11130
11130
  var a = this.element, i = this.options, s = this.image, u = a.parentNode, r = document.createElement("div");
11131
11131
  r.innerHTML = Sd;
11132
11132
  var o = r.querySelector(".".concat(ae, "-container")), c = o.querySelector(".".concat(ae, "-canvas")), h = o.querySelector(".".concat(ae, "-drag-box")), f = o.querySelector(".".concat(ae, "-crop-box")), m = f.querySelector(".".concat(ae, "-face"));
11133
- this.container = u, this.cropper = o, this.canvas = c, this.dragBox = h, this.cropBox = f, this.viewBox = o.querySelector(".".concat(ae, "-view-box")), this.face = m, c.appendChild(s), Ee(a, Oe), u.insertBefore(o, a.nextSibling), Ye(s, ws), this.initPreview(), this.bind(), i.initialAspectRatio = Math.max(0, i.initialAspectRatio) || NaN, i.aspectRatio = Math.max(0, i.aspectRatio) || NaN, i.viewMode = Math.max(0, Math.min(3, Math.round(i.viewMode))) || 0, Ee(f, Oe), i.guides || Ee(f.getElementsByClassName("".concat(ae, "-dashed")), Oe), i.center || Ee(f.getElementsByClassName("".concat(ae, "-center")), Oe), i.background && Ee(o, "".concat(ae, "-bg")), i.highlight || Ee(m, pd), i.cropBoxMovable && (Ee(m, pi), aa(m, ta, ji)), i.cropBoxResizable || (Ee(f.getElementsByClassName("".concat(ae, "-line")), Oe), Ee(f.getElementsByClassName("".concat(ae, "-point")), Oe)), this.render(), this.ready = !0, this.setDragMode(i.dragMode), i.autoCrop && this.crop(), this.setData(i.data), Se(i.ready) && ye(a, Ys, i.ready, {
11133
+ this.container = u, this.cropper = o, this.canvas = c, this.dragBox = h, this.cropBox = f, this.viewBox = o.querySelector(".".concat(ae, "-view-box")), this.face = m, c.appendChild(s), Ee(a, Oe), u.insertBefore(o, a.nextSibling), Ye(s, Us), this.initPreview(), this.bind(), i.initialAspectRatio = Math.max(0, i.initialAspectRatio) || NaN, i.aspectRatio = Math.max(0, i.aspectRatio) || NaN, i.viewMode = Math.max(0, Math.min(3, Math.round(i.viewMode))) || 0, Ee(f, Oe), i.guides || Ee(f.getElementsByClassName("".concat(ae, "-dashed")), Oe), i.center || Ee(f.getElementsByClassName("".concat(ae, "-center")), Oe), i.background && Ee(o, "".concat(ae, "-bg")), i.highlight || Ee(m, pd), i.cropBoxMovable && (Ee(m, bi), aa(m, ta, zi)), i.cropBoxResizable || (Ee(f.getElementsByClassName("".concat(ae, "-line")), Oe), Ee(f.getElementsByClassName("".concat(ae, "-point")), Oe)), this.render(), this.ready = !0, this.setDragMode(i.dragMode), i.autoCrop && this.crop(), this.setData(i.data), Se(i.ready) && Me(a, Vs, i.ready, {
11134
11134
  once: !0
11135
- }), Ct(a, Ys);
11135
+ }), Ct(a, Vs);
11136
11136
  }
11137
11137
  }
11138
11138
  }, {
@@ -11165,11 +11165,11 @@ var $d = {
11165
11165
  }, {
11166
11166
  key: "setDefaults",
11167
11167
  value: function(a) {
11168
- ie($s, _t(a) && a);
11168
+ ie(Gs, _t(a) && a);
11169
11169
  }
11170
11170
  }]);
11171
11171
  }();
11172
- ie(Ru.prototype, $d, Xd, Gd, Qd, jd, zd);
11172
+ ie(Mu.prototype, $d, Xd, Gd, Qd, jd, zd);
11173
11173
  function Zd(e, t) {
11174
11174
  const a = e.split(",") || [], i = a[0].match(/:(.*?);/)[1], s = a[1] && atob(a[1]);
11175
11175
  let u = s && s.length;
@@ -11252,8 +11252,8 @@ const Jd = {
11252
11252
  P.name && (s.value.inputValue = P.name);
11253
11253
  const g = new FileReader();
11254
11254
  g.onload = (w) => {
11255
- var Q, le;
11256
- console.log("e?.target?.result", (Q = w == null ? void 0 : w.target) == null ? void 0 : Q.result), m((le = w == null ? void 0 : w.target) == null ? void 0 : le.result);
11255
+ var G, oe;
11256
+ console.log("e?.target?.result", (G = w == null ? void 0 : w.target) == null ? void 0 : G.result), m((oe = w == null ? void 0 : w.target) == null ? void 0 : oe.result);
11257
11257
  }, g.readAsDataURL(P);
11258
11258
  }
11259
11259
  };
@@ -11267,7 +11267,7 @@ const Jd = {
11267
11267
  function T() {
11268
11268
  const F = document.querySelector("#imgId");
11269
11269
  F && F.addEventListener("load", () => {
11270
- U(), c.value.myCropper = new Ru(
11270
+ U(), c.value.myCropper = new Mu(
11271
11271
  F,
11272
11272
  r.value
11273
11273
  );
@@ -11308,7 +11308,7 @@ const Jd = {
11308
11308
  c.value.image = "";
11309
11309
  }
11310
11310
  return t({ handleCloseCropper: L, handleOpenCropper: I }), (F, P) => {
11311
- var g, w, Q;
11311
+ var g, w, G;
11312
11312
  return A.value ? (B(), V("div", Jd, [
11313
11313
  S("div", ef, [
11314
11314
  S("div", tf, [
@@ -11355,7 +11355,7 @@ const Jd = {
11355
11355
  ]),
11356
11356
  S("div", mf, [
11357
11357
  P[4] || (P[4] = S("div", { class: "before w-[270px] h-[200px] pr-[70px] border" }, null, -1)),
11358
- S("div", Tf, " 预览画像 " + we(((g = u.value) == null ? void 0 : g.width) || "") + " " + we((w = u.value) != null && w.width ? "x" : "") + " " + we(((Q = u.value) == null ? void 0 : Q.height) || ""), 1)
11358
+ S("div", Tf, " 预览画像 " + ve(((g = u.value) == null ? void 0 : g.width) || "") + " " + ve((w = u.value) != null && w.width ? "x" : "") + " " + ve(((G = u.value) == null ? void 0 : G.height) || ""), 1)
11359
11359
  ])
11360
11360
  ])
11361
11361
  ])
@@ -11396,6 +11396,13 @@ const Jd = {
11396
11396
  icons: {
11397
11397
  type: Array,
11398
11398
  default: () => []
11399
+ },
11400
+ /**
11401
+ * 设计器模式: 网编/预览/设计, 'edit' | 'preview' | 'design'
11402
+ */
11403
+ mode: {
11404
+ type: String,
11405
+ default: "edit"
11399
11406
  }
11400
11407
  },
11401
11408
  emits: ["selectElement", "hoverElement", "updateText", "contentUpdated", "blockAction", "addIcon", "upload"],
@@ -11421,7 +11428,7 @@ const Jd = {
11421
11428
  }
11422
11429
  function U() {
11423
11430
  function O(D) {
11424
- const H = Object.entries(D.attrs || {}).map(([oe, Ve]) => `${oe}="${Ve}"`).join(" "), q = `<${D.tag}${H ? " " + H : ""}>`, J = `</${D.tag}>`, ne = (D.children || []).map((oe) => O(oe)).join("");
11431
+ const H = Object.entries(D.attrs || {}).map(([ce, Ve]) => `${ce}="${Ve}"`).join(" "), q = `<${D.tag}${H ? " " + H : ""}>`, J = `</${D.tag}>`, ne = (D.children || []).map((ce) => O(ce)).join("");
11425
11432
  return `${q}${D.editText || D.text || ""}${ne}${J}`;
11426
11433
  }
11427
11434
  return O(a.element);
@@ -11453,30 +11460,30 @@ const Jd = {
11453
11460
  function w() {
11454
11461
  i("blockAction", { action: "moveDown", element: a.element });
11455
11462
  }
11456
- function Q() {
11463
+ function G() {
11457
11464
  i("blockAction", { action: "delete", element: a.element });
11458
11465
  }
11459
- function le(O) {
11466
+ function oe(O) {
11460
11467
  i("blockAction", O), i("contentUpdated", U());
11461
11468
  }
11462
- function ge() {
11469
+ function Ae() {
11463
11470
  m.value.openModal();
11464
11471
  }
11465
11472
  function Ie(O) {
11466
11473
  i("addIcon", O, a.element), i("contentUpdated", U());
11467
11474
  }
11468
- function ve(O, D) {
11475
+ function Re(O, D) {
11469
11476
  i("addIcon", O, D), i("contentUpdated", U());
11470
11477
  }
11471
- let _e;
11472
- const Ae = z(), se = z({});
11473
- function Re(O, D) {
11478
+ let be;
11479
+ const ge = z(), se = z({});
11480
+ function ye(O, D) {
11474
11481
  if (D.rule.minImageWidth && D.rule.maxImageHeight ? (se.value.width = D.rule.minImageWidth, se.value.height = D.rule.maxImageHeight, se.value.aspectRatio = D.rule.minImageWidth / D.rule.maxImageHeight) : se.value = {}, O) {
11475
11482
  O.name;
11476
11483
  const H = new FileReader();
11477
11484
  H.onload = (q) => {
11478
11485
  var J;
11479
- _e = (J = q == null ? void 0 : q.target) == null ? void 0 : J.result, Ae.value.handleOpenCropper(se.value, _e, O.name);
11486
+ be = (J = q == null ? void 0 : q.target) == null ? void 0 : J.result, ge.value.handleOpenCropper(se.value, be, O.name);
11480
11487
  }, H.readAsDataURL(O);
11481
11488
  }
11482
11489
  }
@@ -11493,17 +11500,19 @@ const Jd = {
11493
11500
  } else
11494
11501
  D.attrs.src = O, i("upload", O, D), i("contentUpdated", U());
11495
11502
  }
11496
- const y = async (O) => {
11503
+ const R = async (O) => {
11497
11504
  };
11498
11505
  return (O, D) => {
11499
- const H = Pu("ElementRenderer", !0);
11506
+ const H = wu("ElementRenderer", !0);
11500
11507
  return B(), V(Ht, null, [
11501
- (B(), xt(ku(a.element.tag), zs({
11508
+ (B(), xt(Bu(a.element.tag), Zs({
11502
11509
  class: [
11503
- "m-2 p-1 border-dashed border",
11504
- u.value ? "border-dashed border-[1px] border-blue-500" : "",
11505
- s.value ? "border-dashed border-[1px] border-green-500 z-10 " : "",
11506
- o.value ? "border-dashed border-[1px] border-red-500" : "",
11510
+ " ",
11511
+ e.mode === "design" ? "m-2 p-1 border-dashed border-2" : "",
11512
+ // 编辑模式下显示手型
11513
+ u.value ? "border-dashed border-blue-500" : "",
11514
+ s.value ? "border-dashed border-green-500 z-10 border-2" : "",
11515
+ o.value ? "border-dashed border-red-500" : "",
11507
11516
  // 超出文字限制时显示红色边框
11508
11517
  (!u.value && !s.value && !o.value, ""),
11509
11518
  // 鼠标悬停、选中或超出文字限制时显示手型
@@ -11518,8 +11527,8 @@ const Jd = {
11518
11527
  onBlur: X,
11519
11528
  onInput: $
11520
11529
  }), {
11521
- default: Ks(() => [
11522
- wu(we(a.element.editText || a.element.text), 1),
11530
+ default: Js(() => [
11531
+ ti(ve(a.element.editText || a.element.text), 1),
11523
11532
  a.element.children && a.element.children.length ? (B(), V(Ht, { key: 0 }, [
11524
11533
  a.element.type === Ne(te).Block ? (B(), V("div", {
11525
11534
  key: 0,
@@ -11527,7 +11536,7 @@ const Jd = {
11527
11536
  class: Da(["aidition", s.value ? "flex" : ""]),
11528
11537
  contenteditable: "false"
11529
11538
  }, [
11530
- S("span", _f, we(a.element.editText || a.element.text), 1),
11539
+ S("span", _f, ve(a.element.editText || a.element.text), 1),
11531
11540
  S("div", Af, [
11532
11541
  S("span", {
11533
11542
  onClick: he(g, ["stop"])
@@ -11536,11 +11545,12 @@ const Jd = {
11536
11545
  onClick: he(w, ["stop"])
11537
11546
  }, "排后"),
11538
11547
  S("span", {
11539
- onClick: he(Q, ["stop"])
11548
+ onClick: he(G, ["stop"])
11540
11549
  }, "删除")
11541
11550
  ])
11542
11551
  ], 2)) : K("", !0),
11543
- (B(!0), V(Ht, null, js(a.element.children, (q, J) => (B(), xt(H, {
11552
+ (B(!0), V(Ht, null, Ks(a.element.children, (q, J) => (B(), xt(H, {
11553
+ mode: e.mode,
11544
11554
  icons: e.icons,
11545
11555
  key: J,
11546
11556
  element: q,
@@ -11549,10 +11559,10 @@ const Jd = {
11549
11559
  onSelectElement: A,
11550
11560
  onHoverElement: I,
11551
11561
  onUpdateText: F,
11552
- onBlockAction: le,
11553
- onAddIcon: ve,
11562
+ onBlockAction: oe,
11563
+ onAddIcon: Re,
11554
11564
  onUpload: x
11555
- }, null, 8, ["icons", "element", "selectedElement", "hoveredElement"]))), 128)),
11565
+ }, null, 8, ["mode", "icons", "element", "selectedElement", "hoveredElement"]))), 128)),
11556
11566
  a.element.type === Ne(te).Block ? (B(), V(Ht, { key: 1 }, [
11557
11567
  S("span", {
11558
11568
  class: "iconfont icon-a-tianjiaxian icon_gray_add",
@@ -11574,7 +11584,7 @@ const Jd = {
11574
11584
  class: "iconfont icon-paihou"
11575
11585
  }),
11576
11586
  S("span", {
11577
- onClick: he(Q, ["stop"]),
11587
+ onClick: he(G, ["stop"]),
11578
11588
  class: "iconfont icon-shanchu"
11579
11589
  }),
11580
11590
  S("span", {
@@ -11587,7 +11597,7 @@ const Jd = {
11587
11597
  ]),
11588
11598
  _: 1
11589
11599
  }, 16, ["class", "contenteditable"])),
11590
- a.element.type == Ne(te).Text && o.value ? (B(), V("div", Nf, we(c.value), 1)) : K("", !0),
11600
+ a.element.type == Ne(te).Text && o.value ? (B(), V("div", Nf, ve(c.value), 1)) : K("", !0),
11591
11601
  a.element.type === Ne(te).Image ? (B(), V("div", {
11592
11602
  key: 1,
11593
11603
  class: "absolute top-0 right-0 bg-white rounded shadow z-10 py-0.5 px-1",
@@ -11599,10 +11609,10 @@ const Jd = {
11599
11609
  class: "cursor-pointer"
11600
11610
  }, "上传图片", -1)),
11601
11611
  lt(od, {
11602
- customUpload: (q) => Re(q, a.element),
11612
+ customUpload: (q) => ye(q, a.element),
11603
11613
  height: a.element.rule.maxImageHeight,
11604
11614
  width: a.element.rule.minImageWidth,
11605
- uploadByImage: y
11615
+ uploadByImage: R
11606
11616
  }, null, 8, ["customUpload", "height", "width"])
11607
11617
  ])) : K("", !0),
11608
11618
  a.element.type === Ne(te).Icon ? (B(), V("div", {
@@ -11612,7 +11622,7 @@ const Jd = {
11612
11622
  }, ["stop"]))
11613
11623
  }, [
11614
11624
  S("span", {
11615
- onClick: D[4] || (D[4] = he((q) => ge(), ["stop"])),
11625
+ onClick: D[4] || (D[4] = he((q) => Ae(), ["stop"])),
11616
11626
  contenteditable: "false",
11617
11627
  class: "cursor-pointer"
11618
11628
  }, "选择图标")
@@ -11625,13 +11635,13 @@ const Jd = {
11625
11635
  }, null, 8, ["icons"]),
11626
11636
  lt(gf, {
11627
11637
  ref_key: "cropperRef",
11628
- ref: Ae,
11638
+ ref: ge,
11629
11639
  onOk: D[6] || (D[6] = (q) => x(q, a.element))
11630
11640
  }, null, 512)
11631
11641
  ], 64);
11632
11642
  };
11633
11643
  }
11634
- }), Cf = /* @__PURE__ */ yt(If, [["__scopeId", "data-v-072a458e"]]), Sf = Ge({
11644
+ }), Cf = /* @__PURE__ */ yt(If, [["__scopeId", "data-v-a7052ff5"]]), Sf = Ge({
11635
11645
  name: "GpCheckbox",
11636
11646
  props: {
11637
11647
  modelValue: {
@@ -11662,7 +11672,7 @@ function vf(e, t, a, i, s, u) {
11662
11672
  class: "custom-checkbox",
11663
11673
  "aria-checked": e.modelValue
11664
11674
  }, null, 40, Df),
11665
- S("span", Lf, we(e.label), 1)
11675
+ S("span", Lf, ve(e.label), 1)
11666
11676
  ])
11667
11677
  ]);
11668
11678
  }
@@ -11733,21 +11743,21 @@ const fa = /* @__PURE__ */ yt(Sf, [["render", vf], ["__scopeId", "data-v-68b8f27
11733
11743
  class: "text-yellow-500"
11734
11744
  };
11735
11745
  function Uf(e, t, a, i, s, u) {
11736
- return B(), xt(Bu, { name: "fade" }, {
11737
- default: Ks(() => [
11746
+ return B(), xt(Uu, { name: "fade" }, {
11747
+ default: Js(() => [
11738
11748
  e.visible ? (B(), V("div", yf, [
11739
11749
  S("div", {
11740
11750
  class: Da([e.typeClass, "message-content"])
11741
11751
  }, [
11742
11752
  e.icon ? (B(), V("span", Mf, [
11743
- Uu(e.$slots, "icon", {}, () => [
11753
+ Fu(e.$slots, "icon", {}, () => [
11744
11754
  e.type === "success" ? (B(), V("span", Pf, "✔")) : K("", !0),
11745
11755
  e.type === "error" ? (B(), V("span", kf, "✖")) : K("", !0),
11746
11756
  e.type === "info" ? (B(), V("span", wf, "ℹ")) : K("", !0),
11747
11757
  e.type === "warning" ? (B(), V("span", Bf, "⚠")) : K("", !0)
11748
11758
  ], !0)
11749
11759
  ])) : K("", !0),
11750
- S("span", null, we(e.message), 1),
11760
+ S("span", null, ve(e.message), 1),
11751
11761
  S("button", {
11752
11762
  class: "close-btn hover:text-gray-800 font-bold",
11753
11763
  onClick: t[0] || (t[0] = (...r) => e.closeMessage && e.closeMessage(...r))
@@ -11758,7 +11768,7 @@ function Uf(e, t, a, i, s, u) {
11758
11768
  _: 3
11759
11769
  });
11760
11770
  }
11761
- const Ff = /* @__PURE__ */ yt(Rf, [["render", Uf], ["__scopeId", "data-v-56476f4c"]]), St = Fu([]);
11771
+ const Ff = /* @__PURE__ */ yt(Rf, [["render", Uf], ["__scopeId", "data-v-56476f4c"]]), St = Hu([]);
11762
11772
  let ei = null;
11763
11773
  const Hf = () => {
11764
11774
  const e = document.createElement("div");
@@ -11766,7 +11776,7 @@ const Hf = () => {
11766
11776
  }, Yf = () => {
11767
11777
  if (ei) return;
11768
11778
  const e = Hf();
11769
- ei = Hu({
11779
+ ei = Yu({
11770
11780
  setup() {
11771
11781
  return {
11772
11782
  messageQueue: St
@@ -11784,22 +11794,22 @@ const Hf = () => {
11784
11794
  "bottom-center": "bottom-4 left-1/2 transform -translate-x-1/2"
11785
11795
  }[((i = St[0]) == null ? void 0 : i.options.position) || "top-right"];
11786
11796
  });
11787
- return Ji(
11797
+ return es(
11788
11798
  "div",
11789
11799
  {
11790
11800
  class: `fixed flex flex-col gap-2 ${t.value}`
11791
11801
  },
11792
11802
  St.map(
11793
- (a) => Ji(Ff, {
11803
+ (a) => es(Ff, {
11794
11804
  key: a.id,
11795
11805
  ...a.options,
11796
- onClose: () => yu(a.id)
11806
+ onClose: () => Pu(a.id)
11797
11807
  })
11798
11808
  )
11799
11809
  );
11800
11810
  }
11801
11811
  }), ei.mount(e);
11802
- }, yu = (e) => {
11812
+ }, Pu = (e) => {
11803
11813
  const t = St.findIndex((a) => a.id === e);
11804
11814
  t !== -1 && St.splice(t, 1);
11805
11815
  };
@@ -11811,7 +11821,7 @@ const ue = (e) => {
11811
11821
  id: t,
11812
11822
  options: e
11813
11823
  }), setTimeout(() => {
11814
- yu(t);
11824
+ Pu(t);
11815
11825
  }, e.duration || 3e3);
11816
11826
  };
11817
11827
  ue.success = (e, t = 3e3, a = !0) => {
@@ -11903,12 +11913,12 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
11903
11913
  return (r, o) => (B(), V("div", null, [
11904
11914
  s.value ? (B(), V("div", Vf, [
11905
11915
  s.value.text !== void 0 ? (B(), V("div", Wf, [
11906
- o[11] || (o[11] = S("label", { class: "block mt-4" }, "内容", -1)),
11907
- S("div", $f, we(s.value.text || "-"), 1)
11916
+ o[11] || (o[11] = S("label", { class: "block" }, "内容", -1)),
11917
+ S("div", $f, ve(s.value.text || "-"), 1)
11908
11918
  ])) : K("", !0),
11909
11919
  S("div", null, [
11910
11920
  o[12] || (o[12] = S("label", { class: "block mt-4" }, "节点", -1)),
11911
- S("div", Xf, we(s.value.xpath), 1)
11921
+ S("div", Xf, ve(s.value.xpath), 1)
11912
11922
  ]),
11913
11923
  S("div", null, [
11914
11924
  o[14] || (o[14] = S("label", { class: "block mt-4" }, "类型", -1)),
@@ -11924,7 +11934,7 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
11924
11934
  S("option", { value: 5 }, "链接", -1),
11925
11935
  S("option", { value: 10 }, "块", -1)
11926
11936
  ]), 512), [
11927
- [Yu, s.value.type]
11937
+ [qu, s.value.type]
11928
11938
  ])
11929
11939
  ]),
11930
11940
  s.value.type == Ne(te).Text ? (B(), V("div", Gf, [
@@ -12024,13 +12034,10 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12024
12034
  }, " 保存 ")
12025
12035
  ]));
12026
12036
  }
12027
- }), a1 = /* @__PURE__ */ yt(t1, [["__scopeId", "data-v-34a23ef6"]]), i1 = { class: "flex h-screen" }, s1 = { class: "goodschool_mobile" }, n1 = ["innerHTML"], u1 = ["innerHTML"], r1 = { class: "flex-1 bg-gray-100 overflow-auto" }, o1 = { class: "p-4" }, c1 = {
12037
+ }), a1 = /* @__PURE__ */ yt(t1, [["__scopeId", "data-v-1a7da1b9"]]), i1 = { class: "flex" }, s1 = { class: "text-lg font-bold border-b p-2" }, n1 = { class: "text-sm font-thin text-gray-500" }, u1 = ["innerHTML"], r1 = ["innerHTML"], o1 = { class: "flex-1" }, c1 = { class: "p-2" }, l1 = {
12028
12038
  key: 0,
12029
12039
  class: "text-red-500 text-xs mt-2"
12030
- }, l1 = {
12031
- key: 0,
12032
- class: "resize-area border-l overflow-auto w-[375px]"
12033
- }, h1 = { class: "p-4" }, d1 = /* @__PURE__ */ Ge({
12040
+ }, h1 = { class: "text-lg font-bold border-b p-2" }, d1 = { class: "text-sm font-thin text-gray-500" }, f1 = { class: "p-2" }, E1 = /* @__PURE__ */ Ge({
12034
12041
  __name: "Designer",
12035
12042
  props: {
12036
12043
  mode: { default: "design" },
@@ -12049,11 +12056,11 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12049
12056
  }, { immediate: !0 }), ot(() => s.value, (x) => {
12050
12057
  x && (r.value = X(x));
12051
12058
  }, { immediate: !0 }), ot(() => a.css, (x) => {
12052
- x.forEach((y) => {
12053
- if (document.querySelector(`link[href="${y}"]`))
12059
+ x.forEach((R) => {
12060
+ if (document.querySelector(`link[href="${R}"]`))
12054
12061
  return;
12055
12062
  const O = document.createElement("link");
12056
- O.rel = "stylesheet", O.href = y, document.head.appendChild(O);
12063
+ O.rel = "stylesheet", O.href = R, document.head.appendChild(O);
12057
12064
  });
12058
12065
  }, { immediate: !0 });
12059
12066
  const u = z(a.mode), r = z();
@@ -12061,7 +12068,7 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12061
12068
  x && i("update:element", x);
12062
12069
  }, { immediate: !0 });
12063
12070
  const o = z("");
12064
- let c = Rs("", {}, !1);
12071
+ let c = Ms("", {}, !1);
12065
12072
  ot(() => o.value, (x) => {
12066
12073
  i("update:modelValue", x);
12067
12074
  }, { immediate: !0 });
@@ -12069,27 +12076,27 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12069
12076
  function T(x) {
12070
12077
  console.log("选择", x), h.value = x;
12071
12078
  }
12072
- function A(x, y = "") {
12073
- if (y) {
12074
- const O = I(r.value, y);
12079
+ function A(x, R = "") {
12080
+ if (R) {
12081
+ const O = I(r.value, R);
12075
12082
  O ? f.value = O : f.value = x;
12076
12083
  } else
12077
12084
  f.value = x;
12078
12085
  }
12079
- function I(x, y) {
12080
- if (x.xpath === y)
12086
+ function I(x, R) {
12087
+ if (x.xpath === R)
12081
12088
  return x;
12082
12089
  if (x.children && x.children.length)
12083
12090
  for (const O of x.children) {
12084
- const D = I(O, y);
12091
+ const D = I(O, R);
12085
12092
  if (D)
12086
12093
  return D;
12087
12094
  }
12088
12095
  }
12089
12096
  function L(x) {
12090
- var y, O, D, H;
12097
+ var R, O, D, H;
12091
12098
  if (console.log(x, h.value), h.value)
12092
- if (h.value.rule = x.rule, h.value.type = x.type, (y = x.rule) != null && y.isThemeColor ? (x.attrs.class += "theme_color", x.attrs.style && (x.attrs.style = void 0)) : (console.log("e111", (O = x.attrs.class) == null ? void 0 : O.includes("theme_color")), (D = x.attrs.class) != null && D.includes("theme_color") && (x.attrs.class = x.attrs.class.replace("theme_color", " "))), h.value.type === te.Block) {
12099
+ if (h.value.rule = x.rule, h.value.type = x.type, (R = x.rule) != null && R.isThemeColor ? (x.attrs.class += "theme_color", x.attrs.style && (x.attrs.style = void 0)) : (console.log("e111", (O = x.attrs.class) == null ? void 0 : O.includes("theme_color")), (D = x.attrs.class) != null && D.includes("theme_color") && (x.attrs.class = x.attrs.class.replace("theme_color", " "))), h.value.type === te.Block) {
12093
12100
  const q = I(r.value, h.value.parentxpath || "");
12094
12101
  q && q.children && q.children.forEach((J) => {
12095
12102
  var ne;
@@ -12102,21 +12109,21 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12102
12109
  o.value = x;
12103
12110
  }
12104
12111
  function X(x) {
12105
- c = Rs(x);
12106
- const y = c("body").children().toArray().map((O) => U(c(O)));
12107
- return o.value = c("body").html() || "", y[0];
12112
+ c = Ms(x);
12113
+ const R = c("body").children().toArray().map((O) => U(c(O)));
12114
+ return o.value = c("body").html() || "", R[0];
12108
12115
  }
12109
- function U(x, y = "") {
12116
+ function U(x, R = "") {
12110
12117
  var J;
12111
12118
  function O(ne) {
12112
12119
  if (!ne || !ne[0]) return "";
12113
- const oe = [];
12120
+ const ce = [];
12114
12121
  let Ve = ne;
12115
12122
  for (; Ve.length && Ve[0].tagName !== "html"; ) {
12116
- const Zi = Ve[0].tagName, Mu = Ve.parent().children(Zi).index(Ve) + 1;
12117
- oe.unshift(`${Zi}[${Mu}]`), Ve = Ve.parent();
12123
+ const Ji = Ve[0].tagName, ku = Ve.parent().children(Ji).index(Ve) + 1;
12124
+ ce.unshift(`${Ji}[${ku}]`), Ve = Ve.parent();
12118
12125
  }
12119
- return "/html/" + oe.join("/");
12126
+ return "/html/" + ce.join("/");
12120
12127
  }
12121
12128
  const D = O(x).replace("/html/body[1]", ""), H = x.children().toArray().map((ne) => U(c(ne), D)), q = (J = a.rules) == null ? void 0 : J.find((ne) => ne.xpath === D);
12122
12129
  return {
@@ -12125,31 +12132,31 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12125
12132
  attrs: x[0].attribs,
12126
12133
  children: H,
12127
12134
  xpath: D,
12128
- parentxpath: y,
12135
+ parentxpath: R,
12129
12136
  type: (q == null ? void 0 : q.type) || te.None,
12130
12137
  rule: (q == null ? void 0 : q.rule) || {}
12131
12138
  };
12132
12139
  }
12133
12140
  function $(x) {
12134
12141
  console.log("更新子节点的文本", x);
12135
- const y = I(r.value, x.element.xpath);
12136
- y && (y.editText = x.newText);
12142
+ const R = I(r.value, x.element.xpath);
12143
+ R && (R.editText = x.newText);
12137
12144
  }
12138
- function F(x, y = "") {
12145
+ function F(x, R = "") {
12139
12146
  function O(D, H) {
12140
12147
  var ne;
12141
- const J = (H ? ((ne = I(r.value, H)) == null ? void 0 : ne.children) || [] : [r.value]).filter((oe) => oe.tag === D.tag).indexOf(D) + 1;
12148
+ const J = (H ? ((ne = I(r.value, H)) == null ? void 0 : ne.children) || [] : [r.value]).filter((ce) => ce.tag === D.tag).indexOf(D) + 1;
12142
12149
  return `${H}/${D.tag}[${J}]`;
12143
12150
  }
12144
- x.xpath = O(x, y), x.parentxpath = y, (x.children || []).forEach((D) => F(D, x.xpath));
12151
+ x.xpath = O(x, R), x.parentxpath = R, (x.children || []).forEach((D) => F(D, x.xpath));
12145
12152
  }
12146
- function P({ action: x, element: y, newBlock: O }) {
12147
- console.log("块操作", x, y, O);
12148
- const D = I(r.value, y.parentxpath || "");
12153
+ function P({ action: x, element: R, newBlock: O }) {
12154
+ console.log("块操作", x, R, O);
12155
+ const D = I(r.value, R.parentxpath || "");
12149
12156
  if (!D || !D.children) return;
12150
- const H = D.children.findIndex((oe) => oe === y);
12157
+ const H = D.children.findIndex((ce) => ce === R);
12151
12158
  if (H === -1) return;
12152
- const q = D.children.length, { minBlock: J, maxBlock: ne } = y.rule;
12159
+ const q = D.children.length, { minBlock: J, maxBlock: ne } = R.rule;
12153
12160
  if ((x === "add" || x === "copy") && q >= (ne || 1 / 0)) {
12154
12161
  m.value = `无法添加更多块。最大块数量为 ${ne}`, ue.error(m.value);
12155
12162
  return;
@@ -12157,26 +12164,26 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12157
12164
  switch (x) {
12158
12165
  case "add":
12159
12166
  if (O) {
12160
- const oe = { ...O, xpath: "", children: JSON.parse(JSON.stringify(O.children)) };
12161
- D.children.splice(H + 1, 0, oe);
12167
+ const ce = { ...O, xpath: "", children: JSON.parse(JSON.stringify(O.children)) };
12168
+ D.children.splice(H + 1, 0, ce);
12162
12169
  }
12163
12170
  break;
12164
12171
  case "copy":
12165
12172
  if (O) {
12166
- const oe = { ...O, xpath: "", children: JSON.parse(JSON.stringify(O.children)) };
12167
- D.children.splice(H + 1, 0, oe);
12173
+ const ce = { ...O, xpath: "", children: JSON.parse(JSON.stringify(O.children)) };
12174
+ D.children.splice(H + 1, 0, ce);
12168
12175
  }
12169
12176
  break;
12170
12177
  case "moveUp":
12171
12178
  if (H > 0) {
12172
- const [oe] = D.children.splice(H, 1);
12173
- D.children.splice(H - 1, 0, oe);
12179
+ const [ce] = D.children.splice(H, 1);
12180
+ D.children.splice(H - 1, 0, ce);
12174
12181
  }
12175
12182
  break;
12176
12183
  case "moveDown":
12177
12184
  if (H < D.children.length - 1) {
12178
- const [oe] = D.children.splice(H, 1);
12179
- D.children.splice(H + 1, 0, oe);
12185
+ const [ce] = D.children.splice(H, 1);
12186
+ D.children.splice(H + 1, 0, ce);
12180
12187
  }
12181
12188
  break;
12182
12189
  case "delete":
@@ -12189,54 +12196,56 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12189
12196
  }
12190
12197
  m.value = "", F(r.value);
12191
12198
  }
12192
- function g(x, y) {
12193
- let O = y.attrs.class.replace(/icon-\S+/g, `icon-${x}`);
12194
- y.attrs.class = O;
12199
+ function g(x, R) {
12200
+ let O = R.attrs.class.replace(/icon-\S+/g, `icon-${x}`);
12201
+ R.attrs.class = O;
12195
12202
  }
12196
- function w(x, y) {
12197
- y.attrs.src = x;
12203
+ function w(x, R) {
12204
+ R.attrs.src = x;
12198
12205
  }
12199
- const Q = z(a.previewWidth), le = z(375);
12200
- let ge = z(!1), Ie = z(""), ve = 0, _e = 0;
12201
- function Ae(x) {
12202
- Ie.value = x, ge.value = !0, ve = event.clientX, _e = Q.value, window.addEventListener("mousemove", se), window.addEventListener("mouseup", Re);
12206
+ const G = z(a.previewWidth), oe = z(375);
12207
+ let Ae = z(!1), Ie = z(""), Re = 0, be = 0;
12208
+ function ge(x) {
12209
+ Ie.value = x, Ae.value = !0, Re = event.clientX, x === "preview" ? be = G.value : x === "structure" && (be = oe.value), window.addEventListener("mousemove", se), window.addEventListener("mouseup", ye);
12203
12210
  }
12204
12211
  function se(x) {
12205
- if (!ge.value) return;
12206
- const y = x.clientX - ve;
12207
- Ie.value === "preview" ? Q.value = Math.max(200, _e + y) : Ie.value === "structure" && (le.value = Math.max(200, _e - y));
12212
+ if (!Ae.value) return;
12213
+ const R = x.clientX - Re;
12214
+ Ie.value === "preview" ? G.value = Math.max(200, be + R) : Ie.value === "structure" && (oe.value = Math.max(200, be - R));
12208
12215
  }
12209
- function Re() {
12210
- ge.value = !1, Ie.value = "", window.removeEventListener("mousemove", se), window.removeEventListener("mouseup", Re);
12216
+ function ye() {
12217
+ Ae.value = !1, Ie.value = "", window.removeEventListener("mousemove", se), window.removeEventListener("mouseup", ye);
12211
12218
  }
12212
- return (x, y) => (B(), V("div", i1, [
12219
+ return (x, R) => (B(), V("div", i1, [
12213
12220
  S("div", {
12214
12221
  class: "border-l overflow-auto resize-area",
12215
- style: qu({ width: Q.value + "px" })
12222
+ style: ts({ width: G.value + "px" })
12216
12223
  }, [
12217
- S("div", s1, [
12218
- y[1] || (y[1] = S("h2", { class: "text-lg font-bold" }, "实时预览", -1)),
12224
+ S("h2", s1, [
12225
+ R[2] || (R[2] = ti("实时预览 ")),
12226
+ S("span", n1, ve(G.value) + "px", 1)
12227
+ ]),
12228
+ S("div", null, [
12219
12229
  o.value ? (B(), V("div", {
12220
12230
  key: 0,
12221
12231
  innerHTML: o.value
12222
- }, null, 8, n1)) : (B(), V("div", {
12232
+ }, null, 8, u1)) : (B(), V("div", {
12223
12233
  key: 1,
12224
12234
  innerHTML: Ne(c)("body").html()
12225
- }, null, 8, u1))
12235
+ }, null, 8, r1))
12226
12236
  ])
12227
12237
  ], 4),
12228
12238
  S("div", {
12229
12239
  class: "resizer",
12230
- onMousedown: y[0] || (y[0] = (O) => Ae("preview"))
12240
+ onMousedown: R[0] || (R[0] = (O) => ge("preview"))
12231
12241
  }, null, 32),
12232
- S("div", r1, [
12233
- S("div", o1, [
12234
- y[2] || (y[2] = S("div", { class: "flex justify-between" }, [
12235
- S("h2", { class: "text-lg font-bold" }, "结构渲染")
12236
- ], -1)),
12237
- m.value ? (B(), V("div", c1, we(m.value), 1)) : K("", !0),
12242
+ S("div", o1, [
12243
+ R[3] || (R[3] = S("h2", { class: "text-lg font-bold border-b p-2" }, "结构渲染", -1)),
12244
+ S("div", c1, [
12245
+ m.value ? (B(), V("div", l1, ve(m.value), 1)) : K("", !0),
12238
12246
  r.value ? (B(), xt(Cf, {
12239
12247
  key: 1,
12248
+ mode: x.mode,
12240
12249
  icons: x.icons,
12241
12250
  element: r.value,
12242
12251
  selectedElement: h.value,
@@ -12248,27 +12257,38 @@ const Vf = { key: 0 }, Wf = { key: 0 }, $f = { class: "text-gray-500 my-2" }, Xf
12248
12257
  onBlockAction: P,
12249
12258
  onAddIcon: g,
12250
12259
  onUpload: w
12251
- }, null, 8, ["icons", "element", "selectedElement", "hoveredElement"])) : K("", !0)
12260
+ }, null, 8, ["mode", "icons", "element", "selectedElement", "hoveredElement"])) : K("", !0)
12252
12261
  ])
12253
12262
  ]),
12254
- u.value == "design" ? (B(), V("div", l1, [
12255
- S("div", h1, [
12256
- y[3] || (y[3] = S("h2", { class: "text-lg font-bold" }, "节点属性", -1)),
12263
+ S("div", {
12264
+ class: "resizer",
12265
+ onMousedown: R[1] || (R[1] = (O) => ge("structure"))
12266
+ }, null, 32),
12267
+ u.value == "design" ? (B(), V("div", {
12268
+ key: 0,
12269
+ class: "resize-area overflow-auto",
12270
+ style: ts({ width: oe.value + "px" })
12271
+ }, [
12272
+ S("h2", h1, [
12273
+ R[4] || (R[4] = ti("节点属性 ")),
12274
+ S("span", d1, ve(oe.value) + "px", 1)
12275
+ ]),
12276
+ S("div", f1, [
12257
12277
  h.value ? (B(), xt(a1, {
12258
12278
  key: 0,
12259
12279
  element: h.value,
12260
12280
  onUpdateElement: L
12261
12281
  }, null, 8, ["element"])) : K("", !0)
12262
12282
  ])
12263
- ])) : K("", !0)
12283
+ ], 4)) : K("", !0)
12264
12284
  ]));
12265
12285
  }
12266
- }), f1 = /* @__PURE__ */ yt(d1, [["__scopeId", "data-v-b3574918"]]), g1 = {
12286
+ }), m1 = /* @__PURE__ */ yt(E1, [["__scopeId", "data-v-6a05619b"]]), A1 = {
12267
12287
  install(e) {
12268
- e.component("Designer", f1);
12288
+ e.component("Designer", m1);
12269
12289
  }
12270
12290
  };
12271
12291
  export {
12272
- f1 as Designer,
12273
- g1 as default
12292
+ m1 as Designer,
12293
+ A1 as default
12274
12294
  };