@dcodegroup-au/page-builder 0.2.4 → 0.2.5
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.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ee = (n, e, t) =>
|
|
4
|
-
import { createElementBlock as ue, openBlock as re, createElementVNode as H, createStaticVNode as
|
|
5
|
-
const
|
|
1
|
+
var Fc = Object.defineProperty;
|
|
2
|
+
var Mc = (n, e, t) => e in n ? Fc(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
|
+
var Ee = (n, e, t) => Mc(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { createElementBlock as ue, openBlock as re, createElementVNode as H, createStaticVNode as Bc, ref as Pe, resolveDirective as Uc, withDirectives as Vt, createCommentVNode as He, createVNode as Be, unref as De, defineComponent as ir, reactive as ns, computed as qe, normalizeClass as st, Transition as ql, withCtx as xt, renderSlot as Pr, toDisplayString as Ue, withModifiers as ui, Fragment as ut, renderList as wt, createTextVNode as Fr, mergeModels as zl, useModel as rs, vModelSelect as Dc, createBlock as At, vModelText as Ln, vModelRadio as jc, resolveDynamicComponent as $r, nextTick as Hl, onMounted as vs, vShow as $c, inject as ar, markRaw as Tt, h as Ct, shallowReactive as ua, watch as Qr, watchEffect as _i, onBeforeUnmount as Vl, provide as Gl, toRefs as _c, useId as qc, getCurrentInstance as zc, onUnmounted as Hc, onUpdated as Vc, cloneVNode as Gc, normalizeStyle as Wc } from "vue";
|
|
5
|
+
const Kc = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
fill: "none",
|
|
8
8
|
stroke: "currentColor",
|
|
9
9
|
viewBox: "0 0 24 24"
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return re(), ue("svg",
|
|
11
|
+
function Xc(n, e) {
|
|
12
|
+
return re(), ue("svg", Kc, e[0] || (e[0] = [
|
|
13
13
|
H("path", {
|
|
14
14
|
"stroke-linecap": "round",
|
|
15
15
|
"stroke-linejoin": "round",
|
|
@@ -18,14 +18,14 @@ function Yc(n, e) {
|
|
|
18
18
|
}, null, -1)
|
|
19
19
|
]));
|
|
20
20
|
}
|
|
21
|
-
const ca = { render:
|
|
21
|
+
const ca = { render: Xc }, Yc = {
|
|
22
22
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23
23
|
fill: "none",
|
|
24
24
|
stroke: "currentColor",
|
|
25
25
|
viewBox: "0 0 24 24"
|
|
26
26
|
};
|
|
27
|
-
function
|
|
28
|
-
return re(), ue("svg",
|
|
27
|
+
function Zc(n, e) {
|
|
28
|
+
return re(), ue("svg", Yc, e[0] || (e[0] = [
|
|
29
29
|
H("path", {
|
|
30
30
|
"stroke-linecap": "round",
|
|
31
31
|
"stroke-linejoin": "round",
|
|
@@ -34,23 +34,23 @@ function Qc(n, e) {
|
|
|
34
34
|
}, null, -1)
|
|
35
35
|
]));
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const Qc = { render: Zc }, ms = (n, e) => {
|
|
38
38
|
const t = n.__vccOpts || n;
|
|
39
39
|
for (const [r, s] of e)
|
|
40
40
|
t[r] = s;
|
|
41
41
|
return t;
|
|
42
|
-
},
|
|
43
|
-
function
|
|
44
|
-
return e[0] || (e[0] =
|
|
42
|
+
}, Jc = {};
|
|
43
|
+
function ef(n, e) {
|
|
44
|
+
return e[0] || (e[0] = Bc('<div class="text-lg pb-6 font-semibold text-gray-900 border-b border-gray-200">Instruction</div><div class="flex flex-col gap-3 py-6 text-gray-600"><div class="font-semibold text-gray-900">Modules</div><p>Modules are fixed and for internal reference only, and admin users cannot make the following changes:</p><ul class="list-inside list-disc pl-3"><li>Edit the title of any module (e.g., "Hero header").</li><li>Change the order of the modules.</li><li>Add new module.</li></ul><p>For any changes at the module level, please contact the development team.</p></div><div class="flex flex-col gap-3 py-6 text-gray-600"><div class="font-semibold text-gray-900">Edit sub-modules or edit nested items</div><p>Click any sub-module to edit its settings and any nested items within it.</p></div>', 3));
|
|
45
45
|
}
|
|
46
|
-
const
|
|
46
|
+
const tf = /* @__PURE__ */ ms(Jc, [["render", ef]]), nf = {
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
48
|
fill: "none",
|
|
49
49
|
stroke: "currentColor",
|
|
50
50
|
viewBox: "0 0 24 24"
|
|
51
51
|
};
|
|
52
|
-
function
|
|
53
|
-
return re(), ue("svg",
|
|
52
|
+
function rf(n, e) {
|
|
53
|
+
return re(), ue("svg", nf, e[0] || (e[0] = [
|
|
54
54
|
H("path", {
|
|
55
55
|
"stroke-linecap": "round",
|
|
56
56
|
"stroke-linejoin": "round",
|
|
@@ -59,7 +59,7 @@ function sf(n, e) {
|
|
|
59
59
|
}, null, -1)
|
|
60
60
|
]));
|
|
61
61
|
}
|
|
62
|
-
const ci = { render:
|
|
62
|
+
const ci = { render: rf }, ys = {
|
|
63
63
|
data: {
|
|
64
64
|
required: !0,
|
|
65
65
|
type: Object
|
|
@@ -69,7 +69,7 @@ const ci = { render: sf }, ys = {
|
|
|
69
69
|
type: Array
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
function
|
|
72
|
+
function sf(n) {
|
|
73
73
|
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
74
74
|
}
|
|
75
75
|
function qi(n, e = !1) {
|
|
@@ -90,9 +90,9 @@ function qi(n, e = !1) {
|
|
|
90
90
|
function zi(n, e = !0) {
|
|
91
91
|
if (!n) return "";
|
|
92
92
|
const t = n.split("_").pop();
|
|
93
|
-
return e ?
|
|
93
|
+
return e ? sf(t) : t;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function af(n = {}, e = !0) {
|
|
96
96
|
let t = {
|
|
97
97
|
title: "New Item",
|
|
98
98
|
description: "New description",
|
|
@@ -160,7 +160,7 @@ function df(n, e) {
|
|
|
160
160
|
}, null, -1)
|
|
161
161
|
]));
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const Wl = { render: df }, hf = {
|
|
164
164
|
xmlns: "http://www.w3.org/2000/svg",
|
|
165
165
|
fill: "none",
|
|
166
166
|
stroke: "currentColor",
|
|
@@ -210,7 +210,7 @@ const gf = { render: pf }, vf = {
|
|
|
210
210
|
r("editItem"), t.value = !1;
|
|
211
211
|
};
|
|
212
212
|
return (l, i) => {
|
|
213
|
-
const u =
|
|
213
|
+
const u = Uc("click-outside");
|
|
214
214
|
return Vt((re(), ue("div", mf, [
|
|
215
215
|
H("div", {
|
|
216
216
|
class: "cursor-pointer text-gray-600 rounded-full hover:bg-gray-50 p-2.5 block",
|
|
@@ -231,7 +231,7 @@ const gf = { render: pf }, vf = {
|
|
|
231
231
|
class: "flex items-center gap-2 px-2.5 cursor-pointer h-[48px] w-auto hover:bg-gray-100 rounded-lg m-1.5 text-gray-700",
|
|
232
232
|
onClick: o
|
|
233
233
|
}, [
|
|
234
|
-
Be(De(
|
|
234
|
+
Be(De(Wl), { class: "w-4 text-gray-500" }),
|
|
235
235
|
i[2] || (i[2] = H("span", { class: "font-medium" }, " Delete ", -1))
|
|
236
236
|
])
|
|
237
237
|
])) : He("", !0)
|
|
@@ -296,7 +296,7 @@ const wf = { render: Af }, Ef = {
|
|
|
296
296
|
}), (c, d) => (re(), ue("div", {
|
|
297
297
|
class: st([{ "-open": r.value }, "v-modal"])
|
|
298
298
|
}, [
|
|
299
|
-
Be(
|
|
299
|
+
Be(ql, { name: "fade" }, {
|
|
300
300
|
default: xt(() => [
|
|
301
301
|
r.value ? (re(), ue("div", Ef, [
|
|
302
302
|
Pr(c.$slots, "default", {}, () => [
|
|
@@ -307,7 +307,7 @@ const wf = { render: Af }, Ef = {
|
|
|
307
307
|
H("div", null, [
|
|
308
308
|
H("div", Tf, [
|
|
309
309
|
H("span", Of, [
|
|
310
|
-
Be(De(
|
|
310
|
+
Be(De(Wl), { class: "w-6 h-6" })
|
|
311
311
|
]),
|
|
312
312
|
Be(De(wf), {
|
|
313
313
|
class: "w-6 h-6 text-gray-400 hover:bg-gray-100 rounded-md cursor-pointer",
|
|
@@ -338,7 +338,7 @@ const wf = { render: Af }, Ef = {
|
|
|
338
338
|
})
|
|
339
339
|
], 2));
|
|
340
340
|
}
|
|
341
|
-
}), Ha = /* @__PURE__ */ ms(kf, [["__scopeId", "data-v-0ca1257f"]]), Pf = { class: "flex justify-between pb-2" }, Ff = { class: "text-lg font-semibold text-gray-900" }, Mf = { class: "flex flex-col gap-4" }, Bf = { class: "text-gray-600 border-b border-gray-200 pb-4 text-sm" }, Uf = { class: "flex flex-col gap-3" }, Df = { class: "flex justify-between" }, jf = { class: "flex flex-col gap-1" }, $f = { class: "font-semibold text-gray-900" }, _f = { class: "text-sm text-gray-600" }, qf = ["disabled"], zf = { class: "flex flex-col gap-3" }, Hf = ["onClick"], Vf = ["onClick"], Gf = { class: "text-xs text-gray-600" }, Wf = { class: "text-sm font-medium text-gray-900" },
|
|
341
|
+
}), Ha = /* @__PURE__ */ ms(kf, [["__scopeId", "data-v-0ca1257f"]]), Pf = { class: "flex justify-between pb-2" }, Ff = { class: "text-lg font-semibold text-gray-900" }, Mf = { class: "flex flex-col gap-4" }, Bf = { class: "text-gray-600 border-b border-gray-200 pb-4 text-sm" }, Uf = { class: "flex flex-col gap-3" }, Df = { class: "flex justify-between" }, jf = { class: "flex flex-col gap-1" }, $f = { class: "font-semibold text-gray-900" }, _f = { class: "text-sm text-gray-600" }, qf = ["disabled"], zf = { class: "flex flex-col gap-3" }, Hf = ["onClick"], Vf = ["onClick"], Gf = { class: "text-xs text-gray-600" }, Wf = { class: "text-sm font-medium text-gray-900" }, mo = {
|
|
342
342
|
__name: "VItems",
|
|
343
343
|
props: {
|
|
344
344
|
...ys
|
|
@@ -354,7 +354,7 @@ const wf = { render: Af }, Ef = {
|
|
|
354
354
|
i.value[v] = !1;
|
|
355
355
|
}), i.value[h] = !i.value[h], window.localStorage.setItem(l, JSON.stringify(i.value));
|
|
356
356
|
}, c = () => {
|
|
357
|
-
|
|
357
|
+
s.value.data.push(af({}, o === "sliders")), t("update", !1);
|
|
358
358
|
}, d = (h) => {
|
|
359
359
|
var v;
|
|
360
360
|
(v = a == null ? void 0 : a.value) == null || v.open(h);
|
|
@@ -364,7 +364,7 @@ const wf = { render: Af }, Ef = {
|
|
|
364
364
|
var y, E, S, C;
|
|
365
365
|
h.hasOwnProperty("edit_url") && (window.location.href = h.edit_url), window.location.href = `/admin/pages/${(E = (y = r == null ? void 0 : r.data) == null ? void 0 : y.page) == null ? void 0 : E.id}/sections/${(S = r == null ? void 0 : r.data) == null ? void 0 : S.sectionIndex}/components/${(C = r == null ? void 0 : r.data) == null ? void 0 : C.componentIndex}/items/${v}`;
|
|
366
366
|
};
|
|
367
|
-
return (h, v) => (re(), ue(
|
|
367
|
+
return (h, v) => (re(), ue(ut, null, [
|
|
368
368
|
H("div", Pf, [
|
|
369
369
|
H("p", Ff, Ue(s.value.name), 1)
|
|
370
370
|
]),
|
|
@@ -389,7 +389,7 @@ const wf = { render: Af }, Ef = {
|
|
|
389
389
|
])
|
|
390
390
|
]),
|
|
391
391
|
H("div", zf, [
|
|
392
|
-
(re(!0), ue(
|
|
392
|
+
(re(!0), ue(ut, null, wt(s.value.data, (y, E) => (re(), ue("div", {
|
|
393
393
|
class: st(["flex items-center gap-4 px-2 py-1 hover:bg-gray-100 rounded-lg", { "bg-gray-200 hover:bg-gray-200": i.value[E] }])
|
|
394
394
|
}, [
|
|
395
395
|
H("div", {
|
|
@@ -472,7 +472,7 @@ const wf = { render: Af }, Ef = {
|
|
|
472
472
|
class: "block space-y-2xsSpace text-sm font-medium leading-none text-gray-700 relative"
|
|
473
473
|
}, [
|
|
474
474
|
n.labelText || e.$slots.label ? (re(), ue("span", Xf, [
|
|
475
|
-
e.$slots.label ? Pr(e.$slots, "label", { key: 0 }) : (re(), ue(
|
|
475
|
+
e.$slots.label ? Pr(e.$slots, "label", { key: 0 }) : (re(), ue(ut, { key: 1 }, [
|
|
476
476
|
Fr(Ue(n.labelText) + " ", 1),
|
|
477
477
|
n.isRequired ? (re(), ue("span", Yf, " *")) : He("", !0)
|
|
478
478
|
], 64))
|
|
@@ -537,7 +537,7 @@ const wf = { render: Af }, Ef = {
|
|
|
537
537
|
}
|
|
538
538
|
}, nd = { class: "flex flex-col gap-2" }, rd = ["value"], sd = {
|
|
539
539
|
__name: "SiteContent",
|
|
540
|
-
props: /* @__PURE__ */
|
|
540
|
+
props: /* @__PURE__ */ zl({
|
|
541
541
|
sites: { type: Object, required: !0 },
|
|
542
542
|
errors: { type: Object, required: !1, default: () => ({}) }
|
|
543
543
|
}, {
|
|
@@ -553,11 +553,11 @@ const wf = { render: Af }, Ef = {
|
|
|
553
553
|
"onUpdate:modelValue": r[0] || (r[0] = (s) => e.value = s),
|
|
554
554
|
name: "url"
|
|
555
555
|
}, [
|
|
556
|
-
(re(!0), ue(
|
|
556
|
+
(re(!0), ue(ut, null, wt(n.sites, (s) => (re(), ue("option", {
|
|
557
557
|
value: s.href
|
|
558
558
|
}, Ue(s.name), 9, rd))), 256))
|
|
559
559
|
], 512), [
|
|
560
|
-
[
|
|
560
|
+
[Dc, e.value]
|
|
561
561
|
])
|
|
562
562
|
]));
|
|
563
563
|
}
|
|
@@ -595,7 +595,7 @@ const wf = { render: Af }, Ef = {
|
|
|
595
595
|
class: "text-sm text-gray-700 font-medium py-2"
|
|
596
596
|
}, ld = { class: "text-sm flex items-center gap-6 font-medium text-gray-700" }, ud = { class: "flex items-center gap-2 cursor-pointer" }, cd = ["name", "value", "disabled"], fd = { class: "flex flex-col gap-2" }, dd = ["value"], hd = { class: "flex items-center gap-2" }, ti = {
|
|
597
597
|
__name: "LinkedTo",
|
|
598
|
-
props: /* @__PURE__ */
|
|
598
|
+
props: /* @__PURE__ */ zl({
|
|
599
599
|
label: { type: String, required: !1 },
|
|
600
600
|
sites: { type: Object, required: !0 },
|
|
601
601
|
name: { type: String, required: !0 },
|
|
@@ -618,7 +618,7 @@ const wf = { render: Af }, Ef = {
|
|
|
618
618
|
H("div", null, [
|
|
619
619
|
n.label ? (re(), ue("p", od, Ue(n.label), 1)) : He("", !0),
|
|
620
620
|
H("div", ld, [
|
|
621
|
-
(re(!0), ue(
|
|
621
|
+
(re(!0), ue(ut, null, wt(n.options, (i) => (re(), ue("label", ud, [
|
|
622
622
|
Vt(H("input", {
|
|
623
623
|
name: n.name,
|
|
624
624
|
type: "radio",
|
|
@@ -627,7 +627,7 @@ const wf = { render: Af }, Ef = {
|
|
|
627
627
|
class: "checked:bg-brand-600 hover:bg-brand-600 checked:hover:bg-brand-600 focus:bg-brand-600 focus:ring-brand-600 focus:checked:bg-brand-600 rounded-full",
|
|
628
628
|
disabled: i === "form"
|
|
629
629
|
}, null, 8, cd), [
|
|
630
|
-
[
|
|
630
|
+
[jc, e.value]
|
|
631
631
|
]),
|
|
632
632
|
H("span", null, Ue(s(i)), 1)
|
|
633
633
|
]))), 256))
|
|
@@ -656,7 +656,7 @@ const wf = { render: Af }, Ef = {
|
|
|
656
656
|
])
|
|
657
657
|
]));
|
|
658
658
|
}
|
|
659
|
-
}, pd = { class: "flex justify-between pb-2" }, gd = { class: "flex justify-between w-full py-1" }, vd = { class: "text-lg font-semibold text-gray-900" }, md = { class: "text-sm text-gray-600 mt-1" }, yd = { class: "flex flex-col gap-3" }, bd = { class: "flex items-center justify-between" }, xd = { class: "text-lg font-semibold text-gray-900" }, Ad = { class: "relative flex items-end" }, wd = { class: "flex flex-col gap-6" }, Ed = { class: "flex flex-col gap-1.5" }, Sd = ["onUpdate:modelValue"],
|
|
659
|
+
}, pd = { class: "flex justify-between pb-2" }, gd = { class: "flex justify-between w-full py-1" }, vd = { class: "text-lg font-semibold text-gray-900" }, md = { class: "text-sm text-gray-600 mt-1" }, yd = { class: "flex flex-col gap-3" }, bd = { class: "flex items-center justify-between" }, xd = { class: "text-lg font-semibold text-gray-900" }, Ad = { class: "relative flex items-end" }, wd = { class: "flex flex-col gap-6" }, Ed = { class: "flex flex-col gap-1.5" }, Sd = ["onUpdate:modelValue"], yo = {
|
|
660
660
|
__name: "VLinks",
|
|
661
661
|
props: {
|
|
662
662
|
...ys
|
|
@@ -666,7 +666,7 @@ const wf = { render: Af }, Ef = {
|
|
|
666
666
|
const t = e, s = Pe(n.data.component), o = Pe(null), a = Pe(null), l = Pe(null);
|
|
667
667
|
function i() {
|
|
668
668
|
var d, f;
|
|
669
|
-
s.value.hasOwnProperty("data") || (s.value.data = []), !(((d = s.value.data) == null ? void 0 : d.length) >= s.value.max_items) && ((f = s.value.data) == null || f.push(of()),
|
|
669
|
+
s.value.hasOwnProperty("data") || (s.value.data = []), !(((d = s.value.data) == null ? void 0 : d.length) >= s.value.max_items) && ((f = s.value.data) == null || f.push(of()), Hl(() => {
|
|
670
670
|
a.value && a.value.scrollIntoView({ behavior: "smooth" });
|
|
671
671
|
}), t("update", !1));
|
|
672
672
|
}
|
|
@@ -679,7 +679,7 @@ const wf = { render: Af }, Ef = {
|
|
|
679
679
|
};
|
|
680
680
|
return (d, f) => {
|
|
681
681
|
var g;
|
|
682
|
-
return re(), ue(
|
|
682
|
+
return re(), ue(ut, null, [
|
|
683
683
|
H("div", pd, [
|
|
684
684
|
H("div", gd, [
|
|
685
685
|
H("div", null, [
|
|
@@ -698,7 +698,7 @@ const wf = { render: Af }, Ef = {
|
|
|
698
698
|
])
|
|
699
699
|
]),
|
|
700
700
|
H("div", yd, [
|
|
701
|
-
(re(!0), ue(
|
|
701
|
+
(re(!0), ue(ut, null, wt(s.value.data, (h, v) => (re(), ue("div", {
|
|
702
702
|
class: "flex flex-col gap-4 rounded-xl px-6 py-4 bg-gray-200",
|
|
703
703
|
key: v,
|
|
704
704
|
ref_for: !0,
|
|
@@ -819,28 +819,28 @@ const wf = { render: Af }, Ef = {
|
|
|
819
819
|
]));
|
|
820
820
|
}
|
|
821
821
|
};
|
|
822
|
-
function
|
|
822
|
+
function Kl(n, e) {
|
|
823
823
|
return function() {
|
|
824
824
|
return n.apply(e, arguments);
|
|
825
825
|
};
|
|
826
826
|
}
|
|
827
|
-
const { toString: Rd } = Object.prototype, { getPrototypeOf: Va } = Object, { iterator: fi, toStringTag:
|
|
827
|
+
const { toString: Rd } = Object.prototype, { getPrototypeOf: Va } = Object, { iterator: fi, toStringTag: Xl } = Symbol, di = /* @__PURE__ */ ((n) => (e) => {
|
|
828
828
|
const t = Rd.call(e);
|
|
829
829
|
return n[t] || (n[t] = t.slice(8, -1).toLowerCase());
|
|
830
830
|
})(/* @__PURE__ */ Object.create(null)), cn = (n) => (n = n.toLowerCase(), (e) => di(e) === n), hi = (n) => (e) => typeof e === n, { isArray: _r } = Array, ls = hi("undefined");
|
|
831
831
|
function Id(n) {
|
|
832
832
|
return n !== null && !ls(n) && n.constructor !== null && !ls(n.constructor) && _t(n.constructor.isBuffer) && n.constructor.isBuffer(n);
|
|
833
833
|
}
|
|
834
|
-
const
|
|
834
|
+
const Yl = cn("ArrayBuffer");
|
|
835
835
|
function Ld(n) {
|
|
836
836
|
let e;
|
|
837
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer &&
|
|
837
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer && Yl(n.buffer), e;
|
|
838
838
|
}
|
|
839
|
-
const kd = hi("string"), _t = hi("function"),
|
|
839
|
+
const kd = hi("string"), _t = hi("function"), Zl = hi("number"), pi = (n) => n !== null && typeof n == "object", Pd = (n) => n === !0 || n === !1, Xs = (n) => {
|
|
840
840
|
if (di(n) !== "object")
|
|
841
841
|
return !1;
|
|
842
842
|
const e = Va(n);
|
|
843
|
-
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(
|
|
843
|
+
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Xl in n) && !(fi in n);
|
|
844
844
|
}, Fd = cn("Date"), Md = cn("File"), Bd = cn("Blob"), Ud = cn("FileList"), Dd = (n) => pi(n) && _t(n.pipe), jd = (n) => {
|
|
845
845
|
let e;
|
|
846
846
|
return n && (typeof FormData == "function" && n instanceof FormData || _t(n.append) && ((e = di(n)) === "formdata" || // detect form-data instance
|
|
@@ -860,7 +860,7 @@ function bs(n, e, { allOwnKeys: t = !1 } = {}) {
|
|
|
860
860
|
l = o[r], e.call(null, n[l], l, n);
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function Ql(n, e) {
|
|
864
864
|
e = e.toLowerCase();
|
|
865
865
|
const t = Object.keys(n);
|
|
866
866
|
let r = t.length, s;
|
|
@@ -869,10 +869,10 @@ function Jl(n, e) {
|
|
|
869
869
|
return s;
|
|
870
870
|
return null;
|
|
871
871
|
}
|
|
872
|
-
const Qn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
872
|
+
const Qn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Jl = (n) => !ls(n) && n !== Qn;
|
|
873
873
|
function fa() {
|
|
874
|
-
const { caseless: n } =
|
|
875
|
-
const o = n &&
|
|
874
|
+
const { caseless: n } = Jl(this) && this || {}, e = {}, t = (r, s) => {
|
|
875
|
+
const o = n && Ql(e, s) || s;
|
|
876
876
|
Xs(e[o]) && Xs(r) ? e[o] = fa(e[o], r) : Xs(r) ? e[o] = fa({}, r) : _r(r) ? e[o] = r.slice() : e[o] = r;
|
|
877
877
|
};
|
|
878
878
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
@@ -880,7 +880,7 @@ function fa() {
|
|
|
880
880
|
return e;
|
|
881
881
|
}
|
|
882
882
|
const Gd = (n, e, t, { allOwnKeys: r } = {}) => (bs(e, (s, o) => {
|
|
883
|
-
t && _t(s) ? n[o] =
|
|
883
|
+
t && _t(s) ? n[o] = Kl(s, t) : n[o] = s;
|
|
884
884
|
}, { allOwnKeys: r }), n), Wd = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), Kd = (n, e, t, r) => {
|
|
885
885
|
n.prototype = Object.create(e.prototype, r), n.prototype.constructor = n, Object.defineProperty(n, "super", {
|
|
886
886
|
value: e.prototype
|
|
@@ -903,7 +903,7 @@ const Gd = (n, e, t, { allOwnKeys: r } = {}) => (bs(e, (s, o) => {
|
|
|
903
903
|
if (!n) return null;
|
|
904
904
|
if (_r(n)) return n;
|
|
905
905
|
let e = n.length;
|
|
906
|
-
if (!
|
|
906
|
+
if (!Zl(e)) return null;
|
|
907
907
|
const t = new Array(e);
|
|
908
908
|
for (; e-- > 0; )
|
|
909
909
|
t[e] = n[e];
|
|
@@ -926,14 +926,14 @@ const Gd = (n, e, t, { allOwnKeys: r } = {}) => (bs(e, (s, o) => {
|
|
|
926
926
|
function(t, r, s) {
|
|
927
927
|
return r.toUpperCase() + s;
|
|
928
928
|
}
|
|
929
|
-
),
|
|
929
|
+
), bo = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype), rh = cn("RegExp"), eu = (n, e) => {
|
|
930
930
|
const t = Object.getOwnPropertyDescriptors(n), r = {};
|
|
931
931
|
bs(t, (s, o) => {
|
|
932
932
|
let a;
|
|
933
933
|
(a = e(s, o, n)) !== !1 && (r[o] = a || s);
|
|
934
934
|
}), Object.defineProperties(n, r);
|
|
935
935
|
}, sh = (n) => {
|
|
936
|
-
|
|
936
|
+
eu(n, (e, t) => {
|
|
937
937
|
if (_t(n) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
|
|
938
938
|
return !1;
|
|
939
939
|
const r = n[t];
|
|
@@ -957,7 +957,7 @@ const Gd = (n, e, t, { allOwnKeys: r } = {}) => (bs(e, (s, o) => {
|
|
|
957
957
|
}, ah = () => {
|
|
958
958
|
}, oh = (n, e) => n != null && Number.isFinite(n = +n) ? n : e;
|
|
959
959
|
function lh(n) {
|
|
960
|
-
return !!(n && _t(n.append) && n[
|
|
960
|
+
return !!(n && _t(n.append) && n[Xl] === "FormData" && n[fi]);
|
|
961
961
|
}
|
|
962
962
|
const uh = (n) => {
|
|
963
963
|
const e = new Array(10), t = (r, s) => {
|
|
@@ -976,21 +976,21 @@ const uh = (n) => {
|
|
|
976
976
|
return r;
|
|
977
977
|
};
|
|
978
978
|
return t(n, 0);
|
|
979
|
-
}, ch = cn("AsyncFunction"), fh = (n) => n && (pi(n) || _t(n)) && _t(n.then) && _t(n.catch),
|
|
979
|
+
}, ch = cn("AsyncFunction"), fh = (n) => n && (pi(n) || _t(n)) && _t(n.then) && _t(n.catch), tu = ((n, e) => n ? setImmediate : e ? ((t, r) => (Qn.addEventListener("message", ({ source: s, data: o }) => {
|
|
980
980
|
s === Qn && o === t && r.length && r.shift()();
|
|
981
981
|
}, !1), (s) => {
|
|
982
982
|
r.push(s), Qn.postMessage(t, "*");
|
|
983
983
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
984
984
|
typeof setImmediate == "function",
|
|
985
985
|
_t(Qn.postMessage)
|
|
986
|
-
), dh = typeof queueMicrotask < "u" ? queueMicrotask.bind(Qn) : typeof process < "u" && process.nextTick ||
|
|
986
|
+
), dh = typeof queueMicrotask < "u" ? queueMicrotask.bind(Qn) : typeof process < "u" && process.nextTick || tu, hh = (n) => n != null && _t(n[fi]), ne = {
|
|
987
987
|
isArray: _r,
|
|
988
|
-
isArrayBuffer:
|
|
988
|
+
isArrayBuffer: Yl,
|
|
989
989
|
isBuffer: Id,
|
|
990
990
|
isFormData: jd,
|
|
991
991
|
isArrayBufferView: Ld,
|
|
992
992
|
isString: kd,
|
|
993
|
-
isNumber:
|
|
993
|
+
isNumber: Zl,
|
|
994
994
|
isBoolean: Pd,
|
|
995
995
|
isObject: pi,
|
|
996
996
|
isPlainObject: Xs,
|
|
@@ -1022,23 +1022,23 @@ const uh = (n) => {
|
|
|
1022
1022
|
forEachEntry: Jd,
|
|
1023
1023
|
matchAll: eh,
|
|
1024
1024
|
isHTMLForm: th,
|
|
1025
|
-
hasOwnProperty:
|
|
1026
|
-
hasOwnProp:
|
|
1025
|
+
hasOwnProperty: bo,
|
|
1026
|
+
hasOwnProp: bo,
|
|
1027
1027
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
1028
|
-
reduceDescriptors:
|
|
1028
|
+
reduceDescriptors: eu,
|
|
1029
1029
|
freezeMethods: sh,
|
|
1030
1030
|
toObjectSet: ih,
|
|
1031
1031
|
toCamelCase: nh,
|
|
1032
1032
|
noop: ah,
|
|
1033
1033
|
toFiniteNumber: oh,
|
|
1034
|
-
findKey:
|
|
1034
|
+
findKey: Ql,
|
|
1035
1035
|
global: Qn,
|
|
1036
|
-
isContextDefined:
|
|
1036
|
+
isContextDefined: Jl,
|
|
1037
1037
|
isSpecCompliantForm: lh,
|
|
1038
1038
|
toJSONObject: uh,
|
|
1039
1039
|
isAsyncFn: ch,
|
|
1040
1040
|
isThenable: fh,
|
|
1041
|
-
setImmediate:
|
|
1041
|
+
setImmediate: tu,
|
|
1042
1042
|
asap: dh,
|
|
1043
1043
|
isIterable: hh
|
|
1044
1044
|
};
|
|
@@ -1066,7 +1066,7 @@ ne.inherits(ze, Error, {
|
|
|
1066
1066
|
};
|
|
1067
1067
|
}
|
|
1068
1068
|
});
|
|
1069
|
-
const
|
|
1069
|
+
const nu = ze.prototype, ru = {};
|
|
1070
1070
|
[
|
|
1071
1071
|
"ERR_BAD_OPTION_VALUE",
|
|
1072
1072
|
"ERR_BAD_OPTION",
|
|
@@ -1082,12 +1082,12 @@ const ru = ze.prototype, su = {};
|
|
|
1082
1082
|
"ERR_INVALID_URL"
|
|
1083
1083
|
// eslint-disable-next-line func-names
|
|
1084
1084
|
].forEach((n) => {
|
|
1085
|
-
|
|
1085
|
+
ru[n] = { value: n };
|
|
1086
1086
|
});
|
|
1087
|
-
Object.defineProperties(ze,
|
|
1088
|
-
Object.defineProperty(
|
|
1087
|
+
Object.defineProperties(ze, ru);
|
|
1088
|
+
Object.defineProperty(nu, "isAxiosError", { value: !0 });
|
|
1089
1089
|
ze.from = (n, e, t, r, s, o) => {
|
|
1090
|
-
const a = Object.create(
|
|
1090
|
+
const a = Object.create(nu);
|
|
1091
1091
|
return ne.toFlatObject(n, a, function(i) {
|
|
1092
1092
|
return i !== Error.prototype;
|
|
1093
1093
|
}, (l) => l !== "isAxiosError"), ze.call(a, n.message, e, t, r, s), a.cause = n, a.name = n.name, o && Object.assign(a, o), a;
|
|
@@ -1096,12 +1096,12 @@ const ph = null;
|
|
|
1096
1096
|
function da(n) {
|
|
1097
1097
|
return ne.isPlainObject(n) || ne.isArray(n);
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function su(n) {
|
|
1100
1100
|
return ne.endsWith(n, "[]") ? n.slice(0, -2) : n;
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1102
|
+
function xo(n, e, t) {
|
|
1103
1103
|
return n ? n.concat(e).map(function(s, o) {
|
|
1104
|
-
return s =
|
|
1104
|
+
return s = su(s), !t && o ? "[" + s + "]" : s;
|
|
1105
1105
|
}).join(t ? "." : "") : e;
|
|
1106
1106
|
}
|
|
1107
1107
|
function gh(n) {
|
|
@@ -1137,15 +1137,15 @@ function gi(n, e, t) {
|
|
|
1137
1137
|
if (ne.endsWith(v, "{}"))
|
|
1138
1138
|
v = r ? v : v.slice(0, -2), h = JSON.stringify(h);
|
|
1139
1139
|
else if (ne.isArray(h) && gh(h) || (ne.isFileList(h) || ne.endsWith(v, "[]")) && (E = ne.toArray(h)))
|
|
1140
|
-
return v =
|
|
1140
|
+
return v = su(v), E.forEach(function(C, F) {
|
|
1141
1141
|
!(ne.isUndefined(C) || C === null) && e.append(
|
|
1142
1142
|
// eslint-disable-next-line no-nested-ternary
|
|
1143
|
-
a === !0 ?
|
|
1143
|
+
a === !0 ? xo([v], F, o) : a === null ? v : v + "[]",
|
|
1144
1144
|
u(C)
|
|
1145
1145
|
);
|
|
1146
1146
|
}), !1;
|
|
1147
1147
|
}
|
|
1148
|
-
return da(h) ? !0 : (e.append(
|
|
1148
|
+
return da(h) ? !0 : (e.append(xo(y, v, o), u(h)), !1);
|
|
1149
1149
|
}
|
|
1150
1150
|
const d = [], f = Object.assign(vh, {
|
|
1151
1151
|
defaultVisitor: c,
|
|
@@ -1171,7 +1171,7 @@ function gi(n, e, t) {
|
|
|
1171
1171
|
throw new TypeError("data must be an object");
|
|
1172
1172
|
return g(n), e;
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function Ao(n) {
|
|
1175
1175
|
const e = {
|
|
1176
1176
|
"!": "%21",
|
|
1177
1177
|
"'": "%27",
|
|
@@ -1188,14 +1188,14 @@ function wo(n) {
|
|
|
1188
1188
|
function Ga(n, e) {
|
|
1189
1189
|
this._pairs = [], n && gi(n, this, e);
|
|
1190
1190
|
}
|
|
1191
|
-
const
|
|
1192
|
-
|
|
1191
|
+
const iu = Ga.prototype;
|
|
1192
|
+
iu.append = function(e, t) {
|
|
1193
1193
|
this._pairs.push([e, t]);
|
|
1194
1194
|
};
|
|
1195
|
-
|
|
1195
|
+
iu.toString = function(e) {
|
|
1196
1196
|
const t = e ? function(r) {
|
|
1197
|
-
return e.call(this, r,
|
|
1198
|
-
} :
|
|
1197
|
+
return e.call(this, r, Ao);
|
|
1198
|
+
} : Ao;
|
|
1199
1199
|
return this._pairs.map(function(s) {
|
|
1200
1200
|
return t(s[0]) + "=" + t(s[1]);
|
|
1201
1201
|
}, "").join("&");
|
|
@@ -1203,7 +1203,7 @@ au.toString = function(e) {
|
|
|
1203
1203
|
function mh(n) {
|
|
1204
1204
|
return encodeURIComponent(n).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function au(n, e, t) {
|
|
1207
1207
|
if (!e)
|
|
1208
1208
|
return n;
|
|
1209
1209
|
const r = t && t.encode || mh;
|
|
@@ -1218,7 +1218,7 @@ function ou(n, e, t) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
return n;
|
|
1220
1220
|
}
|
|
1221
|
-
class
|
|
1221
|
+
class wo {
|
|
1222
1222
|
constructor() {
|
|
1223
1223
|
this.handlers = [];
|
|
1224
1224
|
}
|
|
@@ -1272,7 +1272,7 @@ class Eo {
|
|
|
1272
1272
|
});
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const ou = {
|
|
1276
1276
|
silentJSONParsing: !0,
|
|
1277
1277
|
forcedJSONParsing: !0,
|
|
1278
1278
|
clarifyTimeoutError: !1
|
|
@@ -1315,7 +1315,7 @@ function Ch(n) {
|
|
|
1315
1315
|
o = t[r], e[o] = n[o];
|
|
1316
1316
|
return e;
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function lu(n) {
|
|
1319
1319
|
function e(t, r, s, o) {
|
|
1320
1320
|
let a = t[o++];
|
|
1321
1321
|
if (a === "__proto__") return !0;
|
|
@@ -1341,12 +1341,12 @@ function Rh(n, e, t) {
|
|
|
1341
1341
|
return (t || JSON.stringify)(n);
|
|
1342
1342
|
}
|
|
1343
1343
|
const xs = {
|
|
1344
|
-
transitional:
|
|
1344
|
+
transitional: ou,
|
|
1345
1345
|
adapter: ["xhr", "http", "fetch"],
|
|
1346
1346
|
transformRequest: [function(e, t) {
|
|
1347
1347
|
const r = t.getContentType() || "", s = r.indexOf("application/json") > -1, o = ne.isObject(e);
|
|
1348
1348
|
if (o && ne.isHTMLForm(e) && (e = new FormData(e)), ne.isFormData(e))
|
|
1349
|
-
return s ? JSON.stringify(
|
|
1349
|
+
return s ? JSON.stringify(lu(e)) : e;
|
|
1350
1350
|
if (ne.isArrayBuffer(e) || ne.isBuffer(e) || ne.isStream(e) || ne.isFile(e) || ne.isBlob(e) || ne.isReadableStream(e))
|
|
1351
1351
|
return e;
|
|
1352
1352
|
if (ne.isArrayBufferView(e))
|
|
@@ -1434,7 +1434,7 @@ const Ih = ne.toObjectSet([
|
|
|
1434
1434
|
`).forEach(function(a) {
|
|
1435
1435
|
s = a.indexOf(":"), t = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!t || e[t] && Ih[t]) && (t === "set-cookie" ? e[t] ? e[t].push(r) : e[t] = [r] : e[t] = e[t] ? e[t] + ", " + r : r);
|
|
1436
1436
|
}), e;
|
|
1437
|
-
},
|
|
1437
|
+
}, Eo = Symbol("internals");
|
|
1438
1438
|
function Kr(n) {
|
|
1439
1439
|
return n && String(n).trim().toLowerCase();
|
|
1440
1440
|
}
|
|
@@ -1589,7 +1589,7 @@ let qt = class {
|
|
|
1589
1589
|
return t.forEach((s) => r.set(s)), r;
|
|
1590
1590
|
}
|
|
1591
1591
|
static accessor(e) {
|
|
1592
|
-
const r = (this[
|
|
1592
|
+
const r = (this[Eo] = this[Eo] = {
|
|
1593
1593
|
accessors: {}
|
|
1594
1594
|
}).accessors, s = this.prototype;
|
|
1595
1595
|
function o(a) {
|
|
@@ -1617,7 +1617,7 @@ function Vi(n, e) {
|
|
|
1617
1617
|
o = l.call(t, o, s.normalize(), e ? e.status : void 0);
|
|
1618
1618
|
}), s.normalize(), o;
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1620
|
+
function uu(n) {
|
|
1621
1621
|
return !!(n && n.__CANCEL__);
|
|
1622
1622
|
}
|
|
1623
1623
|
function qr(n, e, t) {
|
|
@@ -1626,7 +1626,7 @@ function qr(n, e, t) {
|
|
|
1626
1626
|
ne.inherits(qr, ze, {
|
|
1627
1627
|
__CANCEL__: !0
|
|
1628
1628
|
});
|
|
1629
|
-
function
|
|
1629
|
+
function cu(n, e, t) {
|
|
1630
1630
|
const r = t.config.validateStatus;
|
|
1631
1631
|
!t.status || !r || r(t.status) ? n(t) : e(new ze(
|
|
1632
1632
|
"Request failed with status code " + t.status,
|
|
@@ -1687,14 +1687,14 @@ const ni = (n, e, t = 3) => {
|
|
|
1687
1687
|
};
|
|
1688
1688
|
n(d);
|
|
1689
1689
|
}, t);
|
|
1690
|
-
},
|
|
1690
|
+
}, So = (n, e) => {
|
|
1691
1691
|
const t = n != null;
|
|
1692
1692
|
return [(r) => e[0]({
|
|
1693
1693
|
lengthComputable: t,
|
|
1694
1694
|
total: n,
|
|
1695
1695
|
loaded: r
|
|
1696
1696
|
}), e[1]];
|
|
1697
|
-
},
|
|
1697
|
+
}, To = (n) => (...e) => ne.asap(() => n(...e)), jh = Mt.hasStandardBrowserEnv ? /* @__PURE__ */ ((n, e) => (t) => (t = new URL(t, Mt.origin), n.protocol === t.protocol && n.host === t.host && (e || n.port === t.port)))(
|
|
1698
1698
|
new URL(Mt.origin),
|
|
1699
1699
|
Mt.navigator && /(msie|trident)/i.test(Mt.navigator.userAgent)
|
|
1700
1700
|
) : () => !0, $h = Mt.hasStandardBrowserEnv ? (
|
|
@@ -1730,11 +1730,11 @@ function _h(n) {
|
|
|
1730
1730
|
function qh(n, e) {
|
|
1731
1731
|
return e ? n.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : n;
|
|
1732
1732
|
}
|
|
1733
|
-
function
|
|
1733
|
+
function fu(n, e, t) {
|
|
1734
1734
|
let r = !_h(e);
|
|
1735
1735
|
return n && (r || t == !1) ? qh(n, e) : e;
|
|
1736
1736
|
}
|
|
1737
|
-
const
|
|
1737
|
+
const Oo = (n) => n instanceof qt ? { ...n } : n;
|
|
1738
1738
|
function er(n, e) {
|
|
1739
1739
|
e = e || {};
|
|
1740
1740
|
const t = {};
|
|
@@ -1792,17 +1792,17 @@ function er(n, e) {
|
|
|
1792
1792
|
socketPath: a,
|
|
1793
1793
|
responseEncoding: a,
|
|
1794
1794
|
validateStatus: l,
|
|
1795
|
-
headers: (u, c, d) => s(
|
|
1795
|
+
headers: (u, c, d) => s(Oo(u), Oo(c), d, !0)
|
|
1796
1796
|
};
|
|
1797
1797
|
return ne.forEach(Object.keys(Object.assign({}, n, e)), function(c) {
|
|
1798
1798
|
const d = i[c] || s, f = d(n[c], e[c], c);
|
|
1799
1799
|
ne.isUndefined(f) && d !== l || (t[c] = f);
|
|
1800
1800
|
}), t;
|
|
1801
1801
|
}
|
|
1802
|
-
const
|
|
1802
|
+
const du = (n) => {
|
|
1803
1803
|
const e = er({}, n);
|
|
1804
1804
|
let { data: t, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: a, auth: l } = e;
|
|
1805
|
-
e.headers = a = qt.from(a), e.url =
|
|
1805
|
+
e.headers = a = qt.from(a), e.url = au(fu(e.baseURL, e.url, e.allowAbsoluteUrls), n.params, n.paramsSerializer), l && a.set(
|
|
1806
1806
|
"Authorization",
|
|
1807
1807
|
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
1808
1808
|
);
|
|
@@ -1822,7 +1822,7 @@ const hu = (n) => {
|
|
|
1822
1822
|
return e;
|
|
1823
1823
|
}, zh = typeof XMLHttpRequest < "u", Hh = zh && function(n) {
|
|
1824
1824
|
return new Promise(function(t, r) {
|
|
1825
|
-
const s =
|
|
1825
|
+
const s = du(n);
|
|
1826
1826
|
let o = s.data;
|
|
1827
1827
|
const a = qt.from(s.headers).normalize();
|
|
1828
1828
|
let { responseType: l, onUploadProgress: i, onDownloadProgress: u } = s, c, d, f, g, h;
|
|
@@ -1844,7 +1844,7 @@ const hu = (n) => {
|
|
|
1844
1844
|
config: n,
|
|
1845
1845
|
request: y
|
|
1846
1846
|
};
|
|
1847
|
-
|
|
1847
|
+
cu(function(X) {
|
|
1848
1848
|
t(X), v();
|
|
1849
1849
|
}, function(X) {
|
|
1850
1850
|
r(X), v();
|
|
@@ -1858,7 +1858,7 @@ const hu = (n) => {
|
|
|
1858
1858
|
r(new ze("Network Error", ze.ERR_NETWORK, n, y)), y = null;
|
|
1859
1859
|
}, y.ontimeout = function() {
|
|
1860
1860
|
let F = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
1861
|
-
const M = s.transitional ||
|
|
1861
|
+
const M = s.transitional || ou;
|
|
1862
1862
|
s.timeoutErrorMessage && (F = s.timeoutErrorMessage), r(new ze(
|
|
1863
1863
|
F,
|
|
1864
1864
|
M.clarifyTimeoutError ? ze.ETIMEDOUT : ze.ECONNABORTED,
|
|
@@ -1928,7 +1928,7 @@ const hu = (n) => {
|
|
|
1928
1928
|
} finally {
|
|
1929
1929
|
await e.cancel();
|
|
1930
1930
|
}
|
|
1931
|
-
},
|
|
1931
|
+
}, No = (n, e, t, r) => {
|
|
1932
1932
|
const s = Wh(n, e);
|
|
1933
1933
|
let o = 0, a, l = (i) => {
|
|
1934
1934
|
a || (a = !0, r && r(i));
|
|
@@ -1957,13 +1957,13 @@ const hu = (n) => {
|
|
|
1957
1957
|
}, {
|
|
1958
1958
|
highWaterMark: 2
|
|
1959
1959
|
});
|
|
1960
|
-
}, vi = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
1960
|
+
}, vi = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", hu = vi && typeof ReadableStream == "function", Xh = vi && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((n) => (e) => n.encode(e))(new TextEncoder()) : async (n) => new Uint8Array(await new Response(n).arrayBuffer())), pu = (n, ...e) => {
|
|
1961
1961
|
try {
|
|
1962
1962
|
return !!n(...e);
|
|
1963
1963
|
} catch {
|
|
1964
1964
|
return !1;
|
|
1965
1965
|
}
|
|
1966
|
-
}, Yh =
|
|
1966
|
+
}, Yh = hu && pu(() => {
|
|
1967
1967
|
let n = !1;
|
|
1968
1968
|
const e = new Request(Mt.origin, {
|
|
1969
1969
|
body: new ReadableStream(),
|
|
@@ -1973,7 +1973,7 @@ const hu = (n) => {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
}).headers.has("Content-Type");
|
|
1975
1975
|
return n && !e;
|
|
1976
|
-
}),
|
|
1976
|
+
}), Co = 64 * 1024, pa = hu && pu(() => ne.isReadableStream(new Response("").body)), ri = {
|
|
1977
1977
|
stream: pa && ((n) => n.body)
|
|
1978
1978
|
};
|
|
1979
1979
|
vi && ((n) => {
|
|
@@ -2014,7 +2014,7 @@ const Zh = async (n) => {
|
|
|
2014
2014
|
headers: c,
|
|
2015
2015
|
withCredentials: d = "same-origin",
|
|
2016
2016
|
fetchOptions: f
|
|
2017
|
-
} =
|
|
2017
|
+
} = du(n);
|
|
2018
2018
|
u = u ? (u + "").toLowerCase() : "text";
|
|
2019
2019
|
let g = Vh([s, o && o.toAbortSignal()], a), h;
|
|
2020
2020
|
const v = g && g.unsubscribe && (() => {
|
|
@@ -2029,11 +2029,11 @@ const Zh = async (n) => {
|
|
|
2029
2029
|
duplex: "half"
|
|
2030
2030
|
}), z;
|
|
2031
2031
|
if (ne.isFormData(r) && (z = M.headers.get("content-type")) && c.setContentType(z), M.body) {
|
|
2032
|
-
const [X, V] =
|
|
2032
|
+
const [X, V] = So(
|
|
2033
2033
|
y,
|
|
2034
|
-
ni(
|
|
2034
|
+
ni(To(i))
|
|
2035
2035
|
);
|
|
2036
|
-
r =
|
|
2036
|
+
r = No(M.body, Co, X, V);
|
|
2037
2037
|
}
|
|
2038
2038
|
}
|
|
2039
2039
|
ne.isString(d) || (d = d ? "include" : "omit");
|
|
@@ -2054,12 +2054,12 @@ const Zh = async (n) => {
|
|
|
2054
2054
|
["status", "statusText", "headers"].forEach((se) => {
|
|
2055
2055
|
M[se] = S[se];
|
|
2056
2056
|
});
|
|
2057
|
-
const z = ne.toFiniteNumber(S.headers.get("content-length")), [X, V] = l &&
|
|
2057
|
+
const z = ne.toFiniteNumber(S.headers.get("content-length")), [X, V] = l && So(
|
|
2058
2058
|
z,
|
|
2059
|
-
ni(
|
|
2059
|
+
ni(To(l), !0)
|
|
2060
2060
|
) || [];
|
|
2061
2061
|
S = new Response(
|
|
2062
|
-
|
|
2062
|
+
No(S.body, Co, X, () => {
|
|
2063
2063
|
V && V(), v && v();
|
|
2064
2064
|
}),
|
|
2065
2065
|
M
|
|
@@ -2068,7 +2068,7 @@ const Zh = async (n) => {
|
|
|
2068
2068
|
u = u || "text";
|
|
2069
2069
|
let F = await ri[ne.findKey(ri, u) || "text"](S, n);
|
|
2070
2070
|
return !C && v && v(), await new Promise((M, z) => {
|
|
2071
|
-
|
|
2071
|
+
cu(M, z, {
|
|
2072
2072
|
data: F,
|
|
2073
2073
|
headers: qt.from(S.headers),
|
|
2074
2074
|
status: S.status,
|
|
@@ -2099,7 +2099,7 @@ ne.forEach(ga, (n, e) => {
|
|
|
2099
2099
|
Object.defineProperty(n, "adapterName", { value: e });
|
|
2100
2100
|
}
|
|
2101
2101
|
});
|
|
2102
|
-
const
|
|
2102
|
+
const Ro = (n) => `- ${n}`, ep = (n) => ne.isFunction(n) || n === null || n === !1, gu = {
|
|
2103
2103
|
getAdapter: (n) => {
|
|
2104
2104
|
n = ne.isArray(n) ? n : [n];
|
|
2105
2105
|
const { length: e } = n;
|
|
@@ -2119,8 +2119,8 @@ const Io = (n) => `- ${n}`, ep = (n) => ne.isFunction(n) || n === null || n ===
|
|
|
2119
2119
|
([l, i]) => `adapter ${l} ` + (i === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
2120
2120
|
);
|
|
2121
2121
|
let a = e ? o.length > 1 ? `since :
|
|
2122
|
-
` + o.map(
|
|
2123
|
-
`) : " " +
|
|
2122
|
+
` + o.map(Ro).join(`
|
|
2123
|
+
`) : " " + Ro(o[0]) : "as no adapter specified";
|
|
2124
2124
|
throw new ze(
|
|
2125
2125
|
"There is no suitable adapter to dispatch the request " + a,
|
|
2126
2126
|
"ERR_NOT_SUPPORT"
|
|
@@ -2134,34 +2134,34 @@ function Gi(n) {
|
|
|
2134
2134
|
if (n.cancelToken && n.cancelToken.throwIfRequested(), n.signal && n.signal.aborted)
|
|
2135
2135
|
throw new qr(null, n);
|
|
2136
2136
|
}
|
|
2137
|
-
function
|
|
2137
|
+
function Io(n) {
|
|
2138
2138
|
return Gi(n), n.headers = qt.from(n.headers), n.data = Vi.call(
|
|
2139
2139
|
n,
|
|
2140
2140
|
n.transformRequest
|
|
2141
|
-
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
2141
|
+
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1), gu.getAdapter(n.adapter || xs.adapter)(n).then(function(r) {
|
|
2142
2142
|
return Gi(n), r.data = Vi.call(
|
|
2143
2143
|
n,
|
|
2144
2144
|
n.transformResponse,
|
|
2145
2145
|
r
|
|
2146
2146
|
), r.headers = qt.from(r.headers), r;
|
|
2147
2147
|
}, function(r) {
|
|
2148
|
-
return
|
|
2148
|
+
return uu(r) || (Gi(n), r && r.response && (r.response.data = Vi.call(
|
|
2149
2149
|
n,
|
|
2150
2150
|
n.transformResponse,
|
|
2151
2151
|
r.response
|
|
2152
2152
|
), r.response.headers = qt.from(r.response.headers))), Promise.reject(r);
|
|
2153
2153
|
});
|
|
2154
2154
|
}
|
|
2155
|
-
const
|
|
2155
|
+
const vu = "1.9.0", mi = {};
|
|
2156
2156
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((n, e) => {
|
|
2157
2157
|
mi[n] = function(r) {
|
|
2158
2158
|
return typeof r === n || "a" + (e < 1 ? "n " : " ") + n;
|
|
2159
2159
|
};
|
|
2160
2160
|
});
|
|
2161
|
-
const
|
|
2161
|
+
const Lo = {};
|
|
2162
2162
|
mi.transitional = function(e, t, r) {
|
|
2163
2163
|
function s(o, a) {
|
|
2164
|
-
return "[Axios v" +
|
|
2164
|
+
return "[Axios v" + vu + "] Transitional option '" + o + "'" + a + (r ? ". " + r : "");
|
|
2165
2165
|
}
|
|
2166
2166
|
return (o, a, l) => {
|
|
2167
2167
|
if (e === !1)
|
|
@@ -2169,7 +2169,7 @@ mi.transitional = function(e, t, r) {
|
|
|
2169
2169
|
s(a, " has been removed" + (t ? " in " + t : "")),
|
|
2170
2170
|
ze.ERR_DEPRECATED
|
|
2171
2171
|
);
|
|
2172
|
-
return t && !
|
|
2172
|
+
return t && !Lo[a] && (Lo[a] = !0, console.warn(
|
|
2173
2173
|
s(
|
|
2174
2174
|
a,
|
|
2175
2175
|
" has been deprecated since v" + t + " and will be removed in the near future"
|
|
@@ -2204,8 +2204,8 @@ const Zs = {
|
|
|
2204
2204
|
let Jn = class {
|
|
2205
2205
|
constructor(e) {
|
|
2206
2206
|
this.defaults = e || {}, this.interceptors = {
|
|
2207
|
-
request: new
|
|
2208
|
-
response: new
|
|
2207
|
+
request: new wo(),
|
|
2208
|
+
response: new wo()
|
|
2209
2209
|
};
|
|
2210
2210
|
}
|
|
2211
2211
|
/**
|
|
@@ -2270,7 +2270,7 @@ let Jn = class {
|
|
|
2270
2270
|
});
|
|
2271
2271
|
let c, d = 0, f;
|
|
2272
2272
|
if (!i) {
|
|
2273
|
-
const h = [
|
|
2273
|
+
const h = [Io.bind(this), void 0];
|
|
2274
2274
|
for (h.unshift.apply(h, l), h.push.apply(h, u), f = h.length, c = Promise.resolve(t); d < f; )
|
|
2275
2275
|
c = c.then(h[d++], h[d++]);
|
|
2276
2276
|
return c;
|
|
@@ -2287,7 +2287,7 @@ let Jn = class {
|
|
|
2287
2287
|
}
|
|
2288
2288
|
}
|
|
2289
2289
|
try {
|
|
2290
|
-
c =
|
|
2290
|
+
c = Io.call(this, g);
|
|
2291
2291
|
} catch (h) {
|
|
2292
2292
|
return Promise.reject(h);
|
|
2293
2293
|
}
|
|
@@ -2297,8 +2297,8 @@ let Jn = class {
|
|
|
2297
2297
|
}
|
|
2298
2298
|
getUri(e) {
|
|
2299
2299
|
e = er(this.defaults, e);
|
|
2300
|
-
const t =
|
|
2301
|
-
return
|
|
2300
|
+
const t = fu(e.baseURL, e.url, e.allowAbsoluteUrls);
|
|
2301
|
+
return au(t, e.params, e.paramsSerializer);
|
|
2302
2302
|
}
|
|
2303
2303
|
};
|
|
2304
2304
|
ne.forEach(["delete", "get", "head", "options"], function(e) {
|
|
@@ -2325,7 +2325,7 @@ ne.forEach(["post", "put", "patch"], function(e) {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
Jn.prototype[e] = t(), Jn.prototype[e + "Form"] = t(!0);
|
|
2327
2327
|
});
|
|
2328
|
-
let np = class
|
|
2328
|
+
let np = class mu {
|
|
2329
2329
|
constructor(e) {
|
|
2330
2330
|
if (typeof e != "function")
|
|
2331
2331
|
throw new TypeError("executor must be a function.");
|
|
@@ -2391,7 +2391,7 @@ let np = class yu {
|
|
|
2391
2391
|
static source() {
|
|
2392
2392
|
let e;
|
|
2393
2393
|
return {
|
|
2394
|
-
token: new
|
|
2394
|
+
token: new mu(function(s) {
|
|
2395
2395
|
e = s;
|
|
2396
2396
|
}),
|
|
2397
2397
|
cancel: e
|
|
@@ -2474,18 +2474,18 @@ const va = {
|
|
|
2474
2474
|
Object.entries(va).forEach(([n, e]) => {
|
|
2475
2475
|
va[e] = n;
|
|
2476
2476
|
});
|
|
2477
|
-
function
|
|
2478
|
-
const e = new Jn(n), t =
|
|
2477
|
+
function yu(n) {
|
|
2478
|
+
const e = new Jn(n), t = Kl(Jn.prototype.request, e);
|
|
2479
2479
|
return ne.extend(t, Jn.prototype, e, { allOwnKeys: !0 }), ne.extend(t, e, null, { allOwnKeys: !0 }), t.create = function(s) {
|
|
2480
|
-
return
|
|
2480
|
+
return yu(er(n, s));
|
|
2481
2481
|
}, t;
|
|
2482
2482
|
}
|
|
2483
|
-
const ht =
|
|
2483
|
+
const ht = yu(xs);
|
|
2484
2484
|
ht.Axios = Jn;
|
|
2485
2485
|
ht.CanceledError = qr;
|
|
2486
2486
|
ht.CancelToken = np;
|
|
2487
|
-
ht.isCancel =
|
|
2488
|
-
ht.VERSION =
|
|
2487
|
+
ht.isCancel = uu;
|
|
2488
|
+
ht.VERSION = vu;
|
|
2489
2489
|
ht.toFormData = gi;
|
|
2490
2490
|
ht.AxiosError = ze;
|
|
2491
2491
|
ht.Cancel = ht.CanceledError;
|
|
@@ -2496,8 +2496,8 @@ ht.spread = rp;
|
|
|
2496
2496
|
ht.isAxiosError = sp;
|
|
2497
2497
|
ht.mergeConfig = er;
|
|
2498
2498
|
ht.AxiosHeaders = qt;
|
|
2499
|
-
ht.formToJSON = (n) =>
|
|
2500
|
-
ht.getAdapter =
|
|
2499
|
+
ht.formToJSON = (n) => lu(ne.isHTMLForm(n) ? new FormData(n) : n);
|
|
2500
|
+
ht.getAdapter = gu.getAdapter;
|
|
2501
2501
|
ht.HttpStatusCode = va;
|
|
2502
2502
|
ht.default = ht;
|
|
2503
2503
|
const {
|
|
@@ -2522,9 +2522,9 @@ var _n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2522
2522
|
function Ka(n) {
|
|
2523
2523
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
2524
2524
|
}
|
|
2525
|
-
var Wi = { exports: {} },
|
|
2525
|
+
var Wi = { exports: {} }, ko;
|
|
2526
2526
|
function ip() {
|
|
2527
|
-
return
|
|
2527
|
+
return ko || (ko = 1, function(n, e) {
|
|
2528
2528
|
(function(r, s) {
|
|
2529
2529
|
n.exports = s();
|
|
2530
2530
|
})(self, function() {
|
|
@@ -5604,7 +5604,7 @@ function ip() {
|
|
|
5604
5604
|
return L === "." || L.toLowerCase() === "%2e";
|
|
5605
5605
|
}, je = function(L) {
|
|
5606
5606
|
return L = L.toLowerCase(), L === ".." || L === "%2e." || L === ".%2e" || L === "%2e%2e";
|
|
5607
|
-
}, Ke = {}, ct = {}, pt = {}, Wt = {}, It = {}, Qe = {}, $e = {}, tt = {}, ve = {}, Ae = {}, Ie = {}, Fe = {}, ke = {}, Xe = {}, nt = {},
|
|
5607
|
+
}, Ke = {}, ct = {}, pt = {}, Wt = {}, It = {}, Qe = {}, $e = {}, tt = {}, ve = {}, Ae = {}, Ie = {}, Fe = {}, ke = {}, Xe = {}, nt = {}, lt = {}, Et = {}, St = {}, zt = {}, Kt = {}, mt = {}, jt = function(L, le, ie, fe) {
|
|
5608
5608
|
var he = ie || Ke, Me = 0, Te = "", Ge = !1, Ye = !1, it = !1, kt, de, ft, Ht;
|
|
5609
5609
|
for (ie || (L.scheme = "", L.username = "", L.password = "", L.host = null, L.port = null, L.path = [], L.query = null, L.fragment = null, L.cannotBeABaseURL = !1, le = le.replace(T, "")), le = le.replace(R, ""), kt = S(le); Me <= kt.length; ) {
|
|
5610
5610
|
switch (de = kt[Me], he) {
|
|
@@ -5714,7 +5714,7 @@ function ip() {
|
|
|
5714
5714
|
case Ie:
|
|
5715
5715
|
case Fe:
|
|
5716
5716
|
if (ie && L.scheme == "file") {
|
|
5717
|
-
he =
|
|
5717
|
+
he = lt;
|
|
5718
5718
|
continue;
|
|
5719
5719
|
} else if (de == ":" && !Ye) {
|
|
5720
5720
|
if (Te == "") return K;
|
|
@@ -5763,12 +5763,12 @@ function ip() {
|
|
|
5763
5763
|
break;
|
|
5764
5764
|
case nt:
|
|
5765
5765
|
if (de == "/" || de == "\\") {
|
|
5766
|
-
he =
|
|
5766
|
+
he = lt;
|
|
5767
5767
|
break;
|
|
5768
5768
|
}
|
|
5769
5769
|
fe && fe.scheme == "file" && !Ve(kt.slice(Me).join("")) && (Se(fe.path[0], !0) ? L.path.push(fe.path[0]) : L.host = fe.host), he = St;
|
|
5770
5770
|
continue;
|
|
5771
|
-
case
|
|
5771
|
+
case lt:
|
|
5772
5772
|
if (de == A || de == "/" || de == "\\" || de == "?" || de == "#") {
|
|
5773
5773
|
if (!ie && Se(Te))
|
|
5774
5774
|
he = St;
|
|
@@ -8307,7 +8307,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8307
8307
|
}, hp = { class: "file-upload-preview" }, pp = ["src"], gp = {
|
|
8308
8308
|
key: 1,
|
|
8309
8309
|
class: "preview"
|
|
8310
|
-
}, vp = { class: "file-upload-preview" }, mp = ["src", "title"], yp = ["href"], bp = { class: "file-upload-title" }, xp = { class: "file-upload-file-remove" }, Ap = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-4 rounded-lg flex flex-col justify-center items-center w-full" },
|
|
8310
|
+
}, vp = { class: "file-upload-preview" }, mp = ["src", "title"], yp = ["href"], bp = { class: "file-upload-title" }, xp = { class: "file-upload-file-remove" }, Ap = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-4 rounded-lg flex flex-col justify-center items-center w-full" }, bu = {
|
|
8311
8311
|
__name: "FileUpload",
|
|
8312
8312
|
props: {
|
|
8313
8313
|
name: {
|
|
@@ -8425,7 +8425,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8425
8425
|
], -1))
|
|
8426
8426
|
])
|
|
8427
8427
|
], 2), [
|
|
8428
|
-
[
|
|
8428
|
+
[$c, !n.modelValue]
|
|
8429
8429
|
])
|
|
8430
8430
|
]));
|
|
8431
8431
|
}
|
|
@@ -8436,13 +8436,13 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8436
8436
|
},
|
|
8437
8437
|
emits: ["update"],
|
|
8438
8438
|
setup(n, { emit: e }) {
|
|
8439
|
-
const t = ar("VFileUpload",
|
|
8439
|
+
const t = ar("VFileUpload", bu), r = e, o = Pe(n.data.component), a = Pe(null), l = Pe(null), i = Pe(null);
|
|
8440
8440
|
function u() {
|
|
8441
8441
|
var f, g;
|
|
8442
8442
|
o.value.hasOwnProperty("data") || (o.value.data = []), !(((f = o.value.data) == null ? void 0 : f.length) >= o.value.max_items) && ((g = o.value.data) == null || g.push({
|
|
8443
8443
|
url: null,
|
|
8444
8444
|
logo: null
|
|
8445
|
-
}),
|
|
8445
|
+
}), Hl(() => {
|
|
8446
8446
|
l.value && l.value.scrollIntoView({ behavior: "smooth" });
|
|
8447
8447
|
}), r("update", !1));
|
|
8448
8448
|
}
|
|
@@ -8455,7 +8455,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8455
8455
|
};
|
|
8456
8456
|
return (f, g) => {
|
|
8457
8457
|
var h;
|
|
8458
|
-
return re(), ue(
|
|
8458
|
+
return re(), ue(ut, null, [
|
|
8459
8459
|
H("div", wp, [
|
|
8460
8460
|
H("div", Ep, [
|
|
8461
8461
|
H("div", null, [
|
|
@@ -8474,7 +8474,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8474
8474
|
])
|
|
8475
8475
|
]),
|
|
8476
8476
|
H("div", Op, [
|
|
8477
|
-
(re(!0), ue(
|
|
8477
|
+
(re(!0), ue(ut, null, wt(o.value.data, (v, y) => (re(), ue("div", {
|
|
8478
8478
|
class: "flex flex-col gap-4 rounded-xl px-6 py-4 bg-gray-200",
|
|
8479
8479
|
key: y,
|
|
8480
8480
|
ref_for: !0,
|
|
@@ -8616,11 +8616,11 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8616
8616
|
const t = e, r = n, s = Pe(JSON.parse(window.localStorage.getItem("pageBuilderOpenStates"))), o = Pe(((f = r.modelValue) == null ? void 0 : f.sections) ?? []);
|
|
8617
8617
|
let a = Pe(null);
|
|
8618
8618
|
const l = Pe({
|
|
8619
|
-
sliders: Tt(
|
|
8620
|
-
vertical_tabs: Tt(
|
|
8621
|
-
links: Tt(
|
|
8619
|
+
sliders: Tt(mo),
|
|
8620
|
+
vertical_tabs: Tt(mo),
|
|
8621
|
+
links: Tt(yo),
|
|
8622
8622
|
header: Tt(Cd),
|
|
8623
|
-
link_grid: Tt(
|
|
8623
|
+
link_grid: Tt(yo),
|
|
8624
8624
|
logos: Tt(Pp),
|
|
8625
8625
|
carousel: Tt($p)
|
|
8626
8626
|
});
|
|
@@ -8647,7 +8647,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8647
8647
|
return re(), ue("div", _p, [
|
|
8648
8648
|
H("div", qp, [
|
|
8649
8649
|
H("div", zp, [
|
|
8650
|
-
(re(!0), ue(
|
|
8650
|
+
(re(!0), ue(ut, null, wt(n.modelValue.sections, (E, S) => (re(), ue("div", Hp, [
|
|
8651
8651
|
H("div", {
|
|
8652
8652
|
onClick: (C) => s.value[S] = !s.value[S],
|
|
8653
8653
|
class: "flex cursor-pointer items-center justify-between px-2 py-4"
|
|
@@ -8655,7 +8655,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8655
8655
|
H("span", Gp, Ue(E.title), 1),
|
|
8656
8656
|
H("div", Wp, [
|
|
8657
8657
|
H("div", Kp, [
|
|
8658
|
-
s.value[S] ? (re(), At(De(
|
|
8658
|
+
s.value[S] ? (re(), At(De(Qc), {
|
|
8659
8659
|
key: 1,
|
|
8660
8660
|
class: "h-5 w-5"
|
|
8661
8661
|
})) : (re(), At(De(ca), {
|
|
@@ -8666,7 +8666,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8666
8666
|
])
|
|
8667
8667
|
], 8, Vp),
|
|
8668
8668
|
s.value[S] ? (re(), ue("div", Xp, [
|
|
8669
|
-
(re(!0), ue(
|
|
8669
|
+
(re(!0), ue(ut, null, wt(E.components, (C, F) => {
|
|
8670
8670
|
var M, z;
|
|
8671
8671
|
return re(), ue("div", {
|
|
8672
8672
|
onClick: (X) => i(S, C, F),
|
|
@@ -8685,7 +8685,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8685
8685
|
]))), 256))
|
|
8686
8686
|
]),
|
|
8687
8687
|
H("div", eg, [
|
|
8688
|
-
De(a) ? He("", !0) : (re(), At(
|
|
8688
|
+
De(a) ? He("", !0) : (re(), At(tf, { key: 0 })),
|
|
8689
8689
|
(re(), At($r(d.value), {
|
|
8690
8690
|
key: ((v = De(a)) == null ? void 0 : v.sectionIndex) + ((y = De(a)) == null ? void 0 : y.componentIndex),
|
|
8691
8691
|
data: De(a),
|
|
@@ -8709,7 +8709,7 @@ const up = { render: lp }, cp = { class: "file-upload" }, fp = ["name", "value"]
|
|
|
8709
8709
|
]);
|
|
8710
8710
|
};
|
|
8711
8711
|
}
|
|
8712
|
-
},
|
|
8712
|
+
}, xu = "data:image/jpeg;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAOptZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAAImlsb2MAAAAAREAAAQABAAAAAAEOAAEAAAAAAAARtAAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAamlwcnAAAABLaXBjbwAAABNjb2xybmNseAABAA0ABoAAAAAMYXYxQ4EMDAAAAAAUaXNwZQAAAAAAAAZBAAAGQQAAABBwaXhpAAAAAAMICAgAAAAXaXBtYQAAAAAAAAABAAEEAYIDBAAAEbxtZGF0EgAKChsqsgZA4ICGg0IyoyMRQAEEEEFA9LrNypVG96LMWWcCoG7e3fR+Ni4S+KmSHgWobWA8OtL9vwZBTQcXX7wPCOaSqjXsz7F6l4FRLlK0rP8o5OlSIUR601ydI43hGj9Zmp+aRpVBIDeJVv2kawzorrWwnkCzlZFEN6kIWzNhDWD17lK5jFHp5nVzBnO7b5xDqgQ41jePfiYsmcXTc+mBRKMYDdHKDnPl/8IBX52Y26kxwh/9P6mo2zGVNs0ONs6XQWBAZF4FLOrQA20MzyF4txDPqWsBcwcki9kP0ye4x2YvaF310Dkfqua5RxdagnQIp81oTTmcVFxZXrNgz/NbDxWQbz/z1D+FoX3neKlSbFhq3ucDHwXJEktw8cZ2XEwmctcaK9W4pdEpJcNmr6e+P5AdDI1gEFOIRzxrfwX7huahRibmG/eDl0/UOLLG7W2K9GM9oA4EfGC0bPjq+Jf334oN7xreU0X+TYQJz/0xj9pPHguWOxMDm9si/e6goowSH/lorQ9UvkgeziFfzDstH4yzAIuV68sxclnujfPQhdXX99gMzUcL0sIhl4Rjw1/oYxWSImpbfTD/sCvela/JWOTP0QMQXX+pC/5stV+H1qJFXPiRG8OhXE0d0PS7I4eD8sVdEfCyszn+lGwa+JXDMgdVcufTugRLQj0TkBzxy6//k6wSt25hJlTRACEGLFtkmZDg92hcP1XELKV7GGk0MY2407yrVkFnFhFdo7MORa4zOTSoG4srhkzTnpKmrgu/2wPYleLn8jEHAuKyO9utn9Z3wI2k7zdKIUzGnUjvk4VRAerEWwLsdvapS6+R77tjD8ReIJU1+ffObq2U3/7ddqdkHDrXsX5TtC9hupIhjj7yd2yDXOnU4ptZKlZlz7V96Z3bk4Dzr0DidAz2u1GIVgymuhj3LNiUVabDehwgCN4odwcZiodNOtwfG5DveLcAAthj19sWP7zblztGw/pps07vA0mdKmk2Jg10RZyPSnLZsMaK4/GcfKexJZxnfD5InLXuOrwBCKy2XxH4sdItujUvy/JlAyhwZ9d30WPbav9ZoSXD/xD8xnBoZgT+EsnCyQBrxjgPoW+U8U8hOVPFY7bHXJ9yYfRdBG9g/aWr/e893U07phoIxJeXejmsLobU3qGnN5br4lcKQF0vxxNB5XSaRX26X//78Rq059n0mh8mR9p8CivLohVCCYlVNvYk+M9gPHr0720q1ofNETgYLaly6c4kSsS+f/dn1/5VqNrMfBZ9iCZsmU2jWDgE5JETYjxU/3SNryPwESpkO2TgM+l6/Fv3GR6+58EiLI0WiWvJGxhgi8cQKdcp8kmu563nVw95R1H5EgZ6iT4i7KuHysoFFC8t/sEpmwvbRkZaa5/D5AFIpG5fo5SguTfyjPGIpugqjUmikhv8u2BkUaoZX/zGRzGj8A3iugRk9WoH2zNDcg9PWxAv73+huXdua93kztViDB9dBkW2RZT4v8FOzAMvBozOD6aGxHVqIVVzwsoQBYTtILtoMBPtCkxi6SsTWLLXb0Up6ymtmFFOdGxUTnxMnZkCuVsrEsuErrLEGRPqVFRVtN4ysgq5/a9pwC5kLpF9wyXP699hHNHp4S4+GZCK9w79aUh/OsAlMFeWOxnz0+iG01cCM8Ps7eOaTsYGXnRMZqA5FzklKkttUjQ8M6l7PkUqs/5C5tDrCIYiWDlhSdypaxs2TbUlVBduh/J9kFTpvj948AVLBKOs3gakAHQ5X6c3SxDXdFqB0a41HG+HOERNYquTykXNTqH75tz/RoNXkejf/RUNUZvljVlfEs8eTmpai9sFCHIyFXUaeuzklBpsc9IaL7DakbvgKO8WPcNfcsx4FQh/iMOBqahytkLpGLoElIVtZkjOWxURscH5KvLqd2sWkqk5SiWY/L/Jr9JNUN+NixqcIsEzZIcROG5V/c6FHVsP3voC0DUUofgYCk7bi8GTUN3eJTTh8M0zFG4eWpxIrcjo4fKpeARX/lGqS7HdBij52bWiWSulAfSjz4tJaYSRupL0k28hjjCXLEwEWfHn05iyy9ZTPHF0KlXvlfUrziuV4w16PdJGhNpGs/JYrclGZ90V7HBJkbUh3ZAsXButMqqhasVQdLCMnX2AbuBM3ok7oz84HETQRCdkir7kfo4192LwjzTRMhGK64+GRZ97MVwtF8nN4ngKljikDBOZiWpLLS7lK0t4/tdw3xNVio1ejBNJqhzF7KFJnyHN8jWQWHSujMbgxmrSMNhOp+cNeCG/CJm9zT8lRmYl1vgDSmaAx6CFR6avfdD9p43Etip9rIypLW1nYCZ3T8HE28vnWvOOWKJoUm4Sb6QdTen6WJqaXICS0/uCotX6Ond1LO0WRmelsJb0lm2BabdixgWPgwg/5FA6pmVVMDr67a/n+NWSpwq/IOXs+tmfZowmgwDkistatDsLwKuqSNtpnOYnTBBI8xq7i+pgDtcfzo+GnBy67aUKI4C0HqAdpwZkaSCb7kVhEW6oG1cN7/pwrhy7QA72tqAg88rzt15B3PjwBOUMxIkjmfQ40GA3NwJLPkPqwmjRNLN3lf3zL3H1YClhYrUk9M8HJ2W+rElAcVkEURUrxxbyEoZegA/hXmlU3cmH59DpPKuaLXOEp9gpsV0IB/QAqtjEbToeOT96LOLtYzD+bp2tkxYbnS2IYXQUhFK+M3ETdydEb0bodINuCbglIwkbu1gjylsf3jM8bPelYuBJ8roiI1zwqDKf7xw752r5dnPn+dQ7nMebZBBxsQlgEOLj41vbfm9dlA1a0pKKle+9octPYEWu7y1cJxc7oKHXTC0MkPAH81B/TuiKwOrfkRtocCOLlLzmgeCDurXtp0aWWHunI6S0rO2ea+M4YPb0T3r9OyZ55Xah5/Hi8JYR5IJ8PTEMbuu0GRpwzAd8v+DJP+Z4w2X52Qgm50O8gDNmhu7UsdhKCa2XgwfV3Wz4pJFl4H0y5UuD4ncKETycAKELlLKvW20K62WZFFwAyf/3hrq5uhp5NVc8F1YiECNJXd5oSVL1K6QjOOAmJyBsMyXPn3+QwTrffNqo8FjM5HPP/acHOsXa7yA7MKHBouxu7GG+Ws8kK/+JgsHyicmrqKRxOtBkiLj4qN6A98JUWe9ceFeE3SBSd9pdv/oSHVOxePXpOnWS6/6HULby3QlWngDmexi6sWOHkn1CV/MKOn+NOnvhhbRF35NlPDbPE12l6c5Fs0li9GyNsc5g0sjkdpJ3Zn4f4RS0PItBRualUCgWzE1yABv1Q+GUgh/A/3wyr5WtGiibYJuF8qctNEqCD7wPPxwF3gcepur//pUPmaUQcDBnQGcexUD0yIwVx27+Mm3GFSqQXdU9yQu+jU114Kvh4OsVRQ9jxlhc8TWF1m/rxZc9HPG1mmQs+xpVmKLD6ayR0o/H6wL/3SwpmlltR4TOqwO969YFHdbjDlqRVJmW06nGxHxbgiaXyiMW2tboIaihOQpaM0ljuqNo+uKQxpjU45nf9RJmjxfJzwCXzGiunvtOeE1hHWRLcCD9Q54t5bKohypXgOYwWSFe2I0BPOUQJ8FSJVvZbK+bavXEk8/FwAxsrMe97EmbmrLt2QiWonGGqhViZE2CYVnbCfiunw/sS+YoBjM5N2h9G/KIzPlpKJTt7Awh2bulvNmf4dLZSsIqC0/fnPTtTxRT9HEaXqjlRLp18FnZB0YCkEOmzj5qjl93D6+hHcA7u8lU3Mmd9pnebwmFNyoBkRybmkHntmmyof3dtCREO9ZmPUKcqGkZ5GiYysPJ72Dq8wiHDh5wFdCjpgFdEf7YeAOGHe1TnX5xP3mk3vpeBa/Y3sMfn500UY9AH8X92hzK7SCV1r+zzYRczz/RMHL9s1QwiOFs0YjoTc9bW/gVCDHTLOYfwVcx0jihdMbk2vuoAxsAX0lizu+lSpgVxFEpDZpWj7jpkxmLHf5id6a59EnID/oJp/1pY139OP9S24VoDpD+Qf/NVztiOOLl201VMVmegtirJPNx/A+E81Raod83V4+TpJgr0VFOZ47Rh8qKcpE7ek+Am+TSjG2y5f1akQFofwawgribkgTVLBSKwEffODKdnrbE7z0gSoAbUMOp+6VN8APZRMTQ4gCirN2UxcE7WLAIgBttO7CfhohfhdPvkrIdJHSviQDEGvfXvuAljmwO99qxKgwKB7RWE5k3vzX/qWmmb5Lwfjudvy2x7fEptqcXSq3arrJtGSjGAps/GVMsBma6yJ2qtfcrrCs+CygW3OxYh0CxqFqOjmlD7k8jReF7iUU1SHYPcNPS53m4dCRXW0c2yTqHLmCHQosr1A/K8a1wLQLbRUD22FunagzRyD6VhyjYAMQl6S3T8gtrGVt8qCQWi7aTgs4yBBM4JSJh3/ixTWfJX0MIUDifqKq8enuSmqFx/mCZYo5P5FbYbQf0M4xAOBXOPLCzYJ9/dAyILWH7zbvH+OOs63gYhFNmkZvDqsoDl2ZaN5+d6XGopWfbIgIdekUgnkwGXMzpWvzGzt28sZdikZJ+R2YDS8VyerRdzRHSuPkjl27ffZvfTAdcc2LpeJEXnu+lNPVagGCH6kL0/gV/Cbk32GdFJRxjwDfn3EK9vYLWXuPqb2fwhV2j7RWSd3UhT3hHcVC33zsNc2ADCGzKIj757/PX+bAMOWKLqsE5VhL598Zm3aiZc72FZb/bGmPDNqFk9qowm6lnn2SSGpsI0YnM3+grwfxFFBTYbaLMbvl45nqKzZYxbMi8Bj4w1VtK1tfHFIyp/G15pR1V6qo0MmzMNXaHCtqHq7LJbRNWvZKUaxyX6+IKEWepgloQuXogNqe/FX07tjVXmQTRcCNQMunYQEDjXGfVZMNzo5ANpOrmOZBJSWAXTbb6YVi5O14p/c9otJPzD4MFELg1mxMGi1P2BHitTT5AJEdYpLrOWKNfyuTKWSJRdhl1wgAkS01HUBZ8U0fX/ObZCDARNVyGUzjTG8ADGbHRVFLAufzah3fZWcEuy/WSaPEG51LEugrZbDAclC2+ma9TFjb/bX9/Qup/nZSFqF5XGmBv6rBpIC0FukNKpy6PXI2PcUaWbEChrYaMODNcz/WP7ePJfeezVEekcl7kV2fNgrz+FJ3SOWtPnLNXcp1deGzgwMW/FtLO8PADkxRtS7p3NwuqxgcsK8v6Qwtv5uWs5POKYuXuIb2cBMXEfhlqWyZLldk3e0hMThlmzpkvJLkDH5JsK2Ls8xQkVO3Xhcm2boZd2fKwYc+2p5x752JjOirMNAL3NlfrdkQq1//VMIjWbKxV2RAijFSjNJTBTxVPpuZNPmmKhH367BwMftROfOOdP3KYIeequ6nShktuYSOZJVRp7NeiPnGwO7rax5U9r3lnie+84sFK66fRpguuAz8Kg1PnJYUsC5W39cHnQbkZ7KUQLHCDpVI64kOdhxmrYu5OGAkIJkRHQbb/QtM+iUtvfPgAl/8WL+pZ4Hanm07MeTXcjie8Jq6o6G6lF/VXyzZFQGwonffQzb+WHgXdlHlYtPglo5CS7fzAQP7EYPM8PShZnmkysxTrA2fS/UVwlLhqNr1CaMFHaRXO/NJhuiufe83tot7jhyl9vXa9n0047EfylrX8305tvshCwyjRdow1w/1ddWI+dh4W6UpYz0jIVaNbotWQcgZG7gM2+6oTtDhDAQwlsBg0xijwuUTFFuQFSa1+uUPDWnIybAuvuHkE1wOIEWXO2gI7j2A8JbQq4hd+jt03ztXEGlyqJpQ4S5m8BD+oghq0GJKcuyMjJVfGow63d7CAs4DU99U37hHlQ1bI1YPidy6vGLmoYi4TZUYPq9t9vNyO1NtSYwVPO18sLbhsv2TJzQQ1Sw0dAu5llcisY2G1YCIVQO54Klh4D13C1miwtBQuHViO45hfwzPL4i6j9Iiw/Tm52I1U1IYm9w846xdKgNj9ao2+aw1AJfcajS3gej36pd+1YHYtyTHs3Q57X1kj8Hjnq5dLASg4CZ/oTb12TJsfFPzmidqg0O0iAohcFTz6mJ/Gqrdt1UA=", ng = {
|
|
8713
8713
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8714
8714
|
fill: "none",
|
|
8715
8715
|
stroke: "currentColor",
|
|
@@ -8731,12 +8731,12 @@ const yi = { render: rg };
|
|
|
8731
8731
|
* (c) 2025
|
|
8732
8732
|
* @license MIT
|
|
8733
8733
|
*/
|
|
8734
|
-
const
|
|
8734
|
+
const Au = ["viewport", "carousel"], si = {
|
|
8735
8735
|
"bottom-to-top": "btt",
|
|
8736
8736
|
"left-to-right": "ltr",
|
|
8737
8737
|
"right-to-left": "rtl",
|
|
8738
8738
|
"top-to-bottom": "ttb"
|
|
8739
|
-
},
|
|
8739
|
+
}, wu = [
|
|
8740
8740
|
"ltr",
|
|
8741
8741
|
"left-to-right",
|
|
8742
8742
|
"rtl",
|
|
@@ -8756,17 +8756,17 @@ const wu = ["viewport", "carousel"], si = {
|
|
|
8756
8756
|
iconArrowRight: "Arrow pointing to the right",
|
|
8757
8757
|
iconArrowUp: "Arrow pointing upwards",
|
|
8758
8758
|
itemXofY: "Item {currentSlide} of {slidesCount}"
|
|
8759
|
-
},
|
|
8759
|
+
}, Eu = ["slide", "fade"], Su = [
|
|
8760
8760
|
"center",
|
|
8761
8761
|
"start",
|
|
8762
8762
|
"end",
|
|
8763
8763
|
"center-even",
|
|
8764
8764
|
"center-odd"
|
|
8765
|
-
],
|
|
8765
|
+
], Po = 10, Bs = 0.3, dt = {
|
|
8766
8766
|
autoplay: 0,
|
|
8767
|
-
breakpointMode:
|
|
8767
|
+
breakpointMode: Au[0],
|
|
8768
8768
|
breakpoints: void 0,
|
|
8769
|
-
dir:
|
|
8769
|
+
dir: wu[0],
|
|
8770
8770
|
enabled: !0,
|
|
8771
8771
|
gap: 0,
|
|
8772
8772
|
height: "auto",
|
|
@@ -8779,8 +8779,8 @@ const wu = ["viewport", "carousel"], si = {
|
|
|
8779
8779
|
mouseWheel: !1,
|
|
8780
8780
|
pauseAutoplayOnHover: !1,
|
|
8781
8781
|
preventExcessiveDragging: !1,
|
|
8782
|
-
slideEffect:
|
|
8783
|
-
snapAlign:
|
|
8782
|
+
slideEffect: Eu[0],
|
|
8783
|
+
snapAlign: Su[0],
|
|
8784
8784
|
touchDrag: !0,
|
|
8785
8785
|
transition: 300,
|
|
8786
8786
|
wrapAround: !1
|
|
@@ -8814,7 +8814,7 @@ const wu = ["viewport", "carousel"], si = {
|
|
|
8814
8814
|
function ag(n) {
|
|
8815
8815
|
return n.length === 0 ? 0 : n.reduce((t, r) => t + r, 0) / n.length;
|
|
8816
8816
|
}
|
|
8817
|
-
function
|
|
8817
|
+
function Fo({ slides: n, position: e, toShow: t }) {
|
|
8818
8818
|
const r = [], s = e === "before", o = s ? -t : 0, a = s ? 0 : t;
|
|
8819
8819
|
if (n.length <= 0)
|
|
8820
8820
|
return r;
|
|
@@ -8825,13 +8825,13 @@ function Mo({ slides: n, position: e, toShow: t }) {
|
|
|
8825
8825
|
id: void 0,
|
|
8826
8826
|
// Make sure we don't duplicate the id which would be invalid html
|
|
8827
8827
|
key: `clone-${e}-${l}`
|
|
8828
|
-
}, c = n[(l % n.length + n.length) % n.length].vnode, d =
|
|
8828
|
+
}, c = n[(l % n.length + n.length) % n.length].vnode, d = Gc(c, u);
|
|
8829
8829
|
d.el = null, r.push(d);
|
|
8830
8830
|
}
|
|
8831
8831
|
return r;
|
|
8832
8832
|
}
|
|
8833
8833
|
const og = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';
|
|
8834
|
-
function
|
|
8834
|
+
function Mo(n) {
|
|
8835
8835
|
if (!n.el || !(n.el instanceof Element))
|
|
8836
8836
|
return;
|
|
8837
8837
|
const e = n.el.querySelectorAll(og);
|
|
@@ -8898,10 +8898,10 @@ function hg(n, e, t) {
|
|
|
8898
8898
|
function ma({ slideSize: n, viewportSize: e, align: t, itemsToShow: r }) {
|
|
8899
8899
|
return r !== void 0 ? dg(t, r) : n !== void 0 && e !== void 0 ? hg(t, n, e) : 0;
|
|
8900
8900
|
}
|
|
8901
|
-
function
|
|
8901
|
+
function Tu(n = "", e = {}) {
|
|
8902
8902
|
return Object.entries(e).reduce((t, [r, s]) => t.replace(`{${r}}`, String(s)), n);
|
|
8903
8903
|
}
|
|
8904
|
-
function
|
|
8904
|
+
function Ou({ val: n, max: e, min: t = 0 }) {
|
|
8905
8905
|
const r = e - t + 1;
|
|
8906
8906
|
return ((n - t) % r + r) % r + t;
|
|
8907
8907
|
}
|
|
@@ -8934,7 +8934,7 @@ const pg = ir({
|
|
|
8934
8934
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
8935
8935
|
"aria-live": "polite",
|
|
8936
8936
|
"aria-atomic": "true"
|
|
8937
|
-
},
|
|
8937
|
+
}, Tu(n.config.i18n.itemXofY, {
|
|
8938
8938
|
currentSlide: n.currentSlide + 1,
|
|
8939
8939
|
slidesCount: n.slidesCount
|
|
8940
8940
|
})) : () => "";
|
|
@@ -8994,7 +8994,7 @@ function mg(n) {
|
|
|
8994
8994
|
var i, u;
|
|
8995
8995
|
if (l.preventDefault(), !r.mouseWheel || o.value)
|
|
8996
8996
|
return;
|
|
8997
|
-
const c = typeof r.mouseWheel == "object" && (i = r.mouseWheel.threshold) !== null && i !== void 0 ? i :
|
|
8997
|
+
const c = typeof r.mouseWheel == "object" && (i = r.mouseWheel.threshold) !== null && i !== void 0 ? i : Po, d = Math.abs(l.deltaY) > c ? l.deltaY : 0, f = Math.abs(l.deltaX) > c ? l.deltaX : 0;
|
|
8998
8998
|
if (d === 0 && f === 0)
|
|
8999
8999
|
return;
|
|
9000
9000
|
const g = s.value ? d : f, v = (g !== 0 ? g : s.value ? f : d) > 0;
|
|
@@ -9017,7 +9017,7 @@ const yg = {
|
|
|
9017
9017
|
breakpointMode: {
|
|
9018
9018
|
default: dt.breakpointMode,
|
|
9019
9019
|
validator(n) {
|
|
9020
|
-
return
|
|
9020
|
+
return Au.includes(n);
|
|
9021
9021
|
}
|
|
9022
9022
|
},
|
|
9023
9023
|
clamp: {
|
|
@@ -9028,7 +9028,7 @@ const yg = {
|
|
|
9028
9028
|
type: String,
|
|
9029
9029
|
default: dt.dir,
|
|
9030
9030
|
validator(n, e) {
|
|
9031
|
-
if (!
|
|
9031
|
+
if (!wu.includes(n))
|
|
9032
9032
|
return !1;
|
|
9033
9033
|
const t = n in si ? si[n] : n;
|
|
9034
9034
|
return ["ttb", "btt"].includes(t) && (!e.height || e.height === "auto") && console.warn(`[vue3-carousel]: The dir "${n}" is not supported with height "auto".`), !0;
|
|
@@ -9103,14 +9103,14 @@ const yg = {
|
|
|
9103
9103
|
type: String,
|
|
9104
9104
|
default: dt.slideEffect,
|
|
9105
9105
|
validator(n) {
|
|
9106
|
-
return
|
|
9106
|
+
return Eu.includes(n);
|
|
9107
9107
|
}
|
|
9108
9108
|
},
|
|
9109
9109
|
// control snap position alignment
|
|
9110
9110
|
snapAlign: {
|
|
9111
9111
|
default: dt.snapAlign,
|
|
9112
9112
|
validator(n) {
|
|
9113
|
-
return
|
|
9113
|
+
return Su.includes(n);
|
|
9114
9114
|
}
|
|
9115
9115
|
},
|
|
9116
9116
|
// toggle touch dragging
|
|
@@ -9230,7 +9230,7 @@ const yg = {
|
|
|
9230
9230
|
ge.value && me.value !== !1 ? (document.addEventListener("animationstart", be), document.addEventListener("animationend", we)) : (document.removeEventListener("animationstart", be), document.removeEventListener("animationend", we));
|
|
9231
9231
|
}), vs(() => {
|
|
9232
9232
|
ge.value = !0, P(), m(), i.value && (M = new ResizeObserver(O), M.observe(i.value)), t("init");
|
|
9233
|
-
}),
|
|
9233
|
+
}), Vl(() => {
|
|
9234
9234
|
ge.value = !1, o.cleanup(), F && clearTimeout(F), ye && cancelAnimationFrame(ye), C && clearInterval(C), M && (M.disconnect(), M = null), typeof document < "u" && A(), i.value && (i.value.removeEventListener("transitionend", J), i.value.removeEventListener("animationiteration", J));
|
|
9235
9235
|
});
|
|
9236
9236
|
const { isHover: Ce, handleMouseEnter: xe, handleMouseLeave: T } = vg(), R = ya((ve) => {
|
|
@@ -9264,12 +9264,12 @@ const yg = {
|
|
|
9264
9264
|
const k = Pe(!1), U = ({ deltaX: ve, deltaY: Ae, isTouch: Ie }) => {
|
|
9265
9265
|
var Fe, ke, Xe, nt;
|
|
9266
9266
|
t("drag", { deltaX: ve, deltaY: Ae });
|
|
9267
|
-
const
|
|
9267
|
+
const lt = Ie ? typeof f.touchDrag == "object" && (ke = (Fe = f.touchDrag) === null || Fe === void 0 ? void 0 : Fe.threshold) !== null && ke !== void 0 ? ke : Bs : typeof f.mouseDrag == "object" && (nt = (Xe = f.mouseDrag) === null || Xe === void 0 ? void 0 : Xe.threshold) !== null && nt !== void 0 ? nt : Bs, Et = ug({
|
|
9268
9268
|
isVertical: se.value,
|
|
9269
9269
|
isReversed: V.value,
|
|
9270
9270
|
dragged: { x: ve, y: Ae },
|
|
9271
9271
|
effectiveSlideSize: z.value,
|
|
9272
|
-
threshold:
|
|
9272
|
+
threshold: lt
|
|
9273
9273
|
});
|
|
9274
9274
|
Et !== 0 && (h.value = f.wrapAround ? g.value + Et : Rn({
|
|
9275
9275
|
val: g.value + Et,
|
|
@@ -9298,7 +9298,7 @@ const yg = {
|
|
|
9298
9298
|
if (!Ae && k.value)
|
|
9299
9299
|
return;
|
|
9300
9300
|
let Ie = ve, Fe = ve;
|
|
9301
|
-
v.value = g.value, f.wrapAround ? Fe =
|
|
9301
|
+
v.value = g.value, f.wrapAround ? Fe = Ou({
|
|
9302
9302
|
val: Ie,
|
|
9303
9303
|
max: E.value,
|
|
9304
9304
|
min: S.value
|
|
@@ -9399,15 +9399,15 @@ const yg = {
|
|
|
9399
9399
|
let ke = 0, Xe = 0 - We.value.before;
|
|
9400
9400
|
const nt = Math.abs(ct.value + je.value);
|
|
9401
9401
|
for (; ke <= nt; ) {
|
|
9402
|
-
const
|
|
9403
|
-
ke += ((ve = D.value[
|
|
9402
|
+
const lt = (Xe % a.length + a.length) % a.length;
|
|
9403
|
+
ke += ((ve = D.value[lt]) === null || ve === void 0 ? void 0 : ve[x.value]) + f.gap, Xe++;
|
|
9404
9404
|
}
|
|
9405
9405
|
Ie = Xe - 1;
|
|
9406
9406
|
}
|
|
9407
9407
|
let Fe = 0;
|
|
9408
9408
|
{
|
|
9409
9409
|
let ke = Ie, Xe = 0;
|
|
9410
|
-
for (ke < 0 ? Xe = D.value.slice(0, ke).reduce((nt,
|
|
9410
|
+
for (ke < 0 ? Xe = D.value.slice(0, ke).reduce((nt, lt) => nt + lt[x.value] + f.gap, 0) - Math.abs(ct.value + je.value) : Xe = D.value.slice(0, ke).reduce((nt, lt) => nt + lt[x.value] + f.gap, 0) - Math.abs(ct.value); Xe < K.value[x.value]; ) {
|
|
9411
9411
|
const nt = (ke % a.length + a.length) % a.length;
|
|
9412
9412
|
Xe += ((Ae = D.value[nt]) === null || Ae === void 0 ? void 0 : Ae[x.value]) + f.gap, ke++;
|
|
9413
9413
|
}
|
|
@@ -9424,7 +9424,7 @@ const yg = {
|
|
|
9424
9424
|
let Ie = ct.value + Ae;
|
|
9425
9425
|
if (!f.wrapAround && f.preventExcessiveDragging) {
|
|
9426
9426
|
let Fe = 0;
|
|
9427
|
-
G.value ? Fe = D.value.reduce((nt,
|
|
9427
|
+
G.value ? Fe = D.value.reduce((nt, lt) => nt + lt[x.value], 0) : Fe = (l.value - Number(f.itemsToShow)) * z.value;
|
|
9428
9428
|
const ke = V.value ? 0 : -1 * Fe, Xe = V.value ? Fe : 0;
|
|
9429
9429
|
Ie = Rn({
|
|
9430
9430
|
val: Ie,
|
|
@@ -9455,7 +9455,7 @@ const yg = {
|
|
|
9455
9455
|
viewport: u,
|
|
9456
9456
|
visibleRange: pt
|
|
9457
9457
|
});
|
|
9458
|
-
|
|
9458
|
+
Gl(tr, $e);
|
|
9459
9459
|
const tt = ns({
|
|
9460
9460
|
config: f,
|
|
9461
9461
|
currentSlide: g,
|
|
@@ -9474,29 +9474,29 @@ const yg = {
|
|
|
9474
9474
|
updateBreakpointsConfig: P,
|
|
9475
9475
|
updateSlideSize: J,
|
|
9476
9476
|
updateSlidesData: ee
|
|
9477
|
-
},
|
|
9477
|
+
}, _c($e)))), () => {
|
|
9478
9478
|
var ve;
|
|
9479
|
-
const Ae = e.default || e.slides, Ie = (Ae == null ? void 0 : Ae(tt)) || [], { before: Fe, after: ke } = We.value, Xe =
|
|
9479
|
+
const Ae = e.default || e.slides, Ie = (Ae == null ? void 0 : Ae(tt)) || [], { before: Fe, after: ke } = We.value, Xe = Fo({
|
|
9480
9480
|
slides: a,
|
|
9481
9481
|
position: "before",
|
|
9482
9482
|
toShow: Fe
|
|
9483
|
-
}), nt =
|
|
9483
|
+
}), nt = Fo({
|
|
9484
9484
|
slides: a,
|
|
9485
9485
|
position: "after",
|
|
9486
9486
|
toShow: ke
|
|
9487
|
-
}),
|
|
9488
|
-
if (!f.enabled || !
|
|
9487
|
+
}), lt = [...Xe, ...Ie, ...nt];
|
|
9488
|
+
if (!f.enabled || !lt.length)
|
|
9489
9489
|
return Ct("section", {
|
|
9490
9490
|
ref: i,
|
|
9491
9491
|
class: ["carousel", "is-disabled"]
|
|
9492
|
-
},
|
|
9492
|
+
}, lt);
|
|
9493
9493
|
const Et = ((ve = e.addons) === null || ve === void 0 ? void 0 : ve.call(e, tt)) || [], St = Ct("ol", {
|
|
9494
9494
|
class: "carousel__track",
|
|
9495
9495
|
onMousedownCapture: f.mouseDrag ? Y : null,
|
|
9496
9496
|
onTouchstartPassiveCapture: f.touchDrag ? Y : null,
|
|
9497
9497
|
onWheel: f.mouseWheel ? te : null,
|
|
9498
9498
|
style: { transform: Wt.value }
|
|
9499
|
-
},
|
|
9499
|
+
}, lt), zt = Ct("div", { class: "carousel__viewport", ref: u }, St);
|
|
9500
9500
|
return Ct("section", {
|
|
9501
9501
|
ref: i,
|
|
9502
9502
|
class: [
|
|
@@ -9526,7 +9526,7 @@ var ba;
|
|
|
9526
9526
|
(function(n) {
|
|
9527
9527
|
n.arrowDown = "arrowDown", n.arrowLeft = "arrowLeft", n.arrowRight = "arrowRight", n.arrowUp = "arrowUp";
|
|
9528
9528
|
})(ba || (ba = {}));
|
|
9529
|
-
const
|
|
9529
|
+
const Bo = (n) => `icon${n.charAt(0).toUpperCase() + n.slice(1)}`, xg = {
|
|
9530
9530
|
arrowDown: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",
|
|
9531
9531
|
arrowLeft: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",
|
|
9532
9532
|
arrowRight: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",
|
|
@@ -9535,25 +9535,25 @@ const Uo = (n) => `icon${n.charAt(0).toUpperCase() + n.slice(1)}`, xg = {
|
|
|
9535
9535
|
function Ag(n) {
|
|
9536
9536
|
return n in ba;
|
|
9537
9537
|
}
|
|
9538
|
-
const
|
|
9538
|
+
const Uo = (n) => n && Ag(n), Do = ir({
|
|
9539
9539
|
props: {
|
|
9540
9540
|
name: {
|
|
9541
9541
|
type: String,
|
|
9542
9542
|
required: !0,
|
|
9543
|
-
validator:
|
|
9543
|
+
validator: Uo
|
|
9544
9544
|
},
|
|
9545
9545
|
title: {
|
|
9546
9546
|
type: String,
|
|
9547
|
-
default: (n) => n.name ? dt.i18n[
|
|
9547
|
+
default: (n) => n.name ? dt.i18n[Bo(n.name)] : ""
|
|
9548
9548
|
}
|
|
9549
9549
|
},
|
|
9550
9550
|
setup(n) {
|
|
9551
9551
|
const e = ar(tr, null);
|
|
9552
9552
|
return () => {
|
|
9553
9553
|
const t = n.name;
|
|
9554
|
-
if (!t || !
|
|
9554
|
+
if (!t || !Uo(t))
|
|
9555
9555
|
return;
|
|
9556
|
-
const r = xg[t], s = Ct("path", { d: r }), o = (e == null ? void 0 : e.config.i18n[
|
|
9556
|
+
const r = xg[t], s = Ct("path", { d: r }), o = (e == null ? void 0 : e.config.i18n[Bo(t)]) || n.title, a = Ct("title", o);
|
|
9557
9557
|
return Ct("svg", {
|
|
9558
9558
|
class: "carousel__icon",
|
|
9559
9559
|
viewBox: "0 0 24 24",
|
|
@@ -9591,11 +9591,11 @@ ir({
|
|
|
9591
9591
|
"carousel__prev",
|
|
9592
9592
|
{ "carousel__prev--disabled": i.value },
|
|
9593
9593
|
t.class
|
|
9594
|
-
] }), (o == null ? void 0 : o()) || Ct(
|
|
9594
|
+
] }), (o == null ? void 0 : o()) || Ct(Do, { name: a() })), f = Ct("button", Object.assign(Object.assign({ type: "button", disabled: u.value, "aria-label": c.ariaNextSlide, title: c.ariaNextSlide, onClick: r.nav.next }, t), { class: [
|
|
9595
9595
|
"carousel__next",
|
|
9596
9596
|
{ "carousel__next--disabled": u.value },
|
|
9597
9597
|
t.class
|
|
9598
|
-
] }), (s == null ? void 0 : s()) || Ct(
|
|
9598
|
+
] }), (s == null ? void 0 : s()) || Ct(Do, { name: l() }));
|
|
9599
9599
|
return [d, f];
|
|
9600
9600
|
};
|
|
9601
9601
|
}
|
|
@@ -9618,7 +9618,7 @@ ir({
|
|
|
9618
9618
|
const t = qe(() => e.config.itemsToShow), r = qe(() => ma({
|
|
9619
9619
|
align: e.config.snapAlign,
|
|
9620
9620
|
itemsToShow: t.value
|
|
9621
|
-
})), s = qe(() => n.paginateByItemsToShow && t.value > 1), o = qe(() => Math.ceil((e.activeSlide - r.value) / t.value)), a = qe(() => Math.ceil(e.slidesCount / t.value)), l = (i) =>
|
|
9621
|
+
})), s = qe(() => n.paginateByItemsToShow && t.value > 1), o = qe(() => Math.ceil((e.activeSlide - r.value) / t.value)), a = qe(() => Math.ceil(e.slidesCount / t.value)), l = (i) => Ou(s.value ? {
|
|
9622
9622
|
val: o.value,
|
|
9623
9623
|
max: a.value - 1,
|
|
9624
9624
|
min: 0
|
|
@@ -9633,7 +9633,7 @@ ir({
|
|
|
9633
9633
|
return console.warn("[vue3-carousel]: A carousel component must be provided for the pagination component to display"), "";
|
|
9634
9634
|
const c = [];
|
|
9635
9635
|
for (let d = s.value ? 0 : e.minSlide; d <= (s.value ? a.value - 1 : e.maxSlide); d++) {
|
|
9636
|
-
const f =
|
|
9636
|
+
const f = Tu(e.config.i18n[s.value ? "ariaNavigateToPage" : "ariaNavigateToSlide"], {
|
|
9637
9637
|
slideNumber: d + 1
|
|
9638
9638
|
}), g = l(d), h = Ct("button", {
|
|
9639
9639
|
type: "button",
|
|
@@ -9659,7 +9659,7 @@ const wg = ir({
|
|
|
9659
9659
|
props: {
|
|
9660
9660
|
id: {
|
|
9661
9661
|
type: String,
|
|
9662
|
-
default: (n) => n.isClone ? void 0 :
|
|
9662
|
+
default: (n) => n.isClone ? void 0 : qc()
|
|
9663
9663
|
},
|
|
9664
9664
|
index: {
|
|
9665
9665
|
type: Number,
|
|
@@ -9672,11 +9672,11 @@ const wg = ir({
|
|
|
9672
9672
|
},
|
|
9673
9673
|
setup(n, { attrs: e, slots: t, expose: r }) {
|
|
9674
9674
|
const s = ar(tr);
|
|
9675
|
-
if (
|
|
9675
|
+
if (Gl(tr, void 0), !s)
|
|
9676
9676
|
return () => "";
|
|
9677
9677
|
const o = Pe(n.index), a = (h) => {
|
|
9678
9678
|
o.value = h;
|
|
9679
|
-
}, l =
|
|
9679
|
+
}, l = zc(), i = () => {
|
|
9680
9680
|
const h = l.vnode.el;
|
|
9681
9681
|
return h ? h.getBoundingClientRect() : { width: 0, height: 0 };
|
|
9682
9682
|
};
|
|
@@ -9691,12 +9691,12 @@ const wg = ir({
|
|
|
9691
9691
|
const h = s.config.itemsToShow, v = s.config.gap > 0 && h > 1 ? `calc(${100 / h}% - ${s.config.gap * (h - 1) / h}px)` : `${100 / h}%`;
|
|
9692
9692
|
return s.isVertical ? { height: v } : { width: v };
|
|
9693
9693
|
});
|
|
9694
|
-
return s.slideRegistry.registerSlide(l, n.index),
|
|
9694
|
+
return s.slideRegistry.registerSlide(l, n.index), Hc(() => {
|
|
9695
9695
|
s.slideRegistry.unregisterSlide(l);
|
|
9696
9696
|
}), n.isClone && (vs(() => {
|
|
9697
|
-
|
|
9698
|
-
}),
|
|
9699
|
-
|
|
9697
|
+
Mo(l.vnode);
|
|
9698
|
+
}), Vc(() => {
|
|
9699
|
+
Mo(l.vnode);
|
|
9700
9700
|
})), () => {
|
|
9701
9701
|
var h, v;
|
|
9702
9702
|
return s.config.enabled ? Ct("li", {
|
|
@@ -9729,7 +9729,7 @@ const wg = ir({
|
|
|
9729
9729
|
}), Eg = { class: "flex h-[872px] w-full bg-navy-800 relative rounded-[48px] z-10" }, Sg = { class: "lg:p-8 p-4 flex relative w-full" }, Tg = { class: "lg:w-1/2 lg:pl-8 lg:pr-16 pl-4 pr-8 flex flex-col lg:mt-[218px] mt-[100px] absolute top-0 left-5 lg:relative" }, Og = { class: "gap-2 flex z-10 mb-4" }, Ng = ["onClick"], Cg = { class: "lg:text-[48px] text-[40px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" }, Rg = ["innerHTML"], Ig = { class: "flex gap-3 mt-8 flex-col lg:flex-row" }, Lg = ["href", "target"], kg = ["href", "target"], Pg = ["src"], Fg = {
|
|
9730
9730
|
key: 1,
|
|
9731
9731
|
class: "rounded-[40px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
|
|
9732
|
-
src:
|
|
9732
|
+
src: xu
|
|
9733
9733
|
}, Mg = {
|
|
9734
9734
|
__name: "VSliderPresenter",
|
|
9735
9735
|
props: {
|
|
@@ -9750,12 +9750,12 @@ const wg = ir({
|
|
|
9750
9750
|
"wrap-around": !0
|
|
9751
9751
|
}, {
|
|
9752
9752
|
default: xt(() => [
|
|
9753
|
-
(re(!0), ue(
|
|
9753
|
+
(re(!0), ue(ut, null, wt(De(s), (i, u) => (re(), At(De(wg), { key: u }, {
|
|
9754
9754
|
default: xt(() => [
|
|
9755
9755
|
H("div", Sg, [
|
|
9756
9756
|
H("div", Tg, [
|
|
9757
9757
|
H("div", Og, [
|
|
9758
|
-
De(s).length > 1 ? (re(!0), ue(
|
|
9758
|
+
De(s).length > 1 ? (re(!0), ue(ut, { key: 0 }, wt(De(s), (c, d) => (re(), ue("a", {
|
|
9759
9759
|
onClick: (f) => t.value = d,
|
|
9760
9760
|
class: st(["w-4 h-1 bg-navy-400 rounded-full cursor-pointer", { "!w-12 !bg-white": t.value === d }])
|
|
9761
9761
|
}, null, 10, Ng))), 256)) : He("", !0)
|
|
@@ -9800,7 +9800,7 @@ const wg = ir({
|
|
|
9800
9800
|
}, 8, ["modelValue"])
|
|
9801
9801
|
]));
|
|
9802
9802
|
}
|
|
9803
|
-
}, Bg = /* @__PURE__ */ ms(Mg, [["__scopeId", "data-v-960591f8"]]), Ug = ["target", "href"],
|
|
9803
|
+
}, Bg = /* @__PURE__ */ ms(Mg, [["__scopeId", "data-v-960591f8"]]), Ug = ["target", "href"], Nu = {
|
|
9804
9804
|
__name: "VLinkPresenter",
|
|
9805
9805
|
props: {
|
|
9806
9806
|
component: {
|
|
@@ -9813,7 +9813,7 @@ const wg = ir({
|
|
|
9813
9813
|
return (s, o) => (re(), ue("div", {
|
|
9814
9814
|
class: st(["flex justify-center h-[136px] w-full relative rounded-b-[48px] bg-navy-600 -mt-12 gap-[60px]", { "bg-transparent !justify-start flex-wrap mt-8 !h-auto !gap-4": r }])
|
|
9815
9815
|
}, [
|
|
9816
|
-
(re(!0), ue(
|
|
9816
|
+
(re(!0), ue(ut, null, wt(t.value.data, (a) => (re(), ue("div", {
|
|
9817
9817
|
class: st(["flex justify-center", { "!block": r }])
|
|
9818
9818
|
}, [
|
|
9819
9819
|
H("a", {
|
|
@@ -9838,10 +9838,10 @@ const wg = ir({
|
|
|
9838
9838
|
setup(n) {
|
|
9839
9839
|
const t = Pe(n.section), r = Pe({
|
|
9840
9840
|
sliders: Tt(Bg),
|
|
9841
|
-
links: Tt(
|
|
9841
|
+
links: Tt(Nu)
|
|
9842
9842
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
9843
9843
|
return (o, a) => (re(), ue("div", Dg, [
|
|
9844
|
-
(re(!0), ue(
|
|
9844
|
+
(re(!0), ue(ut, null, wt(t.value.components, (l, i) => (re(), ue("div", jg, [
|
|
9845
9845
|
(re(), At($r(s(l)), {
|
|
9846
9846
|
key: i,
|
|
9847
9847
|
component: l
|
|
@@ -9902,12 +9902,12 @@ const zg = { render: qg }, Hg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9902
9902
|
setup(n) {
|
|
9903
9903
|
const t = Pe(n.section), r = Pe({
|
|
9904
9904
|
header: Tt(Xa),
|
|
9905
|
-
link_grid: Tt(
|
|
9905
|
+
link_grid: Tt(Nu)
|
|
9906
9906
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
9907
9907
|
return (o, a) => (re(), ue("div", Hg, [
|
|
9908
9908
|
H("div", Vg, [
|
|
9909
9909
|
H("div", Gg, [
|
|
9910
|
-
(re(!0), ue(
|
|
9910
|
+
(re(!0), ue(ut, null, wt(t.value.components, (l, i) => (re(), ue("div", Wg, [
|
|
9911
9911
|
(re(), At($r(s(l)), {
|
|
9912
9912
|
key: i,
|
|
9913
9913
|
component: l
|
|
@@ -9921,7 +9921,7 @@ const zg = { render: qg }, Hg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9921
9921
|
}, Xg = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" }, Yg = { class: "flex-1 w-full md:w-1/2 flex flex-col" }, Zg = ["onClick"], Qg = { class: "py-4 pl-4 md:pl-6" }, Jg = ["innerHTML"], ev = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" }, tv = ["src"], nv = {
|
|
9922
9922
|
key: 1,
|
|
9923
9923
|
class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full",
|
|
9924
|
-
src:
|
|
9924
|
+
src: xu,
|
|
9925
9925
|
alt: "No Image Available"
|
|
9926
9926
|
}, rv = ["target", "href"], sv = {
|
|
9927
9927
|
__name: "VVerticalTabPresenter",
|
|
@@ -9939,7 +9939,7 @@ const zg = { render: qg }, Hg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9939
9939
|
s.value.length > 0 && o(s.value[0]);
|
|
9940
9940
|
}), (a, l) => (re(), ue("div", Xg, [
|
|
9941
9941
|
H("div", Yg, [
|
|
9942
|
-
(re(!0), ue(
|
|
9942
|
+
(re(!0), ue(ut, null, wt(s.value, (i) => (re(), ue("div", {
|
|
9943
9943
|
key: i.title
|
|
9944
9944
|
}, [
|
|
9945
9945
|
H("div", {
|
|
@@ -9959,7 +9959,7 @@ const zg = { render: qg }, Hg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
9959
9959
|
]))), 128))
|
|
9960
9960
|
]),
|
|
9961
9961
|
H("div", ev, [
|
|
9962
|
-
Be(
|
|
9962
|
+
Be(ql, {
|
|
9963
9963
|
name: "fade",
|
|
9964
9964
|
mode: "out-in"
|
|
9965
9965
|
}, {
|
|
@@ -10008,7 +10008,7 @@ const zg = { render: qg }, Hg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
10008
10008
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
10009
10009
|
return (o, a) => (re(), ue("div", av, [
|
|
10010
10010
|
H("div", ov, [
|
|
10011
|
-
(re(!0), ue(
|
|
10011
|
+
(re(!0), ue(ut, null, wt(t.value.components, (l, i) => (re(), ue("div", null, [
|
|
10012
10012
|
(re(), At($r(s(l)), {
|
|
10013
10013
|
key: i,
|
|
10014
10014
|
component: l
|
|
@@ -10036,7 +10036,7 @@ const zg = { render: qg }, Hg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
10036
10036
|
H("div", {
|
|
10037
10037
|
class: st(["1xl:max-w-[1824px] mx-auto relative flex justify-center items-center", { "py-8": r, "flex-col py-6": !r }])
|
|
10038
10038
|
}, [
|
|
10039
|
-
(re(!0), ue(
|
|
10039
|
+
(re(!0), ue(ut, null, wt(t.value.components, (l, i) => (re(), ue("div", null, [
|
|
10040
10040
|
(l == null ? void 0 : l.type) === "header" && (l != null && l.supporting_text) ? (re(), ue("p", {
|
|
10041
10041
|
key: 0,
|
|
10042
10042
|
class: st(["mr-[48px] text-base text-gray-600 font-medium", { "mb-6": !r }])
|
|
@@ -10045,7 +10045,7 @@ const zg = { render: qg }, Hg = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
10045
10045
|
key: 1,
|
|
10046
10046
|
class: st(["flex flex-wrap justify-center", { "gap-6": r, "gap-12": !r }])
|
|
10047
10047
|
}, [
|
|
10048
|
-
(re(!0), ue(
|
|
10048
|
+
(re(!0), ue(ut, null, wt(l.data, (u) => (re(), ue("a", {
|
|
10049
10049
|
href: u == null ? void 0 : u.url,
|
|
10050
10050
|
title: "Brand"
|
|
10051
10051
|
}, [
|
|
@@ -10161,9 +10161,9 @@ const Sv = { render: Ev }, Tv = { class: "relative" }, Ov = { class: "mb-4" }, N
|
|
|
10161
10161
|
return re(), ue("div", Tv, [
|
|
10162
10162
|
H("div", {
|
|
10163
10163
|
class: "slider-wrapper flex transition-transform duration-500 gap-0 mb-6",
|
|
10164
|
-
style:
|
|
10164
|
+
style: Wc({ transform: `translateX(-${t.value * 504}px)` })
|
|
10165
10165
|
}, [
|
|
10166
|
-
(re(), ue(
|
|
10166
|
+
(re(), ue(ut, null, wt(r, (d, f) => {
|
|
10167
10167
|
var g, h, v;
|
|
10168
10168
|
return H("div", {
|
|
10169
10169
|
key: f,
|
|
@@ -10182,7 +10182,7 @@ const Sv = { render: Ev }, Tv = { class: "relative" }, Ov = { class: "mb-4" }, N
|
|
|
10182
10182
|
}, null, 8, Nv)) : He("", !0)
|
|
10183
10183
|
]),
|
|
10184
10184
|
d.tags && d.tags.length ? (re(), ue("div", Cv, [
|
|
10185
|
-
(re(!0), ue(
|
|
10185
|
+
(re(!0), ue(ut, null, wt(d.tags, (y) => (re(), ue("span", {
|
|
10186
10186
|
key: y,
|
|
10187
10187
|
class: "bg-navy-50 border border-navy-200 text-navy-700 px-2 py-0.5 rounded-[6px] text-sm"
|
|
10188
10188
|
}, Ue(y), 1))), 128))
|
|
@@ -10310,7 +10310,7 @@ const Sv = { render: Ev }, Tv = { class: "relative" }, Ov = { class: "mb-4" }, N
|
|
|
10310
10310
|
collection_carousel: Tt(Vv)
|
|
10311
10311
|
}), t = (r) => r != null && r.type ? e.value[r == null ? void 0 : r.type] : "";
|
|
10312
10312
|
return (r, s) => (re(), ue("div", Gv, [
|
|
10313
|
-
(re(!0), ue(
|
|
10313
|
+
(re(!0), ue(ut, null, wt(n.page.sections, (o, a) => (re(), ue("div", null, [
|
|
10314
10314
|
(re(), At($r(t(o)), {
|
|
10315
10315
|
key: a,
|
|
10316
10316
|
section: o
|
|
@@ -10319,7 +10319,7 @@ const Sv = { render: Ev }, Tv = { class: "relative" }, Ov = { class: "mb-4" }, N
|
|
|
10319
10319
|
]));
|
|
10320
10320
|
}
|
|
10321
10321
|
};
|
|
10322
|
-
var
|
|
10322
|
+
var Cu = typeof global == "object" && global && global.Object === Object && global, Wv = typeof self == "object" && self && self.Object === Object && self, En = Cu || Wv || Function("return this")(), Vn = En.Symbol, Ru = Object.prototype, Kv = Ru.hasOwnProperty, Xv = Ru.toString, Xr = Vn ? Vn.toStringTag : void 0;
|
|
10323
10323
|
function Yv(n) {
|
|
10324
10324
|
var e = Kv.call(n, Xr), t = n[Xr];
|
|
10325
10325
|
try {
|
|
@@ -10334,9 +10334,9 @@ var Zv = Object.prototype, Qv = Zv.toString;
|
|
|
10334
10334
|
function Jv(n) {
|
|
10335
10335
|
return Qv.call(n);
|
|
10336
10336
|
}
|
|
10337
|
-
var em = "[object Null]", tm = "[object Undefined]",
|
|
10337
|
+
var em = "[object Null]", tm = "[object Undefined]", jo = Vn ? Vn.toStringTag : void 0;
|
|
10338
10338
|
function zr(n) {
|
|
10339
|
-
return n == null ? n === void 0 ? tm : em :
|
|
10339
|
+
return n == null ? n === void 0 ? tm : em : jo && jo in Object(n) ? Yv(n) : Jv(n);
|
|
10340
10340
|
}
|
|
10341
10341
|
function kn(n) {
|
|
10342
10342
|
return n != null && typeof n == "object";
|
|
@@ -10346,7 +10346,7 @@ function Gn(n) {
|
|
|
10346
10346
|
var e = typeof n;
|
|
10347
10347
|
return n != null && (e == "object" || e == "function");
|
|
10348
10348
|
}
|
|
10349
|
-
function
|
|
10349
|
+
function Iu(n) {
|
|
10350
10350
|
return n;
|
|
10351
10351
|
}
|
|
10352
10352
|
var nm = "[object AsyncFunction]", rm = "[object Function]", sm = "[object GeneratorFunction]", im = "[object Proxy]";
|
|
@@ -10356,12 +10356,12 @@ function Ya(n) {
|
|
|
10356
10356
|
var e = zr(n);
|
|
10357
10357
|
return e == rm || e == sm || e == nm || e == im;
|
|
10358
10358
|
}
|
|
10359
|
-
var Xi = En["__core-js_shared__"],
|
|
10359
|
+
var Xi = En["__core-js_shared__"], $o = function() {
|
|
10360
10360
|
var n = /[^.]+$/.exec(Xi && Xi.keys && Xi.keys.IE_PROTO || "");
|
|
10361
10361
|
return n ? "Symbol(src)_1." + n : "";
|
|
10362
10362
|
}();
|
|
10363
10363
|
function am(n) {
|
|
10364
|
-
return
|
|
10364
|
+
return !!$o && $o in n;
|
|
10365
10365
|
}
|
|
10366
10366
|
var om = Function.prototype, lm = om.toString;
|
|
10367
10367
|
function or(n) {
|
|
@@ -10393,14 +10393,14 @@ function lr(n, e) {
|
|
|
10393
10393
|
var t = mm(n, e);
|
|
10394
10394
|
return vm(t) ? t : void 0;
|
|
10395
10395
|
}
|
|
10396
|
-
var xa = lr(En, "WeakMap"),
|
|
10396
|
+
var xa = lr(En, "WeakMap"), _o = Object.create, ym = /* @__PURE__ */ function() {
|
|
10397
10397
|
function n() {
|
|
10398
10398
|
}
|
|
10399
10399
|
return function(e) {
|
|
10400
10400
|
if (!Gn(e))
|
|
10401
10401
|
return {};
|
|
10402
|
-
if (
|
|
10403
|
-
return
|
|
10402
|
+
if (_o)
|
|
10403
|
+
return _o(e);
|
|
10404
10404
|
n.prototype = e;
|
|
10405
10405
|
var t = new n();
|
|
10406
10406
|
return n.prototype = void 0, t;
|
|
@@ -10456,14 +10456,14 @@ var ii = function() {
|
|
|
10456
10456
|
value: Tm(e),
|
|
10457
10457
|
writable: !0
|
|
10458
10458
|
});
|
|
10459
|
-
} :
|
|
10459
|
+
} : Iu, Nm = Sm(Om);
|
|
10460
10460
|
function Cm(n, e) {
|
|
10461
10461
|
for (var t = -1, r = n == null ? 0 : n.length; ++t < r && e(n[t], t, n) !== !1; )
|
|
10462
10462
|
;
|
|
10463
10463
|
return n;
|
|
10464
10464
|
}
|
|
10465
10465
|
var Rm = 9007199254740991, Im = /^(?:0|[1-9]\d*)$/;
|
|
10466
|
-
function
|
|
10466
|
+
function Lu(n, e) {
|
|
10467
10467
|
var t = typeof n;
|
|
10468
10468
|
return e = e ?? Rm, !!e && (t == "number" || t != "symbol" && Im.test(n)) && n > -1 && n % 1 == 0 && n < e;
|
|
10469
10469
|
}
|
|
@@ -10479,7 +10479,7 @@ function As(n, e) {
|
|
|
10479
10479
|
return n === e || n !== n && e !== e;
|
|
10480
10480
|
}
|
|
10481
10481
|
var Lm = Object.prototype, km = Lm.hasOwnProperty;
|
|
10482
|
-
function
|
|
10482
|
+
function ku(n, e, t) {
|
|
10483
10483
|
var r = n[e];
|
|
10484
10484
|
(!(km.call(n, e) && As(r, t)) || t === void 0 && !(e in n)) && Za(n, e, t);
|
|
10485
10485
|
}
|
|
@@ -10488,14 +10488,14 @@ function Pm(n, e, t, r) {
|
|
|
10488
10488
|
t || (t = {});
|
|
10489
10489
|
for (var o = -1, a = e.length; ++o < a; ) {
|
|
10490
10490
|
var l = e[o], i = void 0;
|
|
10491
|
-
i === void 0 && (i = n[l]), s ? Za(t, l, i) :
|
|
10491
|
+
i === void 0 && (i = n[l]), s ? Za(t, l, i) : ku(t, l, i);
|
|
10492
10492
|
}
|
|
10493
10493
|
return t;
|
|
10494
10494
|
}
|
|
10495
|
-
var
|
|
10495
|
+
var qo = Math.max;
|
|
10496
10496
|
function Fm(n, e, t) {
|
|
10497
|
-
return e =
|
|
10498
|
-
for (var r = arguments, s = -1, o =
|
|
10497
|
+
return e = qo(e === void 0 ? n.length - 1 : e, 0), function() {
|
|
10498
|
+
for (var r = arguments, s = -1, o = qo(r.length - e, 0), a = Array(o); ++s < o; )
|
|
10499
10499
|
a[s] = r[e + s];
|
|
10500
10500
|
s = -1;
|
|
10501
10501
|
for (var l = Array(e + 1); ++s < e; )
|
|
@@ -10504,20 +10504,20 @@ function Fm(n, e, t) {
|
|
|
10504
10504
|
};
|
|
10505
10505
|
}
|
|
10506
10506
|
function Mm(n, e) {
|
|
10507
|
-
return Nm(Fm(n, e,
|
|
10507
|
+
return Nm(Fm(n, e, Iu), n + "");
|
|
10508
10508
|
}
|
|
10509
10509
|
var Bm = 9007199254740991;
|
|
10510
|
-
function
|
|
10510
|
+
function Pu(n) {
|
|
10511
10511
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Bm;
|
|
10512
10512
|
}
|
|
10513
10513
|
function bi(n) {
|
|
10514
|
-
return n != null &&
|
|
10514
|
+
return n != null && Pu(n.length) && !Ya(n);
|
|
10515
10515
|
}
|
|
10516
10516
|
function Um(n, e, t) {
|
|
10517
10517
|
if (!Gn(t))
|
|
10518
10518
|
return !1;
|
|
10519
10519
|
var r = typeof e;
|
|
10520
|
-
return (r == "number" ? bi(t) &&
|
|
10520
|
+
return (r == "number" ? bi(t) && Lu(e, t.length) : r == "string" && e in t) ? As(t[e], n) : !1;
|
|
10521
10521
|
}
|
|
10522
10522
|
function Dm(n) {
|
|
10523
10523
|
return Mm(function(e, t) {
|
|
@@ -10540,51 +10540,51 @@ function $m(n, e) {
|
|
|
10540
10540
|
return r;
|
|
10541
10541
|
}
|
|
10542
10542
|
var _m = "[object Arguments]";
|
|
10543
|
-
function
|
|
10543
|
+
function zo(n) {
|
|
10544
10544
|
return kn(n) && zr(n) == _m;
|
|
10545
10545
|
}
|
|
10546
|
-
var
|
|
10546
|
+
var Fu = Object.prototype, qm = Fu.hasOwnProperty, zm = Fu.propertyIsEnumerable, Aa = zo(/* @__PURE__ */ function() {
|
|
10547
10547
|
return arguments;
|
|
10548
|
-
}()) ?
|
|
10548
|
+
}()) ? zo : function(n) {
|
|
10549
10549
|
return kn(n) && qm.call(n, "callee") && !zm.call(n, "callee");
|
|
10550
10550
|
};
|
|
10551
10551
|
function Hm() {
|
|
10552
10552
|
return !1;
|
|
10553
10553
|
}
|
|
10554
|
-
var
|
|
10554
|
+
var Mu = typeof exports == "object" && exports && !exports.nodeType && exports, Ho = Mu && typeof module == "object" && module && !module.nodeType && module, Vm = Ho && Ho.exports === Mu, Vo = Vm ? En.Buffer : void 0, Gm = Vo ? Vo.isBuffer : void 0, us = Gm || Hm, Wm = "[object Arguments]", Km = "[object Array]", Xm = "[object Boolean]", Ym = "[object Date]", Zm = "[object Error]", Qm = "[object Function]", Jm = "[object Map]", e0 = "[object Number]", t0 = "[object Object]", n0 = "[object RegExp]", r0 = "[object Set]", s0 = "[object String]", i0 = "[object WeakMap]", a0 = "[object ArrayBuffer]", o0 = "[object DataView]", l0 = "[object Float32Array]", u0 = "[object Float64Array]", c0 = "[object Int8Array]", f0 = "[object Int16Array]", d0 = "[object Int32Array]", h0 = "[object Uint8Array]", p0 = "[object Uint8ClampedArray]", g0 = "[object Uint16Array]", v0 = "[object Uint32Array]", ot = {};
|
|
10555
10555
|
ot[l0] = ot[u0] = ot[c0] = ot[f0] = ot[d0] = ot[h0] = ot[p0] = ot[g0] = ot[v0] = !0;
|
|
10556
10556
|
ot[Wm] = ot[Km] = ot[a0] = ot[Xm] = ot[o0] = ot[Ym] = ot[Zm] = ot[Qm] = ot[Jm] = ot[e0] = ot[t0] = ot[n0] = ot[r0] = ot[s0] = ot[i0] = !1;
|
|
10557
10557
|
function m0(n) {
|
|
10558
|
-
return kn(n) &&
|
|
10558
|
+
return kn(n) && Pu(n.length) && !!ot[zr(n)];
|
|
10559
10559
|
}
|
|
10560
10560
|
function Ja(n) {
|
|
10561
10561
|
return function(e) {
|
|
10562
10562
|
return n(e);
|
|
10563
10563
|
};
|
|
10564
10564
|
}
|
|
10565
|
-
var
|
|
10565
|
+
var Bu = typeof exports == "object" && exports && !exports.nodeType && exports, ss = Bu && typeof module == "object" && module && !module.nodeType && module, y0 = ss && ss.exports === Bu, Yi = y0 && Cu.process, Mr = function() {
|
|
10566
10566
|
try {
|
|
10567
10567
|
var n = ss && ss.require && ss.require("util").types;
|
|
10568
10568
|
return n || Yi && Yi.binding && Yi.binding("util");
|
|
10569
10569
|
} catch {
|
|
10570
10570
|
}
|
|
10571
|
-
}(),
|
|
10572
|
-
function
|
|
10571
|
+
}(), Go = Mr && Mr.isTypedArray, eo = Go ? Ja(Go) : m0, b0 = Object.prototype, x0 = b0.hasOwnProperty;
|
|
10572
|
+
function Uu(n, e) {
|
|
10573
10573
|
var t = nr(n), r = !t && Aa(n), s = !t && !r && us(n), o = !t && !r && !s && eo(n), a = t || r || s || o, l = a ? $m(n.length, String) : [], i = l.length;
|
|
10574
10574
|
for (var u in n)
|
|
10575
10575
|
(e || x0.call(n, u)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
10576
10576
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
10577
10577
|
s && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
10578
10578
|
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
10579
|
-
|
|
10579
|
+
Lu(u, i))) && l.push(u);
|
|
10580
10580
|
return l;
|
|
10581
10581
|
}
|
|
10582
|
-
function
|
|
10582
|
+
function Du(n, e) {
|
|
10583
10583
|
return function(t) {
|
|
10584
10584
|
return n(e(t));
|
|
10585
10585
|
};
|
|
10586
10586
|
}
|
|
10587
|
-
var A0 =
|
|
10587
|
+
var A0 = Du(Object.keys, Object), w0 = Object.prototype, E0 = w0.hasOwnProperty;
|
|
10588
10588
|
function S0(n) {
|
|
10589
10589
|
if (!Qa(n))
|
|
10590
10590
|
return A0(n);
|
|
@@ -10594,7 +10594,7 @@ function S0(n) {
|
|
|
10594
10594
|
return e;
|
|
10595
10595
|
}
|
|
10596
10596
|
function T0(n) {
|
|
10597
|
-
return bi(n) ?
|
|
10597
|
+
return bi(n) ? Uu(n) : S0(n);
|
|
10598
10598
|
}
|
|
10599
10599
|
function O0(n) {
|
|
10600
10600
|
var e = [];
|
|
@@ -10612,8 +10612,8 @@ function R0(n) {
|
|
|
10612
10612
|
r == "constructor" && (e || !C0.call(n, r)) || t.push(r);
|
|
10613
10613
|
return t;
|
|
10614
10614
|
}
|
|
10615
|
-
function
|
|
10616
|
-
return bi(n) ?
|
|
10615
|
+
function ju(n) {
|
|
10616
|
+
return bi(n) ? Uu(n, !0) : R0(n);
|
|
10617
10617
|
}
|
|
10618
10618
|
var cs = lr(Object, "create");
|
|
10619
10619
|
function I0() {
|
|
@@ -10741,15 +10741,15 @@ function e1(n, e) {
|
|
|
10741
10741
|
n[s + t] = e[t];
|
|
10742
10742
|
return n;
|
|
10743
10743
|
}
|
|
10744
|
-
var
|
|
10744
|
+
var $u = Du(Object.getPrototypeOf, Object), t1 = "[object Object]", n1 = Function.prototype, r1 = Object.prototype, _u = n1.toString, s1 = r1.hasOwnProperty, i1 = _u.call(Object);
|
|
10745
10745
|
function a1(n) {
|
|
10746
10746
|
if (!kn(n) || zr(n) != t1)
|
|
10747
10747
|
return !1;
|
|
10748
|
-
var e =
|
|
10748
|
+
var e = $u(n);
|
|
10749
10749
|
if (e === null)
|
|
10750
10750
|
return !0;
|
|
10751
10751
|
var t = s1.call(e, "constructor") && e.constructor;
|
|
10752
|
-
return typeof t == "function" && t instanceof t &&
|
|
10752
|
+
return typeof t == "function" && t instanceof t && _u.call(t) == i1;
|
|
10753
10753
|
}
|
|
10754
10754
|
function o1() {
|
|
10755
10755
|
this.__data__ = new Mn(), this.size = 0;
|
|
@@ -10784,11 +10784,11 @@ bn.prototype.delete = l1;
|
|
|
10784
10784
|
bn.prototype.get = u1;
|
|
10785
10785
|
bn.prototype.has = c1;
|
|
10786
10786
|
bn.prototype.set = d1;
|
|
10787
|
-
var
|
|
10788
|
-
function
|
|
10787
|
+
var qu = typeof exports == "object" && exports && !exports.nodeType && exports, Wo = qu && typeof module == "object" && module && !module.nodeType && module, h1 = Wo && Wo.exports === qu, Ko = h1 ? En.Buffer : void 0, Xo = Ko ? Ko.allocUnsafe : void 0;
|
|
10788
|
+
function zu(n, e) {
|
|
10789
10789
|
if (e)
|
|
10790
10790
|
return n.slice();
|
|
10791
|
-
var t = n.length, r =
|
|
10791
|
+
var t = n.length, r = Xo ? Xo(t) : new n.constructor(t);
|
|
10792
10792
|
return n.copy(r), r;
|
|
10793
10793
|
}
|
|
10794
10794
|
function p1(n, e) {
|
|
@@ -10801,8 +10801,8 @@ function p1(n, e) {
|
|
|
10801
10801
|
function g1() {
|
|
10802
10802
|
return [];
|
|
10803
10803
|
}
|
|
10804
|
-
var v1 = Object.prototype, m1 = v1.propertyIsEnumerable,
|
|
10805
|
-
return n == null ? [] : (n = Object(n), p1(
|
|
10804
|
+
var v1 = Object.prototype, m1 = v1.propertyIsEnumerable, Yo = Object.getOwnPropertySymbols, y1 = Yo ? function(n) {
|
|
10805
|
+
return n == null ? [] : (n = Object(n), p1(Yo(n), function(e) {
|
|
10806
10806
|
return m1.call(n, e);
|
|
10807
10807
|
}));
|
|
10808
10808
|
} : g1;
|
|
@@ -10813,21 +10813,21 @@ function b1(n, e, t) {
|
|
|
10813
10813
|
function wa(n) {
|
|
10814
10814
|
return b1(n, T0, y1);
|
|
10815
10815
|
}
|
|
10816
|
-
var Ea = lr(En, "DataView"), Sa = lr(En, "Promise"), Ta = lr(En, "Set"),
|
|
10817
|
-
(Ea && an(new Ea(new ArrayBuffer(1))) !=
|
|
10816
|
+
var Ea = lr(En, "DataView"), Sa = lr(En, "Promise"), Ta = lr(En, "Set"), Zo = "[object Map]", x1 = "[object Object]", Qo = "[object Promise]", Jo = "[object Set]", el = "[object WeakMap]", tl = "[object DataView]", A1 = or(Ea), w1 = or(fs), E1 = or(Sa), S1 = or(Ta), T1 = or(xa), an = zr;
|
|
10817
|
+
(Ea && an(new Ea(new ArrayBuffer(1))) != tl || fs && an(new fs()) != Zo || Sa && an(Sa.resolve()) != Qo || Ta && an(new Ta()) != Jo || xa && an(new xa()) != el) && (an = function(n) {
|
|
10818
10818
|
var e = zr(n), t = e == x1 ? n.constructor : void 0, r = t ? or(t) : "";
|
|
10819
10819
|
if (r)
|
|
10820
10820
|
switch (r) {
|
|
10821
10821
|
case A1:
|
|
10822
|
-
return
|
|
10822
|
+
return tl;
|
|
10823
10823
|
case w1:
|
|
10824
|
-
return
|
|
10824
|
+
return Zo;
|
|
10825
10825
|
case E1:
|
|
10826
|
-
return
|
|
10826
|
+
return Qo;
|
|
10827
10827
|
case S1:
|
|
10828
|
-
return
|
|
10828
|
+
return Jo;
|
|
10829
10829
|
case T1:
|
|
10830
|
-
return
|
|
10830
|
+
return el;
|
|
10831
10831
|
}
|
|
10832
10832
|
return e;
|
|
10833
10833
|
});
|
|
@@ -10850,11 +10850,11 @@ function L1(n) {
|
|
|
10850
10850
|
var e = new n.constructor(n.source, I1.exec(n));
|
|
10851
10851
|
return e.lastIndex = n.lastIndex, e;
|
|
10852
10852
|
}
|
|
10853
|
-
var
|
|
10853
|
+
var nl = Vn ? Vn.prototype : void 0, rl = nl ? nl.valueOf : void 0;
|
|
10854
10854
|
function k1(n) {
|
|
10855
|
-
return
|
|
10855
|
+
return rl ? Object(rl.call(n)) : {};
|
|
10856
10856
|
}
|
|
10857
|
-
function
|
|
10857
|
+
function Hu(n, e) {
|
|
10858
10858
|
var t = e ? to(n.buffer) : n.buffer;
|
|
10859
10859
|
return new n.constructor(t, n.byteOffset, n.length);
|
|
10860
10860
|
}
|
|
@@ -10878,7 +10878,7 @@ function Q1(n, e, t) {
|
|
|
10878
10878
|
case X1:
|
|
10879
10879
|
case Y1:
|
|
10880
10880
|
case Z1:
|
|
10881
|
-
return
|
|
10881
|
+
return Hu(n, t);
|
|
10882
10882
|
case M1:
|
|
10883
10883
|
return new r();
|
|
10884
10884
|
case B1:
|
|
@@ -10892,20 +10892,20 @@ function Q1(n, e, t) {
|
|
|
10892
10892
|
return k1(n);
|
|
10893
10893
|
}
|
|
10894
10894
|
}
|
|
10895
|
-
function
|
|
10896
|
-
return typeof n.constructor == "function" && !Qa(n) ? ym(
|
|
10895
|
+
function Vu(n) {
|
|
10896
|
+
return typeof n.constructor == "function" && !Qa(n) ? ym($u(n)) : {};
|
|
10897
10897
|
}
|
|
10898
10898
|
var J1 = "[object Map]";
|
|
10899
10899
|
function ey(n) {
|
|
10900
10900
|
return kn(n) && an(n) == J1;
|
|
10901
10901
|
}
|
|
10902
|
-
var
|
|
10902
|
+
var sl = Mr && Mr.isMap, ty = sl ? Ja(sl) : ey, ny = "[object Set]";
|
|
10903
10903
|
function ry(n) {
|
|
10904
10904
|
return kn(n) && an(n) == ny;
|
|
10905
10905
|
}
|
|
10906
|
-
var
|
|
10907
|
-
at[
|
|
10908
|
-
at[uy] = at[
|
|
10906
|
+
var il = Mr && Mr.isSet, sy = il ? Ja(il) : ry, iy = 1, Gu = "[object Arguments]", ay = "[object Array]", oy = "[object Boolean]", ly = "[object Date]", uy = "[object Error]", Wu = "[object Function]", cy = "[object GeneratorFunction]", fy = "[object Map]", dy = "[object Number]", Ku = "[object Object]", hy = "[object RegExp]", py = "[object Set]", gy = "[object String]", vy = "[object Symbol]", my = "[object WeakMap]", yy = "[object ArrayBuffer]", by = "[object DataView]", xy = "[object Float32Array]", Ay = "[object Float64Array]", wy = "[object Int8Array]", Ey = "[object Int16Array]", Sy = "[object Int32Array]", Ty = "[object Uint8Array]", Oy = "[object Uint8ClampedArray]", Ny = "[object Uint16Array]", Cy = "[object Uint32Array]", at = {};
|
|
10907
|
+
at[Gu] = at[ay] = at[yy] = at[by] = at[oy] = at[ly] = at[xy] = at[Ay] = at[wy] = at[Ey] = at[Sy] = at[fy] = at[dy] = at[Ku] = at[hy] = at[py] = at[gy] = at[vy] = at[Ty] = at[Oy] = at[Ny] = at[Cy] = !0;
|
|
10908
|
+
at[uy] = at[Wu] = at[my] = !1;
|
|
10909
10909
|
function Qs(n, e, t, r, s, o) {
|
|
10910
10910
|
var a, l = e & iy;
|
|
10911
10911
|
if (a !== void 0)
|
|
@@ -10916,11 +10916,11 @@ function Qs(n, e, t, r, s, o) {
|
|
|
10916
10916
|
if (i)
|
|
10917
10917
|
a = C1(n);
|
|
10918
10918
|
else {
|
|
10919
|
-
var u = an(n), c = u ==
|
|
10919
|
+
var u = an(n), c = u == Wu || u == cy;
|
|
10920
10920
|
if (us(n))
|
|
10921
|
-
return
|
|
10922
|
-
if (u ==
|
|
10923
|
-
a = c ? {} :
|
|
10921
|
+
return zu(n, l);
|
|
10922
|
+
if (u == Ku || u == Gu || c && !s)
|
|
10923
|
+
a = c ? {} : Vu(n);
|
|
10924
10924
|
else {
|
|
10925
10925
|
if (!at[u])
|
|
10926
10926
|
return s ? n : {};
|
|
@@ -10938,7 +10938,7 @@ function Qs(n, e, t, r, s, o) {
|
|
|
10938
10938
|
});
|
|
10939
10939
|
var f = wa, g = i ? void 0 : f(n);
|
|
10940
10940
|
return Cm(g || n, function(h, v) {
|
|
10941
|
-
g && (v = h, h = n[v]),
|
|
10941
|
+
g && (v = h, h = n[v]), ku(a, v, Qs(h, e, t, v, n, o));
|
|
10942
10942
|
}), a;
|
|
10943
10943
|
}
|
|
10944
10944
|
var Ry = 1, Iy = 4;
|
|
@@ -10969,7 +10969,7 @@ function My(n, e) {
|
|
|
10969
10969
|
return n.has(e);
|
|
10970
10970
|
}
|
|
10971
10971
|
var By = 1, Uy = 2;
|
|
10972
|
-
function
|
|
10972
|
+
function Xu(n, e, t, r, s, o) {
|
|
10973
10973
|
var a = t & By, l = n.length, i = e.length;
|
|
10974
10974
|
if (l != i && !(a && i > l))
|
|
10975
10975
|
return !1;
|
|
@@ -11014,7 +11014,7 @@ function jy(n) {
|
|
|
11014
11014
|
t[++e] = r;
|
|
11015
11015
|
}), t;
|
|
11016
11016
|
}
|
|
11017
|
-
var $y = 1, _y = 2, qy = "[object Boolean]", zy = "[object Date]", Hy = "[object Error]", Vy = "[object Map]", Gy = "[object Number]", Wy = "[object RegExp]", Ky = "[object Set]", Xy = "[object String]", Yy = "[object Symbol]", Zy = "[object ArrayBuffer]", Qy = "[object DataView]",
|
|
11017
|
+
var $y = 1, _y = 2, qy = "[object Boolean]", zy = "[object Date]", Hy = "[object Error]", Vy = "[object Map]", Gy = "[object Number]", Wy = "[object RegExp]", Ky = "[object Set]", Xy = "[object String]", Yy = "[object Symbol]", Zy = "[object ArrayBuffer]", Qy = "[object DataView]", al = Vn ? Vn.prototype : void 0, Zi = al ? al.valueOf : void 0;
|
|
11018
11018
|
function Jy(n, e, t, r, s, o, a) {
|
|
11019
11019
|
switch (t) {
|
|
11020
11020
|
case Qy:
|
|
@@ -11042,7 +11042,7 @@ function Jy(n, e, t, r, s, o, a) {
|
|
|
11042
11042
|
if (u)
|
|
11043
11043
|
return u == e;
|
|
11044
11044
|
r |= _y, a.set(n, e);
|
|
11045
|
-
var c =
|
|
11045
|
+
var c = Xu(l(n), l(e), r, s, o, a);
|
|
11046
11046
|
return a.delete(n), c;
|
|
11047
11047
|
case Yy:
|
|
11048
11048
|
if (Zi)
|
|
@@ -11082,10 +11082,10 @@ function rb(n, e, t, r, s, o) {
|
|
|
11082
11082
|
}
|
|
11083
11083
|
return o.delete(n), o.delete(e), v;
|
|
11084
11084
|
}
|
|
11085
|
-
var sb = 1,
|
|
11085
|
+
var sb = 1, ol = "[object Arguments]", ll = "[object Array]", Ds = "[object Object]", ib = Object.prototype, ul = ib.hasOwnProperty;
|
|
11086
11086
|
function ab(n, e, t, r, s, o) {
|
|
11087
|
-
var a = nr(n), l = nr(e), i = a ?
|
|
11088
|
-
i = i ==
|
|
11087
|
+
var a = nr(n), l = nr(e), i = a ? ll : an(n), u = l ? ll : an(e);
|
|
11088
|
+
i = i == ol ? Ds : i, u = u == ol ? Ds : u;
|
|
11089
11089
|
var c = i == Ds, d = u == Ds, f = i == u;
|
|
11090
11090
|
if (f && us(n)) {
|
|
11091
11091
|
if (!us(e))
|
|
@@ -11093,9 +11093,9 @@ function ab(n, e, t, r, s, o) {
|
|
|
11093
11093
|
a = !0, c = !1;
|
|
11094
11094
|
}
|
|
11095
11095
|
if (f && !c)
|
|
11096
|
-
return o || (o = new bn()), a || eo(n) ?
|
|
11096
|
+
return o || (o = new bn()), a || eo(n) ? Xu(n, e, t, r, s, o) : Jy(n, e, i, t, r, s, o);
|
|
11097
11097
|
if (!(t & sb)) {
|
|
11098
|
-
var g = c &&
|
|
11098
|
+
var g = c && ul.call(n, "__wrapped__"), h = d && ul.call(e, "__wrapped__");
|
|
11099
11099
|
if (g || h) {
|
|
11100
11100
|
var v = g ? n.value() : n, y = h ? e.value() : e;
|
|
11101
11101
|
return o || (o = new bn()), s(v, y, t, r, o);
|
|
@@ -11103,8 +11103,8 @@ function ab(n, e, t, r, s, o) {
|
|
|
11103
11103
|
}
|
|
11104
11104
|
return f ? (o || (o = new bn()), rb(n, e, t, r, s, o)) : !1;
|
|
11105
11105
|
}
|
|
11106
|
-
function
|
|
11107
|
-
return n === e ? !0 : n == null || e == null || !kn(n) && !kn(e) ? n !== n && e !== e : ab(n, e, t, r,
|
|
11106
|
+
function Yu(n, e, t, r, s) {
|
|
11107
|
+
return n === e ? !0 : n == null || e == null || !kn(n) && !kn(e) ? n !== n && e !== e : ab(n, e, t, r, Yu, s);
|
|
11108
11108
|
}
|
|
11109
11109
|
function ob(n) {
|
|
11110
11110
|
return function(e, t, r) {
|
|
@@ -11128,7 +11128,7 @@ function Na(n, e) {
|
|
|
11128
11128
|
return n[e];
|
|
11129
11129
|
}
|
|
11130
11130
|
function cb(n) {
|
|
11131
|
-
return Pm(n,
|
|
11131
|
+
return Pm(n, ju(n));
|
|
11132
11132
|
}
|
|
11133
11133
|
function fb(n, e, t, r, s, o, a) {
|
|
11134
11134
|
var l = Na(n, t), i = Na(e, t), u = a.get(i);
|
|
@@ -11139,25 +11139,25 @@ function fb(n, e, t, r, s, o, a) {
|
|
|
11139
11139
|
var c = o ? o(l, i, t + "", n, e, a) : void 0, d = c === void 0;
|
|
11140
11140
|
if (d) {
|
|
11141
11141
|
var f = nr(i), g = !f && us(i), h = !f && !g && eo(i);
|
|
11142
|
-
c = i, f || g || h ? nr(l) ? c = l : ub(l) ? c = xm(l) : g ? (d = !1, c =
|
|
11142
|
+
c = i, f || g || h ? nr(l) ? c = l : ub(l) ? c = xm(l) : g ? (d = !1, c = zu(i, !0)) : h ? (d = !1, c = Hu(i, !0)) : c = [] : a1(i) || Aa(i) ? (c = l, Aa(l) ? c = cb(l) : (!Gn(l) || Ya(l)) && (c = Vu(i))) : d = !1;
|
|
11143
11143
|
}
|
|
11144
11144
|
d && (a.set(i, c), s(c, i, r, o, a), a.delete(i)), Oa(n, t, c);
|
|
11145
11145
|
}
|
|
11146
|
-
function
|
|
11146
|
+
function Zu(n, e, t, r, s) {
|
|
11147
11147
|
n !== e && lb(e, function(o, a) {
|
|
11148
11148
|
if (s || (s = new bn()), Gn(o))
|
|
11149
|
-
fb(n, e, a, t,
|
|
11149
|
+
fb(n, e, a, t, Zu, r, s);
|
|
11150
11150
|
else {
|
|
11151
11151
|
var l = r ? r(Na(n, a), o, a + "", n, e, s) : void 0;
|
|
11152
11152
|
l === void 0 && (l = o), Oa(n, a, l);
|
|
11153
11153
|
}
|
|
11154
|
-
},
|
|
11154
|
+
}, ju);
|
|
11155
11155
|
}
|
|
11156
11156
|
function no(n, e) {
|
|
11157
|
-
return
|
|
11157
|
+
return Yu(n, e);
|
|
11158
11158
|
}
|
|
11159
11159
|
var Hn = Dm(function(n, e, t) {
|
|
11160
|
-
|
|
11160
|
+
Zu(n, e, t);
|
|
11161
11161
|
}), Re = /* @__PURE__ */ ((n) => (n[n.TYPE = 3] = "TYPE", n[n.LEVEL = 12] = "LEVEL", n[n.ATTRIBUTE = 13] = "ATTRIBUTE", n[n.BLOT = 14] = "BLOT", n[n.INLINE = 7] = "INLINE", n[n.BLOCK = 11] = "BLOCK", n[n.BLOCK_BLOT = 10] = "BLOCK_BLOT", n[n.INLINE_BLOT = 6] = "INLINE_BLOT", n[n.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", n[n.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", n[n.ANY = 15] = "ANY", n))(Re || {});
|
|
11162
11162
|
class An {
|
|
11163
11163
|
constructor(e, t, r = {}) {
|
|
@@ -11190,7 +11190,7 @@ class Lr extends Error {
|
|
|
11190
11190
|
e = "[Parchment] " + e, super(e), this.message = e, this.name = this.constructor.name;
|
|
11191
11191
|
}
|
|
11192
11192
|
}
|
|
11193
|
-
const
|
|
11193
|
+
const Qu = class Ca {
|
|
11194
11194
|
constructor() {
|
|
11195
11195
|
this.attributes = {}, this.classes = {}, this.tags = {}, this.types = {};
|
|
11196
11196
|
}
|
|
@@ -11241,9 +11241,9 @@ const Ju = class Ca {
|
|
|
11241
11241
|
});
|
|
11242
11242
|
}
|
|
11243
11243
|
};
|
|
11244
|
-
|
|
11245
|
-
let Br =
|
|
11246
|
-
function
|
|
11244
|
+
Qu.blots = /* @__PURE__ */ new WeakMap();
|
|
11245
|
+
let Br = Qu;
|
|
11246
|
+
function cl(n, e) {
|
|
11247
11247
|
return (n.getAttribute("class") || "").split(/\s+/).filter((t) => t.indexOf(`${e}-`) === 0);
|
|
11248
11248
|
}
|
|
11249
11249
|
class db extends An {
|
|
@@ -11254,12 +11254,12 @@ class db extends An {
|
|
|
11254
11254
|
return this.canAdd(e, t) ? (this.remove(e), e.classList.add(`${this.keyName}-${t}`), !0) : !1;
|
|
11255
11255
|
}
|
|
11256
11256
|
remove(e) {
|
|
11257
|
-
|
|
11257
|
+
cl(e, this.keyName).forEach((t) => {
|
|
11258
11258
|
e.classList.remove(t);
|
|
11259
11259
|
}), e.classList.length === 0 && e.removeAttribute("class");
|
|
11260
11260
|
}
|
|
11261
11261
|
value(e) {
|
|
11262
|
-
const t = (
|
|
11262
|
+
const t = (cl(e, this.keyName)[0] || "").slice(this.keyName.length + 1);
|
|
11263
11263
|
return this.canAdd(e, t) ? t : "";
|
|
11264
11264
|
}
|
|
11265
11265
|
}
|
|
@@ -11320,7 +11320,7 @@ class pb {
|
|
|
11320
11320
|
);
|
|
11321
11321
|
}
|
|
11322
11322
|
}
|
|
11323
|
-
const wi = pb,
|
|
11323
|
+
const wi = pb, Ju = class {
|
|
11324
11324
|
constructor(e, t) {
|
|
11325
11325
|
this.scroll = e, this.domNode = t, Br.blots.set(t, this), this.prev = null, this.next = null;
|
|
11326
11326
|
}
|
|
@@ -11393,9 +11393,9 @@ const wi = pb, ec = class {
|
|
|
11393
11393
|
return r.appendChild(this), r;
|
|
11394
11394
|
}
|
|
11395
11395
|
};
|
|
11396
|
-
|
|
11397
|
-
let
|
|
11398
|
-
const
|
|
11396
|
+
Ju.blotName = "abstract";
|
|
11397
|
+
let ec = Ju;
|
|
11398
|
+
const tc = class extends ec {
|
|
11399
11399
|
/**
|
|
11400
11400
|
* Returns the value represented by domNode if it is this Blot's type
|
|
11401
11401
|
* No checking that domNode can represent this Blot type is required so
|
|
@@ -11430,8 +11430,8 @@ const nc = class extends tc {
|
|
|
11430
11430
|
};
|
|
11431
11431
|
}
|
|
11432
11432
|
};
|
|
11433
|
-
|
|
11434
|
-
let gb =
|
|
11433
|
+
tc.scope = Re.INLINE_BLOT;
|
|
11434
|
+
let gb = tc;
|
|
11435
11435
|
const Bt = gb;
|
|
11436
11436
|
class vb {
|
|
11437
11437
|
constructor() {
|
|
@@ -11535,7 +11535,7 @@ class vb {
|
|
|
11535
11535
|
return t;
|
|
11536
11536
|
}
|
|
11537
11537
|
}
|
|
11538
|
-
function
|
|
11538
|
+
function fl(n, e) {
|
|
11539
11539
|
const t = e.find(n);
|
|
11540
11540
|
if (t)
|
|
11541
11541
|
return t;
|
|
@@ -11548,7 +11548,7 @@ function dl(n, e) {
|
|
|
11548
11548
|
}), n.parentNode && n.parentNode.replaceChild(r.domNode, n), r.attach(), r;
|
|
11549
11549
|
}
|
|
11550
11550
|
}
|
|
11551
|
-
const
|
|
11551
|
+
const nc = class $n extends ec {
|
|
11552
11552
|
constructor(e, t) {
|
|
11553
11553
|
super(e, t), this.uiNode = null, this.build();
|
|
11554
11554
|
}
|
|
@@ -11569,7 +11569,7 @@ const rc = class $n extends tc {
|
|
|
11569
11569
|
build() {
|
|
11570
11570
|
this.children = new vb(), Array.from(this.domNode.childNodes).filter((e) => e !== this.uiNode).reverse().forEach((e) => {
|
|
11571
11571
|
try {
|
|
11572
|
-
const t =
|
|
11572
|
+
const t = fl(e, this.scroll);
|
|
11573
11573
|
this.insertBefore(t, this.children.head || void 0);
|
|
11574
11574
|
} catch (t) {
|
|
11575
11575
|
if (t instanceof Lr)
|
|
@@ -11695,13 +11695,13 @@ const rc = class $n extends tc {
|
|
|
11695
11695
|
}), r.filter((o) => o.parentNode === this.domNode && o !== this.uiNode).sort((o, a) => o === a ? 0 : o.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_FOLLOWING ? 1 : -1).forEach((o) => {
|
|
11696
11696
|
let a = null;
|
|
11697
11697
|
o.nextSibling != null && (a = this.scroll.find(o.nextSibling));
|
|
11698
|
-
const l =
|
|
11698
|
+
const l = fl(o, this.scroll);
|
|
11699
11699
|
(l.next !== a || l.next == null) && (l.parent != null && l.parent.removeChild(this), this.insertBefore(l, a || void 0));
|
|
11700
11700
|
}), this.enforceAllowedChildren();
|
|
11701
11701
|
}
|
|
11702
11702
|
};
|
|
11703
|
-
|
|
11704
|
-
let mb =
|
|
11703
|
+
nc.uiClass = "";
|
|
11704
|
+
let mb = nc;
|
|
11705
11705
|
const ln = mb;
|
|
11706
11706
|
function yb(n, e) {
|
|
11707
11707
|
if (Object.keys(n).length !== Object.keys(e).length)
|
|
@@ -11940,7 +11940,7 @@ const Gt = wb, Eb = {
|
|
|
11940
11940
|
};
|
|
11941
11941
|
Nr.blotName = "scroll", Nr.defaultChild = ds, Nr.allowedChildren = [ds, Ei], Nr.scope = Re.BLOCK_BLOT, Nr.tagName = "DIV";
|
|
11942
11942
|
let Tb = Nr;
|
|
11943
|
-
const so = Tb, La = class
|
|
11943
|
+
const so = Tb, La = class rc extends Bt {
|
|
11944
11944
|
static create(e) {
|
|
11945
11945
|
return document.createTextNode(e);
|
|
11946
11946
|
}
|
|
@@ -11963,7 +11963,7 @@ const so = Tb, La = class sc extends Bt {
|
|
|
11963
11963
|
return this.text.length;
|
|
11964
11964
|
}
|
|
11965
11965
|
optimize(e) {
|
|
11966
|
-
super.optimize(e), this.text = this.statics.value(this.domNode), this.text.length === 0 ? this.remove() : this.next instanceof
|
|
11966
|
+
super.optimize(e), this.text = this.statics.value(this.domNode), this.text.length === 0 ? this.remove() : this.next instanceof rc && this.next.prev === this && (this.insertAt(this.length(), this.next.value()), this.next.remove());
|
|
11967
11967
|
}
|
|
11968
11968
|
position(e, t = !1) {
|
|
11969
11969
|
return [this.domNode, e];
|
|
@@ -12004,10 +12004,10 @@ const li = Ob, Nb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
12004
12004
|
StyleAttributor: Wn,
|
|
12005
12005
|
TextBlot: li
|
|
12006
12006
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12007
|
-
var js = { exports: {} }, Ji,
|
|
12007
|
+
var js = { exports: {} }, Ji, dl;
|
|
12008
12008
|
function Cb() {
|
|
12009
|
-
if (
|
|
12010
|
-
|
|
12009
|
+
if (dl) return Ji;
|
|
12010
|
+
dl = 1;
|
|
12011
12011
|
var n = -1, e = 1, t = 0;
|
|
12012
12012
|
function r(x, P, O, _, D) {
|
|
12013
12013
|
if (x === P)
|
|
@@ -12369,9 +12369,9 @@ function Cb() {
|
|
|
12369
12369
|
}
|
|
12370
12370
|
var Jr = { exports: {} };
|
|
12371
12371
|
Jr.exports;
|
|
12372
|
-
var
|
|
12373
|
-
function
|
|
12374
|
-
return
|
|
12372
|
+
var hl;
|
|
12373
|
+
function sc() {
|
|
12374
|
+
return hl || (hl = 1, function(n, e) {
|
|
12375
12375
|
var t = 200, r = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", a = "[object Array]", l = "[object Boolean]", i = "[object Date]", u = "[object Error]", c = "[object Function]", d = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", h = "[object Object]", v = "[object Promise]", y = "[object RegExp]", E = "[object Set]", S = "[object String]", C = "[object Symbol]", F = "[object WeakMap]", M = "[object ArrayBuffer]", z = "[object DataView]", X = "[object Float32Array]", V = "[object Float64Array]", se = "[object Int8Array]", G = "[object Int16Array]", x = "[object Int32Array]", P = "[object Uint8Array]", O = "[object Uint8ClampedArray]", _ = "[object Uint16Array]", D = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, K = /\w*$/, q = /^\[object .+?Constructor\]$/, J = /^(?:0|[1-9]\d*)$/, ee = {};
|
|
12376
12376
|
ee[o] = ee[a] = ee[M] = ee[z] = ee[l] = ee[i] = ee[X] = ee[V] = ee[se] = ee[G] = ee[x] = ee[f] = ee[g] = ee[h] = ee[y] = ee[E] = ee[S] = ee[C] = ee[P] = ee[O] = ee[_] = ee[D] = !0, ee[u] = ee[c] = ee[F] = !1;
|
|
12377
12377
|
var me = typeof _n == "object" && _n && _n.Object === Object && _n, ye = typeof self == "object" && self && self.Object === Object && self, be = me || ye || Function("return this")(), we = e && !e.nodeType && e, ge = we && !0 && n && !n.nodeType && n, Ce = ge && ge.exports === we;
|
|
@@ -12435,7 +12435,7 @@ function ic() {
|
|
|
12435
12435
|
return p ? "Symbol(src)_1." + p : "";
|
|
12436
12436
|
}(), oe = Z.toString, pe = Y.hasOwnProperty, Se = Y.toString, Ve = RegExp(
|
|
12437
12437
|
"^" + oe.call(pe).replace(j, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
12438
|
-
), et = Ce ? be.Buffer : void 0, We = be.Symbol, je = be.Uint8Array, Ke = U(Object.getPrototypeOf, Object), ct = Object.create, pt = Y.propertyIsEnumerable, Wt = W.splice, It = Object.getOwnPropertySymbols, Qe = et ? et.isBuffer : void 0, $e = U(Object.keys, Object), tt = nn(be, "DataView"), ve = nn(be, "Map"), Ae = nn(be, "Promise"), Ie = nn(be, "Set"), Fe = nn(be, "WeakMap"), ke = nn(Object, "create"), Xe = Dt(tt), nt = Dt(ve),
|
|
12438
|
+
), et = Ce ? be.Buffer : void 0, We = be.Symbol, je = be.Uint8Array, Ke = U(Object.getPrototypeOf, Object), ct = Object.create, pt = Y.propertyIsEnumerable, Wt = W.splice, It = Object.getOwnPropertySymbols, Qe = et ? et.isBuffer : void 0, $e = U(Object.keys, Object), tt = nn(be, "DataView"), ve = nn(be, "Map"), Ae = nn(be, "Promise"), Ie = nn(be, "Set"), Fe = nn(be, "WeakMap"), ke = nn(Object, "create"), Xe = Dt(tt), nt = Dt(ve), lt = Dt(Ae), Et = Dt(Ie), St = Dt(Fe), zt = We ? We.prototype : void 0, Kt = zt ? zt.valueOf : void 0;
|
|
12439
12439
|
function mt(p) {
|
|
12440
12440
|
var w = -1, B = p ? p.length : 0;
|
|
12441
12441
|
for (this.clear(); ++w < B; ) {
|
|
@@ -12696,7 +12696,7 @@ function ic() {
|
|
|
12696
12696
|
return z;
|
|
12697
12697
|
case nt:
|
|
12698
12698
|
return f;
|
|
12699
|
-
case
|
|
12699
|
+
case lt:
|
|
12700
12700
|
return v;
|
|
12701
12701
|
case Et:
|
|
12702
12702
|
return E;
|
|
@@ -12817,9 +12817,9 @@ function ic() {
|
|
|
12817
12817
|
}
|
|
12818
12818
|
var es = { exports: {} };
|
|
12819
12819
|
es.exports;
|
|
12820
|
-
var
|
|
12821
|
-
function
|
|
12822
|
-
return
|
|
12820
|
+
var pl;
|
|
12821
|
+
function ic() {
|
|
12822
|
+
return pl || (pl = 1, function(n, e) {
|
|
12823
12823
|
var t = 200, r = "__lodash_hash_undefined__", s = 1, o = 2, a = 9007199254740991, l = "[object Arguments]", i = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", g = "[object Function]", h = "[object GeneratorFunction]", v = "[object Map]", y = "[object Number]", E = "[object Null]", S = "[object Object]", C = "[object Promise]", F = "[object Proxy]", M = "[object RegExp]", z = "[object Set]", X = "[object String]", V = "[object Symbol]", se = "[object Undefined]", G = "[object WeakMap]", x = "[object ArrayBuffer]", P = "[object DataView]", O = "[object Float32Array]", _ = "[object Float64Array]", D = "[object Int8Array]", j = "[object Int16Array]", K = "[object Int32Array]", q = "[object Uint8Array]", J = "[object Uint8ClampedArray]", ee = "[object Uint16Array]", me = "[object Uint32Array]", ye = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, we = /^(?:0|[1-9]\d*)$/, ge = {};
|
|
12824
12824
|
ge[O] = ge[_] = ge[D] = ge[j] = ge[K] = ge[q] = ge[J] = ge[ee] = ge[me] = !0, ge[l] = ge[i] = ge[x] = ge[c] = ge[P] = ge[d] = ge[f] = ge[g] = ge[v] = ge[y] = ge[S] = ge[M] = ge[z] = ge[X] = ge[G] = !1;
|
|
12825
12825
|
var Ce = typeof _n == "object" && _n && _n.Object === Object && _n, xe = typeof self == "object" && self && self.Object === Object && self, T = Ce || xe || Function("return this")(), R = e && !e.nodeType && e, A = R && !0 && n && !n.nodeType && n, N = A && A.exports === R, m = N && Ce.process, b = function() {
|
|
@@ -12884,7 +12884,7 @@ function ac() {
|
|
|
12884
12884
|
return p ? "Symbol(src)_1." + p : "";
|
|
12885
12885
|
}(), pt = et.toString, Wt = RegExp(
|
|
12886
12886
|
"^" + je.call(Ke).replace(ye, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
12887
|
-
), It = N ? T.Buffer : void 0, Qe = T.Symbol, $e = T.Uint8Array, tt = et.propertyIsEnumerable, ve = Se.splice, Ae = Qe ? Qe.toStringTag : void 0, Ie = Object.getOwnPropertySymbols, Fe = It ? It.isBuffer : void 0, ke = oe(Object.keys, Object), Xe = On(T, "DataView"), nt = On(T, "Map"),
|
|
12887
|
+
), It = N ? T.Buffer : void 0, Qe = T.Symbol, $e = T.Uint8Array, tt = et.propertyIsEnumerable, ve = Se.splice, Ae = Qe ? Qe.toStringTag : void 0, Ie = Object.getOwnPropertySymbols, Fe = It ? It.isBuffer : void 0, ke = oe(Object.keys, Object), Xe = On(T, "DataView"), nt = On(T, "Map"), lt = On(T, "Promise"), Et = On(T, "Set"), St = On(T, "WeakMap"), zt = On(Object, "create"), Kt = Dt(Xe), mt = Dt(nt), jt = Dt(lt), en = Dt(Et), Kn = Dt(St), Sn = Qe ? Qe.prototype : void 0, Un = Sn ? Sn.valueOf : void 0;
|
|
12888
12888
|
function gt(p) {
|
|
12889
12889
|
var w = -1, B = p == null ? 0 : p.length;
|
|
12890
12890
|
for (this.clear(); ++w < B; ) {
|
|
@@ -13205,7 +13205,7 @@ function ac() {
|
|
|
13205
13205
|
return tt.call(p, w);
|
|
13206
13206
|
}));
|
|
13207
13207
|
} : ji, pn = tn;
|
|
13208
|
-
(Xe && pn(new Xe(new ArrayBuffer(1))) != P || nt && pn(new nt()) != v ||
|
|
13208
|
+
(Xe && pn(new Xe(new ArrayBuffer(1))) != P || nt && pn(new nt()) != v || lt && pn(lt.resolve()) != C || Et && pn(new Et()) != z || St && pn(new St()) != G) && (pn = function(p) {
|
|
13209
13209
|
var w = tn(p), B = w == S ? p.constructor : void 0, ae = B ? Dt(B) : "";
|
|
13210
13210
|
if (ae)
|
|
13211
13211
|
switch (ae) {
|
|
@@ -13296,11 +13296,11 @@ function ac() {
|
|
|
13296
13296
|
n.exports = Di;
|
|
13297
13297
|
}(es, es.exports)), es.exports;
|
|
13298
13298
|
}
|
|
13299
|
-
var $s = {},
|
|
13299
|
+
var $s = {}, gl;
|
|
13300
13300
|
function Rb() {
|
|
13301
|
-
if (
|
|
13302
|
-
|
|
13303
|
-
const n =
|
|
13301
|
+
if (gl) return $s;
|
|
13302
|
+
gl = 1, Object.defineProperty($s, "__esModule", { value: !0 });
|
|
13303
|
+
const n = sc(), e = ic();
|
|
13304
13304
|
var t;
|
|
13305
13305
|
return function(r) {
|
|
13306
13306
|
function s(i = {}, u = {}, c = !1) {
|
|
@@ -13337,10 +13337,10 @@ function Rb() {
|
|
|
13337
13337
|
r.transform = l;
|
|
13338
13338
|
}(t || (t = {})), $s.default = t, $s;
|
|
13339
13339
|
}
|
|
13340
|
-
var _s = {},
|
|
13341
|
-
function
|
|
13342
|
-
if (
|
|
13343
|
-
|
|
13340
|
+
var _s = {}, vl;
|
|
13341
|
+
function ac() {
|
|
13342
|
+
if (vl) return _s;
|
|
13343
|
+
vl = 1, Object.defineProperty(_s, "__esModule", { value: !0 });
|
|
13344
13344
|
var n;
|
|
13345
13345
|
return function(e) {
|
|
13346
13346
|
function t(r) {
|
|
@@ -13349,11 +13349,11 @@ function oc() {
|
|
|
13349
13349
|
e.length = t;
|
|
13350
13350
|
}(n || (n = {})), _s.default = n, _s;
|
|
13351
13351
|
}
|
|
13352
|
-
var qs = {},
|
|
13352
|
+
var qs = {}, ml;
|
|
13353
13353
|
function Ib() {
|
|
13354
|
-
if (
|
|
13355
|
-
|
|
13356
|
-
const n =
|
|
13354
|
+
if (ml) return qs;
|
|
13355
|
+
ml = 1, Object.defineProperty(qs, "__esModule", { value: !0 });
|
|
13356
|
+
const n = ac();
|
|
13357
13357
|
class e {
|
|
13358
13358
|
constructor(r) {
|
|
13359
13359
|
this.ops = r, this.index = 0, this.offset = 0;
|
|
@@ -13398,13 +13398,13 @@ function Ib() {
|
|
|
13398
13398
|
}
|
|
13399
13399
|
return qs.default = e, qs;
|
|
13400
13400
|
}
|
|
13401
|
-
var
|
|
13401
|
+
var yl;
|
|
13402
13402
|
function Lb() {
|
|
13403
|
-
return
|
|
13403
|
+
return yl || (yl = 1, function(n, e) {
|
|
13404
13404
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AttributeMap = e.OpIterator = e.Op = void 0;
|
|
13405
|
-
const t = Cb(), r =
|
|
13405
|
+
const t = Cb(), r = sc(), s = ic(), o = Rb();
|
|
13406
13406
|
e.AttributeMap = o.default;
|
|
13407
|
-
const a =
|
|
13407
|
+
const a = ac();
|
|
13408
13408
|
e.Op = a.default;
|
|
13409
13409
|
const l = Ib();
|
|
13410
13410
|
e.OpIterator = l.default;
|
|
@@ -13726,14 +13726,14 @@ Ee(mn, "order", [
|
|
|
13726
13726
|
// Must be higher
|
|
13727
13727
|
]);
|
|
13728
13728
|
let wn = mn;
|
|
13729
|
-
const
|
|
13729
|
+
const bl = 1;
|
|
13730
13730
|
class Rt extends ds {
|
|
13731
13731
|
constructor() {
|
|
13732
13732
|
super(...arguments);
|
|
13733
13733
|
Ee(this, "cache", {});
|
|
13734
13734
|
}
|
|
13735
13735
|
delta() {
|
|
13736
|
-
return this.cache.delta == null && (this.cache.delta =
|
|
13736
|
+
return this.cache.delta == null && (this.cache.delta = oc(this)), this.cache.delta;
|
|
13737
13737
|
}
|
|
13738
13738
|
deleteAt(t, r) {
|
|
13739
13739
|
super.deleteAt(t, r), this.cache = {};
|
|
@@ -13760,7 +13760,7 @@ class Rt extends ds {
|
|
|
13760
13760
|
super.insertBefore(t, r), s instanceof dn && s.remove(), this.cache = {};
|
|
13761
13761
|
}
|
|
13762
13762
|
length() {
|
|
13763
|
-
return this.cache.length == null && (this.cache.length = super.length() +
|
|
13763
|
+
return this.cache.length == null && (this.cache.length = super.length() + bl), this.cache.length;
|
|
13764
13764
|
}
|
|
13765
13765
|
moveChildren(t, r) {
|
|
13766
13766
|
super.moveChildren(t, r), this.cache = {};
|
|
@@ -13776,7 +13776,7 @@ class Rt extends ds {
|
|
|
13776
13776
|
}
|
|
13777
13777
|
split(t) {
|
|
13778
13778
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
13779
|
-
if (r && (t === 0 || t >= this.length() -
|
|
13779
|
+
if (r && (t === 0 || t >= this.length() - bl)) {
|
|
13780
13780
|
const o = this.clone();
|
|
13781
13781
|
return t === 0 ? (this.parent.insertBefore(o, this), this) : (this.parent.insertBefore(o, this.next), o);
|
|
13782
13782
|
}
|
|
@@ -13821,7 +13821,7 @@ class Qt extends Gt {
|
|
|
13821
13821
|
}
|
|
13822
13822
|
}
|
|
13823
13823
|
Qt.scope = Re.BLOCK_BLOT;
|
|
13824
|
-
function
|
|
13824
|
+
function oc(n) {
|
|
13825
13825
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
13826
13826
|
return n.descendants(Bt).reduce((t, r) => r.length() === 0 ? t : t.insert(r.value(), Yt(r, {}, e)), new Ne()).insert(`
|
|
13827
13827
|
`, Yt(n));
|
|
@@ -13930,9 +13930,9 @@ const Xt = class Xt extends Gt {
|
|
|
13930
13930
|
};
|
|
13931
13931
|
Ee(Xt, "blotName", "cursor"), Ee(Xt, "className", "ql-cursor"), Ee(Xt, "tagName", "span"), Ee(Xt, "CONTENTS", "\uFEFF");
|
|
13932
13932
|
let Ur = Xt;
|
|
13933
|
-
var ea = { exports: {} },
|
|
13933
|
+
var ea = { exports: {} }, xl;
|
|
13934
13934
|
function Pb() {
|
|
13935
|
-
return
|
|
13935
|
+
return xl || (xl = 1, function(n) {
|
|
13936
13936
|
var e = Object.prototype.hasOwnProperty, t = "~";
|
|
13937
13937
|
function r() {
|
|
13938
13938
|
}
|
|
@@ -14040,7 +14040,7 @@ function Pb() {
|
|
|
14040
14040
|
var Fb = Pb();
|
|
14041
14041
|
const Mb = /* @__PURE__ */ Ka(Fb), ka = /* @__PURE__ */ new WeakMap(), Pa = ["error", "warn", "log", "info"];
|
|
14042
14042
|
let Fa = "warn";
|
|
14043
|
-
function
|
|
14043
|
+
function lc(n) {
|
|
14044
14044
|
if (Fa && Pa.indexOf(n) <= Pa.indexOf(Fa)) {
|
|
14045
14045
|
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++)
|
|
14046
14046
|
t[r - 1] = arguments[r];
|
|
@@ -14048,12 +14048,12 @@ function uc(n) {
|
|
|
14048
14048
|
}
|
|
14049
14049
|
}
|
|
14050
14050
|
function Bn(n) {
|
|
14051
|
-
return Pa.reduce((e, t) => (e[t] =
|
|
14051
|
+
return Pa.reduce((e, t) => (e[t] = lc.bind(console, t, n), e), {});
|
|
14052
14052
|
}
|
|
14053
14053
|
Bn.level = (n) => {
|
|
14054
14054
|
Fa = n;
|
|
14055
14055
|
};
|
|
14056
|
-
|
|
14056
|
+
lc.level = Bn.level;
|
|
14057
14057
|
const ta = Bn("quill:events"), Bb = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
14058
14058
|
Bb.forEach((n) => {
|
|
14059
14059
|
document.addEventListener(n, function() {
|
|
@@ -14347,7 +14347,7 @@ class jb {
|
|
|
14347
14347
|
this.scroll.update();
|
|
14348
14348
|
let t = this.scroll.length();
|
|
14349
14349
|
this.scroll.batchStart();
|
|
14350
|
-
const r =
|
|
14350
|
+
const r = Al(e), s = new Ne();
|
|
14351
14351
|
return _b(r.ops.slice()).reduce((a, l) => {
|
|
14352
14352
|
const i = Jt.Op.length(l);
|
|
14353
14353
|
let u = l.attributes || {}, c = !1, d = !1;
|
|
@@ -14456,7 +14456,7 @@ class jb {
|
|
|
14456
14456
|
return this.getContents(e, t).filter((r) => typeof r.insert == "string").map((r) => r.insert).join("");
|
|
14457
14457
|
}
|
|
14458
14458
|
insertContents(e, t) {
|
|
14459
|
-
const r =
|
|
14459
|
+
const r = Al(t), s = new Ne().retain(e).concat(r);
|
|
14460
14460
|
return this.scroll.insertContents(e, r), this.update(s);
|
|
14461
14461
|
}
|
|
14462
14462
|
insertEmbed(e, t, r) {
|
|
@@ -14494,8 +14494,8 @@ class jb {
|
|
|
14494
14494
|
if (t.length === 1 && t[0].type === "characterData" && // @ts-expect-error Fix me later
|
|
14495
14495
|
t[0].target.data.match(Db) && this.scroll.find(t[0].target)) {
|
|
14496
14496
|
const o = this.scroll.find(t[0].target), a = Yt(o), l = o.offset(this.scroll), i = t[0].oldValue.replace(Ur.CONTENTS, ""), u = new Ne().insert(i), c = new Ne().insert(o.value()), d = r && {
|
|
14497
|
-
oldRange:
|
|
14498
|
-
newRange:
|
|
14497
|
+
oldRange: wl(r.oldRange, -l),
|
|
14498
|
+
newRange: wl(r.newRange, -l)
|
|
14499
14499
|
};
|
|
14500
14500
|
e = new Ne().retain(l).concat(u.diff(c, d)).reduce((g, h) => h.insert ? g.insert(h.insert, a) : g.push(h), new Ne()), this.delta = s.compose(e);
|
|
14501
14501
|
} else
|
|
@@ -14574,7 +14574,7 @@ function sa(n) {
|
|
|
14574
14574
|
return [e, ""];
|
|
14575
14575
|
}
|
|
14576
14576
|
}
|
|
14577
|
-
function
|
|
14577
|
+
function Al(n) {
|
|
14578
14578
|
return n.reduce((e, t) => {
|
|
14579
14579
|
if (typeof t.insert == "string") {
|
|
14580
14580
|
const r = t.insert.replace(/\r\n/g, `
|
|
@@ -14585,7 +14585,7 @@ function wl(n) {
|
|
|
14585
14585
|
return e.push(t);
|
|
14586
14586
|
}, new Ne());
|
|
14587
14587
|
}
|
|
14588
|
-
function
|
|
14588
|
+
function wl(n, e) {
|
|
14589
14589
|
let {
|
|
14590
14590
|
index: t,
|
|
14591
14591
|
length: r
|
|
@@ -14712,7 +14712,7 @@ const zb = (n) => n.parentElement || n.getRootNode().host || null, Hb = (n) => {
|
|
|
14712
14712
|
}, Hs = (n) => {
|
|
14713
14713
|
const e = parseInt(n, 10);
|
|
14714
14714
|
return Number.isNaN(e) ? 0 : e;
|
|
14715
|
-
},
|
|
14715
|
+
}, El = (n, e, t, r, s, o) => n < t && e > r ? 0 : n < t ? -(t - n + s) : e > r ? e - n > r - t ? n + s - t : e - r + o : 0, Vb = (n, e) => {
|
|
14716
14716
|
var o, a, l;
|
|
14717
14717
|
const t = n.ownerDocument;
|
|
14718
14718
|
let r = e, s = n;
|
|
@@ -14722,7 +14722,7 @@ const zb = (n) => n.parentElement || n.getRootNode().host || null, Hb = (n) => {
|
|
|
14722
14722
|
right: ((o = window.visualViewport) == null ? void 0 : o.width) ?? t.documentElement.clientWidth,
|
|
14723
14723
|
bottom: ((a = window.visualViewport) == null ? void 0 : a.height) ?? t.documentElement.clientHeight,
|
|
14724
14724
|
left: 0
|
|
14725
|
-
} : Hb(s), c = getComputedStyle(s), d =
|
|
14725
|
+
} : Hb(s), c = getComputedStyle(s), d = El(r.left, r.right, u.left, u.right, Hs(c.scrollPaddingLeft), Hs(c.scrollPaddingRight)), f = El(r.top, r.bottom, u.top, u.bottom, Hs(c.scrollPaddingTop), Hs(c.scrollPaddingBottom));
|
|
14726
14726
|
if (d || f)
|
|
14727
14727
|
if (i)
|
|
14728
14728
|
(l = t.defaultView) == null || l.scrollBy(d, f);
|
|
@@ -15035,7 +15035,7 @@ Ee(sn, "DEFAULTS", {
|
|
|
15035
15035
|
"core/theme": Dr
|
|
15036
15036
|
});
|
|
15037
15037
|
let ce = sn;
|
|
15038
|
-
function
|
|
15038
|
+
function Sl(n) {
|
|
15039
15039
|
return typeof n == "string" ? document.querySelector(n) : n;
|
|
15040
15040
|
}
|
|
15041
15041
|
function ia(n) {
|
|
@@ -15047,11 +15047,11 @@ function ia(n) {
|
|
|
15047
15047
|
};
|
|
15048
15048
|
}, {});
|
|
15049
15049
|
}
|
|
15050
|
-
function
|
|
15050
|
+
function Tl(n) {
|
|
15051
15051
|
return Object.fromEntries(Object.entries(n).filter((e) => e[1] !== void 0));
|
|
15052
15052
|
}
|
|
15053
15053
|
function Xb(n, e) {
|
|
15054
|
-
const t =
|
|
15054
|
+
const t = Sl(n);
|
|
15055
15055
|
if (!t)
|
|
15056
15056
|
throw new Error("Invalid Quill container");
|
|
15057
15057
|
const s = !e.theme || e.theme === ce.DEFAULTS.theme ? Dr : ce.import(`themes/${e.theme}`);
|
|
@@ -15073,8 +15073,8 @@ function Xb(n, e) {
|
|
|
15073
15073
|
});
|
|
15074
15074
|
const c = Hn({}, ia(o), ia(l), u), d = {
|
|
15075
15075
|
...a,
|
|
15076
|
-
...
|
|
15077
|
-
...
|
|
15076
|
+
...Tl(i),
|
|
15077
|
+
...Tl(e)
|
|
15078
15078
|
};
|
|
15079
15079
|
let f = e.registry;
|
|
15080
15080
|
return f ? e.formats && kr.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ? Kb(e.formats, d.registry, kr) : d.registry, {
|
|
@@ -15092,7 +15092,7 @@ function Xb(n, e) {
|
|
|
15092
15092
|
[v]: Hn({}, E.DEFAULTS || {}, y)
|
|
15093
15093
|
};
|
|
15094
15094
|
}, {}),
|
|
15095
|
-
bounds:
|
|
15095
|
+
bounds: Sl(d.bounds)
|
|
15096
15096
|
};
|
|
15097
15097
|
}
|
|
15098
15098
|
function rn(n, e, t, r) {
|
|
@@ -15100,7 +15100,7 @@ function rn(n, e, t, r) {
|
|
|
15100
15100
|
return new Ne();
|
|
15101
15101
|
let s = t == null ? null : this.getSelection();
|
|
15102
15102
|
const o = this.editor.delta, a = n();
|
|
15103
|
-
if (s != null && (t === !0 && (t = s.index), r == null ? s =
|
|
15103
|
+
if (s != null && (t === !0 && (t = s.index), r == null ? s = Ol(s, a, e) : r !== 0 && (s = Ol(s, t, r, e)), this.setSelection(s, Oe.sources.SILENT)), a.length() > 0) {
|
|
15104
15104
|
const l = [Oe.events.TEXT_CHANGE, a, o, e];
|
|
15105
15105
|
this.emitter.emit(Oe.events.EDITOR_CHANGE, ...l), e !== Oe.sources.SILENT && this.emitter.emit(...l);
|
|
15106
15106
|
}
|
|
@@ -15110,7 +15110,7 @@ function In(n, e, t, r, s) {
|
|
|
15110
15110
|
let o = {};
|
|
15111
15111
|
return typeof n.index == "number" && typeof n.length == "number" ? typeof e != "number" ? (s = r, r = t, t = e, e = n.length, n = n.index) : (e = n.length, n = n.index) : typeof e != "number" && (s = r, r = t, t = e, e = 0), typeof t == "object" ? (o = t, s = r) : typeof t == "string" && (r != null ? o[t] = r : s = t), s = s || Oe.sources.API, [n, e, o, s];
|
|
15112
15112
|
}
|
|
15113
|
-
function
|
|
15113
|
+
function Ol(n, e, t, r) {
|
|
15114
15114
|
const s = typeof t == "number" ? t : 0;
|
|
15115
15115
|
if (n == null) return null;
|
|
15116
15116
|
let o, a;
|
|
@@ -15121,10 +15121,10 @@ function Nl(n, e, t, r) {
|
|
|
15121
15121
|
}
|
|
15122
15122
|
class cr extends Ei {
|
|
15123
15123
|
}
|
|
15124
|
-
function
|
|
15124
|
+
function Nl(n) {
|
|
15125
15125
|
return n instanceof Rt || n instanceof Qt;
|
|
15126
15126
|
}
|
|
15127
|
-
function
|
|
15127
|
+
function Cl(n) {
|
|
15128
15128
|
return typeof n.updateContent == "function";
|
|
15129
15129
|
}
|
|
15130
15130
|
class Rr extends so {
|
|
@@ -15238,14 +15238,14 @@ class Rr extends so {
|
|
|
15238
15238
|
return r instanceof Bt ? [r, s] : [null, -1];
|
|
15239
15239
|
}
|
|
15240
15240
|
line(e) {
|
|
15241
|
-
return e === this.length() ? this.line(e - 1) : this.descendant(
|
|
15241
|
+
return e === this.length() ? this.line(e - 1) : this.descendant(Nl, e);
|
|
15242
15242
|
}
|
|
15243
15243
|
lines() {
|
|
15244
15244
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE;
|
|
15245
15245
|
const r = (s, o, a) => {
|
|
15246
15246
|
let l = [], i = a;
|
|
15247
15247
|
return s.children.forEachAt(o, a, (u, c, d) => {
|
|
15248
|
-
|
|
15248
|
+
Nl(u) ? l.push(u) : u instanceof Ei && (l = l.concat(r(u, c, i))), i -= d;
|
|
15249
15249
|
}), l;
|
|
15250
15250
|
};
|
|
15251
15251
|
return r(this, e, t);
|
|
@@ -15270,12 +15270,12 @@ class Rr extends so {
|
|
|
15270
15270
|
target: s
|
|
15271
15271
|
} = r;
|
|
15272
15272
|
const o = this.find(s, !0);
|
|
15273
|
-
return o && !
|
|
15273
|
+
return o && !Cl(o);
|
|
15274
15274
|
}), e.length > 0 && this.emitter.emit(Oe.events.SCROLL_BEFORE_UPDATE, t, e), super.update(e.concat([])), e.length > 0 && this.emitter.emit(Oe.events.SCROLL_UPDATE, t, e);
|
|
15275
15275
|
}
|
|
15276
15276
|
updateEmbedAt(e, t, r) {
|
|
15277
15277
|
const [s] = this.descendant((o) => o instanceof Qt, e);
|
|
15278
|
-
s && s.statics.blotName === t &&
|
|
15278
|
+
s && s.statics.blotName === t && Cl(s) && s.updateContent(r);
|
|
15279
15279
|
}
|
|
15280
15280
|
handleDragStart(e) {
|
|
15281
15281
|
e.preventDefault();
|
|
@@ -15362,8 +15362,8 @@ function aa(n, e, t) {
|
|
|
15362
15362
|
const ao = {
|
|
15363
15363
|
scope: Re.BLOCK,
|
|
15364
15364
|
whitelist: ["right", "center", "justify"]
|
|
15365
|
-
}, Yb = new An("align", "align", ao),
|
|
15366
|
-
class
|
|
15365
|
+
}, Yb = new An("align", "align", ao), uc = new fn("align", "ql-align", ao), cc = new Wn("align", "text-align", ao);
|
|
15366
|
+
class fc extends Wn {
|
|
15367
15367
|
value(e) {
|
|
15368
15368
|
let t = super.value(e);
|
|
15369
15369
|
return t.startsWith("rgb(") ? (t = t.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${t.split(",").map((s) => `00${parseInt(s, 10).toString(16)}`.slice(-2)).join("")}`) : t;
|
|
@@ -15371,11 +15371,11 @@ class dc extends Wn {
|
|
|
15371
15371
|
}
|
|
15372
15372
|
const Zb = new fn("color", "ql-color", {
|
|
15373
15373
|
scope: Re.INLINE
|
|
15374
|
-
}), oo = new
|
|
15374
|
+
}), oo = new fc("color", "color", {
|
|
15375
15375
|
scope: Re.INLINE
|
|
15376
15376
|
}), Qb = new fn("background", "ql-bg", {
|
|
15377
15377
|
scope: Re.INLINE
|
|
15378
|
-
}), lo = new
|
|
15378
|
+
}), lo = new fc("background", "background-color", {
|
|
15379
15379
|
scope: Re.INLINE
|
|
15380
15380
|
});
|
|
15381
15381
|
class fr extends cr {
|
|
@@ -15415,19 +15415,19 @@ Ut.requiredContainer = fr;
|
|
|
15415
15415
|
const co = {
|
|
15416
15416
|
scope: Re.BLOCK,
|
|
15417
15417
|
whitelist: ["rtl"]
|
|
15418
|
-
},
|
|
15418
|
+
}, dc = new An("direction", "dir", co), hc = new fn("direction", "ql-direction", co), pc = new Wn("direction", "direction", co), gc = {
|
|
15419
15419
|
scope: Re.INLINE,
|
|
15420
15420
|
whitelist: ["serif", "monospace"]
|
|
15421
|
-
},
|
|
15421
|
+
}, vc = new fn("font", "ql-font", gc);
|
|
15422
15422
|
class Jb extends Wn {
|
|
15423
15423
|
value(e) {
|
|
15424
15424
|
return super.value(e).replace(/["']/g, "");
|
|
15425
15425
|
}
|
|
15426
15426
|
}
|
|
15427
|
-
const
|
|
15427
|
+
const mc = new Jb("font", "font-family", gc), yc = new fn("size", "ql-size", {
|
|
15428
15428
|
scope: Re.INLINE,
|
|
15429
15429
|
whitelist: ["small", "large", "huge"]
|
|
15430
|
-
}),
|
|
15430
|
+
}), bc = new Wn("size", "font-size", {
|
|
15431
15431
|
scope: Re.INLINE,
|
|
15432
15432
|
whitelist: ["10px", "18px", "32px"]
|
|
15433
15433
|
}), ex = Bn("quill:keyboard"), tx = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
@@ -15617,8 +15617,8 @@ const nx = {
|
|
|
15617
15617
|
e.format.indent != null ? this.quill.format("indent", "-1", ce.sources.USER) : e.format.list != null && this.quill.format("list", !1, ce.sources.USER);
|
|
15618
15618
|
}
|
|
15619
15619
|
},
|
|
15620
|
-
"indent code-block":
|
|
15621
|
-
"outdent code-block":
|
|
15620
|
+
"indent code-block": Rl(!0),
|
|
15621
|
+
"outdent code-block": Rl(!1),
|
|
15622
15622
|
"remove tab": {
|
|
15623
15623
|
key: "Tab",
|
|
15624
15624
|
shiftKey: !0,
|
|
@@ -15802,12 +15802,12 @@ const nx = {
|
|
|
15802
15802
|
"embed left shift": Gs("ArrowLeft", !0),
|
|
15803
15803
|
"embed right": Gs("ArrowRight", !1),
|
|
15804
15804
|
"embed right shift": Gs("ArrowRight", !0),
|
|
15805
|
-
"table down":
|
|
15806
|
-
"table up":
|
|
15805
|
+
"table down": Il(!1),
|
|
15806
|
+
"table up": Il(!0)
|
|
15807
15807
|
}
|
|
15808
15808
|
};
|
|
15809
15809
|
Ti.DEFAULTS = nx;
|
|
15810
|
-
function
|
|
15810
|
+
function Rl(n) {
|
|
15811
15811
|
return {
|
|
15812
15812
|
key: "Tab",
|
|
15813
15813
|
shiftKey: !n,
|
|
@@ -15861,7 +15861,7 @@ function oa(n) {
|
|
|
15861
15861
|
}
|
|
15862
15862
|
};
|
|
15863
15863
|
}
|
|
15864
|
-
function
|
|
15864
|
+
function Il(n) {
|
|
15865
15865
|
return {
|
|
15866
15866
|
key: n ? "ArrowUp" : "ArrowDown",
|
|
15867
15867
|
collapsed: !0,
|
|
@@ -15911,8 +15911,8 @@ function fo(n) {
|
|
|
15911
15911
|
function sx(n, e, t, r) {
|
|
15912
15912
|
return e.prev == null && e.next == null ? t.prev == null && t.next == null ? r === 0 ? -1 : 1 : t.prev == null ? -1 : 1 : e.prev == null ? -1 : e.next == null ? 1 : null;
|
|
15913
15913
|
}
|
|
15914
|
-
const ix = /font-weight:\s*normal/, ax = ["P", "OL", "UL"],
|
|
15915
|
-
Array.from(n.querySelectorAll("br")).filter((e) =>
|
|
15914
|
+
const ix = /font-weight:\s*normal/, ax = ["P", "OL", "UL"], Ll = (n) => n && ax.includes(n.tagName), ox = (n) => {
|
|
15915
|
+
Array.from(n.querySelectorAll("br")).filter((e) => Ll(e.previousElementSibling) && Ll(e.nextElementSibling)).forEach((e) => {
|
|
15916
15916
|
var t;
|
|
15917
15917
|
(t = e.parentNode) == null || t.removeChild(e);
|
|
15918
15918
|
});
|
|
@@ -15979,8 +15979,8 @@ const vx = [gx, ux], mx = (n) => {
|
|
|
15979
15979
|
n.documentElement && vx.forEach((e) => {
|
|
15980
15980
|
e(n);
|
|
15981
15981
|
});
|
|
15982
|
-
}, yx = Bn("quill:clipboard"), bx = [[Node.TEXT_NODE, Lx], [Node.TEXT_NODE,
|
|
15983
|
-
class
|
|
15982
|
+
}, yx = Bn("quill:clipboard"), bx = [[Node.TEXT_NODE, Lx], [Node.TEXT_NODE, Pl], ["br", Sx], [Node.ELEMENT_NODE, Pl], [Node.ELEMENT_NODE, Ex], [Node.ELEMENT_NODE, wx], [Node.ELEMENT_NODE, Rx], ["li", Nx], ["ol, ul", Cx], ["pre", Tx], ["tr", Ix], ["b", la("bold")], ["i", la("italic")], ["strike", la("strike")], ["style", Ox]], xx = [Yb, dc].reduce((n, e) => (n[e.keyName] = e, n), {}), kl = [cc, lo, oo, pc, mc, bc].reduce((n, e) => (n[e.keyName] = e, n), {});
|
|
15983
|
+
class xc extends hn {
|
|
15984
15984
|
constructor(e, t) {
|
|
15985
15985
|
super(e, t), this.quill.root.addEventListener("copy", (r) => this.onCaptureCopy(r, !1)), this.quill.root.addEventListener("cut", (r) => this.onCaptureCopy(r, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], bx.concat(this.options.matchers ?? []).forEach((r) => {
|
|
15986
15986
|
let [s, o] = r;
|
|
@@ -16129,7 +16129,7 @@ class Ac extends hn {
|
|
|
16129
16129
|
}), [r, s];
|
|
16130
16130
|
}
|
|
16131
16131
|
}
|
|
16132
|
-
Ee(
|
|
16132
|
+
Ee(xc, "DEFAULTS", {
|
|
16133
16133
|
matchers: []
|
|
16134
16134
|
});
|
|
16135
16135
|
function dr(n, e, t, r) {
|
|
@@ -16164,8 +16164,8 @@ function Ax(n, e) {
|
|
|
16164
16164
|
return n.previousElementSibling && n.nextElementSibling && !qn(n.previousElementSibling, e) && !qn(n.nextElementSibling, e);
|
|
16165
16165
|
}
|
|
16166
16166
|
const Ws = /* @__PURE__ */ new WeakMap();
|
|
16167
|
-
function
|
|
16168
|
-
return n == null ? !1 : (Ws.has(n) || (n.tagName === "PRE" ? Ws.set(n, !0) : Ws.set(n,
|
|
16167
|
+
function Ac(n) {
|
|
16168
|
+
return n == null ? !1 : (Ws.has(n) || (n.tagName === "PRE" ? Ws.set(n, !0) : Ws.set(n, Ac(n.parentNode))), Ws.get(n));
|
|
16169
16169
|
}
|
|
16170
16170
|
function ho(n, e, t, r, s) {
|
|
16171
16171
|
return e.nodeType === e.TEXT_NODE ? r.reduce((o, a) => a(e, o, n), new Ne()) : e.nodeType === e.ELEMENT_NODE ? Array.from(e.childNodes || []).reduce((o, a) => {
|
|
@@ -16180,7 +16180,7 @@ function wx(n, e, t) {
|
|
|
16180
16180
|
const r = An.keys(n), s = fn.keys(n), o = Wn.keys(n), a = {};
|
|
16181
16181
|
return r.concat(s).concat(o).forEach((l) => {
|
|
16182
16182
|
let i = t.query(l, Re.ATTRIBUTE);
|
|
16183
|
-
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i = xx[l], i != null && (i.attrName === l || i.keyName === l) && (a[i.attrName] = i.value(n) || void 0), i =
|
|
16183
|
+
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i = xx[l], i != null && (i.attrName === l || i.keyName === l) && (a[i.attrName] = i.value(n) || void 0), i = kl[l], i != null && (i.attrName === l || i.keyName === l) && (i = kl[l], a[i.attrName] = i.value(n) || void 0));
|
|
16184
16184
|
}), Object.entries(a).reduce((l, i) => {
|
|
16185
16185
|
let [u, c] = i;
|
|
16186
16186
|
return dr(l, u, c, t);
|
|
@@ -16231,7 +16231,7 @@ function Cx(n, e, t) {
|
|
|
16231
16231
|
const o = r.getAttribute("data-checked");
|
|
16232
16232
|
return o && (s = o === "true" ? "checked" : "unchecked"), dr(e, "list", s, t);
|
|
16233
16233
|
}
|
|
16234
|
-
function
|
|
16234
|
+
function Pl(n, e, t) {
|
|
16235
16235
|
if (!ws(e, `
|
|
16236
16236
|
`)) {
|
|
16237
16237
|
if (qn(n, t) && (n.childNodes.length > 0 || n instanceof HTMLParagraphElement))
|
|
@@ -16276,7 +16276,7 @@ function Lx(n, e, t) {
|
|
|
16276
16276
|
let r = n.data;
|
|
16277
16277
|
if (((s = n.parentElement) == null ? void 0 : s.tagName) === "O:P")
|
|
16278
16278
|
return e.insert(r.trim());
|
|
16279
|
-
if (!
|
|
16279
|
+
if (!Ac(n)) {
|
|
16280
16280
|
if (r.trim().length === 0 && r.includes(`
|
|
16281
16281
|
`) && !Ax(n, t))
|
|
16282
16282
|
return e;
|
|
@@ -16284,7 +16284,7 @@ function Lx(n, e, t) {
|
|
|
16284
16284
|
}
|
|
16285
16285
|
return e.insert(r);
|
|
16286
16286
|
}
|
|
16287
|
-
class
|
|
16287
|
+
class wc extends hn {
|
|
16288
16288
|
constructor(t, r) {
|
|
16289
16289
|
super(t, r);
|
|
16290
16290
|
Ee(this, "lastRecorded", 0);
|
|
@@ -16351,7 +16351,7 @@ class Ec extends hn {
|
|
|
16351
16351
|
this.change("redo", "undo");
|
|
16352
16352
|
}
|
|
16353
16353
|
transform(t) {
|
|
16354
|
-
|
|
16354
|
+
Fl(this.stack.undo, t), Fl(this.stack.redo, t);
|
|
16355
16355
|
}
|
|
16356
16356
|
undo() {
|
|
16357
16357
|
this.change("undo", "redo");
|
|
@@ -16365,12 +16365,12 @@ class Ec extends hn {
|
|
|
16365
16365
|
}
|
|
16366
16366
|
}
|
|
16367
16367
|
}
|
|
16368
|
-
Ee(
|
|
16368
|
+
Ee(wc, "DEFAULTS", {
|
|
16369
16369
|
delay: 1e3,
|
|
16370
16370
|
maxStack: 100,
|
|
16371
16371
|
userOnly: !1
|
|
16372
16372
|
});
|
|
16373
|
-
function
|
|
16373
|
+
function Fl(n, e) {
|
|
16374
16374
|
let t = e;
|
|
16375
16375
|
for (let r = n.length - 1; r >= 0; r -= 1) {
|
|
16376
16376
|
const s = n[r];
|
|
@@ -16398,7 +16398,7 @@ function Ma(n, e) {
|
|
|
16398
16398
|
length: r - t
|
|
16399
16399
|
};
|
|
16400
16400
|
}
|
|
16401
|
-
class
|
|
16401
|
+
class Ec extends hn {
|
|
16402
16402
|
constructor(e, t) {
|
|
16403
16403
|
super(e, t), e.root.addEventListener("drop", (r) => {
|
|
16404
16404
|
var a;
|
|
@@ -16425,7 +16425,7 @@ class Sc extends hn {
|
|
|
16425
16425
|
}), r.length > 0 && this.options.handler.call(this, e, r);
|
|
16426
16426
|
}
|
|
16427
16427
|
}
|
|
16428
|
-
|
|
16428
|
+
Ec.DEFAULTS = {
|
|
16429
16429
|
mimetypes: ["image/png", "image/jpeg"],
|
|
16430
16430
|
handler(n, e) {
|
|
16431
16431
|
if (!this.quill.scroll.query("image"))
|
|
@@ -16558,10 +16558,10 @@ ce.register({
|
|
|
16558
16558
|
"blots/inline": wn,
|
|
16559
16559
|
"blots/scroll": Rr,
|
|
16560
16560
|
"blots/text": un,
|
|
16561
|
-
"modules/clipboard":
|
|
16562
|
-
"modules/history":
|
|
16561
|
+
"modules/clipboard": xc,
|
|
16562
|
+
"modules/history": wc,
|
|
16563
16563
|
"modules/keyboard": Ti,
|
|
16564
|
-
"modules/uploader":
|
|
16564
|
+
"modules/uploader": Ec,
|
|
16565
16565
|
"modules/input": Mx,
|
|
16566
16566
|
"modules/uiNode": $x
|
|
16567
16567
|
});
|
|
@@ -16651,14 +16651,14 @@ class zn extends wn {
|
|
|
16651
16651
|
return e.getAttribute("href");
|
|
16652
16652
|
}
|
|
16653
16653
|
static sanitize(e) {
|
|
16654
|
-
return
|
|
16654
|
+
return Sc(e, this.PROTOCOL_WHITELIST) ? e : this.SANITIZED_URL;
|
|
16655
16655
|
}
|
|
16656
16656
|
format(e, t) {
|
|
16657
16657
|
e !== this.statics.blotName || !t ? super.format(e, t) : this.domNode.setAttribute("href", this.constructor.sanitize(t));
|
|
16658
16658
|
}
|
|
16659
16659
|
}
|
|
16660
16660
|
Ee(zn, "blotName", "link"), Ee(zn, "tagName", "A"), Ee(zn, "SANITIZED_URL", "about:blank"), Ee(zn, "PROTOCOL_WHITELIST", ["http", "https", "mailto", "tel", "sms"]);
|
|
16661
|
-
function
|
|
16661
|
+
function Sc(n, e) {
|
|
16662
16662
|
const t = document.createElement("a");
|
|
16663
16663
|
t.href = n;
|
|
16664
16664
|
const r = t.href.slice(0, t.href.indexOf(":"));
|
|
@@ -16701,37 +16701,37 @@ class Js extends io {
|
|
|
16701
16701
|
}
|
|
16702
16702
|
}
|
|
16703
16703
|
Ee(Js, "blotName", "formula"), Ee(Js, "className", "ql-formula"), Ee(Js, "tagName", "SPAN");
|
|
16704
|
-
const
|
|
16704
|
+
const Ml = ["alt", "height", "width"];
|
|
16705
16705
|
class qa extends Gt {
|
|
16706
16706
|
static create(e) {
|
|
16707
16707
|
const t = super.create(e);
|
|
16708
16708
|
return typeof e == "string" && t.setAttribute("src", this.sanitize(e)), t;
|
|
16709
16709
|
}
|
|
16710
16710
|
static formats(e) {
|
|
16711
|
-
return
|
|
16711
|
+
return Ml.reduce((t, r) => (e.hasAttribute(r) && (t[r] = e.getAttribute(r)), t), {});
|
|
16712
16712
|
}
|
|
16713
16713
|
static match(e) {
|
|
16714
16714
|
return /\.(jpe?g|gif|png)$/.test(e) || /^data:image\/.+;base64/.test(e);
|
|
16715
16715
|
}
|
|
16716
16716
|
static sanitize(e) {
|
|
16717
|
-
return
|
|
16717
|
+
return Sc(e, ["http", "https", "data"]) ? e : "//:0";
|
|
16718
16718
|
}
|
|
16719
16719
|
static value(e) {
|
|
16720
16720
|
return e.getAttribute("src");
|
|
16721
16721
|
}
|
|
16722
16722
|
format(e, t) {
|
|
16723
|
-
|
|
16723
|
+
Ml.indexOf(e) > -1 ? t ? this.domNode.setAttribute(e, t) : this.domNode.removeAttribute(e) : super.format(e, t);
|
|
16724
16724
|
}
|
|
16725
16725
|
}
|
|
16726
16726
|
Ee(qa, "blotName", "image"), Ee(qa, "tagName", "IMG");
|
|
16727
|
-
const
|
|
16727
|
+
const Bl = ["height", "width"];
|
|
16728
16728
|
class ei extends Qt {
|
|
16729
16729
|
static create(e) {
|
|
16730
16730
|
const t = super.create(e);
|
|
16731
16731
|
return t.setAttribute("frameborder", "0"), t.setAttribute("allowfullscreen", "true"), t.setAttribute("src", this.sanitize(e)), t;
|
|
16732
16732
|
}
|
|
16733
16733
|
static formats(e) {
|
|
16734
|
-
return
|
|
16734
|
+
return Bl.reduce((t, r) => (e.hasAttribute(r) && (t[r] = e.getAttribute(r)), t), {});
|
|
16735
16735
|
}
|
|
16736
16736
|
static sanitize(e) {
|
|
16737
16737
|
return zn.sanitize(e);
|
|
@@ -16740,7 +16740,7 @@ class ei extends Qt {
|
|
|
16740
16740
|
return e.getAttribute("src");
|
|
16741
16741
|
}
|
|
16742
16742
|
format(e, t) {
|
|
16743
|
-
|
|
16743
|
+
Bl.indexOf(e) > -1 ? t ? this.domNode.setAttribute(e, t) : this.domNode.removeAttribute(e) : super.format(e, t);
|
|
16744
16744
|
}
|
|
16745
16745
|
html() {
|
|
16746
16746
|
const {
|
|
@@ -16811,7 +16811,7 @@ class is extends fr {
|
|
|
16811
16811
|
`, o = Zt.formats(this.children.head.domNode);
|
|
16812
16812
|
if (t || this.forceNext || this.cachedText !== s) {
|
|
16813
16813
|
if (s.trim().length > 0 || this.cachedText == null) {
|
|
16814
|
-
const a = this.children.reduce((i, u) => i.concat(
|
|
16814
|
+
const a = this.children.reduce((i, u) => i.concat(oc(u, !1)), new Ne()), l = e(s, o);
|
|
16815
16815
|
a.diff(l).reduce((i, u) => {
|
|
16816
16816
|
let {
|
|
16817
16817
|
retain: c,
|
|
@@ -16851,7 +16851,7 @@ const zx = (n, e, t) => {
|
|
|
16851
16851
|
}
|
|
16852
16852
|
return n.highlight(e, t).value;
|
|
16853
16853
|
};
|
|
16854
|
-
class
|
|
16854
|
+
class Tc extends hn {
|
|
16855
16855
|
static register() {
|
|
16856
16856
|
ce.register(Pn, !0), ce.register(Zt, !0), ce.register(is, !0);
|
|
16857
16857
|
}
|
|
@@ -16919,7 +16919,7 @@ class Oc extends hn {
|
|
|
16919
16919
|
}), a.insert(l)), o)], /* @__PURE__ */ new WeakMap());
|
|
16920
16920
|
}
|
|
16921
16921
|
}
|
|
16922
|
-
|
|
16922
|
+
Tc.DEFAULTS = {
|
|
16923
16923
|
hljs: window.hljs,
|
|
16924
16924
|
interval: 1e3,
|
|
16925
16925
|
languages: [{
|
|
@@ -17162,7 +17162,7 @@ class Hx extends hn {
|
|
|
17162
17162
|
});
|
|
17163
17163
|
}
|
|
17164
17164
|
}
|
|
17165
|
-
const
|
|
17165
|
+
const Ul = Bn("quill:toolbar");
|
|
17166
17166
|
class go extends hn {
|
|
17167
17167
|
constructor(e, t) {
|
|
17168
17168
|
var r, s;
|
|
@@ -17171,7 +17171,7 @@ class go extends hn {
|
|
|
17171
17171
|
o.setAttribute("role", "toolbar"), Vx(o, this.options.container), (s = (r = e.container) == null ? void 0 : r.parentNode) == null || s.insertBefore(o, e.container), this.container = o;
|
|
17172
17172
|
} else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
|
|
17173
17173
|
if (!(this.container instanceof HTMLElement)) {
|
|
17174
|
-
|
|
17174
|
+
Ul.error("Container required for toolbar", this.options);
|
|
17175
17175
|
return;
|
|
17176
17176
|
}
|
|
17177
17177
|
this.container.classList.add("ql-toolbar"), this.controls = [], this.handlers = {}, this.options.handlers && Object.keys(this.options.handlers).forEach((o) => {
|
|
@@ -17192,7 +17192,7 @@ class go extends hn {
|
|
|
17192
17192
|
let t = Array.from(e.classList).find((s) => s.indexOf("ql-") === 0);
|
|
17193
17193
|
if (!t) return;
|
|
17194
17194
|
if (t = t.slice(3), e.tagName === "BUTTON" && e.setAttribute("type", "button"), this.handlers[t] == null && this.quill.scroll.query(t) == null) {
|
|
17195
|
-
|
|
17195
|
+
Ul.warn("ignoring attaching to nonexistent format", t, e);
|
|
17196
17196
|
return;
|
|
17197
17197
|
}
|
|
17198
17198
|
const r = e.tagName === "SELECT" ? "change" : "click";
|
|
@@ -17249,7 +17249,7 @@ class go extends hn {
|
|
|
17249
17249
|
}
|
|
17250
17250
|
}
|
|
17251
17251
|
go.DEFAULTS = {};
|
|
17252
|
-
function
|
|
17252
|
+
function Dl(n, e, t) {
|
|
17253
17253
|
const r = document.createElement("button");
|
|
17254
17254
|
r.setAttribute("type", "button"), r.classList.add(`ql-${e}`), r.setAttribute("aria-pressed", "false"), t != null ? (r.value = t, r.setAttribute("aria-label", `${e}: ${t}`)) : r.setAttribute("aria-label", e), n.appendChild(r);
|
|
17255
17255
|
}
|
|
@@ -17258,10 +17258,10 @@ function Vx(n, e) {
|
|
|
17258
17258
|
const r = document.createElement("span");
|
|
17259
17259
|
r.classList.add("ql-formats"), t.forEach((s) => {
|
|
17260
17260
|
if (typeof s == "string")
|
|
17261
|
-
|
|
17261
|
+
Dl(r, s);
|
|
17262
17262
|
else {
|
|
17263
17263
|
const o = Object.keys(s)[0], a = s[o];
|
|
17264
|
-
Array.isArray(a) ? Gx(r, o, a) :
|
|
17264
|
+
Array.isArray(a) ? Gx(r, o, a) : Dl(r, o, a);
|
|
17265
17265
|
}
|
|
17266
17266
|
}), n.appendChild(r);
|
|
17267
17267
|
});
|
|
@@ -17309,7 +17309,7 @@ go.DEFAULTS = {
|
|
|
17309
17309
|
}
|
|
17310
17310
|
}
|
|
17311
17311
|
};
|
|
17312
|
-
const Wx = '<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>', Kx = '<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>', Xx = '<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>', Yx = '<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>', Zx = '<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>', Qx = '<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>', Jx = '<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>', eA = '<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>', $l = '<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>', tA = '<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>', nA = '<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>', rA = '<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>', sA = '<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>', iA = '<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>', aA = '<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>', oA = '<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>', lA = '<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>', uA = '<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>', cA = '<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>', fA = '<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>', dA = '<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>', hA = '<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>', pA = '<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>', gA = '<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>', vA = '<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>', mA = '<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>', yA = '<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>', bA = '<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>', xA = '<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>', AA = '<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>', wA = '<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>', EA = '<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>', SA = '<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>', gs = {
|
|
17312
|
+
const Wx = '<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>', Kx = '<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>', Xx = '<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>', Yx = '<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>', Zx = '<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>', Qx = '<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>', Jx = '<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>', eA = '<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>', tA = '<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>', nA = '<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>', rA = '<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>', sA = '<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>', iA = '<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>', aA = '<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>', oA = '<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>', lA = '<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>', uA = '<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>', cA = '<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>', fA = '<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>', dA = '<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>', hA = '<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>', pA = '<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>', gA = '<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>', vA = '<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>', mA = '<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>', yA = '<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>', bA = '<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>', xA = '<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>', AA = '<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>', wA = '<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>', EA = '<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>', SA = '<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>', gs = {
|
|
17313
17313
|
align: {
|
|
17314
17314
|
"": Wx,
|
|
17315
17315
|
center: Kx,
|
|
@@ -17320,8 +17320,8 @@ const Wx = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="
|
|
|
17320
17320
|
blockquote: Qx,
|
|
17321
17321
|
bold: Jx,
|
|
17322
17322
|
clean: eA,
|
|
17323
|
-
code:
|
|
17324
|
-
"code-block":
|
|
17323
|
+
code: jl,
|
|
17324
|
+
"code-block": jl,
|
|
17325
17325
|
color: tA,
|
|
17326
17326
|
direction: {
|
|
17327
17327
|
"": nA,
|
|
@@ -17357,8 +17357,8 @@ const Wx = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="
|
|
|
17357
17357
|
underline: EA,
|
|
17358
17358
|
video: SA
|
|
17359
17359
|
}, TA = '<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>';
|
|
17360
|
-
let
|
|
17361
|
-
function
|
|
17360
|
+
let $l = 0;
|
|
17361
|
+
function _l(n, e) {
|
|
17362
17362
|
n.setAttribute(e, `${n.getAttribute(e) !== "true"}`);
|
|
17363
17363
|
}
|
|
17364
17364
|
class Oi {
|
|
@@ -17377,7 +17377,7 @@ class Oi {
|
|
|
17377
17377
|
}), this.select.addEventListener("change", this.update.bind(this));
|
|
17378
17378
|
}
|
|
17379
17379
|
togglePicker() {
|
|
17380
|
-
this.container.classList.toggle("ql-expanded"),
|
|
17380
|
+
this.container.classList.toggle("ql-expanded"), _l(this.label, "aria-expanded"), _l(this.options, "aria-hidden");
|
|
17381
17381
|
}
|
|
17382
17382
|
buildItem(e) {
|
|
17383
17383
|
const t = document.createElement("span");
|
|
@@ -17402,7 +17402,7 @@ class Oi {
|
|
|
17402
17402
|
}
|
|
17403
17403
|
buildOptions() {
|
|
17404
17404
|
const e = document.createElement("span");
|
|
17405
|
-
e.classList.add("ql-picker-options"), e.setAttribute("aria-hidden", "true"), e.tabIndex = "-1", e.id = `ql-picker-options-${
|
|
17405
|
+
e.classList.add("ql-picker-options"), e.setAttribute("aria-hidden", "true"), e.tabIndex = "-1", e.id = `ql-picker-options-${$l}`, $l += 1, this.label.setAttribute("aria-controls", e.id), this.options = e, Array.from(this.select.options).forEach((t) => {
|
|
17406
17406
|
const r = this.buildItem(t);
|
|
17407
17407
|
e.appendChild(r), t.selected === !0 && this.selectItem(r);
|
|
17408
17408
|
}), this.container.appendChild(e);
|
|
@@ -17437,7 +17437,7 @@ class Oi {
|
|
|
17437
17437
|
this.label.classList.toggle("ql-active", t);
|
|
17438
17438
|
}
|
|
17439
17439
|
}
|
|
17440
|
-
class
|
|
17440
|
+
class Oc extends Oi {
|
|
17441
17441
|
constructor(e, t) {
|
|
17442
17442
|
super(e), this.label.innerHTML = t, this.container.classList.add("ql-color-picker"), Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0, 7).forEach((r) => {
|
|
17443
17443
|
r.classList.add("ql-primary");
|
|
@@ -17453,7 +17453,7 @@ class Nc extends Oi {
|
|
|
17453
17453
|
r && (r.tagName === "line" ? r.style.stroke = s : r.style.fill = s);
|
|
17454
17454
|
}
|
|
17455
17455
|
}
|
|
17456
|
-
class
|
|
17456
|
+
class Nc extends Oi {
|
|
17457
17457
|
constructor(e, t) {
|
|
17458
17458
|
super(e), this.container.classList.add("ql-icon-picker"), Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach((r) => {
|
|
17459
17459
|
r.innerHTML = t[r.getAttribute("data-value") || ""];
|
|
@@ -17474,7 +17474,7 @@ const OA = (n) => {
|
|
|
17474
17474
|
} = getComputedStyle(n, null);
|
|
17475
17475
|
return e !== "visible" && e !== "clip";
|
|
17476
17476
|
};
|
|
17477
|
-
class
|
|
17477
|
+
class Cc {
|
|
17478
17478
|
constructor(e, t) {
|
|
17479
17479
|
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, OA(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
|
|
17480
17480
|
this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
|
|
@@ -17537,10 +17537,10 @@ class Ts extends Dr {
|
|
|
17537
17537
|
buildPickers(e, t) {
|
|
17538
17538
|
this.pickers = Array.from(e).map((s) => {
|
|
17539
17539
|
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Yr(s, NA), typeof t.align == "object"))
|
|
17540
|
-
return new
|
|
17540
|
+
return new Nc(s, t.align);
|
|
17541
17541
|
if (s.classList.contains("ql-background") || s.classList.contains("ql-color")) {
|
|
17542
17542
|
const o = s.classList.contains("ql-background") ? "background" : "color";
|
|
17543
|
-
return s.querySelector("option") == null && Yr(s, CA, o === "background" ? "#ffffff" : "#000000"), new
|
|
17543
|
+
return s.querySelector("option") == null && Yr(s, CA, o === "background" ? "#ffffff" : "#000000"), new Oc(s, t[o]);
|
|
17544
17544
|
}
|
|
17545
17545
|
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Yr(s, RA) : s.classList.contains("ql-header") ? Yr(s, IA) : s.classList.contains("ql-size") && Yr(s, LA)), new Oi(s);
|
|
17546
17546
|
});
|
|
@@ -17573,7 +17573,7 @@ Ts.DEFAULTS = Hn({}, Dr.DEFAULTS, {
|
|
|
17573
17573
|
}
|
|
17574
17574
|
}
|
|
17575
17575
|
});
|
|
17576
|
-
class
|
|
17576
|
+
class Rc extends Cc {
|
|
17577
17577
|
constructor(e, t) {
|
|
17578
17578
|
super(e, t), this.textbox = this.root.querySelector('input[type="text"]'), this.listen();
|
|
17579
17579
|
}
|
|
@@ -17647,7 +17647,7 @@ const PA = [["bold", "italic", "link"], [{
|
|
|
17647
17647
|
}, {
|
|
17648
17648
|
header: 2
|
|
17649
17649
|
}, "blockquote"]];
|
|
17650
|
-
class
|
|
17650
|
+
class Ic extends Rc {
|
|
17651
17651
|
constructor(e, t) {
|
|
17652
17652
|
super(e, t), this.quill.on(Oe.events.EDITOR_CHANGE, (r, s, o, a) => {
|
|
17653
17653
|
if (r === Oe.events.SELECTION_CHANGE)
|
|
@@ -17686,16 +17686,16 @@ class Lc extends Ic {
|
|
|
17686
17686
|
return r.style.marginLeft = "", t !== 0 && (r.style.marginLeft = `${-1 * t - r.offsetWidth / 2}px`), t;
|
|
17687
17687
|
}
|
|
17688
17688
|
}
|
|
17689
|
-
Ee(
|
|
17690
|
-
class
|
|
17689
|
+
Ee(Ic, "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(""));
|
|
17690
|
+
class Lc extends Ts {
|
|
17691
17691
|
constructor(e, t) {
|
|
17692
17692
|
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = PA), super(e, t), this.quill.container.classList.add("ql-bubble");
|
|
17693
17693
|
}
|
|
17694
17694
|
extendToolbar(e) {
|
|
17695
|
-
this.tooltip = new
|
|
17695
|
+
this.tooltip = new Ic(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), gs), this.buildPickers(e.container.querySelectorAll("select"), gs));
|
|
17696
17696
|
}
|
|
17697
17697
|
}
|
|
17698
|
-
|
|
17698
|
+
Lc.DEFAULTS = Hn({}, Ts.DEFAULTS, {
|
|
17699
17699
|
modules: {
|
|
17700
17700
|
toolbar: {
|
|
17701
17701
|
handlers: {
|
|
@@ -17713,7 +17713,7 @@ const FA = [[{
|
|
|
17713
17713
|
}, {
|
|
17714
17714
|
list: "bullet"
|
|
17715
17715
|
}], ["clean"]];
|
|
17716
|
-
class
|
|
17716
|
+
class kc extends Rc {
|
|
17717
17717
|
constructor() {
|
|
17718
17718
|
super(...arguments);
|
|
17719
17719
|
Ee(this, "preview", this.root.querySelector("a.ql-preview"));
|
|
@@ -17749,13 +17749,13 @@ class Pc extends Ic {
|
|
|
17749
17749
|
super.show(), this.root.removeAttribute("data-mode");
|
|
17750
17750
|
}
|
|
17751
17751
|
}
|
|
17752
|
-
Ee(
|
|
17753
|
-
class
|
|
17752
|
+
Ee(kc, "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(""));
|
|
17753
|
+
class Pc extends Ts {
|
|
17754
17754
|
constructor(e, t) {
|
|
17755
17755
|
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = FA), super(e, t), this.quill.container.classList.add("ql-snow");
|
|
17756
17756
|
}
|
|
17757
17757
|
extendToolbar(e) {
|
|
17758
|
-
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), gs), this.buildPickers(e.container.querySelectorAll("select"), gs), this.tooltip = new
|
|
17758
|
+
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), gs), this.buildPickers(e.container.querySelectorAll("select"), gs), this.tooltip = new kc(this.quill, this.options.bounds), e.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
|
|
17759
17759
|
key: "k",
|
|
17760
17760
|
shortKey: !0
|
|
17761
17761
|
}, (t, r) => {
|
|
@@ -17763,7 +17763,7 @@ class Fc extends Ts {
|
|
|
17763
17763
|
}));
|
|
17764
17764
|
}
|
|
17765
17765
|
}
|
|
17766
|
-
|
|
17766
|
+
Pc.DEFAULTS = Hn({}, Ts.DEFAULTS, {
|
|
17767
17767
|
modules: {
|
|
17768
17768
|
toolbar: {
|
|
17769
17769
|
handlers: {
|
|
@@ -17785,28 +17785,28 @@ Fc.DEFAULTS = Hn({}, Ts.DEFAULTS, {
|
|
|
17785
17785
|
}
|
|
17786
17786
|
});
|
|
17787
17787
|
ce.register({
|
|
17788
|
-
"attributors/attribute/direction":
|
|
17789
|
-
"attributors/class/align":
|
|
17788
|
+
"attributors/attribute/direction": dc,
|
|
17789
|
+
"attributors/class/align": uc,
|
|
17790
17790
|
"attributors/class/background": Qb,
|
|
17791
17791
|
"attributors/class/color": Zb,
|
|
17792
|
-
"attributors/class/direction":
|
|
17793
|
-
"attributors/class/font":
|
|
17794
|
-
"attributors/class/size":
|
|
17795
|
-
"attributors/style/align":
|
|
17792
|
+
"attributors/class/direction": hc,
|
|
17793
|
+
"attributors/class/font": vc,
|
|
17794
|
+
"attributors/class/size": yc,
|
|
17795
|
+
"attributors/style/align": cc,
|
|
17796
17796
|
"attributors/style/background": lo,
|
|
17797
17797
|
"attributors/style/color": oo,
|
|
17798
|
-
"attributors/style/direction":
|
|
17799
|
-
"attributors/style/font":
|
|
17800
|
-
"attributors/style/size":
|
|
17798
|
+
"attributors/style/direction": pc,
|
|
17799
|
+
"attributors/style/font": mc,
|
|
17800
|
+
"attributors/style/size": bc
|
|
17801
17801
|
}, !0);
|
|
17802
17802
|
ce.register({
|
|
17803
|
-
"formats/align":
|
|
17804
|
-
"formats/direction":
|
|
17803
|
+
"formats/align": uc,
|
|
17804
|
+
"formats/direction": hc,
|
|
17805
17805
|
"formats/indent": qx,
|
|
17806
17806
|
"formats/background": lo,
|
|
17807
17807
|
"formats/color": oo,
|
|
17808
|
-
"formats/font":
|
|
17809
|
-
"formats/size":
|
|
17808
|
+
"formats/font": vc,
|
|
17809
|
+
"formats/size": yc,
|
|
17810
17810
|
"formats/blockquote": Ba,
|
|
17811
17811
|
"formats/code-block": Ut,
|
|
17812
17812
|
"formats/header": Ua,
|
|
@@ -17821,16 +17821,16 @@ ce.register({
|
|
|
17821
17821
|
"formats/formula": Js,
|
|
17822
17822
|
"formats/image": qa,
|
|
17823
17823
|
"formats/video": ei,
|
|
17824
|
-
"modules/syntax":
|
|
17824
|
+
"modules/syntax": Tc,
|
|
17825
17825
|
"modules/table": Hx,
|
|
17826
17826
|
"modules/toolbar": go,
|
|
17827
|
-
"themes/bubble":
|
|
17828
|
-
"themes/snow":
|
|
17827
|
+
"themes/bubble": Lc,
|
|
17828
|
+
"themes/snow": Pc,
|
|
17829
17829
|
"ui/icons": gs,
|
|
17830
17830
|
"ui/picker": Oi,
|
|
17831
|
-
"ui/icon-picker":
|
|
17832
|
-
"ui/color-picker":
|
|
17833
|
-
"ui/tooltip":
|
|
17831
|
+
"ui/icon-picker": Nc,
|
|
17832
|
+
"ui/color-picker": Oc,
|
|
17833
|
+
"ui/tooltip": Cc
|
|
17834
17834
|
}, !0);
|
|
17835
17835
|
const MA = {
|
|
17836
17836
|
name: "QuillEditor",
|
|
@@ -17874,7 +17874,7 @@ const MA = {
|
|
|
17874
17874
|
(s) => {
|
|
17875
17875
|
r && r.root.innerHTML !== s && (r.root.innerHTML = s);
|
|
17876
17876
|
}
|
|
17877
|
-
),
|
|
17877
|
+
), Vl(() => {
|
|
17878
17878
|
r = null;
|
|
17879
17879
|
}), {
|
|
17880
17880
|
editorContainer: t
|
|
@@ -17913,7 +17913,7 @@ const jA = /* @__PURE__ */ ms(MA, [["render", DA]]), $A = { class: "rounded-xl b
|
|
|
17913
17913
|
Pr(e.$slots, "default")
|
|
17914
17914
|
]));
|
|
17915
17915
|
}
|
|
17916
|
-
}, HA = { class: "item-edit" }, VA = { class: "flex items-start gap-4 px-6 pt-4 h-full" }, GA = { class: "flex flex-1 flex-col gap-4" }, WA = { class: "flex flex-col gap-8" }, KA = { class: "flex flex-col gap-8" }, XA = { class: "flex flex-col gap-4" }, YA = { class: "flex w-full max-w-[356px] flex-col gap-4" }, ZA = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" }, Tw = {
|
|
17916
|
+
}, HA = { class: "item-edit" }, VA = { class: "flex items-start gap-4 px-6 pt-4 h-full min-h-[90vh]" }, GA = { class: "flex flex-1 flex-col gap-4" }, WA = { class: "flex flex-col gap-8" }, KA = { class: "flex flex-col gap-8" }, XA = { class: "flex flex-col gap-4" }, YA = { class: "flex w-full max-w-[356px] flex-col gap-4" }, ZA = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" }, Tw = {
|
|
17917
17917
|
__name: "ItemEdit",
|
|
17918
17918
|
props: {
|
|
17919
17919
|
item: {
|
|
@@ -17935,7 +17935,7 @@ const jA = /* @__PURE__ */ ms(MA, [["render", DA]]), $A = { class: "rounded-xl b
|
|
|
17935
17935
|
},
|
|
17936
17936
|
emits: ["update"],
|
|
17937
17937
|
setup(n, { emit: e }) {
|
|
17938
|
-
const t = ar("VFileUpload",
|
|
17938
|
+
const t = ar("VFileUpload", bu), r = e, s = n, o = Pe({
|
|
17939
17939
|
public: s.item.public,
|
|
17940
17940
|
title: s.item.title,
|
|
17941
17941
|
description: s.item.description,
|
|
@@ -18004,7 +18004,7 @@ const jA = /* @__PURE__ */ ms(MA, [["render", DA]]), $A = { class: "rounded-xl b
|
|
|
18004
18004
|
}),
|
|
18005
18005
|
o.value.hasOwnProperty("primary_button") ? (re(), At(Zr, {
|
|
18006
18006
|
key: 0,
|
|
18007
|
-
title: ((f = (d =
|
|
18007
|
+
title: ((f = (d = o.value) == null ? void 0 : d.primary_button) == null ? void 0 : f.name) ?? "Primary button"
|
|
18008
18008
|
}, {
|
|
18009
18009
|
default: xt(() => [
|
|
18010
18010
|
H("div", KA, [
|
|
@@ -18052,55 +18052,50 @@ const jA = /* @__PURE__ */ ms(MA, [["render", DA]]), $A = { class: "rounded-xl b
|
|
|
18052
18052
|
}, 8, ["title"])) : He("", !0),
|
|
18053
18053
|
o.value.hasOwnProperty("secondary_button") ? (re(), At(Zr, {
|
|
18054
18054
|
key: 1,
|
|
18055
|
-
title: ((h = (g =
|
|
18055
|
+
title: ((h = (g = o.value) == null ? void 0 : g.secondary_button) == null ? void 0 : h.name) ?? "Secondary button"
|
|
18056
18056
|
}, {
|
|
18057
|
-
default: xt(() =>
|
|
18058
|
-
|
|
18059
|
-
|
|
18060
|
-
|
|
18061
|
-
|
|
18062
|
-
|
|
18063
|
-
|
|
18064
|
-
|
|
18065
|
-
|
|
18066
|
-
|
|
18067
|
-
|
|
18068
|
-
|
|
18069
|
-
|
|
18070
|
-
|
|
18071
|
-
|
|
18072
|
-
|
|
18073
|
-
|
|
18074
|
-
|
|
18075
|
-
|
|
18076
|
-
|
|
18077
|
-
|
|
18078
|
-
|
|
18079
|
-
|
|
18080
|
-
|
|
18081
|
-
|
|
18082
|
-
|
|
18083
|
-
|
|
18084
|
-
|
|
18085
|
-
|
|
18086
|
-
|
|
18087
|
-
|
|
18088
|
-
|
|
18089
|
-
|
|
18090
|
-
|
|
18091
|
-
|
|
18092
|
-
|
|
18093
|
-
|
|
18094
|
-
|
|
18095
|
-
|
|
18096
|
-
|
|
18097
|
-
|
|
18098
|
-
|
|
18099
|
-
}, null, 8, ["type", "url", "openInNewTab", "sites"])
|
|
18100
|
-
], 64)) : He("", !0)
|
|
18101
|
-
])
|
|
18102
|
-
];
|
|
18103
|
-
}),
|
|
18057
|
+
default: xt(() => [
|
|
18058
|
+
H("div", XA, [
|
|
18059
|
+
Be(Ks, {
|
|
18060
|
+
name: "show",
|
|
18061
|
+
modelValue: o.value.secondary_button.show,
|
|
18062
|
+
"onUpdate:modelValue": c[7] || (c[7] = (v) => o.value.secondary_button.show = v),
|
|
18063
|
+
title: "Show Button"
|
|
18064
|
+
}, null, 8, ["modelValue"]),
|
|
18065
|
+
Be(yn, {
|
|
18066
|
+
"is-vertical": "",
|
|
18067
|
+
field: "secondary_button.label",
|
|
18068
|
+
"label-text": "Button Label *",
|
|
18069
|
+
class: "w-full mb-4",
|
|
18070
|
+
value: o.value.secondary_button.label,
|
|
18071
|
+
limit: 20
|
|
18072
|
+
}, {
|
|
18073
|
+
default: xt(() => [
|
|
18074
|
+
Vt(H("input", {
|
|
18075
|
+
"onUpdate:modelValue": c[8] || (c[8] = (v) => o.value.secondary_button.label = v),
|
|
18076
|
+
name: "secondary_button.label",
|
|
18077
|
+
type: "text",
|
|
18078
|
+
placeholder: "Label",
|
|
18079
|
+
maxlength: 20,
|
|
18080
|
+
class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
|
|
18081
|
+
}, null, 512), [
|
|
18082
|
+
[Ln, o.value.secondary_button.label]
|
|
18083
|
+
])
|
|
18084
|
+
]),
|
|
18085
|
+
_: 1
|
|
18086
|
+
}, 8, ["value"]),
|
|
18087
|
+
Be(ti, {
|
|
18088
|
+
name: "secondary",
|
|
18089
|
+
type: o.value.secondary_button.type,
|
|
18090
|
+
"onUpdate:type": c[9] || (c[9] = (v) => o.value.secondary_button.type = v),
|
|
18091
|
+
url: o.value.secondary_button.url,
|
|
18092
|
+
"onUpdate:url": c[10] || (c[10] = (v) => o.value.secondary_button.url = v),
|
|
18093
|
+
openInNewTab: o.value.secondary_button.open_in_new_tab,
|
|
18094
|
+
"onUpdate:openInNewTab": c[11] || (c[11] = (v) => o.value.secondary_button.open_in_new_tab = v),
|
|
18095
|
+
sites: n.sites
|
|
18096
|
+
}, null, 8, ["type", "url", "openInNewTab", "sites"])
|
|
18097
|
+
])
|
|
18098
|
+
]),
|
|
18104
18099
|
_: 1
|
|
18105
18100
|
}, 8, ["title"])) : He("", !0)
|
|
18106
18101
|
]),
|