@dcodegroup-au/page-builder 0.2.0 → 0.2.2
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/page-builder.css +1 -1
- package/dist/page-builder.es.js +505 -503
- package/dist/page-builder.umd.js +28 -28
- package/package.json +1 -1
- package/src/components/ItemEdit.vue +1 -1
- package/src/components/PageBuilder.vue +1 -1
- package/src/components/presenters/components/VVerticalTabPresenter.vue +2 -2
- package/src/components/presenters/modules/QuickLinks.vue +10 -7
- package/src/components/presenters/modules/VTabs.vue +2 -2
package/dist/page-builder.es.js
CHANGED
|
@@ -2501,22 +2501,22 @@ ht.getAdapter = gu.getAdapter;
|
|
|
2501
2501
|
ht.HttpStatusCode = ha;
|
|
2502
2502
|
ht.default = ht;
|
|
2503
2503
|
const {
|
|
2504
|
-
Axios:
|
|
2505
|
-
AxiosError:
|
|
2506
|
-
CanceledError:
|
|
2507
|
-
isCancel:
|
|
2508
|
-
CancelToken:
|
|
2509
|
-
VERSION:
|
|
2510
|
-
all:
|
|
2511
|
-
Cancel:
|
|
2512
|
-
isAxiosError:
|
|
2513
|
-
spread:
|
|
2514
|
-
toFormData:
|
|
2515
|
-
AxiosHeaders:
|
|
2516
|
-
HttpStatusCode:
|
|
2517
|
-
formToJSON:
|
|
2518
|
-
getAdapter:
|
|
2519
|
-
mergeConfig:
|
|
2504
|
+
Axios: gA,
|
|
2505
|
+
AxiosError: vA,
|
|
2506
|
+
CanceledError: mA,
|
|
2507
|
+
isCancel: yA,
|
|
2508
|
+
CancelToken: bA,
|
|
2509
|
+
VERSION: xA,
|
|
2510
|
+
all: AA,
|
|
2511
|
+
Cancel: wA,
|
|
2512
|
+
isAxiosError: EA,
|
|
2513
|
+
spread: SA,
|
|
2514
|
+
toFormData: TA,
|
|
2515
|
+
AxiosHeaders: OA,
|
|
2516
|
+
HttpStatusCode: NA,
|
|
2517
|
+
formToJSON: RA,
|
|
2518
|
+
getAdapter: CA,
|
|
2519
|
+
mergeConfig: IA
|
|
2520
2520
|
} = ht;
|
|
2521
2521
|
var jr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2522
2522
|
function Ga(r) {
|
|
@@ -8532,7 +8532,7 @@ const lp = { render: op }, up = { class: "file-upload" }, cp = ["name", "value"]
|
|
|
8532
8532
|
}, Pp = { class: "page-builder" }, Fp = { class: "flex gap-4 px-6 overflow-auto" }, Mp = { class: "flex w-[356px] flex-col gap-2 pb-10" }, Dp = { class: "border-b border-gray-200 pb-2" }, Up = ["onClick"], Bp = { class: "text-lg font-semibold text-brand-800" }, jp = { class: "relative flex items-center gap-3" }, $p = { class: "cursor-pointer" }, _p = {
|
|
8533
8533
|
key: 0,
|
|
8534
8534
|
class: "flex flex-col gap-2"
|
|
8535
|
-
}, qp = ["onClick"], zp = { class: "flex flex-col" }, Hp = { class: "text-sm font-medium text-gray-900" }, Vp = { class: "flex items-center justify-between gap-3 px-[10px]" }, Gp = { class: "flex h-full flex-1 flex-col rounded-xl bg-gray-50 px-6 py-5 mb-20" }, Wp = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4
|
|
8535
|
+
}, qp = ["onClick"], zp = { class: "flex flex-col" }, Hp = { class: "text-sm font-medium text-gray-900" }, Vp = { class: "flex items-center justify-between gap-3 px-[10px]" }, Gp = { class: "flex h-full flex-1 flex-col rounded-xl bg-gray-50 px-6 py-5 mb-20" }, Wp = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" }, LA = {
|
|
8536
8536
|
__name: "PageBuilder",
|
|
8537
8537
|
props: {
|
|
8538
8538
|
modelValue: {
|
|
@@ -9824,7 +9824,7 @@ function Fg(r, e) {
|
|
|
9824
9824
|
}, null, -1)
|
|
9825
9825
|
]));
|
|
9826
9826
|
}
|
|
9827
|
-
const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h-[336px]" }, Ug = { class: "
|
|
9827
|
+
const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h-[336px]" }, Ug = { class: "max-w-[1400px] mx-auto w-full" }, Bg = { class: "max-md:mx-[30px] max-1xl:mx-[120px] 1xl:mx-0 relative z-10" }, jg = { class: "w-full md:w-3/4" }, $g = {
|
|
9828
9828
|
__name: "QuickLinks",
|
|
9829
9829
|
props: {
|
|
9830
9830
|
section: {
|
|
@@ -9839,22 +9839,24 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9839
9839
|
}), s = (o) => o != null && o.type ? n.value[o == null ? void 0 : o.type] : "";
|
|
9840
9840
|
return (o, a) => (ue(), he("div", Dg, [
|
|
9841
9841
|
Z("div", Ug, [
|
|
9842
|
-
(
|
|
9843
|
-
(ue(),
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9842
|
+
Z("div", Bg, [
|
|
9843
|
+
(ue(!0), he(dt, null, Nt(t.value.components, (l, i) => (ue(), he("div", jg, [
|
|
9844
|
+
(ue(), Bt(jn(s(l)), {
|
|
9845
|
+
key: i,
|
|
9846
|
+
component: l
|
|
9847
|
+
}, null, 8, ["component"]))
|
|
9848
|
+
]))), 256))
|
|
9849
|
+
])
|
|
9848
9850
|
]),
|
|
9849
9851
|
je(ze(Mg), { class: "absolute right-0 top-0" })
|
|
9850
9852
|
]));
|
|
9851
9853
|
}
|
|
9852
|
-
},
|
|
9854
|
+
}, _g = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" }, qg = { class: "flex-1 w-full md:w-1/2 flex flex-col" }, zg = ["onClick"], Hg = { class: "py-4 pl-4 md:pl-6" }, Vg = ["innerHTML"], Gg = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" }, Wg = ["src"], Kg = {
|
|
9853
9855
|
key: 1,
|
|
9854
9856
|
class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full",
|
|
9855
9857
|
src: xu,
|
|
9856
9858
|
alt: "No Image Available"
|
|
9857
|
-
},
|
|
9859
|
+
}, Xg = ["target", "href"], Yg = {
|
|
9858
9860
|
__name: "VVerticalTabPresenter",
|
|
9859
9861
|
props: {
|
|
9860
9862
|
component: {
|
|
@@ -9868,28 +9870,28 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9868
9870
|
};
|
|
9869
9871
|
return gs(() => {
|
|
9870
9872
|
s.value.length > 0 && o(s.value[0]);
|
|
9871
|
-
}), (a, l) => (ue(), he("div",
|
|
9872
|
-
Z("div",
|
|
9873
|
+
}), (a, l) => (ue(), he("div", _g, [
|
|
9874
|
+
Z("div", qg, [
|
|
9873
9875
|
(ue(!0), he(dt, null, Nt(s.value, (i) => (ue(), he("div", {
|
|
9874
9876
|
key: i.title
|
|
9875
9877
|
}, [
|
|
9876
9878
|
Z("div", {
|
|
9877
|
-
class: ot(["flex-col flex gap-1.5 cursor-pointer
|
|
9879
|
+
class: ot(["flex-col flex gap-1.5 cursor-pointer mb-4 group", { "border-l-4 border-brand-600": n.value === i, "border-l-4 border-gray-100": n.value !== i }]),
|
|
9878
9880
|
onClick: ai((u) => o(i), ["prevent"])
|
|
9879
9881
|
}, [
|
|
9880
|
-
Z("div",
|
|
9882
|
+
Z("div", Hg, [
|
|
9881
9883
|
Z("p", {
|
|
9882
9884
|
class: ot([{ "text-gray-900": n.value === i, "text-gray-600": n.value !== i }, "text-lg md:text-xl font-semibold mb-2 group-hover:text-gray-900"])
|
|
9883
9885
|
}, $e(i.title), 3),
|
|
9884
9886
|
Z("p", {
|
|
9885
9887
|
class: ot([{ "text-gray-700": n.value === i, "text-gray-400": n.value !== i }, "text-sm md:text-md font-normal group-hover:text-gray-700"]),
|
|
9886
9888
|
innerHTML: i.description
|
|
9887
|
-
}, null, 10,
|
|
9889
|
+
}, null, 10, Vg)
|
|
9888
9890
|
])
|
|
9889
|
-
], 10,
|
|
9891
|
+
], 10, zg)
|
|
9890
9892
|
]))), 128))
|
|
9891
9893
|
]),
|
|
9892
|
-
Z("div",
|
|
9894
|
+
Z("div", Gg, [
|
|
9893
9895
|
je(ql, {
|
|
9894
9896
|
name: "fade",
|
|
9895
9897
|
mode: "out-in"
|
|
@@ -9906,7 +9908,7 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9906
9908
|
src: n.value.featured_image,
|
|
9907
9909
|
alt: "Selected Item Image",
|
|
9908
9910
|
class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full"
|
|
9909
|
-
}, null, 8,
|
|
9911
|
+
}, null, 8, Wg)) : (ue(), he("img", Kg)),
|
|
9910
9912
|
(d = (c = n.value) == null ? void 0 : c.primary_button) != null && d.show ? (ue(), he("a", {
|
|
9911
9913
|
key: 2,
|
|
9912
9914
|
class: "text-sm md:text-md font-semibold text-brand-600 flex items-center gap-2 mt-4",
|
|
@@ -9915,7 +9917,7 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9915
9917
|
}, [
|
|
9916
9918
|
oi($e(((E = (y = n.value) == null ? void 0 : y.primary_button) == null ? void 0 : E.label) ?? "N/A") + " ", 1),
|
|
9917
9919
|
je(ze(Wa), { class: "w-4 h-4 md:w-5 md:h-5" })
|
|
9918
|
-
], 8,
|
|
9920
|
+
], 8, Xg)) : nt("", !0)
|
|
9919
9921
|
]))
|
|
9920
9922
|
];
|
|
9921
9923
|
}),
|
|
@@ -9924,7 +9926,7 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9924
9926
|
])
|
|
9925
9927
|
]));
|
|
9926
9928
|
}
|
|
9927
|
-
},
|
|
9929
|
+
}, Zg = /* @__PURE__ */ vs(Yg, [["__scopeId", "data-v-e5b200c8"]]), Qg = { class: "max-w-[1400px] mx-auto w-full" }, Jg = { class: "max-md:mx-[30px] max-1xl:mx-[120px] 1xl:mx-0 bg-navy-25 rounded-[48px] p-16" }, ev = {
|
|
9928
9930
|
__name: "VTabs",
|
|
9929
9931
|
props: {
|
|
9930
9932
|
section: {
|
|
@@ -9935,10 +9937,10 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9935
9937
|
setup(r) {
|
|
9936
9938
|
const t = Pe(r.section), n = Pe({
|
|
9937
9939
|
header: Pt(Ru),
|
|
9938
|
-
vertical_tabs: Pt(
|
|
9940
|
+
vertical_tabs: Pt(Zg)
|
|
9939
9941
|
}), s = (o) => o != null && o.type ? n.value[o == null ? void 0 : o.type] : "";
|
|
9940
|
-
return (o, a) => (ue(), he("div",
|
|
9941
|
-
Z("div",
|
|
9942
|
+
return (o, a) => (ue(), he("div", Qg, [
|
|
9943
|
+
Z("div", Jg, [
|
|
9942
9944
|
(ue(!0), he(dt, null, Nt(t.value.components, (l, i) => (ue(), he("div", null, [
|
|
9943
9945
|
(ue(), Bt(jn(s(l)), {
|
|
9944
9946
|
key: i,
|
|
@@ -9948,10 +9950,10 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9948
9950
|
])
|
|
9949
9951
|
]));
|
|
9950
9952
|
}
|
|
9951
|
-
},
|
|
9953
|
+
}, tv = ["href"], rv = ["src"], nv = {
|
|
9952
9954
|
key: 1,
|
|
9953
9955
|
class: "text-sm"
|
|
9954
|
-
},
|
|
9956
|
+
}, sv = {
|
|
9955
9957
|
__name: "LogoCloud",
|
|
9956
9958
|
props: {
|
|
9957
9959
|
section: {
|
|
@@ -9985,14 +9987,14 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9985
9987
|
src: u == null ? void 0 : u.logo,
|
|
9986
9988
|
class: ot(s(l == null ? void 0 : l.height)),
|
|
9987
9989
|
alt: "Brand Logo"
|
|
9988
|
-
}, null, 10,
|
|
9989
|
-
], 8,
|
|
9990
|
+
}, null, 10, rv)) : (ue(), he("span", nv, "No photo"))
|
|
9991
|
+
], 8, tv))), 256))
|
|
9990
9992
|
], 2)) : nt("", !0)
|
|
9991
9993
|
]))), 256))
|
|
9992
9994
|
], 2)
|
|
9993
9995
|
], 2));
|
|
9994
9996
|
}
|
|
9995
|
-
},
|
|
9997
|
+
}, iv = { class: "page-render" }, kA = {
|
|
9996
9998
|
__name: "PageRender",
|
|
9997
9999
|
props: {
|
|
9998
10000
|
page: {
|
|
@@ -10003,11 +10005,11 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
10003
10005
|
setup(r) {
|
|
10004
10006
|
const e = Pe({
|
|
10005
10007
|
header: Pt(kg),
|
|
10006
|
-
quick_links: Pt(
|
|
10007
|
-
tabs: Pt(
|
|
10008
|
-
logo: Pt(
|
|
10008
|
+
quick_links: Pt($g),
|
|
10009
|
+
tabs: Pt(ev),
|
|
10010
|
+
logo: Pt(sv)
|
|
10009
10011
|
}), t = (n) => n != null && n.type ? e.value[n == null ? void 0 : n.type] : "";
|
|
10010
|
-
return (n, s) => (ue(), he("div",
|
|
10012
|
+
return (n, s) => (ue(), he("div", iv, [
|
|
10011
10013
|
(ue(!0), he(dt, null, Nt(r.page.sections, (o, a) => (ue(), he("div", null, [
|
|
10012
10014
|
(ue(), Bt(jn(t(o)), {
|
|
10013
10015
|
key: a,
|
|
@@ -10017,24 +10019,24 @@ const Mg = { render: Fg }, Dg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
10017
10019
|
]));
|
|
10018
10020
|
}
|
|
10019
10021
|
};
|
|
10020
|
-
var Cu = typeof global == "object" && global && global.Object === Object && global,
|
|
10021
|
-
function
|
|
10022
|
-
var e =
|
|
10022
|
+
var Cu = typeof global == "object" && global && global.Object === Object && global, av = typeof self == "object" && self && self.Object === Object && self, Ar = Cu || av || Function("return this")(), Hr = Ar.Symbol, Iu = Object.prototype, ov = Iu.hasOwnProperty, lv = Iu.toString, Kn = Hr ? Hr.toStringTag : void 0;
|
|
10023
|
+
function uv(r) {
|
|
10024
|
+
var e = ov.call(r, Kn), t = r[Kn];
|
|
10023
10025
|
try {
|
|
10024
10026
|
r[Kn] = void 0;
|
|
10025
10027
|
var n = !0;
|
|
10026
10028
|
} catch {
|
|
10027
10029
|
}
|
|
10028
|
-
var s =
|
|
10030
|
+
var s = lv.call(r);
|
|
10029
10031
|
return n && (e ? r[Kn] = t : delete r[Kn]), s;
|
|
10030
10032
|
}
|
|
10031
|
-
var
|
|
10032
|
-
function
|
|
10033
|
-
return
|
|
10033
|
+
var cv = Object.prototype, fv = cv.toString;
|
|
10034
|
+
function dv(r) {
|
|
10035
|
+
return fv.call(r);
|
|
10034
10036
|
}
|
|
10035
|
-
var
|
|
10037
|
+
var hv = "[object Null]", pv = "[object Undefined]", jo = Hr ? Hr.toStringTag : void 0;
|
|
10036
10038
|
function qn(r) {
|
|
10037
|
-
return r == null ? r === void 0 ?
|
|
10039
|
+
return r == null ? r === void 0 ? pv : hv : jo && jo in Object(r) ? uv(r) : dv(r);
|
|
10038
10040
|
}
|
|
10039
10041
|
function Ir(r) {
|
|
10040
10042
|
return r != null && typeof r == "object";
|
|
@@ -10047,25 +10049,25 @@ function Vr(r) {
|
|
|
10047
10049
|
function Lu(r) {
|
|
10048
10050
|
return r;
|
|
10049
10051
|
}
|
|
10050
|
-
var
|
|
10052
|
+
var gv = "[object AsyncFunction]", vv = "[object Function]", mv = "[object GeneratorFunction]", yv = "[object Proxy]";
|
|
10051
10053
|
function Ka(r) {
|
|
10052
10054
|
if (!Vr(r))
|
|
10053
10055
|
return !1;
|
|
10054
10056
|
var e = qn(r);
|
|
10055
|
-
return e ==
|
|
10057
|
+
return e == vv || e == mv || e == gv || e == yv;
|
|
10056
10058
|
}
|
|
10057
10059
|
var Gi = Ar["__core-js_shared__"], $o = function() {
|
|
10058
10060
|
var r = /[^.]+$/.exec(Gi && Gi.keys && Gi.keys.IE_PROTO || "");
|
|
10059
10061
|
return r ? "Symbol(src)_1." + r : "";
|
|
10060
10062
|
}();
|
|
10061
|
-
function
|
|
10063
|
+
function bv(r) {
|
|
10062
10064
|
return !!$o && $o in r;
|
|
10063
10065
|
}
|
|
10064
|
-
var
|
|
10066
|
+
var xv = Function.prototype, Av = xv.toString;
|
|
10065
10067
|
function on(r) {
|
|
10066
10068
|
if (r != null) {
|
|
10067
10069
|
try {
|
|
10068
|
-
return
|
|
10070
|
+
return Av.call(r);
|
|
10069
10071
|
} catch {
|
|
10070
10072
|
}
|
|
10071
10073
|
try {
|
|
@@ -10075,23 +10077,23 @@ function on(r) {
|
|
|
10075
10077
|
}
|
|
10076
10078
|
return "";
|
|
10077
10079
|
}
|
|
10078
|
-
var
|
|
10079
|
-
"^" +
|
|
10080
|
+
var wv = /[\\^$.*+?()[\]{}|]/g, Ev = /^\[object .+?Constructor\]$/, Sv = Function.prototype, Tv = Object.prototype, Ov = Sv.toString, Nv = Tv.hasOwnProperty, Rv = RegExp(
|
|
10081
|
+
"^" + Ov.call(Nv).replace(wv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
10080
10082
|
);
|
|
10081
|
-
function
|
|
10082
|
-
if (!Vr(r) ||
|
|
10083
|
+
function Cv(r) {
|
|
10084
|
+
if (!Vr(r) || bv(r))
|
|
10083
10085
|
return !1;
|
|
10084
|
-
var e = Ka(r) ?
|
|
10086
|
+
var e = Ka(r) ? Rv : Ev;
|
|
10085
10087
|
return e.test(on(r));
|
|
10086
10088
|
}
|
|
10087
|
-
function
|
|
10089
|
+
function Iv(r, e) {
|
|
10088
10090
|
return r == null ? void 0 : r[e];
|
|
10089
10091
|
}
|
|
10090
10092
|
function ln(r, e) {
|
|
10091
|
-
var t =
|
|
10092
|
-
return
|
|
10093
|
+
var t = Iv(r, e);
|
|
10094
|
+
return Cv(t) ? t : void 0;
|
|
10093
10095
|
}
|
|
10094
|
-
var ma = ln(Ar, "WeakMap"), _o = Object.create,
|
|
10096
|
+
var ma = ln(Ar, "WeakMap"), _o = Object.create, Lv = /* @__PURE__ */ function() {
|
|
10095
10097
|
function r() {
|
|
10096
10098
|
}
|
|
10097
10099
|
return function(e) {
|
|
@@ -10104,7 +10106,7 @@ var ma = ln(Ar, "WeakMap"), _o = Object.create, Iv = /* @__PURE__ */ function()
|
|
|
10104
10106
|
return r.prototype = void 0, t;
|
|
10105
10107
|
};
|
|
10106
10108
|
}();
|
|
10107
|
-
function
|
|
10109
|
+
function kv(r, e, t) {
|
|
10108
10110
|
switch (t.length) {
|
|
10109
10111
|
case 0:
|
|
10110
10112
|
return r.call(e);
|
|
@@ -10117,26 +10119,26 @@ function Lv(r, e, t) {
|
|
|
10117
10119
|
}
|
|
10118
10120
|
return r.apply(e, t);
|
|
10119
10121
|
}
|
|
10120
|
-
function
|
|
10122
|
+
function Pv(r, e) {
|
|
10121
10123
|
var t = -1, n = r.length;
|
|
10122
10124
|
for (e || (e = Array(n)); ++t < n; )
|
|
10123
10125
|
e[t] = r[t];
|
|
10124
10126
|
return e;
|
|
10125
10127
|
}
|
|
10126
|
-
var
|
|
10127
|
-
function
|
|
10128
|
+
var Fv = 800, Mv = 16, Dv = Date.now;
|
|
10129
|
+
function Uv(r) {
|
|
10128
10130
|
var e = 0, t = 0;
|
|
10129
10131
|
return function() {
|
|
10130
|
-
var n =
|
|
10132
|
+
var n = Dv(), s = Mv - (n - t);
|
|
10131
10133
|
if (t = n, s > 0) {
|
|
10132
|
-
if (++e >=
|
|
10134
|
+
if (++e >= Fv)
|
|
10133
10135
|
return arguments[0];
|
|
10134
10136
|
} else
|
|
10135
10137
|
e = 0;
|
|
10136
10138
|
return r.apply(void 0, arguments);
|
|
10137
10139
|
};
|
|
10138
10140
|
}
|
|
10139
|
-
function
|
|
10141
|
+
function Bv(r) {
|
|
10140
10142
|
return function() {
|
|
10141
10143
|
return r;
|
|
10142
10144
|
};
|
|
@@ -10147,23 +10149,23 @@ var ri = function() {
|
|
|
10147
10149
|
return r({}, "", {}), r;
|
|
10148
10150
|
} catch {
|
|
10149
10151
|
}
|
|
10150
|
-
}(),
|
|
10152
|
+
}(), jv = ri ? function(r, e) {
|
|
10151
10153
|
return ri(r, "toString", {
|
|
10152
10154
|
configurable: !0,
|
|
10153
10155
|
enumerable: !1,
|
|
10154
|
-
value:
|
|
10156
|
+
value: Bv(e),
|
|
10155
10157
|
writable: !0
|
|
10156
10158
|
});
|
|
10157
|
-
} : Lu,
|
|
10158
|
-
function
|
|
10159
|
+
} : Lu, $v = Uv(jv);
|
|
10160
|
+
function _v(r, e) {
|
|
10159
10161
|
for (var t = -1, n = r == null ? 0 : r.length; ++t < n && e(r[t], t, r) !== !1; )
|
|
10160
10162
|
;
|
|
10161
10163
|
return r;
|
|
10162
10164
|
}
|
|
10163
|
-
var
|
|
10165
|
+
var qv = 9007199254740991, zv = /^(?:0|[1-9]\d*)$/;
|
|
10164
10166
|
function ku(r, e) {
|
|
10165
10167
|
var t = typeof r;
|
|
10166
|
-
return e = e ??
|
|
10168
|
+
return e = e ?? qv, !!e && (t == "number" || t != "symbol" && zv.test(r)) && r > -1 && r % 1 == 0 && r < e;
|
|
10167
10169
|
}
|
|
10168
10170
|
function Xa(r, e, t) {
|
|
10169
10171
|
e == "__proto__" && ri ? ri(r, e, {
|
|
@@ -10176,12 +10178,12 @@ function Xa(r, e, t) {
|
|
|
10176
10178
|
function bs(r, e) {
|
|
10177
10179
|
return r === e || r !== r && e !== e;
|
|
10178
10180
|
}
|
|
10179
|
-
var
|
|
10181
|
+
var Hv = Object.prototype, Vv = Hv.hasOwnProperty;
|
|
10180
10182
|
function Pu(r, e, t) {
|
|
10181
10183
|
var n = r[e];
|
|
10182
|
-
(!(
|
|
10184
|
+
(!(Vv.call(r, e) && bs(n, t)) || t === void 0 && !(e in r)) && Xa(r, e, t);
|
|
10183
10185
|
}
|
|
10184
|
-
function
|
|
10186
|
+
function Gv(r, e, t, n) {
|
|
10185
10187
|
var s = !t;
|
|
10186
10188
|
t || (t = {});
|
|
10187
10189
|
for (var o = -1, a = e.length; ++o < a; ) {
|
|
@@ -10191,68 +10193,68 @@ function Vv(r, e, t, n) {
|
|
|
10191
10193
|
return t;
|
|
10192
10194
|
}
|
|
10193
10195
|
var qo = Math.max;
|
|
10194
|
-
function
|
|
10196
|
+
function Wv(r, e, t) {
|
|
10195
10197
|
return e = qo(e === void 0 ? r.length - 1 : e, 0), function() {
|
|
10196
10198
|
for (var n = arguments, s = -1, o = qo(n.length - e, 0), a = Array(o); ++s < o; )
|
|
10197
10199
|
a[s] = n[e + s];
|
|
10198
10200
|
s = -1;
|
|
10199
10201
|
for (var l = Array(e + 1); ++s < e; )
|
|
10200
10202
|
l[s] = n[s];
|
|
10201
|
-
return l[e] = t(a),
|
|
10203
|
+
return l[e] = t(a), kv(r, this, l);
|
|
10202
10204
|
};
|
|
10203
10205
|
}
|
|
10204
|
-
function
|
|
10205
|
-
return
|
|
10206
|
+
function Kv(r, e) {
|
|
10207
|
+
return $v(Wv(r, e, Lu), r + "");
|
|
10206
10208
|
}
|
|
10207
|
-
var
|
|
10209
|
+
var Xv = 9007199254740991;
|
|
10208
10210
|
function Fu(r) {
|
|
10209
|
-
return typeof r == "number" && r > -1 && r % 1 == 0 && r <=
|
|
10211
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= Xv;
|
|
10210
10212
|
}
|
|
10211
10213
|
function vi(r) {
|
|
10212
10214
|
return r != null && Fu(r.length) && !Ka(r);
|
|
10213
10215
|
}
|
|
10214
|
-
function
|
|
10216
|
+
function Yv(r, e, t) {
|
|
10215
10217
|
if (!Vr(t))
|
|
10216
10218
|
return !1;
|
|
10217
10219
|
var n = typeof e;
|
|
10218
10220
|
return (n == "number" ? vi(t) && ku(e, t.length) : n == "string" && e in t) ? bs(t[e], r) : !1;
|
|
10219
10221
|
}
|
|
10220
|
-
function
|
|
10221
|
-
return
|
|
10222
|
+
function Zv(r) {
|
|
10223
|
+
return Kv(function(e, t) {
|
|
10222
10224
|
var n = -1, s = t.length, o = s > 1 ? t[s - 1] : void 0, a = s > 2 ? t[2] : void 0;
|
|
10223
|
-
for (o = r.length > 3 && typeof o == "function" ? (s--, o) : void 0, a &&
|
|
10225
|
+
for (o = r.length > 3 && typeof o == "function" ? (s--, o) : void 0, a && Yv(t[0], t[1], a) && (o = s < 3 ? void 0 : o, s = 1), e = Object(e); ++n < s; ) {
|
|
10224
10226
|
var l = t[n];
|
|
10225
10227
|
l && r(e, l, n, o);
|
|
10226
10228
|
}
|
|
10227
10229
|
return e;
|
|
10228
10230
|
});
|
|
10229
10231
|
}
|
|
10230
|
-
var
|
|
10232
|
+
var Qv = Object.prototype;
|
|
10231
10233
|
function Ya(r) {
|
|
10232
|
-
var e = r && r.constructor, t = typeof e == "function" && e.prototype ||
|
|
10234
|
+
var e = r && r.constructor, t = typeof e == "function" && e.prototype || Qv;
|
|
10233
10235
|
return r === t;
|
|
10234
10236
|
}
|
|
10235
|
-
function
|
|
10237
|
+
function Jv(r, e) {
|
|
10236
10238
|
for (var t = -1, n = Array(r); ++t < r; )
|
|
10237
10239
|
n[t] = e(t);
|
|
10238
10240
|
return n;
|
|
10239
10241
|
}
|
|
10240
|
-
var
|
|
10242
|
+
var em = "[object Arguments]";
|
|
10241
10243
|
function zo(r) {
|
|
10242
|
-
return Ir(r) && qn(r) ==
|
|
10244
|
+
return Ir(r) && qn(r) == em;
|
|
10243
10245
|
}
|
|
10244
|
-
var Mu = Object.prototype,
|
|
10246
|
+
var Mu = Object.prototype, tm = Mu.hasOwnProperty, rm = Mu.propertyIsEnumerable, ya = zo(/* @__PURE__ */ function() {
|
|
10245
10247
|
return arguments;
|
|
10246
10248
|
}()) ? zo : function(r) {
|
|
10247
|
-
return Ir(r) &&
|
|
10249
|
+
return Ir(r) && tm.call(r, "callee") && !rm.call(r, "callee");
|
|
10248
10250
|
};
|
|
10249
|
-
function
|
|
10251
|
+
function nm() {
|
|
10250
10252
|
return !1;
|
|
10251
10253
|
}
|
|
10252
|
-
var Du = typeof exports == "object" && exports && !exports.nodeType && exports, Ho = Du && typeof module == "object" && module && !module.nodeType && module,
|
|
10253
|
-
at[
|
|
10254
|
-
at[
|
|
10255
|
-
function
|
|
10254
|
+
var Du = typeof exports == "object" && exports && !exports.nodeType && exports, Ho = Du && typeof module == "object" && module && !module.nodeType && module, sm = Ho && Ho.exports === Du, Vo = sm ? Ar.Buffer : void 0, im = Vo ? Vo.isBuffer : void 0, ls = im || nm, am = "[object Arguments]", om = "[object Array]", lm = "[object Boolean]", um = "[object Date]", cm = "[object Error]", fm = "[object Function]", dm = "[object Map]", hm = "[object Number]", pm = "[object Object]", gm = "[object RegExp]", vm = "[object Set]", mm = "[object String]", ym = "[object WeakMap]", bm = "[object ArrayBuffer]", xm = "[object DataView]", Am = "[object Float32Array]", wm = "[object Float64Array]", Em = "[object Int8Array]", Sm = "[object Int16Array]", Tm = "[object Int32Array]", Om = "[object Uint8Array]", Nm = "[object Uint8ClampedArray]", Rm = "[object Uint16Array]", Cm = "[object Uint32Array]", at = {};
|
|
10255
|
+
at[Am] = at[wm] = at[Em] = at[Sm] = at[Tm] = at[Om] = at[Nm] = at[Rm] = at[Cm] = !0;
|
|
10256
|
+
at[am] = at[om] = at[bm] = at[lm] = at[xm] = at[um] = at[cm] = at[fm] = at[dm] = at[hm] = at[pm] = at[gm] = at[vm] = at[mm] = at[ym] = !1;
|
|
10257
|
+
function Im(r) {
|
|
10256
10258
|
return Ir(r) && Fu(r.length) && !!at[qn(r)];
|
|
10257
10259
|
}
|
|
10258
10260
|
function Za(r) {
|
|
@@ -10260,17 +10262,17 @@ function Za(r) {
|
|
|
10260
10262
|
return r(e);
|
|
10261
10263
|
};
|
|
10262
10264
|
}
|
|
10263
|
-
var Uu = typeof exports == "object" && exports && !exports.nodeType && exports, ns = Uu && typeof module == "object" && module && !module.nodeType && module,
|
|
10265
|
+
var Uu = typeof exports == "object" && exports && !exports.nodeType && exports, ns = Uu && typeof module == "object" && module && !module.nodeType && module, Lm = ns && ns.exports === Uu, Wi = Lm && Cu.process, Fn = function() {
|
|
10264
10266
|
try {
|
|
10265
10267
|
var r = ns && ns.require && ns.require("util").types;
|
|
10266
10268
|
return r || Wi && Wi.binding && Wi.binding("util");
|
|
10267
10269
|
} catch {
|
|
10268
10270
|
}
|
|
10269
|
-
}(), Go = Fn && Fn.isTypedArray, Qa = Go ? Za(Go) :
|
|
10271
|
+
}(), Go = Fn && Fn.isTypedArray, Qa = Go ? Za(Go) : Im, km = Object.prototype, Pm = km.hasOwnProperty;
|
|
10270
10272
|
function Bu(r, e) {
|
|
10271
|
-
var t = tn(r), n = !t && ya(r), s = !t && !n && ls(r), o = !t && !n && !s && Qa(r), a = t || n || s || o, l = a ?
|
|
10273
|
+
var t = tn(r), n = !t && ya(r), s = !t && !n && ls(r), o = !t && !n && !s && Qa(r), a = t || n || s || o, l = a ? Jv(r.length, String) : [], i = l.length;
|
|
10272
10274
|
for (var u in r)
|
|
10273
|
-
(e ||
|
|
10275
|
+
(e || Pm.call(r, u)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
10274
10276
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
10275
10277
|
s && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
10276
10278
|
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
@@ -10282,63 +10284,63 @@ function ju(r, e) {
|
|
|
10282
10284
|
return r(e(t));
|
|
10283
10285
|
};
|
|
10284
10286
|
}
|
|
10285
|
-
var
|
|
10286
|
-
function
|
|
10287
|
+
var Fm = ju(Object.keys, Object), Mm = Object.prototype, Dm = Mm.hasOwnProperty;
|
|
10288
|
+
function Um(r) {
|
|
10287
10289
|
if (!Ya(r))
|
|
10288
|
-
return
|
|
10290
|
+
return Fm(r);
|
|
10289
10291
|
var e = [];
|
|
10290
10292
|
for (var t in Object(r))
|
|
10291
|
-
|
|
10293
|
+
Dm.call(r, t) && t != "constructor" && e.push(t);
|
|
10292
10294
|
return e;
|
|
10293
10295
|
}
|
|
10294
|
-
function Um(r) {
|
|
10295
|
-
return vi(r) ? Bu(r) : Dm(r);
|
|
10296
|
-
}
|
|
10297
10296
|
function Bm(r) {
|
|
10297
|
+
return vi(r) ? Bu(r) : Um(r);
|
|
10298
|
+
}
|
|
10299
|
+
function jm(r) {
|
|
10298
10300
|
var e = [];
|
|
10299
10301
|
if (r != null)
|
|
10300
10302
|
for (var t in Object(r))
|
|
10301
10303
|
e.push(t);
|
|
10302
10304
|
return e;
|
|
10303
10305
|
}
|
|
10304
|
-
var
|
|
10305
|
-
function
|
|
10306
|
+
var $m = Object.prototype, _m = $m.hasOwnProperty;
|
|
10307
|
+
function qm(r) {
|
|
10306
10308
|
if (!Vr(r))
|
|
10307
|
-
return
|
|
10309
|
+
return jm(r);
|
|
10308
10310
|
var e = Ya(r), t = [];
|
|
10309
10311
|
for (var n in r)
|
|
10310
|
-
n == "constructor" && (e ||
|
|
10312
|
+
n == "constructor" && (e || !_m.call(r, n)) || t.push(n);
|
|
10311
10313
|
return t;
|
|
10312
10314
|
}
|
|
10313
10315
|
function $u(r) {
|
|
10314
|
-
return vi(r) ? Bu(r, !0) :
|
|
10316
|
+
return vi(r) ? Bu(r, !0) : qm(r);
|
|
10315
10317
|
}
|
|
10316
10318
|
var us = ln(Object, "create");
|
|
10317
|
-
function
|
|
10319
|
+
function zm() {
|
|
10318
10320
|
this.__data__ = us ? us(null) : {}, this.size = 0;
|
|
10319
10321
|
}
|
|
10320
|
-
function
|
|
10322
|
+
function Hm(r) {
|
|
10321
10323
|
var e = this.has(r) && delete this.__data__[r];
|
|
10322
10324
|
return this.size -= e ? 1 : 0, e;
|
|
10323
10325
|
}
|
|
10324
|
-
var
|
|
10325
|
-
function
|
|
10326
|
+
var Vm = "__lodash_hash_undefined__", Gm = Object.prototype, Wm = Gm.hasOwnProperty;
|
|
10327
|
+
function Km(r) {
|
|
10326
10328
|
var e = this.__data__;
|
|
10327
10329
|
if (us) {
|
|
10328
10330
|
var t = e[r];
|
|
10329
|
-
return t ===
|
|
10331
|
+
return t === Vm ? void 0 : t;
|
|
10330
10332
|
}
|
|
10331
|
-
return
|
|
10333
|
+
return Wm.call(e, r) ? e[r] : void 0;
|
|
10332
10334
|
}
|
|
10333
|
-
var
|
|
10334
|
-
function
|
|
10335
|
+
var Xm = Object.prototype, Ym = Xm.hasOwnProperty;
|
|
10336
|
+
function Zm(r) {
|
|
10335
10337
|
var e = this.__data__;
|
|
10336
|
-
return us ? e[r] !== void 0 :
|
|
10338
|
+
return us ? e[r] !== void 0 : Ym.call(e, r);
|
|
10337
10339
|
}
|
|
10338
|
-
var
|
|
10339
|
-
function
|
|
10340
|
+
var Qm = "__lodash_hash_undefined__";
|
|
10341
|
+
function Jm(r, e) {
|
|
10340
10342
|
var t = this.__data__;
|
|
10341
|
-
return this.size += this.has(r) ? 0 : 1, t[r] = us && e === void 0 ?
|
|
10343
|
+
return this.size += this.has(r) ? 0 : 1, t[r] = us && e === void 0 ? Qm : e, this;
|
|
10342
10344
|
}
|
|
10343
10345
|
function rn(r) {
|
|
10344
10346
|
var e = -1, t = r == null ? 0 : r.length;
|
|
@@ -10347,12 +10349,12 @@ function rn(r) {
|
|
|
10347
10349
|
this.set(n[0], n[1]);
|
|
10348
10350
|
}
|
|
10349
10351
|
}
|
|
10350
|
-
rn.prototype.clear =
|
|
10351
|
-
rn.prototype.delete =
|
|
10352
|
-
rn.prototype.get =
|
|
10353
|
-
rn.prototype.has =
|
|
10354
|
-
rn.prototype.set =
|
|
10355
|
-
function
|
|
10352
|
+
rn.prototype.clear = zm;
|
|
10353
|
+
rn.prototype.delete = Hm;
|
|
10354
|
+
rn.prototype.get = Km;
|
|
10355
|
+
rn.prototype.has = Zm;
|
|
10356
|
+
rn.prototype.set = Jm;
|
|
10357
|
+
function e0() {
|
|
10356
10358
|
this.__data__ = [], this.size = 0;
|
|
10357
10359
|
}
|
|
10358
10360
|
function mi(r, e) {
|
|
@@ -10361,22 +10363,22 @@ function mi(r, e) {
|
|
|
10361
10363
|
return t;
|
|
10362
10364
|
return -1;
|
|
10363
10365
|
}
|
|
10364
|
-
var
|
|
10365
|
-
function
|
|
10366
|
+
var t0 = Array.prototype, r0 = t0.splice;
|
|
10367
|
+
function n0(r) {
|
|
10366
10368
|
var e = this.__data__, t = mi(e, r);
|
|
10367
10369
|
if (t < 0)
|
|
10368
10370
|
return !1;
|
|
10369
10371
|
var n = e.length - 1;
|
|
10370
|
-
return t == n ? e.pop() :
|
|
10372
|
+
return t == n ? e.pop() : r0.call(e, t, 1), --this.size, !0;
|
|
10371
10373
|
}
|
|
10372
|
-
function
|
|
10374
|
+
function s0(r) {
|
|
10373
10375
|
var e = this.__data__, t = mi(e, r);
|
|
10374
10376
|
return t < 0 ? void 0 : e[t][1];
|
|
10375
10377
|
}
|
|
10376
|
-
function
|
|
10378
|
+
function i0(r) {
|
|
10377
10379
|
return mi(this.__data__, r) > -1;
|
|
10378
10380
|
}
|
|
10379
|
-
function
|
|
10381
|
+
function a0(r, e) {
|
|
10380
10382
|
var t = this.__data__, n = mi(t, r);
|
|
10381
10383
|
return n < 0 ? (++this.size, t.push([r, e])) : t[n][1] = e, this;
|
|
10382
10384
|
}
|
|
@@ -10387,38 +10389,38 @@ function Pr(r) {
|
|
|
10387
10389
|
this.set(n[0], n[1]);
|
|
10388
10390
|
}
|
|
10389
10391
|
}
|
|
10390
|
-
Pr.prototype.clear =
|
|
10391
|
-
Pr.prototype.delete =
|
|
10392
|
-
Pr.prototype.get =
|
|
10393
|
-
Pr.prototype.has =
|
|
10394
|
-
Pr.prototype.set =
|
|
10392
|
+
Pr.prototype.clear = e0;
|
|
10393
|
+
Pr.prototype.delete = n0;
|
|
10394
|
+
Pr.prototype.get = s0;
|
|
10395
|
+
Pr.prototype.has = i0;
|
|
10396
|
+
Pr.prototype.set = a0;
|
|
10395
10397
|
var cs = ln(Ar, "Map");
|
|
10396
|
-
function
|
|
10398
|
+
function o0() {
|
|
10397
10399
|
this.size = 0, this.__data__ = {
|
|
10398
10400
|
hash: new rn(),
|
|
10399
10401
|
map: new (cs || Pr)(),
|
|
10400
10402
|
string: new rn()
|
|
10401
10403
|
};
|
|
10402
10404
|
}
|
|
10403
|
-
function
|
|
10405
|
+
function l0(r) {
|
|
10404
10406
|
var e = typeof r;
|
|
10405
10407
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? r !== "__proto__" : r === null;
|
|
10406
10408
|
}
|
|
10407
10409
|
function yi(r, e) {
|
|
10408
10410
|
var t = r.__data__;
|
|
10409
|
-
return
|
|
10411
|
+
return l0(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
10410
10412
|
}
|
|
10411
|
-
function
|
|
10413
|
+
function u0(r) {
|
|
10412
10414
|
var e = yi(this, r).delete(r);
|
|
10413
10415
|
return this.size -= e ? 1 : 0, e;
|
|
10414
10416
|
}
|
|
10415
|
-
function
|
|
10417
|
+
function c0(r) {
|
|
10416
10418
|
return yi(this, r).get(r);
|
|
10417
10419
|
}
|
|
10418
|
-
function
|
|
10420
|
+
function f0(r) {
|
|
10419
10421
|
return yi(this, r).has(r);
|
|
10420
10422
|
}
|
|
10421
|
-
function
|
|
10423
|
+
function d0(r, e) {
|
|
10422
10424
|
var t = yi(this, r), n = t.size;
|
|
10423
10425
|
return t.set(r, e), this.size += t.size == n ? 0 : 1, this;
|
|
10424
10426
|
}
|
|
@@ -10429,45 +10431,45 @@ function un(r) {
|
|
|
10429
10431
|
this.set(n[0], n[1]);
|
|
10430
10432
|
}
|
|
10431
10433
|
}
|
|
10432
|
-
un.prototype.clear =
|
|
10433
|
-
un.prototype.delete =
|
|
10434
|
-
un.prototype.get =
|
|
10435
|
-
un.prototype.has =
|
|
10436
|
-
un.prototype.set =
|
|
10437
|
-
function
|
|
10434
|
+
un.prototype.clear = o0;
|
|
10435
|
+
un.prototype.delete = u0;
|
|
10436
|
+
un.prototype.get = c0;
|
|
10437
|
+
un.prototype.has = f0;
|
|
10438
|
+
un.prototype.set = d0;
|
|
10439
|
+
function h0(r, e) {
|
|
10438
10440
|
for (var t = -1, n = e.length, s = r.length; ++t < n; )
|
|
10439
10441
|
r[s + t] = e[t];
|
|
10440
10442
|
return r;
|
|
10441
10443
|
}
|
|
10442
|
-
var _u = ju(Object.getPrototypeOf, Object),
|
|
10443
|
-
function
|
|
10444
|
-
if (!Ir(r) || qn(r) !=
|
|
10444
|
+
var _u = ju(Object.getPrototypeOf, Object), p0 = "[object Object]", g0 = Function.prototype, v0 = Object.prototype, qu = g0.toString, m0 = v0.hasOwnProperty, y0 = qu.call(Object);
|
|
10445
|
+
function b0(r) {
|
|
10446
|
+
if (!Ir(r) || qn(r) != p0)
|
|
10445
10447
|
return !1;
|
|
10446
10448
|
var e = _u(r);
|
|
10447
10449
|
if (e === null)
|
|
10448
10450
|
return !0;
|
|
10449
|
-
var t =
|
|
10450
|
-
return typeof t == "function" && t instanceof t && qu.call(t) ==
|
|
10451
|
+
var t = m0.call(e, "constructor") && e.constructor;
|
|
10452
|
+
return typeof t == "function" && t instanceof t && qu.call(t) == y0;
|
|
10451
10453
|
}
|
|
10452
|
-
function
|
|
10454
|
+
function x0() {
|
|
10453
10455
|
this.__data__ = new Pr(), this.size = 0;
|
|
10454
10456
|
}
|
|
10455
|
-
function
|
|
10457
|
+
function A0(r) {
|
|
10456
10458
|
var e = this.__data__, t = e.delete(r);
|
|
10457
10459
|
return this.size = e.size, t;
|
|
10458
10460
|
}
|
|
10459
|
-
function
|
|
10461
|
+
function w0(r) {
|
|
10460
10462
|
return this.__data__.get(r);
|
|
10461
10463
|
}
|
|
10462
|
-
function
|
|
10464
|
+
function E0(r) {
|
|
10463
10465
|
return this.__data__.has(r);
|
|
10464
10466
|
}
|
|
10465
|
-
var
|
|
10466
|
-
function
|
|
10467
|
+
var S0 = 200;
|
|
10468
|
+
function T0(r, e) {
|
|
10467
10469
|
var t = this.__data__;
|
|
10468
10470
|
if (t instanceof Pr) {
|
|
10469
10471
|
var n = t.__data__;
|
|
10470
|
-
if (!cs || n.length <
|
|
10472
|
+
if (!cs || n.length < S0 - 1)
|
|
10471
10473
|
return n.push([r, e]), this.size = ++t.size, this;
|
|
10472
10474
|
t = this.__data__ = new un(n);
|
|
10473
10475
|
}
|
|
@@ -10477,97 +10479,96 @@ function mr(r) {
|
|
|
10477
10479
|
var e = this.__data__ = new Pr(r);
|
|
10478
10480
|
this.size = e.size;
|
|
10479
10481
|
}
|
|
10480
|
-
mr.prototype.clear =
|
|
10481
|
-
mr.prototype.delete =
|
|
10482
|
-
mr.prototype.get =
|
|
10483
|
-
mr.prototype.has =
|
|
10484
|
-
mr.prototype.set =
|
|
10485
|
-
var zu = typeof exports == "object" && exports && !exports.nodeType && exports, Wo = zu && typeof module == "object" && module && !module.nodeType && module,
|
|
10482
|
+
mr.prototype.clear = x0;
|
|
10483
|
+
mr.prototype.delete = A0;
|
|
10484
|
+
mr.prototype.get = w0;
|
|
10485
|
+
mr.prototype.has = E0;
|
|
10486
|
+
mr.prototype.set = T0;
|
|
10487
|
+
var zu = typeof exports == "object" && exports && !exports.nodeType && exports, Wo = zu && typeof module == "object" && module && !module.nodeType && module, O0 = Wo && Wo.exports === zu, Ko = O0 ? Ar.Buffer : void 0, Xo = Ko ? Ko.allocUnsafe : void 0;
|
|
10486
10488
|
function Hu(r, e) {
|
|
10487
10489
|
if (e)
|
|
10488
10490
|
return r.slice();
|
|
10489
10491
|
var t = r.length, n = Xo ? Xo(t) : new r.constructor(t);
|
|
10490
10492
|
return r.copy(n), n;
|
|
10491
10493
|
}
|
|
10492
|
-
function
|
|
10494
|
+
function N0(r, e) {
|
|
10493
10495
|
for (var t = -1, n = r == null ? 0 : r.length, s = 0, o = []; ++t < n; ) {
|
|
10494
10496
|
var a = r[t];
|
|
10495
10497
|
e(a, t, r) && (o[s++] = a);
|
|
10496
10498
|
}
|
|
10497
10499
|
return o;
|
|
10498
10500
|
}
|
|
10499
|
-
function
|
|
10501
|
+
function R0() {
|
|
10500
10502
|
return [];
|
|
10501
10503
|
}
|
|
10502
|
-
var
|
|
10503
|
-
return r == null ? [] : (r = Object(r),
|
|
10504
|
-
return
|
|
10504
|
+
var C0 = Object.prototype, I0 = C0.propertyIsEnumerable, Yo = Object.getOwnPropertySymbols, L0 = Yo ? function(r) {
|
|
10505
|
+
return r == null ? [] : (r = Object(r), N0(Yo(r), function(e) {
|
|
10506
|
+
return I0.call(r, e);
|
|
10505
10507
|
}));
|
|
10506
|
-
} :
|
|
10507
|
-
function
|
|
10508
|
+
} : R0;
|
|
10509
|
+
function k0(r, e, t) {
|
|
10508
10510
|
var n = e(r);
|
|
10509
|
-
return tn(r) ? n :
|
|
10511
|
+
return tn(r) ? n : h0(n, t(r));
|
|
10510
10512
|
}
|
|
10511
10513
|
function ba(r) {
|
|
10512
|
-
return
|
|
10514
|
+
return k0(r, Bm, L0);
|
|
10513
10515
|
}
|
|
10514
|
-
var xa = ln(Ar, "DataView"), Aa = ln(Ar, "Promise"), wa = ln(Ar, "Set"), Zo = "[object Map]",
|
|
10516
|
+
var xa = ln(Ar, "DataView"), Aa = ln(Ar, "Promise"), wa = ln(Ar, "Set"), Zo = "[object Map]", P0 = "[object Object]", Qo = "[object Promise]", Jo = "[object Set]", el = "[object WeakMap]", tl = "[object DataView]", F0 = on(xa), M0 = on(cs), D0 = on(Aa), U0 = on(wa), B0 = on(ma), ir = qn;
|
|
10515
10517
|
(xa && ir(new xa(new ArrayBuffer(1))) != tl || cs && ir(new cs()) != Zo || Aa && ir(Aa.resolve()) != Qo || wa && ir(new wa()) != Jo || ma && ir(new ma()) != el) && (ir = function(r) {
|
|
10516
|
-
var e = qn(r), t = e ==
|
|
10518
|
+
var e = qn(r), t = e == P0 ? r.constructor : void 0, n = t ? on(t) : "";
|
|
10517
10519
|
if (n)
|
|
10518
10520
|
switch (n) {
|
|
10519
|
-
case P0:
|
|
10520
|
-
return tl;
|
|
10521
10521
|
case F0:
|
|
10522
|
-
return
|
|
10522
|
+
return tl;
|
|
10523
10523
|
case M0:
|
|
10524
|
-
return
|
|
10524
|
+
return Zo;
|
|
10525
10525
|
case D0:
|
|
10526
|
-
return
|
|
10526
|
+
return Qo;
|
|
10527
10527
|
case U0:
|
|
10528
|
+
return Jo;
|
|
10529
|
+
case B0:
|
|
10528
10530
|
return el;
|
|
10529
10531
|
}
|
|
10530
10532
|
return e;
|
|
10531
10533
|
});
|
|
10532
|
-
var
|
|
10533
|
-
function
|
|
10534
|
+
var j0 = Object.prototype, $0 = j0.hasOwnProperty;
|
|
10535
|
+
function _0(r) {
|
|
10534
10536
|
var e = r.length, t = new r.constructor(e);
|
|
10535
|
-
return e && typeof r[0] == "string" &&
|
|
10537
|
+
return e && typeof r[0] == "string" && $0.call(r, "index") && (t.index = r.index, t.input = r.input), t;
|
|
10536
10538
|
}
|
|
10537
10539
|
var ni = Ar.Uint8Array;
|
|
10538
10540
|
function Ja(r) {
|
|
10539
10541
|
var e = new r.constructor(r.byteLength);
|
|
10540
10542
|
return new ni(e).set(new ni(r)), e;
|
|
10541
10543
|
}
|
|
10542
|
-
function
|
|
10544
|
+
function q0(r, e) {
|
|
10543
10545
|
var t = Ja(r.buffer);
|
|
10544
10546
|
return new r.constructor(t, r.byteOffset, r.byteLength);
|
|
10545
10547
|
}
|
|
10546
|
-
var
|
|
10547
|
-
function
|
|
10548
|
-
var e = new r.constructor(r.source,
|
|
10548
|
+
var z0 = /\w*$/;
|
|
10549
|
+
function H0(r) {
|
|
10550
|
+
var e = new r.constructor(r.source, z0.exec(r));
|
|
10549
10551
|
return e.lastIndex = r.lastIndex, e;
|
|
10550
10552
|
}
|
|
10551
10553
|
var rl = Hr ? Hr.prototype : void 0, nl = rl ? rl.valueOf : void 0;
|
|
10552
|
-
function
|
|
10554
|
+
function V0(r) {
|
|
10553
10555
|
return nl ? Object(nl.call(r)) : {};
|
|
10554
10556
|
}
|
|
10555
10557
|
function Vu(r, e) {
|
|
10556
10558
|
var t = e ? Ja(r.buffer) : r.buffer;
|
|
10557
10559
|
return new r.constructor(t, r.byteOffset, r.length);
|
|
10558
10560
|
}
|
|
10559
|
-
var
|
|
10560
|
-
function
|
|
10561
|
+
var G0 = "[object Boolean]", W0 = "[object Date]", K0 = "[object Map]", X0 = "[object Number]", Y0 = "[object RegExp]", Z0 = "[object Set]", Q0 = "[object String]", J0 = "[object Symbol]", e1 = "[object ArrayBuffer]", t1 = "[object DataView]", r1 = "[object Float32Array]", n1 = "[object Float64Array]", s1 = "[object Int8Array]", i1 = "[object Int16Array]", a1 = "[object Int32Array]", o1 = "[object Uint8Array]", l1 = "[object Uint8ClampedArray]", u1 = "[object Uint16Array]", c1 = "[object Uint32Array]";
|
|
10562
|
+
function f1(r, e, t) {
|
|
10561
10563
|
var n = r.constructor;
|
|
10562
10564
|
switch (e) {
|
|
10563
|
-
case
|
|
10565
|
+
case e1:
|
|
10564
10566
|
return Ja(r);
|
|
10565
|
-
case V0:
|
|
10566
10567
|
case G0:
|
|
10568
|
+
case W0:
|
|
10567
10569
|
return new n(+r);
|
|
10568
|
-
case e1:
|
|
10569
|
-
return _0(r);
|
|
10570
10570
|
case t1:
|
|
10571
|
+
return q0(r);
|
|
10571
10572
|
case r1:
|
|
10572
10573
|
case n1:
|
|
10573
10574
|
case s1:
|
|
@@ -10576,45 +10577,46 @@ function c1(r, e, t) {
|
|
|
10576
10577
|
case o1:
|
|
10577
10578
|
case l1:
|
|
10578
10579
|
case u1:
|
|
10580
|
+
case c1:
|
|
10579
10581
|
return Vu(r, t);
|
|
10580
|
-
case W0:
|
|
10581
|
-
return new n();
|
|
10582
10582
|
case K0:
|
|
10583
|
-
case Z0:
|
|
10584
|
-
return new n(r);
|
|
10585
|
-
case X0:
|
|
10586
|
-
return z0(r);
|
|
10587
|
-
case Y0:
|
|
10588
10583
|
return new n();
|
|
10584
|
+
case X0:
|
|
10589
10585
|
case Q0:
|
|
10586
|
+
return new n(r);
|
|
10587
|
+
case Y0:
|
|
10590
10588
|
return H0(r);
|
|
10589
|
+
case Z0:
|
|
10590
|
+
return new n();
|
|
10591
|
+
case J0:
|
|
10592
|
+
return V0(r);
|
|
10591
10593
|
}
|
|
10592
10594
|
}
|
|
10593
10595
|
function Gu(r) {
|
|
10594
|
-
return typeof r.constructor == "function" && !Ya(r) ?
|
|
10596
|
+
return typeof r.constructor == "function" && !Ya(r) ? Lv(_u(r)) : {};
|
|
10595
10597
|
}
|
|
10596
|
-
var
|
|
10597
|
-
function
|
|
10598
|
-
return Ir(r) && ir(r) ==
|
|
10598
|
+
var d1 = "[object Map]";
|
|
10599
|
+
function h1(r) {
|
|
10600
|
+
return Ir(r) && ir(r) == d1;
|
|
10599
10601
|
}
|
|
10600
|
-
var sl = Fn && Fn.isMap,
|
|
10601
|
-
function
|
|
10602
|
-
return Ir(r) && ir(r) ==
|
|
10602
|
+
var sl = Fn && Fn.isMap, p1 = sl ? Za(sl) : h1, g1 = "[object Set]";
|
|
10603
|
+
function v1(r) {
|
|
10604
|
+
return Ir(r) && ir(r) == g1;
|
|
10603
10605
|
}
|
|
10604
|
-
var il = Fn && Fn.isSet,
|
|
10605
|
-
it[Wu] = it[
|
|
10606
|
-
it[
|
|
10606
|
+
var il = Fn && Fn.isSet, m1 = il ? Za(il) : v1, y1 = 1, Wu = "[object Arguments]", b1 = "[object Array]", x1 = "[object Boolean]", A1 = "[object Date]", w1 = "[object Error]", Ku = "[object Function]", E1 = "[object GeneratorFunction]", S1 = "[object Map]", T1 = "[object Number]", Xu = "[object Object]", O1 = "[object RegExp]", N1 = "[object Set]", R1 = "[object String]", C1 = "[object Symbol]", I1 = "[object WeakMap]", L1 = "[object ArrayBuffer]", k1 = "[object DataView]", P1 = "[object Float32Array]", F1 = "[object Float64Array]", M1 = "[object Int8Array]", D1 = "[object Int16Array]", U1 = "[object Int32Array]", B1 = "[object Uint8Array]", j1 = "[object Uint8ClampedArray]", $1 = "[object Uint16Array]", _1 = "[object Uint32Array]", it = {};
|
|
10607
|
+
it[Wu] = it[b1] = it[L1] = it[k1] = it[x1] = it[A1] = it[P1] = it[F1] = it[M1] = it[D1] = it[U1] = it[S1] = it[T1] = it[Xu] = it[O1] = it[N1] = it[R1] = it[C1] = it[B1] = it[j1] = it[$1] = it[_1] = !0;
|
|
10608
|
+
it[w1] = it[Ku] = it[I1] = !1;
|
|
10607
10609
|
function Ys(r, e, t, n, s, o) {
|
|
10608
|
-
var a, l = e &
|
|
10610
|
+
var a, l = e & y1;
|
|
10609
10611
|
if (a !== void 0)
|
|
10610
10612
|
return a;
|
|
10611
10613
|
if (!Vr(r))
|
|
10612
10614
|
return r;
|
|
10613
10615
|
var i = tn(r);
|
|
10614
10616
|
if (i)
|
|
10615
|
-
a =
|
|
10617
|
+
a = _0(r);
|
|
10616
10618
|
else {
|
|
10617
|
-
var u = ir(r), c = u == Ku || u ==
|
|
10619
|
+
var u = ir(r), c = u == Ku || u == E1;
|
|
10618
10620
|
if (ls(r))
|
|
10619
10621
|
return Hu(r, l);
|
|
10620
10622
|
if (u == Xu || u == Wu || c && !s)
|
|
@@ -10622,32 +10624,32 @@ function Ys(r, e, t, n, s, o) {
|
|
|
10622
10624
|
else {
|
|
10623
10625
|
if (!it[u])
|
|
10624
10626
|
return s ? r : {};
|
|
10625
|
-
a =
|
|
10627
|
+
a = f1(r, u, l);
|
|
10626
10628
|
}
|
|
10627
10629
|
}
|
|
10628
10630
|
o || (o = new mr());
|
|
10629
10631
|
var d = o.get(r);
|
|
10630
10632
|
if (d)
|
|
10631
10633
|
return d;
|
|
10632
|
-
o.set(r, a),
|
|
10634
|
+
o.set(r, a), m1(r) ? r.forEach(function(h) {
|
|
10633
10635
|
a.add(Ys(h, e, t, h, r, o));
|
|
10634
|
-
}) :
|
|
10636
|
+
}) : p1(r) && r.forEach(function(h, v) {
|
|
10635
10637
|
a.set(v, Ys(h, e, t, v, r, o));
|
|
10636
10638
|
});
|
|
10637
10639
|
var f = ba, g = i ? void 0 : f(r);
|
|
10638
|
-
return
|
|
10640
|
+
return _v(g || r, function(h, v) {
|
|
10639
10641
|
g && (v = h, h = r[v]), Pu(a, v, Ys(h, e, t, v, r, o));
|
|
10640
10642
|
}), a;
|
|
10641
10643
|
}
|
|
10642
|
-
var
|
|
10644
|
+
var q1 = 1, z1 = 4;
|
|
10643
10645
|
function In(r) {
|
|
10644
|
-
return Ys(r,
|
|
10645
|
-
}
|
|
10646
|
-
var z1 = "__lodash_hash_undefined__";
|
|
10647
|
-
function H1(r) {
|
|
10648
|
-
return this.__data__.set(r, z1), this;
|
|
10646
|
+
return Ys(r, q1 | z1);
|
|
10649
10647
|
}
|
|
10648
|
+
var H1 = "__lodash_hash_undefined__";
|
|
10650
10649
|
function V1(r) {
|
|
10650
|
+
return this.__data__.set(r, H1), this;
|
|
10651
|
+
}
|
|
10652
|
+
function G1(r) {
|
|
10651
10653
|
return this.__data__.has(r);
|
|
10652
10654
|
}
|
|
10653
10655
|
function si(r) {
|
|
@@ -10655,26 +10657,26 @@ function si(r) {
|
|
|
10655
10657
|
for (this.__data__ = new un(); ++e < t; )
|
|
10656
10658
|
this.add(r[e]);
|
|
10657
10659
|
}
|
|
10658
|
-
si.prototype.add = si.prototype.push =
|
|
10659
|
-
si.prototype.has =
|
|
10660
|
-
function
|
|
10660
|
+
si.prototype.add = si.prototype.push = V1;
|
|
10661
|
+
si.prototype.has = G1;
|
|
10662
|
+
function W1(r, e) {
|
|
10661
10663
|
for (var t = -1, n = r == null ? 0 : r.length; ++t < n; )
|
|
10662
10664
|
if (e(r[t], t, r))
|
|
10663
10665
|
return !0;
|
|
10664
10666
|
return !1;
|
|
10665
10667
|
}
|
|
10666
|
-
function
|
|
10668
|
+
function K1(r, e) {
|
|
10667
10669
|
return r.has(e);
|
|
10668
10670
|
}
|
|
10669
|
-
var
|
|
10671
|
+
var X1 = 1, Y1 = 2;
|
|
10670
10672
|
function Yu(r, e, t, n, s, o) {
|
|
10671
|
-
var a = t &
|
|
10673
|
+
var a = t & X1, l = r.length, i = e.length;
|
|
10672
10674
|
if (l != i && !(a && i > l))
|
|
10673
10675
|
return !1;
|
|
10674
10676
|
var u = o.get(r), c = o.get(e);
|
|
10675
10677
|
if (u && c)
|
|
10676
10678
|
return u == e && c == r;
|
|
10677
|
-
var d = -1, f = !0, g = t &
|
|
10679
|
+
var d = -1, f = !0, g = t & Y1 ? new si() : void 0;
|
|
10678
10680
|
for (o.set(r, e), o.set(e, r); ++d < l; ) {
|
|
10679
10681
|
var h = r[d], v = e[d];
|
|
10680
10682
|
if (n)
|
|
@@ -10686,8 +10688,8 @@ function Yu(r, e, t, n, s, o) {
|
|
|
10686
10688
|
break;
|
|
10687
10689
|
}
|
|
10688
10690
|
if (g) {
|
|
10689
|
-
if (!
|
|
10690
|
-
if (!
|
|
10691
|
+
if (!W1(e, function(E, S) {
|
|
10692
|
+
if (!K1(g, S) && (h === E || s(h, E, t, n, o)))
|
|
10691
10693
|
return g.push(S);
|
|
10692
10694
|
})) {
|
|
10693
10695
|
f = !1;
|
|
@@ -10700,62 +10702,62 @@ function Yu(r, e, t, n, s, o) {
|
|
|
10700
10702
|
}
|
|
10701
10703
|
return o.delete(r), o.delete(e), f;
|
|
10702
10704
|
}
|
|
10703
|
-
function
|
|
10705
|
+
function Z1(r) {
|
|
10704
10706
|
var e = -1, t = Array(r.size);
|
|
10705
10707
|
return r.forEach(function(n, s) {
|
|
10706
10708
|
t[++e] = [s, n];
|
|
10707
10709
|
}), t;
|
|
10708
10710
|
}
|
|
10709
|
-
function
|
|
10711
|
+
function Q1(r) {
|
|
10710
10712
|
var e = -1, t = Array(r.size);
|
|
10711
10713
|
return r.forEach(function(n) {
|
|
10712
10714
|
t[++e] = n;
|
|
10713
10715
|
}), t;
|
|
10714
10716
|
}
|
|
10715
|
-
var
|
|
10716
|
-
function
|
|
10717
|
+
var J1 = 1, ey = 2, ty = "[object Boolean]", ry = "[object Date]", ny = "[object Error]", sy = "[object Map]", iy = "[object Number]", ay = "[object RegExp]", oy = "[object Set]", ly = "[object String]", uy = "[object Symbol]", cy = "[object ArrayBuffer]", fy = "[object DataView]", al = Hr ? Hr.prototype : void 0, Ki = al ? al.valueOf : void 0;
|
|
10718
|
+
function dy(r, e, t, n, s, o, a) {
|
|
10717
10719
|
switch (t) {
|
|
10718
|
-
case
|
|
10720
|
+
case fy:
|
|
10719
10721
|
if (r.byteLength != e.byteLength || r.byteOffset != e.byteOffset)
|
|
10720
10722
|
return !1;
|
|
10721
10723
|
r = r.buffer, e = e.buffer;
|
|
10722
|
-
case
|
|
10724
|
+
case cy:
|
|
10723
10725
|
return !(r.byteLength != e.byteLength || !o(new ni(r), new ni(e)));
|
|
10724
|
-
case ey:
|
|
10725
10726
|
case ty:
|
|
10726
|
-
case sy:
|
|
10727
|
-
return bs(+r, +e);
|
|
10728
10727
|
case ry:
|
|
10729
|
-
return r.name == e.name && r.message == e.message;
|
|
10730
10728
|
case iy:
|
|
10731
|
-
|
|
10732
|
-
return r == e + "";
|
|
10729
|
+
return bs(+r, +e);
|
|
10733
10730
|
case ny:
|
|
10734
|
-
|
|
10731
|
+
return r.name == e.name && r.message == e.message;
|
|
10735
10732
|
case ay:
|
|
10736
|
-
|
|
10737
|
-
|
|
10733
|
+
case ly:
|
|
10734
|
+
return r == e + "";
|
|
10735
|
+
case sy:
|
|
10736
|
+
var l = Z1;
|
|
10737
|
+
case oy:
|
|
10738
|
+
var i = n & J1;
|
|
10739
|
+
if (l || (l = Q1), r.size != e.size && !i)
|
|
10738
10740
|
return !1;
|
|
10739
10741
|
var u = a.get(r);
|
|
10740
10742
|
if (u)
|
|
10741
10743
|
return u == e;
|
|
10742
|
-
n |=
|
|
10744
|
+
n |= ey, a.set(r, e);
|
|
10743
10745
|
var c = Yu(l(r), l(e), n, s, o, a);
|
|
10744
10746
|
return a.delete(r), c;
|
|
10745
|
-
case
|
|
10747
|
+
case uy:
|
|
10746
10748
|
if (Ki)
|
|
10747
10749
|
return Ki.call(r) == Ki.call(e);
|
|
10748
10750
|
}
|
|
10749
10751
|
return !1;
|
|
10750
10752
|
}
|
|
10751
|
-
var
|
|
10752
|
-
function
|
|
10753
|
-
var a = t &
|
|
10753
|
+
var hy = 1, py = Object.prototype, gy = py.hasOwnProperty;
|
|
10754
|
+
function vy(r, e, t, n, s, o) {
|
|
10755
|
+
var a = t & hy, l = ba(r), i = l.length, u = ba(e), c = u.length;
|
|
10754
10756
|
if (i != c && !a)
|
|
10755
10757
|
return !1;
|
|
10756
10758
|
for (var d = i; d--; ) {
|
|
10757
10759
|
var f = l[d];
|
|
10758
|
-
if (!(a ? f in e :
|
|
10760
|
+
if (!(a ? f in e : gy.call(e, f)))
|
|
10759
10761
|
return !1;
|
|
10760
10762
|
}
|
|
10761
10763
|
var g = o.get(r), h = o.get(e);
|
|
@@ -10780,8 +10782,8 @@ function gy(r, e, t, n, s, o) {
|
|
|
10780
10782
|
}
|
|
10781
10783
|
return o.delete(r), o.delete(e), v;
|
|
10782
10784
|
}
|
|
10783
|
-
var
|
|
10784
|
-
function
|
|
10785
|
+
var my = 1, ol = "[object Arguments]", ll = "[object Array]", Ds = "[object Object]", yy = Object.prototype, ul = yy.hasOwnProperty;
|
|
10786
|
+
function by(r, e, t, n, s, o) {
|
|
10785
10787
|
var a = tn(r), l = tn(e), i = a ? ll : ir(r), u = l ? ll : ir(e);
|
|
10786
10788
|
i = i == ol ? Ds : i, u = u == ol ? Ds : u;
|
|
10787
10789
|
var c = i == Ds, d = u == Ds, f = i == u;
|
|
@@ -10791,20 +10793,20 @@ function yy(r, e, t, n, s, o) {
|
|
|
10791
10793
|
a = !0, c = !1;
|
|
10792
10794
|
}
|
|
10793
10795
|
if (f && !c)
|
|
10794
|
-
return o || (o = new mr()), a || Qa(r) ? Yu(r, e, t, n, s, o) :
|
|
10795
|
-
if (!(t &
|
|
10796
|
+
return o || (o = new mr()), a || Qa(r) ? Yu(r, e, t, n, s, o) : dy(r, e, i, t, n, s, o);
|
|
10797
|
+
if (!(t & my)) {
|
|
10796
10798
|
var g = c && ul.call(r, "__wrapped__"), h = d && ul.call(e, "__wrapped__");
|
|
10797
10799
|
if (g || h) {
|
|
10798
10800
|
var v = g ? r.value() : r, y = h ? e.value() : e;
|
|
10799
10801
|
return o || (o = new mr()), s(v, y, t, n, o);
|
|
10800
10802
|
}
|
|
10801
10803
|
}
|
|
10802
|
-
return f ? (o || (o = new mr()),
|
|
10804
|
+
return f ? (o || (o = new mr()), vy(r, e, t, n, s, o)) : !1;
|
|
10803
10805
|
}
|
|
10804
10806
|
function Zu(r, e, t, n, s) {
|
|
10805
|
-
return r === e ? !0 : r == null || e == null || !Ir(r) && !Ir(e) ? r !== r && e !== e :
|
|
10807
|
+
return r === e ? !0 : r == null || e == null || !Ir(r) && !Ir(e) ? r !== r && e !== e : by(r, e, t, n, Zu, s);
|
|
10806
10808
|
}
|
|
10807
|
-
function
|
|
10809
|
+
function xy(r) {
|
|
10808
10810
|
return function(e, t, n) {
|
|
10809
10811
|
for (var s = -1, o = Object(e), a = n(e), l = a.length; l--; ) {
|
|
10810
10812
|
var i = a[++s];
|
|
@@ -10814,21 +10816,21 @@ function by(r) {
|
|
|
10814
10816
|
return e;
|
|
10815
10817
|
};
|
|
10816
10818
|
}
|
|
10817
|
-
var
|
|
10819
|
+
var Ay = xy();
|
|
10818
10820
|
function Ea(r, e, t) {
|
|
10819
10821
|
(t !== void 0 && !bs(r[e], t) || t === void 0 && !(e in r)) && Xa(r, e, t);
|
|
10820
10822
|
}
|
|
10821
|
-
function
|
|
10823
|
+
function wy(r) {
|
|
10822
10824
|
return Ir(r) && vi(r);
|
|
10823
10825
|
}
|
|
10824
10826
|
function Sa(r, e) {
|
|
10825
10827
|
if (!(e === "constructor" && typeof r[e] == "function") && e != "__proto__")
|
|
10826
10828
|
return r[e];
|
|
10827
10829
|
}
|
|
10828
|
-
function
|
|
10829
|
-
return
|
|
10830
|
+
function Ey(r) {
|
|
10831
|
+
return Gv(r, $u(r));
|
|
10830
10832
|
}
|
|
10831
|
-
function
|
|
10833
|
+
function Sy(r, e, t, n, s, o, a) {
|
|
10832
10834
|
var l = Sa(r, t), i = Sa(e, t), u = a.get(i);
|
|
10833
10835
|
if (u) {
|
|
10834
10836
|
Ea(r, t, u);
|
|
@@ -10837,14 +10839,14 @@ function Ey(r, e, t, n, s, o, a) {
|
|
|
10837
10839
|
var c = o ? o(l, i, t + "", r, e, a) : void 0, d = c === void 0;
|
|
10838
10840
|
if (d) {
|
|
10839
10841
|
var f = tn(i), g = !f && ls(i), h = !f && !g && Qa(i);
|
|
10840
|
-
c = i, f || g || h ? tn(l) ? c = l :
|
|
10842
|
+
c = i, f || g || h ? tn(l) ? c = l : wy(l) ? c = Pv(l) : g ? (d = !1, c = Hu(i, !0)) : h ? (d = !1, c = Vu(i, !0)) : c = [] : b0(i) || ya(i) ? (c = l, ya(l) ? c = Ey(l) : (!Vr(l) || Ka(l)) && (c = Gu(i))) : d = !1;
|
|
10841
10843
|
}
|
|
10842
10844
|
d && (a.set(i, c), s(c, i, n, o, a), a.delete(i)), Ea(r, t, c);
|
|
10843
10845
|
}
|
|
10844
10846
|
function Qu(r, e, t, n, s) {
|
|
10845
|
-
r !== e &&
|
|
10847
|
+
r !== e && Ay(e, function(o, a) {
|
|
10846
10848
|
if (s || (s = new mr()), Vr(o))
|
|
10847
|
-
|
|
10849
|
+
Sy(r, e, a, t, Qu, n, s);
|
|
10848
10850
|
else {
|
|
10849
10851
|
var l = n ? n(Sa(r, a), o, a + "", r, e, s) : void 0;
|
|
10850
10852
|
l === void 0 && (l = o), Ea(r, a, l);
|
|
@@ -10854,7 +10856,7 @@ function Qu(r, e, t, n, s) {
|
|
|
10854
10856
|
function eo(r, e) {
|
|
10855
10857
|
return Zu(r, e);
|
|
10856
10858
|
}
|
|
10857
|
-
var zr =
|
|
10859
|
+
var zr = Zv(function(r, e, t) {
|
|
10858
10860
|
Qu(r, e, t);
|
|
10859
10861
|
}), Ce = /* @__PURE__ */ ((r) => (r[r.TYPE = 3] = "TYPE", r[r.LEVEL = 12] = "LEVEL", r[r.ATTRIBUTE = 13] = "ATTRIBUTE", r[r.BLOT = 14] = "BLOT", r[r.INLINE = 7] = "INLINE", r[r.BLOCK = 11] = "BLOCK", r[r.BLOCK_BLOT = 10] = "BLOCK_BLOT", r[r.INLINE_BLOT = 6] = "INLINE_BLOT", r[r.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", r[r.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", r[r.ANY = 15] = "ANY", r))(Ce || {});
|
|
10860
10862
|
class br {
|
|
@@ -10944,7 +10946,7 @@ let Mn = Ju;
|
|
|
10944
10946
|
function cl(r, e) {
|
|
10945
10947
|
return (r.getAttribute("class") || "").split(/\s+/).filter((t) => t.indexOf(`${e}-`) === 0);
|
|
10946
10948
|
}
|
|
10947
|
-
class
|
|
10949
|
+
class Ty extends br {
|
|
10948
10950
|
static keys(e) {
|
|
10949
10951
|
return (e.getAttribute("class") || "").split(/\s+/).map((t) => t.split("-").slice(0, -1).join("-"));
|
|
10950
10952
|
}
|
|
@@ -10961,12 +10963,12 @@ class Sy extends br {
|
|
|
10961
10963
|
return this.canAdd(e, t) ? t : "";
|
|
10962
10964
|
}
|
|
10963
10965
|
}
|
|
10964
|
-
const cr =
|
|
10966
|
+
const cr = Ty;
|
|
10965
10967
|
function Xi(r) {
|
|
10966
10968
|
const e = r.split("-"), t = e.slice(1).map((n) => n[0].toUpperCase() + n.slice(1)).join("");
|
|
10967
10969
|
return e[0] + t;
|
|
10968
10970
|
}
|
|
10969
|
-
class
|
|
10971
|
+
class Oy extends br {
|
|
10970
10972
|
static keys(e) {
|
|
10971
10973
|
return (e.getAttribute("style") || "").split(";").map((t) => t.split(":")[0].trim());
|
|
10972
10974
|
}
|
|
@@ -10981,8 +10983,8 @@ class Ty extends br {
|
|
|
10981
10983
|
return this.canAdd(e, t) ? t : "";
|
|
10982
10984
|
}
|
|
10983
10985
|
}
|
|
10984
|
-
const Gr =
|
|
10985
|
-
class
|
|
10986
|
+
const Gr = Oy;
|
|
10987
|
+
class Ny {
|
|
10986
10988
|
constructor(e) {
|
|
10987
10989
|
this.attributes = {}, this.domNode = e, this.build();
|
|
10988
10990
|
}
|
|
@@ -11018,7 +11020,7 @@ class Oy {
|
|
|
11018
11020
|
);
|
|
11019
11021
|
}
|
|
11020
11022
|
}
|
|
11021
|
-
const bi =
|
|
11023
|
+
const bi = Ny, ec = class {
|
|
11022
11024
|
constructor(e, t) {
|
|
11023
11025
|
this.scroll = e, this.domNode = t, Mn.blots.set(t, this), this.prev = null, this.next = null;
|
|
11024
11026
|
}
|
|
@@ -11129,9 +11131,9 @@ const rc = class extends tc {
|
|
|
11129
11131
|
}
|
|
11130
11132
|
};
|
|
11131
11133
|
rc.scope = Ce.INLINE_BLOT;
|
|
11132
|
-
let
|
|
11133
|
-
const Mt =
|
|
11134
|
-
class
|
|
11134
|
+
let Ry = rc;
|
|
11135
|
+
const Mt = Ry;
|
|
11136
|
+
class Cy {
|
|
11135
11137
|
constructor() {
|
|
11136
11138
|
this.head = null, this.tail = null, this.length = 0;
|
|
11137
11139
|
}
|
|
@@ -11265,7 +11267,7 @@ const nc = class Br extends tc {
|
|
|
11265
11267
|
* Called during construction, should fill its own children LinkedList.
|
|
11266
11268
|
*/
|
|
11267
11269
|
build() {
|
|
11268
|
-
this.children = new
|
|
11270
|
+
this.children = new Cy(), Array.from(this.domNode.childNodes).filter((e) => e !== this.uiNode).reverse().forEach((e) => {
|
|
11269
11271
|
try {
|
|
11270
11272
|
const t = fl(e, this.scroll);
|
|
11271
11273
|
this.insertBefore(t, this.children.head || void 0);
|
|
@@ -11399,9 +11401,9 @@ const nc = class Br extends tc {
|
|
|
11399
11401
|
}
|
|
11400
11402
|
};
|
|
11401
11403
|
nc.uiClass = "";
|
|
11402
|
-
let
|
|
11403
|
-
const or =
|
|
11404
|
-
function
|
|
11404
|
+
let Iy = nc;
|
|
11405
|
+
const or = Iy;
|
|
11406
|
+
function Ly(r, e) {
|
|
11405
11407
|
if (Object.keys(r).length !== Object.keys(e).length)
|
|
11406
11408
|
return !1;
|
|
11407
11409
|
for (const t in r)
|
|
@@ -11450,7 +11452,7 @@ const Sn = class Tn extends or {
|
|
|
11450
11452
|
if (Object.keys(t).length === 0)
|
|
11451
11453
|
return this.unwrap();
|
|
11452
11454
|
const n = this.next;
|
|
11453
|
-
n instanceof Tn && n.prev === this &&
|
|
11455
|
+
n instanceof Tn && n.prev === this && Ly(t, n.formats()) && (n.moveChildren(this), n.remove());
|
|
11454
11456
|
}
|
|
11455
11457
|
replaceWith(e, t) {
|
|
11456
11458
|
const n = super.replaceWith(e, t);
|
|
@@ -11467,8 +11469,8 @@ const Sn = class Tn extends or {
|
|
|
11467
11469
|
}
|
|
11468
11470
|
};
|
|
11469
11471
|
Sn.allowedChildren = [Sn, Mt], Sn.blotName = "inline", Sn.scope = Ce.INLINE_BLOT, Sn.tagName = "SPAN";
|
|
11470
|
-
let
|
|
11471
|
-
const to =
|
|
11472
|
+
let ky = Sn;
|
|
11473
|
+
const to = ky, On = class Oa extends or {
|
|
11472
11474
|
static create(e) {
|
|
11473
11475
|
return super.create(e);
|
|
11474
11476
|
}
|
|
@@ -11522,8 +11524,8 @@ On.blotName = "block", On.scope = Ce.BLOCK_BLOT, On.tagName = "P", On.allowedChi
|
|
|
11522
11524
|
On,
|
|
11523
11525
|
Mt
|
|
11524
11526
|
];
|
|
11525
|
-
let
|
|
11526
|
-
const fs =
|
|
11527
|
+
let Py = On;
|
|
11528
|
+
const fs = Py, Na = class extends or {
|
|
11527
11529
|
checkMerge() {
|
|
11528
11530
|
return this.next !== null && this.next.statics.blotName === this.statics.blotName;
|
|
11529
11531
|
}
|
|
@@ -11541,9 +11543,9 @@ const fs = ky, Na = class extends or {
|
|
|
11541
11543
|
}
|
|
11542
11544
|
};
|
|
11543
11545
|
Na.blotName = "container", Na.scope = Ce.BLOCK_BLOT;
|
|
11544
|
-
let
|
|
11545
|
-
const xi =
|
|
11546
|
-
class
|
|
11546
|
+
let Fy = Na;
|
|
11547
|
+
const xi = Fy;
|
|
11548
|
+
class My extends Mt {
|
|
11547
11549
|
static formats(e, t) {
|
|
11548
11550
|
}
|
|
11549
11551
|
format(e, t) {
|
|
@@ -11556,17 +11558,17 @@ class Fy extends Mt {
|
|
|
11556
11558
|
return this.statics.formats(this.domNode, this.scroll);
|
|
11557
11559
|
}
|
|
11558
11560
|
}
|
|
11559
|
-
const Vt =
|
|
11561
|
+
const Vt = My, Dy = {
|
|
11560
11562
|
attributes: !0,
|
|
11561
11563
|
characterData: !0,
|
|
11562
11564
|
characterDataOldValue: !0,
|
|
11563
11565
|
childList: !0,
|
|
11564
11566
|
subtree: !0
|
|
11565
|
-
},
|
|
11567
|
+
}, Uy = 100, Nn = class extends or {
|
|
11566
11568
|
constructor(e, t) {
|
|
11567
11569
|
super(null, t), this.registry = e, this.scroll = this, this.build(), this.observer = new MutationObserver((n) => {
|
|
11568
11570
|
this.update(n);
|
|
11569
|
-
}), this.observer.observe(this.domNode,
|
|
11571
|
+
}), this.observer.observe(this.domNode, Dy), this.attach();
|
|
11570
11572
|
}
|
|
11571
11573
|
create(e, t) {
|
|
11572
11574
|
return this.registry.create(this, e, t);
|
|
@@ -11611,7 +11613,7 @@ const Vt = Fy, My = {
|
|
|
11611
11613
|
};
|
|
11612
11614
|
let l = e;
|
|
11613
11615
|
for (let i = 0; l.length > 0; i += 1) {
|
|
11614
|
-
if (i >=
|
|
11616
|
+
if (i >= Uy)
|
|
11615
11617
|
throw new Error("[Parchment] Maximum optimize iterations reached");
|
|
11616
11618
|
for (l.forEach((u) => {
|
|
11617
11619
|
const c = this.find(u.target, !0);
|
|
@@ -11637,8 +11639,8 @@ const Vt = Fy, My = {
|
|
|
11637
11639
|
}
|
|
11638
11640
|
};
|
|
11639
11641
|
Nn.blotName = "scroll", Nn.defaultChild = fs, Nn.allowedChildren = [fs, xi], Nn.scope = Ce.BLOCK_BLOT, Nn.tagName = "DIV";
|
|
11640
|
-
let
|
|
11641
|
-
const ro =
|
|
11642
|
+
let By = Nn;
|
|
11643
|
+
const ro = By, Ra = class sc extends Mt {
|
|
11642
11644
|
static create(e) {
|
|
11643
11645
|
return document.createTextNode(e);
|
|
11644
11646
|
}
|
|
@@ -11684,8 +11686,8 @@ const ro = Uy, Ra = class sc extends Mt {
|
|
|
11684
11686
|
}
|
|
11685
11687
|
};
|
|
11686
11688
|
Ra.blotName = "text", Ra.scope = Ce.INLINE_BLOT;
|
|
11687
|
-
let
|
|
11688
|
-
const ii =
|
|
11689
|
+
let jy = Ra;
|
|
11690
|
+
const ii = jy, $y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11689
11691
|
__proto__: null,
|
|
11690
11692
|
Attributor: br,
|
|
11691
11693
|
AttributorStore: bi,
|
|
@@ -11703,7 +11705,7 @@ const ii = By, jy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
11703
11705
|
TextBlot: ii
|
|
11704
11706
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11705
11707
|
var Us = { exports: {} }, Yi, dl;
|
|
11706
|
-
function
|
|
11708
|
+
function _y() {
|
|
11707
11709
|
if (dl) return Yi;
|
|
11708
11710
|
dl = 1;
|
|
11709
11711
|
var r = -1, e = 1, t = 0;
|
|
@@ -12995,7 +12997,7 @@ function ac() {
|
|
|
12995
12997
|
}(Jn, Jn.exports)), Jn.exports;
|
|
12996
12998
|
}
|
|
12997
12999
|
var Bs = {}, gl;
|
|
12998
|
-
function
|
|
13000
|
+
function qy() {
|
|
12999
13001
|
if (gl) return Bs;
|
|
13000
13002
|
gl = 1, Object.defineProperty(Bs, "__esModule", { value: !0 });
|
|
13001
13003
|
const r = ic(), e = ac();
|
|
@@ -13048,7 +13050,7 @@ function oc() {
|
|
|
13048
13050
|
}(r || (r = {})), js.default = r, js;
|
|
13049
13051
|
}
|
|
13050
13052
|
var $s = {}, ml;
|
|
13051
|
-
function
|
|
13053
|
+
function zy() {
|
|
13052
13054
|
if (ml) return $s;
|
|
13053
13055
|
ml = 1, Object.defineProperty($s, "__esModule", { value: !0 });
|
|
13054
13056
|
const r = oc();
|
|
@@ -13097,14 +13099,14 @@ function qy() {
|
|
|
13097
13099
|
return $s.default = e, $s;
|
|
13098
13100
|
}
|
|
13099
13101
|
var yl;
|
|
13100
|
-
function
|
|
13102
|
+
function Hy() {
|
|
13101
13103
|
return yl || (yl = 1, function(r, e) {
|
|
13102
13104
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AttributeMap = e.OpIterator = e.Op = void 0;
|
|
13103
|
-
const t =
|
|
13105
|
+
const t = _y(), n = ic(), s = ac(), o = qy();
|
|
13104
13106
|
e.AttributeMap = o.default;
|
|
13105
13107
|
const a = oc();
|
|
13106
13108
|
e.Op = a.default;
|
|
13107
|
-
const l =
|
|
13109
|
+
const l = zy();
|
|
13108
13110
|
e.OpIterator = l.default;
|
|
13109
13111
|
const i = "\0", u = (d, f) => {
|
|
13110
13112
|
if (typeof d != "object" || d === null)
|
|
@@ -13360,7 +13362,7 @@ function zy() {
|
|
|
13360
13362
|
c.Op = a.default, c.OpIterator = l.default, c.AttributeMap = o.default, c.handlers = {}, e.default = c, r.exports = c, r.exports.default = c;
|
|
13361
13363
|
}(Us, Us.exports)), Us.exports;
|
|
13362
13364
|
}
|
|
13363
|
-
var Qt =
|
|
13365
|
+
var Qt = Hy();
|
|
13364
13366
|
const Ne = /* @__PURE__ */ Ga(Qt);
|
|
13365
13367
|
class fr extends Vt {
|
|
13366
13368
|
static value() {
|
|
@@ -13379,7 +13381,7 @@ fr.blotName = "break";
|
|
|
13379
13381
|
fr.tagName = "BR";
|
|
13380
13382
|
let lr = class extends ii {
|
|
13381
13383
|
};
|
|
13382
|
-
const
|
|
13384
|
+
const Vy = {
|
|
13383
13385
|
"&": "&",
|
|
13384
13386
|
"<": "<",
|
|
13385
13387
|
">": ">",
|
|
@@ -13387,7 +13389,7 @@ const Hy = {
|
|
|
13387
13389
|
"'": "'"
|
|
13388
13390
|
};
|
|
13389
13391
|
function Ai(r) {
|
|
13390
|
-
return r.replace(/[&<>"']/g, (e) =>
|
|
13392
|
+
return r.replace(/[&<>"']/g, (e) => Vy[e]);
|
|
13391
13393
|
}
|
|
13392
13394
|
const vr = class vr extends to {
|
|
13393
13395
|
static compare(e, t) {
|
|
@@ -13629,7 +13631,7 @@ const Kt = class Kt extends Vt {
|
|
|
13629
13631
|
Ee(Kt, "blotName", "cursor"), Ee(Kt, "className", "ql-cursor"), Ee(Kt, "tagName", "span"), Ee(Kt, "CONTENTS", "\uFEFF");
|
|
13630
13632
|
let Dn = Kt;
|
|
13631
13633
|
var Zi = { exports: {} }, xl;
|
|
13632
|
-
function
|
|
13634
|
+
function Gy() {
|
|
13633
13635
|
return xl || (xl = 1, function(r) {
|
|
13634
13636
|
var e = Object.prototype.hasOwnProperty, t = "~";
|
|
13635
13637
|
function n() {
|
|
@@ -13735,8 +13737,8 @@ function Vy() {
|
|
|
13735
13737
|
}, l.prototype.off = l.prototype.removeListener, l.prototype.addListener = l.prototype.on, l.prefixed = t, l.EventEmitter = l, r.exports = l;
|
|
13736
13738
|
}(Zi)), Zi.exports;
|
|
13737
13739
|
}
|
|
13738
|
-
var
|
|
13739
|
-
const
|
|
13740
|
+
var Wy = Gy();
|
|
13741
|
+
const Ky = /* @__PURE__ */ Ga(Wy), Ca = /* @__PURE__ */ new WeakMap(), Ia = ["error", "warn", "log", "info"];
|
|
13740
13742
|
let La = "warn";
|
|
13741
13743
|
function uc(r) {
|
|
13742
13744
|
if (La && Ia.indexOf(r) <= Ia.indexOf(La)) {
|
|
@@ -13752,8 +13754,8 @@ Fr.level = (r) => {
|
|
|
13752
13754
|
La = r;
|
|
13753
13755
|
};
|
|
13754
13756
|
uc.level = Fr.level;
|
|
13755
|
-
const Qi = Fr("quill:events"),
|
|
13756
|
-
|
|
13757
|
+
const Qi = Fr("quill:events"), Xy = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
13758
|
+
Xy.forEach((r) => {
|
|
13757
13759
|
document.addEventListener(r, function() {
|
|
13758
13760
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
13759
13761
|
t[n] = arguments[n];
|
|
@@ -13763,7 +13765,7 @@ Ky.forEach((r) => {
|
|
|
13763
13765
|
});
|
|
13764
13766
|
});
|
|
13765
13767
|
});
|
|
13766
|
-
class Oe extends
|
|
13768
|
+
class Oe extends Ky {
|
|
13767
13769
|
constructor() {
|
|
13768
13770
|
super(), this.domListeners = {}, this.on("error", Qi.error);
|
|
13769
13771
|
}
|
|
@@ -13816,7 +13818,7 @@ class nn {
|
|
|
13816
13818
|
this.index = e, this.length = t;
|
|
13817
13819
|
}
|
|
13818
13820
|
}
|
|
13819
|
-
class
|
|
13821
|
+
class Yy {
|
|
13820
13822
|
constructor(e, t) {
|
|
13821
13823
|
this.emitter = t, this.scroll = e, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = this.scroll.create("cursor", this), this.savedRange = new nn(0, 0), this.lastRange = this.savedRange, this.lastNative = null, this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, () => {
|
|
13822
13824
|
!this.mouseDown && !this.composing && setTimeout(this.update.bind(this, Oe.sources.USER), 1);
|
|
@@ -14036,8 +14038,8 @@ function ea(r, e) {
|
|
|
14036
14038
|
}
|
|
14037
14039
|
return r.contains(e);
|
|
14038
14040
|
}
|
|
14039
|
-
const
|
|
14040
|
-
class
|
|
14041
|
+
const Zy = /^[ -~]*$/;
|
|
14042
|
+
class Qy {
|
|
14041
14043
|
constructor(e) {
|
|
14042
14044
|
this.scroll = e, this.delta = this.getDelta();
|
|
14043
14045
|
}
|
|
@@ -14046,7 +14048,7 @@ class Zy {
|
|
|
14046
14048
|
let t = this.scroll.length();
|
|
14047
14049
|
this.scroll.batchStart();
|
|
14048
14050
|
const n = Al(e), s = new Ne();
|
|
14049
|
-
return
|
|
14051
|
+
return eb(n.ops.slice()).reduce((a, l) => {
|
|
14050
14052
|
const i = Qt.Op.length(l);
|
|
14051
14053
|
let u = l.attributes || {}, c = !1, d = !1;
|
|
14052
14054
|
if (l.insert != null) {
|
|
@@ -14133,7 +14135,7 @@ class Zy {
|
|
|
14133
14135
|
for (; Object.keys(u).length > 0; ) {
|
|
14134
14136
|
const c = l.shift();
|
|
14135
14137
|
if (c == null) return u;
|
|
14136
|
-
u =
|
|
14138
|
+
u = Jy(Xt(c), u);
|
|
14137
14139
|
}
|
|
14138
14140
|
return u;
|
|
14139
14141
|
});
|
|
@@ -14190,7 +14192,7 @@ class Zy {
|
|
|
14190
14192
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
|
|
14191
14193
|
const s = this.delta;
|
|
14192
14194
|
if (t.length === 1 && t[0].type === "characterData" && // @ts-expect-error Fix me later
|
|
14193
|
-
t[0].target.data.match(
|
|
14195
|
+
t[0].target.data.match(Zy) && this.scroll.find(t[0].target)) {
|
|
14194
14196
|
const o = this.scroll.find(t[0].target), a = Xt(o), l = o.offset(this.scroll), i = t[0].oldValue.replace(Dn.CONTENTS, ""), u = new Ne().insert(i), c = new Ne().insert(o.value()), d = n && {
|
|
14195
14197
|
oldRange: wl(n.oldRange, -l),
|
|
14196
14198
|
newRange: wl(n.newRange, -l)
|
|
@@ -14254,7 +14256,7 @@ function ds(r, e, t) {
|
|
|
14254
14256
|
}
|
|
14255
14257
|
return r.domNode instanceof Element ? r.domNode.outerHTML : "";
|
|
14256
14258
|
}
|
|
14257
|
-
function
|
|
14259
|
+
function Jy(r, e) {
|
|
14258
14260
|
return Object.keys(e).reduce((t, n) => {
|
|
14259
14261
|
if (r[n] == null) return t;
|
|
14260
14262
|
const s = e[n];
|
|
@@ -14290,7 +14292,7 @@ function wl(r, e) {
|
|
|
14290
14292
|
} = r;
|
|
14291
14293
|
return new nn(t + e, n);
|
|
14292
14294
|
}
|
|
14293
|
-
function
|
|
14295
|
+
function eb(r) {
|
|
14294
14296
|
const e = [];
|
|
14295
14297
|
return r.forEach((t) => {
|
|
14296
14298
|
typeof t.insert == "string" ? t.insert.split(`
|
|
@@ -14356,7 +14358,7 @@ class no extends Vt {
|
|
|
14356
14358
|
});
|
|
14357
14359
|
}
|
|
14358
14360
|
}
|
|
14359
|
-
class
|
|
14361
|
+
class tb {
|
|
14360
14362
|
constructor(e, t) {
|
|
14361
14363
|
Ee(this, "isComposing", !1);
|
|
14362
14364
|
this.scroll = e, this.emitter = t, this.setupListeners();
|
|
@@ -14399,7 +14401,7 @@ Ee(is, "DEFAULTS", {
|
|
|
14399
14401
|
default: is
|
|
14400
14402
|
});
|
|
14401
14403
|
let Un = is;
|
|
14402
|
-
const
|
|
14404
|
+
const rb = (r) => r.parentElement || r.getRootNode().host || null, nb = (r) => {
|
|
14403
14405
|
const e = r.getBoundingClientRect(), t = "offsetWidth" in r && Math.abs(e.width) / r.offsetWidth || 1, n = "offsetHeight" in r && Math.abs(e.height) / r.offsetHeight || 1;
|
|
14404
14406
|
return {
|
|
14405
14407
|
top: e.top,
|
|
@@ -14410,7 +14412,7 @@ const tb = (r) => r.parentElement || r.getRootNode().host || null, rb = (r) => {
|
|
|
14410
14412
|
}, qs = (r) => {
|
|
14411
14413
|
const e = parseInt(r, 10);
|
|
14412
14414
|
return Number.isNaN(e) ? 0 : e;
|
|
14413
|
-
}, El = (r, e, t, n, s, o) => r < t && e > n ? 0 : r < t ? -(t - r + s) : e > n ? e - r > n - t ? r + s - t : e - n + o : 0,
|
|
14415
|
+
}, El = (r, e, t, n, s, o) => r < t && e > n ? 0 : r < t ? -(t - r + s) : e > n ? e - r > n - t ? r + s - t : e - n + o : 0, sb = (r, e) => {
|
|
14414
14416
|
var o, a, l;
|
|
14415
14417
|
const t = r.ownerDocument;
|
|
14416
14418
|
let n = e, s = r;
|
|
@@ -14420,7 +14422,7 @@ const tb = (r) => r.parentElement || r.getRootNode().host || null, rb = (r) => {
|
|
|
14420
14422
|
right: ((o = window.visualViewport) == null ? void 0 : o.width) ?? t.documentElement.clientWidth,
|
|
14421
14423
|
bottom: ((a = window.visualViewport) == null ? void 0 : a.height) ?? t.documentElement.clientHeight,
|
|
14422
14424
|
left: 0
|
|
14423
|
-
} :
|
|
14425
|
+
} : nb(s), c = getComputedStyle(s), d = El(n.left, n.right, u.left, u.right, qs(c.scrollPaddingLeft), qs(c.scrollPaddingRight)), f = El(n.top, n.bottom, u.top, u.bottom, qs(c.scrollPaddingTop), qs(c.scrollPaddingBottom));
|
|
14424
14426
|
if (d || f)
|
|
14425
14427
|
if (i)
|
|
14426
14428
|
(l = t.defaultView) == null || l.scrollBy(d, f);
|
|
@@ -14438,11 +14440,11 @@ const tb = (r) => r.parentElement || r.getRootNode().host || null, rb = (r) => {
|
|
|
14438
14440
|
bottom: n.bottom - y
|
|
14439
14441
|
};
|
|
14440
14442
|
}
|
|
14441
|
-
s = i || c.position === "fixed" ? null :
|
|
14443
|
+
s = i || c.position === "fixed" ? null : rb(s);
|
|
14442
14444
|
}
|
|
14443
|
-
},
|
|
14445
|
+
}, ib = 100, ab = ["block", "break", "cursor", "inline", "scroll", "text"], ob = (r, e, t) => {
|
|
14444
14446
|
const n = new Mn();
|
|
14445
|
-
return
|
|
14447
|
+
return ab.forEach((s) => {
|
|
14446
14448
|
const o = e.query(s);
|
|
14447
14449
|
o && n.register(o);
|
|
14448
14450
|
}), r.forEach((s) => {
|
|
@@ -14450,7 +14452,7 @@ const tb = (r) => r.parentElement || r.getRootNode().host || null, rb = (r) => {
|
|
|
14450
14452
|
o || t.error(`Cannot register "${s}" specified in "formats" config. Are you sure it was registered?`);
|
|
14451
14453
|
let a = 0;
|
|
14452
14454
|
for (; o; )
|
|
14453
|
-
if (n.register(o), o = "blotName" in o ? o.requiredContainer ?? null : null, a += 1, a >
|
|
14455
|
+
if (n.register(o), o = "blotName" in o ? o.requiredContainer ?? null : null, a += 1, a > ib) {
|
|
14454
14456
|
t.error(`Cycle detected in registering blot requiredContainer: "${s}"`);
|
|
14455
14457
|
break;
|
|
14456
14458
|
}
|
|
@@ -14481,7 +14483,7 @@ const sr = class sr {
|
|
|
14481
14483
|
}
|
|
14482
14484
|
constructor(e) {
|
|
14483
14485
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
14484
|
-
if (this.options =
|
|
14486
|
+
if (this.options = lb(e, t), this.container = this.options.container, this.container == null) {
|
|
14485
14487
|
kn.error("Invalid Quill container", e);
|
|
14486
14488
|
return;
|
|
14487
14489
|
}
|
|
@@ -14493,7 +14495,7 @@ const sr = class sr {
|
|
|
14493
14495
|
throw new Error(`Cannot initialize Quill without "${s}" blot`);
|
|
14494
14496
|
if (this.scroll = new o(this.options.registry, this.root, {
|
|
14495
14497
|
emitter: this.emitter
|
|
14496
|
-
}), this.editor = new
|
|
14498
|
+
}), this.editor = new Qy(this.scroll), this.selection = new Yy(this.scroll, this.emitter), this.composition = new tb(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.uploader = this.theme.addModule("uploader"), this.theme.addModule("input"), this.theme.addModule("uiNode"), this.theme.init(), this.emitter.on(Oe.events.EDITOR_CHANGE, (a) => {
|
|
14497
14499
|
a === Oe.events.TEXT_CHANGE && this.root.classList.toggle("ql-blank", this.editor.isBlank());
|
|
14498
14500
|
}), this.emitter.on(Oe.events.SCROLL_UPDATE, (a, l) => {
|
|
14499
14501
|
const i = this.selection.lastRange, [u] = this.selection.getRange(), c = i && u ? {
|
|
@@ -14672,7 +14674,7 @@ const sr = class sr {
|
|
|
14672
14674
|
return [e, t, , n] = Rr(e, t, n), nr.call(this, () => this.editor.removeFormat(e, t), n, e);
|
|
14673
14675
|
}
|
|
14674
14676
|
scrollRectIntoView(e) {
|
|
14675
|
-
|
|
14677
|
+
sb(this.root, e);
|
|
14676
14678
|
}
|
|
14677
14679
|
/**
|
|
14678
14680
|
* @deprecated Use Quill#scrollSelectionIntoView() instead.
|
|
@@ -14728,7 +14730,7 @@ Ee(sr, "DEFAULTS", {
|
|
|
14728
14730
|
theme: "default"
|
|
14729
14731
|
}), Ee(sr, "events", Oe.events), Ee(sr, "sources", Oe.sources), Ee(sr, "version", "2.0.3"), Ee(sr, "imports", {
|
|
14730
14732
|
delta: Ne,
|
|
14731
|
-
parchment:
|
|
14733
|
+
parchment: $y,
|
|
14732
14734
|
"core/module": dr,
|
|
14733
14735
|
"core/theme": Un
|
|
14734
14736
|
});
|
|
@@ -14748,7 +14750,7 @@ function ra(r) {
|
|
|
14748
14750
|
function Tl(r) {
|
|
14749
14751
|
return Object.fromEntries(Object.entries(r).filter((e) => e[1] !== void 0));
|
|
14750
14752
|
}
|
|
14751
|
-
function
|
|
14753
|
+
function lb(r, e) {
|
|
14752
14754
|
const t = Sl(r);
|
|
14753
14755
|
if (!t)
|
|
14754
14756
|
throw new Error("Invalid Quill container");
|
|
@@ -14775,7 +14777,7 @@ function ob(r, e) {
|
|
|
14775
14777
|
...Tl(e)
|
|
14776
14778
|
};
|
|
14777
14779
|
let f = e.registry;
|
|
14778
|
-
return f ? e.formats && kn.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ?
|
|
14780
|
+
return f ? e.formats && kn.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ? ob(e.formats, d.registry, kn) : d.registry, {
|
|
14779
14781
|
...d,
|
|
14780
14782
|
registry: f,
|
|
14781
14783
|
container: t,
|
|
@@ -15060,18 +15062,18 @@ function na(r, e, t) {
|
|
|
15060
15062
|
const so = {
|
|
15061
15063
|
scope: Ce.BLOCK,
|
|
15062
15064
|
whitelist: ["right", "center", "justify"]
|
|
15063
|
-
},
|
|
15065
|
+
}, ub = new br("align", "align", so), cc = new cr("align", "ql-align", so), fc = new Gr("align", "text-align", so);
|
|
15064
15066
|
class dc extends Gr {
|
|
15065
15067
|
value(e) {
|
|
15066
15068
|
let t = super.value(e);
|
|
15067
15069
|
return t.startsWith("rgb(") ? (t = t.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${t.split(",").map((s) => `00${parseInt(s, 10).toString(16)}`.slice(-2)).join("")}`) : t;
|
|
15068
15070
|
}
|
|
15069
15071
|
}
|
|
15070
|
-
const
|
|
15072
|
+
const cb = new cr("color", "ql-color", {
|
|
15071
15073
|
scope: Ce.INLINE
|
|
15072
15074
|
}), io = new dc("color", "color", {
|
|
15073
15075
|
scope: Ce.INLINE
|
|
15074
|
-
}),
|
|
15076
|
+
}), fb = new cr("background", "ql-bg", {
|
|
15075
15077
|
scope: Ce.INLINE
|
|
15076
15078
|
}), ao = new dc("background", "background-color", {
|
|
15077
15079
|
scope: Ce.INLINE
|
|
@@ -15117,18 +15119,18 @@ const lo = {
|
|
|
15117
15119
|
scope: Ce.INLINE,
|
|
15118
15120
|
whitelist: ["serif", "monospace"]
|
|
15119
15121
|
}, mc = new cr("font", "ql-font", vc);
|
|
15120
|
-
class
|
|
15122
|
+
class db extends Gr {
|
|
15121
15123
|
value(e) {
|
|
15122
15124
|
return super.value(e).replace(/["']/g, "");
|
|
15123
15125
|
}
|
|
15124
15126
|
}
|
|
15125
|
-
const yc = new
|
|
15127
|
+
const yc = new db("font", "font-family", vc), bc = new cr("size", "ql-size", {
|
|
15126
15128
|
scope: Ce.INLINE,
|
|
15127
15129
|
whitelist: ["small", "large", "huge"]
|
|
15128
15130
|
}), xc = new Gr("size", "font-size", {
|
|
15129
15131
|
scope: Ce.INLINE,
|
|
15130
15132
|
whitelist: ["10px", "18px", "32px"]
|
|
15131
|
-
}),
|
|
15133
|
+
}), hb = Fr("quill:keyboard"), pb = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
15132
15134
|
class wi extends dr {
|
|
15133
15135
|
static match(e, t) {
|
|
15134
15136
|
return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((n) => !!t[n] !== e[n] && t[n] !== null) ? !1 : t.key === e.key || t.key === e.which;
|
|
@@ -15184,9 +15186,9 @@ class wi extends dr {
|
|
|
15184
15186
|
}
|
|
15185
15187
|
addBinding(e) {
|
|
15186
15188
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
15187
|
-
const s =
|
|
15189
|
+
const s = vb(e);
|
|
15188
15190
|
if (s == null) {
|
|
15189
|
-
|
|
15191
|
+
hb.warn("Attempted to add invalid keyboard binding", s);
|
|
15190
15192
|
return;
|
|
15191
15193
|
}
|
|
15192
15194
|
typeof t == "function" && (t = {
|
|
@@ -15280,7 +15282,7 @@ class wi extends dr {
|
|
|
15280
15282
|
this.quill.updateContents(s, le.sources.USER), this.quill.setSelection(e.index + 1, le.sources.SILENT), this.quill.focus();
|
|
15281
15283
|
}
|
|
15282
15284
|
}
|
|
15283
|
-
const
|
|
15285
|
+
const gb = {
|
|
15284
15286
|
bindings: {
|
|
15285
15287
|
bold: sa("bold"),
|
|
15286
15288
|
italic: sa("italic"),
|
|
@@ -15410,7 +15412,7 @@ const pb = {
|
|
|
15410
15412
|
handler(r) {
|
|
15411
15413
|
const e = this.quill.getModule("table");
|
|
15412
15414
|
if (e) {
|
|
15413
|
-
const [t, n, s, o] = e.getTable(r), a =
|
|
15415
|
+
const [t, n, s, o] = e.getTable(r), a = mb(t, n, s, o);
|
|
15414
15416
|
if (a == null) return;
|
|
15415
15417
|
let l = t.offset();
|
|
15416
15418
|
if (a < 0) {
|
|
@@ -15504,7 +15506,7 @@ const pb = {
|
|
|
15504
15506
|
"table up": Il(!0)
|
|
15505
15507
|
}
|
|
15506
15508
|
};
|
|
15507
|
-
wi.DEFAULTS =
|
|
15509
|
+
wi.DEFAULTS = gb;
|
|
15508
15510
|
function Cl(r) {
|
|
15509
15511
|
return {
|
|
15510
15512
|
key: "Tab",
|
|
@@ -15582,7 +15584,7 @@ function Il(r) {
|
|
|
15582
15584
|
}
|
|
15583
15585
|
};
|
|
15584
15586
|
}
|
|
15585
|
-
function
|
|
15587
|
+
function vb(r) {
|
|
15586
15588
|
if (typeof r == "string" || typeof r == "number")
|
|
15587
15589
|
r = {
|
|
15588
15590
|
key: r
|
|
@@ -15591,7 +15593,7 @@ function gb(r) {
|
|
|
15591
15593
|
r = In(r);
|
|
15592
15594
|
else
|
|
15593
15595
|
return null;
|
|
15594
|
-
return r.shortKey && (r[
|
|
15596
|
+
return r.shortKey && (r[pb] = r.shortKey, delete r.shortKey), r;
|
|
15595
15597
|
}
|
|
15596
15598
|
function uo(r) {
|
|
15597
15599
|
let {
|
|
@@ -15606,48 +15608,48 @@ function uo(r) {
|
|
|
15606
15608
|
}
|
|
15607
15609
|
e.deleteText(t, le.sources.USER), Object.keys(s).length > 0 && e.formatLine(t.index, 1, s, le.sources.USER), e.setSelection(t.index, le.sources.SILENT);
|
|
15608
15610
|
}
|
|
15609
|
-
function
|
|
15611
|
+
function mb(r, e, t, n) {
|
|
15610
15612
|
return e.prev == null && e.next == null ? t.prev == null && t.next == null ? n === 0 ? -1 : 1 : t.prev == null ? -1 : 1 : e.prev == null ? -1 : e.next == null ? 1 : null;
|
|
15611
15613
|
}
|
|
15612
|
-
const
|
|
15614
|
+
const yb = /font-weight:\s*normal/, bb = ["P", "OL", "UL"], Ll = (r) => r && bb.includes(r.tagName), xb = (r) => {
|
|
15613
15615
|
Array.from(r.querySelectorAll("br")).filter((e) => Ll(e.previousElementSibling) && Ll(e.nextElementSibling)).forEach((e) => {
|
|
15614
15616
|
var t;
|
|
15615
15617
|
(t = e.parentNode) == null || t.removeChild(e);
|
|
15616
15618
|
});
|
|
15617
|
-
},
|
|
15619
|
+
}, Ab = (r) => {
|
|
15618
15620
|
Array.from(r.querySelectorAll('b[style*="font-weight"]')).filter((e) => {
|
|
15619
15621
|
var t;
|
|
15620
|
-
return (t = e.getAttribute("style")) == null ? void 0 : t.match(
|
|
15622
|
+
return (t = e.getAttribute("style")) == null ? void 0 : t.match(yb);
|
|
15621
15623
|
}).forEach((e) => {
|
|
15622
15624
|
var n;
|
|
15623
15625
|
const t = r.createDocumentFragment();
|
|
15624
15626
|
t.append(...e.childNodes), (n = e.parentNode) == null || n.replaceChild(t, e);
|
|
15625
15627
|
});
|
|
15626
15628
|
};
|
|
15627
|
-
function
|
|
15628
|
-
r.querySelector('[id^="docs-internal-guid-"]') && (
|
|
15629
|
+
function wb(r) {
|
|
15630
|
+
r.querySelector('[id^="docs-internal-guid-"]') && (Ab(r), xb(r));
|
|
15629
15631
|
}
|
|
15630
|
-
const
|
|
15631
|
-
const t = r.getAttribute("style"), n = t == null ? void 0 : t.match(
|
|
15632
|
+
const Eb = /\bmso-list:[^;]*ignore/i, Sb = /\bmso-list:[^;]*\bl(\d+)/i, Tb = /\bmso-list:[^;]*\blevel(\d+)/i, Ob = (r, e) => {
|
|
15633
|
+
const t = r.getAttribute("style"), n = t == null ? void 0 : t.match(Sb);
|
|
15632
15634
|
if (!n)
|
|
15633
15635
|
return null;
|
|
15634
|
-
const s = Number(n[1]), o = t == null ? void 0 : t.match(
|
|
15636
|
+
const s = Number(n[1]), o = t == null ? void 0 : t.match(Tb), a = o ? Number(o[1]) : 1, l = new RegExp(`@list l${s}:level${a}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`, "i"), i = e.match(l), u = i && i[1] === "bullet" ? "bullet" : "ordered";
|
|
15635
15637
|
return {
|
|
15636
15638
|
id: s,
|
|
15637
15639
|
indent: a,
|
|
15638
15640
|
type: u,
|
|
15639
15641
|
element: r
|
|
15640
15642
|
};
|
|
15641
|
-
},
|
|
15643
|
+
}, Nb = (r) => {
|
|
15642
15644
|
var a, l;
|
|
15643
15645
|
const e = Array.from(r.querySelectorAll("[style*=mso-list]")), t = [], n = [];
|
|
15644
15646
|
e.forEach((i) => {
|
|
15645
|
-
(i.getAttribute("style") || "").match(
|
|
15647
|
+
(i.getAttribute("style") || "").match(Eb) ? t.push(i) : n.push(i);
|
|
15646
15648
|
}), t.forEach((i) => {
|
|
15647
15649
|
var u;
|
|
15648
15650
|
return (u = i.parentNode) == null ? void 0 : u.removeChild(i);
|
|
15649
15651
|
});
|
|
15650
|
-
const s = r.documentElement.innerHTML, o = n.map((i) =>
|
|
15652
|
+
const s = r.documentElement.innerHTML, o = n.map((i) => Ob(i, s)).filter((i) => i);
|
|
15651
15653
|
for (; o.length; ) {
|
|
15652
15654
|
const i = [];
|
|
15653
15655
|
let u = o.shift();
|
|
@@ -15670,17 +15672,17 @@ const wb = /\bmso-list:[^;]*ignore/i, Eb = /\bmso-list:[^;]*\bl(\d+)/i, Sb = /\b
|
|
|
15670
15672
|
});
|
|
15671
15673
|
}
|
|
15672
15674
|
};
|
|
15673
|
-
function
|
|
15674
|
-
r.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" &&
|
|
15675
|
+
function Rb(r) {
|
|
15676
|
+
r.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && Nb(r);
|
|
15675
15677
|
}
|
|
15676
|
-
const
|
|
15677
|
-
r.documentElement &&
|
|
15678
|
+
const Cb = [Rb, wb], Ib = (r) => {
|
|
15679
|
+
r.documentElement && Cb.forEach((e) => {
|
|
15678
15680
|
e(r);
|
|
15679
15681
|
});
|
|
15680
|
-
},
|
|
15682
|
+
}, Lb = Fr("quill:clipboard"), kb = [[Node.TEXT_NODE, Hb], [Node.TEXT_NODE, Pl], ["br", Ub], [Node.ELEMENT_NODE, Pl], [Node.ELEMENT_NODE, Db], [Node.ELEMENT_NODE, Mb], [Node.ELEMENT_NODE, qb], ["li", $b], ["ol, ul", _b], ["pre", Bb], ["tr", zb], ["b", ia("bold")], ["i", ia("italic")], ["strike", ia("strike")], ["style", jb]], Pb = [ub, hc].reduce((r, e) => (r[e.keyName] = e, r), {}), kl = [fc, ao, io, gc, yc, xc].reduce((r, e) => (r[e.keyName] = e, r), {});
|
|
15681
15683
|
class Ac extends dr {
|
|
15682
15684
|
constructor(e, t) {
|
|
15683
|
-
super(e, t), this.quill.root.addEventListener("copy", (n) => this.onCaptureCopy(n, !1)), this.quill.root.addEventListener("cut", (n) => this.onCaptureCopy(n, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [],
|
|
15685
|
+
super(e, t), this.quill.root.addEventListener("copy", (n) => this.onCaptureCopy(n, !1)), this.quill.root.addEventListener("cut", (n) => this.onCaptureCopy(n, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], kb.concat(this.options.matchers ?? []).forEach((n) => {
|
|
15684
15686
|
let [s, o] = n;
|
|
15685
15687
|
this.addMatcher(s, o);
|
|
15686
15688
|
});
|
|
@@ -15704,7 +15706,7 @@ class Ac extends dr {
|
|
|
15704
15706
|
`) && (o.ops[o.ops.length - 1].attributes == null || s.table) ? o.compose(new Ne().retain(o.length() - 1).delete(1)) : o;
|
|
15705
15707
|
}
|
|
15706
15708
|
normalizeHTML(e) {
|
|
15707
|
-
|
|
15709
|
+
Ib(e);
|
|
15708
15710
|
}
|
|
15709
15711
|
convertHTML(e) {
|
|
15710
15712
|
const t = new DOMParser().parseFromString(e, "text/html");
|
|
@@ -15796,7 +15798,7 @@ class Ac extends dr {
|
|
|
15796
15798
|
text: n,
|
|
15797
15799
|
html: s
|
|
15798
15800
|
}, o);
|
|
15799
|
-
|
|
15801
|
+
Lb.log("onPaste", a, {
|
|
15800
15802
|
text: n,
|
|
15801
15803
|
html: s
|
|
15802
15804
|
});
|
|
@@ -15858,7 +15860,7 @@ function $r(r, e) {
|
|
|
15858
15860
|
const t = e.query(r);
|
|
15859
15861
|
return t && t.prototype instanceof Vt ? !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(r.tagName.toLowerCase());
|
|
15860
15862
|
}
|
|
15861
|
-
function
|
|
15863
|
+
function Fb(r, e) {
|
|
15862
15864
|
return r.previousElementSibling && r.nextElementSibling && !$r(r.previousElementSibling, e) && !$r(r.nextElementSibling, e);
|
|
15863
15865
|
}
|
|
15864
15866
|
const Vs = /* @__PURE__ */ new WeakMap();
|
|
@@ -15874,17 +15876,17 @@ function co(r, e, t, n, s) {
|
|
|
15874
15876
|
function ia(r) {
|
|
15875
15877
|
return (e, t, n) => dn(t, r, !0, n);
|
|
15876
15878
|
}
|
|
15877
|
-
function
|
|
15879
|
+
function Mb(r, e, t) {
|
|
15878
15880
|
const n = br.keys(r), s = cr.keys(r), o = Gr.keys(r), a = {};
|
|
15879
15881
|
return n.concat(s).concat(o).forEach((l) => {
|
|
15880
15882
|
let i = t.query(l, Ce.ATTRIBUTE);
|
|
15881
|
-
i != null && (a[i.attrName] = i.value(r), a[i.attrName]) || (i =
|
|
15883
|
+
i != null && (a[i.attrName] = i.value(r), a[i.attrName]) || (i = Pb[l], i != null && (i.attrName === l || i.keyName === l) && (a[i.attrName] = i.value(r) || void 0), i = kl[l], i != null && (i.attrName === l || i.keyName === l) && (i = kl[l], a[i.attrName] = i.value(r) || void 0));
|
|
15882
15884
|
}), Object.entries(a).reduce((l, i) => {
|
|
15883
15885
|
let [u, c] = i;
|
|
15884
15886
|
return dn(l, u, c, t);
|
|
15885
15887
|
}, e);
|
|
15886
15888
|
}
|
|
15887
|
-
function
|
|
15889
|
+
function Db(r, e, t) {
|
|
15888
15890
|
const n = t.query(r);
|
|
15889
15891
|
if (n == null) return e;
|
|
15890
15892
|
if (n.prototype instanceof Vt) {
|
|
@@ -15897,19 +15899,19 @@ function Mb(r, e, t) {
|
|
|
15897
15899
|
return dn(e, n.blotName, n.formats(r, t), t);
|
|
15898
15900
|
return e;
|
|
15899
15901
|
}
|
|
15900
|
-
function
|
|
15902
|
+
function Ub(r, e) {
|
|
15901
15903
|
return xs(e, `
|
|
15902
15904
|
`) || e.insert(`
|
|
15903
15905
|
`), e;
|
|
15904
15906
|
}
|
|
15905
|
-
function
|
|
15907
|
+
function Bb(r, e, t) {
|
|
15906
15908
|
const n = t.query("code-block"), s = n && "formats" in n && typeof n.formats == "function" ? n.formats(r, t) : !0;
|
|
15907
15909
|
return dn(e, "code-block", s, t);
|
|
15908
15910
|
}
|
|
15909
|
-
function
|
|
15911
|
+
function jb() {
|
|
15910
15912
|
return new Ne();
|
|
15911
15913
|
}
|
|
15912
|
-
function
|
|
15914
|
+
function $b(r, e, t) {
|
|
15913
15915
|
const n = t.query(r);
|
|
15914
15916
|
if (n == null || // @ts-expect-error
|
|
15915
15917
|
n.blotName !== "list" || !xs(e, `
|
|
@@ -15923,7 +15925,7 @@ function jb(r, e, t) {
|
|
|
15923
15925
|
...l.attributes || {}
|
|
15924
15926
|
}) : a, new Ne());
|
|
15925
15927
|
}
|
|
15926
|
-
function
|
|
15928
|
+
function _b(r, e, t) {
|
|
15927
15929
|
const n = r;
|
|
15928
15930
|
let s = n.tagName === "OL" ? "ordered" : "bullet";
|
|
15929
15931
|
const o = n.getAttribute("data-checked");
|
|
@@ -15951,7 +15953,7 @@ function Pl(r, e, t) {
|
|
|
15951
15953
|
}
|
|
15952
15954
|
return e;
|
|
15953
15955
|
}
|
|
15954
|
-
function
|
|
15956
|
+
function qb(r, e, t) {
|
|
15955
15957
|
var o;
|
|
15956
15958
|
const n = {}, s = r.style || {};
|
|
15957
15959
|
return s.fontStyle === "italic" && (n.italic = !0), s.textDecoration === "underline" && (n.underline = !0), s.textDecoration === "line-through" && (n.strike = !0), ((o = s.fontWeight) != null && o.startsWith("bold") || // @ts-expect-error Fix me later
|
|
@@ -15960,7 +15962,7 @@ function _b(r, e, t) {
|
|
|
15960
15962
|
return dn(a, i, u, t);
|
|
15961
15963
|
}, e), parseFloat(s.textIndent || 0) > 0 ? new Ne().insert(" ").concat(e) : e;
|
|
15962
15964
|
}
|
|
15963
|
-
function
|
|
15965
|
+
function zb(r, e, t) {
|
|
15964
15966
|
var s, o;
|
|
15965
15967
|
const n = ((s = r.parentElement) == null ? void 0 : s.tagName) === "TABLE" ? r.parentElement : (o = r.parentElement) == null ? void 0 : o.parentElement;
|
|
15966
15968
|
if (n != null) {
|
|
@@ -15969,14 +15971,14 @@ function qb(r, e, t) {
|
|
|
15969
15971
|
}
|
|
15970
15972
|
return e;
|
|
15971
15973
|
}
|
|
15972
|
-
function
|
|
15974
|
+
function Hb(r, e, t) {
|
|
15973
15975
|
var s;
|
|
15974
15976
|
let n = r.data;
|
|
15975
15977
|
if (((s = r.parentElement) == null ? void 0 : s.tagName) === "O:P")
|
|
15976
15978
|
return e.insert(n.trim());
|
|
15977
15979
|
if (!wc(r)) {
|
|
15978
15980
|
if (n.trim().length === 0 && n.includes(`
|
|
15979
|
-
`) && !
|
|
15981
|
+
`) && !Fb(r, t))
|
|
15980
15982
|
return e;
|
|
15981
15983
|
n = n.replace(/[^\S\u00a0]/g, " "), n = n.replace(/ {2,}/g, " "), (r.previousSibling == null && r.parentElement != null && $r(r.parentElement, t) || r.previousSibling instanceof Element && $r(r.previousSibling, t)) && (n = n.replace(/^ /, "")), (r.nextSibling == null && r.parentElement != null && $r(r.parentElement, t) || r.nextSibling instanceof Element && $r(r.nextSibling, t)) && (n = n.replace(/ $/, "")), n = n.replaceAll(" ", " ");
|
|
15982
15984
|
}
|
|
@@ -16058,7 +16060,7 @@ class Ec extends dr {
|
|
|
16058
16060
|
if (t.range)
|
|
16059
16061
|
this.quill.setSelection(t.range, le.sources.USER);
|
|
16060
16062
|
else {
|
|
16061
|
-
const n =
|
|
16063
|
+
const n = Gb(this.quill.scroll, t.delta);
|
|
16062
16064
|
this.quill.setSelection(n, le.sources.USER);
|
|
16063
16065
|
}
|
|
16064
16066
|
}
|
|
@@ -16078,15 +16080,15 @@ function Fl(r, e) {
|
|
|
16078
16080
|
}, t = s.delta.transform(t), r[n].delta.length() === 0 && r.splice(n, 1);
|
|
16079
16081
|
}
|
|
16080
16082
|
}
|
|
16081
|
-
function
|
|
16083
|
+
function Vb(r, e) {
|
|
16082
16084
|
const t = e.ops[e.ops.length - 1];
|
|
16083
16085
|
return t == null ? !1 : t.insert != null ? typeof t.insert == "string" && t.insert.endsWith(`
|
|
16084
16086
|
`) : t.attributes != null ? Object.keys(t.attributes).some((n) => r.query(n, Ce.BLOCK) != null) : !1;
|
|
16085
16087
|
}
|
|
16086
|
-
function
|
|
16088
|
+
function Gb(r, e) {
|
|
16087
16089
|
const t = e.reduce((s, o) => s + (o.delete || 0), 0);
|
|
16088
16090
|
let n = e.length() - t;
|
|
16089
|
-
return
|
|
16091
|
+
return Vb(r, e) && (n -= 1), n;
|
|
16090
16092
|
}
|
|
16091
16093
|
function ka(r, e) {
|
|
16092
16094
|
if (!r) return r;
|
|
@@ -16142,8 +16144,8 @@ Sc.DEFAULTS = {
|
|
|
16142
16144
|
});
|
|
16143
16145
|
}
|
|
16144
16146
|
};
|
|
16145
|
-
const
|
|
16146
|
-
class
|
|
16147
|
+
const Wb = ["insertText", "insertReplacementText"];
|
|
16148
|
+
class Kb extends dr {
|
|
16147
16149
|
constructor(e, t) {
|
|
16148
16150
|
super(e, t), e.root.addEventListener("beforeinput", (n) => {
|
|
16149
16151
|
this.handleBeforeInput(n);
|
|
@@ -16168,12 +16170,12 @@ class Wb extends dr {
|
|
|
16168
16170
|
return this.quill.setSelection(e.index + t.length, 0, le.sources.SILENT), !0;
|
|
16169
16171
|
}
|
|
16170
16172
|
handleBeforeInput(e) {
|
|
16171
|
-
if (this.quill.composition.isComposing || e.defaultPrevented || !
|
|
16173
|
+
if (this.quill.composition.isComposing || e.defaultPrevented || !Wb.includes(e.inputType))
|
|
16172
16174
|
return;
|
|
16173
16175
|
const t = e.getTargetRanges ? e.getTargetRanges()[0] : null;
|
|
16174
16176
|
if (!t || t.collapsed === !0)
|
|
16175
16177
|
return;
|
|
16176
|
-
const n =
|
|
16178
|
+
const n = Xb(e);
|
|
16177
16179
|
if (n == null)
|
|
16178
16180
|
return;
|
|
16179
16181
|
const s = this.quill.selection.normalizeNative(t), o = s ? this.quill.selection.normalizedToRange(s) : null;
|
|
@@ -16184,13 +16186,13 @@ class Wb extends dr {
|
|
|
16184
16186
|
e && this.replaceText(e);
|
|
16185
16187
|
}
|
|
16186
16188
|
}
|
|
16187
|
-
function
|
|
16189
|
+
function Xb(r) {
|
|
16188
16190
|
var e;
|
|
16189
16191
|
return typeof r.data == "string" ? r.data : (e = r.dataTransfer) != null && e.types.includes("text/plain") ? r.dataTransfer.getData("text/plain") : null;
|
|
16190
16192
|
}
|
|
16191
|
-
const
|
|
16192
|
-
r.key === "ArrowUp" || r.key === "ArrowDown" || r.key === "Home" ||
|
|
16193
|
-
class
|
|
16193
|
+
const Yb = /Mac/i.test(navigator.platform), Zb = 100, Qb = (r) => !!(r.key === "ArrowLeft" || r.key === "ArrowRight" || // RTL scripts or moving from the end of the previous line
|
|
16194
|
+
r.key === "ArrowUp" || r.key === "ArrowDown" || r.key === "Home" || Yb && r.key === "a" && r.ctrlKey === !0);
|
|
16195
|
+
class Jb extends dr {
|
|
16194
16196
|
constructor(t, n) {
|
|
16195
16197
|
super(t, n);
|
|
16196
16198
|
Ee(this, "isListening", !1);
|
|
@@ -16216,7 +16218,7 @@ class Qb extends dr {
|
|
|
16216
16218
|
}
|
|
16217
16219
|
handleNavigationShortcuts() {
|
|
16218
16220
|
this.quill.root.addEventListener("keydown", (t) => {
|
|
16219
|
-
!t.defaultPrevented &&
|
|
16221
|
+
!t.defaultPrevented && Qb(t) && this.ensureListeningToSelectionChange();
|
|
16220
16222
|
});
|
|
16221
16223
|
}
|
|
16222
16224
|
/**
|
|
@@ -16226,7 +16228,7 @@ class Qb extends dr {
|
|
|
16226
16228
|
* the selection within the handler of a `selectionchange` event.
|
|
16227
16229
|
*/
|
|
16228
16230
|
ensureListeningToSelectionChange() {
|
|
16229
|
-
if (this.selectionChangeDeadline = Date.now() +
|
|
16231
|
+
if (this.selectionChangeDeadline = Date.now() + Zb, this.isListening) return;
|
|
16230
16232
|
this.isListening = !0;
|
|
16231
16233
|
const t = () => {
|
|
16232
16234
|
this.isListening = !1, Date.now() <= this.selectionChangeDeadline && this.handleSelectionChange();
|
|
@@ -16260,10 +16262,10 @@ le.register({
|
|
|
16260
16262
|
"modules/history": Ec,
|
|
16261
16263
|
"modules/keyboard": wi,
|
|
16262
16264
|
"modules/uploader": Sc,
|
|
16263
|
-
"modules/input":
|
|
16264
|
-
"modules/uiNode":
|
|
16265
|
+
"modules/input": Kb,
|
|
16266
|
+
"modules/uiNode": Jb
|
|
16265
16267
|
});
|
|
16266
|
-
class
|
|
16268
|
+
class ex extends cr {
|
|
16267
16269
|
add(e, t) {
|
|
16268
16270
|
let n = 0;
|
|
16269
16271
|
if (t === "+1" || t === "-1") {
|
|
@@ -16279,7 +16281,7 @@ class Jb extends cr {
|
|
|
16279
16281
|
return parseInt(super.value(e), 10) || void 0;
|
|
16280
16282
|
}
|
|
16281
16283
|
}
|
|
16282
|
-
const
|
|
16284
|
+
const tx = new ex("indent", "ql-indent", {
|
|
16283
16285
|
scope: Ce.BLOCK,
|
|
16284
16286
|
// @ts-expect-error
|
|
16285
16287
|
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
@@ -16539,7 +16541,7 @@ ${Ai(this.code(e, t))}
|
|
|
16539
16541
|
ss.allowedChildren = [Yt];
|
|
16540
16542
|
Yt.requiredContainer = ss;
|
|
16541
16543
|
Yt.allowedChildren = [Lr, Dn, lr, fr];
|
|
16542
|
-
const
|
|
16544
|
+
const rx = (r, e, t) => {
|
|
16543
16545
|
if (typeof r.versionString == "string") {
|
|
16544
16546
|
const n = r.versionString.split(".")[0];
|
|
16545
16547
|
if (parseInt(n, 10) >= 11)
|
|
@@ -16605,7 +16607,7 @@ class Oc extends dr {
|
|
|
16605
16607
|
[Dt.blotName]: t
|
|
16606
16608
|
}), s.insert(o)), new Ne());
|
|
16607
16609
|
const n = this.quill.root.ownerDocument.createElement("div");
|
|
16608
|
-
return n.classList.add(Dt.className), n.innerHTML =
|
|
16610
|
+
return n.classList.add(Dt.className), n.innerHTML = rx(this.options.hljs, t, e), co(this.quill.scroll, n, [(s, o) => {
|
|
16609
16611
|
const a = es.value(s);
|
|
16610
16612
|
return a ? o.compose(new Ne().retain(o.length(), {
|
|
16611
16613
|
[Lr.blotName]: a
|
|
@@ -16775,7 +16777,7 @@ ar.requiredContainer = kr;
|
|
|
16775
16777
|
function fo() {
|
|
16776
16778
|
return `row-${Math.random().toString(36).slice(2, 6)}`;
|
|
16777
16779
|
}
|
|
16778
|
-
class
|
|
16780
|
+
class nx extends dr {
|
|
16779
16781
|
static register() {
|
|
16780
16782
|
le.register(ar), le.register(kr), le.register(yr), le.register(Bn);
|
|
16781
16783
|
}
|
|
@@ -16866,7 +16868,7 @@ class ho extends dr {
|
|
|
16866
16868
|
var n, s;
|
|
16867
16869
|
if (super(e, t), Array.isArray(this.options.container)) {
|
|
16868
16870
|
const o = document.createElement("div");
|
|
16869
|
-
o.setAttribute("role", "toolbar"),
|
|
16871
|
+
o.setAttribute("role", "toolbar"), sx(o, this.options.container), (s = (n = e.container) == null ? void 0 : n.parentNode) == null || s.insertBefore(o, e.container), this.container = o;
|
|
16870
16872
|
} else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
|
|
16871
16873
|
if (!(this.container instanceof HTMLElement)) {
|
|
16872
16874
|
Ul.error("Container required for toolbar", this.options);
|
|
@@ -16951,7 +16953,7 @@ function Bl(r, e, t) {
|
|
|
16951
16953
|
const n = document.createElement("button");
|
|
16952
16954
|
n.setAttribute("type", "button"), n.classList.add(`ql-${e}`), n.setAttribute("aria-pressed", "false"), t != null ? (n.value = t, n.setAttribute("aria-label", `${e}: ${t}`)) : n.setAttribute("aria-label", e), r.appendChild(n);
|
|
16953
16955
|
}
|
|
16954
|
-
function
|
|
16956
|
+
function sx(r, e) {
|
|
16955
16957
|
Array.isArray(e[0]) || (e = [e]), e.forEach((t) => {
|
|
16956
16958
|
const n = document.createElement("span");
|
|
16957
16959
|
n.classList.add("ql-formats"), t.forEach((s) => {
|
|
@@ -16959,12 +16961,12 @@ function nx(r, e) {
|
|
|
16959
16961
|
Bl(n, s);
|
|
16960
16962
|
else {
|
|
16961
16963
|
const o = Object.keys(s)[0], a = s[o];
|
|
16962
|
-
Array.isArray(a) ?
|
|
16964
|
+
Array.isArray(a) ? ix(n, o, a) : Bl(n, o, a);
|
|
16963
16965
|
}
|
|
16964
16966
|
}), r.appendChild(n);
|
|
16965
16967
|
});
|
|
16966
16968
|
}
|
|
16967
|
-
function
|
|
16969
|
+
function ix(r, e, t) {
|
|
16968
16970
|
const n = document.createElement("select");
|
|
16969
16971
|
n.classList.add(`ql-${e}`), t.forEach((s) => {
|
|
16970
16972
|
const o = document.createElement("option");
|
|
@@ -17007,54 +17009,54 @@ ho.DEFAULTS = {
|
|
|
17007
17009
|
}
|
|
17008
17010
|
}
|
|
17009
17011
|
};
|
|
17010
|
-
const ix = '<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>', ax = '<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>', ox = '<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>', lx = '<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>', ux = '<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>', cx = '<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>', fx = '<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>', dx = '<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>', jl = '<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>', hx = '<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>', px = '<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>', gx = '<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>', vx = '<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>', mx = '<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>', yx = '<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>', bx = '<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>', xx = '<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>', Ax = '<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>', wx = '<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>', Ex = '<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>', Sx = '<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>', Tx = '<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>', Ox = '<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>', Nx = '<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>', Rx = '<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>', Cx = '<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>', Ix = '<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>', Lx = '<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>', kx = '<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>', Px = '<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>', Fx = '<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>', Mx = '<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>', Dx = '<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>', ps = {
|
|
17012
|
+
const ax = '<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>', ox = '<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>', lx = '<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>', ux = '<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>', cx = '<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>', fx = '<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>', dx = '<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>', hx = '<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>', jl = '<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>', px = '<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>', gx = '<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>', vx = '<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>', mx = '<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>', yx = '<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>', bx = '<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>', xx = '<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>', Ax = '<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>', wx = '<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>', Ex = '<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>', Sx = '<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>', Tx = '<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>', Ox = '<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>', Nx = '<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>', Rx = '<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>', Cx = '<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>', Ix = '<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>', Lx = '<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>', kx = '<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>', Px = '<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>', Fx = '<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>', Mx = '<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>', Dx = '<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>', Ux = '<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>', ps = {
|
|
17011
17013
|
align: {
|
|
17012
|
-
"":
|
|
17013
|
-
center:
|
|
17014
|
-
right:
|
|
17015
|
-
justify:
|
|
17014
|
+
"": ax,
|
|
17015
|
+
center: ox,
|
|
17016
|
+
right: lx,
|
|
17017
|
+
justify: ux
|
|
17016
17018
|
},
|
|
17017
|
-
background:
|
|
17018
|
-
blockquote:
|
|
17019
|
-
bold:
|
|
17020
|
-
clean:
|
|
17019
|
+
background: cx,
|
|
17020
|
+
blockquote: fx,
|
|
17021
|
+
bold: dx,
|
|
17022
|
+
clean: hx,
|
|
17021
17023
|
code: jl,
|
|
17022
17024
|
"code-block": jl,
|
|
17023
|
-
color:
|
|
17025
|
+
color: px,
|
|
17024
17026
|
direction: {
|
|
17025
|
-
"":
|
|
17026
|
-
rtl:
|
|
17027
|
+
"": gx,
|
|
17028
|
+
rtl: vx
|
|
17027
17029
|
},
|
|
17028
|
-
formula:
|
|
17030
|
+
formula: mx,
|
|
17029
17031
|
header: {
|
|
17030
|
-
1:
|
|
17031
|
-
2:
|
|
17032
|
-
3:
|
|
17033
|
-
4:
|
|
17034
|
-
5:
|
|
17035
|
-
6:
|
|
17032
|
+
1: yx,
|
|
17033
|
+
2: bx,
|
|
17034
|
+
3: xx,
|
|
17035
|
+
4: Ax,
|
|
17036
|
+
5: wx,
|
|
17037
|
+
6: Ex
|
|
17036
17038
|
},
|
|
17037
|
-
italic:
|
|
17038
|
-
image:
|
|
17039
|
+
italic: Sx,
|
|
17040
|
+
image: Tx,
|
|
17039
17041
|
indent: {
|
|
17040
|
-
"+1":
|
|
17041
|
-
"-1":
|
|
17042
|
+
"+1": Ox,
|
|
17043
|
+
"-1": Nx
|
|
17042
17044
|
},
|
|
17043
|
-
link:
|
|
17045
|
+
link: Rx,
|
|
17044
17046
|
list: {
|
|
17045
|
-
bullet:
|
|
17046
|
-
check:
|
|
17047
|
-
ordered:
|
|
17047
|
+
bullet: Cx,
|
|
17048
|
+
check: Ix,
|
|
17049
|
+
ordered: Lx
|
|
17048
17050
|
},
|
|
17049
17051
|
script: {
|
|
17050
|
-
sub:
|
|
17051
|
-
super:
|
|
17052
|
+
sub: kx,
|
|
17053
|
+
super: Px
|
|
17052
17054
|
},
|
|
17053
|
-
strike:
|
|
17054
|
-
table:
|
|
17055
|
-
underline:
|
|
17056
|
-
video:
|
|
17057
|
-
},
|
|
17055
|
+
strike: Fx,
|
|
17056
|
+
table: Mx,
|
|
17057
|
+
underline: Dx,
|
|
17058
|
+
video: Ux
|
|
17059
|
+
}, Bx = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
|
|
17058
17060
|
let $l = 0;
|
|
17059
17061
|
function _l(r, e) {
|
|
17060
17062
|
r.setAttribute(e, `${r.getAttribute(e) !== "true"}`);
|
|
@@ -17096,7 +17098,7 @@ class Ei {
|
|
|
17096
17098
|
}
|
|
17097
17099
|
buildLabel() {
|
|
17098
17100
|
const e = document.createElement("span");
|
|
17099
|
-
return e.classList.add("ql-picker-label"), e.innerHTML =
|
|
17101
|
+
return e.classList.add("ql-picker-label"), e.innerHTML = Bx, e.tabIndex = "0", e.setAttribute("role", "button"), e.setAttribute("aria-expanded", "false"), this.container.appendChild(e), e;
|
|
17100
17102
|
}
|
|
17101
17103
|
buildOptions() {
|
|
17102
17104
|
const e = document.createElement("span");
|
|
@@ -17166,7 +17168,7 @@ class Rc extends Ei {
|
|
|
17166
17168
|
}
|
|
17167
17169
|
}
|
|
17168
17170
|
}
|
|
17169
|
-
const
|
|
17171
|
+
const jx = (r) => {
|
|
17170
17172
|
const {
|
|
17171
17173
|
overflowY: e
|
|
17172
17174
|
} = getComputedStyle(r, null);
|
|
@@ -17174,7 +17176,7 @@ const Bx = (r) => {
|
|
|
17174
17176
|
};
|
|
17175
17177
|
class Cc {
|
|
17176
17178
|
constructor(e, t) {
|
|
17177
|
-
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE,
|
|
17179
|
+
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, jx(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
|
|
17178
17180
|
this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
|
|
17179
17181
|
}), this.hide();
|
|
17180
17182
|
}
|
|
@@ -17196,7 +17198,7 @@ class Cc {
|
|
|
17196
17198
|
this.root.classList.remove("ql-editing"), this.root.classList.remove("ql-hidden");
|
|
17197
17199
|
}
|
|
17198
17200
|
}
|
|
17199
|
-
const
|
|
17201
|
+
const $x = [!1, "center", "right", "justify"], _x = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], qx = [!1, "serif", "monospace"], zx = ["1", "2", "3", !1], Hx = ["small", !1, "large", "huge"];
|
|
17200
17202
|
class Es extends Un {
|
|
17201
17203
|
constructor(e, t) {
|
|
17202
17204
|
super(e, t);
|
|
@@ -17234,13 +17236,13 @@ class Es extends Un {
|
|
|
17234
17236
|
}
|
|
17235
17237
|
buildPickers(e, t) {
|
|
17236
17238
|
this.pickers = Array.from(e).map((s) => {
|
|
17237
|
-
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Xn(s,
|
|
17239
|
+
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Xn(s, $x), typeof t.align == "object"))
|
|
17238
17240
|
return new Rc(s, t.align);
|
|
17239
17241
|
if (s.classList.contains("ql-background") || s.classList.contains("ql-color")) {
|
|
17240
17242
|
const o = s.classList.contains("ql-background") ? "background" : "color";
|
|
17241
|
-
return s.querySelector("option") == null && Xn(s,
|
|
17243
|
+
return s.querySelector("option") == null && Xn(s, _x, o === "background" ? "#ffffff" : "#000000"), new Nc(s, t[o]);
|
|
17242
17244
|
}
|
|
17243
|
-
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Xn(s,
|
|
17245
|
+
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Xn(s, qx) : s.classList.contains("ql-header") ? Xn(s, zx) : s.classList.contains("ql-size") && Xn(s, Hx)), new Ei(s);
|
|
17244
17246
|
});
|
|
17245
17247
|
const n = () => {
|
|
17246
17248
|
this.pickers.forEach((s) => {
|
|
@@ -17308,7 +17310,7 @@ class Ic extends Cc {
|
|
|
17308
17310
|
break;
|
|
17309
17311
|
}
|
|
17310
17312
|
case "video":
|
|
17311
|
-
e =
|
|
17313
|
+
e = Vx(e);
|
|
17312
17314
|
// eslint-disable-next-line no-fallthrough
|
|
17313
17315
|
case "formula": {
|
|
17314
17316
|
if (!e) break;
|
|
@@ -17329,7 +17331,7 @@ class Ic extends Cc {
|
|
|
17329
17331
|
this.textbox.value = "", this.hide();
|
|
17330
17332
|
}
|
|
17331
17333
|
}
|
|
17332
|
-
function
|
|
17334
|
+
function Vx(r) {
|
|
17333
17335
|
let e = r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
|
|
17334
17336
|
return e ? `${e[1] || "https"}://www.youtube.com/embed/${e[2]}?showinfo=0` : (e = r.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? `${e[1] || "https"}://player.vimeo.com/video/${e[2]}/` : r;
|
|
17335
17337
|
}
|
|
@@ -17340,7 +17342,7 @@ function Xn(r, e) {
|
|
|
17340
17342
|
n === t ? s.setAttribute("selected", "selected") : s.setAttribute("value", String(n)), r.appendChild(s);
|
|
17341
17343
|
});
|
|
17342
17344
|
}
|
|
17343
|
-
const
|
|
17345
|
+
const Gx = [["bold", "italic", "link"], [{
|
|
17344
17346
|
header: 1
|
|
17345
17347
|
}, {
|
|
17346
17348
|
header: 2
|
|
@@ -17387,7 +17389,7 @@ class Lc extends Ic {
|
|
|
17387
17389
|
Ee(Lc, "TEMPLATE", ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""));
|
|
17388
17390
|
class kc extends Es {
|
|
17389
17391
|
constructor(e, t) {
|
|
17390
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
17392
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Gx), super(e, t), this.quill.container.classList.add("ql-bubble");
|
|
17391
17393
|
}
|
|
17392
17394
|
extendToolbar(e) {
|
|
17393
17395
|
this.tooltip = new Lc(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), ps), this.buildPickers(e.container.querySelectorAll("select"), ps));
|
|
@@ -17404,7 +17406,7 @@ kc.DEFAULTS = zr({}, Es.DEFAULTS, {
|
|
|
17404
17406
|
}
|
|
17405
17407
|
}
|
|
17406
17408
|
});
|
|
17407
|
-
const
|
|
17409
|
+
const Wx = [[{
|
|
17408
17410
|
header: ["1", "2", "3", !1]
|
|
17409
17411
|
}], ["bold", "italic", "underline", "link"], [{
|
|
17410
17412
|
list: "ordered"
|
|
@@ -17450,7 +17452,7 @@ class Pc extends Ic {
|
|
|
17450
17452
|
Ee(Pc, "TEMPLATE", ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""));
|
|
17451
17453
|
class Fc extends Es {
|
|
17452
17454
|
constructor(e, t) {
|
|
17453
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
17455
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Wx), super(e, t), this.quill.container.classList.add("ql-snow");
|
|
17454
17456
|
}
|
|
17455
17457
|
extendToolbar(e) {
|
|
17456
17458
|
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), ps), this.buildPickers(e.container.querySelectorAll("select"), ps), this.tooltip = new Pc(this.quill, this.options.bounds), e.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
|
|
@@ -17485,8 +17487,8 @@ Fc.DEFAULTS = zr({}, Es.DEFAULTS, {
|
|
|
17485
17487
|
le.register({
|
|
17486
17488
|
"attributors/attribute/direction": hc,
|
|
17487
17489
|
"attributors/class/align": cc,
|
|
17488
|
-
"attributors/class/background":
|
|
17489
|
-
"attributors/class/color":
|
|
17490
|
+
"attributors/class/background": fb,
|
|
17491
|
+
"attributors/class/color": cb,
|
|
17490
17492
|
"attributors/class/direction": pc,
|
|
17491
17493
|
"attributors/class/font": mc,
|
|
17492
17494
|
"attributors/class/size": bc,
|
|
@@ -17500,7 +17502,7 @@ le.register({
|
|
|
17500
17502
|
le.register({
|
|
17501
17503
|
"formats/align": cc,
|
|
17502
17504
|
"formats/direction": pc,
|
|
17503
|
-
"formats/indent":
|
|
17505
|
+
"formats/indent": tx,
|
|
17504
17506
|
"formats/background": ao,
|
|
17505
17507
|
"formats/color": io,
|
|
17506
17508
|
"formats/font": mc,
|
|
@@ -17520,7 +17522,7 @@ le.register({
|
|
|
17520
17522
|
"formats/image": ja,
|
|
17521
17523
|
"formats/video": Qs,
|
|
17522
17524
|
"modules/syntax": Oc,
|
|
17523
|
-
"modules/table":
|
|
17525
|
+
"modules/table": nx,
|
|
17524
17526
|
"modules/toolbar": ho,
|
|
17525
17527
|
"themes/bubble": kc,
|
|
17526
17528
|
"themes/snow": Fc,
|
|
@@ -17530,7 +17532,7 @@ le.register({
|
|
|
17530
17532
|
"ui/color-picker": Nc,
|
|
17531
17533
|
"ui/tooltip": Cc
|
|
17532
17534
|
}, !0);
|
|
17533
|
-
const
|
|
17535
|
+
const Kx = {
|
|
17534
17536
|
name: "QuillEditor",
|
|
17535
17537
|
props: {
|
|
17536
17538
|
modelValue: {
|
|
@@ -17578,16 +17580,16 @@ const Wx = {
|
|
|
17578
17580
|
editorContainer: t
|
|
17579
17581
|
};
|
|
17580
17582
|
}
|
|
17581
|
-
},
|
|
17582
|
-
function
|
|
17583
|
-
return ue(), he("div",
|
|
17584
|
-
Z("div",
|
|
17583
|
+
}, Xx = { class: "q-editor" }, Yx = { ref: "editorContainer" };
|
|
17584
|
+
function Zx(r, e, t, n, s, o) {
|
|
17585
|
+
return ue(), he("div", Xx, [
|
|
17586
|
+
Z("div", Yx, null, 512)
|
|
17585
17587
|
]);
|
|
17586
17588
|
}
|
|
17587
|
-
const
|
|
17589
|
+
const Qx = /* @__PURE__ */ vs(Kx, [["render", Zx]]), Jx = { class: "rounded-xl bg-gray-50 px-6 py-5" }, eA = {
|
|
17588
17590
|
key: 0,
|
|
17589
17591
|
class: "pb-5"
|
|
17590
|
-
},
|
|
17592
|
+
}, tA = { class: "text-lg font-semibold text-gray-900" }, rA = {
|
|
17591
17593
|
key: 0,
|
|
17592
17594
|
class: "text-sm text-gray-600"
|
|
17593
17595
|
}, Yn = {
|
|
@@ -17603,15 +17605,15 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17603
17605
|
}
|
|
17604
17606
|
},
|
|
17605
17607
|
setup(r) {
|
|
17606
|
-
return (e, t) => (ue(), he("div",
|
|
17607
|
-
r.title ? (ue(), he("div",
|
|
17608
|
-
Z("div",
|
|
17609
|
-
r.supporting_text ? (ue(), he("div",
|
|
17608
|
+
return (e, t) => (ue(), he("div", Jx, [
|
|
17609
|
+
r.title ? (ue(), he("div", eA, [
|
|
17610
|
+
Z("div", tA, $e(r.title), 1),
|
|
17611
|
+
r.supporting_text ? (ue(), he("div", rA, $e(r.supporting_text), 1)) : nt("", !0)
|
|
17610
17612
|
])) : nt("", !0),
|
|
17611
17613
|
Pn(e.$slots, "default")
|
|
17612
17614
|
]));
|
|
17613
17615
|
}
|
|
17614
|
-
},
|
|
17616
|
+
}, nA = { class: "item-edit" }, sA = { class: "flex items-start gap-4 px-6 pt-4 h-full" }, iA = { class: "flex flex-1 flex-col gap-4" }, aA = { class: "flex flex-col gap-8" }, oA = { class: "flex flex-col gap-8" }, lA = { class: "flex flex-col gap-4" }, uA = { class: "flex w-full max-w-[356px] flex-col gap-4" }, cA = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" }, BA = {
|
|
17615
17617
|
__name: "ItemEdit",
|
|
17616
17618
|
props: {
|
|
17617
17619
|
item: {
|
|
@@ -17652,12 +17654,12 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17652
17654
|
});
|
|
17653
17655
|
return (u, c) => {
|
|
17654
17656
|
var d, f, g, h;
|
|
17655
|
-
return ue(), he("div",
|
|
17656
|
-
Z("div",
|
|
17657
|
-
Z("div",
|
|
17657
|
+
return ue(), he("div", nA, [
|
|
17658
|
+
Z("div", sA, [
|
|
17659
|
+
Z("div", iA, [
|
|
17658
17660
|
je(Yn, { title: "Description" }, {
|
|
17659
17661
|
default: wt(() => [
|
|
17660
|
-
Z("div",
|
|
17662
|
+
Z("div", aA, [
|
|
17661
17663
|
je(Cr, {
|
|
17662
17664
|
"is-vertical": "",
|
|
17663
17665
|
field: "title",
|
|
@@ -17689,7 +17691,7 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17689
17691
|
"show-count": !0
|
|
17690
17692
|
}, {
|
|
17691
17693
|
default: wt(() => [
|
|
17692
|
-
je(
|
|
17694
|
+
je(Qx, {
|
|
17693
17695
|
modelValue: o.value.description,
|
|
17694
17696
|
"onUpdate:modelValue": c[1] || (c[1] = (v) => o.value.description = v)
|
|
17695
17697
|
}, null, 8, ["modelValue"])
|
|
@@ -17705,7 +17707,7 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17705
17707
|
title: ((f = (d = r.item) == null ? void 0 : d.primary_button) == null ? void 0 : f.name) ?? "Primary button"
|
|
17706
17708
|
}, {
|
|
17707
17709
|
default: wt(() => [
|
|
17708
|
-
Z("div",
|
|
17710
|
+
Z("div", oA, [
|
|
17709
17711
|
je(Gs, {
|
|
17710
17712
|
name: "show",
|
|
17711
17713
|
modelValue: o.value.primary_button.show,
|
|
@@ -17755,7 +17757,7 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17755
17757
|
default: wt(() => {
|
|
17756
17758
|
var v;
|
|
17757
17759
|
return [
|
|
17758
|
-
Z("div",
|
|
17760
|
+
Z("div", lA, [
|
|
17759
17761
|
je(Gs, {
|
|
17760
17762
|
name: "show",
|
|
17761
17763
|
modelValue: o.value.secondary_button.show,
|
|
@@ -17802,7 +17804,7 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17802
17804
|
_: 1
|
|
17803
17805
|
}, 8, ["title"])) : nt("", !0)
|
|
17804
17806
|
]),
|
|
17805
|
-
Z("div",
|
|
17807
|
+
Z("div", uA, [
|
|
17806
17808
|
je(Yn, {
|
|
17807
17809
|
title: "Visibility",
|
|
17808
17810
|
supporting_text: "Toggle off if you'd like to hide this item"
|
|
@@ -17834,7 +17836,7 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17834
17836
|
])
|
|
17835
17837
|
]),
|
|
17836
17838
|
Pn(u.$slots, "default", {}, () => [
|
|
17837
|
-
Z("div",
|
|
17839
|
+
Z("div", cA, [
|
|
17838
17840
|
Z("a", {
|
|
17839
17841
|
onClick: l,
|
|
17840
17842
|
class: "w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer"
|
|
@@ -17850,7 +17852,7 @@ const Zx = /* @__PURE__ */ vs(Wx, [["render", Yx]]), Qx = { class: "rounded-xl b
|
|
|
17850
17852
|
}
|
|
17851
17853
|
};
|
|
17852
17854
|
export {
|
|
17853
|
-
|
|
17854
|
-
|
|
17855
|
-
|
|
17855
|
+
BA as ItemEdit,
|
|
17856
|
+
LA as PageBuilder,
|
|
17857
|
+
kA as PageRender
|
|
17856
17858
|
};
|