cft-builder 0.2.151 → 0.2.153

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-DYGbhKvV.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-F0bXqAFZ.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 nt = Yo, Qo = {
989
+ const rt = 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: nt,
1125
+ EmbedBlot: rt,
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: {} }, st = -1, J = 1, F = 0;
1135
+ var Er = { exports: {} }, nt = -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 [[st, n]];
1156
+ return [[nt, 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] = st), e;
1163
+ ], n.length > t.length && (e[0][0] = e[2][0] = nt), e;
1164
1164
  if (r.length === 1)
1165
1165
  return [
1166
- [st, n],
1166
+ [nt, 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
- [st, n],
1219
+ [nt, 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
- st,
1299
+ nt,
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] == st && n[i][0] == J) {
1303
+ if (n[i - 1][0] == nt && 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] = st, n[i + 1][1] = d.substring(p), i++), i++;
1317
+ ), n[i + 1][0] = nt, 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 st:
1358
+ case nt:
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] === st && (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] === nt && (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, [st, 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, [nt, i]), e = e - b + 1) : (n.splice(
1400
1400
  e - b,
1401
1401
  b,
1402
- [st, i],
1402
+ [nt, 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
- [st, t],
1441
+ [nt, 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 = st;
1493
+ en.DELETE = nt;
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, 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;
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;
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 tt(l) {
1648
+ function et(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
- tt.prototype.clear = _n, tt.prototype.delete = kn, tt.prototype.get = In, tt.prototype.has = Rn, tt.prototype.set = Bn;
1673
+ et.prototype.clear = _n, et.prototype.delete = kn, et.prototype.get = In, et.prototype.has = Rn, et.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 tt());
1719
- var et = M.get(l);
1720
- if (et)
1721
- return et;
1718
+ M || (M = new et());
1719
+ var st = M.get(l);
1720
+ if (st)
1721
+ return st;
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(rt(l)) : {};
1836
+ return typeof l.constructor == "function" && !Cs(l) ? Mn(it(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, rt = Xt.hasOwnProperty, As = function() {
2002
+ var ae = Array.prototype, mn = Function.prototype, Xt = Object.prototype, ce = ht["__core-js_shared__"], Me = mn.toString, it = 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(rt).replace(fn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2006
+ "^" + Me.call(it).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 rt.call(u, l) ? u[l] : void 0;
2028
+ return it.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 : rt.call(u, l);
2032
+ return jt ? u[l] !== void 0 : it.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 tt(l) {
2068
+ function et(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
- tt.prototype.clear = _n, tt.prototype.delete = kn, tt.prototype.get = In, tt.prototype.has = Rn, tt.prototype.set = Bn;
2096
+ et.prototype.clear = _n, et.prototype.delete = kn, et.prototype.get = In, et.prototype.has = Rn, et.prototype.set = Bn;
2097
2097
  function de(l) {
2098
2098
  var u = -1, f = l == null ? 0 : l.length;
2099
- for (this.__data__ = new tt(); ++u < f; )
2099
+ for (this.__data__ = new et(); ++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 tt(E);
2132
+ f = this.__data__ = new et(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
- rt.call(l, D) && !(M && // Safari 9 has enumerable `arguments.length` in strict mode.
2140
+ it.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, et = D == w, $ = H == D;
2169
+ var Z = H == w, st = 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 && rt.call(l, "__wrapped__"), K = et && rt.call(u, "__wrapped__");
2178
+ var W = Z && it.call(l, "__wrapped__"), K = st && it.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
- rt.call(l, f) && f != "constructor" && u.push(f);
2200
+ it.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, et = !0, $ = f & i ? new de() : void 0;
2210
+ var Z = -1, st = !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
- et = !1;
2218
+ st = !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
- et = !1;
2226
+ st = !1;
2227
2227
  break;
2228
2228
  }
2229
2229
  } else if (!(W === K || I(W, K, f, E, _))) {
2230
- et = !1;
2230
+ st = !1;
2231
2231
  break;
2232
2232
  }
2233
2233
  }
2234
- return _.delete(l), _.delete(u), et;
2234
+ return _.delete(l), _.delete(u), st;
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 et = H; et--; ) {
2276
- var $ = B[et];
2277
- if (!(M ? $ in u : rt.call(u, $)))
2275
+ for (var st = H; st--; ) {
2276
+ var $ = B[st];
2277
+ if (!(M ? $ in u : it.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; ++et < H; ) {
2286
- $ = B[et];
2285
+ for (var Ht = M; ++st < H; ) {
2286
+ $ = B[st];
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 = rt.call(l, ft), f = l[ft];
2314
+ var u = it.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) && rt.call(l, "callee") && !he.call(l, "callee");
2381
+ return Tt(l) && it.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 ct = Er.exports;
2775
- const O = /* @__PURE__ */ zi(ct);
2776
- class Et extends nt {
2774
+ var tt = Er.exports;
2775
+ const O = /* @__PURE__ */ zi(tt);
2776
+ class Et extends rt {
2777
2777
  static value() {
2778
2778
  }
2779
2779
  optimize() {
@@ -2790,14 +2790,15 @@ 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
+ };
2793
2800
  function nn(n) {
2794
- return n.replace(/[&<>"']/g, (t) => ({
2795
- "&": "&amp;",
2796
- "<": "&lt;",
2797
- ">": "&gt;",
2798
- '"': "&quot;",
2799
- "'": "&#39;"
2800
- })[t]);
2801
+ return n.replace(/[&<>"']/g, (t) => ma[t]);
2801
2802
  }
2802
2803
  const Lt = class Lt extends Dr {
2803
2804
  static compare(t, e) {
@@ -2818,7 +2819,7 @@ const Lt = class Lt extends Dr {
2818
2819
  }
2819
2820
  }
2820
2821
  };
2821
- T(Lt, "allowedChildren", [Lt, Et, nt, yt]), // Lower index means deeper in the DOM tree, since not found (-1) is for embeds
2822
+ T(Lt, "allowedChildren", [Lt, Et, rt, yt]), // Lower index means deeper in the DOM tree, since not found (-1) is for embeds
2822
2823
  T(Lt, "order", [
2823
2824
  "cursor",
2824
2825
  "inline",
@@ -2895,8 +2896,8 @@ class G extends es {
2895
2896
  G.blotName = "block";
2896
2897
  G.tagName = "P";
2897
2898
  G.defaultChild = Et;
2898
- G.allowedChildren = [Et, Ot, nt, yt];
2899
- class at extends nt {
2899
+ G.allowedChildren = [Et, Ot, rt, yt];
2900
+ class ct extends rt {
2900
2901
  attach() {
2901
2902
  super.attach(), this.attributes = new Qs(this.domNode);
2902
2903
  }
@@ -2928,25 +2929,25 @@ class at extends nt {
2928
2929
  }), i && this.parent.insertBefore(this.scroll.create("text", i), a);
2929
2930
  }
2930
2931
  }
2931
- at.scope = C.BLOCK_BLOT;
2932
+ ct.scope = C.BLOCK_BLOT;
2932
2933
  function ol(n) {
2933
2934
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
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));
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));
2936
2937
  }
2937
- function lt(n) {
2938
+ function ot(n) {
2938
2939
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
2939
2940
  return n == null || ("formats" in n && typeof n.formats == "function" && (t = {
2940
2941
  ...t,
2941
2942
  ...n.formats()
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);
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);
2943
2944
  }
2944
- const it = class it extends nt {
2945
+ const lt = class lt extends rt {
2945
2946
  // Zero width no break space
2946
2947
  static value() {
2947
2948
  }
2948
2949
  constructor(t, e, s) {
2949
- super(t, e), this.selection = s, this.textNode = document.createTextNode(it.CONTENTS), this.domNode.appendChild(this.textNode), this.savedLength = 0;
2950
+ super(t, e), this.selection = s, this.textNode = document.createTextNode(lt.CONTENTS), this.domNode.appendChild(this.textNode), this.savedLength = 0;
2950
2951
  }
2951
2952
  detach() {
2952
2953
  this.parent != null && this.parent.removeChild(this);
@@ -2959,7 +2960,7 @@ const it = class it extends nt {
2959
2960
  let s = this, r = 0;
2960
2961
  for (; s != null && s.statics.scope !== C.BLOCK_BLOT; )
2961
2962
  r += s.offset(s.parent), s = s.parent;
2962
- s != null && (this.savedLength = it.CONTENTS.length, s.optimize(), s.formatAt(r, it.CONTENTS.length, t, e), this.savedLength = 0);
2963
+ s != null && (this.savedLength = lt.CONTENTS.length, s.optimize(), s.formatAt(r, lt.CONTENTS.length, t, e), this.savedLength = 0);
2963
2964
  }
2964
2965
  index(t, e) {
2965
2966
  return t === this.textNode ? 0 : super.index(t, e);
@@ -2980,8 +2981,8 @@ const it = class it extends nt {
2980
2981
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
2981
2982
  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 : "", {
2982
2983
  textNode: o
2983
- } = this, a = o.data.split(it.CONTENTS).join("");
2984
- o.data = it.CONTENTS;
2984
+ } = this, a = o.data.split(lt.CONTENTS).join("");
2985
+ o.data = lt.CONTENTS;
2985
2986
  let c;
2986
2987
  if (e)
2987
2988
  c = e, (a || r) && (e.insertAt(e.length(), a + i), r && r.remove());
@@ -3026,7 +3027,7 @@ const it = class it extends nt {
3026
3027
  } = this;
3027
3028
  for (; e; ) {
3028
3029
  if (e.domNode.tagName === "A") {
3029
- this.savedLength = it.CONTENTS.length, e.isolate(this.offset(e), this.length()).unwrap(), this.savedLength = 0;
3030
+ this.savedLength = lt.CONTENTS.length, e.isolate(this.offset(e), this.length()).unwrap(), this.savedLength = 0;
3030
3031
  break;
3031
3032
  }
3032
3033
  e = e.parent;
@@ -3036,8 +3037,8 @@ const it = class it extends nt {
3036
3037
  return "";
3037
3038
  }
3038
3039
  };
3039
- T(it, "blotName", "cursor"), T(it, "className", "ql-cursor"), T(it, "tagName", "span"), T(it, "CONTENTS", "\uFEFF");
3040
- let Se = it;
3040
+ T(lt, "blotName", "cursor"), T(lt, "className", "ql-cursor"), T(lt, "tagName", "span"), T(lt, "CONTENTS", "\uFEFF");
3041
+ let Se = lt;
3041
3042
  var al = { exports: {} };
3042
3043
  (function(n) {
3043
3044
  var t = Object.prototype.hasOwnProperty, e = "~";
@@ -3143,8 +3144,8 @@ var al = { exports: {} };
3143
3144
  return h ? (d = e ? e + h : h, this._events[d] && o(this, d)) : (this._events = new s(), this._eventsCount = 0), this;
3144
3145
  }, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = e, a.EventEmitter = a, n.exports = a;
3145
3146
  })(al);
3146
- var ma = al.exports;
3147
- const ba = /* @__PURE__ */ zi(ma), wr = /* @__PURE__ */ new WeakMap(), xr = ["error", "warn", "log", "info"];
3147
+ var ba = al.exports;
3148
+ const ya = /* @__PURE__ */ zi(ba), wr = /* @__PURE__ */ new WeakMap(), xr = ["error", "warn", "log", "info"];
3148
3149
  let Tr = "warn";
3149
3150
  function cl(n) {
3150
3151
  if (Tr && xr.indexOf(n) <= xr.indexOf(Tr)) {
@@ -3160,8 +3161,8 @@ Ut.level = (n) => {
3160
3161
  Tr = n;
3161
3162
  };
3162
3163
  cl.level = Ut.level;
3163
- const rr = Ut("quill:events"), ya = ["selectionchange", "mousedown", "mouseup", "click"];
3164
- ya.forEach((n) => {
3164
+ const rr = Ut("quill:events"), va = ["selectionchange", "mousedown", "mouseup", "click"];
3165
+ va.forEach((n) => {
3165
3166
  document.addEventListener(n, function() {
3166
3167
  for (var t = arguments.length, e = new Array(t), s = 0; s < t; s++)
3167
3168
  e[s] = arguments[s];
@@ -3171,7 +3172,7 @@ ya.forEach((n) => {
3171
3172
  });
3172
3173
  });
3173
3174
  });
3174
- class q extends ba {
3175
+ class q extends ya {
3175
3176
  constructor() {
3176
3177
  super(), this.domListeners = {}, this.on("error", rr.error);
3177
3178
  }
@@ -3224,7 +3225,7 @@ class ne {
3224
3225
  this.index = t, this.length = e;
3225
3226
  }
3226
3227
  }
3227
- class va {
3228
+ class Ea {
3228
3229
  constructor(t, e) {
3229
3230
  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, () => {
3230
3231
  !this.mouseDown && !this.composing && setTimeout(this.update.bind(this, q.sources.USER), 1);
@@ -3444,8 +3445,8 @@ function lr(n, t) {
3444
3445
  }
3445
3446
  return n.contains(t);
3446
3447
  }
3447
- const Ea = /^[ -~]*$/;
3448
- class Na {
3448
+ const Na = /^[ -~]*$/;
3449
+ class Aa {
3449
3450
  constructor(t) {
3450
3451
  this.scroll = t, this.delta = this.getDelta();
3451
3452
  }
@@ -3454,37 +3455,37 @@ class Na {
3454
3455
  let e = this.scroll.length();
3455
3456
  this.scroll.batchStart();
3456
3457
  const s = Ei(t), r = new O();
3457
- return wa(s.ops.slice()).reduce((o, a) => {
3458
- const c = ct.Op.length(a);
3458
+ return xa(s.ops.slice()).reduce((o, a) => {
3459
+ const c = tt.Op.length(a);
3459
3460
  let h = a.attributes || {}, d = !1, b = !1;
3460
3461
  if (a.insert != null) {
3461
3462
  if (r.retain(c), typeof a.insert == "string") {
3462
3463
  const m = a.insert;
3463
3464
  b = !m.endsWith(`
3464
- `) && (e <= o || !!this.scroll.descendant(at, o)[0]), this.scroll.insertAt(o, m);
3465
+ `) && (e <= o || !!this.scroll.descendant(ct, o)[0]), this.scroll.insertAt(o, m);
3465
3466
  const [y, v] = this.scroll.line(o);
3466
- let N = Gt({}, lt(y));
3467
+ let N = Gt({}, ot(y));
3467
3468
  if (y instanceof G) {
3468
3469
  const [w] = y.descendant(X, v);
3469
- w && (N = Gt(N, lt(w)));
3470
+ w && (N = Gt(N, ot(w)));
3470
3471
  }
3471
- h = ct.AttributeMap.diff(N, h) || {};
3472
+ h = tt.AttributeMap.diff(N, h) || {};
3472
3473
  } else if (typeof a.insert == "object") {
3473
3474
  const m = Object.keys(a.insert)[0];
3474
3475
  if (m == null) return o;
3475
3476
  const y = this.scroll.query(m, C.INLINE) != null;
3476
3477
  if (y)
3477
- (e <= o || this.scroll.descendant(at, o)[0]) && (b = !0);
3478
+ (e <= o || this.scroll.descendant(ct, o)[0]) && (b = !0);
3478
3479
  else if (o > 0) {
3479
3480
  const [v, N] = this.scroll.descendant(X, o - 1);
3480
3481
  v instanceof yt ? v.value()[N] !== `
3481
- ` && (d = !0) : v instanceof nt && v.statics.scope === C.INLINE_BLOT && (d = !0);
3482
+ ` && (d = !0) : v instanceof rt && v.statics.scope === C.INLINE_BLOT && (d = !0);
3482
3483
  }
3483
3484
  if (this.scroll.insertAt(o, m, a.insert[m]), y) {
3484
3485
  const [v] = this.scroll.descendant(X, o);
3485
3486
  if (v) {
3486
- const N = Gt({}, lt(v));
3487
- h = ct.AttributeMap.diff(N, h) || {};
3487
+ const N = Gt({}, ot(v));
3488
+ h = tt.AttributeMap.diff(N, h) || {};
3488
3489
  }
3489
3490
  }
3490
3491
  }
@@ -3499,7 +3500,7 @@ class Na {
3499
3500
  });
3500
3501
  const g = d ? 1 : 0, p = b ? 1 : 0;
3501
3502
  return e += g + p, r.retain(g), r.delete(p), o + c + g + p;
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);
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);
3503
3504
  }
3504
3505
  deleteText(t, e) {
3505
3506
  return this.scroll.deleteAt(t, e), this.update(new O().retain(t).delete(e));
@@ -3537,11 +3538,11 @@ class Na {
3537
3538
  const [i, o] = [s, r].map((a) => {
3538
3539
  const c = a.shift();
3539
3540
  if (c == null) return {};
3540
- let h = lt(c);
3541
+ let h = ot(c);
3541
3542
  for (; Object.keys(h).length > 0; ) {
3542
3543
  const d = a.shift();
3543
3544
  if (d == null) return h;
3544
- h = Aa(lt(d), h);
3545
+ h = wa(ot(d), h);
3545
3546
  }
3546
3547
  return h;
3547
3548
  });
@@ -3598,8 +3599,8 @@ class Na {
3598
3599
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
3599
3600
  const r = this.delta;
3600
3601
  if (e.length === 1 && e[0].type === "characterData" && // @ts-expect-error Fix me later
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 && {
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 && {
3603
3604
  oldRange: Ni(s.oldRange, -a),
3604
3605
  newRange: Ni(s.newRange, -a)
3605
3606
  };
@@ -3634,7 +3635,7 @@ function ns(n, t, e) {
3634
3635
  if ("html" in n && typeof n.html == "function")
3635
3636
  return n.html(t, e);
3636
3637
  if (n instanceof yt)
3637
- return nn(n.value().slice(t, t + e));
3638
+ return nn(n.value().slice(t, t + e)).replaceAll(" ", "&nbsp;");
3638
3639
  if (n instanceof bt) {
3639
3640
  if (n.statics.blotName === "list-container") {
3640
3641
  const h = [];
@@ -3662,7 +3663,7 @@ function ns(n, t, e) {
3662
3663
  }
3663
3664
  return n.domNode instanceof Element ? n.domNode.outerHTML : "";
3664
3665
  }
3665
- function Aa(n, t) {
3666
+ function wa(n, t) {
3666
3667
  return Object.keys(t).reduce((e, s) => {
3667
3668
  if (n[s] == null) return e;
3668
3669
  const r = t[s];
@@ -3698,7 +3699,7 @@ function Ni(n, t) {
3698
3699
  } = n;
3699
3700
  return new ne(e + t, s);
3700
3701
  }
3701
- function wa(n) {
3702
+ function xa(n) {
3702
3703
  const t = [];
3703
3704
  return n.forEach((e) => {
3704
3705
  typeof e.insert == "string" ? e.insert.split(`
@@ -3722,7 +3723,7 @@ class Nt {
3722
3723
  }
3723
3724
  T(Nt, "DEFAULTS", {});
3724
3725
  const Ps = "\uFEFF";
3725
- class Fr extends nt {
3726
+ class Fr extends rt {
3726
3727
  constructor(t, e) {
3727
3728
  super(t, e), this.contentNode = document.createElement("span"), this.contentNode.setAttribute("contenteditable", "false"), Array.from(this.domNode.childNodes).forEach((s) => {
3728
3729
  this.contentNode.appendChild(s);
@@ -3764,7 +3765,7 @@ class Fr extends nt {
3764
3765
  });
3765
3766
  }
3766
3767
  }
3767
- class xa {
3768
+ class Ta {
3768
3769
  constructor(t, e) {
3769
3770
  T(this, "isComposing", !1);
3770
3771
  this.scroll = t, this.emitter = e, this.setupListeners();
@@ -3807,7 +3808,7 @@ T(Je, "DEFAULTS", {
3807
3808
  default: Je
3808
3809
  });
3809
3810
  let Oe = Je;
3810
- const Ta = (n) => n.parentElement || n.getRootNode().host || null, La = (n) => {
3811
+ const La = (n) => n.parentElement || n.getRootNode().host || null, qa = (n) => {
3811
3812
  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;
3812
3813
  return {
3813
3814
  top: t.top,
@@ -3818,7 +3819,7 @@ const Ta = (n) => n.parentElement || n.getRootNode().host || null, La = (n) => {
3818
3819
  }, js = (n) => {
3819
3820
  const t = parseInt(n, 10);
3820
3821
  return Number.isNaN(t) ? 0 : 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) => {
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) => {
3822
3823
  var i, o, a;
3823
3824
  const e = n.ownerDocument;
3824
3825
  let s = t, r = n;
@@ -3828,7 +3829,7 @@ const Ta = (n) => n.parentElement || n.getRootNode().host || null, La = (n) => {
3828
3829
  right: ((i = window.visualViewport) == null ? void 0 : i.width) ?? e.documentElement.clientWidth,
3829
3830
  bottom: ((o = window.visualViewport) == null ? void 0 : o.height) ?? e.documentElement.clientHeight,
3830
3831
  left: 0
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));
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));
3832
3833
  if (b || g)
3833
3834
  if (c)
3834
3835
  (a = e.defaultView) == null || a.scrollBy(b, g);
@@ -3846,11 +3847,11 @@ const Ta = (n) => n.parentElement || n.getRootNode().host || null, La = (n) => {
3846
3847
  bottom: s.bottom - v
3847
3848
  };
3848
3849
  }
3849
- r = c || d.position === "fixed" ? null : Ta(r);
3850
+ r = c || d.position === "fixed" ? null : La(r);
3850
3851
  }
3851
- }, Sa = 100, Oa = ["block", "break", "cursor", "inline", "scroll", "text"], Ca = (n, t, e) => {
3852
+ }, Oa = 100, Ca = ["block", "break", "cursor", "inline", "scroll", "text"], _a = (n, t, e) => {
3852
3853
  const s = new qe();
3853
- return Oa.forEach((r) => {
3854
+ return Ca.forEach((r) => {
3854
3855
  const i = t.query(r);
3855
3856
  i && s.register(i);
3856
3857
  }), n.forEach((r) => {
@@ -3858,7 +3859,7 @@ const Ta = (n) => n.parentElement || n.getRootNode().host || null, La = (n) => {
3858
3859
  i || e.error(`Cannot register "${r}" specified in "formats" config. Are you sure it was registered?`);
3859
3860
  let o = 0;
3860
3861
  for (; i; )
3861
- if (s.register(i), i = "blotName" in i ? i.requiredContainer ?? null : null, o += 1, o > Sa) {
3862
+ if (s.register(i), i = "blotName" in i ? i.requiredContainer ?? null : null, o += 1, o > Oa) {
3862
3863
  e.error(`Cycle detected in registering blot requiredContainer: "${r}"`);
3863
3864
  break;
3864
3865
  }
@@ -3889,7 +3890,7 @@ const pt = class pt {
3889
3890
  }
3890
3891
  constructor(t) {
3891
3892
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3892
- if (this.options = _a(t, e), this.container = this.options.container, this.container == null) {
3893
+ if (this.options = ka(t, e), this.container = this.options.container, this.container == null) {
3893
3894
  Le.error("Invalid Quill container", t);
3894
3895
  return;
3895
3896
  }
@@ -3901,7 +3902,7 @@ const pt = class pt {
3901
3902
  throw new Error(`Cannot initialize Quill without "${r}" blot`);
3902
3903
  if (this.scroll = new i(this.options.registry, this.root, {
3903
3904
  emitter: this.emitter
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) => {
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) => {
3905
3906
  o === q.events.TEXT_CHANGE && this.root.classList.toggle("ql-blank", this.editor.isBlank());
3906
3907
  }), this.emitter.on(q.events.SCROLL_UPDATE, (o, a) => {
3907
3908
  const c = this.selection.lastRange, [h] = this.selection.getRange(), d = c && h ? {
@@ -4080,7 +4081,7 @@ const pt = class pt {
4080
4081
  return [t, e, , s] = Bt(t, e, s), gt.call(this, () => this.editor.removeFormat(t, e), s, t);
4081
4082
  }
4082
4083
  scrollRectIntoView(t) {
4083
- qa(this.root, t);
4084
+ Sa(this.root, t);
4084
4085
  }
4085
4086
  /**
4086
4087
  * @deprecated Use Quill#scrollSelectionIntoView() instead.
@@ -4134,7 +4135,7 @@ T(pt, "DEFAULTS", {
4134
4135
  readOnly: !1,
4135
4136
  registry: Hs,
4136
4137
  theme: "default"
4137
- }), T(pt, "events", q.events), T(pt, "sources", q.sources), T(pt, "version", "2.0.2"), T(pt, "imports", {
4138
+ }), T(pt, "events", q.events), T(pt, "sources", q.sources), T(pt, "version", "2.0.3"), T(pt, "imports", {
4138
4139
  delta: O,
4139
4140
  parchment: sa,
4140
4141
  "core/module": Nt,
@@ -4156,7 +4157,7 @@ function ar(n) {
4156
4157
  function xi(n) {
4157
4158
  return Object.fromEntries(Object.entries(n).filter((t) => t[1] !== void 0));
4158
4159
  }
4159
- function _a(n, t) {
4160
+ function ka(n, t) {
4160
4161
  const e = wi(n);
4161
4162
  if (!e)
4162
4163
  throw new Error("Invalid Quill container");
@@ -4183,7 +4184,7 @@ function _a(n, t) {
4183
4184
  ...xi(t)
4184
4185
  };
4185
4186
  let g = t.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, {
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, {
4187
4188
  ...b,
4188
4189
  registry: g,
4189
4190
  container: e,
@@ -4228,7 +4229,7 @@ function Ti(n, t, e, s) {
4228
4229
  class re extends Js {
4229
4230
  }
4230
4231
  function Li(n) {
4231
- return n instanceof G || n instanceof at;
4232
+ return n instanceof G || n instanceof ct;
4232
4233
  }
4233
4234
  function qi(n) {
4234
4235
  return typeof n.updateContent == "function";
@@ -4260,7 +4261,7 @@ class we extends Ur {
4260
4261
  deleteAt(t, e) {
4261
4262
  const [s, r] = this.line(t), [i] = this.line(t + e);
4262
4263
  if (super.deleteAt(t, e), i != null && s !== i && r > 0) {
4263
- if (s instanceof at || i instanceof at) {
4264
+ if (s instanceof ct || i instanceof ct) {
4264
4265
  this.optimize();
4265
4266
  return;
4266
4267
  }
@@ -4304,14 +4305,14 @@ class we extends Ur {
4304
4305
  this.batchStart();
4305
4306
  const i = s.shift();
4306
4307
  if (i) {
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({
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({
4308
4309
  [i.key]: i.value
4309
4310
  });
4310
4311
  cr(this, t, h);
4311
4312
  const d = i.type === "block" ? 1 : 0, b = t + h.length() + d;
4312
4313
  c && this.insertAt(b - 1, `
4313
4314
  `);
4314
- const g = lt(this.line(t)[0]), p = ct.AttributeMap.diff(g, i.attributes) || {};
4315
+ const g = ot(this.line(t)[0]), p = tt.AttributeMap.diff(g, i.attributes) || {};
4315
4316
  Object.keys(p).forEach((m) => {
4316
4317
  this.formatAt(b - 1, 1, m, p[m]);
4317
4318
  }), t = b;
@@ -4380,7 +4381,7 @@ class we extends Ur {
4380
4381
  }), 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);
4381
4382
  }
4382
4383
  updateEmbedAt(t, e, s) {
4383
- const [r] = this.descendant((i) => i instanceof at, t);
4384
+ const [r] = this.descendant((i) => i instanceof ct, t);
4384
4385
  r && r.statics.blotName === e && qi(r) && r.updateContent(s);
4385
4386
  }
4386
4387
  handleDragStart(t) {
@@ -4440,23 +4441,23 @@ class we extends Ur {
4440
4441
  }), i;
4441
4442
  }
4442
4443
  }
4443
- T(we, "blotName", "scroll"), T(we, "className", "ql-editor"), T(we, "tagName", "DIV"), T(we, "defaultChild", G), T(we, "allowedChildren", [G, at, re]);
4444
+ T(we, "blotName", "scroll"), T(we, "className", "ql-editor"), T(we, "tagName", "DIV"), T(we, "defaultChild", G), T(we, "allowedChildren", [G, ct, re]);
4444
4445
  function cr(n, t, e) {
4445
4446
  e.reduce((s, r) => {
4446
- const i = ct.Op.length(r);
4447
+ const i = tt.Op.length(r);
4447
4448
  let o = r.attributes || {};
4448
4449
  if (r.insert != null) {
4449
4450
  if (typeof r.insert == "string") {
4450
4451
  const a = r.insert;
4451
4452
  n.insertAt(s, a);
4452
- const [c] = n.descendant(X, s), h = lt(c);
4453
- o = ct.AttributeMap.diff(h, o) || {};
4453
+ const [c] = n.descendant(X, s), h = ot(c);
4454
+ o = tt.AttributeMap.diff(h, o) || {};
4454
4455
  } else if (typeof r.insert == "object") {
4455
4456
  const a = Object.keys(r.insert)[0];
4456
4457
  if (a == null) return s;
4457
4458
  if (n.insertAt(s, a, r.insert[a]), n.scroll.query(a, C.INLINE) != null) {
4458
- const [h] = n.descendant(X, s), d = lt(h);
4459
- o = ct.AttributeMap.diff(d, o) || {};
4459
+ const [h] = n.descendant(X, s), d = ot(h);
4460
+ o = tt.AttributeMap.diff(d, o) || {};
4460
4461
  }
4461
4462
  }
4462
4463
  }
@@ -4468,18 +4469,18 @@ function cr(n, t, e) {
4468
4469
  const zr = {
4469
4470
  scope: C.BLOCK,
4470
4471
  whitelist: ["right", "center", "justify"]
4471
- }, ka = new St("align", "align", zr), ul = new vt("align", "ql-align", zr), hl = new Vt("align", "text-align", zr);
4472
+ }, Ia = new St("align", "align", zr), ul = new vt("align", "ql-align", zr), hl = new Vt("align", "text-align", zr);
4472
4473
  class fl extends Vt {
4473
4474
  value(t) {
4474
4475
  let e = super.value(t);
4475
4476
  return e.startsWith("rgb(") ? (e = e.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${e.split(",").map((r) => `00${parseInt(r, 10).toString(16)}`.slice(-2)).join("")}`) : e;
4476
4477
  }
4477
4478
  }
4478
- const Ia = new vt("color", "ql-color", {
4479
+ const Ra = new vt("color", "ql-color", {
4479
4480
  scope: C.INLINE
4480
4481
  }), Kr = new fl("color", "color", {
4481
4482
  scope: C.INLINE
4482
- }), Ra = new vt("background", "ql-bg", {
4483
+ }), Ba = new vt("background", "ql-bg", {
4483
4484
  scope: C.INLINE
4484
4485
  }), Gr = new fl("background", "background-color", {
4485
4486
  scope: C.INLINE
@@ -4525,18 +4526,18 @@ const Zr = {
4525
4526
  scope: C.INLINE,
4526
4527
  whitelist: ["serif", "monospace"]
4527
4528
  }, bl = new vt("font", "ql-font", ml);
4528
- class Ba extends Vt {
4529
+ class Ma extends Vt {
4529
4530
  value(t) {
4530
4531
  return super.value(t).replace(/["']/g, "");
4531
4532
  }
4532
4533
  }
4533
- const yl = new Ba("font", "font-family", ml), vl = new vt("size", "ql-size", {
4534
+ const yl = new Ma("font", "font-family", ml), vl = new vt("size", "ql-size", {
4534
4535
  scope: C.INLINE,
4535
4536
  whitelist: ["small", "large", "huge"]
4536
4537
  }), El = new Vt("size", "font-size", {
4537
4538
  scope: C.INLINE,
4538
4539
  whitelist: ["10px", "18px", "32px"]
4539
- }), Ma = Ut("quill:keyboard"), Da = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
4540
+ }), Da = Ut("quill:keyboard"), Ua = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
4540
4541
  class rn extends Nt {
4541
4542
  static match(t, e) {
4542
4543
  return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((s) => !!e[s] !== t[s] && e[s] !== null) ? !1 : e.key === t.key || e.key === t.which;
@@ -4592,9 +4593,9 @@ class rn extends Nt {
4592
4593
  }
4593
4594
  addBinding(t) {
4594
4595
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4595
- const r = Pa(t);
4596
+ const r = ja(t);
4596
4597
  if (r == null) {
4597
- Ma.warn("Attempted to add invalid keyboard binding", r);
4598
+ Da.warn("Attempted to add invalid keyboard binding", r);
4598
4599
  return;
4599
4600
  }
4600
4601
  typeof e == "function" && (e = {
@@ -4653,7 +4654,7 @@ class rn extends Nt {
4653
4654
  const [a] = this.quill.getLine(t.index - 1);
4654
4655
  if (a && !(a.statics.blotName === "block" && a.length() <= 1)) {
4655
4656
  const h = i.formats(), d = this.quill.getFormat(t.index - 1, 1);
4656
- if (r = ct.AttributeMap.diff(h, d) || {}, Object.keys(r).length > 0) {
4657
+ if (r = tt.AttributeMap.diff(h, d) || {}, Object.keys(r).length > 0) {
4657
4658
  const b = new O().retain(t.index + i.length() - 2).retain(1, r);
4658
4659
  o = o.compose(b);
4659
4660
  }
@@ -4671,7 +4672,7 @@ class rn extends Nt {
4671
4672
  const [a] = this.quill.getLine(t.index + 1);
4672
4673
  if (a) {
4673
4674
  const c = i.formats(), h = this.quill.getFormat(t.index, 1);
4674
- r = ct.AttributeMap.diff(c, h) || {}, Object.keys(r).length > 0 && (o = o.retain(a.length() - 1).retain(1, r));
4675
+ r = tt.AttributeMap.diff(c, h) || {}, Object.keys(r).length > 0 && (o = o.retain(a.length() - 1).retain(1, r));
4675
4676
  }
4676
4677
  }
4677
4678
  this.quill.updateContents(o, A.sources.USER), this.quill.focus();
@@ -4688,7 +4689,7 @@ class rn extends Nt {
4688
4689
  this.quill.updateContents(r, A.sources.USER), this.quill.setSelection(t.index + 1, A.sources.SILENT), this.quill.focus();
4689
4690
  }
4690
4691
  }
4691
- const Ua = {
4692
+ const Pa = {
4692
4693
  bindings: {
4693
4694
  bold: ur("bold"),
4694
4695
  italic: ur("italic"),
@@ -4818,7 +4819,7 @@ const Ua = {
4818
4819
  handler(n) {
4819
4820
  const t = this.quill.getModule("table");
4820
4821
  if (t) {
4821
- const [e, s, r, i] = t.getTable(n), o = ja(e, s, r, i);
4822
+ const [e, s, r, i] = t.getTable(n), o = Ha(e, s, r, i);
4822
4823
  if (o == null) return;
4823
4824
  let a = e.offset();
4824
4825
  if (o < 0) {
@@ -4912,7 +4913,7 @@ const Ua = {
4912
4913
  "table up": Oi(!0)
4913
4914
  }
4914
4915
  };
4915
- rn.DEFAULTS = Ua;
4916
+ rn.DEFAULTS = Pa;
4916
4917
  function Si(n) {
4917
4918
  return {
4918
4919
  key: "Tab",
@@ -4954,7 +4955,7 @@ function $s(n, t) {
4954
4955
  } = s;
4955
4956
  n === "ArrowRight" && (r += s.length + 1);
4956
4957
  const [i] = this.quill.getLeaf(r);
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;
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;
4958
4959
  }
4959
4960
  };
4960
4961
  }
@@ -4990,7 +4991,7 @@ function Oi(n) {
4990
4991
  }
4991
4992
  };
4992
4993
  }
4993
- function Pa(n) {
4994
+ function ja(n) {
4994
4995
  if (typeof n == "string" || typeof n == "number")
4995
4996
  n = {
4996
4997
  key: n
@@ -4999,7 +5000,7 @@ function Pa(n) {
4999
5000
  n = xe(n);
5000
5001
  else
5001
5002
  return null;
5002
- return n.shortKey && (n[Da] = n.shortKey, delete n.shortKey), n;
5003
+ return n.shortKey && (n[Ua] = n.shortKey, delete n.shortKey), n;
5003
5004
  }
5004
5005
  function Wr(n) {
5005
5006
  let {
@@ -5010,52 +5011,52 @@ function Wr(n) {
5010
5011
  let r = {};
5011
5012
  if (s.length > 1) {
5012
5013
  const i = s[0].formats(), o = s[s.length - 1].formats();
5013
- r = ct.AttributeMap.diff(o, i) || {};
5014
+ r = tt.AttributeMap.diff(o, i) || {};
5014
5015
  }
5015
5016
  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);
5016
5017
  }
5017
- function ja(n, t, e, s) {
5018
+ function Ha(n, t, e, s) {
5018
5019
  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;
5019
5020
  }
5020
- const Ha = /font-weight:\s*normal/, $a = ["P", "OL", "UL"], Ci = (n) => n && $a.includes(n.tagName), Fa = (n) => {
5021
+ const $a = /font-weight:\s*normal/, Fa = ["P", "OL", "UL"], Ci = (n) => n && Fa.includes(n.tagName), za = (n) => {
5021
5022
  Array.from(n.querySelectorAll("br")).filter((t) => Ci(t.previousElementSibling) && Ci(t.nextElementSibling)).forEach((t) => {
5022
5023
  var e;
5023
5024
  (e = t.parentNode) == null || e.removeChild(t);
5024
5025
  });
5025
- }, za = (n) => {
5026
+ }, Ka = (n) => {
5026
5027
  Array.from(n.querySelectorAll('b[style*="font-weight"]')).filter((t) => {
5027
5028
  var e;
5028
- return (e = t.getAttribute("style")) == null ? void 0 : e.match(Ha);
5029
+ return (e = t.getAttribute("style")) == null ? void 0 : e.match($a);
5029
5030
  }).forEach((t) => {
5030
5031
  var s;
5031
5032
  const e = n.createDocumentFragment();
5032
5033
  e.append(...t.childNodes), (s = t.parentNode) == null || s.replaceChild(e, t);
5033
5034
  });
5034
5035
  };
5035
- function Ka(n) {
5036
- n.querySelector('[id^="docs-internal-guid-"]') && (za(n), Fa(n));
5036
+ function Ga(n) {
5037
+ n.querySelector('[id^="docs-internal-guid-"]') && (Ka(n), za(n));
5037
5038
  }
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);
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);
5040
5041
  if (!s)
5041
5042
  return null;
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";
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";
5043
5044
  return {
5044
5045
  id: r,
5045
5046
  indent: o,
5046
5047
  type: h,
5047
5048
  element: n
5048
5049
  };
5049
- }, Xa = (n) => {
5050
+ }, Ya = (n) => {
5050
5051
  var o, a;
5051
5052
  const t = Array.from(n.querySelectorAll("[style*=mso-list]")), e = [], s = [];
5052
5053
  t.forEach((c) => {
5053
- (c.getAttribute("style") || "").match(Ga) ? e.push(c) : s.push(c);
5054
+ (c.getAttribute("style") || "").match(Va) ? e.push(c) : s.push(c);
5054
5055
  }), e.forEach((c) => {
5055
5056
  var h;
5056
5057
  return (h = c.parentNode) == null ? void 0 : h.removeChild(c);
5057
5058
  });
5058
- const r = n.documentElement.innerHTML, i = s.map((c) => Wa(c, r)).filter((c) => c);
5059
+ const r = n.documentElement.innerHTML, i = s.map((c) => Xa(c, r)).filter((c) => c);
5059
5060
  for (; i.length; ) {
5060
5061
  const c = [];
5061
5062
  let h = i.shift();
@@ -5078,17 +5079,17 @@ const Ga = /\bmso-list:[^;]*ignore/i, Va = /\bmso-list:[^;]*\bl(\d+)/i, Za = /\b
5078
5079
  });
5079
5080
  }
5080
5081
  };
5081
- function Ya(n) {
5082
- n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && Xa(n);
5082
+ function Qa(n) {
5083
+ n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && Ya(n);
5083
5084
  }
5084
- const Qa = [Ya, Ka], Ja = (n) => {
5085
- n.documentElement && Qa.forEach((t) => {
5085
+ const Ja = [Qa, Ga], tc = (n) => {
5086
+ n.documentElement && Ja.forEach((t) => {
5086
5087
  t(n);
5087
5088
  });
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), {});
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), {});
5089
5090
  class Nl extends Nt {
5090
5091
  constructor(t, e) {
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) => {
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) => {
5092
5093
  let [r, i] = s;
5093
5094
  this.addMatcher(r, i);
5094
5095
  });
@@ -5112,7 +5113,7 @@ class Nl extends Nt {
5112
5113
  `) && (i.ops[i.ops.length - 1].attributes == null || r.table) ? i.compose(new O().retain(i.length() - 1).delete(1)) : i;
5113
5114
  }
5114
5115
  normalizeHTML(t) {
5115
- Ja(t);
5116
+ tc(t);
5116
5117
  }
5117
5118
  convertHTML(t) {
5118
5119
  const e = new DOMParser().parseFromString(t, "text/html");
@@ -5204,7 +5205,7 @@ class Nl extends Nt {
5204
5205
  text: s,
5205
5206
  html: r
5206
5207
  }, i);
5207
- tc.log("onPaste", o, {
5208
+ ec.log("onPaste", o, {
5208
5209
  text: s,
5209
5210
  html: r
5210
5211
  });
@@ -5264,9 +5265,9 @@ function ls(n, t) {
5264
5265
  function zt(n, t) {
5265
5266
  if (!(n instanceof Element)) return !1;
5266
5267
  const e = t.query(n);
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());
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());
5268
5269
  }
5269
- function nc(n, t) {
5270
+ function rc(n, t) {
5270
5271
  return n.previousElementSibling && n.nextElementSibling && !zt(n.previousElementSibling, t) && !zt(n.nextElementSibling, t);
5271
5272
  }
5272
5273
  const Fs = /* @__PURE__ */ new WeakMap();
@@ -5282,20 +5283,20 @@ function Xr(n, t, e, s, r) {
5282
5283
  function hr(n) {
5283
5284
  return (t, e, s) => le(e, n, !0, s);
5284
5285
  }
5285
- function rc(n, t, e) {
5286
+ function ic(n, t, e) {
5286
5287
  const s = St.keys(n), r = vt.keys(n), i = Vt.keys(n), o = {};
5287
5288
  return s.concat(r).concat(i).forEach((a) => {
5288
5289
  let c = e.query(a, C.ATTRIBUTE);
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));
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));
5290
5291
  }), Object.entries(o).reduce((a, c) => {
5291
5292
  let [h, d] = c;
5292
5293
  return le(a, h, d, e);
5293
5294
  }, t);
5294
5295
  }
5295
- function ic(n, t, e) {
5296
+ function lc(n, t, e) {
5296
5297
  const s = e.query(n);
5297
5298
  if (s == null) return t;
5298
- if (s.prototype instanceof nt) {
5299
+ if (s.prototype instanceof rt) {
5299
5300
  const r = {}, i = s.value(n);
5300
5301
  if (i != null)
5301
5302
  return r[s.blotName] = i, new O().insert(r, s.formats(n, e));
@@ -5305,19 +5306,19 @@ function ic(n, t, e) {
5305
5306
  return le(t, s.blotName, s.formats(n, e), e);
5306
5307
  return t;
5307
5308
  }
5308
- function lc(n, t) {
5309
+ function oc(n, t) {
5309
5310
  return ls(t, `
5310
5311
  `) || t.insert(`
5311
5312
  `), t;
5312
5313
  }
5313
- function oc(n, t, e) {
5314
+ function ac(n, t, e) {
5314
5315
  const s = e.query("code-block"), r = s && "formats" in s && typeof s.formats == "function" ? s.formats(n, e) : !0;
5315
5316
  return le(t, "code-block", r, e);
5316
5317
  }
5317
- function ac() {
5318
+ function cc() {
5318
5319
  return new O();
5319
5320
  }
5320
- function cc(n, t, e) {
5321
+ function uc(n, t, e) {
5321
5322
  const s = e.query(n);
5322
5323
  if (s == null || // @ts-expect-error
5323
5324
  s.blotName !== "list" || !ls(t, `
@@ -5331,7 +5332,7 @@ function cc(n, t, e) {
5331
5332
  ...a.attributes || {}
5332
5333
  }) : o, new O());
5333
5334
  }
5334
- function uc(n, t, e) {
5335
+ function hc(n, t, e) {
5335
5336
  const s = n;
5336
5337
  let r = s.tagName === "OL" ? "ordered" : "bullet";
5337
5338
  const i = s.getAttribute("data-checked");
@@ -5350,7 +5351,7 @@ function ki(n, t, e) {
5350
5351
  return t.insert(`
5351
5352
  `);
5352
5353
  const r = e.query(s);
5353
- if (r && r.prototype instanceof at)
5354
+ if (r && r.prototype instanceof ct)
5354
5355
  return t.insert(`
5355
5356
  `);
5356
5357
  s = s.firstChild;
@@ -5359,7 +5360,7 @@ function ki(n, t, e) {
5359
5360
  }
5360
5361
  return t;
5361
5362
  }
5362
- function hc(n, t, e) {
5363
+ function fc(n, t, e) {
5363
5364
  var i;
5364
5365
  const s = {}, r = n.style || {};
5365
5366
  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
@@ -5368,7 +5369,7 @@ function hc(n, t, e) {
5368
5369
  return le(o, c, h, e);
5369
5370
  }, t), parseFloat(r.textIndent || 0) > 0 ? new O().insert(" ").concat(t) : t;
5370
5371
  }
5371
- function fc(n, t, e) {
5372
+ function dc(n, t, e) {
5372
5373
  var r, i;
5373
5374
  const s = ((r = n.parentElement) == null ? void 0 : r.tagName) === "TABLE" ? n.parentElement : (i = n.parentElement) == null ? void 0 : i.parentElement;
5374
5375
  if (s != null) {
@@ -5377,20 +5378,16 @@ function fc(n, t, e) {
5377
5378
  }
5378
5379
  return t;
5379
5380
  }
5380
- function dc(n, t, e) {
5381
+ function gc(n, t, e) {
5381
5382
  var r;
5382
5383
  let s = n.data;
5383
5384
  if (((r = n.parentElement) == null ? void 0 : r.tagName) === "O:P")
5384
5385
  return t.insert(s.trim());
5385
5386
  if (!Al(n)) {
5386
5387
  if (s.trim().length === 0 && s.includes(`
5387
- `) && !nc(n, e))
5388
+ `) && !rc(n, e))
5388
5389
  return t;
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)));
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(" ", " ");
5394
5391
  }
5395
5392
  return t.insert(s);
5396
5393
  }
@@ -5470,7 +5467,7 @@ class wl extends Nt {
5470
5467
  if (e.range)
5471
5468
  this.quill.setSelection(e.range, A.sources.USER);
5472
5469
  else {
5473
- const s = pc(this.quill.scroll, e.delta);
5470
+ const s = mc(this.quill.scroll, e.delta);
5474
5471
  this.quill.setSelection(s, A.sources.USER);
5475
5472
  }
5476
5473
  }
@@ -5490,15 +5487,15 @@ function Ii(n, t) {
5490
5487
  }, e = r.delta.transform(e), n[s].delta.length() === 0 && n.splice(s, 1);
5491
5488
  }
5492
5489
  }
5493
- function gc(n, t) {
5490
+ function pc(n, t) {
5494
5491
  const e = t.ops[t.ops.length - 1];
5495
5492
  return e == null ? !1 : e.insert != null ? typeof e.insert == "string" && e.insert.endsWith(`
5496
5493
  `) : e.attributes != null ? Object.keys(e.attributes).some((s) => n.query(s, C.BLOCK) != null) : !1;
5497
5494
  }
5498
- function pc(n, t) {
5495
+ function mc(n, t) {
5499
5496
  const e = t.reduce((r, i) => r + (i.delete || 0), 0);
5500
5497
  let s = t.length() - e;
5501
- return gc(n, t) && (s -= 1), s;
5498
+ return pc(n, t) && (s -= 1), s;
5502
5499
  }
5503
5500
  function Lr(n, t) {
5504
5501
  if (!n) return n;
@@ -5554,8 +5551,8 @@ xl.DEFAULTS = {
5554
5551
  });
5555
5552
  }
5556
5553
  };
5557
- const mc = ["insertText", "insertReplacementText"];
5558
- class bc extends Nt {
5554
+ const bc = ["insertText", "insertReplacementText"];
5555
+ class yc extends Nt {
5559
5556
  constructor(t, e) {
5560
5557
  super(t, e), t.root.addEventListener("beforeinput", (s) => {
5561
5558
  this.handleBeforeInput(s);
@@ -5580,12 +5577,12 @@ class bc extends Nt {
5580
5577
  return this.quill.setSelection(t.index + e.length, 0, A.sources.SILENT), !0;
5581
5578
  }
5582
5579
  handleBeforeInput(t) {
5583
- if (this.quill.composition.isComposing || t.defaultPrevented || !mc.includes(t.inputType))
5580
+ if (this.quill.composition.isComposing || t.defaultPrevented || !bc.includes(t.inputType))
5584
5581
  return;
5585
5582
  const e = t.getTargetRanges ? t.getTargetRanges()[0] : null;
5586
5583
  if (!e || e.collapsed === !0)
5587
5584
  return;
5588
- const s = yc(t);
5585
+ const s = vc(t);
5589
5586
  if (s == null)
5590
5587
  return;
5591
5588
  const r = this.quill.selection.normalizeNative(e), i = r ? this.quill.selection.normalizedToRange(r) : null;
@@ -5596,13 +5593,13 @@ class bc extends Nt {
5596
5593
  t && this.replaceText(t);
5597
5594
  }
5598
5595
  }
5599
- function yc(n) {
5596
+ function vc(n) {
5600
5597
  var t;
5601
5598
  return typeof n.data == "string" ? n.data : (t = n.dataTransfer) != null && t.types.includes("text/plain") ? n.dataTransfer.getData("text/plain") : null;
5602
5599
  }
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 {
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 {
5606
5603
  constructor(e, s) {
5607
5604
  super(e, s);
5608
5605
  T(this, "isListening", !1);
@@ -5628,7 +5625,7 @@ class Ac extends Nt {
5628
5625
  }
5629
5626
  handleNavigationShortcuts() {
5630
5627
  this.quill.root.addEventListener("keydown", (e) => {
5631
- !e.defaultPrevented && Nc(e) && this.ensureListeningToSelectionChange();
5628
+ !e.defaultPrevented && Ac(e) && this.ensureListeningToSelectionChange();
5632
5629
  });
5633
5630
  }
5634
5631
  /**
@@ -5638,7 +5635,7 @@ class Ac extends Nt {
5638
5635
  * the selection within the handler of a `selectionchange` event.
5639
5636
  */
5640
5637
  ensureListeningToSelectionChange() {
5641
- if (this.selectionChangeDeadline = Date.now() + Ec, this.isListening) return;
5638
+ if (this.selectionChangeDeadline = Date.now() + Nc, this.isListening) return;
5642
5639
  this.isListening = !0;
5643
5640
  const e = () => {
5644
5641
  this.isListening = !1, Date.now() <= this.selectionChangeDeadline && this.handleSelectionChange();
@@ -5660,7 +5657,7 @@ class Ac extends Nt {
5660
5657
  }
5661
5658
  A.register({
5662
5659
  "blots/block": G,
5663
- "blots/block/embed": at,
5660
+ "blots/block/embed": ct,
5664
5661
  "blots/break": Et,
5665
5662
  "blots/container": re,
5666
5663
  "blots/cursor": Se,
@@ -5672,10 +5669,10 @@ A.register({
5672
5669
  "modules/history": wl,
5673
5670
  "modules/keyboard": rn,
5674
5671
  "modules/uploader": xl,
5675
- "modules/input": bc,
5676
- "modules/uiNode": Ac
5672
+ "modules/input": yc,
5673
+ "modules/uiNode": wc
5677
5674
  });
5678
- class wc extends vt {
5675
+ class xc extends vt {
5679
5676
  add(t, e) {
5680
5677
  let s = 0;
5681
5678
  if (e === "+1" || e === "-1") {
@@ -5691,7 +5688,7 @@ class wc extends vt {
5691
5688
  return parseInt(super.value(t), 10) || void 0;
5692
5689
  }
5693
5690
  }
5694
- const xc = new wc("indent", "ql-indent", {
5691
+ const Tc = new xc("indent", "ql-indent", {
5695
5692
  scope: C.BLOCK,
5696
5693
  // @ts-expect-error
5697
5694
  whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
@@ -5812,7 +5809,7 @@ class Ks extends Fr {
5812
5809
  }
5813
5810
  T(Ks, "blotName", "formula"), T(Ks, "className", "ql-formula"), T(Ks, "tagName", "SPAN");
5814
5811
  const Ri = ["alt", "height", "width"];
5815
- class Ir extends nt {
5812
+ class Ir extends rt {
5816
5813
  static create(t) {
5817
5814
  const e = super.create(t);
5818
5815
  return typeof t == "string" && e.setAttribute("src", this.sanitize(t)), e;
@@ -5835,7 +5832,7 @@ class Ir extends nt {
5835
5832
  }
5836
5833
  T(Ir, "blotName", "image"), T(Ir, "tagName", "IMG");
5837
5834
  const Bi = ["height", "width"];
5838
- class Gs extends at {
5835
+ class Gs extends ct {
5839
5836
  static create(t) {
5840
5837
  const e = super.create(t);
5841
5838
  return e.setAttribute("frameborder", "0"), e.setAttribute("allowfullscreen", "true"), e.setAttribute("src", this.sanitize(t)), e;
@@ -5883,7 +5880,7 @@ class Mt extends Ot {
5883
5880
  }
5884
5881
  Mt.blotName = "code-token";
5885
5882
  Mt.className = "ql-token";
5886
- class ot extends Y {
5883
+ class at extends Y {
5887
5884
  static create(t) {
5888
5885
  const e = super.create(t);
5889
5886
  return typeof t == "string" && e.setAttribute("data-language", t), e;
@@ -5906,19 +5903,19 @@ class Qe extends ie {
5906
5903
  super.attach(), this.forceNext = !1, this.scroll.emitMount(this);
5907
5904
  }
5908
5905
  format(t, e) {
5909
- t === ot.blotName && (this.forceNext = !0, this.children.forEach((s) => {
5906
+ t === at.blotName && (this.forceNext = !0, this.children.forEach((s) => {
5910
5907
  s.format(t, e);
5911
5908
  }));
5912
5909
  }
5913
5910
  formatAt(t, e, s, r) {
5914
- s === ot.blotName && (this.forceNext = !0), super.formatAt(t, e, s, r);
5911
+ s === at.blotName && (this.forceNext = !0), super.formatAt(t, e, s, r);
5915
5912
  }
5916
5913
  highlight(t) {
5917
5914
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
5918
5915
  if (this.children.head == null) return;
5919
5916
  const r = `${Array.from(this.domNode.childNodes).filter((o) => o !== this.uiNode).map((o) => o.textContent).join(`
5920
5917
  `)}
5921
- `, i = ot.formats(this.children.head.domNode);
5918
+ `, i = at.formats(this.children.head.domNode);
5922
5919
  if (e || this.forceNext || this.cachedText !== r) {
5923
5920
  if (r.trim().length > 0 || this.cachedText == null) {
5924
5921
  const o = this.children.reduce((c, h) => c.concat(ol(h, !1)), new O()), a = t(r, i);
@@ -5928,7 +5925,7 @@ class Qe extends ie {
5928
5925
  attributes: b
5929
5926
  } = h;
5930
5927
  return d ? (b && Object.keys(b).forEach((g) => {
5931
- [ot.blotName, Mt.blotName].includes(g) && this.formatAt(c, d, g, b[g]);
5928
+ [at.blotName, Mt.blotName].includes(g) && this.formatAt(c, d, g, b[g]);
5932
5929
  }), c + d) : c;
5933
5930
  }, 0);
5934
5931
  }
@@ -5937,21 +5934,21 @@ class Qe extends ie {
5937
5934
  }
5938
5935
  html(t, e) {
5939
5936
  const [s] = this.children.find(t);
5940
- return `<pre data-language="${s ? ot.formats(s.domNode) : "plain"}">
5937
+ return `<pre data-language="${s ? at.formats(s.domNode) : "plain"}">
5941
5938
  ${nn(this.code(t, e))}
5942
5939
  </pre>`;
5943
5940
  }
5944
5941
  optimize(t) {
5945
5942
  if (super.optimize(t), this.parent != null && this.children.head != null && this.uiNode != null) {
5946
- const e = ot.formats(this.children.head.domNode);
5943
+ const e = at.formats(this.children.head.domNode);
5947
5944
  e !== this.uiNode.value && (this.uiNode.value = e);
5948
5945
  }
5949
5946
  }
5950
5947
  }
5951
- Qe.allowedChildren = [ot];
5952
- ot.requiredContainer = Qe;
5953
- ot.allowedChildren = [Mt, Se, yt, Et];
5954
- const Tc = (n, t, e) => {
5948
+ Qe.allowedChildren = [at];
5949
+ at.requiredContainer = Qe;
5950
+ at.allowedChildren = [Mt, Se, yt, Et];
5951
+ const Lc = (n, t, e) => {
5955
5952
  if (typeof n.versionString == "string") {
5956
5953
  const s = n.versionString.split(".")[0];
5957
5954
  if (parseInt(s, 10) >= 11)
@@ -5963,7 +5960,7 @@ const Tc = (n, t, e) => {
5963
5960
  };
5964
5961
  class Ll extends Nt {
5965
5962
  static register() {
5966
- A.register(Mt, !0), A.register(ot, !0), A.register(Qe, !0);
5963
+ A.register(Mt, !0), A.register(at, !0), A.register(Qe, !0);
5967
5964
  }
5968
5965
  constructor(t, e) {
5969
5966
  if (super(t, e), this.options.hljs == null)
@@ -5987,8 +5984,8 @@ class Ll extends Nt {
5987
5984
  const o = e.ownerDocument.createElement("option");
5988
5985
  o.textContent = i, o.setAttribute("value", r), e.appendChild(o);
5989
5986
  }), e.addEventListener("change", () => {
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)));
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)));
5992
5989
  });
5993
5990
  }
5994
5991
  initTimer() {
@@ -6017,7 +6014,7 @@ class Ll extends Nt {
6017
6014
  [Y.blotName]: e
6018
6015
  }), r.insert(i)), new O());
6019
6016
  const s = this.quill.root.ownerDocument.createElement("div");
6020
- return s.classList.add(Y.className), s.innerHTML = Tc(this.options.hljs, e, t), Xr(this.quill.scroll, s, [(r, i) => {
6017
+ return s.classList.add(Y.className), s.innerHTML = Lc(this.options.hljs, e, t), Xr(this.quill.scroll, s, [(r, i) => {
6021
6018
  const o = Ye.value(r);
6022
6019
  return o ? i.compose(new O().retain(i.length(), {
6023
6020
  [Mt.blotName]: o
@@ -6187,7 +6184,7 @@ mt.requiredContainer = Dt;
6187
6184
  function Yr() {
6188
6185
  return `row-${Math.random().toString(36).slice(2, 6)}`;
6189
6186
  }
6190
- class Lc extends Nt {
6187
+ class qc extends Nt {
6191
6188
  static register() {
6192
6189
  A.register(mt), A.register(Dt), A.register(qt), A.register(Ce);
6193
6190
  }
@@ -6278,7 +6275,7 @@ class Qr extends Nt {
6278
6275
  var s, r;
6279
6276
  if (super(t, e), Array.isArray(this.options.container)) {
6280
6277
  const i = document.createElement("div");
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;
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;
6282
6279
  } else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
6283
6280
  if (!(this.container instanceof HTMLElement)) {
6284
6281
  Mi.error("Container required for toolbar", this.options);
@@ -6320,7 +6317,7 @@ class Qr extends Nt {
6320
6317
  this.handlers[e].call(this, i);
6321
6318
  else if (
6322
6319
  // @ts-expect-error
6323
- this.quill.scroll.query(e).prototype instanceof nt
6320
+ this.quill.scroll.query(e).prototype instanceof rt
6324
6321
  ) {
6325
6322
  if (i = prompt(`Enter ${e}`), !i) return;
6326
6323
  this.quill.updateContents(new O().retain(o.index).delete(o.length).insert({
@@ -6363,7 +6360,7 @@ function Di(n, t, e) {
6363
6360
  const s = document.createElement("button");
6364
6361
  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);
6365
6362
  }
6366
- function qc(n, t) {
6363
+ function Sc(n, t) {
6367
6364
  Array.isArray(t[0]) || (t = [t]), t.forEach((e) => {
6368
6365
  const s = document.createElement("span");
6369
6366
  s.classList.add("ql-formats"), e.forEach((r) => {
@@ -6371,12 +6368,12 @@ function qc(n, t) {
6371
6368
  Di(s, r);
6372
6369
  else {
6373
6370
  const i = Object.keys(r)[0], o = r[i];
6374
- Array.isArray(o) ? Sc(s, i, o) : Di(s, i, o);
6371
+ Array.isArray(o) ? Oc(s, i, o) : Di(s, i, o);
6375
6372
  }
6376
6373
  }), n.appendChild(s);
6377
6374
  });
6378
6375
  }
6379
- function Sc(n, t, e) {
6376
+ function Oc(n, t, e) {
6380
6377
  const s = document.createElement("select");
6381
6378
  s.classList.add(`ql-${t}`), e.forEach((r) => {
6382
6379
  const i = document.createElement("option");
@@ -6419,54 +6416,54 @@ Qr.DEFAULTS = {
6419
6416
  }
6420
6417
  }
6421
6418
  };
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 = {
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 = {
6423
6420
  align: {
6424
- "": Oc,
6425
- center: Cc,
6426
- right: _c,
6427
- justify: kc
6421
+ "": Cc,
6422
+ center: _c,
6423
+ right: kc,
6424
+ justify: Ic
6428
6425
  },
6429
- background: Ic,
6430
- blockquote: Rc,
6431
- bold: Bc,
6432
- clean: Mc,
6426
+ background: Rc,
6427
+ blockquote: Bc,
6428
+ bold: Mc,
6429
+ clean: Dc,
6433
6430
  code: Ui,
6434
6431
  "code-block": Ui,
6435
- color: Dc,
6432
+ color: Uc,
6436
6433
  direction: {
6437
- "": Uc,
6438
- rtl: Pc
6434
+ "": Pc,
6435
+ rtl: jc
6439
6436
  },
6440
- formula: jc,
6437
+ formula: Hc,
6441
6438
  header: {
6442
- 1: Hc,
6443
- 2: $c,
6444
- 3: Fc,
6445
- 4: zc,
6446
- 5: Kc,
6447
- 6: Gc
6439
+ 1: $c,
6440
+ 2: Fc,
6441
+ 3: zc,
6442
+ 4: Kc,
6443
+ 5: Gc,
6444
+ 6: Vc
6448
6445
  },
6449
- italic: Vc,
6450
- image: Zc,
6446
+ italic: Zc,
6447
+ image: Wc,
6451
6448
  indent: {
6452
- "+1": Wc,
6453
- "-1": Xc
6449
+ "+1": Xc,
6450
+ "-1": Yc
6454
6451
  },
6455
- link: Yc,
6452
+ link: Qc,
6456
6453
  list: {
6457
- bullet: Qc,
6458
- check: Jc,
6459
- ordered: tu
6454
+ bullet: Jc,
6455
+ check: tu,
6456
+ ordered: eu
6460
6457
  },
6461
6458
  script: {
6462
- sub: eu,
6463
- super: su
6459
+ sub: su,
6460
+ super: nu
6464
6461
  },
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>';
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>';
6470
6467
  let Pi = 0;
6471
6468
  function ji(n, t) {
6472
6469
  n.setAttribute(t, `${n.getAttribute(t) !== "true"}`);
@@ -6508,7 +6505,7 @@ class ln {
6508
6505
  }
6509
6506
  buildLabel() {
6510
6507
  const t = document.createElement("span");
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;
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;
6512
6509
  }
6513
6510
  buildOptions() {
6514
6511
  const t = document.createElement("span");
@@ -6578,7 +6575,7 @@ class Sl extends ln {
6578
6575
  }
6579
6576
  }
6580
6577
  }
6581
- const au = (n) => {
6578
+ const cu = (n) => {
6582
6579
  const {
6583
6580
  overflowY: t
6584
6581
  } = getComputedStyle(n, null);
@@ -6586,7 +6583,7 @@ const au = (n) => {
6586
6583
  };
6587
6584
  class Ol {
6588
6585
  constructor(t, e) {
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", () => {
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", () => {
6590
6587
  this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
6591
6588
  }), this.hide();
6592
6589
  }
@@ -6608,7 +6605,7 @@ class Ol {
6608
6605
  this.root.classList.remove("ql-editing"), this.root.classList.remove("ql-hidden");
6609
6606
  }
6610
6607
  }
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"];
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"];
6612
6609
  class cs extends Oe {
6613
6610
  constructor(t, e) {
6614
6611
  super(t, e);
@@ -6646,13 +6643,13 @@ class cs extends Oe {
6646
6643
  }
6647
6644
  buildPickers(t, e) {
6648
6645
  this.pickers = Array.from(t).map((r) => {
6649
- if (r.classList.contains("ql-align") && (r.querySelector("option") == null && Xe(r, cu), typeof e.align == "object"))
6646
+ if (r.classList.contains("ql-align") && (r.querySelector("option") == null && Xe(r, uu), typeof e.align == "object"))
6650
6647
  return new Sl(r, e.align);
6651
6648
  if (r.classList.contains("ql-background") || r.classList.contains("ql-color")) {
6652
6649
  const i = r.classList.contains("ql-background") ? "background" : "color";
6653
- return r.querySelector("option") == null && Xe(r, uu, i === "background" ? "#ffffff" : "#000000"), new ql(r, e[i]);
6650
+ return r.querySelector("option") == null && Xe(r, hu, i === "background" ? "#ffffff" : "#000000"), new ql(r, e[i]);
6654
6651
  }
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);
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);
6656
6653
  });
6657
6654
  const s = () => {
6658
6655
  this.pickers.forEach((r) => {
@@ -6720,7 +6717,7 @@ class Cl extends Ol {
6720
6717
  break;
6721
6718
  }
6722
6719
  case "video":
6723
- t = gu(t);
6720
+ t = pu(t);
6724
6721
  case "formula": {
6725
6722
  if (!t) break;
6726
6723
  const e = this.quill.getSelection(!0);
@@ -6740,7 +6737,7 @@ class Cl extends Ol {
6740
6737
  this.textbox.value = "", this.hide();
6741
6738
  }
6742
6739
  }
6743
- function gu(n) {
6740
+ function pu(n) {
6744
6741
  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_-]+)/);
6745
6742
  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;
6746
6743
  }
@@ -6751,7 +6748,7 @@ function Xe(n, t) {
6751
6748
  s === e ? r.setAttribute("selected", "selected") : r.setAttribute("value", String(s)), n.appendChild(r);
6752
6749
  });
6753
6750
  }
6754
- const pu = [["bold", "italic", "link"], [{
6751
+ const mu = [["bold", "italic", "link"], [{
6755
6752
  header: 1
6756
6753
  }, {
6757
6754
  header: 2
@@ -6798,7 +6795,7 @@ class _l extends Cl {
6798
6795
  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(""));
6799
6796
  class kl extends cs {
6800
6797
  constructor(t, e) {
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");
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");
6802
6799
  }
6803
6800
  extendToolbar(t) {
6804
6801
  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));
@@ -6815,7 +6812,7 @@ kl.DEFAULTS = Gt({}, cs.DEFAULTS, {
6815
6812
  }
6816
6813
  }
6817
6814
  });
6818
- const mu = [[{
6815
+ const bu = [[{
6819
6816
  header: ["1", "2", "3", !1]
6820
6817
  }], ["bold", "italic", "underline", "link"], [{
6821
6818
  list: "ordered"
@@ -6861,7 +6858,7 @@ class Il extends Cl {
6861
6858
  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(""));
6862
6859
  class Rl extends cs {
6863
6860
  constructor(t, e) {
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");
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");
6865
6862
  }
6866
6863
  extendToolbar(t) {
6867
6864
  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({
@@ -6896,8 +6893,8 @@ Rl.DEFAULTS = Gt({}, cs.DEFAULTS, {
6896
6893
  A.register({
6897
6894
  "attributors/attribute/direction": dl,
6898
6895
  "attributors/class/align": ul,
6899
- "attributors/class/background": Ra,
6900
- "attributors/class/color": Ia,
6896
+ "attributors/class/background": Ba,
6897
+ "attributors/class/color": Ra,
6901
6898
  "attributors/class/direction": gl,
6902
6899
  "attributors/class/font": bl,
6903
6900
  "attributors/class/size": vl,
@@ -6911,7 +6908,7 @@ A.register({
6911
6908
  A.register({
6912
6909
  "formats/align": ul,
6913
6910
  "formats/direction": gl,
6914
- "formats/indent": xc,
6911
+ "formats/indent": Tc,
6915
6912
  "formats/background": Gr,
6916
6913
  "formats/color": Kr,
6917
6914
  "formats/font": bl,
@@ -6931,7 +6928,7 @@ A.register({
6931
6928
  "formats/image": Ir,
6932
6929
  "formats/video": Gs,
6933
6930
  "modules/syntax": Ll,
6934
- "modules/table": Lc,
6931
+ "modules/table": qc,
6935
6932
  "modules/toolbar": Qr,
6936
6933
  "themes/bubble": kl,
6937
6934
  "themes/snow": Rl,
@@ -6941,8 +6938,13 @@ A.register({
6941
6938
  "ui/color-picker": ql,
6942
6939
  "ui/tooltip": Ol
6943
6940
  }, !0);
6941
+ const Tu = tt.AttributeMap, Lu = tt.Op, qu = tt.OpIterator;
6944
6942
  export {
6943
+ Tu as AttributeMap,
6944
+ O as Delta,
6945
6945
  Nt as Module,
6946
+ Lu as Op,
6947
+ qu as OpIterator,
6946
6948
  sa as Parchment,
6947
6949
  ne as Range,
6948
6950
  A as default