dgz-ui-shared 1.1.20 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Actions-1AyyAnYT.js → Actions-CKVu3P3q.js} +6 -6
- package/dist/Actions-uGf1oq7E.cjs +1 -0
- package/dist/{DateRangePicker-kaBfJaKY.cjs → DateRangePicker-C1c1mofH.cjs} +3 -3
- package/dist/{DateRangePicker-D57HSCpq.js → DateRangePicker-DFsQ10c7.js} +5 -5
- package/dist/{ExportData-dSwR1N1v.js → ExportData-1xS2UAoq.js} +6 -6
- package/dist/ExportData-ApStkEWC.cjs +1 -0
- package/dist/{FilterWrapper-BYTeNMOP.js → FilterWrapper-Dk18nVPy.js} +26 -26
- package/dist/FilterWrapper-DvNjUQih.cjs +21 -0
- package/dist/{MyInput-xQAtNQfv.cjs → MyInput-9MnlVZ4h.cjs} +1 -1
- package/dist/{MyInput-DfwJGqEz.js → MyInput-B-QCpehg.js} +14 -14
- package/dist/{MyLimitSelect-BSZcXwK_.cjs → MyLimitSelect-BU1FClXt.cjs} +2 -2
- package/dist/{MyLimitSelect-B8aFncMj.js → MyLimitSelect-D5ZWDY-s.js} +7 -7
- package/dist/{MySelect-B09FshOo.js → MySelect-C5uWRVJh.js} +6 -6
- package/dist/MySelect-DNK997Bi.cjs +1 -0
- package/dist/{button-2punbuN6-BBVynxVj.cjs → button-CdZDBhmr-3yMPCRDo.cjs} +1 -1
- package/dist/{button-2punbuN6-Bxlf8sMg.js → button-CdZDBhmr-BT_j3ig5.js} +7 -7
- package/dist/{chevron-right-HWBijj-I-Bdcofm_0.cjs → chevron-right-HWBijj-I-CZBu0GKg.cjs} +1 -1
- package/dist/{chevron-right-HWBijj-I-Bkp_tbGM.js → chevron-right-HWBijj-I-DsFUufdU.js} +1 -1
- package/dist/components/actions/index.cjs.js +1 -1
- package/dist/components/actions/index.es.js +1 -1
- package/dist/components/confirm/index.cjs.js +1 -1
- package/dist/components/confirm/index.es.js +1 -1
- package/dist/components/datatable/index.cjs.js +5 -5
- package/dist/components/datatable/index.es.js +166 -166
- package/dist/components/datepicker/index.cjs.js +1 -1
- package/dist/components/datepicker/index.es.js +1 -1
- package/dist/components/export/index.cjs.js +1 -1
- package/dist/components/export/index.es.js +1 -1
- package/dist/components/filters/index.cjs.js +1 -1
- package/dist/components/filters/index.es.js +3 -3
- package/dist/components/form/index.cjs.js +2 -2
- package/dist/components/form/index.es.js +12 -12
- package/dist/components/modal/index.cjs.js +2 -2
- package/dist/components/modal/index.es.js +7 -7
- package/dist/components/pagination/index.cjs.js +1 -1
- package/dist/components/pagination/index.es.js +1 -1
- package/dist/components/theme/index.cjs.js +3 -3
- package/dist/components/theme/index.es.js +4 -4
- package/dist/components/tooltip/index.cjs.js +1 -1
- package/dist/components/tooltip/index.es.js +44 -44
- package/dist/{createLucideIcon-B950nf2d-Brk4LIHH.js → createLucideIcon-B950nf2d-9wLYOF5y.js} +1 -1
- package/dist/{createLucideIcon-B950nf2d-BaIaB_Fz.cjs → createLucideIcon-B950nf2d-DrrWmvZU.cjs} +4 -4
- package/dist/dropdown-menu-TWRSm6RK-DQ03CnVw.cjs +1 -0
- package/dist/{dropdown-menu-lArmcWbC-jIg7CHSO.js → dropdown-menu-TWRSm6RK-D_FJpI4C.js} +83 -83
- package/dist/hooks/index.cjs.js +1 -1
- package/dist/hooks/index.es.js +1 -1
- package/dist/{index-CiR6yUKf-BEMUeikM.js → index-BL59b1Bz-C9bJE_xn.js} +90 -90
- package/dist/{index-CiR6yUKf-B1h5S0LB.cjs → index-BL59b1Bz-COeLljOH.cjs} +4 -4
- package/dist/{index-DUK8Bn0m-Clp83x2_.js → index-C4qYhCZt-BZQduTld.js} +29 -29
- package/dist/index-C4qYhCZt-DWBiWQ93.cjs +5 -0
- package/dist/index-CbK6da4c-QXbo5Vgb.cjs +1 -0
- package/dist/{index-Dp0y0FJw-B42jTfO0.js → index-CbK6da4c-d_6FdYZH.js} +1 -1
- package/dist/{index-GjjxAtgk-Dl4JPPHK.js → index-Cths1nBq-BUfZy21E.js} +71 -71
- package/dist/index-Cths1nBq-DzDn15YE.cjs +11 -0
- package/dist/{index-CMHo7s91-D6S6dZoG.cjs → index-ZsCkaYy6-Bjyf2SZs.cjs} +1 -1
- package/dist/{index-CMHo7s91-BRFfxKgJ.js → index-ZsCkaYy6-Cw9HUeiu.js} +1 -1
- package/dist/{input-mask-DBDaFFnm-CwBTZF0M.js → input-mask-DBLFIvhN-BBxoZxnd.js} +341 -341
- package/dist/{input-mask-DBDaFFnm-Dmv3bbE0.cjs → input-mask-DBLFIvhN-C_0RAR2l.cjs} +32 -32
- package/dist/{popover-Dvg-QyCn-CJ3lAD8Q.js → popover-OZcfKDD9-C2PVWPLS.js} +17 -17
- package/dist/popover-OZcfKDD9-KUWOsIOs.cjs +1 -0
- package/dist/{react-select-CKazfTiF-1EhjhhlL.js → react-select-DVPHHTAP-D2u3DqGr.js} +2 -2
- package/dist/{react-select-CKazfTiF-Bb-Uf4tM.cjs → react-select-DVPHHTAP-DKDInFsM.cjs} +9 -9
- package/dist/{unstyled-BcD9hmh4.cjs → unstyled-BFCMBSGZ.cjs} +2 -2
- package/dist/{unstyled-BRWVVWRl.js → unstyled-BMbrfzye.js} +5 -5
- package/package.json +2 -2
- package/dist/Actions-Dg5LYo56.cjs +0 -1
- package/dist/ExportData-DUuHYzA-.cjs +0 -1
- package/dist/FilterWrapper-DXKousYF.cjs +0 -21
- package/dist/MySelect-Dps9WQfz.cjs +0 -1
- package/dist/dropdown-menu-lArmcWbC-DCwGoXng.cjs +0 -1
- package/dist/index-DUK8Bn0m-BIulOZIQ.cjs +0 -5
- package/dist/index-Dp0y0FJw-DVwS4FcV.cjs +0 -1
- package/dist/index-GjjxAtgk-DaxZek3n.cjs +0 -11
- package/dist/popover-Dvg-QyCn-Dr2o9oAG.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as T,
|
|
1
|
+
import { a as T, k as Mf, y as Ps, j as Gs, g as Ma, h as Nt, i as Dt, d as Xe, R as yc, b as At, S as Ff, M as Pf, n as Bf } from "./index-BL59b1Bz-C9bJE_xn.js";
|
|
2
2
|
import * as O from "react";
|
|
3
3
|
import ot, { forwardRef as Vf, useState as kl, useEffect as Uf, useRef as bc, createRef as wl, createElement as Ir, PureComponent as $f, useDebugValue as El, useContext as zf } from "react";
|
|
4
|
-
import { o as xc, i as Hf, r as Kf, I as Fa, s as Wf, c as Gf } from "./index-
|
|
5
|
-
import { C as Zf, i as Xf, w as Yf, m as Jf, k as Qf, J as Pa, a as tp, l as _l, b as ze } from "./react-select-
|
|
4
|
+
import { o as xc, i as Hf, r as Kf, I as Fa, s as Wf, c as Gf } from "./index-ZsCkaYy6-Cw9HUeiu.js";
|
|
5
|
+
import { C as Zf, i as Xf, w as Yf, m as Jf, k as Qf, J as Pa, a as tp, l as _l, b as ze } from "./react-select-DVPHHTAP-D2u3DqGr.js";
|
|
6
6
|
import { m as Ct } from "./utils-B6fNqzRf-B1_jG1K7.js";
|
|
7
|
-
import { j as Ba, u as ep } from "./button-
|
|
7
|
+
import { j as Ba, u as ep } from "./button-CdZDBhmr-BT_j3ig5.js";
|
|
8
8
|
import * as kc from "react-dom";
|
|
9
|
-
import { a as np, n as wc,
|
|
10
|
-
import { k as _c, M as ap, R as lp, C as up, d as cp, S as hp } from "./createLucideIcon-B950nf2d-
|
|
11
|
-
import { s as dp } from "./index-
|
|
9
|
+
import { a as np, n as wc, D as sp, t as rp, b as Ec, F as ip, g as op } from "./index-Cths1nBq-BUfZy21E.js";
|
|
10
|
+
import { k as _c, M as ap, R as lp, C as up, d as cp, S as hp } from "./createLucideIcon-B950nf2d-9wLYOF5y.js";
|
|
11
|
+
import { s as dp } from "./index-CbK6da4c-d_6FdYZH.js";
|
|
12
12
|
function Sl(n, [t, e]) {
|
|
13
13
|
return Math.min(e, Math.max(t, n));
|
|
14
14
|
}
|
|
@@ -354,7 +354,7 @@ var Sp = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
354
354
|
return Sp.test(n) || n.charCodeAt(0) === 111 && n.charCodeAt(1) === 110 && n.charCodeAt(2) < 91;
|
|
355
355
|
}
|
|
356
356
|
/* Z+1 */
|
|
357
|
-
), Et = "-ms-", Ds = "-moz-", bt = "-webkit-", Lc = "comm", li = "rule", za = "decl", Cp = "@import",
|
|
357
|
+
), Et = "-ms-", Ds = "-moz-", bt = "-webkit-", Lc = "comm", li = "rule", za = "decl", Cp = "@import", qc = "@keyframes", Np = "@layer", jc = Math.abs, Ha = String.fromCharCode, Jo = Object.assign;
|
|
358
358
|
function Op(n, t) {
|
|
359
359
|
return It(n, 0) ^ 45 ? (((t << 2 ^ It(n, 0)) << 2 ^ It(n, 1)) << 2 ^ It(n, 2)) << 2 ^ It(n, 3) : 0;
|
|
360
360
|
}
|
|
@@ -417,7 +417,7 @@ function le() {
|
|
|
417
417
|
function mn() {
|
|
418
418
|
return It(us, ne);
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function qr() {
|
|
421
421
|
return ne;
|
|
422
422
|
}
|
|
423
423
|
function hi(n, t) {
|
|
@@ -464,13 +464,13 @@ function Qo(n) {
|
|
|
464
464
|
function Lp(n) {
|
|
465
465
|
return ui = ns = 1, Fc = ye(us = n), ne = 0, [];
|
|
466
466
|
}
|
|
467
|
-
function
|
|
467
|
+
function qp(n) {
|
|
468
468
|
return us = "", n;
|
|
469
469
|
}
|
|
470
470
|
function _o(n) {
|
|
471
471
|
return Dc(hi(ne - 1, ta(n === 91 ? n + 2 : n === 40 ? n + 1 : n)));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function jp(n) {
|
|
474
474
|
for (; (Tt = mn()) && Tt < 33; )
|
|
475
475
|
le();
|
|
476
476
|
return Qo(n) > 2 || Qo(Tt) > 3 ? "" : " ";
|
|
@@ -478,7 +478,7 @@ function qp(n) {
|
|
|
478
478
|
function Dp(n, t) {
|
|
479
479
|
for (; --t && le() && !(Tt < 48 || Tt > 102 || Tt > 57 && Tt < 65 || Tt > 70 && Tt < 97); )
|
|
480
480
|
;
|
|
481
|
-
return hi(n,
|
|
481
|
+
return hi(n, qr() + (t < 6 && mn() == 32 && le() == 32));
|
|
482
482
|
}
|
|
483
483
|
function ta(n) {
|
|
484
484
|
for (; le(); )
|
|
@@ -513,15 +513,15 @@ function Fp(n) {
|
|
|
513
513
|
return hi(n, ne);
|
|
514
514
|
}
|
|
515
515
|
function Pp(n) {
|
|
516
|
-
return
|
|
516
|
+
return qp(jr("", null, null, null, [""], n = Lp(n), 0, [0], n));
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function jr(n, t, e, s, r, i, o, a, l) {
|
|
519
519
|
for (var c = 0, f = 0, v = o, h = 0, d = 0, m = 0, g = 1, x = 1, k = 1, w = 0, S = "", C = r, E = i, B = s, H = S; x; )
|
|
520
520
|
switch (m = w, w = le()) {
|
|
521
521
|
// (
|
|
522
522
|
case 40:
|
|
523
523
|
if (m != 108 && It(H, v - 1) == 58) {
|
|
524
|
-
Lr(H += dt(_o(w), "&", "&\f"), "&\f",
|
|
524
|
+
Lr(H += dt(_o(w), "&", "&\f"), "&\f", jc(c ? a[c - 1] : 0)) != -1 && (k = -1);
|
|
525
525
|
break;
|
|
526
526
|
}
|
|
527
527
|
// " ' [
|
|
@@ -535,18 +535,18 @@ function qr(n, t, e, s, r, i, o, a, l) {
|
|
|
535
535
|
case 10:
|
|
536
536
|
case 13:
|
|
537
537
|
case 32:
|
|
538
|
-
H +=
|
|
538
|
+
H += jp(m);
|
|
539
539
|
break;
|
|
540
540
|
// \
|
|
541
541
|
case 92:
|
|
542
|
-
H += Dp(
|
|
542
|
+
H += Dp(qr() - 1, 7);
|
|
543
543
|
continue;
|
|
544
544
|
// /
|
|
545
545
|
case 47:
|
|
546
546
|
switch (mn()) {
|
|
547
547
|
case 42:
|
|
548
548
|
case 47:
|
|
549
|
-
Ts(Bp(Mp(le(),
|
|
549
|
+
Ts(Bp(Mp(le(), qr()), t, e, l), l);
|
|
550
550
|
break;
|
|
551
551
|
default:
|
|
552
552
|
H += "/";
|
|
@@ -575,7 +575,7 @@ function qr(n, t, e, s, r, i, o, a, l) {
|
|
|
575
575
|
default:
|
|
576
576
|
if (Ts(B = Cl(H, t, e, c, f, r, a, S, C = [], E = [], v, i), i), w === 123)
|
|
577
577
|
if (f === 0)
|
|
578
|
-
|
|
578
|
+
jr(H, t, B, B, C, i, v, a, E);
|
|
579
579
|
else
|
|
580
580
|
switch (h === 99 && It(H, 3) === 110 ? 100 : h) {
|
|
581
581
|
// d l m s
|
|
@@ -583,10 +583,10 @@ function qr(n, t, e, s, r, i, o, a, l) {
|
|
|
583
583
|
case 108:
|
|
584
584
|
case 109:
|
|
585
585
|
case 115:
|
|
586
|
-
|
|
586
|
+
jr(n, B, B, s && Ts(Cl(n, B, B, 0, 0, r, a, S, r, C = [], v, E), E), r, E, v, a, s ? C : E);
|
|
587
587
|
break;
|
|
588
588
|
default:
|
|
589
|
-
|
|
589
|
+
jr(H, B, B, B, [""], E, 0, a, E);
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
592
|
c = f = d = 0, g = k = 1, S = H = "", v = o;
|
|
@@ -612,7 +612,7 @@ function qr(n, t, e, s, r, i, o, a, l) {
|
|
|
612
612
|
break;
|
|
613
613
|
// @
|
|
614
614
|
case 64:
|
|
615
|
-
mn() === 45 && (H += _o(le())), h = mn(), f = v = ye(S = H += Fp(
|
|
615
|
+
mn() === 45 && (H += _o(le())), h = mn(), f = v = ye(S = H += Fp(qr())), w++;
|
|
616
616
|
break;
|
|
617
617
|
// -
|
|
618
618
|
case 45:
|
|
@@ -623,7 +623,7 @@ function qr(n, t, e, s, r, i, o, a, l) {
|
|
|
623
623
|
}
|
|
624
624
|
function Cl(n, t, e, s, r, i, o, a, l, c, f, v) {
|
|
625
625
|
for (var h = r - 1, d = r === 0 ? i : [""], m = Mc(d), g = 0, x = 0, k = 0; g < s; ++g)
|
|
626
|
-
for (var w = 0, S = es(n, h + 1, h =
|
|
626
|
+
for (var w = 0, S = es(n, h + 1, h = jc(x = o[g])), C = n; w < m; ++w)
|
|
627
627
|
(C = Dc(x > 0 ? d[w] + " " + S : dt(S, /&\f/g, d[w]))) && (l[k++] = C);
|
|
628
628
|
return ci(n, t, e, r === 0 ? li : a, l, c, f, v);
|
|
629
629
|
}
|
|
@@ -829,7 +829,7 @@ function Vp(n, t, e, s) {
|
|
|
829
829
|
return n.return = n.return || n.value;
|
|
830
830
|
case Lc:
|
|
831
831
|
return "";
|
|
832
|
-
case
|
|
832
|
+
case qc:
|
|
833
833
|
return n.return = n.value + "{" + Xr(n.children, s) + "}";
|
|
834
834
|
case li:
|
|
835
835
|
if (!ye(n.value = n.props.join(","))) return "";
|
|
@@ -855,7 +855,7 @@ function zp(n, t, e, s) {
|
|
|
855
855
|
case za:
|
|
856
856
|
n.return = Pc(n.value, n.length, e);
|
|
857
857
|
return;
|
|
858
|
-
case
|
|
858
|
+
case qc:
|
|
859
859
|
return Xr([Ve(n, { value: dt(n.value, "@", "@" + bt) })], s);
|
|
860
860
|
case li:
|
|
861
861
|
if (n.length)
|
|
@@ -979,12 +979,12 @@ function Il(n) {
|
|
|
979
979
|
return ("type" in (t = n) && t.type.$$typeof) === Kc ? Wc : "$$typeof" in n ? nm[n.$$typeof] : tm;
|
|
980
980
|
var t;
|
|
981
981
|
}
|
|
982
|
-
var sm = Object.defineProperty, rm = Object.getOwnPropertyNames, Ll = Object.getOwnPropertySymbols, im = Object.getOwnPropertyDescriptor, om = Object.getPrototypeOf,
|
|
982
|
+
var sm = Object.defineProperty, rm = Object.getOwnPropertyNames, Ll = Object.getOwnPropertySymbols, im = Object.getOwnPropertyDescriptor, om = Object.getPrototypeOf, ql = Object.prototype;
|
|
983
983
|
function Gc(n, t, e) {
|
|
984
984
|
if (typeof t != "string") {
|
|
985
|
-
if (
|
|
985
|
+
if (ql) {
|
|
986
986
|
var s = om(t);
|
|
987
|
-
s && s !==
|
|
987
|
+
s && s !== ql && Gc(n, s, e);
|
|
988
988
|
}
|
|
989
989
|
var r = rm(t);
|
|
990
990
|
Ll && (r = r.concat(Ll(t)));
|
|
@@ -1010,7 +1010,7 @@ function Wa(n) {
|
|
|
1010
1010
|
function fn(n, t) {
|
|
1011
1011
|
return n && t ? "".concat(n, " ").concat(t) : n || t || "";
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function jl(n, t) {
|
|
1014
1014
|
if (n.length === 0) return "";
|
|
1015
1015
|
for (var e = n[0], s = 1; s < n.length; s++) e += n[s];
|
|
1016
1016
|
return e;
|
|
@@ -1343,7 +1343,7 @@ var Cm = $c(di), Nm = function() {
|
|
|
1343
1343
|
var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, e, s) : "";
|
|
1344
1344
|
if (this.isStatic && !s.hash) if (this.staticRulesId && e.hasNameForId(this.componentId, this.staticRulesId)) r = fn(r, this.staticRulesId);
|
|
1345
1345
|
else {
|
|
1346
|
-
var i =
|
|
1346
|
+
var i = jl(gn(this.rules, t, e, s)), o = na(dn(this.baseHash, i) >>> 0);
|
|
1347
1347
|
if (!e.hasNameForId(this.componentId, o)) {
|
|
1348
1348
|
var a = s(i, ".".concat(o), void 0, this.componentId);
|
|
1349
1349
|
e.insertRules(this.componentId, o, a);
|
|
@@ -1355,7 +1355,7 @@ var Cm = $c(di), Nm = function() {
|
|
|
1355
1355
|
var v = this.rules[f];
|
|
1356
1356
|
if (typeof v == "string") c += v, process.env.NODE_ENV !== "production" && (l = dn(l, v));
|
|
1357
1357
|
else if (v) {
|
|
1358
|
-
var h =
|
|
1358
|
+
var h = jl(gn(v, t, e, s));
|
|
1359
1359
|
l = dn(l, h + f), c += h;
|
|
1360
1360
|
}
|
|
1361
1361
|
}
|
|
@@ -1390,7 +1390,7 @@ function Om(n, t, e) {
|
|
|
1390
1390
|
var k = new Nm(e, h, s ? r.componentStyle : void 0);
|
|
1391
1391
|
function w(C, E) {
|
|
1392
1392
|
return function(B, H, at) {
|
|
1393
|
-
var ht = B.attrs, mt = B.componentStyle, y = B.defaultProps,
|
|
1393
|
+
var ht = B.attrs, mt = B.componentStyle, y = B.defaultProps, j = B.foldedComponentIds, _ = B.styledComponentId, $ = B.target, V = ot.useContext(eh), N = Fl(), M = B.shouldForwardProp || N.shouldForwardProp;
|
|
1394
1394
|
process.env.NODE_ENV !== "production" && El(_);
|
|
1395
1395
|
var Z = Gp(H, V, y) || ss, X = function(z, Y, D) {
|
|
1396
1396
|
for (var P, W = Gt(Gt({}, Y), { className: void 0, theme: D }), U = 0; U < z.length; U += 1) {
|
|
@@ -1405,7 +1405,7 @@ function Om(n, t, e) {
|
|
|
1405
1405
|
return process.env.NODE_ENV !== "production" && El(P), P;
|
|
1406
1406
|
}(mt, X);
|
|
1407
1407
|
process.env.NODE_ENV !== "production" && B.warnTooManyClasses && B.warnTooManyClasses(G);
|
|
1408
|
-
var K = fn(
|
|
1408
|
+
var K = fn(j, _);
|
|
1409
1409
|
return G && (K += " " + G), X.className && (K += " " + X.className), L[Ao(A) && !ea.has(A) ? "class" : "className"] = K, at && (L.ref = at), Ir(A, L);
|
|
1410
1410
|
}(S, C, E);
|
|
1411
1411
|
}
|
|
@@ -1538,9 +1538,9 @@ var Lm = "Label", sh = O.forwardRef((n, t) => /* @__PURE__ */ T.jsx(
|
|
|
1538
1538
|
}
|
|
1539
1539
|
));
|
|
1540
1540
|
sh.displayName = Lm;
|
|
1541
|
-
var rh = sh,
|
|
1541
|
+
var rh = sh, qm = (n) => n.type === "checkbox", Rs = (n) => n instanceof Date, Xa = (n) => n == null;
|
|
1542
1542
|
const ih = (n) => typeof n == "object";
|
|
1543
|
-
var yn = (n) => !Xa(n) && !Array.isArray(n) && ih(n) && !Rs(n),
|
|
1543
|
+
var yn = (n) => !Xa(n) && !Array.isArray(n) && ih(n) && !Rs(n), jm = (n) => yn(n) && n.target ? qm(n.target) ? n.target.checked : n.target.value : n, Dm = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, Mm = (n, t) => n.has(Dm(t)), Fm = (n) => {
|
|
1544
1544
|
const t = n.constructor && n.constructor.prototype;
|
|
1545
1545
|
return yn(t) && t.hasOwnProperty("isPrototypeOf");
|
|
1546
1546
|
}, Pm = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
@@ -1729,7 +1729,7 @@ function Km(n) {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
}), [v, e]), x = ot.useCallback((C) => m.current.onChange({
|
|
1731
1731
|
target: {
|
|
1732
|
-
value:
|
|
1732
|
+
value: jm(C),
|
|
1733
1733
|
name: e
|
|
1734
1734
|
},
|
|
1735
1735
|
type: Hl.CHANGE
|
|
@@ -1794,9 +1794,9 @@ const Wm = (n) => n.render(Km(n)), Gm = Ba(
|
|
|
1794
1794
|
}
|
|
1795
1795
|
));
|
|
1796
1796
|
ch.displayName = rh.displayName;
|
|
1797
|
-
const
|
|
1797
|
+
const qw = Vm, hh = O.createContext(
|
|
1798
1798
|
{}
|
|
1799
|
-
),
|
|
1799
|
+
), jw = ({
|
|
1800
1800
|
...n
|
|
1801
1801
|
}) => /* @__PURE__ */ T.jsx(hh.Provider, { value: { name: n.name }, children: /* @__PURE__ */ T.jsx(Wm, { ...n }) }), mi = () => {
|
|
1802
1802
|
const n = O.useContext(hh), t = O.useContext(dh), { getFieldState: e, formState: s } = pi(), r = e(n.name, s);
|
|
@@ -2064,7 +2064,7 @@ var ag = [" ", "Enter", "ArrowUp", "ArrowDown"], lg = [" ", "Enter"], bn = "Sele
|
|
|
2064
2064
|
defaultProp: a,
|
|
2065
2065
|
onChange: l,
|
|
2066
2066
|
caller: bn
|
|
2067
|
-
}), y = O.useRef(null),
|
|
2067
|
+
}), y = O.useRef(null), j = x ? m || !!x.closest("form") : !0, [_, $] = O.useState(/* @__PURE__ */ new Set()), V = Array.from(_).map((N) => N.props.value).join(";");
|
|
2068
2068
|
return /* @__PURE__ */ T.jsx(Hf, { ...g, children: /* @__PURE__ */ T.jsxs(
|
|
2069
2069
|
cg,
|
|
2070
2070
|
{
|
|
@@ -2101,7 +2101,7 @@ var ag = [" ", "Enter", "ArrowUp", "ArrowDown"], lg = [" ", "Enter"], bn = "Sele
|
|
|
2101
2101
|
children: e
|
|
2102
2102
|
}
|
|
2103
2103
|
) }),
|
|
2104
|
-
|
|
2104
|
+
j ? /* @__PURE__ */ T.jsxs(
|
|
2105
2105
|
zh,
|
|
2106
2106
|
{
|
|
2107
2107
|
"aria-hidden": !0,
|
|
@@ -2235,17 +2235,17 @@ var oe = 10, [Ch, Qe] = hs(xn), mg = "SelectContentImpl", gg = Ff("SelectContent
|
|
|
2235
2235
|
...k
|
|
2236
2236
|
} = n, w = Je(xn, e), [S, C] = O.useState(null), [E, B] = O.useState(null), H = Dt(t, (D) => C(D)), [at, ht] = O.useState(null), [mt, y] = O.useState(
|
|
2237
2237
|
null
|
|
2238
|
-
),
|
|
2238
|
+
), j = yi(e), [_, $] = O.useState(!1), V = O.useRef(!1);
|
|
2239
2239
|
O.useEffect(() => {
|
|
2240
2240
|
if (S) return lp(S);
|
|
2241
2241
|
}, [S]), up();
|
|
2242
2242
|
const N = O.useCallback(
|
|
2243
2243
|
(D) => {
|
|
2244
|
-
const [P, ...W] =
|
|
2244
|
+
const [P, ...W] = j().map((I) => I.ref.current), [U] = W.slice(-1), J = document.activeElement;
|
|
2245
2245
|
for (const I of D)
|
|
2246
2246
|
if (I === J || (I == null || I.scrollIntoView({ block: "nearest" }), I === P && E && (E.scrollTop = 0), I === U && E && (E.scrollTop = E.scrollHeight), I == null || I.focus(), document.activeElement !== J)) return;
|
|
2247
2247
|
},
|
|
2248
|
-
[
|
|
2248
|
+
[j, E]
|
|
2249
2249
|
), M = O.useCallback(
|
|
2250
2250
|
() => N([at, S]),
|
|
2251
2251
|
[N, at, S]
|
|
@@ -2277,7 +2277,7 @@ var oe = 10, [Ch, Qe] = hs(xn), mg = "SelectContentImpl", gg = Ff("SelectContent
|
|
|
2277
2277
|
};
|
|
2278
2278
|
}, [Z]);
|
|
2279
2279
|
const [A, L] = Kh((D) => {
|
|
2280
|
-
const P =
|
|
2280
|
+
const P = j().filter((J) => !J.disabled), W = P.find((J) => J.ref.current === document.activeElement), U = Wh(P, D, W);
|
|
2281
2281
|
U && setTimeout(() => U.ref.current.focus());
|
|
2282
2282
|
}), F = O.useCallback(
|
|
2283
2283
|
(D, P, W) => {
|
|
@@ -2363,7 +2363,7 @@ var oe = 10, [Ch, Qe] = hs(xn), mg = "SelectContentImpl", gg = Ff("SelectContent
|
|
|
2363
2363
|
onKeyDown: At(k.onKeyDown, (D) => {
|
|
2364
2364
|
const P = D.ctrlKey || D.altKey || D.metaKey;
|
|
2365
2365
|
if (D.key === "Tab" && D.preventDefault(), !P && D.key.length === 1 && L(D.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(D.key)) {
|
|
2366
|
-
let W =
|
|
2366
|
+
let W = j().filter((U) => !U.disabled).map((U) => U.ref.current);
|
|
2367
2367
|
if (["ArrowUp", "End"].includes(D.key) && (W = W.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(D.key)) {
|
|
2368
2368
|
const U = D.target, J = W.indexOf(U);
|
|
2369
2369
|
W = W.slice(J + 1);
|
|
@@ -2404,7 +2404,7 @@ var vg = "SelectItemAlignedPosition", Oh = O.forwardRef((n, t) => {
|
|
|
2404
2404
|
]);
|
|
2405
2405
|
a.style.minWidth = ut + "px", a.style.right = _e + "px";
|
|
2406
2406
|
}
|
|
2407
|
-
const y = h(),
|
|
2407
|
+
const y = h(), j = window.innerHeight - oe * 2, _ = g.scrollHeight, $ = window.getComputedStyle(c), V = parseInt($.borderTopWidth, 10), N = parseInt($.paddingTop, 10), M = parseInt($.borderBottomWidth, 10), Z = parseInt($.paddingBottom, 10), X = V + N + _ + Z + M, A = Math.min(x.offsetHeight * 5, X), L = window.getComputedStyle(g), F = parseInt(L.paddingTop, 10), G = parseInt(L.paddingBottom, 10), K = H.top + H.height / 2 - oe, z = j - K, Y = x.offsetHeight / 2, D = x.offsetTop + Y, P = V + N + D, W = X - P;
|
|
2408
2408
|
if (P <= K) {
|
|
2409
2409
|
const U = y.length > 0 && x === y[y.length - 1].ref.current;
|
|
2410
2410
|
a.style.bottom = "0px";
|
|
@@ -2424,7 +2424,7 @@ var vg = "SelectItemAlignedPosition", Oh = O.forwardRef((n, t) => {
|
|
|
2424
2424
|
) + W;
|
|
2425
2425
|
a.style.height = J + "px", g.scrollTop = P - K + g.offsetTop;
|
|
2426
2426
|
}
|
|
2427
|
-
a.style.margin = `${oe}px 0`, a.style.minHeight = A + "px", a.style.maxHeight =
|
|
2427
|
+
a.style.margin = `${oe}px 0`, a.style.minHeight = A + "px", a.style.maxHeight = j + "px", s == null || s(), requestAnimationFrame(() => d.current = !0);
|
|
2428
2428
|
}
|
|
2429
2429
|
}, [
|
|
2430
2430
|
h,
|
|
@@ -2576,14 +2576,14 @@ var Rh = "SelectGroup", [xg, kg] = hs(Rh), Ih = O.forwardRef(
|
|
|
2576
2576
|
}
|
|
2577
2577
|
);
|
|
2578
2578
|
Ih.displayName = Rh;
|
|
2579
|
-
var Lh = "SelectLabel",
|
|
2579
|
+
var Lh = "SelectLabel", qh = O.forwardRef(
|
|
2580
2580
|
(n, t) => {
|
|
2581
2581
|
const { __scopeSelect: e, ...s } = n, r = kg(Lh, e);
|
|
2582
2582
|
return /* @__PURE__ */ T.jsx(Nt.div, { id: r.id, ...s, ref: t });
|
|
2583
2583
|
}
|
|
2584
2584
|
);
|
|
2585
|
-
|
|
2586
|
-
var Qr = "SelectItem", [wg,
|
|
2585
|
+
qh.displayName = Lh;
|
|
2586
|
+
var Qr = "SelectItem", [wg, jh] = hs(Qr), Dh = O.forwardRef(
|
|
2587
2587
|
(n, t) => {
|
|
2588
2588
|
const {
|
|
2589
2589
|
__scopeSelect: e,
|
|
@@ -2669,7 +2669,7 @@ var Qr = "SelectItem", [wg, qh] = hs(Qr), Dh = O.forwardRef(
|
|
|
2669
2669
|
Dh.displayName = Qr;
|
|
2670
2670
|
var Is = "SelectItemText", Mh = O.forwardRef(
|
|
2671
2671
|
(n, t) => {
|
|
2672
|
-
const { __scopeSelect: e, className: s, style: r, ...i } = n, o = Je(Is, e), a = Qe(Is, e), l =
|
|
2672
|
+
const { __scopeSelect: e, className: s, style: r, ...i } = n, o = Je(Is, e), a = Qe(Is, e), l = jh(Is, e), c = dg(Is, e), [f, v] = O.useState(null), h = Dt(
|
|
2673
2673
|
t,
|
|
2674
2674
|
(k) => v(k),
|
|
2675
2675
|
l.onItemTextChange,
|
|
@@ -2691,7 +2691,7 @@ Mh.displayName = Is;
|
|
|
2691
2691
|
var Fh = "SelectItemIndicator", Ph = O.forwardRef(
|
|
2692
2692
|
(n, t) => {
|
|
2693
2693
|
const { __scopeSelect: e, ...s } = n;
|
|
2694
|
-
return
|
|
2694
|
+
return jh(Fh, e).isSelected ? /* @__PURE__ */ T.jsx(Nt.span, { "aria-hidden": !0, ...s, ref: t }) : null;
|
|
2695
2695
|
}
|
|
2696
2696
|
);
|
|
2697
2697
|
Ph.displayName = Fh;
|
|
@@ -2839,8 +2839,8 @@ function Wh(n, t, e) {
|
|
|
2839
2839
|
function Ag(n, t) {
|
|
2840
2840
|
return n.map((e, s) => n[(t + s) % n.length]);
|
|
2841
2841
|
}
|
|
2842
|
-
var Cg = bh, Gh = kh, Ng = Eh, Og = _h, Tg = Sh, Zh = Ah, Rg = Th, Ig = Ih, Xh =
|
|
2843
|
-
function
|
|
2842
|
+
var Cg = bh, Gh = kh, Ng = Eh, Og = _h, Tg = Sh, Zh = Ah, Rg = Th, Ig = Ih, Xh = qh, Yh = Dh, Lg = Mh, qg = Ph, Jh = Bh, Qh = Vh, td = $h;
|
|
2843
|
+
function jg(n, t) {
|
|
2844
2844
|
n.prototype = Object.create(t.prototype), n.prototype.constructor = n, tp(n, t);
|
|
2845
2845
|
}
|
|
2846
2846
|
var Zl = Number.isNaN || function(n) {
|
|
@@ -2911,7 +2911,7 @@ process.env.NODE_ENV !== "production" && typeof window < "u" && typeof window.We
|
|
|
2911
2911
|
function Ug(n) {
|
|
2912
2912
|
var t, e = n.getItemOffset, s = n.getEstimatedTotalSize, r = n.getItemSize, i = n.getOffsetForIndexAndAlignment, o = n.getStartIndexForOffset, a = n.getStopIndexForStartIndex, l = n.initInstanceProps, c = n.validateProps;
|
|
2913
2913
|
return t = /* @__PURE__ */ function(f) {
|
|
2914
|
-
|
|
2914
|
+
jg(v, f);
|
|
2915
2915
|
function v(d) {
|
|
2916
2916
|
var m;
|
|
2917
2917
|
return m = f.call(this, d) || this, m._instanceProps = l(m.props, _l(m)), m._outerRef = void 0, m._resetIsScrollingTimeoutId = null, m.state = {
|
|
@@ -3055,7 +3055,7 @@ function Ug(n) {
|
|
|
3055
3055
|
}, h.componentWillUnmount = function() {
|
|
3056
3056
|
this._resetIsScrollingTimeoutId !== null && Yl(this._resetIsScrollingTimeoutId);
|
|
3057
3057
|
}, h.render = function() {
|
|
3058
|
-
var d = this.props, m = d.children, g = d.className, x = d.direction, k = d.height, w = d.innerRef, S = d.innerElementType, C = d.innerTagName, E = d.itemCount, B = d.itemData, H = d.itemKey, at = H === void 0 ? Vg : H, ht = d.layout, mt = d.outerElementType, y = d.outerTagName,
|
|
3058
|
+
var d = this.props, m = d.children, g = d.className, x = d.direction, k = d.height, w = d.innerRef, S = d.innerElementType, C = d.innerTagName, E = d.itemCount, B = d.itemData, H = d.itemKey, at = H === void 0 ? Vg : H, ht = d.layout, mt = d.outerElementType, y = d.outerTagName, j = d.style, _ = d.useIsScrolling, $ = d.width, V = this.state.isScrolling, N = x === "horizontal" || ht === "horizontal", M = N ? this._onScrollHorizontal : this._onScrollVertical, Z = this._getRangeToRender(), X = Z[0], A = Z[1], L = [];
|
|
3059
3059
|
if (E > 0)
|
|
3060
3060
|
for (var F = X; F <= A; F++)
|
|
3061
3061
|
L.push(Ir(m, {
|
|
@@ -3078,7 +3078,7 @@ function Ug(n) {
|
|
|
3078
3078
|
WebkitOverflowScrolling: "touch",
|
|
3079
3079
|
willChange: "transform",
|
|
3080
3080
|
direction: x
|
|
3081
|
-
},
|
|
3081
|
+
}, j)
|
|
3082
3082
|
}, Ir(S || C || "div", {
|
|
3083
3083
|
children: L,
|
|
3084
3084
|
ref: w,
|
|
@@ -3284,7 +3284,7 @@ const rd = O.forwardRef(({ className: n, children: t, ...e }, s) => /* @__PURE__
|
|
|
3284
3284
|
),
|
|
3285
3285
|
...e,
|
|
3286
3286
|
children: [
|
|
3287
|
-
/* @__PURE__ */ T.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ T.jsx(
|
|
3287
|
+
/* @__PURE__ */ T.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ T.jsx(qg, { children: /* @__PURE__ */ T.jsx(rp, { className: "h-4 w-4" }) }) }),
|
|
3288
3288
|
/* @__PURE__ */ T.jsx(Lg, { children: t })
|
|
3289
3289
|
]
|
|
3290
3290
|
}
|
|
@@ -3666,19 +3666,19 @@ function L0(n, t, e) {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
return n.apply(t, e);
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3669
|
+
function q0(n, t) {
|
|
3670
3670
|
var e = -1, s = n.length;
|
|
3671
3671
|
for (t || (t = Array(s)); ++e < s; )
|
|
3672
3672
|
t[e] = n[e];
|
|
3673
3673
|
return t;
|
|
3674
3674
|
}
|
|
3675
|
-
var
|
|
3675
|
+
var j0 = 800, D0 = 16, M0 = Date.now;
|
|
3676
3676
|
function F0(n) {
|
|
3677
3677
|
var t = 0, e = 0;
|
|
3678
3678
|
return function() {
|
|
3679
3679
|
var s = M0(), r = D0 - (s - e);
|
|
3680
3680
|
if (e = s, r > 0) {
|
|
3681
|
-
if (++t >=
|
|
3681
|
+
if (++t >= j0)
|
|
3682
3682
|
return arguments[0];
|
|
3683
3683
|
} else
|
|
3684
3684
|
t = 0;
|
|
@@ -3815,11 +3815,11 @@ var Cd = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
3815
3815
|
return n || Io && Io.binding && Io.binding("util");
|
|
3816
3816
|
} catch {
|
|
3817
3817
|
}
|
|
3818
|
-
}(), au = os && os.isTypedArray, rl = au ? sl(au) : R1, L1 = Object.prototype,
|
|
3818
|
+
}(), au = os && os.isTypedArray, rl = au ? sl(au) : R1, L1 = Object.prototype, q1 = L1.hasOwnProperty;
|
|
3819
3819
|
function Nd(n, t) {
|
|
3820
3820
|
var e = kn(n), s = !e && fa(n), r = !e && !s && Bs(n), i = !e && !s && !r && rl(n), o = e || s || r || i, a = o ? t1(n.length, String) : [], l = a.length;
|
|
3821
3821
|
for (var c in n)
|
|
3822
|
-
(t ||
|
|
3822
|
+
(t || q1.call(n, c)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
3823
3823
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
3824
3824
|
r && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
3825
3825
|
i && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
|
|
@@ -3831,10 +3831,10 @@ function Od(n, t) {
|
|
|
3831
3831
|
return n(t(e));
|
|
3832
3832
|
};
|
|
3833
3833
|
}
|
|
3834
|
-
var
|
|
3834
|
+
var j1 = Od(Object.keys, Object), D1 = Object.prototype, M1 = D1.hasOwnProperty;
|
|
3835
3835
|
function F1(n) {
|
|
3836
3836
|
if (!nl(n))
|
|
3837
|
-
return
|
|
3837
|
+
return j1(n);
|
|
3838
3838
|
var t = [];
|
|
3839
3839
|
for (var e in Object(n))
|
|
3840
3840
|
M1.call(n, e) && e != "constructor" && t.push(e);
|
|
@@ -4032,7 +4032,7 @@ xe.prototype.get = Ev;
|
|
|
4032
4032
|
xe.prototype.has = _v;
|
|
4033
4033
|
xe.prototype.set = Av;
|
|
4034
4034
|
var Ld = typeof exports == "object" && exports && !exports.nodeType && exports, lu = Ld && typeof module == "object" && module && !module.nodeType && module, Cv = lu && lu.exports === Ld, uu = Cv ? Ee.Buffer : void 0, cu = uu ? uu.allocUnsafe : void 0;
|
|
4035
|
-
function
|
|
4035
|
+
function qd(n, t) {
|
|
4036
4036
|
if (t)
|
|
4037
4037
|
return n.slice();
|
|
4038
4038
|
var e = n.length, s = cu ? cu(e) : new n.constructor(e);
|
|
@@ -4060,12 +4060,12 @@ function Lv(n, t, e) {
|
|
|
4060
4060
|
function pa(n) {
|
|
4061
4061
|
return Lv(n, P1, Iv);
|
|
4062
4062
|
}
|
|
4063
|
-
var ma = Sn(Ee, "DataView"), ga = Sn(Ee, "Promise"), va = Sn(Ee, "Set"), du = "[object Map]",
|
|
4063
|
+
var ma = Sn(Ee, "DataView"), ga = Sn(Ee, "Promise"), va = Sn(Ee, "Set"), du = "[object Map]", qv = "[object Object]", fu = "[object Promise]", pu = "[object Set]", mu = "[object WeakMap]", gu = "[object DataView]", jv = _n(ma), Dv = _n(Us), Mv = _n(ga), Fv = _n(va), Pv = _n(da), ae = ds;
|
|
4064
4064
|
(ma && ae(new ma(new ArrayBuffer(1))) != gu || Us && ae(new Us()) != du || ga && ae(ga.resolve()) != fu || va && ae(new va()) != pu || da && ae(new da()) != mu) && (ae = function(n) {
|
|
4065
|
-
var t = ds(n), e = t ==
|
|
4065
|
+
var t = ds(n), e = t == qv ? n.constructor : void 0, s = e ? _n(e) : "";
|
|
4066
4066
|
if (s)
|
|
4067
4067
|
switch (s) {
|
|
4068
|
-
case
|
|
4068
|
+
case jv:
|
|
4069
4069
|
return gu;
|
|
4070
4070
|
case Dv:
|
|
4071
4071
|
return du;
|
|
@@ -4101,7 +4101,7 @@ var vu = Ye ? Ye.prototype : void 0, yu = vu ? vu.valueOf : void 0;
|
|
|
4101
4101
|
function Kv(n) {
|
|
4102
4102
|
return yu ? Object(yu.call(n)) : {};
|
|
4103
4103
|
}
|
|
4104
|
-
function
|
|
4104
|
+
function jd(n, t) {
|
|
4105
4105
|
var e = t ? il(n.buffer) : n.buffer;
|
|
4106
4106
|
return new n.constructor(e, n.byteOffset, n.length);
|
|
4107
4107
|
}
|
|
@@ -4125,7 +4125,7 @@ function dy(n, t, e) {
|
|
|
4125
4125
|
case uy:
|
|
4126
4126
|
case cy:
|
|
4127
4127
|
case hy:
|
|
4128
|
-
return
|
|
4128
|
+
return jd(n, e);
|
|
4129
4129
|
case Zv:
|
|
4130
4130
|
return new s();
|
|
4131
4131
|
case Xv:
|
|
@@ -4150,8 +4150,8 @@ var bu = os && os.isMap, my = bu ? sl(bu) : py, gy = "[object Set]";
|
|
|
4150
4150
|
function vy(n) {
|
|
4151
4151
|
return Le(n) && ae(n) == gy;
|
|
4152
4152
|
}
|
|
4153
|
-
var xu = os && os.isSet, yy = xu ? sl(xu) : vy, by = 1, Md = "[object Arguments]", xy = "[object Array]", ky = "[object Boolean]", wy = "[object Date]", Ey = "[object Error]", Fd = "[object Function]", _y = "[object GeneratorFunction]", Sy = "[object Map]", Ay = "[object Number]", Pd = "[object Object]", Cy = "[object RegExp]", Ny = "[object Set]", Oy = "[object String]", Ty = "[object Symbol]", Ry = "[object WeakMap]", Iy = "[object ArrayBuffer]", Ly = "[object DataView]",
|
|
4154
|
-
wt[Md] = wt[xy] = wt[Iy] = wt[Ly] = wt[ky] = wt[wy] = wt[
|
|
4153
|
+
var xu = os && os.isSet, yy = xu ? sl(xu) : vy, by = 1, Md = "[object Arguments]", xy = "[object Array]", ky = "[object Boolean]", wy = "[object Date]", Ey = "[object Error]", Fd = "[object Function]", _y = "[object GeneratorFunction]", Sy = "[object Map]", Ay = "[object Number]", Pd = "[object Object]", Cy = "[object RegExp]", Ny = "[object Set]", Oy = "[object String]", Ty = "[object Symbol]", Ry = "[object WeakMap]", Iy = "[object ArrayBuffer]", Ly = "[object DataView]", qy = "[object Float32Array]", jy = "[object Float64Array]", Dy = "[object Int8Array]", My = "[object Int16Array]", Fy = "[object Int32Array]", Py = "[object Uint8Array]", By = "[object Uint8ClampedArray]", Vy = "[object Uint16Array]", Uy = "[object Uint32Array]", wt = {};
|
|
4154
|
+
wt[Md] = wt[xy] = wt[Iy] = wt[Ly] = wt[ky] = wt[wy] = wt[qy] = wt[jy] = wt[Dy] = wt[My] = wt[Fy] = wt[Sy] = wt[Ay] = wt[Pd] = wt[Cy] = wt[Ny] = wt[Oy] = wt[Ty] = wt[Py] = wt[By] = wt[Vy] = wt[Uy] = !0;
|
|
4155
4155
|
wt[Ey] = wt[Fd] = wt[Ry] = !1;
|
|
4156
4156
|
function Vr(n, t, e, s, r, i) {
|
|
4157
4157
|
var o, a = t & by;
|
|
@@ -4165,7 +4165,7 @@ function Vr(n, t, e, s, r, i) {
|
|
|
4165
4165
|
else {
|
|
4166
4166
|
var c = ae(n), f = c == Fd || c == _y;
|
|
4167
4167
|
if (Bs(n))
|
|
4168
|
-
return
|
|
4168
|
+
return qd(n, a);
|
|
4169
4169
|
if (c == Pd || c == Md || f && !r)
|
|
4170
4170
|
o = f ? {} : Dd(n);
|
|
4171
4171
|
else {
|
|
@@ -4386,7 +4386,7 @@ function Sb(n, t, e, s, r, i, o) {
|
|
|
4386
4386
|
var f = i ? i(a, l, e + "", n, t, o) : void 0, v = f === void 0;
|
|
4387
4387
|
if (v) {
|
|
4388
4388
|
var h = kn(l), d = !h && Bs(l), m = !h && !d && rl(l);
|
|
4389
|
-
f = l, h || d || m ? kn(a) ? f = a : Eb(a) ? f =
|
|
4389
|
+
f = l, h || d || m ? kn(a) ? f = a : Eb(a) ? f = q0(a) : d ? (v = !1, f = qd(l, !0)) : m ? (v = !1, f = jd(l, !0)) : f = [] : xv(l) || fa(l) ? (f = a, fa(a) ? f = _b(a) : (!tn(a) || tl(a)) && (f = Dd(l))) : v = !1;
|
|
4390
4390
|
}
|
|
4391
4391
|
v && (o.set(l, f), r(f, l, s, i, o), o.delete(l)), ya(n, e, f);
|
|
4392
4392
|
}
|
|
@@ -4511,7 +4511,7 @@ class Ab extends we {
|
|
|
4511
4511
|
}
|
|
4512
4512
|
}
|
|
4513
4513
|
const he = Ab;
|
|
4514
|
-
function
|
|
4514
|
+
function qo(n) {
|
|
4515
4515
|
const t = n.split("-"), e = t.slice(1).map((s) => s[0].toUpperCase() + s.slice(1)).join("");
|
|
4516
4516
|
return t[0] + e;
|
|
4517
4517
|
}
|
|
@@ -4520,13 +4520,13 @@ class Cb extends we {
|
|
|
4520
4520
|
return (t.getAttribute("style") || "").split(";").map((e) => e.split(":")[0].trim());
|
|
4521
4521
|
}
|
|
4522
4522
|
add(t, e) {
|
|
4523
|
-
return this.canAdd(t, e) ? (t.style[
|
|
4523
|
+
return this.canAdd(t, e) ? (t.style[qo(this.keyName)] = e, !0) : !1;
|
|
4524
4524
|
}
|
|
4525
4525
|
remove(t) {
|
|
4526
|
-
t.style[
|
|
4526
|
+
t.style[qo(this.keyName)] = "", t.getAttribute("style") || t.removeAttribute("style");
|
|
4527
4527
|
}
|
|
4528
4528
|
value(t) {
|
|
4529
|
-
const e = t.style[
|
|
4529
|
+
const e = t.style[qo(this.keyName)];
|
|
4530
4530
|
return this.canAdd(t, e) ? e : "";
|
|
4531
4531
|
}
|
|
4532
4532
|
}
|
|
@@ -5071,8 +5071,8 @@ Hn.blotName = "block", Hn.scope = nt.BLOCK_BLOT, Hn.tagName = "P", Hn.allowedChi
|
|
|
5071
5071
|
Hn,
|
|
5072
5072
|
Bt
|
|
5073
5073
|
];
|
|
5074
|
-
let
|
|
5075
|
-
const $s =
|
|
5074
|
+
let qb = Hn;
|
|
5075
|
+
const $s = qb, wa = class extends ue {
|
|
5076
5076
|
checkMerge() {
|
|
5077
5077
|
return this.next !== null && this.next.statics.blotName === this.statics.blotName;
|
|
5078
5078
|
}
|
|
@@ -5090,8 +5090,8 @@ const $s = jb, wa = class extends ue {
|
|
|
5090
5090
|
}
|
|
5091
5091
|
};
|
|
5092
5092
|
wa.blotName = "container", wa.scope = nt.BLOCK_BLOT;
|
|
5093
|
-
let
|
|
5094
|
-
const Si =
|
|
5093
|
+
let jb = wa;
|
|
5094
|
+
const Si = jb;
|
|
5095
5095
|
class Db extends Bt {
|
|
5096
5096
|
static formats(t, e) {
|
|
5097
5097
|
}
|
|
@@ -5251,60 +5251,60 @@ const si = Bb, Vb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5251
5251
|
StyleAttributor: en,
|
|
5252
5252
|
TextBlot: si
|
|
5253
5253
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5254
|
-
var
|
|
5254
|
+
var jo = { exports: {} }, Do, Cu;
|
|
5255
5255
|
function Ub() {
|
|
5256
5256
|
if (Cu) return Do;
|
|
5257
5257
|
Cu = 1;
|
|
5258
5258
|
var n = -1, t = 1, e = 0;
|
|
5259
|
-
function s(y,
|
|
5260
|
-
if (y ===
|
|
5259
|
+
function s(y, j, _, $, V) {
|
|
5260
|
+
if (y === j)
|
|
5261
5261
|
return y ? [[e, y]] : [];
|
|
5262
5262
|
if (_ != null) {
|
|
5263
|
-
var N = ht(y,
|
|
5263
|
+
var N = ht(y, j, _);
|
|
5264
5264
|
if (N)
|
|
5265
5265
|
return N;
|
|
5266
5266
|
}
|
|
5267
|
-
var M = a(y,
|
|
5268
|
-
y = y.substring(M),
|
|
5267
|
+
var M = a(y, j), Z = y.substring(0, M);
|
|
5268
|
+
y = y.substring(M), j = j.substring(M), M = c(y, j);
|
|
5269
5269
|
var X = y.substring(y.length - M);
|
|
5270
|
-
y = y.substring(0, y.length - M),
|
|
5271
|
-
var A = r(y,
|
|
5270
|
+
y = y.substring(0, y.length - M), j = j.substring(0, j.length - M);
|
|
5271
|
+
var A = r(y, j);
|
|
5272
5272
|
return Z && A.unshift([e, Z]), X && A.push([e, X]), w(A, V), $ && v(A), A;
|
|
5273
5273
|
}
|
|
5274
|
-
function r(y,
|
|
5274
|
+
function r(y, j) {
|
|
5275
5275
|
var _;
|
|
5276
5276
|
if (!y)
|
|
5277
|
-
return [[t,
|
|
5278
|
-
if (!
|
|
5277
|
+
return [[t, j]];
|
|
5278
|
+
if (!j)
|
|
5279
5279
|
return [[n, y]];
|
|
5280
|
-
var $ = y.length >
|
|
5280
|
+
var $ = y.length > j.length ? y : j, V = y.length > j.length ? j : y, N = $.indexOf(V);
|
|
5281
5281
|
if (N !== -1)
|
|
5282
5282
|
return _ = [
|
|
5283
5283
|
[t, $.substring(0, N)],
|
|
5284
5284
|
[e, V],
|
|
5285
5285
|
[t, $.substring(N + V.length)]
|
|
5286
|
-
], y.length >
|
|
5286
|
+
], y.length > j.length && (_[0][0] = _[2][0] = n), _;
|
|
5287
5287
|
if (V.length === 1)
|
|
5288
5288
|
return [
|
|
5289
5289
|
[n, y],
|
|
5290
|
-
[t,
|
|
5290
|
+
[t, j]
|
|
5291
5291
|
];
|
|
5292
|
-
var M = f(y,
|
|
5292
|
+
var M = f(y, j);
|
|
5293
5293
|
if (M) {
|
|
5294
5294
|
var Z = M[0], X = M[1], A = M[2], L = M[3], F = M[4], G = s(Z, A), K = s(X, L);
|
|
5295
5295
|
return G.concat([[e, F]], K);
|
|
5296
5296
|
}
|
|
5297
|
-
return i(y,
|
|
5297
|
+
return i(y, j);
|
|
5298
5298
|
}
|
|
5299
|
-
function i(y,
|
|
5300
|
-
for (var _ = y.length, $ =
|
|
5299
|
+
function i(y, j) {
|
|
5300
|
+
for (var _ = y.length, $ = j.length, V = Math.ceil((_ + $) / 2), N = V, M = 2 * V, Z = new Array(M), X = new Array(M), A = 0; A < M; A++)
|
|
5301
5301
|
Z[A] = -1, X[A] = -1;
|
|
5302
5302
|
Z[N + 1] = 0, X[N + 1] = 0;
|
|
5303
5303
|
for (var L = _ - $, F = L % 2 !== 0, G = 0, K = 0, z = 0, Y = 0, D = 0; D < V; D++) {
|
|
5304
5304
|
for (var P = -D + G; P <= D - K; P += 2) {
|
|
5305
5305
|
var W = N + P, U;
|
|
5306
5306
|
P === -D || P !== D && Z[W - 1] < Z[W + 1] ? U = Z[W + 1] : U = Z[W - 1] + 1;
|
|
5307
|
-
for (var J = U - P; U < _ && J < $ && y.charAt(U) ===
|
|
5307
|
+
for (var J = U - P; U < _ && J < $ && y.charAt(U) === j.charAt(J); )
|
|
5308
5308
|
U++, J++;
|
|
5309
5309
|
if (Z[W] = U, U > _)
|
|
5310
5310
|
K += 2;
|
|
@@ -5315,14 +5315,14 @@ function Ub() {
|
|
|
5315
5315
|
if (I >= 0 && I < M && X[I] !== -1) {
|
|
5316
5316
|
var ut = _ - X[I];
|
|
5317
5317
|
if (U >= ut)
|
|
5318
|
-
return o(y,
|
|
5318
|
+
return o(y, j, U, J);
|
|
5319
5319
|
}
|
|
5320
5320
|
}
|
|
5321
5321
|
}
|
|
5322
5322
|
for (var xt = -D + z; xt <= D - Y; xt += 2) {
|
|
5323
5323
|
var I = N + xt, ut;
|
|
5324
5324
|
xt === -D || xt !== D && X[I - 1] < X[I + 1] ? ut = X[I + 1] : ut = X[I - 1] + 1;
|
|
5325
|
-
for (var St = ut - xt; ut < _ && St < $ && y.charAt(_ - ut - 1) ===
|
|
5325
|
+
for (var St = ut - xt; ut < _ && St < $ && y.charAt(_ - ut - 1) === j.charAt($ - St - 1); )
|
|
5326
5326
|
ut++, St++;
|
|
5327
5327
|
if (X[I] = ut, ut > _)
|
|
5328
5328
|
Y += 2;
|
|
@@ -5333,51 +5333,51 @@ function Ub() {
|
|
|
5333
5333
|
if (W >= 0 && W < M && Z[W] !== -1) {
|
|
5334
5334
|
var U = Z[W], J = N + U - W;
|
|
5335
5335
|
if (ut = _ - ut, U >= ut)
|
|
5336
|
-
return o(y,
|
|
5336
|
+
return o(y, j, U, J);
|
|
5337
5337
|
}
|
|
5338
5338
|
}
|
|
5339
5339
|
}
|
|
5340
5340
|
}
|
|
5341
5341
|
return [
|
|
5342
5342
|
[n, y],
|
|
5343
|
-
[t,
|
|
5343
|
+
[t, j]
|
|
5344
5344
|
];
|
|
5345
5345
|
}
|
|
5346
|
-
function o(y,
|
|
5347
|
-
var V = y.substring(0, _), N =
|
|
5346
|
+
function o(y, j, _, $) {
|
|
5347
|
+
var V = y.substring(0, _), N = j.substring(0, $), M = y.substring(_), Z = j.substring($), X = s(V, N), A = s(M, Z);
|
|
5348
5348
|
return X.concat(A);
|
|
5349
5349
|
}
|
|
5350
|
-
function a(y,
|
|
5351
|
-
if (!y || !
|
|
5350
|
+
function a(y, j) {
|
|
5351
|
+
if (!y || !j || y.charAt(0) !== j.charAt(0))
|
|
5352
5352
|
return 0;
|
|
5353
|
-
for (var _ = 0, $ = Math.min(y.length,
|
|
5354
|
-
y.substring(N, V) ==
|
|
5353
|
+
for (var _ = 0, $ = Math.min(y.length, j.length), V = $, N = 0; _ < V; )
|
|
5354
|
+
y.substring(N, V) == j.substring(N, V) ? (_ = V, N = _) : $ = V, V = Math.floor(($ - _) / 2 + _);
|
|
5355
5355
|
return S(y.charCodeAt(V - 1)) && V--, V;
|
|
5356
5356
|
}
|
|
5357
|
-
function l(y,
|
|
5358
|
-
var _ = y.length, $ =
|
|
5357
|
+
function l(y, j) {
|
|
5358
|
+
var _ = y.length, $ = j.length;
|
|
5359
5359
|
if (_ == 0 || $ == 0)
|
|
5360
5360
|
return 0;
|
|
5361
|
-
_ > $ ? y = y.substring(_ - $) : _ < $ && (
|
|
5361
|
+
_ > $ ? y = y.substring(_ - $) : _ < $ && (j = j.substring(0, _));
|
|
5362
5362
|
var V = Math.min(_, $);
|
|
5363
|
-
if (y ==
|
|
5363
|
+
if (y == j)
|
|
5364
5364
|
return V;
|
|
5365
5365
|
for (var N = 0, M = 1; ; ) {
|
|
5366
|
-
var Z = y.substring(V - M), X =
|
|
5366
|
+
var Z = y.substring(V - M), X = j.indexOf(Z);
|
|
5367
5367
|
if (X == -1)
|
|
5368
5368
|
return N;
|
|
5369
|
-
M += X, (X == 0 || y.substring(V - M) ==
|
|
5369
|
+
M += X, (X == 0 || y.substring(V - M) == j.substring(0, M)) && (N = M, M++);
|
|
5370
5370
|
}
|
|
5371
5371
|
}
|
|
5372
|
-
function c(y,
|
|
5373
|
-
if (!y || !
|
|
5372
|
+
function c(y, j) {
|
|
5373
|
+
if (!y || !j || y.slice(-1) !== j.slice(-1))
|
|
5374
5374
|
return 0;
|
|
5375
|
-
for (var _ = 0, $ = Math.min(y.length,
|
|
5376
|
-
y.substring(y.length - V, y.length - N) ==
|
|
5375
|
+
for (var _ = 0, $ = Math.min(y.length, j.length), V = $, N = 0; _ < V; )
|
|
5376
|
+
y.substring(y.length - V, y.length - N) == j.substring(j.length - V, j.length - N) ? (_ = V, N = _) : $ = V, V = Math.floor(($ - _) / 2 + _);
|
|
5377
5377
|
return C(y.charCodeAt(y.length - V)) && V--, V;
|
|
5378
5378
|
}
|
|
5379
|
-
function f(y,
|
|
5380
|
-
var _ = y.length >
|
|
5379
|
+
function f(y, j) {
|
|
5380
|
+
var _ = y.length > j.length ? y : j, $ = y.length > j.length ? j : y;
|
|
5381
5381
|
if (_.length < 4 || $.length * 2 < _.length)
|
|
5382
5382
|
return null;
|
|
5383
5383
|
function V(K, z, Y) {
|
|
@@ -5412,17 +5412,17 @@ function Ub() {
|
|
|
5412
5412
|
return null;
|
|
5413
5413
|
M ? N ? Z = N[4].length > M[4].length ? N : M : Z = M : Z = N;
|
|
5414
5414
|
var X, A, L, F;
|
|
5415
|
-
y.length >
|
|
5415
|
+
y.length > j.length ? (X = Z[0], A = Z[1], L = Z[2], F = Z[3]) : (L = Z[0], F = Z[1], X = Z[2], A = Z[3]);
|
|
5416
5416
|
var G = Z[4];
|
|
5417
5417
|
return [X, A, L, F, G];
|
|
5418
5418
|
}
|
|
5419
5419
|
function v(y) {
|
|
5420
|
-
for (var
|
|
5420
|
+
for (var j = !1, _ = [], $ = 0, V = null, N = 0, M = 0, Z = 0, X = 0, A = 0; N < y.length; )
|
|
5421
5421
|
y[N][0] == e ? (_[$++] = N, M = X, Z = A, X = 0, A = 0, V = y[N][1]) : (y[N][0] == t ? X += y[N][1].length : A += y[N][1].length, V && V.length <= Math.max(M, Z) && V.length <= Math.max(X, A) && (y.splice(_[$ - 1], 0, [
|
|
5422
5422
|
n,
|
|
5423
5423
|
V
|
|
5424
|
-
]), y[_[$ - 1] + 1][0] = t, $--, $--, N = $ > 0 ? _[$ - 1] : -1, M = 0, Z = 0, X = 0, A = 0, V = null,
|
|
5425
|
-
for (
|
|
5424
|
+
]), y[_[$ - 1] + 1][0] = t, $--, $--, N = $ > 0 ? _[$ - 1] : -1, M = 0, Z = 0, X = 0, A = 0, V = null, j = !0)), N++;
|
|
5425
|
+
for (j && w(y), k(y), N = 1; N < y.length; ) {
|
|
5426
5426
|
if (y[N - 1][0] == n && y[N][0] == t) {
|
|
5427
5427
|
var L = y[N - 1][1], F = y[N][1], G = l(L, F), K = l(F, L);
|
|
5428
5428
|
G >= K ? (G >= L.length / 2 || G >= F.length / 2) && (y.splice(N, 0, [
|
|
@@ -5444,7 +5444,7 @@ function Ub() {
|
|
|
5444
5444
|
}
|
|
5445
5445
|
var h = /[^a-zA-Z0-9]/, d = /\s/, m = /[\r\n]/, g = /\n\r?\n$/, x = /^\r?\n\r?\n/;
|
|
5446
5446
|
function k(y) {
|
|
5447
|
-
function
|
|
5447
|
+
function j(K, z) {
|
|
5448
5448
|
if (!K || !z)
|
|
5449
5449
|
return 6;
|
|
5450
5450
|
var Y = K.charAt(K.length - 1), D = z.charAt(0), P = Y.match(h), W = D.match(h), U = P && Y.match(d), J = W && D.match(d), I = U && Y.match(m), ut = J && D.match(m), xt = I && K.match(g), St = ut && z.match(x);
|
|
@@ -5457,9 +5457,9 @@ function Ub() {
|
|
|
5457
5457
|
var Z = V.substring(V.length - M);
|
|
5458
5458
|
$ = $.substring(0, $.length - M), V = Z + V.substring(0, V.length - M), N = Z + N;
|
|
5459
5459
|
}
|
|
5460
|
-
for (var X = $, A = V, L = N, F =
|
|
5460
|
+
for (var X = $, A = V, L = N, F = j($, V) + j(V, N); V.charAt(0) === N.charAt(0); ) {
|
|
5461
5461
|
$ += V.charAt(0), V = V.substring(1) + N.charAt(0), N = N.substring(1);
|
|
5462
|
-
var G =
|
|
5462
|
+
var G = j($, V) + j(V, N);
|
|
5463
5463
|
G >= F && (F = G, X = $, A = V, L = N);
|
|
5464
5464
|
}
|
|
5465
5465
|
y[_ - 1][1] != X && (X ? y[_ - 1][1] = X : (y.splice(_ - 1, 1), _--), y[_][1] = A, L ? y[_ + 1][1] = L : (y.splice(_ + 1, 1), _--));
|
|
@@ -5467,7 +5467,7 @@ function Ub() {
|
|
|
5467
5467
|
_++;
|
|
5468
5468
|
}
|
|
5469
5469
|
}
|
|
5470
|
-
function w(y,
|
|
5470
|
+
function w(y, j) {
|
|
5471
5471
|
y.push([e, ""]);
|
|
5472
5472
|
for (var _ = 0, $ = 0, V = 0, N = "", M = "", Z; _ < y.length; ) {
|
|
5473
5473
|
if (_ < y.length - 1 && !y[_][1]) {
|
|
@@ -5483,7 +5483,7 @@ function Ub() {
|
|
|
5483
5483
|
break;
|
|
5484
5484
|
case e:
|
|
5485
5485
|
var X = _ - V - $ - 1;
|
|
5486
|
-
if (
|
|
5486
|
+
if (j) {
|
|
5487
5487
|
if (X >= 0 && B(y[X][1])) {
|
|
5488
5488
|
var A = y[X][1].slice(-1);
|
|
5489
5489
|
if (y[X][1] = y[X][1].slice(
|
|
@@ -5539,7 +5539,7 @@ function Ub() {
|
|
|
5539
5539
|
0,
|
|
5540
5540
|
y[_][1].length - y[_ - 1][1].length
|
|
5541
5541
|
), y[_ + 1][1] = y[_ - 1][1] + y[_ + 1][1], y.splice(_ - 1, 1), G = !0) : y[_][1].substring(0, y[_ + 1][1].length) == y[_ + 1][1] && (y[_ - 1][1] += y[_ + 1][1], y[_][1] = y[_][1].substring(y[_ + 1][1].length) + y[_ + 1][1], y.splice(_ + 1, 1), G = !0)), _++;
|
|
5542
|
-
G && w(y,
|
|
5542
|
+
G && w(y, j);
|
|
5543
5543
|
}
|
|
5544
5544
|
function S(y) {
|
|
5545
5545
|
return y >= 55296 && y <= 56319;
|
|
@@ -5554,27 +5554,27 @@ function Ub() {
|
|
|
5554
5554
|
return S(y.charCodeAt(y.length - 1));
|
|
5555
5555
|
}
|
|
5556
5556
|
function H(y) {
|
|
5557
|
-
for (var
|
|
5558
|
-
y[_][1].length > 0 &&
|
|
5559
|
-
return
|
|
5557
|
+
for (var j = [], _ = 0; _ < y.length; _++)
|
|
5558
|
+
y[_][1].length > 0 && j.push(y[_]);
|
|
5559
|
+
return j;
|
|
5560
5560
|
}
|
|
5561
|
-
function at(y,
|
|
5561
|
+
function at(y, j, _, $) {
|
|
5562
5562
|
return B(y) || E($) ? null : H([
|
|
5563
5563
|
[e, y],
|
|
5564
|
-
[n,
|
|
5564
|
+
[n, j],
|
|
5565
5565
|
[t, _],
|
|
5566
5566
|
[e, $]
|
|
5567
5567
|
]);
|
|
5568
5568
|
}
|
|
5569
|
-
function ht(y,
|
|
5570
|
-
var $ = typeof _ == "number" ? { index: _, length: 0 } : _.oldRange, V = typeof _ == "number" ? null : _.newRange, N = y.length, M =
|
|
5569
|
+
function ht(y, j, _) {
|
|
5570
|
+
var $ = typeof _ == "number" ? { index: _, length: 0 } : _.oldRange, V = typeof _ == "number" ? null : _.newRange, N = y.length, M = j.length;
|
|
5571
5571
|
if ($.length === 0 && (V === null || V.length === 0)) {
|
|
5572
5572
|
var Z = $.index, X = y.slice(0, Z), A = y.slice(Z), L = V ? V.index : null;
|
|
5573
5573
|
t: {
|
|
5574
5574
|
var F = Z + M - N;
|
|
5575
5575
|
if (L !== null && L !== F || F < 0 || F > M)
|
|
5576
5576
|
break t;
|
|
5577
|
-
var G =
|
|
5577
|
+
var G = j.slice(0, F), K = j.slice(F);
|
|
5578
5578
|
if (K !== A)
|
|
5579
5579
|
break t;
|
|
5580
5580
|
var z = Math.min(Z, F), Y = X.slice(0, z), D = G.slice(0, z);
|
|
@@ -5586,7 +5586,7 @@ function Ub() {
|
|
|
5586
5586
|
t: {
|
|
5587
5587
|
if (L !== null && L !== Z)
|
|
5588
5588
|
break t;
|
|
5589
|
-
var U = Z, G =
|
|
5589
|
+
var U = Z, G = j.slice(0, U), K = j.slice(U);
|
|
5590
5590
|
if (G !== X)
|
|
5591
5591
|
break t;
|
|
5592
5592
|
var J = Math.min(N - U, M - U), I = A.slice(A.length - J), ut = K.slice(K.length - J);
|
|
@@ -5601,16 +5601,16 @@ function Ub() {
|
|
|
5601
5601
|
var Y = y.slice(0, $.index), I = y.slice($.index + $.length), z = Y.length, J = I.length;
|
|
5602
5602
|
if (M < z + J)
|
|
5603
5603
|
break t;
|
|
5604
|
-
var D =
|
|
5604
|
+
var D = j.slice(0, z), ut = j.slice(M - J);
|
|
5605
5605
|
if (Y !== D || I !== ut)
|
|
5606
5606
|
break t;
|
|
5607
|
-
var P = y.slice(z, N - J), W =
|
|
5607
|
+
var P = y.slice(z, N - J), W = j.slice(z, M - J);
|
|
5608
5608
|
return at(Y, P, W, I);
|
|
5609
5609
|
}
|
|
5610
5610
|
return null;
|
|
5611
5611
|
}
|
|
5612
|
-
function mt(y,
|
|
5613
|
-
return s(y,
|
|
5612
|
+
function mt(y, j, _, $) {
|
|
5613
|
+
return s(y, j, _, $, !0);
|
|
5614
5614
|
}
|
|
5615
5615
|
return mt.INSERT = t, mt.DELETE = n, mt.EQUAL = e, Do = mt, Do;
|
|
5616
5616
|
}
|
|
@@ -5619,8 +5619,8 @@ Ur.exports;
|
|
|
5619
5619
|
var Nu;
|
|
5620
5620
|
function Zd() {
|
|
5621
5621
|
return Nu || (Nu = 1, function(n, t) {
|
|
5622
|
-
var e = 200, s = "__lodash_hash_undefined__", r = 9007199254740991, i = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", f = "[object Function]", v = "[object GeneratorFunction]", h = "[object Map]", d = "[object Number]", m = "[object Object]", g = "[object Promise]", x = "[object RegExp]", k = "[object Set]", w = "[object String]", S = "[object Symbol]", C = "[object WeakMap]", E = "[object ArrayBuffer]", B = "[object DataView]", H = "[object Float32Array]", at = "[object Float64Array]", ht = "[object Int8Array]", mt = "[object Int16Array]", y = "[object Int32Array]",
|
|
5623
|
-
A[i] = A[o] = A[E] = A[B] = A[a] = A[l] = A[H] = A[at] = A[ht] = A[mt] = A[y] = A[h] = A[d] = A[m] = A[x] = A[k] = A[w] = A[S] = A[
|
|
5622
|
+
var e = 200, s = "__lodash_hash_undefined__", r = 9007199254740991, i = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", f = "[object Function]", v = "[object GeneratorFunction]", h = "[object Map]", d = "[object Number]", m = "[object Object]", g = "[object Promise]", x = "[object RegExp]", k = "[object Set]", w = "[object String]", S = "[object Symbol]", C = "[object WeakMap]", E = "[object ArrayBuffer]", B = "[object DataView]", H = "[object Float32Array]", at = "[object Float64Array]", ht = "[object Int8Array]", mt = "[object Int16Array]", y = "[object Int32Array]", j = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", V = "[object Uint32Array]", N = /[\\^$.*+?()[\]{}|]/g, M = /\w*$/, Z = /^\[object .+?Constructor\]$/, X = /^(?:0|[1-9]\d*)$/, A = {};
|
|
5623
|
+
A[i] = A[o] = A[E] = A[B] = A[a] = A[l] = A[H] = A[at] = A[ht] = A[mt] = A[y] = A[h] = A[d] = A[m] = A[x] = A[k] = A[w] = A[S] = A[j] = A[_] = A[$] = A[V] = !0, A[c] = A[f] = A[C] = !1;
|
|
5624
5624
|
var L = typeof ze == "object" && ze && ze.Object === Object && ze, F = typeof self == "object" && self && self.Object === Object && self, G = L || F || Function("return this")(), K = t && !t.nodeType && t, z = K && !0 && n && !n.nodeType && n, Y = z && z.exports === K;
|
|
5625
5625
|
function D(u, p) {
|
|
5626
5626
|
return u.set(p[0], p[1]), u;
|
|
@@ -5682,7 +5682,7 @@ function Zd() {
|
|
|
5682
5682
|
return u ? "Symbol(src)_1." + u : "";
|
|
5683
5683
|
}(), nr = Mi.toString, pe = Tn.hasOwnProperty, Rn = Tn.toString, Fi = RegExp(
|
|
5684
5684
|
"^" + nr.call(pe).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
5685
|
-
), sn = Y ? G.Buffer : void 0, In = G.Symbol, ps = G.Uint8Array, Yt = _e(Object.getPrototypeOf, Object), sr = Object.create, rr = Tn.propertyIsEnumerable, Pi = Di.splice, ms = Object.getOwnPropertySymbols, Ln = sn ? sn.isBuffer : void 0, ir = _e(Object.keys, Object),
|
|
5685
|
+
), sn = Y ? G.Buffer : void 0, In = G.Symbol, ps = G.Uint8Array, Yt = _e(Object.getPrototypeOf, Object), sr = Object.create, rr = Tn.propertyIsEnumerable, Pi = Di.splice, ms = Object.getOwnPropertySymbols, Ln = sn ? sn.isBuffer : void 0, ir = _e(Object.keys, Object), qn = re(G, "DataView"), rn = re(G, "Map"), se = re(G, "Promise"), jn = re(G, "Set"), gs = re(G, "WeakMap"), on = re(Object, "create"), vs = zt(qn), an = zt(rn), ys = zt(se), bs = zt(jn), xs = zt(gs), Pe = In ? In.prototype : void 0, or = Pe ? Pe.valueOf : void 0;
|
|
5686
5686
|
function Se(u) {
|
|
5687
5687
|
var p = -1, b = u ? u.length : 0;
|
|
5688
5688
|
for (this.clear(); ++p < b; ) {
|
|
@@ -5845,8 +5845,8 @@ function Zd() {
|
|
|
5845
5845
|
return Kt;
|
|
5846
5846
|
if (gt.set(u, pt), !Ot)
|
|
5847
5847
|
var Rt = b ? mo(u) : Cs(u);
|
|
5848
|
-
return W(Rt || u, function(Pt,
|
|
5849
|
-
Rt && (
|
|
5848
|
+
return W(Rt || u, function(Pt, qt) {
|
|
5849
|
+
Rt && (qt = Pt, Pt = u[qt]), lr(pt, qt, ws(Pt, p, b, R, qt, u, gt));
|
|
5850
5850
|
}), pt;
|
|
5851
5851
|
}
|
|
5852
5852
|
function ro(u) {
|
|
@@ -5935,7 +5935,7 @@ function Zd() {
|
|
|
5935
5935
|
return ao(b) ? b : void 0;
|
|
5936
5936
|
}
|
|
5937
5937
|
var Ae = ms ? _e(ms, Object) : wo, Ce = oo;
|
|
5938
|
-
(
|
|
5938
|
+
(qn && Ce(new qn(new ArrayBuffer(1))) != B || rn && Ce(new rn()) != h || se && Ce(se.resolve()) != g || jn && Ce(new jn()) != k || gs && Ce(new gs()) != C) && (Ce = function(u) {
|
|
5939
5939
|
var p = Rn.call(u), b = p == m ? u.constructor : void 0, R = b ? zt(b) : void 0;
|
|
5940
5940
|
if (R)
|
|
5941
5941
|
switch (R) {
|
|
@@ -5974,7 +5974,7 @@ function Zd() {
|
|
|
5974
5974
|
case ht:
|
|
5975
5975
|
case mt:
|
|
5976
5976
|
case y:
|
|
5977
|
-
case
|
|
5977
|
+
case j:
|
|
5978
5978
|
case _:
|
|
5979
5979
|
case $:
|
|
5980
5980
|
case V:
|
|
@@ -6067,8 +6067,8 @@ $r.exports;
|
|
|
6067
6067
|
var Ou;
|
|
6068
6068
|
function Xd() {
|
|
6069
6069
|
return Ou || (Ou = 1, function(n, t) {
|
|
6070
|
-
var e = 200, s = "__lodash_hash_undefined__", r = 1, i = 2, o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", f = "[object Boolean]", v = "[object Date]", h = "[object Error]", d = "[object Function]", m = "[object GeneratorFunction]", g = "[object Map]", x = "[object Number]", k = "[object Null]", w = "[object Object]", S = "[object Promise]", C = "[object Proxy]", E = "[object RegExp]", B = "[object Set]", H = "[object String]", at = "[object Symbol]", ht = "[object Undefined]", mt = "[object WeakMap]", y = "[object ArrayBuffer]",
|
|
6071
|
-
z[_] = z[$] = z[V] = z[N] = z[M] = z[Z] = z[X] = z[A] = z[L] = !0, z[a] = z[l] = z[y] = z[f] = z[
|
|
6070
|
+
var e = 200, s = "__lodash_hash_undefined__", r = 1, i = 2, o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", f = "[object Boolean]", v = "[object Date]", h = "[object Error]", d = "[object Function]", m = "[object GeneratorFunction]", g = "[object Map]", x = "[object Number]", k = "[object Null]", w = "[object Object]", S = "[object Promise]", C = "[object Proxy]", E = "[object RegExp]", B = "[object Set]", H = "[object String]", at = "[object Symbol]", ht = "[object Undefined]", mt = "[object WeakMap]", y = "[object ArrayBuffer]", j = "[object DataView]", _ = "[object Float32Array]", $ = "[object Float64Array]", V = "[object Int8Array]", N = "[object Int16Array]", M = "[object Int32Array]", Z = "[object Uint8Array]", X = "[object Uint8ClampedArray]", A = "[object Uint16Array]", L = "[object Uint32Array]", F = /[\\^$.*+?()[\]{}|]/g, G = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, z = {};
|
|
6071
|
+
z[_] = z[$] = z[V] = z[N] = z[M] = z[Z] = z[X] = z[A] = z[L] = !0, z[a] = z[l] = z[y] = z[f] = z[j] = z[v] = z[h] = z[d] = z[g] = z[x] = z[w] = z[E] = z[B] = z[H] = z[mt] = !1;
|
|
6072
6072
|
var Y = typeof ze == "object" && ze && ze.Object === Object && ze, D = typeof self == "object" && self && self.Object === Object && self, P = Y || D || Function("return this")(), W = t && !t.nodeType && t, U = W && !0 && n && !n.nodeType && n, J = U && U.exports === W, I = J && Y.process, ut = function() {
|
|
6073
6073
|
try {
|
|
6074
6074
|
return I && I.binding && I.binding("util");
|
|
@@ -6131,7 +6131,7 @@ function Xd() {
|
|
|
6131
6131
|
return u ? "Symbol(src)_1." + u : "";
|
|
6132
6132
|
}(), rr = sn.toString, Pi = RegExp(
|
|
6133
6133
|
"^" + ps.call(Yt).replace(F, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6134
|
-
), ms = J ? P.Buffer : void 0, Ln = P.Symbol, ir = P.Uint8Array,
|
|
6134
|
+
), ms = J ? P.Buffer : void 0, Ln = P.Symbol, ir = P.Uint8Array, qn = sn.propertyIsEnumerable, rn = Rn.splice, se = Ln ? Ln.toStringTag : void 0, jn = Object.getOwnPropertySymbols, gs = ms ? ms.isBuffer : void 0, on = nr(Object.keys, Object), vs = Ae(P, "DataView"), an = Ae(P, "Map"), ys = Ae(P, "Promise"), bs = Ae(P, "Set"), xs = Ae(P, "WeakMap"), Pe = Ae(Object, "create"), or = zt(vs), Se = zt(an), Bi = zt(ys), Vi = zt(bs), Ui = zt(xs), ar = Ln ? Ln.prototype : void 0, ks = ar ? ar.valueOf : void 0;
|
|
6135
6135
|
function Lt(u) {
|
|
6136
6136
|
var p = -1, b = u == null ? 0 : u.length;
|
|
6137
6137
|
for (this.clear(); ++p < b; ) {
|
|
@@ -6302,9 +6302,9 @@ function Xd() {
|
|
|
6302
6302
|
if (Rt && !Ft)
|
|
6303
6303
|
return it || (it = new me()), gt || gr(u) ? _s(u, p, b, R, ct, it) : po(u, p, Ot, b, R, ct, it);
|
|
6304
6304
|
if (!(b & r)) {
|
|
6305
|
-
var Pt = Ft && Yt.call(u, "__wrapped__"),
|
|
6306
|
-
if (Pt ||
|
|
6307
|
-
var Be = Pt ? u.value() : u, Ne =
|
|
6305
|
+
var Pt = Ft && Yt.call(u, "__wrapped__"), qt = Kt && Yt.call(p, "__wrapped__");
|
|
6306
|
+
if (Pt || qt) {
|
|
6307
|
+
var Be = Pt ? u.value() : u, Ne = qt ? p.value() : p;
|
|
6308
6308
|
return it || (it = new me()), ct(Be, Ne, b, R, it);
|
|
6309
6309
|
}
|
|
6310
6310
|
}
|
|
@@ -6336,9 +6336,9 @@ function Xd() {
|
|
|
6336
6336
|
return vt == p;
|
|
6337
6337
|
var Ft = -1, Kt = !0, Rt = b & i ? new Dn() : void 0;
|
|
6338
6338
|
for (it.set(u, p), it.set(p, u); ++Ft < pt; ) {
|
|
6339
|
-
var Pt = u[Ft],
|
|
6339
|
+
var Pt = u[Ft], qt = p[Ft];
|
|
6340
6340
|
if (R)
|
|
6341
|
-
var Be = gt ? R(
|
|
6341
|
+
var Be = gt ? R(qt, Pt, Ft, p, u, it) : R(Pt, qt, Ft, u, p, it);
|
|
6342
6342
|
if (Be !== void 0) {
|
|
6343
6343
|
if (Be)
|
|
6344
6344
|
continue;
|
|
@@ -6353,7 +6353,7 @@ function Xd() {
|
|
|
6353
6353
|
Kt = !1;
|
|
6354
6354
|
break;
|
|
6355
6355
|
}
|
|
6356
|
-
} else if (!(Pt ===
|
|
6356
|
+
} else if (!(Pt === qt || ct(Pt, qt, b, R, it))) {
|
|
6357
6357
|
Kt = !1;
|
|
6358
6358
|
break;
|
|
6359
6359
|
}
|
|
@@ -6362,7 +6362,7 @@ function Xd() {
|
|
|
6362
6362
|
}
|
|
6363
6363
|
function po(u, p, b, R, ct, it, gt) {
|
|
6364
6364
|
switch (b) {
|
|
6365
|
-
case
|
|
6365
|
+
case j:
|
|
6366
6366
|
if (u.byteLength != p.byteLength || u.byteOffset != p.byteOffset)
|
|
6367
6367
|
return !1;
|
|
6368
6368
|
u = u.buffer, p = p.buffer;
|
|
@@ -6407,7 +6407,7 @@ function Xd() {
|
|
|
6407
6407
|
var Pt = it.get(u);
|
|
6408
6408
|
if (Pt && it.get(p))
|
|
6409
6409
|
return Pt == p;
|
|
6410
|
-
var
|
|
6410
|
+
var qt = !0;
|
|
6411
6411
|
it.set(u, p), it.set(p, u);
|
|
6412
6412
|
for (var Be = gt; ++Kt < Ot; ) {
|
|
6413
6413
|
Rt = pt[Kt];
|
|
@@ -6415,16 +6415,16 @@ function Xd() {
|
|
|
6415
6415
|
if (R)
|
|
6416
6416
|
var xl = gt ? R(cn, Ne, Rt, p, u, it) : R(Ne, cn, Rt, u, p, it);
|
|
6417
6417
|
if (!(xl === void 0 ? Ne === cn || ct(Ne, cn, b, R, it) : xl)) {
|
|
6418
|
-
|
|
6418
|
+
qt = !1;
|
|
6419
6419
|
break;
|
|
6420
6420
|
}
|
|
6421
6421
|
Be || (Be = Rt == "constructor");
|
|
6422
6422
|
}
|
|
6423
|
-
if (
|
|
6423
|
+
if (qt && !Be) {
|
|
6424
6424
|
var vr = u.constructor, yr = p.constructor;
|
|
6425
|
-
vr != yr && "constructor" in u && "constructor" in p && !(typeof vr == "function" && vr instanceof vr && typeof yr == "function" && yr instanceof yr) && (
|
|
6425
|
+
vr != yr && "constructor" in u && "constructor" in p && !(typeof vr == "function" && vr instanceof vr && typeof yr == "function" && yr instanceof yr) && (qt = !1);
|
|
6426
6426
|
}
|
|
6427
|
-
return it.delete(u), it.delete(p),
|
|
6427
|
+
return it.delete(u), it.delete(p), qt;
|
|
6428
6428
|
}
|
|
6429
6429
|
function un(u) {
|
|
6430
6430
|
return Es(u, Cs, go);
|
|
@@ -6447,17 +6447,17 @@ function Xd() {
|
|
|
6447
6447
|
var ct = rr.call(u);
|
|
6448
6448
|
return R && (p ? u[se] = b : delete u[se]), ct;
|
|
6449
6449
|
}
|
|
6450
|
-
var go =
|
|
6451
|
-
return u == null ? [] : (u = Object(u), St(
|
|
6452
|
-
return
|
|
6450
|
+
var go = jn ? function(u) {
|
|
6451
|
+
return u == null ? [] : (u = Object(u), St(jn(u), function(p) {
|
|
6452
|
+
return qn.call(u, p);
|
|
6453
6453
|
}));
|
|
6454
6454
|
} : wo, ge = ln;
|
|
6455
|
-
(vs && ge(new vs(new ArrayBuffer(1))) !=
|
|
6455
|
+
(vs && ge(new vs(new ArrayBuffer(1))) != j || an && ge(new an()) != g || ys && ge(ys.resolve()) != S || bs && ge(new bs()) != B || xs && ge(new xs()) != mt) && (ge = function(u) {
|
|
6456
6456
|
var p = ln(u), b = p == w ? u.constructor : void 0, R = b ? zt(b) : "";
|
|
6457
6457
|
if (R)
|
|
6458
6458
|
switch (R) {
|
|
6459
6459
|
case or:
|
|
6460
|
-
return
|
|
6460
|
+
return j;
|
|
6461
6461
|
case Se:
|
|
6462
6462
|
return g;
|
|
6463
6463
|
case Bi:
|
|
@@ -6505,7 +6505,7 @@ function Xd() {
|
|
|
6505
6505
|
var fr = ur(/* @__PURE__ */ function() {
|
|
6506
6506
|
return arguments;
|
|
6507
6507
|
}()) ? ur : function(u) {
|
|
6508
|
-
return ve(u) && Yt.call(u, "callee") && !
|
|
6508
|
+
return ve(u) && Yt.call(u, "callee") && !qn.call(u, "callee");
|
|
6509
6509
|
}, Pn = Array.isArray;
|
|
6510
6510
|
function Ss(u) {
|
|
6511
6511
|
return u != null && As(u.length) && !pr(u);
|
|
@@ -6907,7 +6907,7 @@ function Hb() {
|
|
|
6907
6907
|
}
|
|
6908
6908
|
}
|
|
6909
6909
|
f.Op = o.default, f.OpIterator = a.default, f.AttributeMap = i.default, f.handlers = {}, t.default = f, n.exports = f, n.exports.default = f;
|
|
6910
|
-
}(
|
|
6910
|
+
}(jo, jo.exports)), jo.exports;
|
|
6911
6911
|
}
|
|
6912
6912
|
var te = Hb();
|
|
6913
6913
|
const et = /* @__PURE__ */ Pa(te);
|
|
@@ -6973,8 +6973,8 @@ Q(zr, "order", [
|
|
|
6973
6973
|
// Must be higher
|
|
6974
6974
|
]);
|
|
6975
6975
|
let nn = zr;
|
|
6976
|
-
const
|
|
6977
|
-
class
|
|
6976
|
+
const qu = 1;
|
|
6977
|
+
class jt extends $s {
|
|
6978
6978
|
constructor() {
|
|
6979
6979
|
super(...arguments), Q(this, "cache", {});
|
|
6980
6980
|
}
|
|
@@ -7006,7 +7006,7 @@ class qt extends $s {
|
|
|
7006
7006
|
super.insertBefore(t, e), s instanceof de && s.remove(), this.cache = {};
|
|
7007
7007
|
}
|
|
7008
7008
|
length() {
|
|
7009
|
-
return this.cache.length == null && (this.cache.length = super.length() +
|
|
7009
|
+
return this.cache.length == null && (this.cache.length = super.length() + qu), this.cache.length;
|
|
7010
7010
|
}
|
|
7011
7011
|
moveChildren(t, e) {
|
|
7012
7012
|
super.moveChildren(t, e), this.cache = {};
|
|
@@ -7022,7 +7022,7 @@ class qt extends $s {
|
|
|
7022
7022
|
}
|
|
7023
7023
|
split(t) {
|
|
7024
7024
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
7025
|
-
if (e && (t === 0 || t >= this.length() -
|
|
7025
|
+
if (e && (t === 0 || t >= this.length() - qu)) {
|
|
7026
7026
|
const r = this.clone();
|
|
7027
7027
|
return t === 0 ? (this.parent.insertBefore(r, this), this) : (this.parent.insertBefore(r, this.next), r);
|
|
7028
7028
|
}
|
|
@@ -7030,10 +7030,10 @@ class qt extends $s {
|
|
|
7030
7030
|
return this.cache = {}, s;
|
|
7031
7031
|
}
|
|
7032
7032
|
}
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7033
|
+
jt.blotName = "block";
|
|
7034
|
+
jt.tagName = "P";
|
|
7035
|
+
jt.defaultChild = de;
|
|
7036
|
+
jt.allowedChildren = [de, nn, Xt, ce];
|
|
7037
7037
|
class ee extends Xt {
|
|
7038
7038
|
attach() {
|
|
7039
7039
|
super.attach(), this.attributes = new _i(this.domNode);
|
|
@@ -7058,7 +7058,7 @@ class ee extends Xt {
|
|
|
7058
7058
|
}
|
|
7059
7059
|
const r = e.split(`
|
|
7060
7060
|
`), i = r.pop(), o = r.map((l) => {
|
|
7061
|
-
const c = this.scroll.create(
|
|
7061
|
+
const c = this.scroll.create(jt.blotName);
|
|
7062
7062
|
return c.insertAt(0, l), c;
|
|
7063
7063
|
}), a = this.split(t);
|
|
7064
7064
|
o.forEach((l) => {
|
|
@@ -7176,7 +7176,7 @@ const Ls = class hn extends Xt {
|
|
|
7176
7176
|
};
|
|
7177
7177
|
Q(Ls, "blotName", "cursor"), Q(Ls, "className", "ql-cursor"), Q(Ls, "tagName", "span"), Q(Ls, "CONTENTS", "\uFEFF");
|
|
7178
7178
|
let Ci = Ls;
|
|
7179
|
-
var
|
|
7179
|
+
var ju = { exports: {} }, Du;
|
|
7180
7180
|
function Wb() {
|
|
7181
7181
|
return Du || (Du = 1, function(n) {
|
|
7182
7182
|
var t = Object.prototype.hasOwnProperty, e = "~";
|
|
@@ -7281,7 +7281,7 @@ function Wb() {
|
|
|
7281
7281
|
var c;
|
|
7282
7282
|
return l ? (c = e ? e + l : l, this._events[c] && o(this, c)) : (this._events = new s(), this._eventsCount = 0), this;
|
|
7283
7283
|
}, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = e, a.EventEmitter = a, n.exports = a;
|
|
7284
|
-
}(
|
|
7284
|
+
}(ju)), ju.exports;
|
|
7285
7285
|
}
|
|
7286
7286
|
var Gb = Wb();
|
|
7287
7287
|
const Zb = /* @__PURE__ */ Pa(Gb), _a = /* @__PURE__ */ new WeakMap(), Sa = ["error", "warn", "log", "info"];
|
|
@@ -7604,7 +7604,7 @@ class Qb {
|
|
|
7604
7604
|
`) && (e <= i || !!this.scroll.descendant(ee, i)[0]), this.scroll.insertAt(i, d);
|
|
7605
7605
|
const [m, g] = this.scroll.line(i);
|
|
7606
7606
|
let x = Ge({}, Jt(m));
|
|
7607
|
-
if (m instanceof
|
|
7607
|
+
if (m instanceof jt) {
|
|
7608
7608
|
const [k] = m.descendant(Bt, g);
|
|
7609
7609
|
k && (x = Ge(x, Jt(k)));
|
|
7610
7610
|
}
|
|
@@ -7672,7 +7672,7 @@ class Qb {
|
|
|
7672
7672
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, s = [], r = [];
|
|
7673
7673
|
e === 0 ? this.scroll.path(t).forEach((a) => {
|
|
7674
7674
|
const [l] = a;
|
|
7675
|
-
l instanceof
|
|
7675
|
+
l instanceof jt ? s.push(l) : l instanceof Bt && r.push(l);
|
|
7676
7676
|
}) : (s = this.scroll.lines(t, e), r = this.scroll.descendants(Bt, t, e));
|
|
7677
7677
|
const [i, o] = [s, r].map((a) => {
|
|
7678
7678
|
const l = a.shift();
|
|
@@ -7722,7 +7722,7 @@ class Qb {
|
|
|
7722
7722
|
if (this.scroll.children.length === 0) return !0;
|
|
7723
7723
|
if (this.scroll.children.length > 1) return !1;
|
|
7724
7724
|
const t = this.scroll.children.head;
|
|
7725
|
-
if ((t == null ? void 0 : t.statics.blotName) !==
|
|
7725
|
+
if ((t == null ? void 0 : t.statics.blotName) !== jt.blotName) return !1;
|
|
7726
7726
|
const e = t;
|
|
7727
7727
|
return e.children.length > 1 ? !1 : e.children.head instanceof de;
|
|
7728
7728
|
}
|
|
@@ -8003,7 +8003,7 @@ const sx = (n) => n.parentElement || n.getRootNode().host || null, rx = (n) => {
|
|
|
8003
8003
|
}), s;
|
|
8004
8004
|
}, Qn = Fe("quill"), Kr = new as();
|
|
8005
8005
|
ue.uiClass = "ql-ui";
|
|
8006
|
-
const Zn = class
|
|
8006
|
+
const Zn = class qs {
|
|
8007
8007
|
static debug(t) {
|
|
8008
8008
|
t === !0 && (t = "log"), Fe.level(t);
|
|
8009
8009
|
}
|
|
@@ -8031,7 +8031,7 @@ const Zn = class js {
|
|
|
8031
8031
|
Qn.error("Invalid Quill container", t);
|
|
8032
8032
|
return;
|
|
8033
8033
|
}
|
|
8034
|
-
this.options.debug &&
|
|
8034
|
+
this.options.debug && qs.debug(this.options.debug);
|
|
8035
8035
|
const s = this.container.innerHTML.trim();
|
|
8036
8036
|
this.container.classList.add("ql-container"), this.container.innerHTML = "", _a.set(this.container, this), this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.emitter = new tt();
|
|
8037
8037
|
const r = al.blotName, i = this.options.registry.query(r);
|
|
@@ -8057,7 +8057,7 @@ const Zn = class js {
|
|
|
8057
8057
|
[o.statics.blotName]: a
|
|
8058
8058
|
});
|
|
8059
8059
|
return this.editor.update(v, [], f);
|
|
8060
|
-
},
|
|
8060
|
+
}, qs.sources.USER);
|
|
8061
8061
|
}), s) {
|
|
8062
8062
|
const o = this.clipboard.convert({
|
|
8063
8063
|
html: `${s}<p><br></p>`,
|
|
@@ -8195,7 +8195,7 @@ const Zn = class js {
|
|
|
8195
8195
|
return this.selection.hasFocus();
|
|
8196
8196
|
}
|
|
8197
8197
|
insertEmbed(t, e, s) {
|
|
8198
|
-
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] :
|
|
8198
|
+
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : qs.sources.API;
|
|
8199
8199
|
return ie.call(this, () => this.editor.insertEmbed(t, e, s), r, t);
|
|
8200
8200
|
}
|
|
8201
8201
|
insertText(t, e, s, r, i) {
|
|
@@ -8243,7 +8243,7 @@ const Zn = class js {
|
|
|
8243
8243
|
}, e);
|
|
8244
8244
|
}
|
|
8245
8245
|
setSelection(t, e, s) {
|
|
8246
|
-
t == null ? this.selection.setRange(null, e ||
|
|
8246
|
+
t == null ? this.selection.setRange(null, e || qs.sources.API) : ([t, e, , s] = Oe(t, e, s), this.selection.setRange(new En(Math.max(0, t), e), s), s !== tt.sources.SILENT && this.scrollSelectionIntoView());
|
|
8247
8247
|
}
|
|
8248
8248
|
setText(t) {
|
|
8249
8249
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : tt.sources.API;
|
|
@@ -8278,7 +8278,7 @@ Q(Zn, "DEFAULTS", {
|
|
|
8278
8278
|
"core/module": fe,
|
|
8279
8279
|
"core/theme": Ni
|
|
8280
8280
|
});
|
|
8281
|
-
let
|
|
8281
|
+
let q = Zn;
|
|
8282
8282
|
function Bu(n) {
|
|
8283
8283
|
return typeof n == "string" ? document.querySelector(n) : n;
|
|
8284
8284
|
}
|
|
@@ -8298,13 +8298,13 @@ function ux(n, t) {
|
|
|
8298
8298
|
const e = Bu(n);
|
|
8299
8299
|
if (!e)
|
|
8300
8300
|
throw new Error("Invalid Quill container");
|
|
8301
|
-
const s = !t.theme || t.theme ===
|
|
8301
|
+
const s = !t.theme || t.theme === q.DEFAULTS.theme ? Ni : q.import(`themes/${t.theme}`);
|
|
8302
8302
|
if (!s)
|
|
8303
8303
|
throw new Error(`Invalid theme ${t.theme}. Did you register it?`);
|
|
8304
8304
|
const {
|
|
8305
8305
|
modules: r,
|
|
8306
8306
|
...i
|
|
8307
|
-
} =
|
|
8307
|
+
} = q.DEFAULTS, {
|
|
8308
8308
|
modules: o,
|
|
8309
8309
|
...a
|
|
8310
8310
|
} = s.DEFAULTS;
|
|
@@ -8329,7 +8329,7 @@ function ux(n, t) {
|
|
|
8329
8329
|
modules: Object.entries(c).reduce((h, d) => {
|
|
8330
8330
|
let [m, g] = d;
|
|
8331
8331
|
if (!g) return h;
|
|
8332
|
-
const x =
|
|
8332
|
+
const x = q.import(`modules/${m}`);
|
|
8333
8333
|
return x == null ? (Qn.error(`Cannot load ${m} module. Are you sure you registered it?`), h) : {
|
|
8334
8334
|
...h,
|
|
8335
8335
|
// @ts-expect-error
|
|
@@ -8366,7 +8366,7 @@ function Uu(n, t, e, s) {
|
|
|
8366
8366
|
class Cn extends Si {
|
|
8367
8367
|
}
|
|
8368
8368
|
function $u(n) {
|
|
8369
|
-
return n instanceof
|
|
8369
|
+
return n instanceof jt || n instanceof ee;
|
|
8370
8370
|
}
|
|
8371
8371
|
function zu(n) {
|
|
8372
8372
|
return typeof n.updateContent == "function";
|
|
@@ -8578,7 +8578,7 @@ class Xn extends al {
|
|
|
8578
8578
|
}), i;
|
|
8579
8579
|
}
|
|
8580
8580
|
}
|
|
8581
|
-
Q(Xn, "blotName", "scroll"), Q(Xn, "className", "ql-editor"), Q(Xn, "tagName", "DIV"), Q(Xn, "defaultChild",
|
|
8581
|
+
Q(Xn, "blotName", "scroll"), Q(Xn, "className", "ql-editor"), Q(Xn, "tagName", "DIV"), Q(Xn, "defaultChild", jt), Q(Xn, "allowedChildren", [jt, ee, Cn]);
|
|
8582
8582
|
function Uo(n, t, e) {
|
|
8583
8583
|
e.reduce((s, r) => {
|
|
8584
8584
|
const i = te.Op.length(r);
|
|
@@ -8637,9 +8637,9 @@ ${Ai(this.code(t, e))}
|
|
|
8637
8637
|
</pre>`;
|
|
8638
8638
|
}
|
|
8639
8639
|
}
|
|
8640
|
-
class Vt extends
|
|
8640
|
+
class Vt extends jt {
|
|
8641
8641
|
static register() {
|
|
8642
|
-
|
|
8642
|
+
q.register(Nn);
|
|
8643
8643
|
}
|
|
8644
8644
|
}
|
|
8645
8645
|
Q(Vt, "TAB", " ");
|
|
@@ -8754,7 +8754,7 @@ class Oi extends fe {
|
|
|
8754
8754
|
if (t.defaultPrevented || t.isComposing || t.keyCode === 229 && (t.key === "Enter" || t.key === "Backspace")) return;
|
|
8755
8755
|
const e = (this.bindings[t.key] || []).concat(this.bindings[t.which] || []).filter((m) => Oi.match(t, m));
|
|
8756
8756
|
if (e.length === 0) return;
|
|
8757
|
-
const s =
|
|
8757
|
+
const s = q.find(t.target, !0);
|
|
8758
8758
|
if (s && s.scroll !== this.quill.scroll) return;
|
|
8759
8759
|
const r = this.quill.getSelection();
|
|
8760
8760
|
if (r == null || !this.quill.hasFocus()) return;
|
|
@@ -8797,7 +8797,7 @@ class Oi extends fe {
|
|
|
8797
8797
|
}
|
|
8798
8798
|
}
|
|
8799
8799
|
}
|
|
8800
|
-
this.quill.updateContents(o,
|
|
8800
|
+
this.quill.updateContents(o, q.sources.USER), this.quill.focus();
|
|
8801
8801
|
}
|
|
8802
8802
|
handleDelete(t, e) {
|
|
8803
8803
|
const s = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix) ? 2 : 1;
|
|
@@ -8812,7 +8812,7 @@ class Oi extends fe {
|
|
|
8812
8812
|
r = te.AttributeMap.diff(l, c) || {}, Object.keys(r).length > 0 && (o = o.retain(a.length() - 1).retain(1, r));
|
|
8813
8813
|
}
|
|
8814
8814
|
}
|
|
8815
|
-
this.quill.updateContents(o,
|
|
8815
|
+
this.quill.updateContents(o, q.sources.USER), this.quill.focus();
|
|
8816
8816
|
}
|
|
8817
8817
|
handleDeleteRange(t) {
|
|
8818
8818
|
pl({
|
|
@@ -8823,7 +8823,7 @@ class Oi extends fe {
|
|
|
8823
8823
|
handleEnter(t, e) {
|
|
8824
8824
|
const s = Object.keys(e.format).reduce((i, o) => (this.quill.scroll.query(o, nt.BLOCK) && !Array.isArray(e.format[o]) && (i[o] = e.format[o]), i), {}), r = new et().retain(t.index).delete(t.length).insert(`
|
|
8825
8825
|
`, s);
|
|
8826
|
-
this.quill.updateContents(r,
|
|
8826
|
+
this.quill.updateContents(r, q.sources.USER), this.quill.setSelection(t.index + 1, q.sources.SILENT), this.quill.focus();
|
|
8827
8827
|
}
|
|
8828
8828
|
}
|
|
8829
8829
|
const gx = {
|
|
@@ -8836,7 +8836,7 @@ const gx = {
|
|
|
8836
8836
|
key: "Tab",
|
|
8837
8837
|
format: ["blockquote", "indent", "list"],
|
|
8838
8838
|
handler(n, t) {
|
|
8839
|
-
return t.collapsed && t.offset !== 0 ? !0 : (this.quill.format("indent", "+1",
|
|
8839
|
+
return t.collapsed && t.offset !== 0 ? !0 : (this.quill.format("indent", "+1", q.sources.USER), !1);
|
|
8840
8840
|
}
|
|
8841
8841
|
},
|
|
8842
8842
|
outdent: {
|
|
@@ -8845,7 +8845,7 @@ const gx = {
|
|
|
8845
8845
|
format: ["blockquote", "indent", "list"],
|
|
8846
8846
|
// highlight tab or tab at beginning of list, indent or blockquote
|
|
8847
8847
|
handler(n, t) {
|
|
8848
|
-
return t.collapsed && t.offset !== 0 ? !0 : (this.quill.format("indent", "-1",
|
|
8848
|
+
return t.collapsed && t.offset !== 0 ? !0 : (this.quill.format("indent", "-1", q.sources.USER), !1);
|
|
8849
8849
|
}
|
|
8850
8850
|
},
|
|
8851
8851
|
"outdent backspace": {
|
|
@@ -8858,7 +8858,7 @@ const gx = {
|
|
|
8858
8858
|
format: ["indent", "list"],
|
|
8859
8859
|
offset: 0,
|
|
8860
8860
|
handler(n, t) {
|
|
8861
|
-
t.format.indent != null ? this.quill.format("indent", "-1",
|
|
8861
|
+
t.format.indent != null ? this.quill.format("indent", "-1", q.sources.USER) : t.format.list != null && this.quill.format("list", !1, q.sources.USER);
|
|
8862
8862
|
}
|
|
8863
8863
|
},
|
|
8864
8864
|
"indent code-block": Hu(!0),
|
|
@@ -8869,7 +8869,7 @@ const gx = {
|
|
|
8869
8869
|
collapsed: !0,
|
|
8870
8870
|
prefix: /\t$/,
|
|
8871
8871
|
handler(n) {
|
|
8872
|
-
this.quill.deleteText(n.index - 1, 1,
|
|
8872
|
+
this.quill.deleteText(n.index - 1, 1, q.sources.USER);
|
|
8873
8873
|
}
|
|
8874
8874
|
},
|
|
8875
8875
|
tab: {
|
|
@@ -8878,7 +8878,7 @@ const gx = {
|
|
|
8878
8878
|
if (t.format.table) return !0;
|
|
8879
8879
|
this.quill.history.cutoff();
|
|
8880
8880
|
const e = new et().retain(n.index).delete(n.length).insert(" ");
|
|
8881
|
-
return this.quill.updateContents(e,
|
|
8881
|
+
return this.quill.updateContents(e, q.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(n.index + 1, q.sources.SILENT), !1;
|
|
8882
8882
|
}
|
|
8883
8883
|
},
|
|
8884
8884
|
"blockquote empty enter": {
|
|
@@ -8887,7 +8887,7 @@ const gx = {
|
|
|
8887
8887
|
format: ["blockquote"],
|
|
8888
8888
|
empty: !0,
|
|
8889
8889
|
handler() {
|
|
8890
|
-
this.quill.format("blockquote", !1,
|
|
8890
|
+
this.quill.format("blockquote", !1, q.sources.USER);
|
|
8891
8891
|
}
|
|
8892
8892
|
},
|
|
8893
8893
|
"list empty enter": {
|
|
@@ -8899,7 +8899,7 @@ const gx = {
|
|
|
8899
8899
|
const e = {
|
|
8900
8900
|
list: !1
|
|
8901
8901
|
};
|
|
8902
|
-
t.format.indent && (e.indent = !1), this.quill.formatLine(n.index, n.length, e,
|
|
8902
|
+
t.format.indent && (e.indent = !1), this.quill.formatLine(n.index, n.length, e, q.sources.USER);
|
|
8903
8903
|
}
|
|
8904
8904
|
},
|
|
8905
8905
|
"checklist enter": {
|
|
@@ -8917,7 +8917,7 @@ const gx = {
|
|
|
8917
8917
|
`, s).retain(t.length() - e - 1).retain(1, {
|
|
8918
8918
|
list: "unchecked"
|
|
8919
8919
|
});
|
|
8920
|
-
this.quill.updateContents(r,
|
|
8920
|
+
this.quill.updateContents(r, q.sources.USER), this.quill.setSelection(n.index + 1, q.sources.SILENT), this.quill.scrollSelectionIntoView();
|
|
8921
8921
|
}
|
|
8922
8922
|
},
|
|
8923
8923
|
"header enter": {
|
|
@@ -8930,7 +8930,7 @@ const gx = {
|
|
|
8930
8930
|
`, t.format).retain(e.length() - s - 1).retain(1, {
|
|
8931
8931
|
header: null
|
|
8932
8932
|
});
|
|
8933
|
-
this.quill.updateContents(r,
|
|
8933
|
+
this.quill.updateContents(r, q.sources.USER), this.quill.setSelection(n.index + 1, q.sources.SILENT), this.quill.scrollSelectionIntoView();
|
|
8934
8934
|
}
|
|
8935
8935
|
},
|
|
8936
8936
|
"table backspace": {
|
|
@@ -8962,12 +8962,12 @@ const gx = {
|
|
|
8962
8962
|
if (o < 0) {
|
|
8963
8963
|
const l = new et().retain(a).insert(`
|
|
8964
8964
|
`);
|
|
8965
|
-
this.quill.updateContents(l,
|
|
8965
|
+
this.quill.updateContents(l, q.sources.USER), this.quill.setSelection(n.index + 1, n.length, q.sources.SILENT);
|
|
8966
8966
|
} else if (o > 0) {
|
|
8967
8967
|
a += e.length();
|
|
8968
8968
|
const l = new et().retain(a).insert(`
|
|
8969
8969
|
`);
|
|
8970
|
-
this.quill.updateContents(l,
|
|
8970
|
+
this.quill.updateContents(l, q.sources.USER), this.quill.setSelection(a, q.sources.USER);
|
|
8971
8971
|
}
|
|
8972
8972
|
}
|
|
8973
8973
|
}
|
|
@@ -8981,7 +8981,7 @@ const gx = {
|
|
|
8981
8981
|
event: e,
|
|
8982
8982
|
line: s
|
|
8983
8983
|
} = t, r = s.offset(this.quill.scroll);
|
|
8984
|
-
e.shiftKey ? this.quill.setSelection(r - 1,
|
|
8984
|
+
e.shiftKey ? this.quill.setSelection(r - 1, q.sources.USER) : this.quill.setSelection(r + s.length(), q.sources.USER);
|
|
8985
8985
|
}
|
|
8986
8986
|
},
|
|
8987
8987
|
"list autofill": {
|
|
@@ -9016,11 +9016,11 @@ const gx = {
|
|
|
9016
9016
|
default:
|
|
9017
9017
|
i = "ordered";
|
|
9018
9018
|
}
|
|
9019
|
-
this.quill.insertText(n.index, " ",
|
|
9019
|
+
this.quill.insertText(n.index, " ", q.sources.USER), this.quill.history.cutoff();
|
|
9020
9020
|
const o = new et().retain(n.index - r).delete(e + 1).retain(s.length() - 2 - r).retain(1, {
|
|
9021
9021
|
list: i
|
|
9022
9022
|
});
|
|
9023
|
-
return this.quill.updateContents(o,
|
|
9023
|
+
return this.quill.updateContents(o, q.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(n.index - e, q.sources.SILENT), !1;
|
|
9024
9024
|
}
|
|
9025
9025
|
},
|
|
9026
9026
|
"code exit": {
|
|
@@ -9037,7 +9037,7 @@ const gx = {
|
|
|
9037
9037
|
const i = new et().retain(n.index + t.length() - e - 2).retain(1, {
|
|
9038
9038
|
"code-block": null
|
|
9039
9039
|
}).delete(1);
|
|
9040
|
-
return this.quill.updateContents(i,
|
|
9040
|
+
return this.quill.updateContents(i, q.sources.USER), this.quill.setSelection(n.index - 1, q.sources.SILENT), !1;
|
|
9041
9041
|
}
|
|
9042
9042
|
return !0;
|
|
9043
9043
|
}
|
|
@@ -9066,7 +9066,7 @@ function Hu(n) {
|
|
|
9066
9066
|
TAB: i
|
|
9067
9067
|
} = r;
|
|
9068
9068
|
if (t.length === 0 && !s.shiftKey) {
|
|
9069
|
-
this.quill.insertText(t.index, i,
|
|
9069
|
+
this.quill.insertText(t.index, i, q.sources.USER), this.quill.setSelection(t.index + i.length, q.sources.SILENT);
|
|
9070
9070
|
return;
|
|
9071
9071
|
}
|
|
9072
9072
|
const o = t.length === 0 ? this.quill.getLines(t.index, 1) : this.quill.getLines(t);
|
|
@@ -9076,7 +9076,7 @@ function Hu(n) {
|
|
|
9076
9076
|
} = t;
|
|
9077
9077
|
o.forEach((c, f) => {
|
|
9078
9078
|
n ? (c.insertAt(0, i), f === 0 ? a += i.length : l += i.length) : c.domNode.textContent.startsWith(i) && (c.deleteAt(0, i.length), f === 0 ? a -= i.length : l -= i.length);
|
|
9079
|
-
}), this.quill.update(
|
|
9079
|
+
}), this.quill.update(q.sources.USER), this.quill.setSelection(a, l, q.sources.SILENT);
|
|
9080
9080
|
}
|
|
9081
9081
|
};
|
|
9082
9082
|
}
|
|
@@ -9092,7 +9092,7 @@ function Or(n, t) {
|
|
|
9092
9092
|
} = e;
|
|
9093
9093
|
n === "ArrowRight" && (s += e.length + 1);
|
|
9094
9094
|
const [r] = this.quill.getLeaf(s);
|
|
9095
|
-
return r instanceof Xt ? (n === "ArrowLeft" ? t ? this.quill.setSelection(e.index - 1, e.length + 1,
|
|
9095
|
+
return r instanceof Xt ? (n === "ArrowLeft" ? t ? this.quill.setSelection(e.index - 1, e.length + 1, q.sources.USER) : this.quill.setSelection(e.index - 1, q.sources.USER) : t ? this.quill.setSelection(e.index, e.length + 1, q.sources.USER) : this.quill.setSelection(e.index + e.length + 1, q.sources.USER), !1) : !0;
|
|
9096
9096
|
}
|
|
9097
9097
|
};
|
|
9098
9098
|
}
|
|
@@ -9101,7 +9101,7 @@ function $o(n) {
|
|
|
9101
9101
|
key: n[0],
|
|
9102
9102
|
shortKey: !0,
|
|
9103
9103
|
handler(t, e) {
|
|
9104
|
-
this.quill.format(n, !e.format[n],
|
|
9104
|
+
this.quill.format(n, !e.format[n], q.sources.USER);
|
|
9105
9105
|
}
|
|
9106
9106
|
};
|
|
9107
9107
|
}
|
|
@@ -9118,11 +9118,11 @@ function Ku(n) {
|
|
|
9118
9118
|
for (; a.prev != null; )
|
|
9119
9119
|
a = a.prev, o = o.next;
|
|
9120
9120
|
const l = o.offset(this.quill.scroll) + Math.min(e.offset, o.length() - 1);
|
|
9121
|
-
this.quill.setSelection(l, 0,
|
|
9121
|
+
this.quill.setSelection(l, 0, q.sources.USER);
|
|
9122
9122
|
}
|
|
9123
9123
|
} else {
|
|
9124
9124
|
const o = r.table()[s];
|
|
9125
|
-
o != null && (n ? this.quill.setSelection(o.offset(this.quill.scroll) + o.length() - 1, 0,
|
|
9125
|
+
o != null && (n ? this.quill.setSelection(o.offset(this.quill.scroll) + o.length() - 1, 0, q.sources.USER) : this.quill.setSelection(o.offset(this.quill.scroll), 0, q.sources.USER));
|
|
9126
9126
|
}
|
|
9127
9127
|
return !1;
|
|
9128
9128
|
}
|
|
@@ -9150,7 +9150,7 @@ function pl(n) {
|
|
|
9150
9150
|
const i = s[0].formats(), o = s[s.length - 1].formats();
|
|
9151
9151
|
r = te.AttributeMap.diff(o, i) || {};
|
|
9152
9152
|
}
|
|
9153
|
-
t.deleteText(e,
|
|
9153
|
+
t.deleteText(e, q.sources.USER), Object.keys(r).length > 0 && t.formatLine(e.index, 1, r, q.sources.USER), t.setSelection(e.index, q.sources.SILENT);
|
|
9154
9154
|
}
|
|
9155
9155
|
function yx(n, t, e, s) {
|
|
9156
9156
|
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;
|
|
@@ -9223,7 +9223,7 @@ const Tx = [Ox, Ex], Rx = (n) => {
|
|
|
9223
9223
|
n.documentElement && Tx.forEach((t) => {
|
|
9224
9224
|
t(n);
|
|
9225
9225
|
});
|
|
9226
|
-
}, Ix = Fe("quill:clipboard"), Lx = [[Node.TEXT_NODE, Hx], [Node.TEXT_NODE, Zu], ["br", Fx], [Node.ELEMENT_NODE, Zu], [Node.ELEMENT_NODE, Mx], [Node.ELEMENT_NODE, Dx], [Node.ELEMENT_NODE, $x], ["li", Vx], ["ol, ul", Ux], ["pre", Px], ["tr", zx], ["b", zo("bold")], ["i", zo("italic")], ["strike", zo("strike")], ["style", Bx]],
|
|
9226
|
+
}, Ix = Fe("quill:clipboard"), Lx = [[Node.TEXT_NODE, Hx], [Node.TEXT_NODE, Zu], ["br", Fx], [Node.ELEMENT_NODE, Zu], [Node.ELEMENT_NODE, Mx], [Node.ELEMENT_NODE, Dx], [Node.ELEMENT_NODE, $x], ["li", Vx], ["ol, ul", Ux], ["pre", Px], ["tr", zx], ["b", zo("bold")], ["i", zo("italic")], ["strike", zo("strike")], ["style", Bx]], qx = [cx, sf].reduce((n, t) => (n[t.keyName] = t, n), {}), Gu = [ef, hl, cl, of, uf, hf].reduce((n, t) => (n[t.keyName] = t, n), {});
|
|
9227
9227
|
class df extends fe {
|
|
9228
9228
|
constructor(t, e) {
|
|
9229
9229
|
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 = [], Lx.concat(this.options.matchers ?? []).forEach((s) => {
|
|
@@ -9259,19 +9259,19 @@ class df extends fe {
|
|
|
9259
9259
|
return ml(this.quill.scroll, s, i, o, r);
|
|
9260
9260
|
}
|
|
9261
9261
|
dangerouslyPasteHTML(t, e) {
|
|
9262
|
-
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
9262
|
+
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : q.sources.API;
|
|
9263
9263
|
if (typeof t == "string") {
|
|
9264
9264
|
const r = this.convert({
|
|
9265
9265
|
html: t,
|
|
9266
9266
|
text: ""
|
|
9267
9267
|
});
|
|
9268
|
-
this.quill.setContents(r, e), this.quill.setSelection(0,
|
|
9268
|
+
this.quill.setContents(r, e), this.quill.setSelection(0, q.sources.SILENT);
|
|
9269
9269
|
} else {
|
|
9270
9270
|
const r = this.convert({
|
|
9271
9271
|
html: e,
|
|
9272
9272
|
text: ""
|
|
9273
9273
|
});
|
|
9274
|
-
this.quill.updateContents(new et().retain(t).concat(r), s), this.quill.setSelection(t + r.length(),
|
|
9274
|
+
this.quill.updateContents(new et().retain(t).concat(r), s), this.quill.setSelection(t + r.length(), q.sources.SILENT);
|
|
9275
9275
|
}
|
|
9276
9276
|
}
|
|
9277
9277
|
onCaptureCopy(t) {
|
|
@@ -9347,7 +9347,7 @@ class df extends fe {
|
|
|
9347
9347
|
html: r
|
|
9348
9348
|
});
|
|
9349
9349
|
const a = new et().retain(t.index).delete(t.length).concat(o);
|
|
9350
|
-
this.quill.updateContents(a,
|
|
9350
|
+
this.quill.updateContents(a, q.sources.USER), this.quill.setSelection(a.length() - t.length, q.sources.SILENT), this.quill.scrollSelectionIntoView();
|
|
9351
9351
|
}
|
|
9352
9352
|
prepareMatching(t, e) {
|
|
9353
9353
|
const s = [], r = [];
|
|
@@ -9404,7 +9404,7 @@ function He(n, t) {
|
|
|
9404
9404
|
const e = t.query(n);
|
|
9405
9405
|
return e && e.prototype instanceof Xt ? !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());
|
|
9406
9406
|
}
|
|
9407
|
-
function
|
|
9407
|
+
function jx(n, t) {
|
|
9408
9408
|
return n.previousElementSibling && n.nextElementSibling && !He(n.previousElementSibling, t) && !He(n.nextElementSibling, t);
|
|
9409
9409
|
}
|
|
9410
9410
|
const Tr = /* @__PURE__ */ new WeakMap();
|
|
@@ -9424,7 +9424,7 @@ function Dx(n, t, e) {
|
|
|
9424
9424
|
const s = we.keys(n), r = he.keys(n), i = en.keys(n), o = {};
|
|
9425
9425
|
return s.concat(r).concat(i).forEach((a) => {
|
|
9426
9426
|
let l = e.query(a, nt.ATTRIBUTE);
|
|
9427
|
-
l != null && (o[l.attrName] = l.value(n), o[l.attrName]) || (l =
|
|
9427
|
+
l != null && (o[l.attrName] = l.value(n), o[l.attrName]) || (l = qx[a], l != null && (l.attrName === a || l.keyName === a) && (o[l.attrName] = l.value(n) || void 0), l = Gu[a], l != null && (l.attrName === a || l.keyName === a) && (l = Gu[a], o[l.attrName] = l.value(n) || void 0));
|
|
9428
9428
|
}), Object.entries(o).reduce((a, l) => {
|
|
9429
9429
|
let [c, f] = l;
|
|
9430
9430
|
return On(a, c, f, e);
|
|
@@ -9522,7 +9522,7 @@ function Hx(n, t, e) {
|
|
|
9522
9522
|
return t.insert(r.trim());
|
|
9523
9523
|
if (!ff(n)) {
|
|
9524
9524
|
if (r.trim().length === 0 && r.includes(`
|
|
9525
|
-
`) && !
|
|
9525
|
+
`) && !jx(n, e))
|
|
9526
9526
|
return t;
|
|
9527
9527
|
r = r.replace(/[^\S\u00a0]/g, " "), r = r.replace(/ {2,}/g, " "), (n.previousSibling == null && n.parentElement != null && He(n.parentElement, e) || n.previousSibling instanceof Element && He(n.previousSibling, e)) && (r = r.replace(/^ /, "")), (n.nextSibling == null && n.parentElement != null && He(n.parentElement, e) || n.nextSibling instanceof Element && He(n.nextSibling, e)) && (r = r.replace(/ $/, "")), r = r.replaceAll(" ", " ");
|
|
9528
9528
|
}
|
|
@@ -9533,8 +9533,8 @@ class pf extends fe {
|
|
|
9533
9533
|
super(t, e), Q(this, "lastRecorded", 0), Q(this, "ignoreChange", !1), Q(this, "stack", {
|
|
9534
9534
|
undo: [],
|
|
9535
9535
|
redo: []
|
|
9536
|
-
}), Q(this, "currentRange", null), this.quill.on(
|
|
9537
|
-
s ===
|
|
9536
|
+
}), Q(this, "currentRange", null), this.quill.on(q.events.EDITOR_CHANGE, (s, r, i, o) => {
|
|
9537
|
+
s === q.events.SELECTION_CHANGE ? r && o !== q.sources.SILENT && (this.currentRange = r) : s === q.events.TEXT_CHANGE && (this.ignoreChange || (!this.options.userOnly || o === q.sources.USER ? this.record(r, i) : this.transform(r)), this.currentRange = Ca(this.currentRange, r));
|
|
9538
9538
|
}), this.quill.keyboard.addBinding({
|
|
9539
9539
|
key: "z",
|
|
9540
9540
|
shortKey: !0
|
|
@@ -9557,7 +9557,7 @@ class pf extends fe {
|
|
|
9557
9557
|
this.stack[e].push({
|
|
9558
9558
|
delta: i,
|
|
9559
9559
|
range: Ca(s.range, i)
|
|
9560
|
-
}), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(s.delta,
|
|
9560
|
+
}), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(s.delta, q.sources.USER), this.ignoreChange = !1, this.restoreSelection(s);
|
|
9561
9561
|
}
|
|
9562
9562
|
clear() {
|
|
9563
9563
|
this.stack = {
|
|
@@ -9597,10 +9597,10 @@ class pf extends fe {
|
|
|
9597
9597
|
}
|
|
9598
9598
|
restoreSelection(t) {
|
|
9599
9599
|
if (t.range)
|
|
9600
|
-
this.quill.setSelection(t.range,
|
|
9600
|
+
this.quill.setSelection(t.range, q.sources.USER);
|
|
9601
9601
|
else {
|
|
9602
9602
|
const e = Wx(this.quill.scroll, t.delta);
|
|
9603
|
-
this.quill.setSelection(e,
|
|
9603
|
+
this.quill.setSelection(e, q.sources.USER);
|
|
9604
9604
|
}
|
|
9605
9605
|
}
|
|
9606
9606
|
}
|
|
@@ -9688,7 +9688,7 @@ class Zx extends fe {
|
|
|
9688
9688
|
constructor(t, e) {
|
|
9689
9689
|
super(t, e), t.root.addEventListener("beforeinput", (s) => {
|
|
9690
9690
|
this.handleBeforeInput(s);
|
|
9691
|
-
}), /Android/i.test(navigator.userAgent) || t.on(
|
|
9691
|
+
}), /Android/i.test(navigator.userAgent) || t.on(q.events.COMPOSITION_BEFORE_START, () => {
|
|
9692
9692
|
this.handleCompositionStart();
|
|
9693
9693
|
});
|
|
9694
9694
|
}
|
|
@@ -9703,10 +9703,10 @@ class Zx extends fe {
|
|
|
9703
9703
|
if (t.length === 0) return !1;
|
|
9704
9704
|
if (e) {
|
|
9705
9705
|
const s = this.quill.getFormat(t.index, 1);
|
|
9706
|
-
this.deleteRange(t), this.quill.updateContents(new et().retain(t.index).insert(e, s),
|
|
9706
|
+
this.deleteRange(t), this.quill.updateContents(new et().retain(t.index).insert(e, s), q.sources.USER);
|
|
9707
9707
|
} else
|
|
9708
9708
|
this.deleteRange(t);
|
|
9709
|
-
return this.quill.setSelection(t.index + e.length, 0,
|
|
9709
|
+
return this.quill.setSelection(t.index + e.length, 0, q.sources.SILENT), !0;
|
|
9710
9710
|
}
|
|
9711
9711
|
handleBeforeInput(t) {
|
|
9712
9712
|
if (this.quill.composition.isComposing || t.defaultPrevented || !Gx.includes(t.inputType))
|
|
@@ -9748,7 +9748,7 @@ class tk extends fe {
|
|
|
9748
9748
|
if (!(s instanceof ue) || !s.uiNode)
|
|
9749
9749
|
return !0;
|
|
9750
9750
|
const i = getComputedStyle(s.domNode).direction === "rtl";
|
|
9751
|
-
return i && r.key !== "ArrowRight" || !i && r.key !== "ArrowLeft" ? !0 : (this.quill.setSelection(t.index - 1, t.length + (r.shiftKey ? 1 : 0),
|
|
9751
|
+
return i && r.key !== "ArrowRight" || !i && r.key !== "ArrowLeft" ? !0 : (this.quill.setSelection(t.index - 1, t.length + (r.shiftKey ? 1 : 0), q.sources.USER), !1);
|
|
9752
9752
|
}
|
|
9753
9753
|
});
|
|
9754
9754
|
}
|
|
@@ -9784,8 +9784,8 @@ class tk extends fe {
|
|
|
9784
9784
|
r.setStartAfter(s.uiNode), r.setEndAfter(s.uiNode), t.removeAllRanges(), t.addRange(r);
|
|
9785
9785
|
}
|
|
9786
9786
|
}
|
|
9787
|
-
|
|
9788
|
-
"blots/block":
|
|
9787
|
+
q.register({
|
|
9788
|
+
"blots/block": jt,
|
|
9789
9789
|
"blots/block/embed": ee,
|
|
9790
9790
|
"blots/break": de,
|
|
9791
9791
|
"blots/container": Cn,
|
|
@@ -9822,10 +9822,10 @@ const nk = new ek("indent", "ql-indent", {
|
|
|
9822
9822
|
// @ts-expect-error
|
|
9823
9823
|
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
9824
9824
|
});
|
|
9825
|
-
class Na extends
|
|
9825
|
+
class Na extends jt {
|
|
9826
9826
|
}
|
|
9827
9827
|
Q(Na, "blotName", "blockquote"), Q(Na, "tagName", "blockquote");
|
|
9828
|
-
class Oa extends
|
|
9828
|
+
class Oa extends jt {
|
|
9829
9829
|
static formats(t) {
|
|
9830
9830
|
return this.tagName.indexOf(t.tagName) + 1;
|
|
9831
9831
|
}
|
|
@@ -9835,7 +9835,7 @@ class Ys extends Cn {
|
|
|
9835
9835
|
}
|
|
9836
9836
|
Ys.blotName = "list-container";
|
|
9837
9837
|
Ys.tagName = "OL";
|
|
9838
|
-
class Js extends
|
|
9838
|
+
class Js extends jt {
|
|
9839
9839
|
static create(t) {
|
|
9840
9840
|
const e = super.create();
|
|
9841
9841
|
return e.setAttribute("data-list", t), e;
|
|
@@ -9844,7 +9844,7 @@ class Js extends qt {
|
|
|
9844
9844
|
return t.getAttribute("data-list") || void 0;
|
|
9845
9845
|
}
|
|
9846
9846
|
static register() {
|
|
9847
|
-
|
|
9847
|
+
q.register(Ys);
|
|
9848
9848
|
}
|
|
9849
9849
|
constructor(t, e) {
|
|
9850
9850
|
super(t, e);
|
|
@@ -9938,7 +9938,7 @@ class Wr extends ll {
|
|
|
9938
9938
|
}
|
|
9939
9939
|
Q(Wr, "blotName", "formula"), Q(Wr, "className", "ql-formula"), Q(Wr, "tagName", "SPAN");
|
|
9940
9940
|
const Yu = ["alt", "height", "width"];
|
|
9941
|
-
class
|
|
9941
|
+
class qa extends Xt {
|
|
9942
9942
|
static create(t) {
|
|
9943
9943
|
const e = super.create(t);
|
|
9944
9944
|
return typeof t == "string" && e.setAttribute("src", this.sanitize(t)), e;
|
|
@@ -9959,7 +9959,7 @@ class ja extends Xt {
|
|
|
9959
9959
|
Yu.indexOf(t) > -1 ? e ? this.domNode.setAttribute(t, e) : this.domNode.removeAttribute(t) : super.format(t, e);
|
|
9960
9960
|
}
|
|
9961
9961
|
}
|
|
9962
|
-
Q(
|
|
9962
|
+
Q(qa, "blotName", "image"), Q(qa, "tagName", "IMG");
|
|
9963
9963
|
const Ju = ["height", "width"];
|
|
9964
9964
|
class Gr extends ee {
|
|
9965
9965
|
static create(t) {
|
|
@@ -9986,10 +9986,10 @@ class Gr extends ee {
|
|
|
9986
9986
|
}
|
|
9987
9987
|
}
|
|
9988
9988
|
Q(Gr, "blotName", "video"), Q(Gr, "className", "ql-video"), Q(Gr, "tagName", "IFRAME");
|
|
9989
|
-
const
|
|
9989
|
+
const js = new he("code-token", "hljs", {
|
|
9990
9990
|
scope: nt.INLINE
|
|
9991
9991
|
});
|
|
9992
|
-
class
|
|
9992
|
+
class qe extends nn {
|
|
9993
9993
|
static formats(t, e) {
|
|
9994
9994
|
for (; t != null && t !== e.domNode; ) {
|
|
9995
9995
|
if (t.classList && t.classList.contains(Vt.className))
|
|
@@ -9998,17 +9998,17 @@ class je extends nn {
|
|
|
9998
9998
|
}
|
|
9999
9999
|
}
|
|
10000
10000
|
constructor(t, e, s) {
|
|
10001
|
-
super(t, e, s),
|
|
10001
|
+
super(t, e, s), js.add(this.domNode, s);
|
|
10002
10002
|
}
|
|
10003
10003
|
format(t, e) {
|
|
10004
|
-
t !==
|
|
10004
|
+
t !== qe.blotName ? super.format(t, e) : e ? js.add(this.domNode, e) : (js.remove(this.domNode), this.domNode.classList.remove(this.statics.className));
|
|
10005
10005
|
}
|
|
10006
10006
|
optimize() {
|
|
10007
|
-
super.optimize(...arguments),
|
|
10007
|
+
super.optimize(...arguments), js.value(this.domNode) || this.unwrap();
|
|
10008
10008
|
}
|
|
10009
10009
|
}
|
|
10010
|
-
|
|
10011
|
-
|
|
10010
|
+
qe.blotName = "code-token";
|
|
10011
|
+
qe.className = "ql-token";
|
|
10012
10012
|
class Qt extends Vt {
|
|
10013
10013
|
static create(t) {
|
|
10014
10014
|
const e = super.create(t);
|
|
@@ -10024,7 +10024,7 @@ class Qt extends Vt {
|
|
|
10024
10024
|
t === this.statics.blotName && e ? this.domNode.setAttribute("data-language", e) : super.format(t, e);
|
|
10025
10025
|
}
|
|
10026
10026
|
replaceWith(t, e) {
|
|
10027
|
-
return this.formatAt(0, this.length(),
|
|
10027
|
+
return this.formatAt(0, this.length(), qe.blotName, !1), super.replaceWith(t, e);
|
|
10028
10028
|
}
|
|
10029
10029
|
}
|
|
10030
10030
|
class Fs extends Nn {
|
|
@@ -10054,7 +10054,7 @@ class Fs extends Nn {
|
|
|
10054
10054
|
attributes: f
|
|
10055
10055
|
} = l;
|
|
10056
10056
|
return c ? (f && Object.keys(f).forEach((v) => {
|
|
10057
|
-
[Qt.blotName,
|
|
10057
|
+
[Qt.blotName, qe.blotName].includes(v) && this.formatAt(a, c, v, f[v]);
|
|
10058
10058
|
}), a + c) : a;
|
|
10059
10059
|
}, 0);
|
|
10060
10060
|
}
|
|
@@ -10076,7 +10076,7 @@ ${Ai(this.code(t, e))}
|
|
|
10076
10076
|
}
|
|
10077
10077
|
Fs.allowedChildren = [Qt];
|
|
10078
10078
|
Qt.requiredContainer = Fs;
|
|
10079
|
-
Qt.allowedChildren = [
|
|
10079
|
+
Qt.allowedChildren = [qe, Ci, ce, de];
|
|
10080
10080
|
const sk = (n, t, e) => {
|
|
10081
10081
|
if (typeof n.versionString == "string") {
|
|
10082
10082
|
const s = n.versionString.split(".")[0];
|
|
@@ -10089,7 +10089,7 @@ const sk = (n, t, e) => {
|
|
|
10089
10089
|
};
|
|
10090
10090
|
class vf extends fe {
|
|
10091
10091
|
static register() {
|
|
10092
|
-
|
|
10092
|
+
q.register(qe, !0), q.register(Qt, !0), q.register(Fs, !0);
|
|
10093
10093
|
}
|
|
10094
10094
|
constructor(t, e) {
|
|
10095
10095
|
if (super(t, e), this.options.hljs == null)
|
|
@@ -10102,7 +10102,7 @@ class vf extends fe {
|
|
|
10102
10102
|
}, {}), this.highlightBlot = this.highlightBlot.bind(this), this.initListener(), this.initTimer();
|
|
10103
10103
|
}
|
|
10104
10104
|
initListener() {
|
|
10105
|
-
this.quill.on(
|
|
10105
|
+
this.quill.on(q.events.SCROLL_BLOT_MOUNT, (t) => {
|
|
10106
10106
|
if (!(t instanceof Fs)) return;
|
|
10107
10107
|
const e = this.quill.root.ownerDocument.createElement("select");
|
|
10108
10108
|
this.options.languages.forEach((s) => {
|
|
@@ -10119,7 +10119,7 @@ class vf extends fe {
|
|
|
10119
10119
|
}
|
|
10120
10120
|
initTimer() {
|
|
10121
10121
|
let t = null;
|
|
10122
|
-
this.quill.on(
|
|
10122
|
+
this.quill.on(q.events.SCROLL_OPTIMIZE, () => {
|
|
10123
10123
|
t && clearTimeout(t), t = setTimeout(() => {
|
|
10124
10124
|
this.highlight(), t = null;
|
|
10125
10125
|
}, this.options.interval);
|
|
@@ -10128,11 +10128,11 @@ class vf extends fe {
|
|
|
10128
10128
|
highlight() {
|
|
10129
10129
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
10130
10130
|
if (this.quill.selection.composing) return;
|
|
10131
|
-
this.quill.update(
|
|
10131
|
+
this.quill.update(q.sources.USER);
|
|
10132
10132
|
const s = this.quill.getSelection();
|
|
10133
10133
|
(t == null ? this.quill.scroll.descendants(Fs) : [t]).forEach((r) => {
|
|
10134
10134
|
r.highlight(this.highlightBlot, e);
|
|
10135
|
-
}), this.quill.update(
|
|
10135
|
+
}), this.quill.update(q.sources.SILENT), s != null && this.quill.setSelection(s, q.sources.SILENT);
|
|
10136
10136
|
}
|
|
10137
10137
|
highlightBlot(t) {
|
|
10138
10138
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "plain";
|
|
@@ -10144,9 +10144,9 @@ class vf extends fe {
|
|
|
10144
10144
|
}), r.insert(i)), new et());
|
|
10145
10145
|
const s = this.quill.root.ownerDocument.createElement("div");
|
|
10146
10146
|
return s.classList.add(Vt.className), s.innerHTML = sk(this.options.hljs, e, t), ml(this.quill.scroll, s, [(r, i) => {
|
|
10147
|
-
const o =
|
|
10147
|
+
const o = js.value(r);
|
|
10148
10148
|
return o ? i.compose(new et().retain(i.length(), {
|
|
10149
|
-
[
|
|
10149
|
+
[qe.blotName]: o
|
|
10150
10150
|
})) : i;
|
|
10151
10151
|
}], [(r, i) => r.data.split(`
|
|
10152
10152
|
`).reduce((o, a, l) => (l !== 0 && o.insert(`
|
|
@@ -10202,7 +10202,7 @@ vf.DEFAULTS = {
|
|
|
10202
10202
|
label: "SQL"
|
|
10203
10203
|
}]
|
|
10204
10204
|
};
|
|
10205
|
-
const
|
|
10205
|
+
const ja = class yf extends jt {
|
|
10206
10206
|
static create(t) {
|
|
10207
10207
|
const e = super.create();
|
|
10208
10208
|
return t ? e.setAttribute("data-row", t) : e.setAttribute("data-row", gl()), e;
|
|
@@ -10227,9 +10227,9 @@ const qa = class yf extends qt {
|
|
|
10227
10227
|
return this.row() && this.row().table();
|
|
10228
10228
|
}
|
|
10229
10229
|
};
|
|
10230
|
-
Q(
|
|
10231
|
-
let Re =
|
|
10232
|
-
class
|
|
10230
|
+
Q(ja, "blotName", "table"), Q(ja, "tagName", "TD");
|
|
10231
|
+
let Re = ja;
|
|
10232
|
+
class je extends Cn {
|
|
10233
10233
|
checkMerge() {
|
|
10234
10234
|
if (super.checkMerge() && this.next.children.head != null) {
|
|
10235
10235
|
const t = this.children.head.formats(), e = this.children.tail.formats(), s = this.next.children.head.formats(), r = this.next.children.tail.formats();
|
|
@@ -10254,13 +10254,13 @@ class qe extends Cn {
|
|
|
10254
10254
|
return this.parent && this.parent.parent;
|
|
10255
10255
|
}
|
|
10256
10256
|
}
|
|
10257
|
-
Q(
|
|
10257
|
+
Q(je, "blotName", "table-row"), Q(je, "tagName", "TR");
|
|
10258
10258
|
class ke extends Cn {
|
|
10259
10259
|
}
|
|
10260
10260
|
Q(ke, "blotName", "table-body"), Q(ke, "tagName", "TBODY");
|
|
10261
10261
|
class ls extends Cn {
|
|
10262
10262
|
balanceCells() {
|
|
10263
|
-
const t = this.descendants(
|
|
10263
|
+
const t = this.descendants(je), e = t.reduce((s, r) => Math.max(r.children.length, s), 0);
|
|
10264
10264
|
t.forEach((s) => {
|
|
10265
10265
|
new Array(e - s.children.length).fill(0).forEach(() => {
|
|
10266
10266
|
let r;
|
|
@@ -10290,7 +10290,7 @@ class ls extends Cn {
|
|
|
10290
10290
|
insertRow(t) {
|
|
10291
10291
|
const [e] = this.descendant(ke);
|
|
10292
10292
|
if (e == null || e.children.head == null) return;
|
|
10293
|
-
const s = gl(), r = this.scroll.create(
|
|
10293
|
+
const s = gl(), r = this.scroll.create(je.blotName);
|
|
10294
10294
|
e.children.head.children.forEach(() => {
|
|
10295
10295
|
const o = this.scroll.create(Re.blotName, s);
|
|
10296
10296
|
r.appendChild(o);
|
|
@@ -10306,16 +10306,16 @@ class ls extends Cn {
|
|
|
10306
10306
|
Q(ls, "blotName", "table-container"), Q(ls, "tagName", "TABLE");
|
|
10307
10307
|
ls.allowedChildren = [ke];
|
|
10308
10308
|
ke.requiredContainer = ls;
|
|
10309
|
-
ke.allowedChildren = [
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
Re.requiredContainer =
|
|
10309
|
+
ke.allowedChildren = [je];
|
|
10310
|
+
je.requiredContainer = ke;
|
|
10311
|
+
je.allowedChildren = [Re];
|
|
10312
|
+
Re.requiredContainer = je;
|
|
10313
10313
|
function gl() {
|
|
10314
10314
|
return `row-${Math.random().toString(36).slice(2, 6)}`;
|
|
10315
10315
|
}
|
|
10316
10316
|
class rk extends fe {
|
|
10317
10317
|
static register() {
|
|
10318
|
-
|
|
10318
|
+
q.register(Re), q.register(je), q.register(ke), q.register(ls);
|
|
10319
10319
|
}
|
|
10320
10320
|
constructor() {
|
|
10321
10321
|
super(...arguments), this.listenBalanceCells();
|
|
@@ -10327,17 +10327,17 @@ class rk extends fe {
|
|
|
10327
10327
|
}
|
|
10328
10328
|
deleteColumn() {
|
|
10329
10329
|
const [t, , e] = this.getTable();
|
|
10330
|
-
e != null && (t.deleteColumn(e.cellOffset()), this.quill.update(
|
|
10330
|
+
e != null && (t.deleteColumn(e.cellOffset()), this.quill.update(q.sources.USER));
|
|
10331
10331
|
}
|
|
10332
10332
|
deleteRow() {
|
|
10333
10333
|
const [, t] = this.getTable();
|
|
10334
|
-
t != null && (t.remove(), this.quill.update(
|
|
10334
|
+
t != null && (t.remove(), this.quill.update(q.sources.USER));
|
|
10335
10335
|
}
|
|
10336
10336
|
deleteTable() {
|
|
10337
10337
|
const [t] = this.getTable();
|
|
10338
10338
|
if (t == null) return;
|
|
10339
10339
|
const e = t.offset();
|
|
10340
|
-
t.remove(), this.quill.update(
|
|
10340
|
+
t.remove(), this.quill.update(q.sources.USER), this.quill.setSelection(e, q.sources.SILENT);
|
|
10341
10341
|
}
|
|
10342
10342
|
getTable() {
|
|
10343
10343
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.quill.getSelection();
|
|
@@ -10354,9 +10354,9 @@ class rk extends fe {
|
|
|
10354
10354
|
const [s, r, i] = this.getTable(e);
|
|
10355
10355
|
if (i == null) return;
|
|
10356
10356
|
const o = i.cellOffset();
|
|
10357
|
-
s.insertColumn(o + t), this.quill.update(
|
|
10357
|
+
s.insertColumn(o + t), this.quill.update(q.sources.USER);
|
|
10358
10358
|
let a = r.rowOffset();
|
|
10359
|
-
t === 0 && (a += 1), this.quill.setSelection(e.index + a, e.length,
|
|
10359
|
+
t === 0 && (a += 1), this.quill.setSelection(e.index + a, e.length, q.sources.SILENT);
|
|
10360
10360
|
}
|
|
10361
10361
|
insertColumnLeft() {
|
|
10362
10362
|
this.insertColumn(0);
|
|
@@ -10370,7 +10370,7 @@ class rk extends fe {
|
|
|
10370
10370
|
const [s, r, i] = this.getTable(e);
|
|
10371
10371
|
if (i == null) return;
|
|
10372
10372
|
const o = r.rowOffset();
|
|
10373
|
-
s.insertRow(o + t), this.quill.update(
|
|
10373
|
+
s.insertRow(o + t), this.quill.update(q.sources.USER), t > 0 ? this.quill.setSelection(e, q.sources.SILENT) : this.quill.setSelection(e.index + r.children.length, e.length, q.sources.SILENT);
|
|
10374
10374
|
}
|
|
10375
10375
|
insertRowAbove() {
|
|
10376
10376
|
this.insertRow(0);
|
|
@@ -10388,12 +10388,12 @@ class rk extends fe {
|
|
|
10388
10388
|
table: gl()
|
|
10389
10389
|
});
|
|
10390
10390
|
}, new et().retain(s.index));
|
|
10391
|
-
this.quill.updateContents(r,
|
|
10391
|
+
this.quill.updateContents(r, q.sources.USER), this.quill.setSelection(s.index, q.sources.SILENT), this.balanceTables();
|
|
10392
10392
|
}
|
|
10393
10393
|
listenBalanceCells() {
|
|
10394
|
-
this.quill.on(
|
|
10395
|
-
t.some((e) => ["TD", "TR", "TBODY", "TABLE"].includes(e.target.tagName) ? (this.quill.once(
|
|
10396
|
-
i ===
|
|
10394
|
+
this.quill.on(q.events.SCROLL_OPTIMIZE, (t) => {
|
|
10395
|
+
t.some((e) => ["TD", "TR", "TBODY", "TABLE"].includes(e.target.tagName) ? (this.quill.once(q.events.TEXT_CHANGE, (s, r, i) => {
|
|
10396
|
+
i === q.sources.USER && this.balanceTables();
|
|
10397
10397
|
}), !0) : !1);
|
|
10398
10398
|
});
|
|
10399
10399
|
}
|
|
@@ -10416,7 +10416,7 @@ class vl extends fe {
|
|
|
10416
10416
|
a && this.addHandler(i, a);
|
|
10417
10417
|
}), Array.from(this.container.querySelectorAll("button, select")).forEach((i) => {
|
|
10418
10418
|
this.attach(i);
|
|
10419
|
-
}), this.quill.on(
|
|
10419
|
+
}), this.quill.on(q.events.EDITOR_CHANGE, () => {
|
|
10420
10420
|
const [i] = this.quill.selection.getRange();
|
|
10421
10421
|
this.update(i);
|
|
10422
10422
|
});
|
|
@@ -10451,9 +10451,9 @@ class vl extends fe {
|
|
|
10451
10451
|
if (i = prompt(`Enter ${e}`), !i) return;
|
|
10452
10452
|
this.quill.updateContents(new et().retain(o.index).delete(o.length).insert({
|
|
10453
10453
|
[e]: i
|
|
10454
|
-
}),
|
|
10454
|
+
}), q.sources.USER);
|
|
10455
10455
|
} else
|
|
10456
|
-
this.quill.format(e, i,
|
|
10456
|
+
this.quill.format(e, i, q.sources.USER);
|
|
10457
10457
|
this.update(o);
|
|
10458
10458
|
}), this.controls.push([e, t]);
|
|
10459
10459
|
}
|
|
@@ -10518,34 +10518,34 @@ vl.DEFAULTS = {
|
|
|
10518
10518
|
if (n.length === 0) {
|
|
10519
10519
|
const t = this.quill.getFormat();
|
|
10520
10520
|
Object.keys(t).forEach((e) => {
|
|
10521
|
-
this.quill.scroll.query(e, nt.INLINE) != null && this.quill.format(e, !1,
|
|
10521
|
+
this.quill.scroll.query(e, nt.INLINE) != null && this.quill.format(e, !1, q.sources.USER);
|
|
10522
10522
|
});
|
|
10523
10523
|
} else
|
|
10524
|
-
this.quill.removeFormat(n.index, n.length,
|
|
10524
|
+
this.quill.removeFormat(n.index, n.length, q.sources.USER);
|
|
10525
10525
|
},
|
|
10526
10526
|
direction(n) {
|
|
10527
10527
|
const {
|
|
10528
10528
|
align: t
|
|
10529
10529
|
} = this.quill.getFormat();
|
|
10530
|
-
n === "rtl" && t == null ? this.quill.format("align", "right",
|
|
10530
|
+
n === "rtl" && t == null ? this.quill.format("align", "right", q.sources.USER) : !n && t === "right" && this.quill.format("align", !1, q.sources.USER), this.quill.format("direction", n, q.sources.USER);
|
|
10531
10531
|
},
|
|
10532
10532
|
indent(n) {
|
|
10533
10533
|
const t = this.quill.getSelection(), e = this.quill.getFormat(t), s = parseInt(e.indent || 0, 10);
|
|
10534
10534
|
if (n === "+1" || n === "-1") {
|
|
10535
10535
|
let r = n === "+1" ? 1 : -1;
|
|
10536
|
-
e.direction === "rtl" && (r *= -1), this.quill.format("indent", s + r,
|
|
10536
|
+
e.direction === "rtl" && (r *= -1), this.quill.format("indent", s + r, q.sources.USER);
|
|
10537
10537
|
}
|
|
10538
10538
|
},
|
|
10539
10539
|
link(n) {
|
|
10540
|
-
n === !0 && (n = prompt("Enter link URL:")), this.quill.format("link", n,
|
|
10540
|
+
n === !0 && (n = prompt("Enter link URL:")), this.quill.format("link", n, q.sources.USER);
|
|
10541
10541
|
},
|
|
10542
10542
|
list(n) {
|
|
10543
10543
|
const t = this.quill.getSelection(), e = this.quill.getFormat(t);
|
|
10544
|
-
n === "check" ? e.list === "checked" || e.list === "unchecked" ? this.quill.format("list", !1,
|
|
10544
|
+
n === "check" ? e.list === "checked" || e.list === "unchecked" ? this.quill.format("list", !1, q.sources.USER) : this.quill.format("list", "unchecked", q.sources.USER) : this.quill.format("list", n, q.sources.USER);
|
|
10545
10545
|
}
|
|
10546
10546
|
}
|
|
10547
10547
|
};
|
|
10548
|
-
const ak = '<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>', lk = '<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>', uk = '<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>', ck = '<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>', hk = '<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>', dk = '<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>', fk = '<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>', pk = '<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>', ec = '<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>', mk = '<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>', gk = '<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>', vk = '<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>', yk = '<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>', bk = '<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>', xk = '<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>', kk = '<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>', wk = '<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>', Ek = '<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>', _k = '<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>', Sk = '<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>', Ak = '<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>', Ck = '<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>', Nk = '<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>', Ok = '<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>', Tk = '<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>', Rk = '<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>', Ik = '<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>', Lk = '<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>', jk = '<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>', qk = '<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>', Dk = '<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>', Mk = '<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>', Fk = '<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>', Ks = {
|
|
10548
|
+
const ak = '<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>', lk = '<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>', uk = '<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>', ck = '<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>', hk = '<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>', dk = '<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>', fk = '<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>', pk = '<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>', ec = '<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>', mk = '<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>', gk = '<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>', vk = '<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>', yk = '<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>', bk = '<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>', xk = '<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>', kk = '<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>', wk = '<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>', Ek = '<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>', _k = '<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>', Sk = '<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>', Ak = '<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>', Ck = '<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>', Nk = '<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>', Ok = '<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>', Tk = '<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>', Rk = '<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>', Ik = '<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>', Lk = '<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>', qk = '<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>', jk = '<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>', Dk = '<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>', Mk = '<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>', Fk = '<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>', Ks = {
|
|
10549
10549
|
align: {
|
|
10550
10550
|
"": ak,
|
|
10551
10551
|
center: lk,
|
|
@@ -10586,9 +10586,9 @@ const ak = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="
|
|
|
10586
10586
|
},
|
|
10587
10587
|
script: {
|
|
10588
10588
|
sub: Lk,
|
|
10589
|
-
super:
|
|
10589
|
+
super: qk
|
|
10590
10590
|
},
|
|
10591
|
-
strike:
|
|
10591
|
+
strike: jk,
|
|
10592
10592
|
table: Dk,
|
|
10593
10593
|
underline: Mk,
|
|
10594
10594
|
video: Fk
|
|
@@ -10936,7 +10936,7 @@ _f.DEFAULTS = Ge({}, Qs.DEFAULTS, {
|
|
|
10936
10936
|
toolbar: {
|
|
10937
10937
|
handlers: {
|
|
10938
10938
|
link(n) {
|
|
10939
|
-
n ? this.quill.theme.tooltip.edit() : this.quill.format("link", !1,
|
|
10939
|
+
n ? this.quill.theme.tooltip.edit() : this.quill.format("link", !1, q.sources.USER);
|
|
10940
10940
|
}
|
|
10941
10941
|
}
|
|
10942
10942
|
}
|
|
@@ -11013,13 +11013,13 @@ Af.DEFAULTS = Ge({}, Qs.DEFAULTS, {
|
|
|
11013
11013
|
} = this.quill.theme;
|
|
11014
11014
|
s.edit("link", e);
|
|
11015
11015
|
} else
|
|
11016
|
-
this.quill.format("link", !1,
|
|
11016
|
+
this.quill.format("link", !1, q.sources.USER);
|
|
11017
11017
|
}
|
|
11018
11018
|
}
|
|
11019
11019
|
}
|
|
11020
11020
|
}
|
|
11021
11021
|
});
|
|
11022
|
-
|
|
11022
|
+
q.register({
|
|
11023
11023
|
"attributors/attribute/direction": sf,
|
|
11024
11024
|
"attributors/class/align": tf,
|
|
11025
11025
|
"attributors/class/background": dx,
|
|
@@ -11034,7 +11034,7 @@ j.register({
|
|
|
11034
11034
|
"attributors/style/font": uf,
|
|
11035
11035
|
"attributors/style/size": hf
|
|
11036
11036
|
}, !0);
|
|
11037
|
-
|
|
11037
|
+
q.register({
|
|
11038
11038
|
"formats/align": tf,
|
|
11039
11039
|
"formats/direction": rf,
|
|
11040
11040
|
"formats/indent": nk,
|
|
@@ -11054,7 +11054,7 @@ j.register({
|
|
|
11054
11054
|
"formats/strike": Ia,
|
|
11055
11055
|
"formats/underline": La,
|
|
11056
11056
|
"formats/formula": Wr,
|
|
11057
|
-
"formats/image":
|
|
11057
|
+
"formats/image": qa,
|
|
11058
11058
|
"formats/video": Gr,
|
|
11059
11059
|
"modules/syntax": vf,
|
|
11060
11060
|
"modules/table": rk,
|
|
@@ -11180,7 +11180,7 @@ class Ri extends ot.Component {
|
|
|
11180
11180
|
configuration, have its events bound,
|
|
11181
11181
|
*/
|
|
11182
11182
|
createEditor(t, e) {
|
|
11183
|
-
const s = new
|
|
11183
|
+
const s = new q(t, e);
|
|
11184
11184
|
return e.tabIndex != null && this.setEditorTabIndex(s, e.tabIndex), this.hookEditor(s), s;
|
|
11185
11185
|
}
|
|
11186
11186
|
hookEditor(t) {
|
|
@@ -11288,7 +11288,7 @@ class Ri extends ot.Component {
|
|
|
11288
11288
|
}
|
|
11289
11289
|
}
|
|
11290
11290
|
Ri.displayName = "React Quill";
|
|
11291
|
-
Ri.Quill =
|
|
11291
|
+
Ri.Quill = q;
|
|
11292
11292
|
Ri.defaultProps = {
|
|
11293
11293
|
theme: "snow",
|
|
11294
11294
|
modules: {},
|
|
@@ -13088,10 +13088,10 @@ Ie.DEFAULTS = {
|
|
|
13088
13088
|
}
|
|
13089
13089
|
};
|
|
13090
13090
|
lt.MaskedDate = Ie;
|
|
13091
|
-
class
|
|
13091
|
+
class qi extends Ut {
|
|
13092
13092
|
constructor(t) {
|
|
13093
13093
|
super({
|
|
13094
|
-
...
|
|
13094
|
+
...qi.DEFAULTS,
|
|
13095
13095
|
...t
|
|
13096
13096
|
}), this.currentMask = void 0;
|
|
13097
13097
|
}
|
|
@@ -13284,7 +13284,7 @@ class ji extends Ut {
|
|
|
13284
13284
|
return !!((e = this.currentMask) != null && e.typedValueEquals(t));
|
|
13285
13285
|
}
|
|
13286
13286
|
}
|
|
13287
|
-
|
|
13287
|
+
qi.DEFAULTS = {
|
|
13288
13288
|
...Ut.DEFAULTS,
|
|
13289
13289
|
dispatch: (n, t, e, s) => {
|
|
13290
13290
|
if (!t.compiledMasks.length) return;
|
|
@@ -13301,11 +13301,11 @@ ji.DEFAULTS = {
|
|
|
13301
13301
|
return i.sort((o, a) => a.weight - o.weight || a.totalInputPositions - o.totalInputPositions), t.compiledMasks[i[0].index];
|
|
13302
13302
|
}
|
|
13303
13303
|
};
|
|
13304
|
-
lt.MaskedDynamic =
|
|
13305
|
-
class
|
|
13304
|
+
lt.MaskedDynamic = qi;
|
|
13305
|
+
class ji extends $t {
|
|
13306
13306
|
constructor(t) {
|
|
13307
13307
|
super({
|
|
13308
|
-
...
|
|
13308
|
+
...ji.DEFAULTS,
|
|
13309
13309
|
...t
|
|
13310
13310
|
});
|
|
13311
13311
|
}
|
|
@@ -13354,11 +13354,11 @@ class qi extends $t {
|
|
|
13354
13354
|
return this.enum.indexOf(this.value) >= 0;
|
|
13355
13355
|
}
|
|
13356
13356
|
}
|
|
13357
|
-
|
|
13357
|
+
ji.DEFAULTS = {
|
|
13358
13358
|
...$t.DEFAULTS,
|
|
13359
13359
|
matchValue: (n, t, e) => n.indexOf(t, e) === e
|
|
13360
13360
|
};
|
|
13361
|
-
lt.MaskedEnum =
|
|
13361
|
+
lt.MaskedEnum = ji;
|
|
13362
13362
|
class ow extends Ut {
|
|
13363
13363
|
/** */
|
|
13364
13364
|
/** Enable characters overwriting */
|
|
@@ -13819,7 +13819,7 @@ function cw() {
|
|
|
13819
13819
|
}
|
|
13820
13820
|
}
|
|
13821
13821
|
}
|
|
13822
|
-
var E = l, B = c, H = a, at = o, ht = t, mt = f, y = s,
|
|
13822
|
+
var E = l, B = c, H = a, at = o, ht = t, mt = f, y = s, j = m, _ = d, $ = e, V = i, N = r, M = v, Z = !1;
|
|
13823
13823
|
function X(I) {
|
|
13824
13824
|
return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), A(I) || C(I) === l;
|
|
13825
13825
|
}
|
|
@@ -13859,7 +13859,7 @@ function cw() {
|
|
|
13859
13859
|
function J(I) {
|
|
13860
13860
|
return C(I) === v;
|
|
13861
13861
|
}
|
|
13862
|
-
kt.AsyncMode = E, kt.ConcurrentMode = B, kt.ContextConsumer = H, kt.ContextProvider = at, kt.Element = ht, kt.ForwardRef = mt, kt.Fragment = y, kt.Lazy =
|
|
13862
|
+
kt.AsyncMode = E, kt.ConcurrentMode = B, kt.ContextConsumer = H, kt.ContextProvider = at, kt.Element = ht, kt.ForwardRef = mt, kt.Fragment = y, kt.Lazy = j, kt.Memo = _, kt.Portal = $, kt.Profiler = V, kt.StrictMode = N, kt.Suspense = M, kt.isAsyncMode = X, kt.isConcurrentMode = A, kt.isContextConsumer = L, kt.isContextProvider = F, kt.isElement = G, kt.isForwardRef = K, kt.isFragment = z, kt.isLazy = Y, kt.isMemo = D, kt.isPortal = P, kt.isProfiler = W, kt.isStrictMode = U, kt.isSuspense = J, kt.isValidElementType = S, kt.typeOf = C;
|
|
13863
13863
|
}()), kt;
|
|
13864
13864
|
}
|
|
13865
13865
|
var uc;
|
|
@@ -13925,7 +13925,7 @@ function bl() {
|
|
|
13925
13925
|
return Go = n, Go;
|
|
13926
13926
|
}
|
|
13927
13927
|
var dc, fc;
|
|
13928
|
-
function
|
|
13928
|
+
function qf() {
|
|
13929
13929
|
return fc || (fc = 1, dc = Function.call.bind(Object.prototype.hasOwnProperty)), dc;
|
|
13930
13930
|
}
|
|
13931
13931
|
var Zo, pc;
|
|
@@ -13935,7 +13935,7 @@ function dw() {
|
|
|
13935
13935
|
var n = function() {
|
|
13936
13936
|
};
|
|
13937
13937
|
if (process.env.NODE_ENV !== "production") {
|
|
13938
|
-
var t = /* @__PURE__ */ bl(), e = {}, s = /* @__PURE__ */
|
|
13938
|
+
var t = /* @__PURE__ */ bl(), e = {}, s = /* @__PURE__ */ qf();
|
|
13939
13939
|
n = function(i) {
|
|
13940
13940
|
var o = "Warning: " + i;
|
|
13941
13941
|
typeof console < "u" && console.error(o);
|
|
@@ -13981,7 +13981,7 @@ var Xo, mc;
|
|
|
13981
13981
|
function fw() {
|
|
13982
13982
|
if (mc) return Xo;
|
|
13983
13983
|
mc = 1;
|
|
13984
|
-
var n = Lf(), t = hw(), e = /* @__PURE__ */ bl(), s = /* @__PURE__ */
|
|
13984
|
+
var n = Lf(), t = hw(), e = /* @__PURE__ */ bl(), s = /* @__PURE__ */ qf(), r = /* @__PURE__ */ dw(), i = function() {
|
|
13985
13985
|
};
|
|
13986
13986
|
process.env.NODE_ENV !== "production" && (i = function(a) {
|
|
13987
13987
|
var l = "Warning: " + a;
|
|
@@ -14019,7 +14019,7 @@ function fw() {
|
|
|
14019
14019
|
objectOf: at,
|
|
14020
14020
|
oneOf: H,
|
|
14021
14021
|
oneOfType: ht,
|
|
14022
|
-
shape:
|
|
14022
|
+
shape: j,
|
|
14023
14023
|
exact: _
|
|
14024
14024
|
};
|
|
14025
14025
|
function m(A, L) {
|
|
@@ -14186,7 +14186,7 @@ function fw() {
|
|
|
14186
14186
|
(A || "React class") + ": " + L + " type `" + F + "." + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + K + "`."
|
|
14187
14187
|
);
|
|
14188
14188
|
}
|
|
14189
|
-
function
|
|
14189
|
+
function j(A) {
|
|
14190
14190
|
function L(F, G, K, z, Y) {
|
|
14191
14191
|
var D = F[G], P = N(D);
|
|
14192
14192
|
if (P !== "object")
|
|
@@ -14357,7 +14357,7 @@ function mw() {
|
|
|
14357
14357
|
return Rr.exports;
|
|
14358
14358
|
}
|
|
14359
14359
|
var gw = /* @__PURE__ */ mw();
|
|
14360
|
-
const st = /* @__PURE__ */ Pa(gw),
|
|
14360
|
+
const st = /* @__PURE__ */ Pa(gw), jf = {
|
|
14361
14361
|
// common
|
|
14362
14362
|
mask: st.oneOfType([st.array, st.func, st.string, st.instanceOf(RegExp), st.oneOf([Date, Number, lt.Masked]), st.instanceOf(lt.Masked)]),
|
|
14363
14363
|
value: st.any,
|
|
@@ -14404,7 +14404,7 @@ const st = /* @__PURE__ */ Pa(gw), qf = {
|
|
|
14404
14404
|
inputRef: st.oneOfType([st.func, st.shape({
|
|
14405
14405
|
current: st.object
|
|
14406
14406
|
})])
|
|
14407
|
-
}, Df = Object.keys(
|
|
14407
|
+
}, Df = Object.keys(jf).filter((n) => n !== "value"), vw = ["value", "unmask", "onAccept", "onComplete", "inputRef"], yw = Df.filter((n) => vw.indexOf(n) < 0);
|
|
14408
14408
|
function bw(n) {
|
|
14409
14409
|
var t;
|
|
14410
14410
|
const e = (t = class extends ot.Component {
|
|
@@ -14470,7 +14470,7 @@ function bw(n) {
|
|
|
14470
14470
|
});
|
|
14471
14471
|
}
|
|
14472
14472
|
}, t.displayName = void 0, t.propTypes = void 0, t), s = n.displayName || n.name || "Component";
|
|
14473
|
-
return e.displayName = "IMask(" + s + ")", e.propTypes =
|
|
14473
|
+
return e.displayName = "IMask(" + s + ")", e.propTypes = jf, ot.forwardRef((r, i) => ot.createElement(e, {
|
|
14474
14474
|
...r,
|
|
14475
14475
|
ref: i
|
|
14476
14476
|
}));
|
|
@@ -14500,30 +14500,30 @@ const xw = bw((n) => {
|
|
|
14500
14500
|
Ew.displayName = "MaskInput";
|
|
14501
14501
|
export {
|
|
14502
14502
|
Wg as $,
|
|
14503
|
-
|
|
14503
|
+
Ym as G,
|
|
14504
14504
|
Xm as H,
|
|
14505
14505
|
sd as J,
|
|
14506
|
-
|
|
14507
|
-
|
|
14506
|
+
jw as K,
|
|
14507
|
+
Bw as Q,
|
|
14508
14508
|
Gg as U,
|
|
14509
14509
|
Kg as V,
|
|
14510
14510
|
Qm as W,
|
|
14511
|
-
|
|
14512
|
-
Fw as
|
|
14513
|
-
|
|
14514
|
-
|
|
14515
|
-
jw as b,
|
|
14511
|
+
Pw as X,
|
|
14512
|
+
Fw as Z,
|
|
14513
|
+
Jm as a,
|
|
14514
|
+
qw as b,
|
|
14516
14515
|
ig as c,
|
|
14517
14516
|
o0 as d,
|
|
14518
14517
|
rd as e,
|
|
14519
14518
|
Yk as f,
|
|
14520
14519
|
Ew as g,
|
|
14521
14520
|
i0 as h,
|
|
14522
|
-
|
|
14521
|
+
nd as i,
|
|
14523
14522
|
Hg as j,
|
|
14524
14523
|
Im as k,
|
|
14525
|
-
|
|
14526
|
-
|
|
14524
|
+
ed as l,
|
|
14525
|
+
$a as m,
|
|
14526
|
+
mi as n,
|
|
14527
14527
|
ch as o,
|
|
14528
14528
|
og as t,
|
|
14529
14529
|
wp as v,
|