ablok-components 0.1.87 → 0.1.89
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/ablok-components.es.js +293 -296
- package/dist/ablok-components.umd.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as JA, openBlock as rA, createElementBlock as iA, normalizeClass as IA, createElementVNode as
|
|
1
|
+
import { defineComponent as JA, openBlock as rA, createElementBlock as iA, normalizeClass as IA, createElementVNode as R, renderSlot as ce, computed as GA, createBlock as Lw, resolveDynamicComponent as E1, unref as z, withCtx as Pr, createTextVNode as F1, toDisplayString as Fe, resolveComponent as un, createCommentVNode as xe, withDirectives as Vr, isRef as ar, vModelDynamic as U1, vModelText as Ow, withModifiers as lr, vModelCheckbox as Od, ref as RA, Fragment as Yr, renderList as xi, onBeforeMount as Md, reactive as Mw, watch as Gr, onMounted as Ss, onBeforeUnmount as Ko, h as rr, getCurrentInstance as Vl, watchEffect as b1, nextTick as I1, Teleport as S1, shallowRef as Dw, markRaw as T1, customRef as x1, createVNode as VA, inject as H1, onUnmounted as _1, Text as L1, Transition as kw, vModelRadio as O1, vShow as M1, normalizeStyle as D1 } from "vue";
|
|
2
2
|
import { applyStyles as k1, createPopper as N1 } from "@popperjs/core";
|
|
3
3
|
const R1 = {
|
|
4
4
|
class: "icon",
|
|
@@ -30,7 +30,7 @@ const R1 = {
|
|
|
30
30
|
}])
|
|
31
31
|
}, [
|
|
32
32
|
(rA(), iA("svg", R1, [
|
|
33
|
-
|
|
33
|
+
R("use", {
|
|
34
34
|
"xlink:href": `${t.basePath}#${t.prefix}${t.symbol}`,
|
|
35
35
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
36
36
|
x: "0",
|
|
@@ -51,7 +51,7 @@ const P1 = { class: "loading-spinner d-block" }, V1 = { class: "loading-spinner_
|
|
|
51
51
|
viewBox: "0 0 100 100",
|
|
52
52
|
"enable-background": "new 0 0 0 0",
|
|
53
53
|
"xml:space": "preserve"
|
|
54
|
-
}, W1 = ["fill"], $1 = /* @__PURE__ */
|
|
54
|
+
}, W1 = ["fill"], $1 = /* @__PURE__ */ R("animateTransform", {
|
|
55
55
|
attributeName: "transform",
|
|
56
56
|
attributeType: "XML",
|
|
57
57
|
type: "rotate",
|
|
@@ -71,15 +71,15 @@ const P1 = { class: "loading-spinner d-block" }, V1 = { class: "loading-spinner_
|
|
|
71
71
|
},
|
|
72
72
|
setup(t) {
|
|
73
73
|
return (A, e) => (rA(), iA("span", P1, [
|
|
74
|
-
|
|
74
|
+
R("span", V1, [
|
|
75
75
|
(rA(), iA("svg", G1, [
|
|
76
|
-
|
|
76
|
+
R("path", {
|
|
77
77
|
fill: t.color,
|
|
78
78
|
d: "M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"
|
|
79
79
|
}, J1, 8, W1)
|
|
80
80
|
]))
|
|
81
81
|
]),
|
|
82
|
-
|
|
82
|
+
ce(A.$slots, "default")
|
|
83
83
|
]));
|
|
84
84
|
}
|
|
85
85
|
});
|
|
@@ -98,7 +98,7 @@ const tG = /* @__PURE__ */ JA({
|
|
|
98
98
|
class: IA(["headline", `${t.size} headline--${t.size}${t.className || ""}`])
|
|
99
99
|
}, {
|
|
100
100
|
default: Pr(() => [
|
|
101
|
-
|
|
101
|
+
ce(n.$slots, "default", {}, () => [
|
|
102
102
|
F1(Fe(t.text), 1)
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
@@ -114,13 +114,10 @@ const tG = /* @__PURE__ */ JA({
|
|
|
114
114
|
className: null
|
|
115
115
|
},
|
|
116
116
|
setup(t) {
|
|
117
|
-
return (A, e) => (rA(), iA("
|
|
118
|
-
class: IA(["base-paragraph", `${t.size} ${t.className || ""}`])
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
N("p", { innerHTML: t.text }, null, 8, X1)
|
|
122
|
-
])
|
|
123
|
-
], 2));
|
|
117
|
+
return (A, e) => (rA(), iA("p", {
|
|
118
|
+
class: IA(["base-paragraph", `${t.size || ""} ${t.className || ""}`]),
|
|
119
|
+
innerHTML: t.text
|
|
120
|
+
}, null, 10, X1));
|
|
124
121
|
}
|
|
125
122
|
});
|
|
126
123
|
function Me() {
|
|
@@ -157,11 +154,11 @@ const Y1 = { class: "accordion-item" }, z1 = ["id"], q1 = ["data-bs-target", "ar
|
|
|
157
154
|
A("update:modelValue", !e.modelValue);
|
|
158
155
|
}
|
|
159
156
|
return (r, i) => (rA(), iA("div", Y1, [
|
|
160
|
-
|
|
157
|
+
R("div", {
|
|
161
158
|
class: "accordion-header",
|
|
162
159
|
id: `heading${t.id}`
|
|
163
160
|
}, [
|
|
164
|
-
|
|
161
|
+
R("button", {
|
|
165
162
|
class: IA(["accordion-button", !t.modelValue && "collapsed"]),
|
|
166
163
|
type: "button",
|
|
167
164
|
"data-bs-toggle": "collapse",
|
|
@@ -170,20 +167,20 @@ const Y1 = { class: "accordion-item" }, z1 = ["id"], q1 = ["data-bs-target", "ar
|
|
|
170
167
|
"aria-controls": `target${t.id}`,
|
|
171
168
|
onClick: n
|
|
172
169
|
}, [
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
ce(r.$slots, "toggle", {}, () => [
|
|
171
|
+
R("span", Z1, Fe(t.title), 1)
|
|
175
172
|
])
|
|
176
173
|
], 10, q1)
|
|
177
174
|
], 8, z1),
|
|
178
|
-
|
|
175
|
+
R("div", {
|
|
179
176
|
class: IA(["accordion-collapse collapse", t.modelValue && "show"]),
|
|
180
177
|
id: `target${t.id}`,
|
|
181
178
|
"aria-labelledby": `heading${t.id}`,
|
|
182
179
|
"data-bs-parent": t.parent
|
|
183
180
|
}, [
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
181
|
+
R("div", AS, [
|
|
182
|
+
ce(r.$slots, "body", {}, () => [
|
|
183
|
+
R("article", { innerHTML: t.body }, null, 8, eS)
|
|
187
184
|
])
|
|
188
185
|
])
|
|
189
186
|
], 10, j1)
|
|
@@ -198,7 +195,7 @@ const tS = (t, A) => {
|
|
|
198
195
|
}, nS = {}, rS = { class: "accordion" };
|
|
199
196
|
function iS(t, A) {
|
|
200
197
|
return rA(), iA("div", rS, [
|
|
201
|
-
|
|
198
|
+
ce(t.$slots, "default")
|
|
202
199
|
]);
|
|
203
200
|
}
|
|
204
201
|
const iG = /* @__PURE__ */ tS(nS, [["render", iS]]), sS = ["type", "disabled"], sG = /* @__PURE__ */ JA({
|
|
@@ -264,7 +261,7 @@ const iG = /* @__PURE__ */ tS(nS, [["render", iS]]), sS = ["type", "disabled"],
|
|
|
264
261
|
"x-small": t.size === "x-small"
|
|
265
262
|
}])
|
|
266
263
|
}, [
|
|
267
|
-
|
|
264
|
+
ce(n.$slots, "default", {}, () => [
|
|
268
265
|
t.icon ? (rA(), Lw(i, {
|
|
269
266
|
key: 0,
|
|
270
267
|
symbol: t.icon,
|
|
@@ -359,9 +356,9 @@ const oS = { class: "input-group input__input-group" }, aS = ["type", "id", "nam
|
|
|
359
356
|
return (r, i) => (rA(), iA("div", {
|
|
360
357
|
class: IA(["input", `input--${t.type}`])
|
|
361
358
|
}, [
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
Vr(
|
|
359
|
+
R("div", oS, [
|
|
360
|
+
ce(r.$slots, "input-prepend", { slotScope: "props" }),
|
|
361
|
+
Vr(R("input", {
|
|
365
362
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => ar(n) ? n.value = s : null),
|
|
366
363
|
type: t.type === "color" ? "text" : t.type,
|
|
367
364
|
id: t.id,
|
|
@@ -383,9 +380,9 @@ const oS = { class: "input-group input__input-group" }, aS = ["type", "id", "nam
|
|
|
383
380
|
}, null, 10, aS), [
|
|
384
381
|
[U1, z(n)]
|
|
385
382
|
]),
|
|
386
|
-
|
|
383
|
+
ce(r.$slots, "input-append", { slotScope: "props" })
|
|
387
384
|
]),
|
|
388
|
-
|
|
385
|
+
ce(r.$slots, "label", {}, () => [
|
|
389
386
|
t.label ? (rA(), iA("label", {
|
|
390
387
|
key: 0,
|
|
391
388
|
for: t.id,
|
|
@@ -464,8 +461,8 @@ const uS = { class: "input input--textarea" }, cS = ["type", "id", "name", "plac
|
|
|
464
461
|
}
|
|
465
462
|
});
|
|
466
463
|
return (r, i) => (rA(), iA("div", uS, [
|
|
467
|
-
|
|
468
|
-
Vr(
|
|
464
|
+
ce(r.$slots, "input-prepend"),
|
|
465
|
+
Vr(R("textarea", {
|
|
469
466
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => ar(n) ? n.value = s : null),
|
|
470
467
|
type: t.type,
|
|
471
468
|
id: t.id,
|
|
@@ -481,9 +478,9 @@ const uS = { class: "input input--textarea" }, cS = ["type", "id", "name", "plac
|
|
|
481
478
|
}, null, 8, cS), [
|
|
482
479
|
[Ow, z(n)]
|
|
483
480
|
]),
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
481
|
+
ce(r.$slots, "input-append"),
|
|
482
|
+
ce(r.$slots, "label", {}, () => [
|
|
483
|
+
R("label", {
|
|
487
484
|
for: t.id,
|
|
488
485
|
class: IA(["input__label", {
|
|
489
486
|
"form-check-label": t.type === "checkbox"
|
|
@@ -493,7 +490,7 @@ const uS = { class: "input input--textarea" }, cS = ["type", "id", "name", "plac
|
|
|
493
490
|
])
|
|
494
491
|
]));
|
|
495
492
|
}
|
|
496
|
-
}), dS = ["value", "id", "name", "required", "disabled", "true-value", "false-value"], hS = ["for", "innerHTML"], pS = /* @__PURE__ */
|
|
493
|
+
}), dS = ["value", "id", "name", "required", "disabled", "true-value", "false-value"], hS = ["for", "innerHTML"], pS = /* @__PURE__ */ R("span", { class: "input__error" }, "error", -1), lG = /* @__PURE__ */ JA({
|
|
497
494
|
__name: "input-checkbox",
|
|
498
495
|
props: {
|
|
499
496
|
id: {
|
|
@@ -552,7 +549,7 @@ const uS = { class: "input input--textarea" }, cS = ["type", "id", "name", "plac
|
|
|
552
549
|
class: "form-check input input--checkbox",
|
|
553
550
|
onClick: i[1] || (i[1] = lr((s) => r.void, ["stop"]))
|
|
554
551
|
}, [
|
|
555
|
-
Vr(
|
|
552
|
+
Vr(R("input", {
|
|
556
553
|
ref: "input",
|
|
557
554
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => ar(n) ? n.value = s : null),
|
|
558
555
|
value: t.value,
|
|
@@ -567,7 +564,7 @@ const uS = { class: "input input--textarea" }, cS = ["type", "id", "name", "plac
|
|
|
567
564
|
}, null, 8, dS), [
|
|
568
565
|
[Od, z(n)]
|
|
569
566
|
]),
|
|
570
|
-
|
|
567
|
+
R("label", {
|
|
571
568
|
class: "input__label form-check-label",
|
|
572
569
|
for: t.id,
|
|
573
570
|
innerHTML: t.label
|
|
@@ -635,7 +632,7 @@ const gS = { class: "check-group" }, BS = ["id", "name", "value", "disabled", "r
|
|
|
635
632
|
key: u,
|
|
636
633
|
class: "form-check"
|
|
637
634
|
}, [
|
|
638
|
-
Vr(
|
|
635
|
+
Vr(R("input", {
|
|
639
636
|
type: "checkbox",
|
|
640
637
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => ar(n) ? n.value = c : null),
|
|
641
638
|
id: `${t.id}-${u}`,
|
|
@@ -648,7 +645,7 @@ const gS = { class: "check-group" }, BS = ["id", "name", "value", "disabled", "r
|
|
|
648
645
|
}, null, 8, BS), [
|
|
649
646
|
[Od, z(n)]
|
|
650
647
|
]),
|
|
651
|
-
|
|
648
|
+
R("label", {
|
|
652
649
|
class: "form-check-label",
|
|
653
650
|
for: `${t.id}-${u}`,
|
|
654
651
|
innerHTML: a.text
|
|
@@ -709,7 +706,7 @@ const wS = { class: "input radio-group" }, CS = ["id", "name", "value", "checked
|
|
|
709
706
|
key: a,
|
|
710
707
|
class: "form-check"
|
|
711
708
|
}, [
|
|
712
|
-
|
|
709
|
+
R("input", {
|
|
713
710
|
type: "radio",
|
|
714
711
|
id: `${t.id}-${a}`,
|
|
715
712
|
name: t.name,
|
|
@@ -721,13 +718,13 @@ const wS = { class: "input radio-group" }, CS = ["id", "name", "value", "checked
|
|
|
721
718
|
required: t.required,
|
|
722
719
|
onChange: (u) => n(s)
|
|
723
720
|
}, null, 40, CS),
|
|
724
|
-
|
|
721
|
+
R("label", {
|
|
725
722
|
class: "form-check-label",
|
|
726
723
|
for: `${t.id}-${a}`,
|
|
727
724
|
innerHTML: t.label
|
|
728
725
|
}, null, 8, yS)
|
|
729
726
|
]))), 128)),
|
|
730
|
-
|
|
727
|
+
ce(r.$slots, "label", {}, () => [
|
|
731
728
|
t.label ? (rA(), iA("label", {
|
|
732
729
|
key: 0,
|
|
733
730
|
for: t.id
|
|
@@ -736,7 +733,7 @@ const wS = { class: "input radio-group" }, CS = ["id", "name", "value", "checked
|
|
|
736
733
|
]));
|
|
737
734
|
}
|
|
738
735
|
});
|
|
739
|
-
const vS = ["id", "name", "multiple", "accept", "disabled"], ES = { class: "input__input-group input-group" }, FS = ["value", "id", "name", "disabled"], US = ["for", "disabled"], bS = /* @__PURE__ */
|
|
736
|
+
const vS = ["id", "name", "multiple", "accept", "disabled"], ES = { class: "input__input-group input-group" }, FS = ["value", "id", "name", "disabled"], US = ["for", "disabled"], bS = /* @__PURE__ */ R("span", { class: "btn btn-outline-dark" }, "Select File", -1), IS = ["for"], SS = ["innerHTML"], fG = /* @__PURE__ */ JA({
|
|
740
737
|
__name: "input-file",
|
|
741
738
|
props: {
|
|
742
739
|
modelValue: {
|
|
@@ -804,7 +801,7 @@ const vS = ["id", "name", "multiple", "accept", "disabled"], ES = { class: "inpu
|
|
|
804
801
|
}, { deep: !0 }), (a, u) => (rA(), iA("div", {
|
|
805
802
|
class: IA(["input input-file", "input-file--primary"])
|
|
806
803
|
}, [
|
|
807
|
-
|
|
804
|
+
R("input", {
|
|
808
805
|
ref_key: "input",
|
|
809
806
|
ref: r,
|
|
810
807
|
type: "file",
|
|
@@ -816,9 +813,9 @@ const vS = ["id", "name", "multiple", "accept", "disabled"], ES = { class: "inpu
|
|
|
816
813
|
accept: t.accept,
|
|
817
814
|
disabled: t.disabled
|
|
818
815
|
}, null, 40, vS),
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
816
|
+
R("div", ES, [
|
|
817
|
+
ce(a.$slots, "input-prepend"),
|
|
818
|
+
R("input", {
|
|
822
819
|
type: "text",
|
|
823
820
|
value: z(s),
|
|
824
821
|
id: t.id,
|
|
@@ -826,20 +823,20 @@ const vS = ["id", "name", "multiple", "accept", "disabled"], ES = { class: "inpu
|
|
|
826
823
|
class: "form-control",
|
|
827
824
|
disabled: t.disabled
|
|
828
825
|
}, null, 8, FS),
|
|
829
|
-
|
|
830
|
-
|
|
826
|
+
ce(a.$slots, "input-append", {}, () => [
|
|
827
|
+
R("label", {
|
|
831
828
|
for: t.id,
|
|
832
829
|
disabled: t.disabled
|
|
833
830
|
}, [
|
|
834
|
-
|
|
831
|
+
ce(a.$slots, "button", {}, () => [
|
|
835
832
|
bS
|
|
836
833
|
])
|
|
837
834
|
], 8, US)
|
|
838
835
|
])
|
|
839
836
|
]),
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
837
|
+
R("label", { for: t.id }, [
|
|
838
|
+
ce(a.$slots, "label", {}, () => [
|
|
839
|
+
R("span", {
|
|
843
840
|
class: "input__label",
|
|
844
841
|
innerHTML: `${t.label}${t.required ? " *" : ""}`
|
|
845
842
|
}, null, 8, SS)
|
|
@@ -13900,8 +13897,8 @@ function GO(t, A) {
|
|
|
13900
13897
|
return process.env.NODE_ENV !== "production" && qf(!0, "render() function has not been supplied."), v;
|
|
13901
13898
|
var S = e.render(v), H = S.popper, k = S.onUpdate;
|
|
13902
13899
|
H.setAttribute("data-tippy-root", ""), H.id = "tippy-" + v.id, v.popper = H, t._tippy = v, H._tippy = v;
|
|
13903
|
-
var W = U.map(function(
|
|
13904
|
-
return
|
|
13900
|
+
var W = U.map(function(N) {
|
|
13901
|
+
return N.fn(v);
|
|
13905
13902
|
}), $ = t.hasAttribute("aria-expanded");
|
|
13906
13903
|
return ct(), re(), xA(), yA("onCreate", [v]), e.showOnCreate && XA(), H.addEventListener("mouseenter", function() {
|
|
13907
13904
|
v.props.interactive && v.state.isVisible && v.clearDelayTimeouts();
|
|
@@ -13909,44 +13906,44 @@ function GO(t, A) {
|
|
|
13909
13906
|
v.props.interactive && v.props.trigger.indexOf("mouseenter") >= 0 && LA().addEventListener("mousemove", w);
|
|
13910
13907
|
}), v;
|
|
13911
13908
|
function AA() {
|
|
13912
|
-
var
|
|
13913
|
-
return Array.isArray(
|
|
13909
|
+
var N = v.props.touch;
|
|
13910
|
+
return Array.isArray(N) ? N : [N, 0];
|
|
13914
13911
|
}
|
|
13915
13912
|
function wA() {
|
|
13916
13913
|
return AA()[0] === "hold";
|
|
13917
13914
|
}
|
|
13918
13915
|
function QA() {
|
|
13919
|
-
var
|
|
13920
|
-
return !!((
|
|
13916
|
+
var N;
|
|
13917
|
+
return !!((N = v.props.render) != null && N.$$tippy);
|
|
13921
13918
|
}
|
|
13922
13919
|
function cA() {
|
|
13923
13920
|
return Q || t;
|
|
13924
13921
|
}
|
|
13925
13922
|
function LA() {
|
|
13926
|
-
var
|
|
13927
|
-
return
|
|
13923
|
+
var N = cA().parentNode;
|
|
13924
|
+
return N ? IO(N) : document;
|
|
13928
13925
|
}
|
|
13929
13926
|
function zA() {
|
|
13930
13927
|
return jf(H);
|
|
13931
13928
|
}
|
|
13932
|
-
function TA(
|
|
13933
|
-
return v.state.isMounted && !v.state.isVisible || Tn.isTouch || d && d.type === "focus" ? 0 : nf(v.props.delay,
|
|
13929
|
+
function TA(N) {
|
|
13930
|
+
return v.state.isMounted && !v.state.isVisible || Tn.isTouch || d && d.type === "focus" ? 0 : nf(v.props.delay, N ? 0 : 1, Gt.delay);
|
|
13934
13931
|
}
|
|
13935
|
-
function xA(
|
|
13936
|
-
|
|
13932
|
+
function xA(N) {
|
|
13933
|
+
N === void 0 && (N = !1), H.style.pointerEvents = v.props.interactive && !N ? "" : "none", H.style.zIndex = "" + v.props.zIndex;
|
|
13937
13934
|
}
|
|
13938
|
-
function yA(
|
|
13935
|
+
function yA(N, oA, fA) {
|
|
13939
13936
|
if (fA === void 0 && (fA = !0), W.forEach(function(kA) {
|
|
13940
|
-
kA[
|
|
13937
|
+
kA[N] && kA[N].apply(kA, oA);
|
|
13941
13938
|
}), fA) {
|
|
13942
13939
|
var KA;
|
|
13943
|
-
(KA = v.props)[
|
|
13940
|
+
(KA = v.props)[N].apply(KA, oA);
|
|
13944
13941
|
}
|
|
13945
13942
|
}
|
|
13946
13943
|
function fe() {
|
|
13947
|
-
var
|
|
13948
|
-
if (
|
|
13949
|
-
var oA = "aria-" +
|
|
13944
|
+
var N = v.props.aria;
|
|
13945
|
+
if (N.content) {
|
|
13946
|
+
var oA = "aria-" + N.content, fA = H.id, KA = is(v.props.triggerTarget || t);
|
|
13950
13947
|
KA.forEach(function(kA) {
|
|
13951
13948
|
var We = kA.getAttribute(oA);
|
|
13952
13949
|
if (v.state.isVisible)
|
|
@@ -13960,20 +13957,20 @@ function GO(t, A) {
|
|
|
13960
13957
|
}
|
|
13961
13958
|
function re() {
|
|
13962
13959
|
if (!($ || !v.props.aria.expanded)) {
|
|
13963
|
-
var
|
|
13964
|
-
|
|
13960
|
+
var N = is(v.props.triggerTarget || t);
|
|
13961
|
+
N.forEach(function(oA) {
|
|
13965
13962
|
v.props.interactive ? oA.setAttribute("aria-expanded", v.state.isVisible && oA === cA() ? "true" : "false") : oA.removeAttribute("aria-expanded");
|
|
13966
13963
|
});
|
|
13967
13964
|
}
|
|
13968
13965
|
}
|
|
13969
13966
|
function qA() {
|
|
13970
|
-
LA().removeEventListener("mousemove", w), Na = Na.filter(function(
|
|
13971
|
-
return
|
|
13967
|
+
LA().removeEventListener("mousemove", w), Na = Na.filter(function(N) {
|
|
13968
|
+
return N !== w;
|
|
13972
13969
|
});
|
|
13973
13970
|
}
|
|
13974
|
-
function ve(
|
|
13975
|
-
if (!(Tn.isTouch && (u ||
|
|
13976
|
-
var oA =
|
|
13971
|
+
function ve(N) {
|
|
13972
|
+
if (!(Tn.isTouch && (u || N.type === "mousedown"))) {
|
|
13973
|
+
var oA = N.composedPath && N.composedPath()[0] || N.target;
|
|
13977
13974
|
if (!(v.props.interactive && em(H, oA))) {
|
|
13978
13975
|
if (is(v.props.triggerTarget || t).some(function(fA) {
|
|
13979
13976
|
return em(fA, oA);
|
|
@@ -13981,7 +13978,7 @@ function GO(t, A) {
|
|
|
13981
13978
|
if (Tn.isTouch || v.state.isVisible && v.props.trigger.indexOf("click") >= 0)
|
|
13982
13979
|
return;
|
|
13983
13980
|
} else
|
|
13984
|
-
yA("onClickOutside", [v,
|
|
13981
|
+
yA("onClickOutside", [v, N]);
|
|
13985
13982
|
v.props.hideOnClick === !0 && (v.clearDelayTimeouts(), v.hide(), a = !0, setTimeout(function() {
|
|
13986
13983
|
a = !1;
|
|
13987
13984
|
}), v.state.isMounted || Be());
|
|
@@ -13995,37 +13992,37 @@ function GO(t, A) {
|
|
|
13995
13992
|
u = !1;
|
|
13996
13993
|
}
|
|
13997
13994
|
function ie() {
|
|
13998
|
-
var
|
|
13999
|
-
|
|
13995
|
+
var N = LA();
|
|
13996
|
+
N.addEventListener("mousedown", ve, !0), N.addEventListener("touchend", ve, ci), N.addEventListener("touchstart", De, ci), N.addEventListener("touchmove", Ee, ci);
|
|
14000
13997
|
}
|
|
14001
13998
|
function Be() {
|
|
14002
|
-
var
|
|
14003
|
-
|
|
13999
|
+
var N = LA();
|
|
14000
|
+
N.removeEventListener("mousedown", ve, !0), N.removeEventListener("touchend", ve, ci), N.removeEventListener("touchstart", De, ci), N.removeEventListener("touchmove", Ee, ci);
|
|
14004
14001
|
}
|
|
14005
|
-
function lt(
|
|
14006
|
-
At(
|
|
14002
|
+
function lt(N, oA) {
|
|
14003
|
+
At(N, function() {
|
|
14007
14004
|
!v.state.isVisible && H.parentNode && H.parentNode.contains(H) && oA();
|
|
14008
14005
|
});
|
|
14009
14006
|
}
|
|
14010
|
-
function ut(
|
|
14011
|
-
At(
|
|
14007
|
+
function ut(N, oA) {
|
|
14008
|
+
At(N, oA);
|
|
14012
14009
|
}
|
|
14013
|
-
function At(
|
|
14010
|
+
function At(N, oA) {
|
|
14014
14011
|
var fA = zA().box;
|
|
14015
14012
|
function KA(kA) {
|
|
14016
14013
|
kA.target === fA && (sf(fA, "remove", KA), oA());
|
|
14017
14014
|
}
|
|
14018
|
-
if (
|
|
14015
|
+
if (N === 0)
|
|
14019
14016
|
return oA();
|
|
14020
14017
|
sf(fA, "remove", h), sf(fA, "add", KA), h = KA;
|
|
14021
14018
|
}
|
|
14022
|
-
function Pe(
|
|
14019
|
+
function Pe(N, oA, fA) {
|
|
14023
14020
|
fA === void 0 && (fA = !1);
|
|
14024
14021
|
var KA = is(v.props.triggerTarget || t);
|
|
14025
14022
|
KA.forEach(function(kA) {
|
|
14026
|
-
kA.addEventListener(
|
|
14023
|
+
kA.addEventListener(N, oA, fA), B.push({
|
|
14027
14024
|
node: kA,
|
|
14028
|
-
eventType:
|
|
14025
|
+
eventType: N,
|
|
14029
14026
|
handler: oA,
|
|
14030
14027
|
options: fA
|
|
14031
14028
|
});
|
|
@@ -14036,9 +14033,9 @@ function GO(t, A) {
|
|
|
14036
14033
|
passive: !0
|
|
14037
14034
|
}), Pe("touchend", D, {
|
|
14038
14035
|
passive: !0
|
|
14039
|
-
})), yO(v.props.trigger).forEach(function(
|
|
14040
|
-
if (
|
|
14041
|
-
switch (Pe(
|
|
14036
|
+
})), yO(v.props.trigger).forEach(function(N) {
|
|
14037
|
+
if (N !== "manual")
|
|
14038
|
+
switch (Pe(N, x), N) {
|
|
14042
14039
|
case "mouseenter":
|
|
14043
14040
|
Pe("mouseleave", D);
|
|
14044
14041
|
break;
|
|
@@ -14052,23 +14049,23 @@ function GO(t, A) {
|
|
|
14052
14049
|
});
|
|
14053
14050
|
}
|
|
14054
14051
|
function Ht() {
|
|
14055
|
-
B.forEach(function(
|
|
14056
|
-
var oA =
|
|
14052
|
+
B.forEach(function(N) {
|
|
14053
|
+
var oA = N.node, fA = N.eventType, KA = N.handler, kA = N.options;
|
|
14057
14054
|
oA.removeEventListener(fA, KA, kA);
|
|
14058
14055
|
}), B = [];
|
|
14059
14056
|
}
|
|
14060
|
-
function x(
|
|
14057
|
+
function x(N) {
|
|
14061
14058
|
var oA, fA = !1;
|
|
14062
|
-
if (!(!v.state.isEnabled || uA(
|
|
14059
|
+
if (!(!v.state.isEnabled || uA(N) || a)) {
|
|
14063
14060
|
var KA = ((oA = d) == null ? void 0 : oA.type) === "focus";
|
|
14064
|
-
d =
|
|
14065
|
-
return kA(
|
|
14066
|
-
}),
|
|
14061
|
+
d = N, Q = N.currentTarget, re(), !v.state.isVisible && FO(N) && Na.forEach(function(kA) {
|
|
14062
|
+
return kA(N);
|
|
14063
|
+
}), N.type === "click" && (v.props.trigger.indexOf("mouseenter") < 0 || s) && v.props.hideOnClick !== !1 && v.state.isVisible ? fA = !0 : XA(N), N.type === "click" && (s = !fA), fA && !KA && P(N);
|
|
14067
14064
|
}
|
|
14068
14065
|
}
|
|
14069
|
-
function F(
|
|
14070
|
-
var oA =
|
|
14071
|
-
if (!(
|
|
14066
|
+
function F(N) {
|
|
14067
|
+
var oA = N.target, fA = cA().contains(oA) || H.contains(oA);
|
|
14068
|
+
if (!(N.type === "mousemove" && fA)) {
|
|
14072
14069
|
var KA = Ge().concat(H).map(function(kA) {
|
|
14073
14070
|
var We, Qt = kA._tippy, Nn = (We = Qt.popperInstance) == null ? void 0 : We.state;
|
|
14074
14071
|
return Nn ? {
|
|
@@ -14077,28 +14074,28 @@ function GO(t, A) {
|
|
|
14077
14074
|
props: e
|
|
14078
14075
|
} : null;
|
|
14079
14076
|
}).filter(Boolean);
|
|
14080
|
-
SO(KA,
|
|
14077
|
+
SO(KA, N) && (qA(), P(N));
|
|
14081
14078
|
}
|
|
14082
14079
|
}
|
|
14083
|
-
function D(
|
|
14084
|
-
var oA = uA(
|
|
14080
|
+
function D(N) {
|
|
14081
|
+
var oA = uA(N) || v.props.trigger.indexOf("click") >= 0 && s;
|
|
14085
14082
|
if (!oA) {
|
|
14086
14083
|
if (v.props.interactive) {
|
|
14087
|
-
v.hideWithInteractivity(
|
|
14084
|
+
v.hideWithInteractivity(N);
|
|
14088
14085
|
return;
|
|
14089
14086
|
}
|
|
14090
|
-
P(
|
|
14087
|
+
P(N);
|
|
14091
14088
|
}
|
|
14092
14089
|
}
|
|
14093
|
-
function Z(
|
|
14094
|
-
v.props.trigger.indexOf("focusin") < 0 &&
|
|
14090
|
+
function Z(N) {
|
|
14091
|
+
v.props.trigger.indexOf("focusin") < 0 && N.target !== cA() || v.props.interactive && N.relatedTarget && H.contains(N.relatedTarget) || P(N);
|
|
14095
14092
|
}
|
|
14096
|
-
function uA(
|
|
14097
|
-
return Tn.isTouch ? wA() !==
|
|
14093
|
+
function uA(N) {
|
|
14094
|
+
return Tn.isTouch ? wA() !== N.type.indexOf("touch") >= 0 : !1;
|
|
14098
14095
|
}
|
|
14099
14096
|
function HA() {
|
|
14100
14097
|
ft();
|
|
14101
|
-
var
|
|
14098
|
+
var N = v.props, oA = N.popperOptions, fA = N.placement, KA = N.offset, kA = N.getReferenceClientRect, We = N.moveTransition, Qt = QA() ? jf(H).arrow : null, Nn = kA ? {
|
|
14102
14099
|
getBoundingClientRect: kA,
|
|
14103
14100
|
contextElement: kA.contextElement || cA()
|
|
14104
14101
|
} : t, Ls = {
|
|
@@ -14157,8 +14154,8 @@ function GO(t, A) {
|
|
|
14157
14154
|
v.popperInstance && (v.popperInstance.destroy(), v.popperInstance = null);
|
|
14158
14155
|
}
|
|
14159
14156
|
function Ve() {
|
|
14160
|
-
var
|
|
14161
|
-
v.props.interactive &&
|
|
14157
|
+
var N = v.props.appendTo, oA, fA = cA();
|
|
14158
|
+
v.props.interactive && N === p0 || N === "parent" ? oA = fA.parentNode : oA = g0(N, [fA]), oA.contains(H) || oA.appendChild(H), v.state.isMounted = !0, HA(), process.env.NODE_ENV !== "production" && Ar(v.props.interactive && N === Gt.appendTo && fA.nextElementSibling !== H, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
14162
14159
|
|
|
14163
14160
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
14164
14161
|
|
|
@@ -14169,19 +14166,19 @@ function GO(t, A) {
|
|
|
14169
14166
|
function Ge() {
|
|
14170
14167
|
return xl(H.querySelectorAll("[data-tippy-root]"));
|
|
14171
14168
|
}
|
|
14172
|
-
function XA(
|
|
14173
|
-
v.clearDelayTimeouts(),
|
|
14169
|
+
function XA(N) {
|
|
14170
|
+
v.clearDelayTimeouts(), N && yA("onTrigger", [v, N]), ie();
|
|
14174
14171
|
var oA = TA(!0), fA = AA(), KA = fA[0], kA = fA[1];
|
|
14175
14172
|
Tn.isTouch && KA === "hold" && kA && (oA = kA), oA ? n = setTimeout(function() {
|
|
14176
14173
|
v.show();
|
|
14177
14174
|
}, oA) : v.show();
|
|
14178
14175
|
}
|
|
14179
|
-
function P(
|
|
14180
|
-
if (v.clearDelayTimeouts(), yA("onUntrigger", [v,
|
|
14176
|
+
function P(N) {
|
|
14177
|
+
if (v.clearDelayTimeouts(), yA("onUntrigger", [v, N]), !v.state.isVisible) {
|
|
14181
14178
|
Be();
|
|
14182
14179
|
return;
|
|
14183
14180
|
}
|
|
14184
|
-
if (!(v.props.trigger.indexOf("mouseenter") >= 0 && v.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(
|
|
14181
|
+
if (!(v.props.trigger.indexOf("mouseenter") >= 0 && v.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(N.type) >= 0 && s)) {
|
|
14185
14182
|
var oA = TA(!1);
|
|
14186
14183
|
oA ? r = setTimeout(function() {
|
|
14187
14184
|
v.state.isVisible && v.hide();
|
|
@@ -14199,28 +14196,28 @@ function GO(t, A) {
|
|
|
14199
14196
|
function Ie() {
|
|
14200
14197
|
clearTimeout(n), clearTimeout(r), cancelAnimationFrame(i);
|
|
14201
14198
|
}
|
|
14202
|
-
function cn(
|
|
14199
|
+
function cn(N) {
|
|
14203
14200
|
if (process.env.NODE_ENV !== "production" && Ar(v.state.isDestroyed, Yi("setProps")), !v.state.isDestroyed) {
|
|
14204
|
-
yA("onBeforeUpdate", [v,
|
|
14205
|
-
var oA = v.props, fA = rm(t, Object.assign({}, oA, jB(
|
|
14201
|
+
yA("onBeforeUpdate", [v, N]), Ht();
|
|
14202
|
+
var oA = v.props, fA = rm(t, Object.assign({}, oA, jB(N), {
|
|
14206
14203
|
ignoreAttributes: !0
|
|
14207
14204
|
}));
|
|
14208
14205
|
v.props = fA, ct(), oA.interactiveDebounce !== fA.interactiveDebounce && (qA(), w = qB(F, fA.interactiveDebounce)), oA.triggerTarget && !fA.triggerTarget ? is(oA.triggerTarget).forEach(function(KA) {
|
|
14209
14206
|
KA.removeAttribute("aria-expanded");
|
|
14210
14207
|
}) : fA.triggerTarget && t.removeAttribute("aria-expanded"), re(), xA(), k && k(oA, fA), v.popperInstance && (HA(), Ge().forEach(function(KA) {
|
|
14211
14208
|
requestAnimationFrame(KA._tippy.popperInstance.forceUpdate);
|
|
14212
|
-
})), yA("onAfterUpdate", [v,
|
|
14209
|
+
})), yA("onAfterUpdate", [v, N]);
|
|
14213
14210
|
}
|
|
14214
14211
|
}
|
|
14215
|
-
function _t(
|
|
14212
|
+
function _t(N) {
|
|
14216
14213
|
v.setProps({
|
|
14217
|
-
content:
|
|
14214
|
+
content: N
|
|
14218
14215
|
});
|
|
14219
14216
|
}
|
|
14220
14217
|
function Jt() {
|
|
14221
14218
|
process.env.NODE_ENV !== "production" && Ar(v.state.isDestroyed, Yi("show"));
|
|
14222
|
-
var
|
|
14223
|
-
if (!(
|
|
14219
|
+
var N = v.state.isVisible, oA = v.state.isDestroyed, fA = !v.state.isEnabled, KA = Tn.isTouch && !v.props.touch, kA = nf(v.props.duration, 0, Gt.duration);
|
|
14220
|
+
if (!(N || oA || fA || KA) && !cA().hasAttribute("disabled") && (yA("onShow", [v], !1), v.props.onShow(v) !== !1)) {
|
|
14224
14221
|
if (v.state.isVisible = !0, QA() && (H.style.visibility = "visible"), xA(), ie(), v.state.isMounted || (H.style.transition = "none"), QA()) {
|
|
14225
14222
|
var We = zA(), Qt = We.box, Nn = We.content;
|
|
14226
14223
|
rf([Qt, Nn], 0);
|
|
@@ -14241,8 +14238,8 @@ function GO(t, A) {
|
|
|
14241
14238
|
}
|
|
14242
14239
|
function Lt() {
|
|
14243
14240
|
process.env.NODE_ENV !== "production" && Ar(v.state.isDestroyed, Yi("hide"));
|
|
14244
|
-
var
|
|
14245
|
-
if (!(
|
|
14241
|
+
var N = !v.state.isVisible, oA = v.state.isDestroyed, fA = !v.state.isEnabled, KA = nf(v.props.duration, 1, Gt.duration);
|
|
14242
|
+
if (!(N || oA || fA) && (yA("onHide", [v], !1), v.props.onHide(v) !== !1)) {
|
|
14246
14243
|
if (v.state.isVisible = !1, v.state.isShown = !1, c = !1, s = !1, QA() && (H.style.visibility = "hidden"), qA(), Be(), xA(!0), QA()) {
|
|
14247
14244
|
var kA = zA(), We = kA.box, Qt = kA.content;
|
|
14248
14245
|
v.props.animation && (rf([We, Qt], KA), Am([We, Qt], "hidden"));
|
|
@@ -14250,14 +14247,14 @@ function GO(t, A) {
|
|
|
14250
14247
|
fe(), re(), v.props.animation ? QA() && lt(KA, v.unmount) : v.unmount();
|
|
14251
14248
|
}
|
|
14252
14249
|
}
|
|
14253
|
-
function Ai(
|
|
14254
|
-
process.env.NODE_ENV !== "production" && Ar(v.state.isDestroyed, Yi("hideWithInteractivity")), LA().addEventListener("mousemove", w), ZB(Na, w), w(
|
|
14250
|
+
function Ai(N) {
|
|
14251
|
+
process.env.NODE_ENV !== "production" && Ar(v.state.isDestroyed, Yi("hideWithInteractivity")), LA().addEventListener("mousemove", w), ZB(Na, w), w(N);
|
|
14255
14252
|
}
|
|
14256
14253
|
function fr() {
|
|
14257
|
-
process.env.NODE_ENV !== "production" && Ar(v.state.isDestroyed, Yi("unmount")), v.state.isVisible && v.hide(), v.state.isMounted && (ft(), Ge().forEach(function(
|
|
14258
|
-
|
|
14259
|
-
}), H.parentNode && H.parentNode.removeChild(H), of = of.filter(function(
|
|
14260
|
-
return
|
|
14254
|
+
process.env.NODE_ENV !== "production" && Ar(v.state.isDestroyed, Yi("unmount")), v.state.isVisible && v.hide(), v.state.isMounted && (ft(), Ge().forEach(function(N) {
|
|
14255
|
+
N._tippy.unmount();
|
|
14256
|
+
}), H.parentNode && H.parentNode.removeChild(H), of = of.filter(function(N) {
|
|
14257
|
+
return N !== v;
|
|
14261
14258
|
}), v.state.isMounted = !1, yA("onHidden", [v]));
|
|
14262
14259
|
}
|
|
14263
14260
|
function _s() {
|
|
@@ -14779,7 +14776,7 @@ const YO = (t = {}) => {
|
|
|
14779
14776
|
const s = un("svg-icon");
|
|
14780
14777
|
return rA(), iA("div", zO, [
|
|
14781
14778
|
z(n) ? (rA(), iA("div", qO, [
|
|
14782
|
-
|
|
14779
|
+
R("button", {
|
|
14783
14780
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("bold") }]),
|
|
14784
14781
|
onClick: i[0] || (i[0] = (a) => {
|
|
14785
14782
|
var u;
|
|
@@ -14789,7 +14786,7 @@ const YO = (t = {}) => {
|
|
|
14789
14786
|
}, [
|
|
14790
14787
|
VA(s, { symbol: "bold" })
|
|
14791
14788
|
], 10, ZO),
|
|
14792
|
-
|
|
14789
|
+
R("button", {
|
|
14793
14790
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("italic") }]),
|
|
14794
14791
|
onClick: i[1] || (i[1] = (a) => {
|
|
14795
14792
|
var u;
|
|
@@ -14799,7 +14796,7 @@ const YO = (t = {}) => {
|
|
|
14799
14796
|
}, [
|
|
14800
14797
|
VA(s, { symbol: "italic" })
|
|
14801
14798
|
], 10, jO),
|
|
14802
|
-
|
|
14799
|
+
R("button", {
|
|
14803
14800
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("strike") }]),
|
|
14804
14801
|
onClick: i[2] || (i[2] = (a) => {
|
|
14805
14802
|
var u;
|
|
@@ -14807,7 +14804,7 @@ const YO = (t = {}) => {
|
|
|
14807
14804
|
}),
|
|
14808
14805
|
disabled: !z(n).can().chain().focus().toggleStrike().run()
|
|
14809
14806
|
}, " strikethrough ", 10, AM),
|
|
14810
|
-
|
|
14807
|
+
R("button", {
|
|
14811
14808
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("code") }]),
|
|
14812
14809
|
onClick: i[3] || (i[3] = (a) => {
|
|
14813
14810
|
var u;
|
|
@@ -14817,70 +14814,70 @@ const YO = (t = {}) => {
|
|
|
14817
14814
|
}, [
|
|
14818
14815
|
VA(s, { symbol: "code" })
|
|
14819
14816
|
], 10, eM),
|
|
14820
|
-
|
|
14817
|
+
R("button", {
|
|
14821
14818
|
class: "btn btn-light",
|
|
14822
14819
|
onClick: i[4] || (i[4] = (a) => {
|
|
14823
14820
|
var u;
|
|
14824
14821
|
return (u = z(n)) == null ? void 0 : u.chain().focus().unsetAllMarks().run();
|
|
14825
14822
|
})
|
|
14826
14823
|
}, " clear marks "),
|
|
14827
|
-
|
|
14824
|
+
R("button", {
|
|
14828
14825
|
class: "btn btn-light",
|
|
14829
14826
|
onClick: i[5] || (i[5] = (a) => {
|
|
14830
14827
|
var u;
|
|
14831
14828
|
return (u = z(n)) == null ? void 0 : u.chain().focus().clearNodes().run();
|
|
14832
14829
|
})
|
|
14833
14830
|
}, " clear nodes "),
|
|
14834
|
-
|
|
14831
|
+
R("button", {
|
|
14835
14832
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("paragraph") }]),
|
|
14836
14833
|
onClick: i[6] || (i[6] = (a) => {
|
|
14837
14834
|
var u;
|
|
14838
14835
|
return (u = z(n)) == null ? void 0 : u.chain().focus().setParagraph().run();
|
|
14839
14836
|
})
|
|
14840
14837
|
}, " paragraph ", 2),
|
|
14841
|
-
|
|
14838
|
+
R("button", {
|
|
14842
14839
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("heading", { level: 1 }) }]),
|
|
14843
14840
|
onClick: i[7] || (i[7] = (a) => {
|
|
14844
14841
|
var u;
|
|
14845
14842
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleHeading({ level: 1 }).run();
|
|
14846
14843
|
})
|
|
14847
14844
|
}, " h1 ", 2),
|
|
14848
|
-
|
|
14845
|
+
R("button", {
|
|
14849
14846
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("heading", { level: 2 }) }]),
|
|
14850
14847
|
onClick: i[8] || (i[8] = (a) => {
|
|
14851
14848
|
var u;
|
|
14852
14849
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleHeading({ level: 2 }).run();
|
|
14853
14850
|
})
|
|
14854
14851
|
}, " h2 ", 2),
|
|
14855
|
-
|
|
14852
|
+
R("button", {
|
|
14856
14853
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("heading", { level: 3 }) }]),
|
|
14857
14854
|
onClick: i[9] || (i[9] = (a) => {
|
|
14858
14855
|
var u;
|
|
14859
14856
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleHeading({ level: 3 }).run();
|
|
14860
14857
|
})
|
|
14861
14858
|
}, " h3 ", 2),
|
|
14862
|
-
|
|
14859
|
+
R("button", {
|
|
14863
14860
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("heading", { level: 4 }) }]),
|
|
14864
14861
|
onClick: i[10] || (i[10] = (a) => {
|
|
14865
14862
|
var u;
|
|
14866
14863
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleHeading({ level: 4 }).run();
|
|
14867
14864
|
})
|
|
14868
14865
|
}, " h4 ", 2),
|
|
14869
|
-
|
|
14866
|
+
R("button", {
|
|
14870
14867
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("heading", { level: 5 }) }]),
|
|
14871
14868
|
onClick: i[11] || (i[11] = (a) => {
|
|
14872
14869
|
var u;
|
|
14873
14870
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleHeading({ level: 5 }).run();
|
|
14874
14871
|
})
|
|
14875
14872
|
}, " h5 ", 2),
|
|
14876
|
-
|
|
14873
|
+
R("button", {
|
|
14877
14874
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("heading", { level: 6 }) }]),
|
|
14878
14875
|
onClick: i[12] || (i[12] = (a) => {
|
|
14879
14876
|
var u;
|
|
14880
14877
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleHeading({ level: 6 }).run();
|
|
14881
14878
|
})
|
|
14882
14879
|
}, " h6 ", 2),
|
|
14883
|
-
|
|
14880
|
+
R("button", {
|
|
14884
14881
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("bulletList") }]),
|
|
14885
14882
|
onClick: i[13] || (i[13] = (a) => {
|
|
14886
14883
|
var u;
|
|
@@ -14889,42 +14886,42 @@ const YO = (t = {}) => {
|
|
|
14889
14886
|
}, [
|
|
14890
14887
|
VA(s, { id: "list" })
|
|
14891
14888
|
], 2),
|
|
14892
|
-
|
|
14889
|
+
R("button", {
|
|
14893
14890
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("orderedList") }]),
|
|
14894
14891
|
onClick: i[14] || (i[14] = (a) => {
|
|
14895
14892
|
var u;
|
|
14896
14893
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleOrderedList().run();
|
|
14897
14894
|
})
|
|
14898
14895
|
}, " ordered list ", 2),
|
|
14899
|
-
|
|
14896
|
+
R("button", {
|
|
14900
14897
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("codeBlock") }]),
|
|
14901
14898
|
onClick: i[15] || (i[15] = (a) => {
|
|
14902
14899
|
var u;
|
|
14903
14900
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleCodeBlock().run();
|
|
14904
14901
|
})
|
|
14905
14902
|
}, " code block ", 2),
|
|
14906
|
-
|
|
14903
|
+
R("button", {
|
|
14907
14904
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("blockquote") }]),
|
|
14908
14905
|
onClick: i[16] || (i[16] = (a) => {
|
|
14909
14906
|
var u;
|
|
14910
14907
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleBlockquote().run();
|
|
14911
14908
|
})
|
|
14912
14909
|
}, " blockquote ", 2),
|
|
14913
|
-
|
|
14910
|
+
R("button", {
|
|
14914
14911
|
class: "btn btn-light",
|
|
14915
14912
|
onClick: i[17] || (i[17] = (a) => {
|
|
14916
14913
|
var u;
|
|
14917
14914
|
return (u = z(n)) == null ? void 0 : u.chain().focus().setHorizontalRule().run();
|
|
14918
14915
|
})
|
|
14919
14916
|
}, " horizontal rule "),
|
|
14920
|
-
|
|
14917
|
+
R("button", {
|
|
14921
14918
|
class: "btn btn-light",
|
|
14922
14919
|
onClick: i[18] || (i[18] = (a) => {
|
|
14923
14920
|
var u;
|
|
14924
14921
|
return (u = z(n)) == null ? void 0 : u.chain().focus().setHardBreak().run();
|
|
14925
14922
|
})
|
|
14926
14923
|
}, " hard break "),
|
|
14927
|
-
|
|
14924
|
+
R("button", {
|
|
14928
14925
|
class: "btn btn-light",
|
|
14929
14926
|
onClick: i[19] || (i[19] = (a) => {
|
|
14930
14927
|
var u;
|
|
@@ -14932,7 +14929,7 @@ const YO = (t = {}) => {
|
|
|
14932
14929
|
}),
|
|
14933
14930
|
disabled: !z(n).can().chain().focus().undo().run()
|
|
14934
14931
|
}, " undo ", 8, tM),
|
|
14935
|
-
|
|
14932
|
+
R("button", {
|
|
14936
14933
|
class: "btn btn-light",
|
|
14937
14934
|
onClick: i[20] || (i[20] = (a) => {
|
|
14938
14935
|
var u;
|
|
@@ -14940,14 +14937,14 @@ const YO = (t = {}) => {
|
|
|
14940
14937
|
}),
|
|
14941
14938
|
disabled: !z(n).can().chain().focus().redo().run()
|
|
14942
14939
|
}, " redo ", 8, nM),
|
|
14943
|
-
|
|
14940
|
+
R("button", {
|
|
14944
14941
|
class: IA(["btn btn-light", { "is-active": z(n).isActive("highlight") }]),
|
|
14945
14942
|
onClick: i[21] || (i[21] = (a) => {
|
|
14946
14943
|
var u;
|
|
14947
14944
|
return (u = z(n)) == null ? void 0 : u.chain().focus().toggleHighlight().run();
|
|
14948
14945
|
})
|
|
14949
14946
|
}, " highlight ", 2),
|
|
14950
|
-
|
|
14947
|
+
R("button", {
|
|
14951
14948
|
class: IA(["btn btn-light", { "is-active": z(n).isActive({ textAlign: "left" }) }]),
|
|
14952
14949
|
onClick: i[22] || (i[22] = (a) => {
|
|
14953
14950
|
var u;
|
|
@@ -14956,7 +14953,7 @@ const YO = (t = {}) => {
|
|
|
14956
14953
|
}, [
|
|
14957
14954
|
VA(s, { symbol: "align-left" })
|
|
14958
14955
|
], 2),
|
|
14959
|
-
|
|
14956
|
+
R("button", {
|
|
14960
14957
|
class: IA(["btn btn-light", { "is-active": z(n).isActive({ textAlign: "center" }) }]),
|
|
14961
14958
|
onClick: i[23] || (i[23] = (a) => {
|
|
14962
14959
|
var u;
|
|
@@ -14965,7 +14962,7 @@ const YO = (t = {}) => {
|
|
|
14965
14962
|
}, [
|
|
14966
14963
|
VA(s, { symbol: "align-center" })
|
|
14967
14964
|
], 2),
|
|
14968
|
-
|
|
14965
|
+
R("button", {
|
|
14969
14966
|
class: IA(["btn btn-light", { "is-active": z(n).isActive({ textAlign: "right" }) }]),
|
|
14970
14967
|
onClick: i[24] || (i[24] = (a) => {
|
|
14971
14968
|
var u;
|
|
@@ -15062,8 +15059,8 @@ const rM = { class: "input-color" }, iM = { class: "base-input__color-swatch" },
|
|
|
15062
15059
|
maxlength: t.maxlength
|
|
15063
15060
|
}, {
|
|
15064
15061
|
"input-append": Pr((a) => [
|
|
15065
|
-
|
|
15066
|
-
Vr(
|
|
15062
|
+
R("span", iM, [
|
|
15063
|
+
Vr(R("input", {
|
|
15067
15064
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => ar(n) ? n.value = u : null),
|
|
15068
15065
|
type: "color",
|
|
15069
15066
|
name: `${t.name}-color`,
|
|
@@ -16961,7 +16958,7 @@ function K0(t, ...A) {
|
|
|
16961
16958
|
return nu(ID[t], ...A);
|
|
16962
16959
|
}
|
|
16963
16960
|
let P0 = BA.__EXTEND_POINT__;
|
|
16964
|
-
const bt = () => ++P0,
|
|
16961
|
+
const bt = () => ++P0, ue = {
|
|
16965
16962
|
// composer module errors
|
|
16966
16963
|
UNEXPECTED_RETURN_TYPE: P0,
|
|
16967
16964
|
// legacy module errors
|
|
@@ -16994,20 +16991,20 @@ function sr(t, ...A) {
|
|
|
16994
16991
|
return iu(t, null, process.env.NODE_ENV !== "production" ? { messages: SD, args: A } : void 0);
|
|
16995
16992
|
}
|
|
16996
16993
|
const SD = {
|
|
16997
|
-
[
|
|
16998
|
-
[
|
|
16999
|
-
[
|
|
17000
|
-
[
|
|
17001
|
-
[
|
|
17002
|
-
[
|
|
17003
|
-
[
|
|
17004
|
-
[
|
|
17005
|
-
[
|
|
17006
|
-
[
|
|
17007
|
-
[
|
|
17008
|
-
[
|
|
17009
|
-
[
|
|
17010
|
-
[
|
|
16994
|
+
[ue.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
16995
|
+
[ue.INVALID_ARGUMENT]: "Invalid argument",
|
|
16996
|
+
[ue.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
16997
|
+
[ue.NOT_INSLALLED]: "Need to install with `app.use` function",
|
|
16998
|
+
[ue.UNEXPECTED_ERROR]: "Unexpected error",
|
|
16999
|
+
[ue.NOT_AVAILABLE_IN_LEGACY_MODE]: "Not available in legacy mode",
|
|
17000
|
+
[ue.REQUIRED_VALUE]: "Required in value: {0}",
|
|
17001
|
+
[ue.INVALID_VALUE]: "Invalid value",
|
|
17002
|
+
[ue.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
|
|
17003
|
+
[ue.NOT_INSLALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
17004
|
+
[ue.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
17005
|
+
[ue.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
|
|
17006
|
+
[ue.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
|
|
17007
|
+
[ue.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
17011
17008
|
}, rd = /* @__PURE__ */ cr("__transrateVNode"), id = /* @__PURE__ */ cr("__datetimeParts"), sd = /* @__PURE__ */ cr("__numberParts"), od = /* @__PURE__ */ cr("__enableEmitter"), ad = /* @__PURE__ */ cr("__disableEmitter"), TD = cr("__setPluralRules");
|
|
17012
17009
|
cr("__intlifyMeta");
|
|
17013
17010
|
const V0 = /* @__PURE__ */ cr("__injectWithOption");
|
|
@@ -17043,7 +17040,7 @@ function oh(t, A) {
|
|
|
17043
17040
|
const Ra = (t) => !ee(t) || Qe(t);
|
|
17044
17041
|
function Qo(t, A) {
|
|
17045
17042
|
if (Ra(t) || Ra(A))
|
|
17046
|
-
throw sr(
|
|
17043
|
+
throw sr(ue.INVALID_VALUE);
|
|
17047
17044
|
for (const e in t)
|
|
17048
17045
|
nh(t, e) && (Ra(t[e]) || Ra(A[e]) ? A[e] = t[e] : Qo(t[e], A[e]));
|
|
17049
17046
|
}
|
|
@@ -17189,7 +17186,7 @@ function _D(t = {}, A) {
|
|
|
17189
17186
|
} else {
|
|
17190
17187
|
if (_t(Jt))
|
|
17191
17188
|
return Jt;
|
|
17192
|
-
throw sr(
|
|
17189
|
+
throw sr(ue.UNEXPECTED_RETURN_TYPE);
|
|
17193
17190
|
}
|
|
17194
17191
|
};
|
|
17195
17192
|
function fe(...P) {
|
|
@@ -17198,7 +17195,7 @@ function _D(t = {}, A) {
|
|
|
17198
17195
|
function re(...P) {
|
|
17199
17196
|
const [Y, he, Ie] = P;
|
|
17200
17197
|
if (Ie && !ee(Ie))
|
|
17201
|
-
throw sr(
|
|
17198
|
+
throw sr(ue.INVALID_ARGUMENT);
|
|
17202
17199
|
return fe(Y, he, je({ resolvedMessage: !0 }, Ie || {}));
|
|
17203
17200
|
}
|
|
17204
17201
|
function qA(...P) {
|
|
@@ -17471,13 +17468,13 @@ const MD = /* @__PURE__ */ cr("global-vue-i18n");
|
|
|
17471
17468
|
function lu(t = {}) {
|
|
17472
17469
|
const A = Vl();
|
|
17473
17470
|
if (A == null)
|
|
17474
|
-
throw sr(
|
|
17471
|
+
throw sr(ue.MUST_BE_CALL_SETUP_TOP);
|
|
17475
17472
|
if (!A.isCE && A.appContext.app != null && !A.appContext.app.__VUE_I18N_SYMBOL__)
|
|
17476
|
-
throw sr(
|
|
17473
|
+
throw sr(ue.NOT_INSLALLED);
|
|
17477
17474
|
const e = DD(A), n = ND(e), r = G0(A), i = kD(t, r);
|
|
17478
17475
|
if (__VUE_I18N_LEGACY_API__ && e.mode === "legacy" && !t.__useComponent) {
|
|
17479
17476
|
if (!e.allowComposition)
|
|
17480
|
-
throw sr(
|
|
17477
|
+
throw sr(ue.NOT_AVAILABLE_IN_LEGACY_MODE);
|
|
17481
17478
|
return PD(A, i, n, t);
|
|
17482
17479
|
}
|
|
17483
17480
|
if (i === "global")
|
|
@@ -17498,7 +17495,7 @@ function DD(t) {
|
|
|
17498
17495
|
{
|
|
17499
17496
|
const A = H1(t.isCE ? MD : t.appContext.app.__VUE_I18N_SYMBOL__);
|
|
17500
17497
|
if (!A)
|
|
17501
|
-
throw sr(t.isCE ?
|
|
17498
|
+
throw sr(t.isCE ? ue.NOT_INSLALLED_WITH_PROVIDE : ue.UNEXPECTED_ERROR);
|
|
17502
17499
|
return A;
|
|
17503
17500
|
}
|
|
17504
17501
|
}
|
|
@@ -17546,7 +17543,7 @@ function KD(t, A, e) {
|
|
|
17546
17543
|
function PD(t, A, e, n = {}) {
|
|
17547
17544
|
const r = A === "local", i = Dw(null);
|
|
17548
17545
|
if (r && t.proxy && !(t.proxy.$options.i18n || t.proxy.$options.__i18n))
|
|
17549
|
-
throw sr(
|
|
17546
|
+
throw sr(ue.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
|
|
17550
17547
|
const s = oe(n.inheritLocale) ? n.inheritLocale : !0, a = RA(
|
|
17551
17548
|
// prettier-ignore
|
|
17552
17549
|
r && s ? e.locale.value : sA(n.locale) ? n.locale : ou
|
|
@@ -17728,7 +17725,7 @@ function PD(t, A, e, n = {}) {
|
|
|
17728
17725
|
}
|
|
17729
17726
|
return Md(() => {
|
|
17730
17727
|
if (t.proxy == null || t.proxy.$i18n == null)
|
|
17731
|
-
throw sr(
|
|
17728
|
+
throw sr(ue.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
|
|
17732
17729
|
const F = i.value = t.proxy.$i18n.__composer;
|
|
17733
17730
|
A === "global" ? (a.value = F.locale.value, u.value = F.fallbackLocale.value, c.value = F.messages.value, d.value = F.datetimeFormats.value, h.value = F.numberFormats.value) : r && x(F);
|
|
17734
17731
|
}), Ht;
|
|
@@ -17834,7 +17831,7 @@ const VD = { class: "input input-dropdown" }, GD = { class: "dropdown" }, WD = {
|
|
|
17834
17831
|
return (a, u) => {
|
|
17835
17832
|
const c = un("base-button");
|
|
17836
17833
|
return rA(), iA("div", VD, [
|
|
17837
|
-
|
|
17834
|
+
R("div", GD, [
|
|
17838
17835
|
VA(c, {
|
|
17839
17836
|
"data-bs-toggle": "dropdown",
|
|
17840
17837
|
role: "button",
|
|
@@ -17846,7 +17843,7 @@ const VD = { class: "input input-dropdown" }, GD = { class: "dropdown" }, WD = {
|
|
|
17846
17843
|
disabled: t.disabled
|
|
17847
17844
|
}, {
|
|
17848
17845
|
default: Pr(() => [
|
|
17849
|
-
|
|
17846
|
+
R("span", WD, [
|
|
17850
17847
|
VA(kw, { name: "bounce" }, {
|
|
17851
17848
|
default: Pr(() => [
|
|
17852
17849
|
t.showSelectionCount && t.modelValue.length ? (rA(), iA("i", {
|
|
@@ -17857,21 +17854,21 @@ const VD = { class: "input input-dropdown" }, GD = { class: "dropdown" }, WD = {
|
|
|
17857
17854
|
]),
|
|
17858
17855
|
_: 1
|
|
17859
17856
|
}),
|
|
17860
|
-
|
|
17861
|
-
|
|
17857
|
+
R("span", JD, [
|
|
17858
|
+
R("span", XD, Fe(t.toggleCaption || z(s)), 1)
|
|
17862
17859
|
])
|
|
17863
17860
|
])
|
|
17864
17861
|
]),
|
|
17865
17862
|
_: 1
|
|
17866
17863
|
}, 8, ["title", "color", "outlined", "disabled"]),
|
|
17867
|
-
|
|
17864
|
+
R("ul", YD, [
|
|
17868
17865
|
(rA(!0), iA(Yr, null, xi(z(i), (d, h) => (rA(), iA("li", {
|
|
17869
17866
|
key: `${d.value}-${h}`
|
|
17870
17867
|
}, [
|
|
17871
|
-
|
|
17868
|
+
R("div", {
|
|
17872
17869
|
class: IA(["dropdown-item", d.active && "active"])
|
|
17873
17870
|
}, [
|
|
17874
|
-
|
|
17871
|
+
R("div", zD, [
|
|
17875
17872
|
t.multiple ? Vr((rA(), iA("input", {
|
|
17876
17873
|
type: "checkbox",
|
|
17877
17874
|
"onUpdate:modelValue": u[0] || (u[0] = (g) => ar(r) ? r.value = g : null),
|
|
@@ -17899,7 +17896,7 @@ const VD = { class: "input input-dropdown" }, GD = { class: "dropdown" }, WD = {
|
|
|
17899
17896
|
}, null, 8, ZD)), [
|
|
17900
17897
|
[O1, z(r)]
|
|
17901
17898
|
]),
|
|
17902
|
-
|
|
17899
|
+
R("label", {
|
|
17903
17900
|
class: "form-check-label flex-grow-1",
|
|
17904
17901
|
onclick: "event.stopPropagation",
|
|
17905
17902
|
for: `${t.name}-${d.value}-${h}`
|
|
@@ -17941,7 +17938,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
17941
17938
|
["partial", S],
|
|
17942
17939
|
["partialRight", H],
|
|
17943
17940
|
["rearg", W]
|
|
17944
|
-
], ie = "[object Arguments]", Be = "[object Array]", lt = "[object AsyncFunction]", ut = "[object Boolean]", At = "[object Date]", Pe = "[object DOMException]", ct = "[object Error]", Ht = "[object Function]", x = "[object GeneratorFunction]", F = "[object Map]", D = "[object Number]", Z = "[object Null]", uA = "[object Object]", HA = "[object Promise]", ft = "[object Proxy]", Ve = "[object RegExp]", Ge = "[object Set]", XA = "[object String]", P = "[object Symbol]", Y = "[object Undefined]", he = "[object WeakMap]", Ie = "[object WeakSet]", cn = "[object ArrayBuffer]", _t = "[object DataView]", Jt = "[object Float32Array]", Lt = "[object Float64Array]", Ai = "[object Int8Array]", fr = "[object Int16Array]", _s = "[object Int32Array]",
|
|
17941
|
+
], ie = "[object Arguments]", Be = "[object Array]", lt = "[object AsyncFunction]", ut = "[object Boolean]", At = "[object Date]", Pe = "[object DOMException]", ct = "[object Error]", Ht = "[object Function]", x = "[object GeneratorFunction]", F = "[object Map]", D = "[object Number]", Z = "[object Null]", uA = "[object Object]", HA = "[object Promise]", ft = "[object Proxy]", Ve = "[object RegExp]", Ge = "[object Set]", XA = "[object String]", P = "[object Symbol]", Y = "[object Undefined]", he = "[object WeakMap]", Ie = "[object WeakSet]", cn = "[object ArrayBuffer]", _t = "[object DataView]", Jt = "[object Float32Array]", Lt = "[object Float64Array]", Ai = "[object Int8Array]", fr = "[object Int16Array]", _s = "[object Int32Array]", N = "[object Uint8Array]", oA = "[object Uint8ClampedArray]", fA = "[object Uint16Array]", KA = "[object Uint32Array]", kA = /\b__p \+= '';/g, We = /\b(__p \+=) '' \+/g, Qt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Nn = /&(?:amp|lt|gt|quot|#39);/g, Ls = /[&<>"']/g, Rn = RegExp(Nn.source), Os = RegExp(Ls.source), Hi = /<%-([\s\S]+?)%>/g, dr = /<%([\s\S]+?)%>/g, $o = /<%=([\s\S]+?)%>/g, Ms = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _i = /^\w*$/, AQ = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Cu = /[\\^$.*+?()[\]{}|]/g, eQ = RegExp(Cu.source), yu = /^\s+/, tQ = /\s/, nQ = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, rQ = /\{\n\/\* \[wrapped with (.+)\] \*/, iQ = /,? & /, sQ = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, oQ = /[()=,{}\[\]\/\s]/, aQ = /\\(\\)?/g, lQ = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, mh = /\w*$/, uQ = /^[-+]0x[0-9a-f]+$/i, cQ = /^0b[01]+$/i, fQ = /^\[object .+?Constructor\]$/, dQ = /^0o[0-7]+$/i, hQ = /^(?:0|[1-9]\d*)$/, pQ = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Jo = /($^)/, gQ = /['\n\r\u2028\u2029\\]/g, Xo = "\\ud800-\\udfff", BQ = "\\u0300-\\u036f", mQ = "\\ufe20-\\ufe2f", wQ = "\\u20d0-\\u20ff", wh = BQ + mQ + wQ, Ch = "\\u2700-\\u27bf", yh = "a-z\\xdf-\\xf6\\xf8-\\xff", CQ = "\\xac\\xb1\\xd7\\xf7", yQ = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", QQ = "\\u2000-\\u206f", vQ = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Qh = "A-Z\\xc0-\\xd6\\xd8-\\xde", vh = "\\ufe0e\\ufe0f", Eh = CQ + yQ + QQ + vQ, Qu = "['’]", EQ = "[" + Xo + "]", Fh = "[" + Eh + "]", Yo = "[" + wh + "]", Uh = "\\d+", FQ = "[" + Ch + "]", bh = "[" + yh + "]", Ih = "[^" + Xo + Eh + Uh + Ch + yh + Qh + "]", vu = "\\ud83c[\\udffb-\\udfff]", UQ = "(?:" + Yo + "|" + vu + ")", Sh = "[^" + Xo + "]", Eu = "(?:\\ud83c[\\udde6-\\uddff]){2}", Fu = "[\\ud800-\\udbff][\\udc00-\\udfff]", Li = "[" + Qh + "]", Th = "\\u200d", xh = "(?:" + bh + "|" + Ih + ")", bQ = "(?:" + Li + "|" + Ih + ")", Hh = "(?:" + Qu + "(?:d|ll|m|re|s|t|ve))?", _h = "(?:" + Qu + "(?:D|LL|M|RE|S|T|VE))?", Lh = UQ + "?", Oh = "[" + vh + "]?", IQ = "(?:" + Th + "(?:" + [Sh, Eu, Fu].join("|") + ")" + Oh + Lh + ")*", SQ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", TQ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Mh = Oh + Lh + IQ, xQ = "(?:" + [FQ, Eu, Fu].join("|") + ")" + Mh, HQ = "(?:" + [Sh + Yo + "?", Yo, Eu, Fu, EQ].join("|") + ")", _Q = RegExp(Qu, "g"), LQ = RegExp(Yo, "g"), Uu = RegExp(vu + "(?=" + vu + ")|" + HQ + Mh, "g"), OQ = RegExp([
|
|
17945
17942
|
Li + "?" + bh + "+" + Hh + "(?=" + [Fh, Li, "$"].join("|") + ")",
|
|
17946
17943
|
bQ + "+" + _h + "(?=" + [Fh, Li + xh, "$"].join("|") + ")",
|
|
17947
17944
|
Li + "?" + xh + "+" + Hh,
|
|
@@ -17982,9 +17979,9 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
17982
17979
|
"parseInt",
|
|
17983
17980
|
"setTimeout"
|
|
17984
17981
|
], NQ = -1, se = {};
|
|
17985
|
-
se[Jt] = se[Lt] = se[Ai] = se[fr] = se[_s] = se[
|
|
17982
|
+
se[Jt] = se[Lt] = se[Ai] = se[fr] = se[_s] = se[N] = se[oA] = se[fA] = se[KA] = !0, se[ie] = se[Be] = se[cn] = se[ut] = se[_t] = se[At] = se[ct] = se[Ht] = se[F] = se[D] = se[uA] = se[Ve] = se[Ge] = se[XA] = se[he] = !1;
|
|
17986
17983
|
var te = {};
|
|
17987
|
-
te[ie] = te[Be] = te[cn] = te[_t] = te[ut] = te[At] = te[Jt] = te[Lt] = te[Ai] = te[fr] = te[_s] = te[F] = te[D] = te[uA] = te[Ve] = te[Ge] = te[XA] = te[P] = te[
|
|
17984
|
+
te[ie] = te[Be] = te[cn] = te[_t] = te[ut] = te[At] = te[Jt] = te[Lt] = te[Ai] = te[fr] = te[_s] = te[F] = te[D] = te[uA] = te[Ve] = te[Ge] = te[XA] = te[P] = te[N] = te[oA] = te[fA] = te[KA] = !0, te[ct] = te[Ht] = te[he] = !1;
|
|
17988
17985
|
var RQ = {
|
|
17989
17986
|
// Latin-1 Supplement block.
|
|
17990
17987
|
À: "A",
|
|
@@ -18257,7 +18254,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18257
18254
|
return !0;
|
|
18258
18255
|
return !1;
|
|
18259
18256
|
}
|
|
18260
|
-
function
|
|
18257
|
+
function ae(_, K) {
|
|
18261
18258
|
for (var M = -1, nA = _ == null ? 0 : _.length, mA = Array(nA); ++M < nA; )
|
|
18262
18259
|
mA[M] = K(_[M], M, _);
|
|
18263
18260
|
return mA;
|
|
@@ -18355,7 +18352,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18355
18352
|
return nA;
|
|
18356
18353
|
}
|
|
18357
18354
|
function ev(_, K) {
|
|
18358
|
-
return
|
|
18355
|
+
return ae(K, function(M) {
|
|
18359
18356
|
return [M, _[M]];
|
|
18360
18357
|
});
|
|
18361
18358
|
}
|
|
@@ -18368,7 +18365,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18368
18365
|
};
|
|
18369
18366
|
}
|
|
18370
18367
|
function Mu(_, K) {
|
|
18371
|
-
return
|
|
18368
|
+
return ae(K, function(M) {
|
|
18372
18369
|
return _[M];
|
|
18373
18370
|
});
|
|
18374
18371
|
}
|
|
@@ -18851,7 +18848,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18851
18848
|
var m = -1, y = zo, b = !0, T = o.length, L = [], V = l.length;
|
|
18852
18849
|
if (!T)
|
|
18853
18850
|
return L;
|
|
18854
|
-
f && (l =
|
|
18851
|
+
f && (l = ae(l, Mt(f))), p ? (y = Su, b = !1) : l.length >= r && (y = Ds, b = !1, l = new ri(l));
|
|
18855
18852
|
A:
|
|
18856
18853
|
for (; ++m < T; ) {
|
|
18857
18854
|
var G = o[m], J = f == null ? G : f(G);
|
|
@@ -18940,7 +18937,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18940
18937
|
function Ju(o, l, f) {
|
|
18941
18938
|
for (var p = f ? Su : zo, m = o[0].length, y = o.length, b = y, T = M(y), L = 1 / 0, V = []; b--; ) {
|
|
18942
18939
|
var G = o[b];
|
|
18943
|
-
b && l && (G =
|
|
18940
|
+
b && l && (G = ae(G, Mt(l))), L = et(G.length, L), T[b] = !f && (l || m >= 120 && G.length >= 120) ? new ri(b && G) : e;
|
|
18944
18941
|
}
|
|
18945
18942
|
G = o[0];
|
|
18946
18943
|
var J = -1, q = T[0];
|
|
@@ -19112,15 +19109,15 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19112
19109
|
return l += l < 0 ? f : 0, $n(l, f) ? o[l] : e;
|
|
19113
19110
|
}
|
|
19114
19111
|
function Fp(o, l, f) {
|
|
19115
|
-
l.length ? l =
|
|
19112
|
+
l.length ? l = ae(l, function(y) {
|
|
19116
19113
|
return CA(y) ? function(b) {
|
|
19117
19114
|
return si(b, y.length === 1 ? y[0] : y);
|
|
19118
19115
|
} : y;
|
|
19119
19116
|
}) : l = [Ut];
|
|
19120
19117
|
var p = -1;
|
|
19121
|
-
l =
|
|
19118
|
+
l = ae(l, Mt(dA()));
|
|
19122
19119
|
var m = yp(o, function(y, b, T) {
|
|
19123
|
-
var L =
|
|
19120
|
+
var L = ae(l, function(V) {
|
|
19124
19121
|
return V(y);
|
|
19125
19122
|
});
|
|
19126
19123
|
return { criteria: L, index: ++p, value: y };
|
|
@@ -19148,7 +19145,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19148
19145
|
}
|
|
19149
19146
|
function qu(o, l, f, p) {
|
|
19150
19147
|
var m = p ? jQ : Oi, y = -1, b = l.length, T = o;
|
|
19151
|
-
for (o === l && (l = vt(l)), f && (T =
|
|
19148
|
+
for (o === l && (l = vt(l)), f && (T = ae(o, Mt(f))); ++y < b; )
|
|
19152
19149
|
for (var L = 0, V = l[y], G = f ? f(V) : V; (L = m(T, G, L, p)) > -1; )
|
|
19153
19150
|
T !== o && sa.call(T, L, 1), sa.call(o, L, 1);
|
|
19154
19151
|
return o;
|
|
@@ -19275,7 +19272,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19275
19272
|
if (typeof o == "string")
|
|
19276
19273
|
return o;
|
|
19277
19274
|
if (CA(o))
|
|
19278
|
-
return
|
|
19275
|
+
return ae(o, Dt) + "";
|
|
19279
19276
|
if (kt(o))
|
|
19280
19277
|
return ap ? ap.call(o) : "";
|
|
19281
19278
|
var l = o + "";
|
|
@@ -19632,7 +19629,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19632
19629
|
}
|
|
19633
19630
|
function sc(o) {
|
|
19634
19631
|
return Wn(function(l) {
|
|
19635
|
-
return l =
|
|
19632
|
+
return l = ae(l, Mt(dA())), bA(function(f) {
|
|
19636
19633
|
var p = this;
|
|
19637
19634
|
return o(l, function(m) {
|
|
19638
19635
|
return Ot(m, p, f);
|
|
@@ -19976,7 +19973,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19976
19973
|
case Ai:
|
|
19977
19974
|
case fr:
|
|
19978
19975
|
case _s:
|
|
19979
|
-
case
|
|
19976
|
+
case N:
|
|
19980
19977
|
case oA:
|
|
19981
19978
|
case fA:
|
|
19982
19979
|
case KA:
|
|
@@ -20266,13 +20263,13 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20266
20263
|
return l ? jt(o, 0, -1) : [];
|
|
20267
20264
|
}
|
|
20268
20265
|
var IF = bA(function(o) {
|
|
20269
|
-
var l =
|
|
20266
|
+
var l = ae(o, nc);
|
|
20270
20267
|
return l.length && l[0] === o[0] ? Ju(l) : [];
|
|
20271
20268
|
}), SF = bA(function(o) {
|
|
20272
|
-
var l = An(o), f =
|
|
20269
|
+
var l = An(o), f = ae(o, nc);
|
|
20273
20270
|
return l === An(f) ? l = e : f.pop(), f.length && f[0] === o[0] ? Ju(f, dA(l, 2)) : [];
|
|
20274
20271
|
}), TF = bA(function(o) {
|
|
20275
|
-
var l = An(o), f =
|
|
20272
|
+
var l = An(o), f = ae(o, nc);
|
|
20276
20273
|
return l = typeof l == "function" ? l : e, l && f.pop(), f.length && f[0] === o[0] ? Ju(f, e, l) : [];
|
|
20277
20274
|
});
|
|
20278
20275
|
function xF(o, l) {
|
|
@@ -20304,7 +20301,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20304
20301
|
}
|
|
20305
20302
|
var DF = Wn(function(o, l) {
|
|
20306
20303
|
var f = o == null ? 0 : o.length, p = Vu(o, l);
|
|
20307
|
-
return bp(o,
|
|
20304
|
+
return bp(o, ae(l, function(m) {
|
|
20308
20305
|
return $n(m, f) ? +m : m;
|
|
20309
20306
|
}).sort(Dp)), p;
|
|
20310
20307
|
});
|
|
@@ -20405,14 +20402,14 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20405
20402
|
if (me(f))
|
|
20406
20403
|
return l = Te(f.length, l), !0;
|
|
20407
20404
|
}), Ou(l, function(f) {
|
|
20408
|
-
return
|
|
20405
|
+
return ae(o, Hu(f));
|
|
20409
20406
|
});
|
|
20410
20407
|
}
|
|
20411
20408
|
function pg(o, l) {
|
|
20412
20409
|
if (!(o && o.length))
|
|
20413
20410
|
return [];
|
|
20414
20411
|
var f = mc(o);
|
|
20415
|
-
return l == null ? f :
|
|
20412
|
+
return l == null ? f : ae(f, function(p) {
|
|
20416
20413
|
return Ot(l, e, p);
|
|
20417
20414
|
});
|
|
20418
20415
|
}
|
|
@@ -20543,7 +20540,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20543
20540
|
Vn(o, f, l);
|
|
20544
20541
|
});
|
|
20545
20542
|
function Ia(o, l) {
|
|
20546
|
-
var f = CA(o) ?
|
|
20543
|
+
var f = CA(o) ? ae : yp;
|
|
20547
20544
|
return f(o, dA(l, 3));
|
|
20548
20545
|
}
|
|
20549
20546
|
function LU(o, l, f, p) {
|
|
@@ -20733,7 +20730,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20733
20730
|
return Cg(2, o);
|
|
20734
20731
|
}
|
|
20735
20732
|
var zU = ME(function(o, l) {
|
|
20736
|
-
l = l.length == 1 && CA(l[0]) ?
|
|
20733
|
+
l = l.length == 1 && CA(l[0]) ? ae(l[0], Mt(dA())) : ae(Je(l, 1), Mt(dA()));
|
|
20737
20734
|
var f = l.length;
|
|
20738
20735
|
return bA(function(p) {
|
|
20739
20736
|
for (var m = -1, y = et(p.length, f); ++m < y; )
|
|
@@ -21076,7 +21073,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
21076
21073
|
if (o == null)
|
|
21077
21074
|
return f;
|
|
21078
21075
|
var p = !1;
|
|
21079
|
-
l =
|
|
21076
|
+
l = ae(l, function(y) {
|
|
21080
21077
|
return y = Cr(y, o), p || (p = y.length > 1), y;
|
|
21081
21078
|
}), Fn(o, lc(o), f), p && (f = Zt(f, h | g | B, JE));
|
|
21082
21079
|
for (var m = l.length; m--; )
|
|
@@ -21092,7 +21089,7 @@ var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
21092
21089
|
function Og(o, l) {
|
|
21093
21090
|
if (o == null)
|
|
21094
21091
|
return {};
|
|
21095
|
-
var f =
|
|
21092
|
+
var f = ae(lc(o), function(p) {
|
|
21096
21093
|
return [p];
|
|
21097
21094
|
});
|
|
21098
21095
|
return l = dA(l), Up(o, f, function(p, m) {
|
|
@@ -21349,7 +21346,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21349
21346
|
});
|
|
21350
21347
|
function RI(o) {
|
|
21351
21348
|
var l = o == null ? 0 : o.length, f = dA();
|
|
21352
|
-
return o = l ?
|
|
21349
|
+
return o = l ? ae(o, function(p) {
|
|
21353
21350
|
if (typeof p[1] != "function")
|
|
21354
21351
|
throw new zt(s);
|
|
21355
21352
|
return [f(p[0]), p[1]];
|
|
@@ -21420,7 +21417,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21420
21417
|
return Ep(l, o);
|
|
21421
21418
|
});
|
|
21422
21419
|
}
|
|
21423
|
-
var qI = sc(
|
|
21420
|
+
var qI = sc(ae), ZI = sc(Wh), jI = sc(xu);
|
|
21424
21421
|
function Pg(o) {
|
|
21425
21422
|
return dc(o) ? Hu(Un(o)) : SE(o);
|
|
21426
21423
|
}
|
|
@@ -21455,7 +21452,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21455
21452
|
return m;
|
|
21456
21453
|
}
|
|
21457
21454
|
function o1(o) {
|
|
21458
|
-
return CA(o) ?
|
|
21455
|
+
return CA(o) ? ae(o, Un) : kt(o) ? [o] : vt(ag(WA(o)));
|
|
21459
21456
|
}
|
|
21460
21457
|
function a1(o) {
|
|
21461
21458
|
var l = ++wv;
|
|
@@ -21734,16 +21731,16 @@ const BG = /* @__PURE__ */ JA({
|
|
|
21734
21731
|
return rA(), iA("div", {
|
|
21735
21732
|
class: IA(["camera", z(Q)])
|
|
21736
21733
|
}, [
|
|
21737
|
-
|
|
21738
|
-
|
|
21734
|
+
R("div", tk, [
|
|
21735
|
+
R("div", nk, [
|
|
21739
21736
|
VA(wA, { color: "#000" }, {
|
|
21740
21737
|
default: Pr(() => [
|
|
21741
|
-
|
|
21738
|
+
R("span", rk, Fe($.$t("camera.waitForCameraNotification")), 1)
|
|
21742
21739
|
]),
|
|
21743
21740
|
_: 1
|
|
21744
21741
|
})
|
|
21745
21742
|
]),
|
|
21746
|
-
|
|
21743
|
+
R("video", {
|
|
21747
21744
|
ref_key: "camera",
|
|
21748
21745
|
ref: i,
|
|
21749
21746
|
class: "camera__video",
|
|
@@ -21752,7 +21749,7 @@ const BG = /* @__PURE__ */ JA({
|
|
|
21752
21749
|
autoplay: "",
|
|
21753
21750
|
playsinline: ""
|
|
21754
21751
|
}, null, 8, ik),
|
|
21755
|
-
Vr(
|
|
21752
|
+
Vr(R("canvas", {
|
|
21756
21753
|
ref_key: "canvas",
|
|
21757
21754
|
ref: s,
|
|
21758
21755
|
class: "camera__canvas",
|
|
@@ -21775,19 +21772,19 @@ const BG = /* @__PURE__ */ JA({
|
|
|
21775
21772
|
src: t.guideSrc
|
|
21776
21773
|
}, null, 8, lk)) : xe("", !0)
|
|
21777
21774
|
]),
|
|
21778
|
-
|
|
21779
|
-
|
|
21780
|
-
|
|
21781
|
-
|
|
21782
|
-
|
|
21783
|
-
|
|
21775
|
+
R("div", uk, [
|
|
21776
|
+
R("div", ck, [
|
|
21777
|
+
R("div", fk, [
|
|
21778
|
+
R("div", dk, [
|
|
21779
|
+
R("div", hk, [
|
|
21780
|
+
R("button", {
|
|
21784
21781
|
type: "button",
|
|
21785
21782
|
class: "camera__toggle btn btn-primary",
|
|
21786
21783
|
onClick: S
|
|
21787
21784
|
}, [
|
|
21788
21785
|
c.value ? (rA(), iA("span", gk, Fe($.$t("common.pause")), 1)) : (rA(), iA("span", pk, Fe($.$t("common.play")), 1))
|
|
21789
21786
|
]),
|
|
21790
|
-
|
|
21787
|
+
R("button", {
|
|
21791
21788
|
type: "button",
|
|
21792
21789
|
class: "camera__capture btn btn-primary",
|
|
21793
21790
|
onClick: H
|
|
@@ -21798,7 +21795,7 @@ const BG = /* @__PURE__ */ JA({
|
|
|
21798
21795
|
])
|
|
21799
21796
|
]),
|
|
21800
21797
|
a.value && a.value.length > 1 ? (rA(), iA("div", Bk, [
|
|
21801
|
-
|
|
21798
|
+
R("button", {
|
|
21802
21799
|
class: "btn",
|
|
21803
21800
|
onClick: lr(U, ["prevent"])
|
|
21804
21801
|
}, [
|
|
@@ -22178,14 +22175,14 @@ const uh = function() {
|
|
|
22178
22175
|
if (typeof global < "u")
|
|
22179
22176
|
return global;
|
|
22180
22177
|
throw new Error("unable to locate global object");
|
|
22181
|
-
}(), lN = uh.fetch || (() => Promise.reject(new Error("[ofetch] global.fetch is not supported!"))), uN = uh.Headers, cN = uh.AbortController, fN = z0({ fetch: lN, Headers: uN, AbortController: cN }), dN = { class: "file-upload" }, hN = ["src"], pN = ["onClick"], gN = ["for"], BN = /* @__PURE__ */
|
|
22178
|
+
}(), lN = uh.fetch || (() => Promise.reject(new Error("[ofetch] global.fetch is not supported!"))), uN = uh.Headers, cN = uh.AbortController, fN = z0({ fetch: lN, Headers: uN, AbortController: cN }), dN = { class: "file-upload" }, hN = ["src"], pN = ["onClick"], gN = ["for"], BN = /* @__PURE__ */ R("span", { class: "btn btn-outline-dark" }, " Select Image ", -1), mN = {
|
|
22182
22179
|
key: 0,
|
|
22183
22180
|
class: "file-upload__loading-spinner"
|
|
22184
|
-
}, wN = /* @__PURE__ */
|
|
22181
|
+
}, wN = /* @__PURE__ */ R("span", {
|
|
22185
22182
|
class: "spinner-border",
|
|
22186
22183
|
role: "status"
|
|
22187
22184
|
}, [
|
|
22188
|
-
/* @__PURE__ */
|
|
22185
|
+
/* @__PURE__ */ R("span", { class: "visually-hidden" }, "Loading...")
|
|
22189
22186
|
], -1), CN = [
|
|
22190
22187
|
wN
|
|
22191
22188
|
];
|
|
@@ -22310,11 +22307,11 @@ const mG = /* @__PURE__ */ JA({
|
|
|
22310
22307
|
key: B.src,
|
|
22311
22308
|
class: "file-upload__thumbnail"
|
|
22312
22309
|
}, [
|
|
22313
|
-
|
|
22310
|
+
R("img", {
|
|
22314
22311
|
src: `${B.src}${t.previewWidth ? `?width=${t.previewWidth}` : ""}`,
|
|
22315
22312
|
class: "img-thumbnail rounded"
|
|
22316
22313
|
}, null, 8, hN),
|
|
22317
|
-
|
|
22314
|
+
R("button", {
|
|
22318
22315
|
onClick: lr((Q) => a(w), ["prevent"]),
|
|
22319
22316
|
class: "btn btn--close"
|
|
22320
22317
|
}, [
|
|
@@ -22329,11 +22326,11 @@ const mG = /* @__PURE__ */ JA({
|
|
|
22329
22326
|
accept: t.accept,
|
|
22330
22327
|
class: "d-none"
|
|
22331
22328
|
}, null, 8, ["modelValue", "id", "name", "accept"]),
|
|
22332
|
-
|
|
22329
|
+
R("label", {
|
|
22333
22330
|
for: t.id,
|
|
22334
22331
|
class: "file-upload__label"
|
|
22335
22332
|
}, [
|
|
22336
|
-
|
|
22333
|
+
ce(c.$slots, "button", {}, () => [
|
|
22337
22334
|
BN
|
|
22338
22335
|
]),
|
|
22339
22336
|
VA(kw, { name: "fade" }, {
|
|
@@ -22414,18 +22411,18 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
|
|
|
22414
22411
|
}), (i, s) => {
|
|
22415
22412
|
const a = un("svg-icon"), u = un("file-upload");
|
|
22416
22413
|
return rA(), iA("div", QN, [
|
|
22417
|
-
|
|
22418
|
-
|
|
22414
|
+
R("label", { innerHTML: t.label }, null, 8, vN),
|
|
22415
|
+
R("div", EN, [
|
|
22419
22416
|
(rA(!0), iA(Yr, null, xi(n.value, (c, d) => (rA(), iA("div", {
|
|
22420
22417
|
key: c,
|
|
22421
22418
|
class: "col-auto mb-4"
|
|
22422
22419
|
}, [
|
|
22423
|
-
|
|
22424
|
-
|
|
22420
|
+
R("div", FN, [
|
|
22421
|
+
R("img", {
|
|
22425
22422
|
src: `${c}${t.previewWidth ? `?width=${t.previewWidth}` : ""}`,
|
|
22426
22423
|
class: "img-thumbnail"
|
|
22427
22424
|
}, null, 8, UN),
|
|
22428
|
-
|
|
22425
|
+
R("button", {
|
|
22429
22426
|
onClick: lr((h) => r(d), ["prevent"]),
|
|
22430
22427
|
class: "btn btn--close"
|
|
22431
22428
|
}, [
|
|
@@ -22433,7 +22430,7 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
|
|
|
22433
22430
|
], 8, bN)
|
|
22434
22431
|
])
|
|
22435
22432
|
]))), 128)),
|
|
22436
|
-
|
|
22433
|
+
R("div", IN, [
|
|
22437
22434
|
VA(u, {
|
|
22438
22435
|
src: n.value[n.value.length],
|
|
22439
22436
|
"onUpdate:src": s[0] || (s[0] = (c) => n.value[n.value.length] = c),
|
|
@@ -22446,7 +22443,7 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
|
|
|
22446
22443
|
"base-response-path": t.baseResponsePath
|
|
22447
22444
|
}, {
|
|
22448
22445
|
button: Pr(() => [
|
|
22449
|
-
|
|
22446
|
+
R("span", SN, [
|
|
22450
22447
|
VA(a, { symbol: "plus" })
|
|
22451
22448
|
])
|
|
22452
22449
|
]),
|
|
@@ -22542,7 +22539,7 @@ const xN = { class: "upload-group" }, HN = ["innerHTML"], wG = /* @__PURE__ */ J
|
|
|
22542
22539
|
}
|
|
22543
22540
|
});
|
|
22544
22541
|
return (r, i) => (rA(), iA("div", xN, [
|
|
22545
|
-
|
|
22542
|
+
R("label", { innerHTML: t.label }, null, 8, HN),
|
|
22546
22543
|
VA(TN, {
|
|
22547
22544
|
modelValue: z(n),
|
|
22548
22545
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => ar(n) ? n.value = s : null),
|
|
@@ -22611,18 +22608,18 @@ const _N = { class: "carousel d-flex" }, LN = ["onClick"], ON = { class: "carous
|
|
|
22611
22608
|
}, [
|
|
22612
22609
|
VA(u, { symbol: "chevron-left" })
|
|
22613
22610
|
], 8, LN)) : xe("", !0),
|
|
22614
|
-
|
|
22611
|
+
R("div", {
|
|
22615
22612
|
ref_key: "viewport",
|
|
22616
22613
|
ref: e,
|
|
22617
22614
|
class: "carousel__viewport flex-grow-1"
|
|
22618
22615
|
}, [
|
|
22619
|
-
|
|
22620
|
-
(rA(!0), iA(Yr, null, xi(t.items, (c, d) =>
|
|
22616
|
+
R("div", ON, [
|
|
22617
|
+
(rA(!0), iA(Yr, null, xi(t.items, (c, d) => ce(s.$slots, "carousel-item", {
|
|
22621
22618
|
key: c.src,
|
|
22622
22619
|
item: c,
|
|
22623
22620
|
index: d
|
|
22624
22621
|
}, () => [
|
|
22625
|
-
|
|
22622
|
+
R("div", {
|
|
22626
22623
|
class: IA(["carousel__item", d === t.modelValue ? "selected" : ""]),
|
|
22627
22624
|
onClick: (h) => i(d)
|
|
22628
22625
|
}, Fe(c), 11, MN)
|
|
@@ -22669,13 +22666,13 @@ const NN = { class: "media-thumbnails" }, RN = ["onClick"], KN = { class: "img-c
|
|
|
22669
22666
|
return (r, i) => (rA(), iA("div", NN, [
|
|
22670
22667
|
VA(kN, { items: t.assets }, {
|
|
22671
22668
|
"carousel-item": Pr((s) => [
|
|
22672
|
-
|
|
22669
|
+
R("a", {
|
|
22673
22670
|
role: "button",
|
|
22674
22671
|
class: "carousel__item media-thumbnails__thumbnail",
|
|
22675
22672
|
onClick: (a) => n(s.index)
|
|
22676
22673
|
}, [
|
|
22677
|
-
|
|
22678
|
-
|
|
22674
|
+
R("div", KN, [
|
|
22675
|
+
R("img", {
|
|
22679
22676
|
src: s.item.thumbnail || s.item.src,
|
|
22680
22677
|
class: IA(["img-fluid", e.value === s.index ? "is-active" : ""])
|
|
22681
22678
|
}, null, 10, PN)
|
|
@@ -22717,7 +22714,7 @@ const VN = { class: "progress-steps" }, GN = { class: "progress-steps__list" },
|
|
|
22717
22714
|
A("update:modelValue", r), r >= e.progress && A("update:progress", r);
|
|
22718
22715
|
}
|
|
22719
22716
|
return (r, i) => (rA(), iA("div", VN, [
|
|
22720
|
-
|
|
22717
|
+
R("ul", GN, [
|
|
22721
22718
|
(rA(!0), iA(Yr, null, xi(t.steps, (s, a) => (rA(), iA("li", {
|
|
22722
22719
|
key: a,
|
|
22723
22720
|
class: IA(["progress-steps__step", {
|
|
@@ -22725,9 +22722,9 @@ const VN = { class: "progress-steps" }, GN = { class: "progress-steps__list" },
|
|
|
22725
22722
|
"progress-steps__step--active": a === (t.modelValue || 0)
|
|
22726
22723
|
}])
|
|
22727
22724
|
}, [
|
|
22728
|
-
|
|
22729
|
-
|
|
22730
|
-
|
|
22725
|
+
ce(r.$slots, "step", {}, () => [
|
|
22726
|
+
R("div", WN, [
|
|
22727
|
+
R("input", {
|
|
22731
22728
|
type: "radio",
|
|
22732
22729
|
checked: a <= (t.progress || 0),
|
|
22733
22730
|
id: `step-${a}`,
|
|
@@ -22739,21 +22736,21 @@ const VN = { class: "progress-steps" }, GN = { class: "progress-steps__list" },
|
|
|
22739
22736
|
required: s.required,
|
|
22740
22737
|
onChange: (u) => n(a)
|
|
22741
22738
|
}, null, 40, $N),
|
|
22742
|
-
|
|
22739
|
+
R("label", {
|
|
22743
22740
|
for: `step-${a}`
|
|
22744
22741
|
}, [
|
|
22745
|
-
|
|
22746
|
-
|
|
22742
|
+
ce(r.$slots, "button", { step: s }, () => [
|
|
22743
|
+
R("span", {
|
|
22747
22744
|
class: "btn rounded-circle",
|
|
22748
22745
|
innerHTML: s.text
|
|
22749
22746
|
}, null, 8, XN)
|
|
22750
22747
|
])
|
|
22751
22748
|
], 8, JN),
|
|
22752
|
-
|
|
22749
|
+
R("label", {
|
|
22753
22750
|
for: `step-${a}`
|
|
22754
22751
|
}, [
|
|
22755
|
-
|
|
22756
|
-
|
|
22752
|
+
ce(r.$slots, "label", { step: s }, () => [
|
|
22753
|
+
R("span", {
|
|
22757
22754
|
class: "form-check-label",
|
|
22758
22755
|
innerHTML: s.label
|
|
22759
22756
|
}, null, 8, zN)
|
|
@@ -26632,7 +26629,7 @@ var U2 = function(t, A) {
|
|
|
26632
26629
|
var E = Math.max.apply(Math, I);
|
|
26633
26630
|
E > 1 && (i /= E, s /= E, u /= E, c /= E, h /= E, g /= E, w /= E, Q /= E);
|
|
26634
26631
|
var U = n.width - u, O = n.height - g, v = n.width - h, S = n.height - Q, H = e.borderTopWidth, k = e.borderRightWidth, W = e.borderBottomWidth, $ = e.borderLeftWidth, AA = ne(e.paddingTop, A.bounds.width), wA = ne(e.paddingRight, A.bounds.width), QA = ne(e.paddingBottom, A.bounds.width), cA = ne(e.paddingLeft, A.bounds.width);
|
|
26635
|
-
this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ?
|
|
26632
|
+
this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ? le(n.left + $ / 3, n.top + H / 3, i - $ / 3, s - H / 3, $A.TOP_LEFT) : new j(n.left + $ / 3, n.top + H / 3), this.topRightBorderDoubleOuterBox = i > 0 || s > 0 ? le(n.left + U, n.top + H / 3, u - k / 3, c - H / 3, $A.TOP_RIGHT) : new j(n.left + n.width - k / 3, n.top + H / 3), this.bottomRightBorderDoubleOuterBox = h > 0 || g > 0 ? le(n.left + v, n.top + O, h - k / 3, g - W / 3, $A.BOTTOM_RIGHT) : new j(n.left + n.width - k / 3, n.top + n.height - W / 3), this.bottomLeftBorderDoubleOuterBox = w > 0 || Q > 0 ? le(n.left + $ / 3, n.top + S, w - $ / 3, Q - W / 3, $A.BOTTOM_LEFT) : new j(n.left + $ / 3, n.top + n.height - W / 3), this.topLeftBorderDoubleInnerBox = i > 0 || s > 0 ? le(n.left + $ * 2 / 3, n.top + H * 2 / 3, i - $ * 2 / 3, s - H * 2 / 3, $A.TOP_LEFT) : new j(n.left + $ * 2 / 3, n.top + H * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || s > 0 ? le(n.left + U, n.top + H * 2 / 3, u - k * 2 / 3, c - H * 2 / 3, $A.TOP_RIGHT) : new j(n.left + n.width - k * 2 / 3, n.top + H * 2 / 3), this.bottomRightBorderDoubleInnerBox = h > 0 || g > 0 ? le(n.left + v, n.top + O, h - k * 2 / 3, g - W * 2 / 3, $A.BOTTOM_RIGHT) : new j(n.left + n.width - k * 2 / 3, n.top + n.height - W * 2 / 3), this.bottomLeftBorderDoubleInnerBox = w > 0 || Q > 0 ? le(n.left + $ * 2 / 3, n.top + S, w - $ * 2 / 3, Q - W * 2 / 3, $A.BOTTOM_LEFT) : new j(n.left + $ * 2 / 3, n.top + n.height - W * 2 / 3), this.topLeftBorderStroke = i > 0 || s > 0 ? le(n.left + $ / 2, n.top + H / 2, i - $ / 2, s - H / 2, $A.TOP_LEFT) : new j(n.left + $ / 2, n.top + H / 2), this.topRightBorderStroke = i > 0 || s > 0 ? le(n.left + U, n.top + H / 2, u - k / 2, c - H / 2, $A.TOP_RIGHT) : new j(n.left + n.width - k / 2, n.top + H / 2), this.bottomRightBorderStroke = h > 0 || g > 0 ? le(n.left + v, n.top + O, h - k / 2, g - W / 2, $A.BOTTOM_RIGHT) : new j(n.left + n.width - k / 2, n.top + n.height - W / 2), this.bottomLeftBorderStroke = w > 0 || Q > 0 ? le(n.left + $ / 2, n.top + S, w - $ / 2, Q - W / 2, $A.BOTTOM_LEFT) : new j(n.left + $ / 2, n.top + n.height - W / 2), this.topLeftBorderBox = i > 0 || s > 0 ? le(n.left, n.top, i, s, $A.TOP_LEFT) : new j(n.left, n.top), this.topRightBorderBox = u > 0 || c > 0 ? le(n.left + U, n.top, u, c, $A.TOP_RIGHT) : new j(n.left + n.width, n.top), this.bottomRightBorderBox = h > 0 || g > 0 ? le(n.left + v, n.top + O, h, g, $A.BOTTOM_RIGHT) : new j(n.left + n.width, n.top + n.height), this.bottomLeftBorderBox = w > 0 || Q > 0 ? le(n.left, n.top + S, w, Q, $A.BOTTOM_LEFT) : new j(n.left, n.top + n.height), this.topLeftPaddingBox = i > 0 || s > 0 ? le(n.left + $, n.top + H, Math.max(0, i - $), Math.max(0, s - H), $A.TOP_LEFT) : new j(n.left + $, n.top + H), this.topRightPaddingBox = u > 0 || c > 0 ? le(n.left + Math.min(U, n.width - k), n.top + H, U > n.width + k ? 0 : Math.max(0, u - k), Math.max(0, c - H), $A.TOP_RIGHT) : new j(n.left + n.width - k, n.top + H), this.bottomRightPaddingBox = h > 0 || g > 0 ? le(n.left + Math.min(v, n.width - $), n.top + Math.min(O, n.height - W), Math.max(0, h - k), Math.max(0, g - W), $A.BOTTOM_RIGHT) : new j(n.left + n.width - k, n.top + n.height - W), this.bottomLeftPaddingBox = w > 0 || Q > 0 ? le(n.left + $, n.top + Math.min(S, n.height - W), Math.max(0, w - $), Math.max(0, Q - W), $A.BOTTOM_LEFT) : new j(n.left + $, n.top + n.height - W), this.topLeftContentBox = i > 0 || s > 0 ? le(n.left + $ + cA, n.top + H + AA, Math.max(0, i - ($ + cA)), Math.max(0, s - (H + AA)), $A.TOP_LEFT) : new j(n.left + $ + cA, n.top + H + AA), this.topRightContentBox = u > 0 || c > 0 ? le(n.left + Math.min(U, n.width + $ + cA), n.top + H + AA, U > n.width + $ + cA ? 0 : u - $ + cA, c - (H + AA), $A.TOP_RIGHT) : new j(n.left + n.width - (k + wA), n.top + H + AA), this.bottomRightContentBox = h > 0 || g > 0 ? le(n.left + Math.min(v, n.width - ($ + cA)), n.top + Math.min(O, n.height + H + AA), Math.max(0, h - (k + wA)), g - (W + QA), $A.BOTTOM_RIGHT) : new j(n.left + n.width - (k + wA), n.top + n.height - (W + QA)), this.bottomLeftContentBox = w > 0 || Q > 0 ? le(n.left + $ + cA, n.top + S, Math.max(0, w - ($ + cA)), Q - (W + QA), $A.BOTTOM_LEFT) : new j(n.left + $ + cA, n.top + n.height - (W + QA));
|
|
26636
26633
|
}
|
|
26637
26634
|
return t;
|
|
26638
26635
|
}()
|
|
@@ -26640,7 +26637,7 @@ var U2 = function(t, A) {
|
|
|
26640
26637
|
(function(t) {
|
|
26641
26638
|
t[t.TOP_LEFT = 0] = "TOP_LEFT", t[t.TOP_RIGHT = 1] = "TOP_RIGHT", t[t.BOTTOM_RIGHT = 2] = "BOTTOM_RIGHT", t[t.BOTTOM_LEFT = 3] = "BOTTOM_LEFT";
|
|
26642
26639
|
})($A || ($A = {}));
|
|
26643
|
-
var
|
|
26640
|
+
var le = function(t, A, e, n, r) {
|
|
26644
26641
|
var i = 4 * ((Math.sqrt(2) - 1) / 3), s = e * i, a = n * i, u = t + e, c = A + n;
|
|
26645
26642
|
switch (r) {
|
|
26646
26643
|
case $A.TOP_LEFT:
|
|
@@ -27715,7 +27712,7 @@ const QG = /* @__PURE__ */ JA({
|
|
|
27715
27712
|
ref: n,
|
|
27716
27713
|
style: D1(t.fixedWidth > 0 ? { width: `${t.fixedWidth}px` } : {})
|
|
27717
27714
|
}, [
|
|
27718
|
-
|
|
27715
|
+
ce(u.$slots, "default")
|
|
27719
27716
|
], 6));
|
|
27720
27717
|
}
|
|
27721
27718
|
}), QV = { class: "link-sharing" }, vV = {
|
|
@@ -27790,93 +27787,93 @@ const QG = /* @__PURE__ */ JA({
|
|
|
27790
27787
|
const c = un("svg-icon");
|
|
27791
27788
|
return rA(), iA("div", QV, [
|
|
27792
27789
|
e.value ? (rA(), iA("div", WV, [
|
|
27793
|
-
|
|
27794
|
-
|
|
27795
|
-
|
|
27796
|
-
|
|
27797
|
-
|
|
27798
|
-
|
|
27790
|
+
R("div", $V, [
|
|
27791
|
+
R("div", JV, [
|
|
27792
|
+
R("div", XV, [
|
|
27793
|
+
R("p", null, Fe(a.$t("sharing.instructions", { service: "Instagram" })), 1),
|
|
27794
|
+
R("p", null, [
|
|
27795
|
+
R("strong", null, Fe(t.hashtags), 1)
|
|
27799
27796
|
])
|
|
27800
27797
|
])
|
|
27801
27798
|
])
|
|
27802
27799
|
])
|
|
27803
27800
|
])) : (rA(), iA("div", vV, [
|
|
27804
|
-
|
|
27801
|
+
R("div", EV, [
|
|
27805
27802
|
t.services.facebook ? (rA(), iA("div", FV, [
|
|
27806
|
-
|
|
27803
|
+
R("a", {
|
|
27807
27804
|
class: "link-sharing__link btn btn-primary",
|
|
27808
27805
|
href: `https://www.facebook.com/sharer.php?u=${z(n)}`,
|
|
27809
27806
|
target: "_blank",
|
|
27810
27807
|
rel: "noopener"
|
|
27811
27808
|
}, [
|
|
27812
27809
|
VA(c, { symbol: "facebook" }),
|
|
27813
|
-
|
|
27810
|
+
R("span", bV, Fe(a.$t("sharing.facebook")), 1)
|
|
27814
27811
|
], 8, UV)
|
|
27815
27812
|
])) : xe("", !0),
|
|
27816
27813
|
t.services.x ? (rA(), iA("div", IV, [
|
|
27817
|
-
|
|
27814
|
+
R("a", {
|
|
27818
27815
|
class: "link-sharing__link btn btn-primary",
|
|
27819
27816
|
href: `https://x.com/share?text=${t.subject}&url=${z(n)}`,
|
|
27820
27817
|
target: "_blank",
|
|
27821
27818
|
rel: "noopener"
|
|
27822
27819
|
}, [
|
|
27823
27820
|
VA(c, { symbol: "x-logo" }),
|
|
27824
|
-
|
|
27821
|
+
R("span", TV, Fe(a.$t("sharing.x")), 1)
|
|
27825
27822
|
], 8, SV)
|
|
27826
27823
|
])) : xe("", !0),
|
|
27827
27824
|
t.services.instagram ? (rA(), iA("div", xV, [
|
|
27828
|
-
|
|
27825
|
+
R("button", {
|
|
27829
27826
|
class: "link-sharing__link btn btn-primary",
|
|
27830
27827
|
onClick: u[0] || (u[0] = lr((d) => e.value = !e.value, ["prevent"])),
|
|
27831
27828
|
target: "_blank",
|
|
27832
27829
|
rel: "noopener"
|
|
27833
27830
|
}, [
|
|
27834
27831
|
VA(c, { symbol: "instagram" }),
|
|
27835
|
-
|
|
27832
|
+
R("span", HV, Fe(a.$t("sharing.instagram")), 1)
|
|
27836
27833
|
])
|
|
27837
27834
|
])) : xe("", !0),
|
|
27838
27835
|
t.services.linkedin ? (rA(), iA("div", _V, [
|
|
27839
|
-
|
|
27836
|
+
R("a", {
|
|
27840
27837
|
class: "link-sharing__link btn btn-primary",
|
|
27841
27838
|
href: `https://www.linkedin.com/shareArticle?mini=true&url=${z(n)}&title=${t.subject}`,
|
|
27842
27839
|
target: "_blank",
|
|
27843
27840
|
rel: "noopener"
|
|
27844
27841
|
}, [
|
|
27845
27842
|
VA(c, { symbol: "linkedin" }),
|
|
27846
|
-
|
|
27843
|
+
R("span", OV, Fe(a.$t("sharing.linkedin")), 1)
|
|
27847
27844
|
], 8, LV)
|
|
27848
27845
|
])) : xe("", !0),
|
|
27849
27846
|
t.services.whatsapp && z(i) ? (rA(), iA("div", MV, [
|
|
27850
|
-
|
|
27847
|
+
R("a", {
|
|
27851
27848
|
class: "link-sharing__link btn btn-primary",
|
|
27852
27849
|
href: `whatsapp://send?text=${z(n)}`,
|
|
27853
27850
|
target: "_blank",
|
|
27854
27851
|
rel: "noopener"
|
|
27855
27852
|
}, [
|
|
27856
27853
|
VA(c, { symbol: "whatsapp" }),
|
|
27857
|
-
|
|
27854
|
+
R("span", kV, Fe(a.$t("sharing.whatsapp")), 1)
|
|
27858
27855
|
], 8, DV)
|
|
27859
27856
|
])) : xe("", !0),
|
|
27860
27857
|
t.services.clipboard ? (rA(), iA("div", NV, [
|
|
27861
|
-
|
|
27858
|
+
R("button", {
|
|
27862
27859
|
class: "link-sharing__link btn btn-primary",
|
|
27863
27860
|
onClick: lr(s, ["prevent", "stop"]),
|
|
27864
27861
|
target: "_blank",
|
|
27865
27862
|
rel: "noopener"
|
|
27866
27863
|
}, [
|
|
27867
27864
|
VA(c, { symbol: "copy" }),
|
|
27868
|
-
|
|
27865
|
+
R("span", KV, Fe(a.$t("sharing.clipboard")), 1)
|
|
27869
27866
|
], 8, RV)
|
|
27870
27867
|
])) : xe("", !0),
|
|
27871
27868
|
t.services.mailto ? (rA(), iA("div", PV, [
|
|
27872
|
-
|
|
27869
|
+
R("a", {
|
|
27873
27870
|
class: "link-sharing__link btn btn-primary",
|
|
27874
27871
|
href: `mailto:?subject=${t.subject}&body=${z(r)}%0D%0A${t.url}`,
|
|
27875
27872
|
target: "_blank",
|
|
27876
27873
|
rel: "noopener"
|
|
27877
27874
|
}, [
|
|
27878
27875
|
VA(c, { symbol: "mail" }),
|
|
27879
|
-
|
|
27876
|
+
R("span", GV, Fe(a.$t("sharing.mailto")), 1)
|
|
27880
27877
|
], 8, VV)
|
|
27881
27878
|
])) : xe("", !0)
|
|
27882
27879
|
])
|
|
@@ -27905,13 +27902,13 @@ const zV = { class: "base-form" }, qV = ["onSubmit"], EG = /* @__PURE__ */ JA({
|
|
|
27905
27902
|
console.log("submit", r);
|
|
27906
27903
|
}
|
|
27907
27904
|
return (r, i) => (rA(), iA("div", zV, [
|
|
27908
|
-
|
|
27905
|
+
R("form", {
|
|
27909
27906
|
ref: "form",
|
|
27910
27907
|
onInput: A,
|
|
27911
27908
|
onReset: e,
|
|
27912
27909
|
onSubmit: lr(n, ["prevent"])
|
|
27913
27910
|
}, [
|
|
27914
|
-
|
|
27911
|
+
ce(r.$slots, "default")
|
|
27915
27912
|
], 40, qV)
|
|
27916
27913
|
]));
|
|
27917
27914
|
}
|