cft-builder 0.2.308 → 0.2.310

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,7 +1,7 @@
1
1
  var Bl = Object.defineProperty;
2
2
  var Ml = (n, t, e) => t in n ? Bl(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var T = (n, t, e) => Ml(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-Clp5BT3Z.js";
4
+ import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-CoeBDHIu.js";
5
5
  function Ki(n) {
6
6
  return n;
7
7
  }
@@ -986,7 +986,7 @@ class Yo extends X {
986
986
  return this.statics.formats(this.domNode, this.scroll);
987
987
  }
988
988
  }
989
- const rt = Yo, Qo = {
989
+ const nt = Yo, Qo = {
990
990
  attributes: !0,
991
991
  characterData: !0,
992
992
  characterDataOldValue: !0,
@@ -1122,7 +1122,7 @@ const Ws = ea, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1122
1122
  BlockBlot: es,
1123
1123
  ClassAttributor: vt,
1124
1124
  ContainerBlot: Js,
1125
- EmbedBlot: rt,
1125
+ EmbedBlot: nt,
1126
1126
  InlineBlot: Dr,
1127
1127
  LeafBlot: X,
1128
1128
  ParentBlot: bt,
@@ -1132,7 +1132,7 @@ const Ws = ea, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1132
1132
  StyleAttributor: Vt,
1133
1133
  TextBlot: Ws
1134
1134
  }, Symbol.toStringTag, { value: "Module" }));
1135
- var Er = { exports: {} }, nt = -1, J = 1, F = 0;
1135
+ var Er = { exports: {} }, st = -1, J = 1, F = 0;
1136
1136
  function ss(n, t, e, s, r) {
1137
1137
  if (n === t)
1138
1138
  return n ? [[F, n]] : [];
@@ -1153,17 +1153,17 @@ function na(n, t) {
1153
1153
  if (!n)
1154
1154
  return [[J, t]];
1155
1155
  if (!t)
1156
- return [[nt, n]];
1156
+ return [[st, n]];
1157
1157
  var s = n.length > t.length ? n : t, r = n.length > t.length ? t : n, i = s.indexOf(r);
1158
1158
  if (i !== -1)
1159
1159
  return e = [
1160
1160
  [J, s.substring(0, i)],
1161
1161
  [F, r],
1162
1162
  [J, s.substring(i + r.length)]
1163
- ], n.length > t.length && (e[0][0] = e[2][0] = nt), e;
1163
+ ], n.length > t.length && (e[0][0] = e[2][0] = st), e;
1164
1164
  if (r.length === 1)
1165
1165
  return [
1166
- [nt, n],
1166
+ [st, n],
1167
1167
  [J, t]
1168
1168
  ];
1169
1169
  var o = ia(n, t);
@@ -1216,7 +1216,7 @@ function ra(n, t) {
1216
1216
  }
1217
1217
  }
1218
1218
  return [
1219
- [nt, n],
1219
+ [st, n],
1220
1220
  [J, t]
1221
1221
  ];
1222
1222
  }
@@ -1296,11 +1296,11 @@ function ia(n, t) {
1296
1296
  function la(n) {
1297
1297
  for (var t = !1, e = [], s = 0, r = null, i = 0, o = 0, a = 0, c = 0, h = 0; i < n.length; )
1298
1298
  n[i][0] == F ? (e[s++] = i, o = c, a = h, c = 0, h = 0, r = n[i][1]) : (n[i][0] == J ? c += n[i][1].length : h += n[i][1].length, r && r.length <= Math.max(o, a) && r.length <= Math.max(c, h) && (n.splice(e[s - 1], 0, [
1299
- nt,
1299
+ st,
1300
1300
  r
1301
1301
  ]), n[e[s - 1] + 1][0] = J, s--, s--, i = s > 0 ? e[s - 1] : -1, o = 0, a = 0, c = 0, h = 0, r = null, t = !0)), i++;
1302
1302
  for (t && jr(n), ca(n), i = 1; i < n.length; ) {
1303
- if (n[i - 1][0] == nt && n[i][0] == J) {
1303
+ if (n[i - 1][0] == st && n[i][0] == J) {
1304
1304
  var d = n[i - 1][1], b = n[i][1], g = gi(d, b), p = gi(b, d);
1305
1305
  g >= p ? (g >= d.length / 2 || g >= b.length / 2) && (n.splice(i, 0, [
1306
1306
  F,
@@ -1314,7 +1314,7 @@ function la(n) {
1314
1314
  ]), n[i - 1][0] = J, n[i - 1][1] = b.substring(
1315
1315
  0,
1316
1316
  b.length - p
1317
- ), n[i + 1][0] = nt, n[i + 1][1] = d.substring(p), i++), i++;
1317
+ ), n[i + 1][0] = st, n[i + 1][1] = d.substring(p), i++), i++;
1318
1318
  }
1319
1319
  i++;
1320
1320
  }
@@ -1355,7 +1355,7 @@ function jr(n, t) {
1355
1355
  case J:
1356
1356
  r++, o += n[e][1], e++;
1357
1357
  break;
1358
- case nt:
1358
+ case st:
1359
1359
  s++, i += n[e][1], e++;
1360
1360
  break;
1361
1361
  case F:
@@ -1369,7 +1369,7 @@ function jr(n, t) {
1369
1369
  ), i = h + i, o = h + o, !n[c][1]) {
1370
1370
  n.splice(c, 1), e--;
1371
1371
  var d = c - 1;
1372
- n[d] && n[d][0] === J && (r++, o = n[d][1] + o, d--), n[d] && n[d][0] === nt && (s++, i = n[d][1] + i, d--), c = d;
1372
+ n[d] && n[d][0] === J && (r++, o = n[d][1] + o, d--), n[d] && n[d][0] === st && (s++, i = n[d][1] + i, d--), c = d;
1373
1373
  }
1374
1374
  }
1375
1375
  if (nl(n[e][1])) {
@@ -1396,10 +1396,10 @@ function jr(n, t) {
1396
1396
  i.length - a
1397
1397
  )));
1398
1398
  var b = r + s;
1399
- i.length === 0 && o.length === 0 ? (n.splice(e - b, b), e = e - b) : i.length === 0 ? (n.splice(e - b, b, [J, o]), e = e - b + 1) : o.length === 0 ? (n.splice(e - b, b, [nt, i]), e = e - b + 1) : (n.splice(
1399
+ i.length === 0 && o.length === 0 ? (n.splice(e - b, b), e = e - b) : i.length === 0 ? (n.splice(e - b, b, [J, o]), e = e - b + 1) : o.length === 0 ? (n.splice(e - b, b, [st, i]), e = e - b + 1) : (n.splice(
1400
1400
  e - b,
1401
1401
  b,
1402
- [nt, i],
1402
+ [st, i],
1403
1403
  [J, o]
1404
1404
  ), e = e - b + 2);
1405
1405
  }
@@ -1438,7 +1438,7 @@ function ua(n) {
1438
1438
  function nr(n, t, e, s) {
1439
1439
  return rl(n) || nl(s) ? null : ua([
1440
1440
  [F, n],
1441
- [nt, t],
1441
+ [st, t],
1442
1442
  [J, e],
1443
1443
  [F, s]
1444
1444
  ]);
@@ -1490,7 +1490,7 @@ function en(n, t, e, s) {
1490
1490
  return ss(n, t, e, s, !0);
1491
1491
  }
1492
1492
  en.INSERT = J;
1493
- en.DELETE = nt;
1493
+ en.DELETE = st;
1494
1494
  en.EQUAL = F;
1495
1495
  var fa = en, Xs = { exports: {} };
1496
1496
  Xs.exports;
@@ -1558,7 +1558,7 @@ Xs.exports;
1558
1558
  return l ? "Symbol(src)_1." + l : "";
1559
1559
  }(), Ns = pn.toString, At = oe.hasOwnProperty, ae = oe.toString, mn = RegExp(
1560
1560
  "^" + Ns.call(At).replace(on, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1561
- ), Xt = gs ? ut.Buffer : void 0, ce = ut.Symbol, Me = ut.Uint8Array, it = Re(Object.getPrototypeOf, Object), As = Object.create, ws = oe.propertyIsEnumerable, bn = gn.splice, De = Object.getOwnPropertySymbols, ue = Xt ? Xt.isBuffer : void 0, xs = Re(Object.keys, Object), he = dt(ut, "DataView"), Yt = dt(ut, "Map"), ft = dt(ut, "Promise"), fe = dt(ut, "Set"), Ue = dt(ut, "WeakMap"), Qt = dt(Object, "create"), Pe = Q(he), Jt = Q(Yt), je = Q(ft), He = Q(fe), $e = Q(Ue), jt = ce ? ce.prototype : void 0, Ts = jt ? jt.valueOf : void 0;
1561
+ ), Xt = gs ? ut.Buffer : void 0, ce = ut.Symbol, Me = ut.Uint8Array, rt = Re(Object.getPrototypeOf, Object), As = Object.create, ws = oe.propertyIsEnumerable, bn = gn.splice, De = Object.getOwnPropertySymbols, ue = Xt ? Xt.isBuffer : void 0, xs = Re(Object.keys, Object), he = dt(ut, "DataView"), Yt = dt(ut, "Map"), ft = dt(ut, "Promise"), fe = dt(ut, "Set"), Ue = dt(ut, "WeakMap"), Qt = dt(Object, "create"), Pe = Q(he), Jt = Q(Yt), je = Q(ft), He = Q(fe), $e = Q(Ue), jt = ce ? ce.prototype : void 0, Ts = jt ? jt.valueOf : void 0;
1562
1562
  function _t(l) {
1563
1563
  var u = -1, f = l ? l.length : 0;
1564
1564
  for (this.clear(); ++u < f; ) {
@@ -1645,7 +1645,7 @@ Xs.exports;
1645
1645
  return ee(this, l).set(l, u), this;
1646
1646
  }
1647
1647
  V.prototype.clear = Ln, V.prototype.delete = qn, V.prototype.get = Sn, V.prototype.has = On, V.prototype.set = Cn;
1648
- function et(l) {
1648
+ function tt(l) {
1649
1649
  this.__data__ = new z(l);
1650
1650
  }
1651
1651
  function _n() {
@@ -1670,7 +1670,7 @@ Xs.exports;
1670
1670
  }
1671
1671
  return f.set(l, u), this;
1672
1672
  }
1673
- et.prototype.clear = _n, et.prototype.delete = kn, et.prototype.get = In, et.prototype.has = Rn, et.prototype.set = Bn;
1673
+ tt.prototype.clear = _n, tt.prototype.delete = kn, tt.prototype.get = In, tt.prototype.has = Rn, tt.prototype.set = Bn;
1674
1674
  function de(l, u) {
1675
1675
  var f = Ve(l) || me(l) ? ke(l.length, String) : [], E = f.length, I = !!E;
1676
1676
  for (var _ in l)
@@ -1715,10 +1715,10 @@ Xs.exports;
1715
1715
  B = Zn(l, D, ze, u);
1716
1716
  }
1717
1717
  }
1718
- M || (M = new et());
1719
- var st = M.get(l);
1720
- if (st)
1721
- return st;
1718
+ M || (M = new tt());
1719
+ var et = M.get(l);
1720
+ if (et)
1721
+ return et;
1722
1722
  if (M.set(l, B), !H)
1723
1723
  var $ = f ? Gn(l) : We(l);
1724
1724
  return ps($ || l, function(W, K) {
@@ -1833,7 +1833,7 @@ Xs.exports;
1833
1833
  return u && typeof l[0] == "string" && At.call(l, "index") && (f.index = l.index, f.input = l.input), f;
1834
1834
  }
1835
1835
  function xt(l) {
1836
- return typeof l.constructor == "function" && !Cs(l) ? Mn(it(l)) : {};
1836
+ return typeof l.constructor == "function" && !Cs(l) ? Mn(rt(l)) : {};
1837
1837
  }
1838
1838
  function Zn(l, u, f, E) {
1839
1839
  var I = l.constructor;
@@ -1999,11 +1999,11 @@ Ys.exports;
1999
1999
  f[++u] = E;
2000
2000
  }), f;
2001
2001
  }
2002
- var ae = Array.prototype, mn = Function.prototype, Xt = Object.prototype, ce = ht["__core-js_shared__"], Me = mn.toString, it = Xt.hasOwnProperty, As = function() {
2002
+ var ae = Array.prototype, mn = Function.prototype, Xt = Object.prototype, ce = ht["__core-js_shared__"], Me = mn.toString, rt = Xt.hasOwnProperty, As = function() {
2003
2003
  var l = /[^.]+$/.exec(ce && ce.keys && ce.keys.IE_PROTO || "");
2004
2004
  return l ? "Symbol(src)_1." + l : "";
2005
2005
  }(), ws = Xt.toString, bn = RegExp(
2006
- "^" + Me.call(it).replace(fn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2006
+ "^" + Me.call(rt).replace(fn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2007
2007
  ), De = _e ? ht.Buffer : void 0, ue = ht.Symbol, xs = ht.Uint8Array, he = Xt.propertyIsEnumerable, Yt = ae.splice, ft = ue ? ue.toStringTag : void 0, fe = Object.getOwnPropertySymbols, Ue = De ? De.isBuffer : void 0, Qt = Ns(Object.keys, Object), Pe = kt(ht, "DataView"), Jt = kt(ht, "Map"), je = kt(ht, "Promise"), He = kt(ht, "Set"), $e = kt(ht, "WeakMap"), jt = kt(Object, "create"), Ts = Q(Pe), _t = Q(Jt), yn = Q(je), vn = Q(He), En = Q($e), Ls = ue ? ue.prototype : void 0, Fe = Ls ? Ls.valueOf : void 0;
2008
2008
  function z(l) {
2009
2009
  var u = -1, f = l == null ? 0 : l.length;
@@ -2025,11 +2025,11 @@ Ys.exports;
2025
2025
  var f = u[l];
2026
2026
  return f === s ? void 0 : f;
2027
2027
  }
2028
- return it.call(u, l) ? u[l] : void 0;
2028
+ return rt.call(u, l) ? u[l] : void 0;
2029
2029
  }
2030
2030
  function xn(l) {
2031
2031
  var u = this.__data__;
2032
- return jt ? u[l] !== void 0 : it.call(u, l);
2032
+ return jt ? u[l] !== void 0 : rt.call(u, l);
2033
2033
  }
2034
2034
  function Tn(l, u) {
2035
2035
  var f = this.__data__;
@@ -2065,7 +2065,7 @@ Ys.exports;
2065
2065
  return E < 0 ? (++this.size, f.push([l, u])) : f[E][1] = u, this;
2066
2066
  }
2067
2067
  V.prototype.clear = Ln, V.prototype.delete = qn, V.prototype.get = Sn, V.prototype.has = On, V.prototype.set = Cn;
2068
- function et(l) {
2068
+ function tt(l) {
2069
2069
  var u = -1, f = l == null ? 0 : l.length;
2070
2070
  for (this.clear(); ++u < f; ) {
2071
2071
  var E = l[u];
@@ -2093,10 +2093,10 @@ Ys.exports;
2093
2093
  var f = dt(this, l), E = f.size;
2094
2094
  return f.set(l, u), this.size += f.size == E ? 0 : 1, this;
2095
2095
  }
2096
- et.prototype.clear = _n, et.prototype.delete = kn, et.prototype.get = In, et.prototype.has = Rn, et.prototype.set = Bn;
2096
+ tt.prototype.clear = _n, tt.prototype.delete = kn, tt.prototype.get = In, tt.prototype.has = Rn, tt.prototype.set = Bn;
2097
2097
  function de(l) {
2098
2098
  var u = -1, f = l == null ? 0 : l.length;
2099
- for (this.__data__ = new et(); ++u < f; )
2099
+ for (this.__data__ = new tt(); ++u < f; )
2100
2100
  this.add(l[u]);
2101
2101
  }
2102
2102
  function qs(l) {
@@ -2129,7 +2129,7 @@ Ys.exports;
2129
2129
  var E = f.__data__;
2130
2130
  if (!Jt || E.length < e - 1)
2131
2131
  return E.push([l, u]), this.size = ++f.size, this;
2132
- f = this.__data__ = new et(E);
2132
+ f = this.__data__ = new tt(E);
2133
2133
  }
2134
2134
  return f.set(l, u), this.size = f.size, this;
2135
2135
  }
@@ -2137,7 +2137,7 @@ Ys.exports;
2137
2137
  function jn(l, u) {
2138
2138
  var f = me(l), E = !f && ks(l), I = !f && !E && be(l), _ = !f && !E && !I && Bs(l), M = f || E || I || _, B = M ? gn(l.length, String) : [], H = B.length;
2139
2139
  for (var D in l)
2140
- it.call(l, D) && !(M && // Safari 9 has enumerable `arguments.length` in strict mode.
2140
+ rt.call(l, D) && !(M && // Safari 9 has enumerable `arguments.length` in strict mode.
2141
2141
  (D == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2142
2142
  I && (D == "offset" || D == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2143
2143
  _ && (D == "buffer" || D == "byteLength" || D == "byteOffset") || // Skip index properties.
@@ -2166,7 +2166,7 @@ Ys.exports;
2166
2166
  function Hn(l, u, f, E, I, _) {
2167
2167
  var M = me(l), B = me(u), H = M ? c : xt(l), D = B ? c : xt(u);
2168
2168
  H = H == a ? w : H, D = D == a ? w : D;
2169
- var Z = H == w, st = D == w, $ = H == D;
2169
+ var Z = H == w, et = D == w, $ = H == D;
2170
2170
  if ($ && be(l)) {
2171
2171
  if (!be(u))
2172
2172
  return !1;
@@ -2175,7 +2175,7 @@ Ys.exports;
2175
2175
  if ($ && !Z)
2176
2176
  return _ || (_ = new wt()), M || Bs(l) ? Ge(l, u, f, E, I, _) : Kn(l, u, H, f, E, I, _);
2177
2177
  if (!(f & r)) {
2178
- var W = Z && it.call(l, "__wrapped__"), K = st && it.call(u, "__wrapped__");
2178
+ var W = Z && rt.call(l, "__wrapped__"), K = et && rt.call(u, "__wrapped__");
2179
2179
  if (W || K) {
2180
2180
  var Ht = W ? l.value() : l, Rt = K ? u.value() : u;
2181
2181
  return _ || (_ = new wt()), I(Ht, Rt, f, E, _);
@@ -2197,7 +2197,7 @@ Ys.exports;
2197
2197
  return Qt(l);
2198
2198
  var u = [];
2199
2199
  for (var f in Object(l))
2200
- it.call(l, f) && f != "constructor" && u.push(f);
2200
+ rt.call(l, f) && f != "constructor" && u.push(f);
2201
2201
  return u;
2202
2202
  }
2203
2203
  function Ge(l, u, f, E, I, _) {
@@ -2207,7 +2207,7 @@ Ys.exports;
2207
2207
  var D = _.get(l);
2208
2208
  if (D && _.get(u))
2209
2209
  return D == u;
2210
- var Z = -1, st = !0, $ = f & i ? new de() : void 0;
2210
+ var Z = -1, et = !0, $ = f & i ? new de() : void 0;
2211
2211
  for (_.set(l, u), _.set(u, l); ++Z < B; ) {
2212
2212
  var W = l[Z], K = u[Z];
2213
2213
  if (E)
@@ -2215,7 +2215,7 @@ Ys.exports;
2215
2215
  if (Ht !== void 0) {
2216
2216
  if (Ht)
2217
2217
  continue;
2218
- st = !1;
2218
+ et = !1;
2219
2219
  break;
2220
2220
  }
2221
2221
  if ($) {
@@ -2223,15 +2223,15 @@ Ys.exports;
2223
2223
  if (!oe($, se) && (W === Rt || I(W, Rt, f, E, _)))
2224
2224
  return $.push(se);
2225
2225
  })) {
2226
- st = !1;
2226
+ et = !1;
2227
2227
  break;
2228
2228
  }
2229
2229
  } else if (!(W === K || I(W, K, f, E, _))) {
2230
- st = !1;
2230
+ et = !1;
2231
2231
  break;
2232
2232
  }
2233
2233
  }
2234
- return _.delete(l), _.delete(u), st;
2234
+ return _.delete(l), _.delete(u), et;
2235
2235
  }
2236
2236
  function Kn(l, u, f, E, I, _, M) {
2237
2237
  switch (f) {
@@ -2272,9 +2272,9 @@ Ys.exports;
2272
2272
  var M = f & r, B = ee(l), H = B.length, D = ee(u), Z = D.length;
2273
2273
  if (H != Z && !M)
2274
2274
  return !1;
2275
- for (var st = H; st--; ) {
2276
- var $ = B[st];
2277
- if (!(M ? $ in u : it.call(u, $)))
2275
+ for (var et = H; et--; ) {
2276
+ var $ = B[et];
2277
+ if (!(M ? $ in u : rt.call(u, $)))
2278
2278
  return !1;
2279
2279
  }
2280
2280
  var W = _.get(l);
@@ -2282,8 +2282,8 @@ Ys.exports;
2282
2282
  return W == u;
2283
2283
  var K = !0;
2284
2284
  _.set(l, u), _.set(u, l);
2285
- for (var Ht = M; ++st < H; ) {
2286
- $ = B[st];
2285
+ for (var Ht = M; ++et < H; ) {
2286
+ $ = B[et];
2287
2287
  var Rt = l[$], se = u[$];
2288
2288
  if (E)
2289
2289
  var Jr = M ? E(se, Rt, $, u, l, _) : E(Rt, se, $, l, u, _);
@@ -2311,7 +2311,7 @@ Ys.exports;
2311
2311
  return $n(f) ? f : void 0;
2312
2312
  }
2313
2313
  function It(l) {
2314
- var u = it.call(l, ft), f = l[ft];
2314
+ var u = rt.call(l, ft), f = l[ft];
2315
2315
  try {
2316
2316
  l[ft] = void 0;
2317
2317
  var E = !0;
@@ -2378,7 +2378,7 @@ Ys.exports;
2378
2378
  var ks = Ss(/* @__PURE__ */ function() {
2379
2379
  return arguments;
2380
2380
  }()) ? Ss : function(l) {
2381
- return Tt(l) && it.call(l, "callee") && !he.call(l, "callee");
2381
+ return Tt(l) && rt.call(l, "callee") && !he.call(l, "callee");
2382
2382
  }, me = Array.isArray;
2383
2383
  function Ve(l) {
2384
2384
  return l != null && Ze(l.length) && !Is(l);
@@ -2771,9 +2771,9 @@ $r.default = pa;
2771
2771
  }
2772
2772
  d.Op = o.default, d.OpIterator = a.default, d.AttributeMap = i.default, d.handlers = {}, t.default = d, n.exports = d, n.exports.default = d;
2773
2773
  })(Er, Er.exports);
2774
- var tt = Er.exports;
2775
- const O = /* @__PURE__ */ zi(tt);
2776
- class Et extends rt {
2774
+ var ct = Er.exports;
2775
+ const O = /* @__PURE__ */ zi(ct);
2776
+ class Et extends nt {
2777
2777
  static value() {
2778
2778
  }
2779
2779
  optimize() {
@@ -2790,15 +2790,14 @@ Et.blotName = "break";
2790
2790
  Et.tagName = "BR";
2791
2791
  let yt = class extends Ws {
2792
2792
  };
2793
- const ma = {
2794
- "&": "&amp;",
2795
- "<": "&lt;",
2796
- ">": "&gt;",
2797
- '"': "&quot;",
2798
- "'": "&#39;"
2799
- };
2800
2793
  function nn(n) {
2801
- return n.replace(/[&<>"']/g, (t) => ma[t]);
2794
+ return n.replace(/[&<>"']/g, (t) => ({
2795
+ "&": "&amp;",
2796
+ "<": "&lt;",
2797
+ ">": "&gt;",
2798
+ '"': "&quot;",
2799
+ "'": "&#39;"
2800
+ })[t]);
2802
2801
  }
2803
2802
  const Lt = class Lt extends Dr {
2804
2803
  static compare(t, e) {
@@ -2819,7 +2818,7 @@ const Lt = class Lt extends Dr {
2819
2818
  }
2820
2819
  }
2821
2820
  };
2822
- T(Lt, "allowedChildren", [Lt, Et, rt, yt]), // Lower index means deeper in the DOM tree, since not found (-1) is for embeds
2821
+ T(Lt, "allowedChildren", [Lt, Et, nt, yt]), // Lower index means deeper in the DOM tree, since not found (-1) is for embeds
2823
2822
  T(Lt, "order", [
2824
2823
  "cursor",
2825
2824
  "inline",
@@ -2896,8 +2895,8 @@ class G extends es {
2896
2895
  G.blotName = "block";
2897
2896
  G.tagName = "P";
2898
2897
  G.defaultChild = Et;
2899
- G.allowedChildren = [Et, Ot, rt, yt];
2900
- class ct extends rt {
2898
+ G.allowedChildren = [Et, Ot, nt, yt];
2899
+ class at extends nt {
2901
2900
  attach() {
2902
2901
  super.attach(), this.attributes = new Qs(this.domNode);
2903
2902
  }
@@ -2929,25 +2928,25 @@ class ct extends rt {
2929
2928
  }), i && this.parent.insertBefore(this.scroll.create("text", i), a);
2930
2929
  }
2931
2930
  }
2932
- ct.scope = C.BLOCK_BLOT;
2931
+ at.scope = C.BLOCK_BLOT;
2933
2932
  function ol(n) {
2934
2933
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2935
- return n.descendants(X).reduce((e, s) => s.length() === 0 ? e : e.insert(s.value(), ot(s, {}, t)), new O()).insert(`
2936
- `, ot(n));
2934
+ return n.descendants(X).reduce((e, s) => s.length() === 0 ? e : e.insert(s.value(), lt(s, {}, t)), new O()).insert(`
2935
+ `, lt(n));
2937
2936
  }
2938
- function ot(n) {
2937
+ function lt(n) {
2939
2938
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
2940
2939
  return n == null || ("formats" in n && typeof n.formats == "function" && (t = {
2941
2940
  ...t,
2942
2941
  ...n.formats()
2943
- }, e && delete t["code-token"]), n.parent == null || n.parent.statics.blotName === "scroll" || n.parent.statics.scope !== n.statics.scope) ? t : ot(n.parent, t, e);
2942
+ }, e && delete t["code-token"]), n.parent == null || n.parent.statics.blotName === "scroll" || n.parent.statics.scope !== n.statics.scope) ? t : lt(n.parent, t, e);
2944
2943
  }
2945
- const lt = class lt extends rt {
2944
+ const it = class it extends nt {
2946
2945
  // Zero width no break space
2947
2946
  static value() {
2948
2947
  }
2949
2948
  constructor(t, e, s) {
2950
- super(t, e), this.selection = s, this.textNode = document.createTextNode(lt.CONTENTS), this.domNode.appendChild(this.textNode), this.savedLength = 0;
2949
+ super(t, e), this.selection = s, this.textNode = document.createTextNode(it.CONTENTS), this.domNode.appendChild(this.textNode), this.savedLength = 0;
2951
2950
  }
2952
2951
  detach() {
2953
2952
  this.parent != null && this.parent.removeChild(this);
@@ -2960,7 +2959,7 @@ const lt = class lt extends rt {
2960
2959
  let s = this, r = 0;
2961
2960
  for (; s != null && s.statics.scope !== C.BLOCK_BLOT; )
2962
2961
  r += s.offset(s.parent), s = s.parent;
2963
- s != null && (this.savedLength = lt.CONTENTS.length, s.optimize(), s.formatAt(r, lt.CONTENTS.length, t, e), this.savedLength = 0);
2962
+ s != null && (this.savedLength = it.CONTENTS.length, s.optimize(), s.formatAt(r, it.CONTENTS.length, t, e), this.savedLength = 0);
2964
2963
  }
2965
2964
  index(t, e) {
2966
2965
  return t === this.textNode ? 0 : super.index(t, e);
@@ -2981,8 +2980,8 @@ const lt = class lt extends rt {
2981
2980
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
2982
2981
  const e = this.prev instanceof yt ? this.prev : null, s = e ? e.length() : 0, r = this.next instanceof yt ? this.next : null, i = r ? r.text : "", {
2983
2982
  textNode: o
2984
- } = this, a = o.data.split(lt.CONTENTS).join("");
2985
- o.data = lt.CONTENTS;
2983
+ } = this, a = o.data.split(it.CONTENTS).join("");
2984
+ o.data = it.CONTENTS;
2986
2985
  let c;
2987
2986
  if (e)
2988
2987
  c = e, (a || r) && (e.insertAt(e.length(), a + i), r && r.remove());
@@ -3027,7 +3026,7 @@ const lt = class lt extends rt {
3027
3026
  } = this;
3028
3027
  for (; e; ) {
3029
3028
  if (e.domNode.tagName === "A") {
3030
- this.savedLength = lt.CONTENTS.length, e.isolate(this.offset(e), this.length()).unwrap(), this.savedLength = 0;
3029
+ this.savedLength = it.CONTENTS.length, e.isolate(this.offset(e), this.length()).unwrap(), this.savedLength = 0;
3031
3030
  break;
3032
3031
  }
3033
3032
  e = e.parent;
@@ -3037,8 +3036,8 @@ const lt = class lt extends rt {
3037
3036
  return "";
3038
3037
  }
3039
3038
  };
3040
- T(lt, "blotName", "cursor"), T(lt, "className", "ql-cursor"), T(lt, "tagName", "span"), T(lt, "CONTENTS", "\uFEFF");
3041
- let Se = lt;
3039
+ T(it, "blotName", "cursor"), T(it, "className", "ql-cursor"), T(it, "tagName", "span"), T(it, "CONTENTS", "\uFEFF");
3040
+ let Se = it;
3042
3041
  var al = { exports: {} };
3043
3042
  (function(n) {
3044
3043
  var t = Object.prototype.hasOwnProperty, e = "~";
@@ -3144,8 +3143,8 @@ var al = { exports: {} };
3144
3143
  return h ? (d = e ? e + h : h, this._events[d] && o(this, d)) : (this._events = new s(), this._eventsCount = 0), this;
3145
3144
  }, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = e, a.EventEmitter = a, n.exports = a;
3146
3145
  })(al);
3147
- var ba = al.exports;
3148
- const ya = /* @__PURE__ */ zi(ba), wr = /* @__PURE__ */ new WeakMap(), xr = ["error", "warn", "log", "info"];
3146
+ var ma = al.exports;
3147
+ const ba = /* @__PURE__ */ zi(ma), wr = /* @__PURE__ */ new WeakMap(), xr = ["error", "warn", "log", "info"];
3149
3148
  let Tr = "warn";
3150
3149
  function cl(n) {
3151
3150
  if (Tr && xr.indexOf(n) <= xr.indexOf(Tr)) {
@@ -3161,8 +3160,8 @@ Ut.level = (n) => {
3161
3160
  Tr = n;
3162
3161
  };
3163
3162
  cl.level = Ut.level;
3164
- const rr = Ut("quill:events"), va = ["selectionchange", "mousedown", "mouseup", "click"];
3165
- va.forEach((n) => {
3163
+ const rr = Ut("quill:events"), ya = ["selectionchange", "mousedown", "mouseup", "click"];
3164
+ ya.forEach((n) => {
3166
3165
  document.addEventListener(n, function() {
3167
3166
  for (var t = arguments.length, e = new Array(t), s = 0; s < t; s++)
3168
3167
  e[s] = arguments[s];
@@ -3172,7 +3171,7 @@ va.forEach((n) => {
3172
3171
  });
3173
3172
  });
3174
3173
  });
3175
- class q extends ya {
3174
+ class q extends ba {
3176
3175
  constructor() {
3177
3176
  super(), this.domListeners = {}, this.on("error", rr.error);
3178
3177
  }
@@ -3225,7 +3224,7 @@ class ne {
3225
3224
  this.index = t, this.length = e;
3226
3225
  }
3227
3226
  }
3228
- class Ea {
3227
+ class va {
3229
3228
  constructor(t, e) {
3230
3229
  this.emitter = e, this.scroll = t, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = this.scroll.create("cursor", this), this.savedRange = new ne(0, 0), this.lastRange = this.savedRange, this.lastNative = null, this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, () => {
3231
3230
  !this.mouseDown && !this.composing && setTimeout(this.update.bind(this, q.sources.USER), 1);
@@ -3445,8 +3444,8 @@ function lr(n, t) {
3445
3444
  }
3446
3445
  return n.contains(t);
3447
3446
  }
3448
- const Na = /^[ -~]*$/;
3449
- class Aa {
3447
+ const Ea = /^[ -~]*$/;
3448
+ class Na {
3450
3449
  constructor(t) {
3451
3450
  this.scroll = t, this.delta = this.getDelta();
3452
3451
  }
@@ -3455,37 +3454,37 @@ class Aa {
3455
3454
  let e = this.scroll.length();
3456
3455
  this.scroll.batchStart();
3457
3456
  const s = Ei(t), r = new O();
3458
- return xa(s.ops.slice()).reduce((o, a) => {
3459
- const c = tt.Op.length(a);
3457
+ return wa(s.ops.slice()).reduce((o, a) => {
3458
+ const c = ct.Op.length(a);
3460
3459
  let h = a.attributes || {}, d = !1, b = !1;
3461
3460
  if (a.insert != null) {
3462
3461
  if (r.retain(c), typeof a.insert == "string") {
3463
3462
  const m = a.insert;
3464
3463
  b = !m.endsWith(`
3465
- `) && (e <= o || !!this.scroll.descendant(ct, o)[0]), this.scroll.insertAt(o, m);
3464
+ `) && (e <= o || !!this.scroll.descendant(at, o)[0]), this.scroll.insertAt(o, m);
3466
3465
  const [y, v] = this.scroll.line(o);
3467
- let N = Gt({}, ot(y));
3466
+ let N = Gt({}, lt(y));
3468
3467
  if (y instanceof G) {
3469
3468
  const [w] = y.descendant(X, v);
3470
- w && (N = Gt(N, ot(w)));
3469
+ w && (N = Gt(N, lt(w)));
3471
3470
  }
3472
- h = tt.AttributeMap.diff(N, h) || {};
3471
+ h = ct.AttributeMap.diff(N, h) || {};
3473
3472
  } else if (typeof a.insert == "object") {
3474
3473
  const m = Object.keys(a.insert)[0];
3475
3474
  if (m == null) return o;
3476
3475
  const y = this.scroll.query(m, C.INLINE) != null;
3477
3476
  if (y)
3478
- (e <= o || this.scroll.descendant(ct, o)[0]) && (b = !0);
3477
+ (e <= o || this.scroll.descendant(at, o)[0]) && (b = !0);
3479
3478
  else if (o > 0) {
3480
3479
  const [v, N] = this.scroll.descendant(X, o - 1);
3481
3480
  v instanceof yt ? v.value()[N] !== `
3482
- ` && (d = !0) : v instanceof rt && v.statics.scope === C.INLINE_BLOT && (d = !0);
3481
+ ` && (d = !0) : v instanceof nt && v.statics.scope === C.INLINE_BLOT && (d = !0);
3483
3482
  }
3484
3483
  if (this.scroll.insertAt(o, m, a.insert[m]), y) {
3485
3484
  const [v] = this.scroll.descendant(X, o);
3486
3485
  if (v) {
3487
- const N = Gt({}, ot(v));
3488
- h = tt.AttributeMap.diff(N, h) || {};
3486
+ const N = Gt({}, lt(v));
3487
+ h = ct.AttributeMap.diff(N, h) || {};
3489
3488
  }
3490
3489
  }
3491
3490
  }
@@ -3500,7 +3499,7 @@ class Aa {
3500
3499
  });
3501
3500
  const g = d ? 1 : 0, p = b ? 1 : 0;
3502
3501
  return e += g + p, r.retain(g), r.delete(p), o + c + g + p;
3503
- }, 0), r.reduce((o, a) => typeof a.delete == "number" ? (this.scroll.deleteAt(o, a.delete), o) : o + tt.Op.length(a), 0), this.scroll.batchEnd(), this.scroll.optimize(), this.update(s);
3502
+ }, 0), r.reduce((o, a) => typeof a.delete == "number" ? (this.scroll.deleteAt(o, a.delete), o) : o + ct.Op.length(a), 0), this.scroll.batchEnd(), this.scroll.optimize(), this.update(s);
3504
3503
  }
3505
3504
  deleteText(t, e) {
3506
3505
  return this.scroll.deleteAt(t, e), this.update(new O().retain(t).delete(e));
@@ -3538,11 +3537,11 @@ class Aa {
3538
3537
  const [i, o] = [s, r].map((a) => {
3539
3538
  const c = a.shift();
3540
3539
  if (c == null) return {};
3541
- let h = ot(c);
3540
+ let h = lt(c);
3542
3541
  for (; Object.keys(h).length > 0; ) {
3543
3542
  const d = a.shift();
3544
3543
  if (d == null) return h;
3545
- h = wa(ot(d), h);
3544
+ h = Aa(lt(d), h);
3546
3545
  }
3547
3546
  return h;
3548
3547
  });
@@ -3599,8 +3598,8 @@ class Aa {
3599
3598
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
3600
3599
  const r = this.delta;
3601
3600
  if (e.length === 1 && e[0].type === "characterData" && // @ts-expect-error Fix me later
3602
- e[0].target.data.match(Na) && this.scroll.find(e[0].target)) {
3603
- const i = this.scroll.find(e[0].target), o = ot(i), a = i.offset(this.scroll), c = e[0].oldValue.replace(Se.CONTENTS, ""), h = new O().insert(c), d = new O().insert(i.value()), b = s && {
3601
+ e[0].target.data.match(Ea) && this.scroll.find(e[0].target)) {
3602
+ const i = this.scroll.find(e[0].target), o = lt(i), a = i.offset(this.scroll), c = e[0].oldValue.replace(Se.CONTENTS, ""), h = new O().insert(c), d = new O().insert(i.value()), b = s && {
3604
3603
  oldRange: Ni(s.oldRange, -a),
3605
3604
  newRange: Ni(s.newRange, -a)
3606
3605
  };
@@ -3635,7 +3634,7 @@ function ns(n, t, e) {
3635
3634
  if ("html" in n && typeof n.html == "function")
3636
3635
  return n.html(t, e);
3637
3636
  if (n instanceof yt)
3638
- return nn(n.value().slice(t, t + e)).replaceAll(" ", "&nbsp;");
3637
+ return nn(n.value().slice(t, t + e));
3639
3638
  if (n instanceof bt) {
3640
3639
  if (n.statics.blotName === "list-container") {
3641
3640
  const h = [];
@@ -3663,7 +3662,7 @@ function ns(n, t, e) {
3663
3662
  }
3664
3663
  return n.domNode instanceof Element ? n.domNode.outerHTML : "";
3665
3664
  }
3666
- function wa(n, t) {
3665
+ function Aa(n, t) {
3667
3666
  return Object.keys(t).reduce((e, s) => {
3668
3667
  if (n[s] == null) return e;
3669
3668
  const r = t[s];
@@ -3699,7 +3698,7 @@ function Ni(n, t) {
3699
3698
  } = n;
3700
3699
  return new ne(e + t, s);
3701
3700
  }
3702
- function xa(n) {
3701
+ function wa(n) {
3703
3702
  const t = [];
3704
3703
  return n.forEach((e) => {
3705
3704
  typeof e.insert == "string" ? e.insert.split(`
@@ -3723,7 +3722,7 @@ class Nt {
3723
3722
  }
3724
3723
  T(Nt, "DEFAULTS", {});
3725
3724
  const Ps = "\uFEFF";
3726
- class Fr extends rt {
3725
+ class Fr extends nt {
3727
3726
  constructor(t, e) {
3728
3727
  super(t, e), this.contentNode = document.createElement("span"), this.contentNode.setAttribute("contenteditable", "false"), Array.from(this.domNode.childNodes).forEach((s) => {
3729
3728
  this.contentNode.appendChild(s);
@@ -3765,7 +3764,7 @@ class Fr extends rt {
3765
3764
  });
3766
3765
  }
3767
3766
  }
3768
- class Ta {
3767
+ class xa {
3769
3768
  constructor(t, e) {
3770
3769
  T(this, "isComposing", !1);
3771
3770
  this.scroll = t, this.emitter = e, this.setupListeners();
@@ -3808,7 +3807,7 @@ T(Je, "DEFAULTS", {
3808
3807
  default: Je
3809
3808
  });
3810
3809
  let Oe = Je;
3811
- const La = (n) => n.parentElement || n.getRootNode().host || null, qa = (n) => {
3810
+ const Ta = (n) => n.parentElement || n.getRootNode().host || null, La = (n) => {
3812
3811
  const t = n.getBoundingClientRect(), e = "offsetWidth" in n && Math.abs(t.width) / n.offsetWidth || 1, s = "offsetHeight" in n && Math.abs(t.height) / n.offsetHeight || 1;
3813
3812
  return {
3814
3813
  top: t.top,
@@ -3819,7 +3818,7 @@ const La = (n) => n.parentElement || n.getRootNode().host || null, qa = (n) => {
3819
3818
  }, js = (n) => {
3820
3819
  const t = parseInt(n, 10);
3821
3820
  return Number.isNaN(t) ? 0 : t;
3822
- }, Ai = (n, t, e, s, r, i) => n < e && t > s ? 0 : n < e ? -(e - n + r) : t > s ? t - n > s - e ? n + r - e : t - s + i : 0, Sa = (n, t) => {
3821
+ }, Ai = (n, t, e, s, r, i) => n < e && t > s ? 0 : n < e ? -(e - n + r) : t > s ? t - n > s - e ? n + r - e : t - s + i : 0, qa = (n, t) => {
3823
3822
  var i, o, a;
3824
3823
  const e = n.ownerDocument;
3825
3824
  let s = t, r = n;
@@ -3829,7 +3828,7 @@ const La = (n) => n.parentElement || n.getRootNode().host || null, qa = (n) => {
3829
3828
  right: ((i = window.visualViewport) == null ? void 0 : i.width) ?? e.documentElement.clientWidth,
3830
3829
  bottom: ((o = window.visualViewport) == null ? void 0 : o.height) ?? e.documentElement.clientHeight,
3831
3830
  left: 0
3832
- } : qa(r), d = getComputedStyle(r), b = Ai(s.left, s.right, h.left, h.right, js(d.scrollPaddingLeft), js(d.scrollPaddingRight)), g = Ai(s.top, s.bottom, h.top, h.bottom, js(d.scrollPaddingTop), js(d.scrollPaddingBottom));
3831
+ } : La(r), d = getComputedStyle(r), b = Ai(s.left, s.right, h.left, h.right, js(d.scrollPaddingLeft), js(d.scrollPaddingRight)), g = Ai(s.top, s.bottom, h.top, h.bottom, js(d.scrollPaddingTop), js(d.scrollPaddingBottom));
3833
3832
  if (b || g)
3834
3833
  if (c)
3835
3834
  (a = e.defaultView) == null || a.scrollBy(b, g);
@@ -3847,11 +3846,11 @@ const La = (n) => n.parentElement || n.getRootNode().host || null, qa = (n) => {
3847
3846
  bottom: s.bottom - v
3848
3847
  };
3849
3848
  }
3850
- r = c || d.position === "fixed" ? null : La(r);
3849
+ r = c || d.position === "fixed" ? null : Ta(r);
3851
3850
  }
3852
- }, Oa = 100, Ca = ["block", "break", "cursor", "inline", "scroll", "text"], _a = (n, t, e) => {
3851
+ }, Sa = 100, Oa = ["block", "break", "cursor", "inline", "scroll", "text"], Ca = (n, t, e) => {
3853
3852
  const s = new qe();
3854
- return Ca.forEach((r) => {
3853
+ return Oa.forEach((r) => {
3855
3854
  const i = t.query(r);
3856
3855
  i && s.register(i);
3857
3856
  }), n.forEach((r) => {
@@ -3859,7 +3858,7 @@ const La = (n) => n.parentElement || n.getRootNode().host || null, qa = (n) => {
3859
3858
  i || e.error(`Cannot register "${r}" specified in "formats" config. Are you sure it was registered?`);
3860
3859
  let o = 0;
3861
3860
  for (; i; )
3862
- if (s.register(i), i = "blotName" in i ? i.requiredContainer ?? null : null, o += 1, o > Oa) {
3861
+ if (s.register(i), i = "blotName" in i ? i.requiredContainer ?? null : null, o += 1, o > Sa) {
3863
3862
  e.error(`Cycle detected in registering blot requiredContainer: "${r}"`);
3864
3863
  break;
3865
3864
  }
@@ -3890,7 +3889,7 @@ const pt = class pt {
3890
3889
  }
3891
3890
  constructor(t) {
3892
3891
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3893
- if (this.options = ka(t, e), this.container = this.options.container, this.container == null) {
3892
+ if (this.options = _a(t, e), this.container = this.options.container, this.container == null) {
3894
3893
  Le.error("Invalid Quill container", t);
3895
3894
  return;
3896
3895
  }
@@ -3902,7 +3901,7 @@ const pt = class pt {
3902
3901
  throw new Error(`Cannot initialize Quill without "${r}" blot`);
3903
3902
  if (this.scroll = new i(this.options.registry, this.root, {
3904
3903
  emitter: this.emitter
3905
- }), this.editor = new Aa(this.scroll), this.selection = new Ea(this.scroll, this.emitter), this.composition = new Ta(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.uploader = this.theme.addModule("uploader"), this.theme.addModule("input"), this.theme.addModule("uiNode"), this.theme.init(), this.emitter.on(q.events.EDITOR_CHANGE, (o) => {
3904
+ }), this.editor = new Na(this.scroll), this.selection = new va(this.scroll, this.emitter), this.composition = new xa(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.uploader = this.theme.addModule("uploader"), this.theme.addModule("input"), this.theme.addModule("uiNode"), this.theme.init(), this.emitter.on(q.events.EDITOR_CHANGE, (o) => {
3906
3905
  o === q.events.TEXT_CHANGE && this.root.classList.toggle("ql-blank", this.editor.isBlank());
3907
3906
  }), this.emitter.on(q.events.SCROLL_UPDATE, (o, a) => {
3908
3907
  const c = this.selection.lastRange, [h] = this.selection.getRange(), d = c && h ? {
@@ -4081,7 +4080,7 @@ const pt = class pt {
4081
4080
  return [t, e, , s] = Bt(t, e, s), gt.call(this, () => this.editor.removeFormat(t, e), s, t);
4082
4081
  }
4083
4082
  scrollRectIntoView(t) {
4084
- Sa(this.root, t);
4083
+ qa(this.root, t);
4085
4084
  }
4086
4085
  /**
4087
4086
  * @deprecated Use Quill#scrollSelectionIntoView() instead.
@@ -4135,7 +4134,7 @@ T(pt, "DEFAULTS", {
4135
4134
  readOnly: !1,
4136
4135
  registry: Hs,
4137
4136
  theme: "default"
4138
- }), T(pt, "events", q.events), T(pt, "sources", q.sources), T(pt, "version", "2.0.3"), T(pt, "imports", {
4137
+ }), T(pt, "events", q.events), T(pt, "sources", q.sources), T(pt, "version", "2.0.2"), T(pt, "imports", {
4139
4138
  delta: O,
4140
4139
  parchment: sa,
4141
4140
  "core/module": Nt,
@@ -4157,7 +4156,7 @@ function ar(n) {
4157
4156
  function xi(n) {
4158
4157
  return Object.fromEntries(Object.entries(n).filter((t) => t[1] !== void 0));
4159
4158
  }
4160
- function ka(n, t) {
4159
+ function _a(n, t) {
4161
4160
  const e = wi(n);
4162
4161
  if (!e)
4163
4162
  throw new Error("Invalid Quill container");
@@ -4184,7 +4183,7 @@ function ka(n, t) {
4184
4183
  ...xi(t)
4185
4184
  };
4186
4185
  let g = t.registry;
4187
- return g ? t.formats && Le.warn('Ignoring "formats" option because "registry" is specified') : g = t.formats ? _a(t.formats, b.registry, Le) : b.registry, {
4186
+ return g ? t.formats && Le.warn('Ignoring "formats" option because "registry" is specified') : g = t.formats ? Ca(t.formats, b.registry, Le) : b.registry, {
4188
4187
  ...b,
4189
4188
  registry: g,
4190
4189
  container: e,
@@ -4229,7 +4228,7 @@ function Ti(n, t, e, s) {
4229
4228
  class re extends Js {
4230
4229
  }
4231
4230
  function Li(n) {
4232
- return n instanceof G || n instanceof ct;
4231
+ return n instanceof G || n instanceof at;
4233
4232
  }
4234
4233
  function qi(n) {
4235
4234
  return typeof n.updateContent == "function";
@@ -4261,7 +4260,7 @@ class we extends Ur {
4261
4260
  deleteAt(t, e) {
4262
4261
  const [s, r] = this.line(t), [i] = this.line(t + e);
4263
4262
  if (super.deleteAt(t, e), i != null && s !== i && r > 0) {
4264
- if (s instanceof ct || i instanceof ct) {
4263
+ if (s instanceof at || i instanceof at) {
4265
4264
  this.optimize();
4266
4265
  return;
4267
4266
  }
@@ -4305,14 +4304,14 @@ class we extends Ur {
4305
4304
  this.batchStart();
4306
4305
  const i = s.shift();
4307
4306
  if (i) {
4308
- const c = i.type === "block" && (i.delta.length() === 0 || !this.descendant(ct, t)[0] && t < this.length()), h = i.type === "block" ? i.delta : new O().insert({
4307
+ const c = i.type === "block" && (i.delta.length() === 0 || !this.descendant(at, t)[0] && t < this.length()), h = i.type === "block" ? i.delta : new O().insert({
4309
4308
  [i.key]: i.value
4310
4309
  });
4311
4310
  cr(this, t, h);
4312
4311
  const d = i.type === "block" ? 1 : 0, b = t + h.length() + d;
4313
4312
  c && this.insertAt(b - 1, `
4314
4313
  `);
4315
- const g = ot(this.line(t)[0]), p = tt.AttributeMap.diff(g, i.attributes) || {};
4314
+ const g = lt(this.line(t)[0]), p = ct.AttributeMap.diff(g, i.attributes) || {};
4316
4315
  Object.keys(p).forEach((m) => {
4317
4316
  this.formatAt(b - 1, 1, m, p[m]);
4318
4317
  }), t = b;
@@ -4381,7 +4380,7 @@ class we extends Ur {
4381
4380
  }), t.length > 0 && this.emitter.emit(q.events.SCROLL_BEFORE_UPDATE, e, t), super.update(t.concat([])), t.length > 0 && this.emitter.emit(q.events.SCROLL_UPDATE, e, t);
4382
4381
  }
4383
4382
  updateEmbedAt(t, e, s) {
4384
- const [r] = this.descendant((i) => i instanceof ct, t);
4383
+ const [r] = this.descendant((i) => i instanceof at, t);
4385
4384
  r && r.statics.blotName === e && qi(r) && r.updateContent(s);
4386
4385
  }
4387
4386
  handleDragStart(t) {
@@ -4441,23 +4440,23 @@ class we extends Ur {
4441
4440
  }), i;
4442
4441
  }
4443
4442
  }
4444
- T(we, "blotName", "scroll"), T(we, "className", "ql-editor"), T(we, "tagName", "DIV"), T(we, "defaultChild", G), T(we, "allowedChildren", [G, ct, re]);
4443
+ T(we, "blotName", "scroll"), T(we, "className", "ql-editor"), T(we, "tagName", "DIV"), T(we, "defaultChild", G), T(we, "allowedChildren", [G, at, re]);
4445
4444
  function cr(n, t, e) {
4446
4445
  e.reduce((s, r) => {
4447
- const i = tt.Op.length(r);
4446
+ const i = ct.Op.length(r);
4448
4447
  let o = r.attributes || {};
4449
4448
  if (r.insert != null) {
4450
4449
  if (typeof r.insert == "string") {
4451
4450
  const a = r.insert;
4452
4451
  n.insertAt(s, a);
4453
- const [c] = n.descendant(X, s), h = ot(c);
4454
- o = tt.AttributeMap.diff(h, o) || {};
4452
+ const [c] = n.descendant(X, s), h = lt(c);
4453
+ o = ct.AttributeMap.diff(h, o) || {};
4455
4454
  } else if (typeof r.insert == "object") {
4456
4455
  const a = Object.keys(r.insert)[0];
4457
4456
  if (a == null) return s;
4458
4457
  if (n.insertAt(s, a, r.insert[a]), n.scroll.query(a, C.INLINE) != null) {
4459
- const [h] = n.descendant(X, s), d = ot(h);
4460
- o = tt.AttributeMap.diff(d, o) || {};
4458
+ const [h] = n.descendant(X, s), d = lt(h);
4459
+ o = ct.AttributeMap.diff(d, o) || {};
4461
4460
  }
4462
4461
  }
4463
4462
  }
@@ -4469,18 +4468,18 @@ function cr(n, t, e) {
4469
4468
  const zr = {
4470
4469
  scope: C.BLOCK,
4471
4470
  whitelist: ["right", "center", "justify"]
4472
- }, Ia = new St("align", "align", zr), ul = new vt("align", "ql-align", zr), hl = new Vt("align", "text-align", zr);
4471
+ }, ka = new St("align", "align", zr), ul = new vt("align", "ql-align", zr), hl = new Vt("align", "text-align", zr);
4473
4472
  class fl extends Vt {
4474
4473
  value(t) {
4475
4474
  let e = super.value(t);
4476
4475
  return e.startsWith("rgb(") ? (e = e.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${e.split(",").map((r) => `00${parseInt(r, 10).toString(16)}`.slice(-2)).join("")}`) : e;
4477
4476
  }
4478
4477
  }
4479
- const Ra = new vt("color", "ql-color", {
4478
+ const Ia = new vt("color", "ql-color", {
4480
4479
  scope: C.INLINE
4481
4480
  }), Kr = new fl("color", "color", {
4482
4481
  scope: C.INLINE
4483
- }), Ba = new vt("background", "ql-bg", {
4482
+ }), Ra = new vt("background", "ql-bg", {
4484
4483
  scope: C.INLINE
4485
4484
  }), Gr = new fl("background", "background-color", {
4486
4485
  scope: C.INLINE
@@ -4526,18 +4525,18 @@ const Zr = {
4526
4525
  scope: C.INLINE,
4527
4526
  whitelist: ["serif", "monospace"]
4528
4527
  }, bl = new vt("font", "ql-font", ml);
4529
- class Ma extends Vt {
4528
+ class Ba extends Vt {
4530
4529
  value(t) {
4531
4530
  return super.value(t).replace(/["']/g, "");
4532
4531
  }
4533
4532
  }
4534
- const yl = new Ma("font", "font-family", ml), vl = new vt("size", "ql-size", {
4533
+ const yl = new Ba("font", "font-family", ml), vl = new vt("size", "ql-size", {
4535
4534
  scope: C.INLINE,
4536
4535
  whitelist: ["small", "large", "huge"]
4537
4536
  }), El = new Vt("size", "font-size", {
4538
4537
  scope: C.INLINE,
4539
4538
  whitelist: ["10px", "18px", "32px"]
4540
- }), Da = Ut("quill:keyboard"), Ua = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
4539
+ }), Ma = Ut("quill:keyboard"), Da = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
4541
4540
  class rn extends Nt {
4542
4541
  static match(t, e) {
4543
4542
  return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((s) => !!e[s] !== t[s] && e[s] !== null) ? !1 : e.key === t.key || e.key === t.which;
@@ -4593,9 +4592,9 @@ class rn extends Nt {
4593
4592
  }
4594
4593
  addBinding(t) {
4595
4594
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4596
- const r = ja(t);
4595
+ const r = Pa(t);
4597
4596
  if (r == null) {
4598
- Da.warn("Attempted to add invalid keyboard binding", r);
4597
+ Ma.warn("Attempted to add invalid keyboard binding", r);
4599
4598
  return;
4600
4599
  }
4601
4600
  typeof e == "function" && (e = {
@@ -4654,7 +4653,7 @@ class rn extends Nt {
4654
4653
  const [a] = this.quill.getLine(t.index - 1);
4655
4654
  if (a && !(a.statics.blotName === "block" && a.length() <= 1)) {
4656
4655
  const h = i.formats(), d = this.quill.getFormat(t.index - 1, 1);
4657
- if (r = tt.AttributeMap.diff(h, d) || {}, Object.keys(r).length > 0) {
4656
+ if (r = ct.AttributeMap.diff(h, d) || {}, Object.keys(r).length > 0) {
4658
4657
  const b = new O().retain(t.index + i.length() - 2).retain(1, r);
4659
4658
  o = o.compose(b);
4660
4659
  }
@@ -4672,7 +4671,7 @@ class rn extends Nt {
4672
4671
  const [a] = this.quill.getLine(t.index + 1);
4673
4672
  if (a) {
4674
4673
  const c = i.formats(), h = this.quill.getFormat(t.index, 1);
4675
- r = tt.AttributeMap.diff(c, h) || {}, Object.keys(r).length > 0 && (o = o.retain(a.length() - 1).retain(1, r));
4674
+ r = ct.AttributeMap.diff(c, h) || {}, Object.keys(r).length > 0 && (o = o.retain(a.length() - 1).retain(1, r));
4676
4675
  }
4677
4676
  }
4678
4677
  this.quill.updateContents(o, A.sources.USER), this.quill.focus();
@@ -4689,7 +4688,7 @@ class rn extends Nt {
4689
4688
  this.quill.updateContents(r, A.sources.USER), this.quill.setSelection(t.index + 1, A.sources.SILENT), this.quill.focus();
4690
4689
  }
4691
4690
  }
4692
- const Pa = {
4691
+ const Ua = {
4693
4692
  bindings: {
4694
4693
  bold: ur("bold"),
4695
4694
  italic: ur("italic"),
@@ -4819,7 +4818,7 @@ const Pa = {
4819
4818
  handler(n) {
4820
4819
  const t = this.quill.getModule("table");
4821
4820
  if (t) {
4822
- const [e, s, r, i] = t.getTable(n), o = Ha(e, s, r, i);
4821
+ const [e, s, r, i] = t.getTable(n), o = ja(e, s, r, i);
4823
4822
  if (o == null) return;
4824
4823
  let a = e.offset();
4825
4824
  if (o < 0) {
@@ -4913,7 +4912,7 @@ const Pa = {
4913
4912
  "table up": Oi(!0)
4914
4913
  }
4915
4914
  };
4916
- rn.DEFAULTS = Pa;
4915
+ rn.DEFAULTS = Ua;
4917
4916
  function Si(n) {
4918
4917
  return {
4919
4918
  key: "Tab",
@@ -4955,7 +4954,7 @@ function $s(n, t) {
4955
4954
  } = s;
4956
4955
  n === "ArrowRight" && (r += s.length + 1);
4957
4956
  const [i] = this.quill.getLeaf(r);
4958
- return i instanceof rt ? (n === "ArrowLeft" ? t ? this.quill.setSelection(s.index - 1, s.length + 1, A.sources.USER) : this.quill.setSelection(s.index - 1, A.sources.USER) : t ? this.quill.setSelection(s.index, s.length + 1, A.sources.USER) : this.quill.setSelection(s.index + s.length + 1, A.sources.USER), !1) : !0;
4957
+ return i instanceof nt ? (n === "ArrowLeft" ? t ? this.quill.setSelection(s.index - 1, s.length + 1, A.sources.USER) : this.quill.setSelection(s.index - 1, A.sources.USER) : t ? this.quill.setSelection(s.index, s.length + 1, A.sources.USER) : this.quill.setSelection(s.index + s.length + 1, A.sources.USER), !1) : !0;
4959
4958
  }
4960
4959
  };
4961
4960
  }
@@ -4991,7 +4990,7 @@ function Oi(n) {
4991
4990
  }
4992
4991
  };
4993
4992
  }
4994
- function ja(n) {
4993
+ function Pa(n) {
4995
4994
  if (typeof n == "string" || typeof n == "number")
4996
4995
  n = {
4997
4996
  key: n
@@ -5000,7 +4999,7 @@ function ja(n) {
5000
4999
  n = xe(n);
5001
5000
  else
5002
5001
  return null;
5003
- return n.shortKey && (n[Ua] = n.shortKey, delete n.shortKey), n;
5002
+ return n.shortKey && (n[Da] = n.shortKey, delete n.shortKey), n;
5004
5003
  }
5005
5004
  function Wr(n) {
5006
5005
  let {
@@ -5011,52 +5010,52 @@ function Wr(n) {
5011
5010
  let r = {};
5012
5011
  if (s.length > 1) {
5013
5012
  const i = s[0].formats(), o = s[s.length - 1].formats();
5014
- r = tt.AttributeMap.diff(o, i) || {};
5013
+ r = ct.AttributeMap.diff(o, i) || {};
5015
5014
  }
5016
5015
  t.deleteText(e, A.sources.USER), Object.keys(r).length > 0 && t.formatLine(e.index, 1, r, A.sources.USER), t.setSelection(e.index, A.sources.SILENT);
5017
5016
  }
5018
- function Ha(n, t, e, s) {
5017
+ function ja(n, t, e, s) {
5019
5018
  return t.prev == null && t.next == null ? e.prev == null && e.next == null ? s === 0 ? -1 : 1 : e.prev == null ? -1 : 1 : t.prev == null ? -1 : t.next == null ? 1 : null;
5020
5019
  }
5021
- const $a = /font-weight:\s*normal/, Fa = ["P", "OL", "UL"], Ci = (n) => n && Fa.includes(n.tagName), za = (n) => {
5020
+ const Ha = /font-weight:\s*normal/, $a = ["P", "OL", "UL"], Ci = (n) => n && $a.includes(n.tagName), Fa = (n) => {
5022
5021
  Array.from(n.querySelectorAll("br")).filter((t) => Ci(t.previousElementSibling) && Ci(t.nextElementSibling)).forEach((t) => {
5023
5022
  var e;
5024
5023
  (e = t.parentNode) == null || e.removeChild(t);
5025
5024
  });
5026
- }, Ka = (n) => {
5025
+ }, za = (n) => {
5027
5026
  Array.from(n.querySelectorAll('b[style*="font-weight"]')).filter((t) => {
5028
5027
  var e;
5029
- return (e = t.getAttribute("style")) == null ? void 0 : e.match($a);
5028
+ return (e = t.getAttribute("style")) == null ? void 0 : e.match(Ha);
5030
5029
  }).forEach((t) => {
5031
5030
  var s;
5032
5031
  const e = n.createDocumentFragment();
5033
5032
  e.append(...t.childNodes), (s = t.parentNode) == null || s.replaceChild(e, t);
5034
5033
  });
5035
5034
  };
5036
- function Ga(n) {
5037
- n.querySelector('[id^="docs-internal-guid-"]') && (Ka(n), za(n));
5035
+ function Ka(n) {
5036
+ n.querySelector('[id^="docs-internal-guid-"]') && (za(n), Fa(n));
5038
5037
  }
5039
- const Va = /\bmso-list:[^;]*ignore/i, Za = /\bmso-list:[^;]*\bl(\d+)/i, Wa = /\bmso-list:[^;]*\blevel(\d+)/i, Xa = (n, t) => {
5040
- const e = n.getAttribute("style"), s = e == null ? void 0 : e.match(Za);
5038
+ const Ga = /\bmso-list:[^;]*ignore/i, Va = /\bmso-list:[^;]*\bl(\d+)/i, Za = /\bmso-list:[^;]*\blevel(\d+)/i, Wa = (n, t) => {
5039
+ const e = n.getAttribute("style"), s = e == null ? void 0 : e.match(Va);
5041
5040
  if (!s)
5042
5041
  return null;
5043
- const r = Number(s[1]), i = e == null ? void 0 : e.match(Wa), o = i ? Number(i[1]) : 1, a = new RegExp(`@list l${r}:level${o}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`, "i"), c = t.match(a), h = c && c[1] === "bullet" ? "bullet" : "ordered";
5042
+ const r = Number(s[1]), i = e == null ? void 0 : e.match(Za), o = i ? Number(i[1]) : 1, a = new RegExp(`@list l${r}:level${o}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`, "i"), c = t.match(a), h = c && c[1] === "bullet" ? "bullet" : "ordered";
5044
5043
  return {
5045
5044
  id: r,
5046
5045
  indent: o,
5047
5046
  type: h,
5048
5047
  element: n
5049
5048
  };
5050
- }, Ya = (n) => {
5049
+ }, Xa = (n) => {
5051
5050
  var o, a;
5052
5051
  const t = Array.from(n.querySelectorAll("[style*=mso-list]")), e = [], s = [];
5053
5052
  t.forEach((c) => {
5054
- (c.getAttribute("style") || "").match(Va) ? e.push(c) : s.push(c);
5053
+ (c.getAttribute("style") || "").match(Ga) ? e.push(c) : s.push(c);
5055
5054
  }), e.forEach((c) => {
5056
5055
  var h;
5057
5056
  return (h = c.parentNode) == null ? void 0 : h.removeChild(c);
5058
5057
  });
5059
- const r = n.documentElement.innerHTML, i = s.map((c) => Xa(c, r)).filter((c) => c);
5058
+ const r = n.documentElement.innerHTML, i = s.map((c) => Wa(c, r)).filter((c) => c);
5060
5059
  for (; i.length; ) {
5061
5060
  const c = [];
5062
5061
  let h = i.shift();
@@ -5079,17 +5078,17 @@ const Va = /\bmso-list:[^;]*ignore/i, Za = /\bmso-list:[^;]*\bl(\d+)/i, Wa = /\b
5079
5078
  });
5080
5079
  }
5081
5080
  };
5082
- function Qa(n) {
5083
- n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && Ya(n);
5081
+ function Ya(n) {
5082
+ n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && Xa(n);
5084
5083
  }
5085
- const Ja = [Qa, Ga], tc = (n) => {
5086
- n.documentElement && Ja.forEach((t) => {
5084
+ const Qa = [Ya, Ka], Ja = (n) => {
5085
+ n.documentElement && Qa.forEach((t) => {
5087
5086
  t(n);
5088
5087
  });
5089
- }, ec = Ut("quill:clipboard"), sc = [[Node.TEXT_NODE, gc], [Node.TEXT_NODE, ki], ["br", oc], [Node.ELEMENT_NODE, ki], [Node.ELEMENT_NODE, lc], [Node.ELEMENT_NODE, ic], [Node.ELEMENT_NODE, fc], ["li", uc], ["ol, ul", hc], ["pre", ac], ["tr", dc], ["b", hr("bold")], ["i", hr("italic")], ["strike", hr("strike")], ["style", cc]], nc = [Ia, dl].reduce((n, t) => (n[t.keyName] = t, n), {}), _i = [hl, Gr, Kr, pl, yl, El].reduce((n, t) => (n[t.keyName] = t, n), {});
5088
+ }, tc = Ut("quill:clipboard"), ec = [[Node.TEXT_NODE, dc], [Node.TEXT_NODE, ki], ["br", lc], [Node.ELEMENT_NODE, ki], [Node.ELEMENT_NODE, ic], [Node.ELEMENT_NODE, rc], [Node.ELEMENT_NODE, hc], ["li", cc], ["ol, ul", uc], ["pre", oc], ["tr", fc], ["b", hr("bold")], ["i", hr("italic")], ["strike", hr("strike")], ["style", ac]], sc = [ka, dl].reduce((n, t) => (n[t.keyName] = t, n), {}), _i = [hl, Gr, Kr, pl, yl, El].reduce((n, t) => (n[t.keyName] = t, n), {});
5090
5089
  class Nl extends Nt {
5091
5090
  constructor(t, e) {
5092
- super(t, e), this.quill.root.addEventListener("copy", (s) => this.onCaptureCopy(s, !1)), this.quill.root.addEventListener("cut", (s) => this.onCaptureCopy(s, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], sc.concat(this.options.matchers ?? []).forEach((s) => {
5091
+ super(t, e), this.quill.root.addEventListener("copy", (s) => this.onCaptureCopy(s, !1)), this.quill.root.addEventListener("cut", (s) => this.onCaptureCopy(s, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], ec.concat(this.options.matchers ?? []).forEach((s) => {
5093
5092
  let [r, i] = s;
5094
5093
  this.addMatcher(r, i);
5095
5094
  });
@@ -5113,7 +5112,7 @@ class Nl extends Nt {
5113
5112
  `) && (i.ops[i.ops.length - 1].attributes == null || r.table) ? i.compose(new O().retain(i.length() - 1).delete(1)) : i;
5114
5113
  }
5115
5114
  normalizeHTML(t) {
5116
- tc(t);
5115
+ Ja(t);
5117
5116
  }
5118
5117
  convertHTML(t) {
5119
5118
  const e = new DOMParser().parseFromString(t, "text/html");
@@ -5205,7 +5204,7 @@ class Nl extends Nt {
5205
5204
  text: s,
5206
5205
  html: r
5207
5206
  }, i);
5208
- ec.log("onPaste", o, {
5207
+ tc.log("onPaste", o, {
5209
5208
  text: s,
5210
5209
  html: r
5211
5210
  });
@@ -5265,9 +5264,9 @@ function ls(n, t) {
5265
5264
  function zt(n, t) {
5266
5265
  if (!(n instanceof Element)) return !1;
5267
5266
  const e = t.query(n);
5268
- return e && e.prototype instanceof rt ? !1 : ["address", "article", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "iframe", "li", "main", "nav", "ol", "output", "p", "pre", "section", "table", "td", "tr", "ul", "video"].includes(n.tagName.toLowerCase());
5267
+ return e && e.prototype instanceof nt ? !1 : ["address", "article", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "iframe", "li", "main", "nav", "ol", "output", "p", "pre", "section", "table", "td", "tr", "ul", "video"].includes(n.tagName.toLowerCase());
5269
5268
  }
5270
- function rc(n, t) {
5269
+ function nc(n, t) {
5271
5270
  return n.previousElementSibling && n.nextElementSibling && !zt(n.previousElementSibling, t) && !zt(n.nextElementSibling, t);
5272
5271
  }
5273
5272
  const Fs = /* @__PURE__ */ new WeakMap();
@@ -5283,20 +5282,20 @@ function Xr(n, t, e, s, r) {
5283
5282
  function hr(n) {
5284
5283
  return (t, e, s) => le(e, n, !0, s);
5285
5284
  }
5286
- function ic(n, t, e) {
5285
+ function rc(n, t, e) {
5287
5286
  const s = St.keys(n), r = vt.keys(n), i = Vt.keys(n), o = {};
5288
5287
  return s.concat(r).concat(i).forEach((a) => {
5289
5288
  let c = e.query(a, C.ATTRIBUTE);
5290
- c != null && (o[c.attrName] = c.value(n), o[c.attrName]) || (c = nc[a], c != null && (c.attrName === a || c.keyName === a) && (o[c.attrName] = c.value(n) || void 0), c = _i[a], c != null && (c.attrName === a || c.keyName === a) && (c = _i[a], o[c.attrName] = c.value(n) || void 0));
5289
+ c != null && (o[c.attrName] = c.value(n), o[c.attrName]) || (c = sc[a], c != null && (c.attrName === a || c.keyName === a) && (o[c.attrName] = c.value(n) || void 0), c = _i[a], c != null && (c.attrName === a || c.keyName === a) && (c = _i[a], o[c.attrName] = c.value(n) || void 0));
5291
5290
  }), Object.entries(o).reduce((a, c) => {
5292
5291
  let [h, d] = c;
5293
5292
  return le(a, h, d, e);
5294
5293
  }, t);
5295
5294
  }
5296
- function lc(n, t, e) {
5295
+ function ic(n, t, e) {
5297
5296
  const s = e.query(n);
5298
5297
  if (s == null) return t;
5299
- if (s.prototype instanceof rt) {
5298
+ if (s.prototype instanceof nt) {
5300
5299
  const r = {}, i = s.value(n);
5301
5300
  if (i != null)
5302
5301
  return r[s.blotName] = i, new O().insert(r, s.formats(n, e));
@@ -5306,19 +5305,19 @@ function lc(n, t, e) {
5306
5305
  return le(t, s.blotName, s.formats(n, e), e);
5307
5306
  return t;
5308
5307
  }
5309
- function oc(n, t) {
5308
+ function lc(n, t) {
5310
5309
  return ls(t, `
5311
5310
  `) || t.insert(`
5312
5311
  `), t;
5313
5312
  }
5314
- function ac(n, t, e) {
5313
+ function oc(n, t, e) {
5315
5314
  const s = e.query("code-block"), r = s && "formats" in s && typeof s.formats == "function" ? s.formats(n, e) : !0;
5316
5315
  return le(t, "code-block", r, e);
5317
5316
  }
5318
- function cc() {
5317
+ function ac() {
5319
5318
  return new O();
5320
5319
  }
5321
- function uc(n, t, e) {
5320
+ function cc(n, t, e) {
5322
5321
  const s = e.query(n);
5323
5322
  if (s == null || // @ts-expect-error
5324
5323
  s.blotName !== "list" || !ls(t, `
@@ -5332,7 +5331,7 @@ function uc(n, t, e) {
5332
5331
  ...a.attributes || {}
5333
5332
  }) : o, new O());
5334
5333
  }
5335
- function hc(n, t, e) {
5334
+ function uc(n, t, e) {
5336
5335
  const s = n;
5337
5336
  let r = s.tagName === "OL" ? "ordered" : "bullet";
5338
5337
  const i = s.getAttribute("data-checked");
@@ -5351,7 +5350,7 @@ function ki(n, t, e) {
5351
5350
  return t.insert(`
5352
5351
  `);
5353
5352
  const r = e.query(s);
5354
- if (r && r.prototype instanceof ct)
5353
+ if (r && r.prototype instanceof at)
5355
5354
  return t.insert(`
5356
5355
  `);
5357
5356
  s = s.firstChild;
@@ -5360,7 +5359,7 @@ function ki(n, t, e) {
5360
5359
  }
5361
5360
  return t;
5362
5361
  }
5363
- function fc(n, t, e) {
5362
+ function hc(n, t, e) {
5364
5363
  var i;
5365
5364
  const s = {}, r = n.style || {};
5366
5365
  return r.fontStyle === "italic" && (s.italic = !0), r.textDecoration === "underline" && (s.underline = !0), r.textDecoration === "line-through" && (s.strike = !0), ((i = r.fontWeight) != null && i.startsWith("bold") || // @ts-expect-error Fix me later
@@ -5369,7 +5368,7 @@ function fc(n, t, e) {
5369
5368
  return le(o, c, h, e);
5370
5369
  }, t), parseFloat(r.textIndent || 0) > 0 ? new O().insert(" ").concat(t) : t;
5371
5370
  }
5372
- function dc(n, t, e) {
5371
+ function fc(n, t, e) {
5373
5372
  var r, i;
5374
5373
  const s = ((r = n.parentElement) == null ? void 0 : r.tagName) === "TABLE" ? n.parentElement : (i = n.parentElement) == null ? void 0 : i.parentElement;
5375
5374
  if (s != null) {
@@ -5378,16 +5377,20 @@ function dc(n, t, e) {
5378
5377
  }
5379
5378
  return t;
5380
5379
  }
5381
- function gc(n, t, e) {
5380
+ function dc(n, t, e) {
5382
5381
  var r;
5383
5382
  let s = n.data;
5384
5383
  if (((r = n.parentElement) == null ? void 0 : r.tagName) === "O:P")
5385
5384
  return t.insert(s.trim());
5386
5385
  if (!Al(n)) {
5387
5386
  if (s.trim().length === 0 && s.includes(`
5388
- `) && !rc(n, e))
5387
+ `) && !nc(n, e))
5389
5388
  return t;
5390
- s = s.replace(/[^\S\u00a0]/g, " "), s = s.replace(/ {2,}/g, " "), (n.previousSibling == null && n.parentElement != null && zt(n.parentElement, e) || n.previousSibling instanceof Element && zt(n.previousSibling, e)) && (s = s.replace(/^ /, "")), (n.nextSibling == null && n.parentElement != null && zt(n.parentElement, e) || n.nextSibling instanceof Element && zt(n.nextSibling, e)) && (s = s.replace(/ $/, "")), s = s.replaceAll(" ", " ");
5389
+ const i = (o, a) => {
5390
+ const c = a.replace(/[^\u00a0]/g, "");
5391
+ return c.length < 1 && o ? " " : c;
5392
+ };
5393
+ s = s.replace(/\r\n/g, " ").replace(/\n/g, " "), s = s.replace(/\s\s+/g, i.bind(i, !0)), (n.previousSibling == null && n.parentElement != null && zt(n.parentElement, e) || n.previousSibling instanceof Element && zt(n.previousSibling, e)) && (s = s.replace(/^\s+/, i.bind(i, !1))), (n.nextSibling == null && n.parentElement != null && zt(n.parentElement, e) || n.nextSibling instanceof Element && zt(n.nextSibling, e)) && (s = s.replace(/\s+$/, i.bind(i, !1)));
5391
5394
  }
5392
5395
  return t.insert(s);
5393
5396
  }
@@ -5467,7 +5470,7 @@ class wl extends Nt {
5467
5470
  if (e.range)
5468
5471
  this.quill.setSelection(e.range, A.sources.USER);
5469
5472
  else {
5470
- const s = mc(this.quill.scroll, e.delta);
5473
+ const s = pc(this.quill.scroll, e.delta);
5471
5474
  this.quill.setSelection(s, A.sources.USER);
5472
5475
  }
5473
5476
  }
@@ -5487,15 +5490,15 @@ function Ii(n, t) {
5487
5490
  }, e = r.delta.transform(e), n[s].delta.length() === 0 && n.splice(s, 1);
5488
5491
  }
5489
5492
  }
5490
- function pc(n, t) {
5493
+ function gc(n, t) {
5491
5494
  const e = t.ops[t.ops.length - 1];
5492
5495
  return e == null ? !1 : e.insert != null ? typeof e.insert == "string" && e.insert.endsWith(`
5493
5496
  `) : e.attributes != null ? Object.keys(e.attributes).some((s) => n.query(s, C.BLOCK) != null) : !1;
5494
5497
  }
5495
- function mc(n, t) {
5498
+ function pc(n, t) {
5496
5499
  const e = t.reduce((r, i) => r + (i.delete || 0), 0);
5497
5500
  let s = t.length() - e;
5498
- return pc(n, t) && (s -= 1), s;
5501
+ return gc(n, t) && (s -= 1), s;
5499
5502
  }
5500
5503
  function Lr(n, t) {
5501
5504
  if (!n) return n;
@@ -5551,8 +5554,8 @@ xl.DEFAULTS = {
5551
5554
  });
5552
5555
  }
5553
5556
  };
5554
- const bc = ["insertText", "insertReplacementText"];
5555
- class yc extends Nt {
5557
+ const mc = ["insertText", "insertReplacementText"];
5558
+ class bc extends Nt {
5556
5559
  constructor(t, e) {
5557
5560
  super(t, e), t.root.addEventListener("beforeinput", (s) => {
5558
5561
  this.handleBeforeInput(s);
@@ -5577,12 +5580,12 @@ class yc extends Nt {
5577
5580
  return this.quill.setSelection(t.index + e.length, 0, A.sources.SILENT), !0;
5578
5581
  }
5579
5582
  handleBeforeInput(t) {
5580
- if (this.quill.composition.isComposing || t.defaultPrevented || !bc.includes(t.inputType))
5583
+ if (this.quill.composition.isComposing || t.defaultPrevented || !mc.includes(t.inputType))
5581
5584
  return;
5582
5585
  const e = t.getTargetRanges ? t.getTargetRanges()[0] : null;
5583
5586
  if (!e || e.collapsed === !0)
5584
5587
  return;
5585
- const s = vc(t);
5588
+ const s = yc(t);
5586
5589
  if (s == null)
5587
5590
  return;
5588
5591
  const r = this.quill.selection.normalizeNative(e), i = r ? this.quill.selection.normalizedToRange(r) : null;
@@ -5593,13 +5596,13 @@ class yc extends Nt {
5593
5596
  t && this.replaceText(t);
5594
5597
  }
5595
5598
  }
5596
- function vc(n) {
5599
+ function yc(n) {
5597
5600
  var t;
5598
5601
  return typeof n.data == "string" ? n.data : (t = n.dataTransfer) != null && t.types.includes("text/plain") ? n.dataTransfer.getData("text/plain") : null;
5599
5602
  }
5600
- const Ec = /Mac/i.test(navigator.platform), Nc = 100, Ac = (n) => !!(n.key === "ArrowLeft" || n.key === "ArrowRight" || // RTL scripts or moving from the end of the previous line
5601
- n.key === "ArrowUp" || n.key === "ArrowDown" || n.key === "Home" || Ec && n.key === "a" && n.ctrlKey === !0);
5602
- class wc extends Nt {
5603
+ const vc = /Mac/i.test(navigator.platform), Ec = 100, Nc = (n) => !!(n.key === "ArrowLeft" || n.key === "ArrowRight" || // RTL scripts or moving from the end of the previous line
5604
+ n.key === "ArrowUp" || n.key === "ArrowDown" || n.key === "Home" || vc && n.key === "a" && n.ctrlKey === !0);
5605
+ class Ac extends Nt {
5603
5606
  constructor(e, s) {
5604
5607
  super(e, s);
5605
5608
  T(this, "isListening", !1);
@@ -5625,7 +5628,7 @@ class wc extends Nt {
5625
5628
  }
5626
5629
  handleNavigationShortcuts() {
5627
5630
  this.quill.root.addEventListener("keydown", (e) => {
5628
- !e.defaultPrevented && Ac(e) && this.ensureListeningToSelectionChange();
5631
+ !e.defaultPrevented && Nc(e) && this.ensureListeningToSelectionChange();
5629
5632
  });
5630
5633
  }
5631
5634
  /**
@@ -5635,7 +5638,7 @@ class wc extends Nt {
5635
5638
  * the selection within the handler of a `selectionchange` event.
5636
5639
  */
5637
5640
  ensureListeningToSelectionChange() {
5638
- if (this.selectionChangeDeadline = Date.now() + Nc, this.isListening) return;
5641
+ if (this.selectionChangeDeadline = Date.now() + Ec, this.isListening) return;
5639
5642
  this.isListening = !0;
5640
5643
  const e = () => {
5641
5644
  this.isListening = !1, Date.now() <= this.selectionChangeDeadline && this.handleSelectionChange();
@@ -5657,7 +5660,7 @@ class wc extends Nt {
5657
5660
  }
5658
5661
  A.register({
5659
5662
  "blots/block": G,
5660
- "blots/block/embed": ct,
5663
+ "blots/block/embed": at,
5661
5664
  "blots/break": Et,
5662
5665
  "blots/container": re,
5663
5666
  "blots/cursor": Se,
@@ -5669,10 +5672,10 @@ A.register({
5669
5672
  "modules/history": wl,
5670
5673
  "modules/keyboard": rn,
5671
5674
  "modules/uploader": xl,
5672
- "modules/input": yc,
5673
- "modules/uiNode": wc
5675
+ "modules/input": bc,
5676
+ "modules/uiNode": Ac
5674
5677
  });
5675
- class xc extends vt {
5678
+ class wc extends vt {
5676
5679
  add(t, e) {
5677
5680
  let s = 0;
5678
5681
  if (e === "+1" || e === "-1") {
@@ -5688,7 +5691,7 @@ class xc extends vt {
5688
5691
  return parseInt(super.value(t), 10) || void 0;
5689
5692
  }
5690
5693
  }
5691
- const Tc = new xc("indent", "ql-indent", {
5694
+ const xc = new wc("indent", "ql-indent", {
5692
5695
  scope: C.BLOCK,
5693
5696
  // @ts-expect-error
5694
5697
  whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
@@ -5809,7 +5812,7 @@ class Ks extends Fr {
5809
5812
  }
5810
5813
  T(Ks, "blotName", "formula"), T(Ks, "className", "ql-formula"), T(Ks, "tagName", "SPAN");
5811
5814
  const Ri = ["alt", "height", "width"];
5812
- class Ir extends rt {
5815
+ class Ir extends nt {
5813
5816
  static create(t) {
5814
5817
  const e = super.create(t);
5815
5818
  return typeof t == "string" && e.setAttribute("src", this.sanitize(t)), e;
@@ -5832,7 +5835,7 @@ class Ir extends rt {
5832
5835
  }
5833
5836
  T(Ir, "blotName", "image"), T(Ir, "tagName", "IMG");
5834
5837
  const Bi = ["height", "width"];
5835
- class Gs extends ct {
5838
+ class Gs extends at {
5836
5839
  static create(t) {
5837
5840
  const e = super.create(t);
5838
5841
  return e.setAttribute("frameborder", "0"), e.setAttribute("allowfullscreen", "true"), e.setAttribute("src", this.sanitize(t)), e;
@@ -5880,7 +5883,7 @@ class Mt extends Ot {
5880
5883
  }
5881
5884
  Mt.blotName = "code-token";
5882
5885
  Mt.className = "ql-token";
5883
- class at extends Y {
5886
+ class ot extends Y {
5884
5887
  static create(t) {
5885
5888
  const e = super.create(t);
5886
5889
  return typeof t == "string" && e.setAttribute("data-language", t), e;
@@ -5903,19 +5906,19 @@ class Qe extends ie {
5903
5906
  super.attach(), this.forceNext = !1, this.scroll.emitMount(this);
5904
5907
  }
5905
5908
  format(t, e) {
5906
- t === at.blotName && (this.forceNext = !0, this.children.forEach((s) => {
5909
+ t === ot.blotName && (this.forceNext = !0, this.children.forEach((s) => {
5907
5910
  s.format(t, e);
5908
5911
  }));
5909
5912
  }
5910
5913
  formatAt(t, e, s, r) {
5911
- s === at.blotName && (this.forceNext = !0), super.formatAt(t, e, s, r);
5914
+ s === ot.blotName && (this.forceNext = !0), super.formatAt(t, e, s, r);
5912
5915
  }
5913
5916
  highlight(t) {
5914
5917
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
5915
5918
  if (this.children.head == null) return;
5916
5919
  const r = `${Array.from(this.domNode.childNodes).filter((o) => o !== this.uiNode).map((o) => o.textContent).join(`
5917
5920
  `)}
5918
- `, i = at.formats(this.children.head.domNode);
5921
+ `, i = ot.formats(this.children.head.domNode);
5919
5922
  if (e || this.forceNext || this.cachedText !== r) {
5920
5923
  if (r.trim().length > 0 || this.cachedText == null) {
5921
5924
  const o = this.children.reduce((c, h) => c.concat(ol(h, !1)), new O()), a = t(r, i);
@@ -5925,7 +5928,7 @@ class Qe extends ie {
5925
5928
  attributes: b
5926
5929
  } = h;
5927
5930
  return d ? (b && Object.keys(b).forEach((g) => {
5928
- [at.blotName, Mt.blotName].includes(g) && this.formatAt(c, d, g, b[g]);
5931
+ [ot.blotName, Mt.blotName].includes(g) && this.formatAt(c, d, g, b[g]);
5929
5932
  }), c + d) : c;
5930
5933
  }, 0);
5931
5934
  }
@@ -5934,21 +5937,21 @@ class Qe extends ie {
5934
5937
  }
5935
5938
  html(t, e) {
5936
5939
  const [s] = this.children.find(t);
5937
- return `<pre data-language="${s ? at.formats(s.domNode) : "plain"}">
5940
+ return `<pre data-language="${s ? ot.formats(s.domNode) : "plain"}">
5938
5941
  ${nn(this.code(t, e))}
5939
5942
  </pre>`;
5940
5943
  }
5941
5944
  optimize(t) {
5942
5945
  if (super.optimize(t), this.parent != null && this.children.head != null && this.uiNode != null) {
5943
- const e = at.formats(this.children.head.domNode);
5946
+ const e = ot.formats(this.children.head.domNode);
5944
5947
  e !== this.uiNode.value && (this.uiNode.value = e);
5945
5948
  }
5946
5949
  }
5947
5950
  }
5948
- Qe.allowedChildren = [at];
5949
- at.requiredContainer = Qe;
5950
- at.allowedChildren = [Mt, Se, yt, Et];
5951
- const Lc = (n, t, e) => {
5951
+ Qe.allowedChildren = [ot];
5952
+ ot.requiredContainer = Qe;
5953
+ ot.allowedChildren = [Mt, Se, yt, Et];
5954
+ const Tc = (n, t, e) => {
5952
5955
  if (typeof n.versionString == "string") {
5953
5956
  const s = n.versionString.split(".")[0];
5954
5957
  if (parseInt(s, 10) >= 11)
@@ -5960,7 +5963,7 @@ const Lc = (n, t, e) => {
5960
5963
  };
5961
5964
  class Ll extends Nt {
5962
5965
  static register() {
5963
- A.register(Mt, !0), A.register(at, !0), A.register(Qe, !0);
5966
+ A.register(Mt, !0), A.register(ot, !0), A.register(Qe, !0);
5964
5967
  }
5965
5968
  constructor(t, e) {
5966
5969
  if (super(t, e), this.options.hljs == null)
@@ -5984,8 +5987,8 @@ class Ll extends Nt {
5984
5987
  const o = e.ownerDocument.createElement("option");
5985
5988
  o.textContent = i, o.setAttribute("value", r), e.appendChild(o);
5986
5989
  }), e.addEventListener("change", () => {
5987
- t.format(at.blotName, e.value), this.quill.root.focus(), this.highlight(t, !0);
5988
- }), t.uiNode == null && (t.attachUI(e), t.children.head && (e.value = at.formats(t.children.head.domNode)));
5990
+ t.format(ot.blotName, e.value), this.quill.root.focus(), this.highlight(t, !0);
5991
+ }), t.uiNode == null && (t.attachUI(e), t.children.head && (e.value = ot.formats(t.children.head.domNode)));
5989
5992
  });
5990
5993
  }
5991
5994
  initTimer() {
@@ -6014,7 +6017,7 @@ class Ll extends Nt {
6014
6017
  [Y.blotName]: e
6015
6018
  }), r.insert(i)), new O());
6016
6019
  const s = this.quill.root.ownerDocument.createElement("div");
6017
- return s.classList.add(Y.className), s.innerHTML = Lc(this.options.hljs, e, t), Xr(this.quill.scroll, s, [(r, i) => {
6020
+ return s.classList.add(Y.className), s.innerHTML = Tc(this.options.hljs, e, t), Xr(this.quill.scroll, s, [(r, i) => {
6018
6021
  const o = Ye.value(r);
6019
6022
  return o ? i.compose(new O().retain(i.length(), {
6020
6023
  [Mt.blotName]: o
@@ -6184,7 +6187,7 @@ mt.requiredContainer = Dt;
6184
6187
  function Yr() {
6185
6188
  return `row-${Math.random().toString(36).slice(2, 6)}`;
6186
6189
  }
6187
- class qc extends Nt {
6190
+ class Lc extends Nt {
6188
6191
  static register() {
6189
6192
  A.register(mt), A.register(Dt), A.register(qt), A.register(Ce);
6190
6193
  }
@@ -6275,7 +6278,7 @@ class Qr extends Nt {
6275
6278
  var s, r;
6276
6279
  if (super(t, e), Array.isArray(this.options.container)) {
6277
6280
  const i = document.createElement("div");
6278
- i.setAttribute("role", "toolbar"), Sc(i, this.options.container), (r = (s = t.container) == null ? void 0 : s.parentNode) == null || r.insertBefore(i, t.container), this.container = i;
6281
+ i.setAttribute("role", "toolbar"), qc(i, this.options.container), (r = (s = t.container) == null ? void 0 : s.parentNode) == null || r.insertBefore(i, t.container), this.container = i;
6279
6282
  } else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
6280
6283
  if (!(this.container instanceof HTMLElement)) {
6281
6284
  Mi.error("Container required for toolbar", this.options);
@@ -6317,7 +6320,7 @@ class Qr extends Nt {
6317
6320
  this.handlers[e].call(this, i);
6318
6321
  else if (
6319
6322
  // @ts-expect-error
6320
- this.quill.scroll.query(e).prototype instanceof rt
6323
+ this.quill.scroll.query(e).prototype instanceof nt
6321
6324
  ) {
6322
6325
  if (i = prompt(`Enter ${e}`), !i) return;
6323
6326
  this.quill.updateContents(new O().retain(o.index).delete(o.length).insert({
@@ -6360,7 +6363,7 @@ function Di(n, t, e) {
6360
6363
  const s = document.createElement("button");
6361
6364
  s.setAttribute("type", "button"), s.classList.add(`ql-${t}`), s.setAttribute("aria-pressed", "false"), e != null ? (s.value = e, s.setAttribute("aria-label", `${t}: ${e}`)) : s.setAttribute("aria-label", t), n.appendChild(s);
6362
6365
  }
6363
- function Sc(n, t) {
6366
+ function qc(n, t) {
6364
6367
  Array.isArray(t[0]) || (t = [t]), t.forEach((e) => {
6365
6368
  const s = document.createElement("span");
6366
6369
  s.classList.add("ql-formats"), e.forEach((r) => {
@@ -6368,12 +6371,12 @@ function Sc(n, t) {
6368
6371
  Di(s, r);
6369
6372
  else {
6370
6373
  const i = Object.keys(r)[0], o = r[i];
6371
- Array.isArray(o) ? Oc(s, i, o) : Di(s, i, o);
6374
+ Array.isArray(o) ? Sc(s, i, o) : Di(s, i, o);
6372
6375
  }
6373
6376
  }), n.appendChild(s);
6374
6377
  });
6375
6378
  }
6376
- function Oc(n, t, e) {
6379
+ function Sc(n, t, e) {
6377
6380
  const s = document.createElement("select");
6378
6381
  s.classList.add(`ql-${t}`), e.forEach((r) => {
6379
6382
  const i = document.createElement("option");
@@ -6416,54 +6419,54 @@ Qr.DEFAULTS = {
6416
6419
  }
6417
6420
  }
6418
6421
  };
6419
- const Cc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', _c = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', kc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', Ic = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Rc = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', Bc = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', Mc = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', Dc = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', Ui = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', Uc = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', Pc = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', jc = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', Hc = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', $c = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', Fc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', zc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', Kc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', Gc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', Vc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', Zc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', Wc = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', Xc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', Yc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', Qc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', Jc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', tu = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', eu = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', su = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', nu = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', ru = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', iu = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', lu = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', ou = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', is = {
6422
+ const Oc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', Cc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', _c = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', kc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Ic = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', Rc = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', Bc = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', Mc = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', Ui = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', Dc = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', Uc = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', Pc = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', jc = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', Hc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', $c = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', Fc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', zc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', Kc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', Gc = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', Vc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', Zc = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', Wc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', Xc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', Yc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', Qc = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', Jc = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', tu = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', eu = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', su = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', nu = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', ru = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', iu = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', lu = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', is = {
6420
6423
  align: {
6421
- "": Cc,
6422
- center: _c,
6423
- right: kc,
6424
- justify: Ic
6424
+ "": Oc,
6425
+ center: Cc,
6426
+ right: _c,
6427
+ justify: kc
6425
6428
  },
6426
- background: Rc,
6427
- blockquote: Bc,
6428
- bold: Mc,
6429
- clean: Dc,
6429
+ background: Ic,
6430
+ blockquote: Rc,
6431
+ bold: Bc,
6432
+ clean: Mc,
6430
6433
  code: Ui,
6431
6434
  "code-block": Ui,
6432
- color: Uc,
6435
+ color: Dc,
6433
6436
  direction: {
6434
- "": Pc,
6435
- rtl: jc
6437
+ "": Uc,
6438
+ rtl: Pc
6436
6439
  },
6437
- formula: Hc,
6440
+ formula: jc,
6438
6441
  header: {
6439
- 1: $c,
6440
- 2: Fc,
6441
- 3: zc,
6442
- 4: Kc,
6443
- 5: Gc,
6444
- 6: Vc
6442
+ 1: Hc,
6443
+ 2: $c,
6444
+ 3: Fc,
6445
+ 4: zc,
6446
+ 5: Kc,
6447
+ 6: Gc
6445
6448
  },
6446
- italic: Zc,
6447
- image: Wc,
6449
+ italic: Vc,
6450
+ image: Zc,
6448
6451
  indent: {
6449
- "+1": Xc,
6450
- "-1": Yc
6452
+ "+1": Wc,
6453
+ "-1": Xc
6451
6454
  },
6452
- link: Qc,
6455
+ link: Yc,
6453
6456
  list: {
6454
- bullet: Jc,
6455
- check: tu,
6456
- ordered: eu
6457
+ bullet: Qc,
6458
+ check: Jc,
6459
+ ordered: tu
6457
6460
  },
6458
6461
  script: {
6459
- sub: su,
6460
- super: nu
6462
+ sub: eu,
6463
+ super: su
6461
6464
  },
6462
- strike: ru,
6463
- table: iu,
6464
- underline: lu,
6465
- video: ou
6466
- }, au = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
6465
+ strike: nu,
6466
+ table: ru,
6467
+ underline: iu,
6468
+ video: lu
6469
+ }, ou = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
6467
6470
  let Pi = 0;
6468
6471
  function ji(n, t) {
6469
6472
  n.setAttribute(t, `${n.getAttribute(t) !== "true"}`);
@@ -6505,7 +6508,7 @@ class ln {
6505
6508
  }
6506
6509
  buildLabel() {
6507
6510
  const t = document.createElement("span");
6508
- return t.classList.add("ql-picker-label"), t.innerHTML = au, t.tabIndex = "0", t.setAttribute("role", "button"), t.setAttribute("aria-expanded", "false"), this.container.appendChild(t), t;
6511
+ return t.classList.add("ql-picker-label"), t.innerHTML = ou, t.tabIndex = "0", t.setAttribute("role", "button"), t.setAttribute("aria-expanded", "false"), this.container.appendChild(t), t;
6509
6512
  }
6510
6513
  buildOptions() {
6511
6514
  const t = document.createElement("span");
@@ -6575,7 +6578,7 @@ class Sl extends ln {
6575
6578
  }
6576
6579
  }
6577
6580
  }
6578
- const cu = (n) => {
6581
+ const au = (n) => {
6579
6582
  const {
6580
6583
  overflowY: t
6581
6584
  } = getComputedStyle(n, null);
@@ -6583,7 +6586,7 @@ const cu = (n) => {
6583
6586
  };
6584
6587
  class Ol {
6585
6588
  constructor(t, e) {
6586
- this.quill = t, this.boundsContainer = e || document.body, this.root = t.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, cu(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
6589
+ this.quill = t, this.boundsContainer = e || document.body, this.root = t.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, au(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
6587
6590
  this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
6588
6591
  }), this.hide();
6589
6592
  }
@@ -6605,7 +6608,7 @@ class Ol {
6605
6608
  this.root.classList.remove("ql-editing"), this.root.classList.remove("ql-hidden");
6606
6609
  }
6607
6610
  }
6608
- const uu = [!1, "center", "right", "justify"], hu = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], fu = [!1, "serif", "monospace"], du = ["1", "2", "3", !1], gu = ["small", !1, "large", "huge"];
6611
+ const cu = [!1, "center", "right", "justify"], uu = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], hu = [!1, "serif", "monospace"], fu = ["1", "2", "3", !1], du = ["small", !1, "large", "huge"];
6609
6612
  class cs extends Oe {
6610
6613
  constructor(t, e) {
6611
6614
  super(t, e);
@@ -6643,13 +6646,13 @@ class cs extends Oe {
6643
6646
  }
6644
6647
  buildPickers(t, e) {
6645
6648
  this.pickers = Array.from(t).map((r) => {
6646
- if (r.classList.contains("ql-align") && (r.querySelector("option") == null && Xe(r, uu), typeof e.align == "object"))
6649
+ if (r.classList.contains("ql-align") && (r.querySelector("option") == null && Xe(r, cu), typeof e.align == "object"))
6647
6650
  return new Sl(r, e.align);
6648
6651
  if (r.classList.contains("ql-background") || r.classList.contains("ql-color")) {
6649
6652
  const i = r.classList.contains("ql-background") ? "background" : "color";
6650
- return r.querySelector("option") == null && Xe(r, hu, i === "background" ? "#ffffff" : "#000000"), new ql(r, e[i]);
6653
+ return r.querySelector("option") == null && Xe(r, uu, i === "background" ? "#ffffff" : "#000000"), new ql(r, e[i]);
6651
6654
  }
6652
- return r.querySelector("option") == null && (r.classList.contains("ql-font") ? Xe(r, fu) : r.classList.contains("ql-header") ? Xe(r, du) : r.classList.contains("ql-size") && Xe(r, gu)), new ln(r);
6655
+ return r.querySelector("option") == null && (r.classList.contains("ql-font") ? Xe(r, hu) : r.classList.contains("ql-header") ? Xe(r, fu) : r.classList.contains("ql-size") && Xe(r, du)), new ln(r);
6653
6656
  });
6654
6657
  const s = () => {
6655
6658
  this.pickers.forEach((r) => {
@@ -6717,7 +6720,7 @@ class Cl extends Ol {
6717
6720
  break;
6718
6721
  }
6719
6722
  case "video":
6720
- t = pu(t);
6723
+ t = gu(t);
6721
6724
  case "formula": {
6722
6725
  if (!t) break;
6723
6726
  const e = this.quill.getSelection(!0);
@@ -6737,7 +6740,7 @@ class Cl extends Ol {
6737
6740
  this.textbox.value = "", this.hide();
6738
6741
  }
6739
6742
  }
6740
- function pu(n) {
6743
+ function gu(n) {
6741
6744
  let t = n.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || n.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
6742
6745
  return t ? `${t[1] || "https"}://www.youtube.com/embed/${t[2]}?showinfo=0` : (t = n.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? `${t[1] || "https"}://player.vimeo.com/video/${t[2]}/` : n;
6743
6746
  }
@@ -6748,7 +6751,7 @@ function Xe(n, t) {
6748
6751
  s === e ? r.setAttribute("selected", "selected") : r.setAttribute("value", String(s)), n.appendChild(r);
6749
6752
  });
6750
6753
  }
6751
- const mu = [["bold", "italic", "link"], [{
6754
+ const pu = [["bold", "italic", "link"], [{
6752
6755
  header: 1
6753
6756
  }, {
6754
6757
  header: 2
@@ -6795,7 +6798,7 @@ class _l extends Cl {
6795
6798
  T(_l, "TEMPLATE", ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""));
6796
6799
  class kl extends cs {
6797
6800
  constructor(t, e) {
6798
- e.modules.toolbar != null && e.modules.toolbar.container == null && (e.modules.toolbar.container = mu), super(t, e), this.quill.container.classList.add("ql-bubble");
6801
+ e.modules.toolbar != null && e.modules.toolbar.container == null && (e.modules.toolbar.container = pu), super(t, e), this.quill.container.classList.add("ql-bubble");
6799
6802
  }
6800
6803
  extendToolbar(t) {
6801
6804
  this.tooltip = new _l(this.quill, this.options.bounds), t.container != null && (this.tooltip.root.appendChild(t.container), this.buildButtons(t.container.querySelectorAll("button"), is), this.buildPickers(t.container.querySelectorAll("select"), is));
@@ -6812,7 +6815,7 @@ kl.DEFAULTS = Gt({}, cs.DEFAULTS, {
6812
6815
  }
6813
6816
  }
6814
6817
  });
6815
- const bu = [[{
6818
+ const mu = [[{
6816
6819
  header: ["1", "2", "3", !1]
6817
6820
  }], ["bold", "italic", "underline", "link"], [{
6818
6821
  list: "ordered"
@@ -6858,7 +6861,7 @@ class Il extends Cl {
6858
6861
  T(Il, "TEMPLATE", ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""));
6859
6862
  class Rl extends cs {
6860
6863
  constructor(t, e) {
6861
- e.modules.toolbar != null && e.modules.toolbar.container == null && (e.modules.toolbar.container = bu), super(t, e), this.quill.container.classList.add("ql-snow");
6864
+ e.modules.toolbar != null && e.modules.toolbar.container == null && (e.modules.toolbar.container = mu), super(t, e), this.quill.container.classList.add("ql-snow");
6862
6865
  }
6863
6866
  extendToolbar(t) {
6864
6867
  t.container != null && (t.container.classList.add("ql-snow"), this.buildButtons(t.container.querySelectorAll("button"), is), this.buildPickers(t.container.querySelectorAll("select"), is), this.tooltip = new Il(this.quill, this.options.bounds), t.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
@@ -6893,8 +6896,8 @@ Rl.DEFAULTS = Gt({}, cs.DEFAULTS, {
6893
6896
  A.register({
6894
6897
  "attributors/attribute/direction": dl,
6895
6898
  "attributors/class/align": ul,
6896
- "attributors/class/background": Ba,
6897
- "attributors/class/color": Ra,
6899
+ "attributors/class/background": Ra,
6900
+ "attributors/class/color": Ia,
6898
6901
  "attributors/class/direction": gl,
6899
6902
  "attributors/class/font": bl,
6900
6903
  "attributors/class/size": vl,
@@ -6908,7 +6911,7 @@ A.register({
6908
6911
  A.register({
6909
6912
  "formats/align": ul,
6910
6913
  "formats/direction": gl,
6911
- "formats/indent": Tc,
6914
+ "formats/indent": xc,
6912
6915
  "formats/background": Gr,
6913
6916
  "formats/color": Kr,
6914
6917
  "formats/font": bl,
@@ -6928,7 +6931,7 @@ A.register({
6928
6931
  "formats/image": Ir,
6929
6932
  "formats/video": Gs,
6930
6933
  "modules/syntax": Ll,
6931
- "modules/table": qc,
6934
+ "modules/table": Lc,
6932
6935
  "modules/toolbar": Qr,
6933
6936
  "themes/bubble": kl,
6934
6937
  "themes/snow": Rl,
@@ -6938,13 +6941,8 @@ A.register({
6938
6941
  "ui/color-picker": ql,
6939
6942
  "ui/tooltip": Ol
6940
6943
  }, !0);
6941
- const Tu = tt.AttributeMap, Lu = tt.Op, qu = tt.OpIterator;
6942
6944
  export {
6943
- Tu as AttributeMap,
6944
- O as Delta,
6945
6945
  Nt as Module,
6946
- Lu as Op,
6947
- qu as OpIterator,
6948
6946
  sa as Parchment,
6949
6947
  ne as Range,
6950
6948
  A as default