ablok-components 0.1.205 → 0.1.207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var SP = Object.defineProperty;
|
|
2
2
|
var UP = (t, e, A) => e in t ? SP(t, e, { enumerable: !0, configurable: !0, writable: !0, value: A }) : t[e] = A;
|
|
3
3
|
var Ye = (t, e, A) => (UP(t, typeof e != "symbol" ? e + "" : e, A), A);
|
|
4
|
-
import { defineComponent as Xe, openBlock as M, createElementBlock as Y, normalizeClass as De, createElementVNode as V, renderSlot as be, ref as de, resolveComponent as wA, createBlock as ot, createCommentVNode as pe, computed as oe, resolveDynamicComponent as Oc, withCtx as At, toDisplayString as Ct, createVNode as Re, onMounted as zt, withDirectives as lr, vModelDynamic as _P, vModelText as oB, withModifiers as JA, vModelCheckbox as aB, reactive as Fa, useSlots as Eo, toRef as oc, getCurrentInstance as Gl, nextTick as Vn, onUnmounted as Sa, watch as
|
|
4
|
+
import { defineComponent as Xe, openBlock as M, createElementBlock as Y, normalizeClass as De, createElementVNode as V, renderSlot as be, ref as de, resolveComponent as wA, createBlock as ot, createCommentVNode as pe, computed as oe, resolveDynamicComponent as Oc, withCtx as At, toDisplayString as Ct, createVNode as Re, onMounted as zt, withDirectives as lr, vModelDynamic as _P, vModelText as oB, withModifiers as JA, vModelCheckbox as aB, reactive as Fa, useSlots as Eo, toRef as oc, getCurrentInstance as Gl, nextTick as Vn, onUnmounted as Sa, watch as rA, unref as D, mergeProps as zA, isRef as sb, createSlots as Un, renderList as Rt, normalizeProps as rn, guardReactiveProps as or, Teleport as PQ, Transition as ko, normalizeStyle as ar, Fragment as st, h as Ri, render as ob, useAttrs as IP, createTextVNode as fi, toValue as TP, onBeforeUpdate as xP, vShow as yl, withKeys as OP, getCurrentScope as DP, onScopeDispose as LP, inject as MP, shallowRef as lB, onBeforeMount as $Q, Text as HP, onBeforeUnmount as ks, watchEffect as NP, markRaw as RP, customRef as PP, vModelRadio as $P, TransitionGroup as KP } from "vue";
|
|
5
5
|
import { applyStyles as VP, createPopper as WP } from "@popperjs/core";
|
|
6
6
|
const GP = {
|
|
7
7
|
class: "icon",
|
|
@@ -4422,15 +4422,15 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4422
4422
|
};
|
|
4423
4423
|
}, cK = (t, e, A) => {
|
|
4424
4424
|
const n = de(), { defaultedTextInput: r, defaultedRange: i, defaultedTz: s, defaultedMultiDates: o, getDefaultPattern: a } = gA(e), u = de(""), d = oc(e, "format"), f = oc(e, "formatLocale");
|
|
4425
|
-
|
|
4425
|
+
rA(
|
|
4426
4426
|
n,
|
|
4427
4427
|
() => {
|
|
4428
4428
|
typeof e.onInternalModelChange == "function" && t("internal-model-change", n.value, ue(!0));
|
|
4429
4429
|
},
|
|
4430
4430
|
{ deep: !0 }
|
|
4431
|
-
),
|
|
4431
|
+
), rA(i, (F, te) => {
|
|
4432
4432
|
F.enabled !== te.enabled && (n.value = null);
|
|
4433
|
-
}),
|
|
4433
|
+
}), rA(d, () => {
|
|
4434
4434
|
ne();
|
|
4435
4435
|
});
|
|
4436
4436
|
const h = (F) => s.value.timezone && s.value.convertModel ? ur(F, s.value.timezone) : F, g = (F) => {
|
|
@@ -4892,7 +4892,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4892
4892
|
dp__container_block: ((q = o.items) == null ? void 0 : q.length) > 6
|
|
4893
4893
|
};
|
|
4894
4894
|
});
|
|
4895
|
-
|
|
4895
|
+
rA(
|
|
4896
4896
|
() => o.items,
|
|
4897
4897
|
() => ae(!1),
|
|
4898
4898
|
{ deep: !0 }
|
|
@@ -5274,7 +5274,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
5274
5274
|
}, C = () => {
|
|
5275
5275
|
E(), t.value.count && y();
|
|
5276
5276
|
};
|
|
5277
|
-
|
|
5277
|
+
rA(i, (R, le) => {
|
|
5278
5278
|
s.isTextInputDate && JSON.stringify(R ?? {}) !== JSON.stringify(le ?? {}) && C();
|
|
5279
5279
|
}), zt(() => {
|
|
5280
5280
|
C();
|
|
@@ -7138,7 +7138,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7138
7138
|
} = e3(r, n, Se, K), T = Eo(), { setHoverDate: R, getDayClassData: le, clearHoverDate: ae } = v3(a, r), { defaultedMultiCalendars: ge } = gA(r), P = de([]), z = de([]), W = de(null), re = kr(T, "calendar"), ne = kr(T, "monthYear"), j = kr(T, "timePicker"), Be = (ke) => {
|
|
7139
7139
|
r.shadow || n("mount", ke);
|
|
7140
7140
|
};
|
|
7141
|
-
|
|
7141
|
+
rA(
|
|
7142
7142
|
i,
|
|
7143
7143
|
() => {
|
|
7144
7144
|
r.shadow || setTimeout(() => {
|
|
@@ -7146,7 +7146,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7146
7146
|
}, 0);
|
|
7147
7147
|
},
|
|
7148
7148
|
{ deep: !0 }
|
|
7149
|
-
),
|
|
7149
|
+
), rA(
|
|
7150
7150
|
ge,
|
|
7151
7151
|
(ke, Z) => {
|
|
7152
7152
|
ke.count - Z.count > 0 && _();
|
|
@@ -7836,7 +7836,7 @@ const g3 = ({
|
|
|
7836
7836
|
top: "0",
|
|
7837
7837
|
left: "0"
|
|
7838
7838
|
}), h = de(!1), g = oc(s, "teleportCenter");
|
|
7839
|
-
|
|
7839
|
+
rA(g, () => {
|
|
7840
7840
|
f.value = JSON.parse(JSON.stringify({})), S();
|
|
7841
7841
|
});
|
|
7842
7842
|
const m = (W) => {
|
|
@@ -8034,7 +8034,7 @@ const g3 = ({
|
|
|
8034
8034
|
minutes: o("minutes"),
|
|
8035
8035
|
seconds: o("seconds")
|
|
8036
8036
|
});
|
|
8037
|
-
|
|
8037
|
+
rA(
|
|
8038
8038
|
n,
|
|
8039
8039
|
(h, g) => {
|
|
8040
8040
|
h.enabled !== g.enabled && (a.hours = o("hours"), a.minutes = o("minutes"), a.seconds = o("seconds"));
|
|
@@ -8051,7 +8051,7 @@ const g3 = ({
|
|
|
8051
8051
|
), f = oe(
|
|
8052
8052
|
() => (h) => s.value[h] ? s.value[h].year : 0
|
|
8053
8053
|
);
|
|
8054
|
-
return
|
|
8054
|
+
return rA(
|
|
8055
8055
|
u,
|
|
8056
8056
|
(h, g) => {
|
|
8057
8057
|
A && JSON.stringify(h ?? {}) !== JSON.stringify(g ?? {}) && A();
|
|
@@ -8550,7 +8550,7 @@ const g3 = ({
|
|
|
8550
8550
|
if (!t)
|
|
8551
8551
|
return om;
|
|
8552
8552
|
let r = om;
|
|
8553
|
-
const i =
|
|
8553
|
+
const i = rA(
|
|
8554
8554
|
() => D(t),
|
|
8555
8555
|
(o) => {
|
|
8556
8556
|
r(), o && (o.removeEventListener(e, A), o.addEventListener(e, A, n), r = () => {
|
|
@@ -8627,7 +8627,7 @@ const g3 = ({
|
|
|
8627
8627
|
window == null || window.removeEventListener("keyup", gt), window == null || window.removeEventListener("keydown", L);
|
|
8628
8628
|
});
|
|
8629
8629
|
const re = kr(i, "all", r.presetDates), ne = kr(i, "input");
|
|
8630
|
-
|
|
8630
|
+
rA(
|
|
8631
8631
|
[o, a],
|
|
8632
8632
|
() => {
|
|
8633
8633
|
F(o.value);
|
|
@@ -11416,9 +11416,9 @@ function vW(t = {}, e) {
|
|
|
11416
11416
|
function Ge(ce, ie) {
|
|
11417
11417
|
g.value[ce] = _n(g.value[ce] || {}, ie), T.numberFormats = g.value, Xb(T, ce, ie);
|
|
11418
11418
|
}
|
|
11419
|
-
t1++, A && bs && (
|
|
11419
|
+
t1++, A && bs && (rA(A.locale, (ce) => {
|
|
11420
11420
|
a && (u.value = ce, T.locale = ce, yu(T, u.value, d.value));
|
|
11421
|
-
}),
|
|
11421
|
+
}), rA(A.fallbackLocale, (ce) => {
|
|
11422
11422
|
a && (d.value = ce, T.fallbackLocale = ce, yu(T, u.value, d.value));
|
|
11423
11423
|
}));
|
|
11424
11424
|
const it = {
|
|
@@ -12496,9 +12496,9 @@ const jW = ["id", "name", "multiple", "accept", "disabled"], XW = { class: "inpu
|
|
|
12496
12496
|
}));
|
|
12497
12497
|
}
|
|
12498
12498
|
const i = de(), s = Fa([]), o = oe(() => s && s.map((a) => a.name));
|
|
12499
|
-
return
|
|
12499
|
+
return rA(() => A.modelValue, (a, u) => {
|
|
12500
12500
|
a.length === 0 && (i.value.value = null);
|
|
12501
|
-
}, { deep: !0 }),
|
|
12501
|
+
}, { deep: !0 }), rA(() => s, (a, u) => {
|
|
12502
12502
|
n("update:modelValue", a);
|
|
12503
12503
|
}, { deep: !0 }), (a, u) => (M(), Y("div", {
|
|
12504
12504
|
class: De(["input input-file", "input-file--primary"])
|
|
@@ -28652,7 +28652,7 @@ const fj = (t = {}) => {
|
|
|
28652
28652
|
})
|
|
28653
28653
|
]
|
|
28654
28654
|
});
|
|
28655
|
-
|
|
28655
|
+
rA(() => A.modelValue, (u, d) => {
|
|
28656
28656
|
if (i.value) {
|
|
28657
28657
|
if (i.value.getHTML() === u)
|
|
28658
28658
|
return;
|
|
@@ -29438,7 +29438,7 @@ const Yj = {
|
|
|
29438
29438
|
const g = new RegExp(`(${s.value})`, "i");
|
|
29439
29439
|
return o.value.map((m) => m.replace(g, "<strong>$1</strong>"));
|
|
29440
29440
|
});
|
|
29441
|
-
|
|
29441
|
+
rA(() => A.options, (g, m) => {
|
|
29442
29442
|
g.length && (i.value = !0);
|
|
29443
29443
|
}, { deep: !0 });
|
|
29444
29444
|
function u() {
|
|
@@ -29558,8 +29558,8 @@ Oh.exports;
|
|
|
29558
29558
|
"setTimeout"
|
|
29559
29559
|
], KO = -1, oA = {};
|
|
29560
29560
|
oA[nt] = oA[_t] = oA[XA] = oA[Tn] = oA[yn] = oA[me] = oA[Ve] = oA[tt] = oA[It] = !0, oA[se] = oA[ue] = oA[ce] = oA[te] = oA[ie] = oA[Oe] = oA[fe] = oA[rt] = oA[Z] = oA[O] = oA[Ue] = oA[L] = oA[H] = oA[ye] = oA[Ge] = !1;
|
|
29561
|
-
var
|
|
29562
|
-
|
|
29561
|
+
var iA = {};
|
|
29562
|
+
iA[se] = iA[ue] = iA[ce] = iA[ie] = iA[te] = iA[Oe] = iA[nt] = iA[_t] = iA[XA] = iA[Tn] = iA[yn] = iA[Z] = iA[O] = iA[Ue] = iA[L] = iA[H] = iA[ye] = iA[$] = iA[me] = iA[Ve] = iA[tt] = iA[It] = !0, iA[fe] = iA[rt] = iA[Ge] = !1;
|
|
29563
29563
|
var VO = {
|
|
29564
29564
|
// Latin-1 Supplement block.
|
|
29565
29565
|
À: "A",
|
|
@@ -30379,7 +30379,7 @@ Oh.exports;
|
|
|
30379
30379
|
if (N = ee || Ne ? {} : gC(l), !G)
|
|
30380
30380
|
return ee ? GL(l, pL(N, l)) : WL(l, Fw(N, l));
|
|
30381
30381
|
} else {
|
|
30382
|
-
if (!
|
|
30382
|
+
if (!iA[_e])
|
|
30383
30383
|
return k ? l : {};
|
|
30384
30384
|
N = rM(l, _e, G);
|
|
30385
30385
|
}
|
|
@@ -33313,11 +33313,11 @@ const mce = /* @__PURE__ */ Xe({
|
|
|
33313
33313
|
async function P(ne, j) {
|
|
33314
33314
|
R(), ne && (!j || ne.deviceId !== j.deviceId) && await le();
|
|
33315
33315
|
}
|
|
33316
|
-
|
|
33316
|
+
rA(() => d.value, P), rA(() => f.value, P);
|
|
33317
33317
|
function z() {
|
|
33318
33318
|
r.countdown ? (B.value = B.value ? B.value - 1 : r.countdown, B.value ? setTimeout(z, 1e3) : W()) : W();
|
|
33319
33319
|
}
|
|
33320
|
-
e({ onCapture: z });
|
|
33320
|
+
e({ onCapture: z, camera: s.value });
|
|
33321
33321
|
function W() {
|
|
33322
33322
|
g.value = !0;
|
|
33323
33323
|
const ne = o.value.getContext("2d"), j = s.value, Be = j && j.srcObject && j.srcObject.getTracks(), { aspectRatio: Ae, width: Se, height: K } = Be.length && Be[0].getSettings(), q = n[r.ratio], se = q.width / q.height;
|
|
@@ -33942,14 +33942,14 @@ const yce = /* @__PURE__ */ Xe({
|
|
|
33942
33942
|
emits: ["update:modelValue", "update:src"],
|
|
33943
33943
|
setup(t, { emit: e }) {
|
|
33944
33944
|
const A = t, n = e, r = de([]), i = de([]), s = de(!1), o = de(!1), a = oe(() => A.modelValue.length ? A.modelValue : A.src ? [{ type: "", src: A.src }] : i.value);
|
|
33945
|
-
|
|
33945
|
+
rA(() => r.value, async (m) => {
|
|
33946
33946
|
i.value = await Promise.all(
|
|
33947
33947
|
m.map(async (y) => ({
|
|
33948
33948
|
src: A.toDataUrl ? await m7(y) : await d(y),
|
|
33949
33949
|
type: y.type
|
|
33950
33950
|
}))
|
|
33951
33951
|
);
|
|
33952
|
-
}, { deep: !0 }),
|
|
33952
|
+
}, { deep: !0 }), rA(() => i.value, async (m) => {
|
|
33953
33953
|
const y = A.multiple ? m : m[0];
|
|
33954
33954
|
n("update:modelValue", y), A.multiple || n("update:src", m[0] && m[0].src);
|
|
33955
33955
|
}, { deep: !0 });
|
|
@@ -34123,7 +34123,7 @@ const y7 = { class: "upload-group" }, v7 = ["innerHTML"], B7 = { class: "upload-
|
|
|
34123
34123
|
function s(o) {
|
|
34124
34124
|
i.value.splice(o, 1), n("update:modelValue", i.value);
|
|
34125
34125
|
}
|
|
34126
|
-
return
|
|
34126
|
+
return rA(r, (o, a) => {
|
|
34127
34127
|
o && (n("update:modelValue", [...i.value, o]), r.value = "");
|
|
34128
34128
|
}), (o, a) => {
|
|
34129
34129
|
const u = wA("svg-icon"), d = wA("file-upload"), f = wA("sortable-list");
|
|
@@ -35363,8 +35363,8 @@ var oq = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
35363
35363
|
flags: Kc
|
|
35364
35364
|
}, Ou = function(t, e, A) {
|
|
35365
35365
|
var n = t[0], r = t[1];
|
|
35366
|
-
return [
|
|
35367
|
-
},
|
|
35366
|
+
return [sA(n, e), sA(typeof r < "u" ? r : n, A)];
|
|
35367
|
+
}, sA = function(t, e) {
|
|
35368
35368
|
if (t.type === 16)
|
|
35369
35369
|
return t.number / 100 * e;
|
|
35370
35370
|
if (Vc(t))
|
|
@@ -35501,7 +35501,7 @@ function zm(t, e, A) {
|
|
|
35501
35501
|
return A < 0 && (A += 1), A >= 1 && (A -= 1), A < 1 / 6 ? (e - t) * A * 6 + t : A < 1 / 2 ? e : A < 2 / 3 ? (e - t) * 6 * (2 / 3 - A) + t : t;
|
|
35502
35502
|
}
|
|
35503
35503
|
var tk = function(t, e) {
|
|
35504
|
-
var A = e.filter(Rl), n = A[0], r = A[1], i = A[2], s = A[3], o = (n.type === 17 ? zr(n.number) : kp.parse(t, n)) / (Math.PI * 2), a = MA(r) ? r.number / 100 : 0, u = MA(i) ? i.number / 100 : 0, d = typeof s < "u" && MA(s) ?
|
|
35504
|
+
var A = e.filter(Rl), n = A[0], r = A[1], i = A[2], s = A[3], o = (n.type === 17 ? zr(n.number) : kp.parse(t, n)) / (Math.PI * 2), a = MA(r) ? r.number / 100 : 0, u = MA(i) ? i.number / 100 : 0, d = typeof s < "u" && MA(s) ? sA(s, 1) : 1;
|
|
35505
35505
|
if (a === 0)
|
|
35506
35506
|
return io(u * 255, u * 255, u * 255, 1);
|
|
35507
35507
|
var f = u <= 0.5 ? u * (a + 1) : u + a - u * a, h = u * 2 - f, g = zm(h, f, o + 1 / 3), m = zm(h, f, o), y = zm(h, f, o - 1 / 3);
|
|
@@ -35695,7 +35695,7 @@ var tk = function(t, e) {
|
|
|
35695
35695
|
for (var r = [], i = 0, s = 0; s < t.length; s++) {
|
|
35696
35696
|
var o = t[s].stop;
|
|
35697
35697
|
if (o !== null) {
|
|
35698
|
-
var a =
|
|
35698
|
+
var a = sA(o, e);
|
|
35699
35699
|
a > i ? r.push(a) : r.push(i), i = a;
|
|
35700
35700
|
} else
|
|
35701
35701
|
r.push(null);
|
|
@@ -35715,7 +35715,7 @@ var tk = function(t, e) {
|
|
|
35715
35715
|
return { color: w, stop: Math.max(Math.min(1, r[B] / e), 0) };
|
|
35716
35716
|
});
|
|
35717
35717
|
}, O9 = function(t, e, A) {
|
|
35718
|
-
var n = e / 2, r = A / 2, i =
|
|
35718
|
+
var n = e / 2, r = A / 2, i = sA(t[0], e) - n, s = r - sA(t[1], A);
|
|
35719
35719
|
return (Math.atan2(s, i) + Math.PI * 2) % (Math.PI * 2);
|
|
35720
35720
|
}, D9 = function(t, e, A) {
|
|
35721
35721
|
var n = typeof t == "number" ? t : O9(t, e, A), r = Math.abs(e * Math.sin(n)) + Math.abs(A * Math.cos(n)), i = e / 2, s = A / 2, o = r / 2, a = Math.sin(n - Math.PI / 2) * o, u = Math.cos(n - Math.PI / 2) * o;
|
|
@@ -35765,7 +35765,7 @@ var tk = function(t, e) {
|
|
|
35765
35765
|
}
|
|
35766
35766
|
break;
|
|
35767
35767
|
}
|
|
35768
|
-
return Array.isArray(t.size) && (i =
|
|
35768
|
+
return Array.isArray(t.size) && (i = sA(t.size[0], n), s = t.size.length === 2 ? sA(t.size[1], r) : i), [i, s];
|
|
35769
35769
|
}, M9 = function(t, e) {
|
|
35770
35770
|
var A = zr(180), n = [];
|
|
35771
35771
|
return Gi(e).forEach(function(r, i) {
|
|
@@ -36274,7 +36274,7 @@ var yZ = {
|
|
|
36274
36274
|
type: 4
|
|
36275
36275
|
/* TOKEN_VALUE */
|
|
36276
36276
|
}, rk = function(t, e) {
|
|
36277
|
-
return eA(t) && t.value === "normal" ? 1.2 * e : t.type === 17 ? e * t.number : MA(t) ?
|
|
36277
|
+
return eA(t) && t.value === "normal" ? 1.2 * e : t.type === 17 ? e * t.number : MA(t) ? sA(t, e) : e;
|
|
36278
36278
|
}, BZ = {
|
|
36279
36279
|
name: "list-style-image",
|
|
36280
36280
|
initialValue: "none",
|
|
@@ -38363,7 +38363,7 @@ var mte = function(t, e) {
|
|
|
38363
38363
|
B.push((i + a) / n.width), B.push((m + f) / n.width), B.push((s + y) / n.height), B.push((u + h) / n.height);
|
|
38364
38364
|
var w = Math.max.apply(Math, B);
|
|
38365
38365
|
w > 1 && (i /= w, s /= w, a /= w, u /= w, f /= w, h /= w, m /= w, y /= w);
|
|
38366
|
-
var Q = n.width - a, E = n.height - h, C = n.width - f, S = n.height - y, b = A.borderTopWidth, _ = A.borderRightWidth, x = A.borderBottomWidth, T = A.borderLeftWidth, R =
|
|
38366
|
+
var Q = n.width - a, E = n.height - h, C = n.width - f, S = n.height - y, b = A.borderTopWidth, _ = A.borderRightWidth, x = A.borderBottomWidth, T = A.borderLeftWidth, R = sA(A.paddingTop, e.bounds.width), le = sA(A.paddingRight, e.bounds.width), ae = sA(A.paddingBottom, e.bounds.width), ge = sA(A.paddingLeft, e.bounds.width);
|
|
38367
38367
|
this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ? pA(n.left + T / 3, n.top + b / 3, i - T / 3, s - b / 3, Yt.TOP_LEFT) : new Pe(n.left + T / 3, n.top + b / 3), this.topRightBorderDoubleOuterBox = i > 0 || s > 0 ? pA(n.left + Q, n.top + b / 3, a - _ / 3, u - b / 3, Yt.TOP_RIGHT) : new Pe(n.left + n.width - _ / 3, n.top + b / 3), this.bottomRightBorderDoubleOuterBox = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f - _ / 3, h - x / 3, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _ / 3, n.top + n.height - x / 3), this.bottomLeftBorderDoubleOuterBox = m > 0 || y > 0 ? pA(n.left + T / 3, n.top + S, m - T / 3, y - x / 3, Yt.BOTTOM_LEFT) : new Pe(n.left + T / 3, n.top + n.height - x / 3), this.topLeftBorderDoubleInnerBox = i > 0 || s > 0 ? pA(n.left + T * 2 / 3, n.top + b * 2 / 3, i - T * 2 / 3, s - b * 2 / 3, Yt.TOP_LEFT) : new Pe(n.left + T * 2 / 3, n.top + b * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || s > 0 ? pA(n.left + Q, n.top + b * 2 / 3, a - _ * 2 / 3, u - b * 2 / 3, Yt.TOP_RIGHT) : new Pe(n.left + n.width - _ * 2 / 3, n.top + b * 2 / 3), this.bottomRightBorderDoubleInnerBox = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f - _ * 2 / 3, h - x * 2 / 3, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _ * 2 / 3, n.top + n.height - x * 2 / 3), this.bottomLeftBorderDoubleInnerBox = m > 0 || y > 0 ? pA(n.left + T * 2 / 3, n.top + S, m - T * 2 / 3, y - x * 2 / 3, Yt.BOTTOM_LEFT) : new Pe(n.left + T * 2 / 3, n.top + n.height - x * 2 / 3), this.topLeftBorderStroke = i > 0 || s > 0 ? pA(n.left + T / 2, n.top + b / 2, i - T / 2, s - b / 2, Yt.TOP_LEFT) : new Pe(n.left + T / 2, n.top + b / 2), this.topRightBorderStroke = i > 0 || s > 0 ? pA(n.left + Q, n.top + b / 2, a - _ / 2, u - b / 2, Yt.TOP_RIGHT) : new Pe(n.left + n.width - _ / 2, n.top + b / 2), this.bottomRightBorderStroke = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f - _ / 2, h - x / 2, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _ / 2, n.top + n.height - x / 2), this.bottomLeftBorderStroke = m > 0 || y > 0 ? pA(n.left + T / 2, n.top + S, m - T / 2, y - x / 2, Yt.BOTTOM_LEFT) : new Pe(n.left + T / 2, n.top + n.height - x / 2), this.topLeftBorderBox = i > 0 || s > 0 ? pA(n.left, n.top, i, s, Yt.TOP_LEFT) : new Pe(n.left, n.top), this.topRightBorderBox = a > 0 || u > 0 ? pA(n.left + Q, n.top, a, u, Yt.TOP_RIGHT) : new Pe(n.left + n.width, n.top), this.bottomRightBorderBox = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f, h, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width, n.top + n.height), this.bottomLeftBorderBox = m > 0 || y > 0 ? pA(n.left, n.top + S, m, y, Yt.BOTTOM_LEFT) : new Pe(n.left, n.top + n.height), this.topLeftPaddingBox = i > 0 || s > 0 ? pA(n.left + T, n.top + b, Math.max(0, i - T), Math.max(0, s - b), Yt.TOP_LEFT) : new Pe(n.left + T, n.top + b), this.topRightPaddingBox = a > 0 || u > 0 ? pA(n.left + Math.min(Q, n.width - _), n.top + b, Q > n.width + _ ? 0 : Math.max(0, a - _), Math.max(0, u - b), Yt.TOP_RIGHT) : new Pe(n.left + n.width - _, n.top + b), this.bottomRightPaddingBox = f > 0 || h > 0 ? pA(n.left + Math.min(C, n.width - T), n.top + Math.min(E, n.height - x), Math.max(0, f - _), Math.max(0, h - x), Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _, n.top + n.height - x), this.bottomLeftPaddingBox = m > 0 || y > 0 ? pA(n.left + T, n.top + Math.min(S, n.height - x), Math.max(0, m - T), Math.max(0, y - x), Yt.BOTTOM_LEFT) : new Pe(n.left + T, n.top + n.height - x), this.topLeftContentBox = i > 0 || s > 0 ? pA(n.left + T + ge, n.top + b + R, Math.max(0, i - (T + ge)), Math.max(0, s - (b + R)), Yt.TOP_LEFT) : new Pe(n.left + T + ge, n.top + b + R), this.topRightContentBox = a > 0 || u > 0 ? pA(n.left + Math.min(Q, n.width + T + ge), n.top + b + R, Q > n.width + T + ge ? 0 : a - T + ge, u - (b + R), Yt.TOP_RIGHT) : new Pe(n.left + n.width - (_ + le), n.top + b + R), this.bottomRightContentBox = f > 0 || h > 0 ? pA(n.left + Math.min(C, n.width - (T + ge)), n.top + Math.min(E, n.height + b + R), Math.max(0, f - (_ + le)), h - (x + ae), Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - (_ + le), n.top + n.height - (x + ae)), this.bottomLeftContentBox = m > 0 || y > 0 ? pA(n.left + T + ge, n.top + S, Math.max(0, m - (T + ge)), y - (x + ae), Yt.BOTTOM_LEFT) : new Pe(n.left + T + ge, n.top + n.height - (x + ae));
|
|
38368
38368
|
}
|
|
38369
38369
|
return t;
|
|
@@ -38627,7 +38627,7 @@ var pA = function(t, e, A, n, r) {
|
|
|
38627
38627
|
var e = t.bounds, A = t.styles;
|
|
38628
38628
|
return e.add(A.borderLeftWidth, A.borderTopWidth, -(A.borderRightWidth + A.borderLeftWidth), -(A.borderTopWidth + A.borderBottomWidth));
|
|
38629
38629
|
}, Vh = function(t) {
|
|
38630
|
-
var e = t.styles, A = t.bounds, n =
|
|
38630
|
+
var e = t.styles, A = t.bounds, n = sA(e.paddingLeft, A.width), r = sA(e.paddingRight, A.width), i = sA(e.paddingTop, A.width), s = sA(e.paddingBottom, A.width);
|
|
38631
38631
|
return A.add(n + e.borderLeftWidth, i + e.borderTopWidth, -(e.borderRightWidth + e.borderLeftWidth + n + r), -(e.borderTopWidth + e.borderBottomWidth + i + s));
|
|
38632
38632
|
}, Yte = function(t, e) {
|
|
38633
38633
|
return t === 0 ? e.bounds : t === 2 ? Vh(e) : wI(e);
|
|
@@ -38645,7 +38645,7 @@ var pA = function(t, e, A, n, r) {
|
|
|
38645
38645
|
if (!s)
|
|
38646
38646
|
return [0, 0];
|
|
38647
38647
|
if (MA(s) && o && MA(o))
|
|
38648
|
-
return [
|
|
38648
|
+
return [sA(s, A.width), sA(o, A.height)];
|
|
38649
38649
|
var a = yf(i);
|
|
38650
38650
|
if (eA(s) && (s.value === bl.CONTAIN || s.value === bl.COVER)) {
|
|
38651
38651
|
if (yf(i)) {
|
|
@@ -38669,10 +38669,10 @@ var pA = function(t, e, A, n, r) {
|
|
|
38669
38669
|
}
|
|
38670
38670
|
if (a) {
|
|
38671
38671
|
var w = 0, Q = 0;
|
|
38672
|
-
return MA(s) ? w =
|
|
38672
|
+
return MA(s) ? w = sA(s, A.width) : MA(o) && (Q = sA(o, A.height)), tl(s) ? w = Q * i : (!o || tl(o)) && (Q = w / i), [w, Q];
|
|
38673
38673
|
}
|
|
38674
38674
|
var E = null, C = null;
|
|
38675
|
-
if (MA(s) ? E =
|
|
38675
|
+
if (MA(s) ? E = sA(s, A.width) : o && MA(o) && (C = sA(o, A.height)), E !== null && (!o || tl(o)) && (C = d && f ? E / n * r : A.height), C !== null && tl(s) && (E = d && f ? C / r * n : A.width), E !== null && C !== null)
|
|
38676
38676
|
return [E, C];
|
|
38677
38677
|
throw new Error("Unable to calculate background-size for element");
|
|
38678
38678
|
}, ul = function(t, e) {
|
|
@@ -38948,7 +38948,7 @@ var pA = function(t, e, A, n, r) {
|
|
|
38948
38948
|
case 18:
|
|
38949
38949
|
return [3, 20];
|
|
38950
38950
|
case 19:
|
|
38951
|
-
A.listValue && n.styles.listStyleType !== -1 && (C = this.createFontStyle(i)[0], this.ctx.font = C, this.ctx.fillStyle = ZA(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", S = new Es(n.bounds.left, n.bounds.top +
|
|
38951
|
+
A.listValue && n.styles.listStyleType !== -1 && (C = this.createFontStyle(i)[0], this.ctx.font = C, this.ctx.fillStyle = ZA(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", S = new Es(n.bounds.left, n.bounds.top + sA(n.styles.paddingTop, n.bounds.width), n.bounds.width, rk(i.lineHeight, i.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new tc(A.listValue, S), i.letterSpacing, rk(i.lineHeight, i.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), b.label = 20;
|
|
38952
38952
|
case 20:
|
|
38953
38953
|
return [
|
|
38954
38954
|
2
|
|
@@ -39089,7 +39089,7 @@ var pA = function(t, e, A, n, r) {
|
|
|
39089
39089
|
null,
|
|
39090
39090
|
null,
|
|
39091
39091
|
null
|
|
39092
|
-
]), R = T[0], le = T[1], ae = T[2], ge = T[3], P = T[4], z = d.position.length === 0 ? [m0] : d.position, W =
|
|
39092
|
+
]), R = T[0], le = T[1], ae = T[2], ge = T[3], P = T[4], z = d.position.length === 0 ? [m0] : d.position, W = sA(z[0], ge), re = sA(z[z.length - 1], P), ne = L9(d, W, re, ge, P), j = ne[0], Be = ne[1], j > 0 && Be > 0 && (Ae = i.ctx.createRadialGradient(le + W, ae + re, 0, le + W, ae + re, j), Ak(d.stops, j * 2).forEach(function(F) {
|
|
39093
39093
|
return Ae.addColorStop(F.stop, ZA(F.color));
|
|
39094
39094
|
}), i.path(R), i.ctx.fillStyle = Ae, j !== Be ? (Se = A.bounds.left + 0.5 * A.bounds.width, K = A.bounds.top + 0.5 * A.bounds.height, q = Be / j, se = 1 / q, i.ctx.save(), i.ctx.translate(Se, K), i.ctx.transform(1, 0, 0, q, 0, 0), i.ctx.translate(-Se, -K), i.ctx.fillRect(le, se * (ae - K) + K, ge, P * se), i.ctx.restore()) : i.ctx.fill())), ue.label = 6;
|
|
39095
39095
|
case 6:
|
|
@@ -39520,7 +39520,7 @@ const Cce = /* @__PURE__ */ Xe({
|
|
|
39520
39520
|
(h = r.value) == null || h.hidePopover();
|
|
39521
39521
|
}, A.closeTimeout || A.hoverDelay));
|
|
39522
39522
|
}
|
|
39523
|
-
|
|
39523
|
+
rA(() => A.modelValue, (h, g) => {
|
|
39524
39524
|
var m, y, B, w;
|
|
39525
39525
|
h && !g ? (m = r.value) != null && m.matches(":popover-open") || (y = r.value) == null || y.showPopover() : !h && g && (B = r.value) != null && B.matches(":popover-open") && ((w = r.value) == null || w.hidePopover());
|
|
39526
39526
|
});
|
|
@@ -46023,7 +46023,7 @@ const Zle = { class: "popover-notification__header d-flex justify-content-betwee
|
|
|
46023
46023
|
function o(f, h) {
|
|
46024
46024
|
n.value = n.value.filter((g) => g.id !== f.id);
|
|
46025
46025
|
}
|
|
46026
|
-
|
|
46026
|
+
rA(() => A.items, (f, h) => {
|
|
46027
46027
|
const g = f.filter((m) => !h.some((y) => y.id === m.id));
|
|
46028
46028
|
r.value = [...r.value, ...g];
|
|
46029
46029
|
});
|
|
@@ -46350,7 +46350,7 @@ const Iue = { class: "modal-dialog__content d-flex flex-column" }, Tue = { class
|
|
|
46350
46350
|
const g = h.target;
|
|
46351
46351
|
g && g.nodeName === "DIALOG" && o();
|
|
46352
46352
|
}
|
|
46353
|
-
return
|
|
46353
|
+
return rA(() => n.modelValue, (h, g) => {
|
|
46354
46354
|
h && h !== g ? s() : g && o();
|
|
46355
46355
|
}, { immediate: !0 }), zt(() => {
|
|
46356
46356
|
var h;
|
|
@@ -46434,7 +46434,7 @@ const Lue = ["onDragenter", "onDragover", "onDragleave", "onDragend", "onDrop",
|
|
|
46434
46434
|
default: !0
|
|
46435
46435
|
}
|
|
46436
46436
|
},
|
|
46437
|
-
emits: ["update:modelValue"],
|
|
46437
|
+
emits: ["update:modelValue", "update:isDragging"],
|
|
46438
46438
|
setup(t, { emit: e }) {
|
|
46439
46439
|
const A = t, n = de(!1), r = de(null), i = de(null), s = e, o = oe({
|
|
46440
46440
|
get() {
|
|
@@ -46469,7 +46469,9 @@ const Lue = ["onDragenter", "onDragover", "onDragleave", "onDragend", "onDrop",
|
|
|
46469
46469
|
(S || S === 0) && (C || C === 0) && b.splice(S, 0, b.splice(C, 1)[0]), o.value = b;
|
|
46470
46470
|
}
|
|
46471
46471
|
}
|
|
46472
|
-
return (
|
|
46472
|
+
return rA(() => n.value, (Q) => {
|
|
46473
|
+
s("update:isDragging", Q);
|
|
46474
|
+
}, { immediate: !0 }), (Q, E) => {
|
|
46473
46475
|
const C = wA("svg-icon");
|
|
46474
46476
|
return M(), ot(KP, {
|
|
46475
46477
|
name: "list",
|
|
@@ -166,7 +166,7 @@ __p += '`),St&&(ve+=`' +
|
|
|
166
166
|
function print() { __p += __j.call(arguments, '') }
|
|
167
167
|
`:`;
|
|
168
168
|
`)+ve+`return __p
|
|
169
|
-
}`;var ft=px(function(){return It(_,Ke+"return "+ve).apply(n,N)});if(ft.source=ve,M0(ft))throw ft;return ft}function dle(c){return xt(c).toLowerCase()}function fle(c){return xt(c).toUpperCase()}function hle(c,d,m){if(c=xt(c),c&&(m||d===n))return EI(c);if(!c||!(d=tr(d)))return c;var w=Gr(c),S=Gr(d),_=kI(w,S),N=SI(w,S)+1;return es(w,_,N).join("")}function ple(c,d,m){if(c=xt(c),c&&(m||d===n))return c.slice(0,QI(c)+1);if(!c||!(d=tr(d)))return c;var w=Gr(c),S=SI(w,Gr(d))+1;return es(w,0,S).join("")}function mle(c,d,m){if(c=xt(c),c&&(m||d===n))return c.replace(My,"");if(!c||!(d=tr(d)))return c;var w=Gr(c),S=kI(w,Gr(d));return es(w,S).join("")}function gle(c,d){var m=H,w=ie;if(rn(d)){var S="separator"in d?d.separator:S;m="length"in d?ct(d.length):m,w="omission"in d?tr(d.omission):w}c=xt(c);var _=c.length;if(ll(c)){var N=Gr(c);_=N.length}if(m>=_)return c;var K=m-cl(w);if(K<1)return w;var X=N?es(N,0,K).join(""):c.slice(0,K);if(S===n)return X+w;if(N&&(K+=X.length-K),N0(S)){if(c.slice(K).search(S)){var me,ge=X;for(S.global||(S=e0(S.source,xt(GT.exec(S))+"g")),S.lastIndex=0;me=S.exec(ge);)var ve=me.index;X=X.slice(0,ve===n?K:ve)}}else if(c.indexOf(tr(S),K)!=K){var Ie=X.lastIndexOf(S);Ie>-1&&(X=X.slice(0,Ie))}return X+w}function Ble(c){return c=xt(c),c&&Te.test(c)?c.replace(nt,YAe):c}var yle=gl(function(c,d,m){return c+(m?" ":"")+d.toUpperCase()}),P0=m_("toUpperCase");function hx(c,d,m){return c=xt(c),d=m?n:d,d===n?VAe(c)?jAe(c):xAe(c):c.match(d)||[]}var px=mt(function(c,d){try{return ZA(c,n,d)}catch(m){return M0(m)?m:new st(m)}}),wle=Ji(function(c,d){return br(d,function(m){m=Ci(m),Yi(c,m,D0(c[m],c))}),c});function Cle(c){var d=c==null?0:c.length,m=qe();return c=d?en(c,function(w){if(typeof w[1]!="function")throw new vr(o);return[m(w[0]),w[1]]}):[],mt(function(w){for(var S=-1;++S<d;){var _=c[S];if(ZA(_[0],this,w))return ZA(_[1],this,w)}})}function ble(c){return Yre(kr(c,h))}function V0(c){return function(){return c}}function vle(c,d){return c==null||c!==c?d:c}var Ele=B_(),kle=B_(!0);function PA(c){return c}function $0(c){return zI(typeof c=="function"?c:kr(c,h))}function Sle(c){return jI(kr(c,h))}function Fle(c,d){return XI(c,kr(d,h))}var Qle=mt(function(c,d){return function(m){return ru(m,c,d)}}),Ule=mt(function(c,d){return function(m){return ru(c,m,d)}});function K0(c,d,m){var w=Kn(d),S=Mh(d,w);m==null&&!(rn(d)&&(S.length||!w.length))&&(m=d,d=c,c=this,S=Mh(d,Kn(d)));var _=!(rn(m)&&"chain"in m)||!!m.chain,N=Xi(c);return br(S,function(K){var X=d[K];c[K]=X,N&&(c.prototype[K]=function(){var me=this.__chain__;if(_||me){var ge=c(this.__wrapped__),ve=ge.__actions__=NA(this.__actions__);return ve.push({func:X,args:arguments,thisArg:c}),ge.__chain__=me,ge}return X.apply(c,zo([this.value()],arguments))})}),c}function Tle(){return jn._===this&&(jn._=nre),this}function W0(){}function Ile(c){return c=ct(c),mt(function(d){return qI(d,c)})}var _le=b0(en),xle=b0(yI),Ole=b0(Yy);function mx(c){return U0(c)?zy(Ci(c)):cie(c)}function Dle(c){return function(d){return c==null?n:js(c,d)}}var Lle=w_(),Mle=w_(!0);function G0(){return[]}function Y0(){return!1}function Nle(){return{}}function Hle(){return""}function Rle(){return!0}function Ple(c,d){if(c=ct(c),c<1||c>ee)return[];var m=Z,w=lA(c,Z);d=qe(d),c-=Z;for(var S=Xy(w,d);++m<c;)d(m);return S}function Vle(c){return at(c)?en(c,Ci):nr(c)?[c]:NA(L_(xt(c)))}function $le(c){var d=++ere;return xt(c)+d}var Kle=$h(function(c,d){return c+d},0),Wle=v0("ceil"),Gle=$h(function(c,d){return c/d},1),Yle=v0("floor");function zle(c){return c&&c.length?Lh(c,PA,a0):n}function Jle(c,d){return c&&c.length?Lh(c,qe(d,2),a0):n}function jle(c){return bI(c,PA)}function Xle(c,d){return bI(c,qe(d,2))}function qle(c){return c&&c.length?Lh(c,PA,d0):n}function Zle(c,d){return c&&c.length?Lh(c,qe(d,2),d0):n}var ece=$h(function(c,d){return c*d},1),tce=v0("round"),nce=$h(function(c,d){return c-d},0);function Ace(c){return c&&c.length?jy(c,PA):0}function rce(c,d){return c&&c.length?jy(c,qe(d,2)):0}return T.after=Sse,T.ary=Y_,T.assign=fae,T.assignIn=sx,T.assignInWith=np,T.assignWith=hae,T.at=pae,T.before=z_,T.bind=D0,T.bindAll=wle,T.bindKey=J_,T.castArray=Nse,T.chain=K_,T.chunk=Yie,T.compact=zie,T.concat=Jie,T.cond=Cle,T.conforms=ble,T.constant=V0,T.countBy=Ase,T.create=mae,T.curry=j_,T.curryRight=X_,T.debounce=q_,T.defaults=gae,T.defaultsDeep=Bae,T.defer=Fse,T.delay=Qse,T.difference=jie,T.differenceBy=Xie,T.differenceWith=qie,T.drop=Zie,T.dropRight=eoe,T.dropRightWhile=toe,T.dropWhile=noe,T.fill=Aoe,T.filter=ise,T.flatMap=ase,T.flatMapDeep=lse,T.flatMapDepth=cse,T.flatten=R_,T.flattenDeep=roe,T.flattenDepth=ioe,T.flip=Use,T.flow=Ele,T.flowRight=kle,T.fromPairs=ooe,T.functions=kae,T.functionsIn=Sae,T.groupBy=use,T.initial=aoe,T.intersection=loe,T.intersectionBy=coe,T.intersectionWith=uoe,T.invert=Qae,T.invertBy=Uae,T.invokeMap=fse,T.iteratee=$0,T.keyBy=hse,T.keys=Kn,T.keysIn=RA,T.map=jh,T.mapKeys=Iae,T.mapValues=_ae,T.matches=Sle,T.matchesProperty=Fle,T.memoize=qh,T.merge=xae,T.mergeWith=ax,T.method=Qle,T.methodOf=Ule,T.mixin=K0,T.negate=Zh,T.nthArg=Ile,T.omit=Oae,T.omitBy=Dae,T.once=Tse,T.orderBy=pse,T.over=_le,T.overArgs=Ise,T.overEvery=xle,T.overSome=Ole,T.partial=L0,T.partialRight=Z_,T.partition=mse,T.pick=Lae,T.pickBy=lx,T.property=mx,T.propertyOf=Dle,T.pull=poe,T.pullAll=V_,T.pullAllBy=moe,T.pullAllWith=goe,T.pullAt=Boe,T.range=Lle,T.rangeRight=Mle,T.rearg=_se,T.reject=yse,T.remove=yoe,T.rest=xse,T.reverse=x0,T.sampleSize=Cse,T.set=Nae,T.setWith=Hae,T.shuffle=bse,T.slice=woe,T.sortBy=kse,T.sortedUniq=Foe,T.sortedUniqBy=Qoe,T.split=ale,T.spread=Ose,T.tail=Uoe,T.take=Toe,T.takeRight=Ioe,T.takeRightWhile=_oe,T.takeWhile=xoe,T.tap=zoe,T.throttle=Dse,T.thru=Jh,T.toArray=rx,T.toPairs=cx,T.toPairsIn=ux,T.toPath=Vle,T.toPlainObject=ox,T.transform=Rae,T.unary=Lse,T.union=Ooe,T.unionBy=Doe,T.unionWith=Loe,T.uniq=Moe,T.uniqBy=Noe,T.uniqWith=Hoe,T.unset=Pae,T.unzip=O0,T.unzipWith=$_,T.update=Vae,T.updateWith=$ae,T.values=wl,T.valuesIn=Kae,T.without=Roe,T.words=hx,T.wrap=Mse,T.xor=Poe,T.xorBy=Voe,T.xorWith=$oe,T.zip=Koe,T.zipObject=Woe,T.zipObjectDeep=Goe,T.zipWith=Yoe,T.entries=cx,T.entriesIn=ux,T.extend=sx,T.extendWith=np,K0(T,T),T.add=Kle,T.attempt=px,T.camelCase=zae,T.capitalize=dx,T.ceil=Wle,T.clamp=Wae,T.clone=Hse,T.cloneDeep=Pse,T.cloneDeepWith=Vse,T.cloneWith=Rse,T.conformsTo=$se,T.deburr=fx,T.defaultTo=vle,T.divide=Gle,T.endsWith=Jae,T.eq=zr,T.escape=jae,T.escapeRegExp=Xae,T.every=rse,T.find=ose,T.findIndex=N_,T.findKey=yae,T.findLast=sse,T.findLastIndex=H_,T.findLastKey=wae,T.floor=Yle,T.forEach=W_,T.forEachRight=G_,T.forIn=Cae,T.forInRight=bae,T.forOwn=vae,T.forOwnRight=Eae,T.get=H0,T.gt=Kse,T.gte=Wse,T.has=Fae,T.hasIn=R0,T.head=P_,T.identity=PA,T.includes=dse,T.indexOf=soe,T.inRange=Gae,T.invoke=Tae,T.isArguments=Zs,T.isArray=at,T.isArrayBuffer=Gse,T.isArrayLike=HA,T.isArrayLikeObject=yn,T.isBoolean=Yse,T.isBuffer=ts,T.isDate=zse,T.isElement=Jse,T.isEmpty=jse,T.isEqual=Xse,T.isEqualWith=qse,T.isError=M0,T.isFinite=Zse,T.isFunction=Xi,T.isInteger=ex,T.isLength=ep,T.isMap=tx,T.isMatch=eae,T.isMatchWith=tae,T.isNaN=nae,T.isNative=Aae,T.isNil=iae,T.isNull=rae,T.isNumber=nx,T.isObject=rn,T.isObjectLike=un,T.isPlainObject=cu,T.isRegExp=N0,T.isSafeInteger=oae,T.isSet=Ax,T.isString=tp,T.isSymbol=nr,T.isTypedArray=yl,T.isUndefined=sae,T.isWeakMap=aae,T.isWeakSet=lae,T.join=doe,T.kebabCase=qae,T.last=Fr,T.lastIndexOf=foe,T.lowerCase=Zae,T.lowerFirst=ele,T.lt=cae,T.lte=uae,T.max=zle,T.maxBy=Jle,T.mean=jle,T.meanBy=Xle,T.min=qle,T.minBy=Zle,T.stubArray=G0,T.stubFalse=Y0,T.stubObject=Nle,T.stubString=Hle,T.stubTrue=Rle,T.multiply=ece,T.nth=hoe,T.noConflict=Tle,T.noop=W0,T.now=Xh,T.pad=tle,T.padEnd=nle,T.padStart=Ale,T.parseInt=rle,T.random=Yae,T.reduce=gse,T.reduceRight=Bse,T.repeat=ile,T.replace=ole,T.result=Mae,T.round=tce,T.runInContext=z,T.sample=wse,T.size=vse,T.snakeCase=sle,T.some=Ese,T.sortedIndex=Coe,T.sortedIndexBy=boe,T.sortedIndexOf=voe,T.sortedLastIndex=Eoe,T.sortedLastIndexBy=koe,T.sortedLastIndexOf=Soe,T.startCase=lle,T.startsWith=cle,T.subtract=nce,T.sum=Ace,T.sumBy=rce,T.template=ule,T.times=Ple,T.toFinite=qi,T.toInteger=ct,T.toLength=ix,T.toLower=dle,T.toNumber=Qr,T.toSafeInteger=dae,T.toString=xt,T.toUpper=fle,T.trim=hle,T.trimEnd=ple,T.trimStart=mle,T.truncate=gle,T.unescape=Ble,T.uniqueId=$le,T.upperCase=yle,T.upperFirst=P0,T.each=W_,T.eachRight=G_,T.first=P_,K0(T,function(){var c={};return yi(T,function(d,m){Mt.call(T.prototype,m)||(c[m]=d)}),c}(),{chain:!1}),T.VERSION=A,br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){T[c].placeholder=T}),br(["drop","take"],function(c,d){Et.prototype[c]=function(m){m=m===n?1:_n(ct(m),0);var w=this.__filtered__&&!d?new Et(this):this.clone();return w.__filtered__?w.__takeCount__=lA(m,w.__takeCount__):w.__views__.push({size:lA(m,Z),type:c+(w.__dir__<0?"Right":"")}),w},Et.prototype[c+"Right"]=function(m){return this.reverse()[c](m).reverse()}}),br(["filter","map","takeWhile"],function(c,d){var m=d+1,w=m==R||m==$;Et.prototype[c]=function(S){var _=this.clone();return _.__iteratees__.push({iteratee:qe(S,3),type:m}),_.__filtered__=_.__filtered__||w,_}}),br(["head","last"],function(c,d){var m="take"+(d?"Right":"");Et.prototype[c]=function(){return this[m](1).value()[0]}}),br(["initial","tail"],function(c,d){var m="drop"+(d?"":"Right");Et.prototype[c]=function(){return this.__filtered__?new Et(this):this[m](1)}}),Et.prototype.compact=function(){return this.filter(PA)},Et.prototype.find=function(c){return this.filter(c).head()},Et.prototype.findLast=function(c){return this.reverse().find(c)},Et.prototype.invokeMap=mt(function(c,d){return typeof c=="function"?new Et(this):this.map(function(m){return ru(m,c,d)})}),Et.prototype.reject=function(c){return this.filter(Zh(qe(c)))},Et.prototype.slice=function(c,d){c=ct(c);var m=this;return m.__filtered__&&(c>0||d<0)?new Et(m):(c<0?m=m.takeRight(-c):c&&(m=m.drop(c)),d!==n&&(d=ct(d),m=d<0?m.dropRight(-d):m.take(d-c)),m)},Et.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Et.prototype.toArray=function(){return this.take(Z)},yi(Et.prototype,function(c,d){var m=/^(?:filter|find|map|reject)|While$/.test(d),w=/^(?:head|last)$/.test(d),S=T[w?"take"+(d=="last"?"Right":""):d],_=w||/^find/.test(d);S&&(T.prototype[d]=function(){var N=this.__wrapped__,K=w?[1]:arguments,X=N instanceof Et,me=K[0],ge=X||at(N),ve=function(yt){var St=S.apply(T,zo([yt],K));return w&&Ie?St[0]:St};ge&&m&&typeof me=="function"&&me.length!=1&&(X=ge=!1);var Ie=this.__chain__,Ke=!!this.__actions__.length,Ze=_&&!Ie,ft=X&&!Ke;if(!_&&ge){N=ft?N:new Et(this);var et=c.apply(N,K);return et.__actions__.push({func:Jh,args:[ve],thisArg:n}),new Er(et,Ie)}return Ze&&ft?c.apply(this,K):(et=this.thru(ve),Ze?w?et.value()[0]:et.value():et)})}),br(["pop","push","shift","sort","splice","unshift"],function(c){var d=Ch[c],m=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",w=/^(?:pop|shift)$/.test(c);T.prototype[c]=function(){var S=arguments;if(w&&!this.__chain__){var _=this.value();return d.apply(at(_)?_:[],S)}return this[m](function(N){return d.apply(at(N)?N:[],S)})}}),yi(Et.prototype,function(c,d){var m=T[d];if(m){var w=m.name+"";Mt.call(hl,w)||(hl[w]=[]),hl[w].push({name:d,func:m})}}),hl[Vh(n,b).name]=[{name:"wrapper",func:n}],Et.prototype.clone=Bre,Et.prototype.reverse=yre,Et.prototype.value=wre,T.prototype.at=Joe,T.prototype.chain=joe,T.prototype.commit=Xoe,T.prototype.next=qoe,T.prototype.plant=ese,T.prototype.reverse=tse,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=nse,T.prototype.first=T.prototype.head,Xc&&(T.prototype[Xc]=Zoe),T},ul=XAe();Ws?((Ws.exports=ul)._=ul,$y._=ul):jn._=ul}).call(Bc)}(Xd,Xd.exports);var YE=Xd.exports;const OW="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAYAAAB/HSuDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAHkJJ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l/gAAALA77wAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAQAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAEAIcAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAACAs13f+X/KOdfv/3spJTmUAAAA0EeLOfxy9D/03t8AAACA9sP/u3O4RwAAAAAggJcCgDv9AAAAMIdXZ3Q7AAAAACAAAQAAAAAEAAAAAEAAAADgb3bsWAAAAABgkL/1IPYWRgAgAAAAAAABAAAAAAgAAAAAQAAAAAAAAgAAAAAQAAAAACAAAAAAAAEAAAAACAAAAABAAAAAAAACAAAAABAAAAAAgAAAAAAABAAAAAAIAAAAAEAAAAAAAAIAAAAAEAAAAACAAAAAAAAEAAAAALAkwACd6iSVhnRezwAAAABJRU5ErkJggg==",DW={class:"camera__preview"},LW={key:0,class:"camera__bg-notification"},MW=["innerHTML"],NW=["width","height"],HW={key:1,class:"camera__countdown-overlay"},RW=["innerHTML","data-countdown"],PW=["src"],VW={class:"camera__controls"},$W={class:"container"},KW={class:"row"},WW={class:"col"},GW={class:"btn-group"},YW={key:0},zW={key:1},JW={key:0,class:"camera__switch-cam"},jW={key:1,class:"base-camera__devices"},XW={name:"BaseCamera",inheritAttrs:!1};function qW(t){const e=atob(t.split(",")[1]),n=new ArrayBuffer(e.length),A=new Uint8Array(n);for(let r=0;r<e.length;r++)A[r]=e.charCodeAt(r);return new Blob([n],{type:"image/png"})}const ZW=s.defineComponent({...XW,props:{modelValue:{type:null},enableSwitchCamera:{type:Boolean,default:!0},defaultRearCamera:{type:Boolean,default:!1},enableMirrorCamera:{type:Boolean,default:!1},enableGuide:{type:Boolean,default:!0},guideSrc:{type:String,default:()=>OW},countdown:{type:Number,default:0},ratio:{type:String,default:"3x4"},enableAudio:{type:Boolean,default:!1},enableSelectDevice:{type:Boolean,default:!1},enableCropImage:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{expose:e,emit:n}){const A={"1x1":{width:720,height:720},"3x2":{width:1080,height:720},"2x3":{width:720,height:1080},"4x3":{width:960,height:720},"3x4":{width:720,height:960},"16x9":{width:1280,height:720},"9x16":{width:720,height:1280}},r=t,i=n,o=s.ref(),a=s.ref(),l=s.ref(!1),u=s.ref([]),f=s.ref(),h=s.ref(),p=s.ref(!1),g=s.ref(!1),B=s.ref(0),y=s.ref(0),C=s.ref(),b=s.computed(()=>u.value.filter(ee=>ee.kind==="videoinput")),F=s.computed(()=>u.value.filter(ee=>ee.kind==="audioinput")),k=s.computed({get(){return f.value&&f.value.deviceId},set(ee){f.value=b.value.find(Y=>Y.deviceId===ee)}}),v=s.computed({get(){return h.value&&h.value.deviceId},set(ee){h.value=F.value.find(Y=>Y.deviceId===ee)}}),U=s.computed(()=>{const ee=f.value&&b.value.findIndex(Y=>Y.deviceId===f.value.deviceId);return r.enableMirrorCamera&&ee===0?"mirror-cam":""}),E=s.computed(()=>{const ee=f.value&&u.value.findIndex(Y=>Y.deviceId===f.value.deviceId);return U.value?`${U.value} mirror-device-${ee}`:""});function I(){B.value=A[r.ratio]?A[r.ratio].width:o.value.parentElement&&o.value.parentElement.clientWidth,y.value=A[r.ratio]?A[r.ratio].height:o.value.parentElement&&o.value.parentElement.clientHeight}const O=YE.debounce(()=>{I()},300,{trailing:!0,leading:!1});async function x(){const ee={audio:r.enableAudio&&{...h.value?{deviceId:h.value.deviceId}:{}},video:{...f.value?{deviceId:f.value.deviceId}:{},width:{ideal:1024},height:{ideal:1024}}};return navigator.mediaDevices.getUserMedia(ee).catch(Y=>{console.error(Y,"navigator.mediaDevices.getUserMedia: failed")})}function H(){o.value&&o.value.srcObject&&o.value.srcObject.getTracks().forEach(Y=>{Y.stop()})}async function ie(){return o.value.srcObject=await x(),u.value=await navigator.mediaDevices.enumerateDevices(),{stream:o.value.srcObject,devices:u.value}}function re(){p.value?(p.value=!1,g.value=!1,H()):(p.value=!0,ie())}function ce(){u.value.length>1&&(H(),f.value=f.value&&f.value.deviceId===b.value[0].deviceId?b.value[b.value.length-1]:b.value[0],ie())}async function R(ee,Y){H(),ee&&(!Y||ee.deviceId!==Y.deviceId)&&await ie()}s.watch(()=>f.value,R),s.watch(()=>h.value,R);function W(){r.countdown?(C.value=C.value?C.value-1:r.countdown,C.value?setTimeout(W,1e3):$()):$()}e({onCapture:W});function $(){g.value=!0;const ee=a.value.getContext("2d"),Y=o.value,he=Y&&Y.srcObject&&Y.srcObject.getTracks(),{aspectRatio:Z,width:Ce,height:V}=he.length&&he[0].getSettings(),J=A[r.ratio],Ae=J.width/J.height;let oe=J.width,Q=J.height;r.enableCropImage?Z>Ae?oe=Q*Z:Z<Ae&&(Q=oe/Z):(oe=Ce,Q=V,a.value.width=oe,a.value.height=Q);const q=U.value?-1:1;ee.save(),ee.scale(q,1),ee.drawImage(Y,oe>a.value.width?(a.value.width-oe)/2:0,Q>a.value.height?(a.value.height-Q)/2:0,oe*q,Q),ee.restore();const Fe=a.value.toDataURL("image/png");te(Fe)}function te(ee){const Y=qW(ee);i("update:modelValue",{name:`cam-pic-${new Date().toISOString()}`,id:`cam-pic-${new Date().toISOString()}`,blob:Y,size:Y.size})}return s.onMounted(async()=>{H(),await ie(),f.value=b.value[0],r.enableAudio&&(h.value=F.value[0]),navigator.mediaDevices.addEventListener("devicechange",async ee=>{await ie()}),r.defaultRearCamera&&ce(),re(),window.addEventListener("resize",O),I(),await s.nextTick(),l.value=!0}),s.onBeforeUnmount(()=>{p.value=!1,g.value=!1,H(),window.removeEventListener("resize",O)}),(ee,Y)=>{const he=s.resolveComponent("loading-spinner"),Z=s.resolveComponent("svg-icon"),Ce=s.resolveComponent("input-dropdown");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["camera",E.value])},[s.createElementVNode("div",DW,[l.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",LW,[s.createVNode(he,{color:"#000"},{default:s.withCtx(()=>[s.createElementVNode("span",{class:s.normalizeClass("d-block text-center"),innerHTML:ee.$t("camera.waitForCameraNotification")},null,8,MW)]),_:1})])),s.withDirectives(s.createElementVNode("video",{ref_key:"camera",ref:o,class:s.normalizeClass(["camera__video",`aspect-ratio--${r.ratio}`]),autoplay:"",playsinline:""},null,2),[[s.vShow,l.value]]),s.withDirectives(s.createElementVNode("canvas",{ref_key:"canvas",ref:a,class:"camera__canvas",width:B.value,height:y.value},null,8,NW),[[s.vShow,g.value]]),C.value?(s.openBlock(),s.createElementBlock("div",HW,[(s.openBlock(),s.createElementBlock("p",{class:"countdown",key:C.value,innerHTML:C.value,"data-countdown":C.value},null,8,RW))])):s.createCommentVNode("",!0),t.enableGuide&&p.value&&l.value?(s.openBlock(),s.createElementBlock("img",{key:2,class:"camera__guide",src:t.guideSrc},null,8,PW)):s.createCommentVNode("",!0)]),s.createElementVNode("div",VW,[s.createElementVNode("div",$W,[s.createElementVNode("div",KW,[s.createElementVNode("div",WW,[s.createElementVNode("div",GW,[s.createElementVNode("button",{type:"button",class:"camera__toggle btn btn-primary",onClick:re},[p.value?(s.openBlock(),s.createElementBlock("span",zW,s.toDisplayString(ee.$t("common.pause")),1)):(s.openBlock(),s.createElementBlock("span",YW,s.toDisplayString(ee.$t("common.play")),1))]),s.createElementVNode("button",{type:"button",class:"camera__capture btn btn-primary",onClick:W},s.toDisplayString(ee.$t("camera.capture")),1)])])])])]),t.enableSwitchCamera&&b.value&&b.value.length>1?(s.openBlock(),s.createElementBlock("div",JW,[s.createElementVNode("button",{class:"btn",onClick:s.withModifiers(ce,["prevent"])},[s.createVNode(Z,{symbol:"switch-camera"})])])):s.createCommentVNode("",!0),t.enableSelectDevice?(s.openBlock(),s.createElementBlock("div",jW,[F.value.length&&h.value?(s.openBlock(),s.createBlock(Ce,{key:0,modelValue:v.value,"onUpdate:modelValue":Y[0]||(Y[0]=V=>v.value=V),options:F.value.map((V,J)=>({text:V.label||`Microphone ${J+1}`,value:V.deviceId}))},null,8,["modelValue","options"])):s.createCommentVNode("",!0),b.value.length?(s.openBlock(),s.createBlock(Ce,{key:1,modelValue:k.value,"onUpdate:modelValue":Y[1]||(Y[1]=V=>k.value=V),options:b.value.map((V,J)=>({text:V.label||`Camera ${J+1}`,value:V.deviceId}))},null,8,["modelValue","options"])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)],2)}}}),Nce="",eG=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,tG=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,nG=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function AG(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){rG(t);return}return e}function rG(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function iG(t,e={}){if(typeof t!="string")return t;const n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){const A=n.toLowerCase();if(A==="true")return!0;if(A==="false")return!1;if(A==="undefined")return;if(A==="null")return null;if(A==="nan")return Number.NaN;if(A==="infinity")return Number.POSITIVE_INFINITY;if(A==="-infinity")return Number.NEGATIVE_INFINITY}if(!nG.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(eG.test(t)||tG.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,AG)}return JSON.parse(t)}catch(A){if(e.strict)throw A;return t}}const oG=/#/g,sG=/&/g,aG=/\//g,lG=/=/g,Vg=/\+/g,cG=/%5e/gi,uG=/%60/gi,dG=/%7c/gi,fG=/%20/gi;function hG(t){return encodeURI(""+t).replace(dG,"|")}function $g(t){return hG(typeof t=="string"?t:JSON.stringify(t)).replace(Vg,"%2B").replace(fG,"+").replace(oG,"%23").replace(sG,"%26").replace(uG,"`").replace(cG,"^").replace(aG,"%2F")}function Kg(t){return $g(t).replace(lG,"%3D")}function zE(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function pG(t){return zE(t.replace(Vg," "))}function mG(t){return zE(t.replace(Vg," "))}function gG(t=""){const e={};t[0]==="?"&&(t=t.slice(1));for(const n of t.split("&")){const A=n.match(/([^=]+)=?(.*)/)||[];if(A.length<2)continue;const r=pG(A[1]);if(r==="__proto__"||r==="constructor")continue;const i=mG(A[2]||"");e[r]===void 0?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}return e}function BG(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${Kg(t)}=${$g(n)}`).join("&"):`${Kg(t)}=${$g(e)}`:Kg(t)}function yG(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>BG(e,t[e])).filter(Boolean).join("&")}const wG=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,CG=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,bG=/^([/\\]\s*){2,}[^/\\]/,vG=/\/$|\/\?|\/#/,EG=/^\.?\//;function JE(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?wG.test(t):CG.test(t)||(e.acceptRelative?bG.test(t):!1)}function Wg(t="",e){return e?vG.test(t):t.endsWith("/")}function kG(t="",e){if(!e)return(Wg(t)?t.slice(0,-1):t)||"/";if(!Wg(t,!0))return t||"/";let n=t,A="";const r=t.indexOf("#");r>=0&&(n=t.slice(0,r),A=t.slice(r));const[i,...o]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(o.length>0?`?${o.join("?")}`:"")+A}function SG(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(Wg(t,!0))return t||"/";let n=t,A="";const r=t.indexOf("#");if(r>=0&&(n=t.slice(0,r),A=t.slice(r),!n))return A;const[i,...o]=n.split("?");return i+"/"+(o.length>0?`?${o.join("?")}`:"")+A}function FG(t,e){if(UG(e)||JE(t))return t;const n=kG(e);return t.startsWith(n)?t:IG(n,t)}function QG(t,e){const n=XE(t),A={...gG(n.search),...e};return n.search=yG(A),_G(n)}function UG(t){return!t||t==="/"}function TG(t){return t&&t!=="/"}function IG(t,...e){let n=t||"";for(const A of e.filter(r=>TG(r)))if(n){const r=A.replace(EG,"");n=SG(n)+r}else n=A;return n}const jE=Symbol.for("ufo:protocolRelative");function XE(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,h,p=""]=n;return{protocol:h.toLowerCase(),pathname:p,href:h+p,auth:"",host:"",search:"",hash:""}}if(!JE(t,{acceptRelative:!0}))return e?XE(e+t):qE(t);const[,A="",r,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:u,hash:f}=qE(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:A.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:l,search:u,hash:f,[jE]:!A}}function qE(t=""){const[e="",n="",A=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:A}}function _G(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",A=t.hash||"",r=t.auth?t.auth+"@":"",i=t.host||"";return(t.protocol||t[jE]?(t.protocol||"")+"//":"")+r+i+e+n+A}class xG extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function OG(t){var l,u,f,h,p;const e=((l=t.error)==null?void 0:l.message)||((u=t.error)==null?void 0:u.toString())||"",n=((f=t.request)==null?void 0:f.method)||((h=t.options)==null?void 0:h.method)||"GET",A=((p=t.request)==null?void 0:p.url)||String(t.request)||"/",r=`[${n}] ${JSON.stringify(A)}`,i=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",o=`${r}: ${i}${e?` ${e}`:""}`,a=new xG(o,t.error?{cause:t.error}:void 0);for(const g of["request","options","response"])Object.defineProperty(a,g,{get(){return t[g]}});for(const[g,B]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,g,{get(){return t.response&&t.response[B]}});return a}const DG=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ZE(t="GET"){return DG.has(t.toUpperCase())}function LG(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const MG=new Set(["image/svg","application/xml","application/xhtml","application/html"]),NG=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function HG(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return NG.test(e)?"json":MG.has(e)||e.startsWith("text/")?"text":"blob"}function RG(t,e,n=globalThis.Headers){const A={...e,...t};if(e!=null&&e.params&&(t!=null&&t.params)&&(A.params={...e==null?void 0:e.params,...t==null?void 0:t.params}),e!=null&&e.query&&(t!=null&&t.query)&&(A.query={...e==null?void 0:e.query,...t==null?void 0:t.query}),e!=null&&e.headers&&(t!=null&&t.headers)){A.headers=new n((e==null?void 0:e.headers)||{});for(const[r,i]of new n((t==null?void 0:t.headers)||{}))A.headers.set(r,i)}return A}const PG=new Set([408,409,425,429,500,502,503,504]),VG=new Set([101,204,205,304]);function ek(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:A=globalThis.AbortController}=t;async function r(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let f;typeof a.options.retry=="number"?f=a.options.retry:f=ZE(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(f>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):PG.has(h))){const p=a.options.retryDelay||0;return p>0&&await new Promise(g=>setTimeout(g,p)),i(a.request,{...a.options,retry:f-1})}}const u=OG(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){var g;const f={request:l,options:RG(u,t.defaults,n),response:void 0,error:void 0};f.options.method=(g=f.options.method)==null?void 0:g.toUpperCase(),f.options.onRequest&&await f.options.onRequest(f),typeof f.request=="string"&&(f.options.baseURL&&(f.request=FG(f.request,f.options.baseURL)),(f.options.query||f.options.params)&&(f.request=QG(f.request,{...f.options.params,...f.options.query}))),f.options.body&&ZE(f.options.method)&&(LG(f.options.body)?(f.options.body=typeof f.options.body=="string"?f.options.body:JSON.stringify(f.options.body),f.options.headers=new n(f.options.headers||{}),f.options.headers.has("content-type")||f.options.headers.set("content-type","application/json"),f.options.headers.has("accept")||f.options.headers.set("accept","application/json")):("pipeTo"in f.options.body&&typeof f.options.body.pipeTo=="function"||typeof f.options.body.pipe=="function")&&("duplex"in f.options||(f.options.duplex="half")));let h;if(!f.options.signal&&f.options.timeout){const B=new A;h=setTimeout(()=>B.abort(),f.options.timeout),f.options.signal=B.signal}try{f.response=await e(f.request,f.options)}catch(B){return f.error=B,f.options.onRequestError&&await f.options.onRequestError(f),await r(f)}finally{h&&clearTimeout(h)}if(f.response.body&&!VG.has(f.response.status)&&f.options.method!=="HEAD"){const B=(f.options.parseResponse?"json":f.options.responseType)||HG(f.response.headers.get("content-type")||"");switch(B){case"json":{const y=await f.response.text(),C=f.options.parseResponse||iG;f.response._data=C(y);break}case"stream":{f.response._data=f.response.body;break}default:f.response._data=await f.response[B]()}}return f.options.onResponse&&await f.options.onResponse(f),!f.options.ignoreResponseError&&f.response.status>=400&&f.response.status<600?(f.options.onResponseError&&await f.options.onResponseError(f),await r(f)):f.response},o=async function(l,u){return(await i(l,u))._data};return o.raw=i,o.native=(...a)=>e(...a),o.create=(a={})=>ek({...t,defaults:{...t.defaults,...a}}),o}const Gg=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),$G=Gg.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),KG=Gg.Headers,WG=Gg.AbortController,GG=ek({fetch:$G,Headers:KG,AbortController:WG}),YG=["src"],zG=["onClick"],JG=["onClick"],jG=["for"],XG=["innerHTML"],qG={key:0,class:"file-upload__loading-spinner"},ZG=[s.createElementVNode("span",{class:"spinner-border",role:"status"},[s.createElementVNode("span",{class:"visually-hidden"},"Loading...")],-1)];async function e5(t){return await new Promise(e=>{let n=new FileReader;n.onload=()=>e(n.result),n.readAsDataURL(t)})}const t5=s.defineComponent({__name:"file-upload",props:{modelValue:{type:Array,default:[]},src:{type:String},name:{type:String,default:()=>Ft()},id:{type:String,default:()=>Ft()},label:{type:String,default:"Select file"},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},pattern:{type:String,default:null},multiple:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},toDataUrl:{type:Boolean,default:!0},authToken:{type:String,default:""},customFetch:null,baseResponsePath:{type:String,default:"/media"},enablePreview:{type:Boolean,default:!0},previewWidth:{type:Number,default:0},dropFiles:{type:Boolean,default:!1}},emits:["update:modelValue","update:src"],setup(t,{emit:e}){const n=t,A=e,r=s.ref([]),i=s.ref([]),o=s.ref(!1),a=s.ref(!1),l=s.computed(()=>n.modelValue.length?n.modelValue:n.src?[{type:"",src:n.src}]:i.value);s.watch(()=>r.value,async B=>{i.value=await Promise.all(B.map(async y=>({src:n.toDataUrl?await e5(y):await f(y),type:y.type})))},{deep:!0}),s.watch(()=>i.value,async B=>{const y=n.multiple?B:B[0];A("update:modelValue",y),n.multiple||A("update:src",B[0]&&B[0].src)},{deep:!0});function u(B){r.value.splice(B,1),(!i.value||!i.value.length)&&A("update:src","")}async function f(B){const y=new FormData;y.append("file",B),o.value=!0;const b=await(n.customFetch||GG)(n.endpoint,{method:"POST",...n.customFetch?{}:{headers:{Accept:"application/json",...n.authToken?{Authorization:`Bearer ${n.authToken}`}:{}}},body:y}).catch(k=>{console.error("Error",k)});return o.value=!1,`${n.baseResponsePath==="/media"&&b.path.endsWith(".svg")?"/api/v1/assets":n.baseResponsePath}/${b.path}`}function h(B){B.preventDefault(),a.value=!0}function p(B){B.preventDefault(),a.value=!1}function g(B){B.preventDefault(),a.value=!1;const y=B.dataTransfer,C=y&&Array.from(y.files||[]);r.value=C||[]}return s.onMounted(()=>{n.dropFiles&&(["dragenter","dragover"].forEach(B=>{document.body.addEventListener(B,h,!1)}),["dragleave","drop"].forEach(B=>{document.body.addEventListener(B,p,!1)}),document.body.addEventListener("drop",g,!1))}),s.onBeforeUnmount(()=>{n.dropFiles&&(["dragenter","dragover"].forEach(B=>{document.body.removeEventListener(B,h,!1)}),["dragleave","drop"].forEach(B=>{document.body.removeEventListener(B,p,!1)}),document.body.removeEventListener("drop",g,!1))}),(B,y)=>{const C=s.resolveComponent("svg-icon"),b=s.resolveComponent("input-file");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["file-upload",{"has-dragging":t.dropFiles,"is-dragging":a.value}])},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.value,(F,k)=>(s.openBlock(),s.createElementBlock("div",{key:F.src,class:s.normalizeClass(t.enablePreview?"file-upload__thumbnail":"file-upload__reset")},[t.enablePreview?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("img",{src:`${F.src}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail rounded"},null,8,YG),s.createElementVNode("button",{onClick:s.withModifiers(v=>u(k),["prevent"]),class:"btn btn--close"},[s.createVNode(C,{symbol:"x"})],8,zG)],64)):(s.openBlock(),s.createElementBlock("button",{key:1,onClick:s.withModifiers(v=>u(k),["prevent"]),class:"btn btn--close btn-outline-dark"},[s.createVNode(C,{symbol:"x"})],8,JG))],2))),128)),s.createVNode(b,{modelValue:r.value,"onUpdate:modelValue":y[0]||(y[0]=F=>r.value=F),id:t.id,name:t.name,accept:t.accept,class:"d-none"},null,8,["modelValue","id","name","accept"]),s.createElementVNode("label",{for:t.id,class:"file-upload__label"},[s.renderSlot(B.$slots,"button",{},()=>[s.createElementVNode("span",{class:"btn btn-outline-dark",innerHTML:t.label},null,8,XG)]),s.createVNode(s.Transition,{name:"fade"},{default:s.withCtx(()=>[o.value?(s.openBlock(),s.createElementBlock("span",qG,ZG)):s.createCommentVNode("",!0)]),_:1})],8,jG)],2)}}}),Rce="",n5={class:"upload-group"},A5=["innerHTML"],r5={class:"upload-group__list"},i5={class:"img-container"},o5=["src"],s5=["onClick"],a5={role:"button",class:"img-thumbnail d-flex justify-content-center align-items-center"},tk=s.defineComponent({__name:"upload-group",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Ft()},id:{type:String,default:()=>Ft()},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""},customFetch:null,baseResponsePath:{type:String,default:"/media"},previewWidth:{type:Number,default:0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,A=e,r=s.ref(""),i=s.computed({get(){return n.modelValue},set(a){A("update:modelValue",a)}});function o(a){i.value.splice(a,1),A("update:modelValue",i.value)}return s.watch(r,(a,l)=>{a&&(A("update:modelValue",[...i.value,a]),r.value="")}),(a,l)=>{const u=s.resolveComponent("svg-icon"),f=s.resolveComponent("file-upload"),h=s.resolveComponent("sortable-list");return s.openBlock(),s.createElementBlock("div",n5,[t.label?(s.openBlock(),s.createElementBlock("label",{key:0,innerHTML:t.label},null,8,A5)):s.createCommentVNode("",!0),s.createElementVNode("div",r5,[s.createVNode(h,{modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=p=>i.value=p),vertical:!1,class:"mb-3"},{"list-item":s.withCtx(({item:p,index:g})=>[s.createElementVNode("div",i5,[s.createElementVNode("img",{src:`${p}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail"},null,8,o5),s.createElementVNode("button",{onClick:s.withModifiers(B=>o(g),["prevent"]),class:"btn btn--close"},[s.createVNode(u,{symbol:"x"})],8,s5)])]),"list-append":s.withCtx(()=>[s.createVNode(f,{src:r.value,"onUpdate:src":l[0]||(l[0]=p=>r.value=p),multiple:!1,endpoint:t.endpoint,"custom-fetch":t.customFetch,"to-data-url":!t.endpoint,"auth-token":t.authToken,disabled:t.disabled,"base-response-path":t.baseResponsePath},{button:s.withCtx(()=>[s.createElementVNode("span",a5,[s.createVNode(u,{symbol:"plus"})])]),_:1},8,["src","endpoint","custom-fetch","to-data-url","auth-token","disabled","base-response-path"])]),_:1},8,["modelValue"])])])}}}),Pce="",l5={class:"asset-uploader"},c5=["innerHTML"],u5=s.defineComponent({__name:"asset-uploader",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Ft()},id:{type:String,default:()=>Ft()},type:{type:String,default:""},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""},customFetch:null,mediaTypeMap:{type:Object,default:()=>({svg:"Svg",png:"Image",jpg:"Image"})},baseResponsePath:{type:String,default:"/media"},previewWidth:{type:Number,default:0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,A=e,r=s.computed({get(){return n.modelValue.map(i=>i.src)},set(i){A("update:modelValue",i.map((o,a)=>({mediaType:n.modelValue[a]&&n.modelValue[a].mediaType||o.includes("data:image")?o.includes("data:image/svg")?"Svg":"Image":n.mediaTypeMap[o.split(".")[1]],src:o,name:n.modelValue[a]&&n.modelValue[a].name||`${n.name}-${a}`,...n.type?{type:n.type}:{}})))}});return(i,o)=>(s.openBlock(),s.createElementBlock("div",l5,[t.label?(s.openBlock(),s.createElementBlock("label",{key:0,innerHTML:t.label},null,8,c5)):s.createCommentVNode("",!0),s.createVNode(tk,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=a=>r.value=a),endpoint:t.endpoint,"custom-fetch":t.customFetch,"auth-token":t.authToken,disabled:t.disabled,"preview-width":t.previewWidth,"base-response-path":t.baseResponsePath},null,8,["modelValue","endpoint","custom-fetch","auth-token","disabled","preview-width","base-response-path"])]))}}),Vce="",d5={class:"carousel d-flex"},f5=["onClick"],nk=s.defineComponent({__name:"base-carousel",props:{modelValue:{type:Number,default:-1},config:{type:Object,default:null},messages:{type:Object,default:{}},items:{type:Array,default:[]},navigation:{type:Boolean,default:!0}},emits:["update:modelValue","select"],setup(t,{emit:e}){const n=e,A=s.ref(),r=s.ref();function i(){A.value.scrollTo({top:0,left:A.value.scrollLeft-A.value.clientWidth>0?A.value.scrollLeft-A.value.clientWidth:0,behavior:"smooth"})}function o(){console.log(A.value.clientWidth,A.value.scrollLeft),A.value.scrollTo({top:0,left:A.value.scrollLeft-A.value.clientWidth<=r.value.clientWidth?A.value.scrollLeft+A.value.clientWidth:r.value.clientWidth,behavior:"smooth"})}function a(l){n("update:modelValue",l)}return(l,u)=>{const f=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",d5,[t.navigation?(s.openBlock(),s.createElementBlock("button",{key:0,class:"carousel__control btn btn-link text-light",type:"button",onClick:s.withModifiers(i,["prevent","stop"])},[s.createVNode(f,{symbol:"chevron-left"})])):s.createCommentVNode("",!0),s.createElementVNode("div",{ref_key:"viewport",ref:A,class:"carousel__viewport flex-grow-1"},[s.createElementVNode("div",{ref_key:"track",ref:r,class:"carousel__track d-flex justify-center align-items-center"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.items,(h,p)=>s.renderSlot(l.$slots,"carousel-item",{key:h.src,item:h,index:p},()=>[s.createElementVNode("div",{class:s.normalizeClass(["carousel__item",p===t.modelValue?"selected":""]),onClick:g=>a(p)},s.toDisplayString(h),11,f5)])),128))],512)],512),t.navigation?(s.openBlock(),s.createElementBlock("button",{key:1,class:"carousel__control btn btn-link text-light",type:"button",onClick:s.withModifiers(o,["prevent","stop"])},[s.createVNode(f,{symbol:"chevron-right"})])):s.createCommentVNode("",!0)])}}}),$ce="",h5={class:"media-thumbnails"},p5=["onClick"],m5={class:"img-container"},g5=s.defineComponent({__name:"media-thumbnails",props:{modelValue:{default:null},config:{type:Object,default:null},messages:{type:Object,default:{}},assets:{type:Array,default:[]}},emits:["update:modelValue","select"],setup(t,{emit:e}){const n=e,A=s.ref(-1);function r(i){A.value=i,n("update:modelValue",i),n("select",i)}return(i,o)=>{const a=s.resolveComponent("base-image");return s.openBlock(),s.createElementBlock("div",h5,[s.createVNode(nk,{items:t.assets},{"carousel-item":s.withCtx(l=>[s.createElementVNode("a",{role:"button",class:s.normalizeClass(["carousel__item media-thumbnails__thumbnail",l.index===t.modelValue||l.index===A.value?"is-active":""]),onClick:u=>r(l.index)},[s.createElementVNode("div",m5,[s.createVNode(a,{src:l.item.thumbnail||l.item.src,class:"img-fluid"},null,8,["src"])])],10,p5)]),_:1},8,["items"])])}}}),Kce="",B5={class:"progress-steps"},y5={class:"progress-steps__list"},w5={class:"progress-step"},C5=["checked","id","value","disabled","read-only","required","onChange"],b5=["for"],v5=["innerHTML"],E5=["for"],k5=["innerHTML"],S5=s.defineComponent({__name:"progress-steps",props:{modelValue:{type:Number,default:0},progress:{type:Number,default:0},steps:{type:Array},label:{type:String,default:""},reveal:{type:Boolean,default:!1}},emits:["update:modelValue","update:progress"],setup(t,{emit:e}){const n=t,A=e;function r(i){A("update:modelValue",i),i>=n.progress&&A("update:progress",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",B5,[s.createElementVNode("ul",y5,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.steps,(a,l)=>(s.openBlock(),s.createElementBlock("li",{key:l,class:s.normalizeClass(["progress-steps__step",{"progress-steps__step--disabled":l>t.progress+(t.reveal?1:0),"progress-steps__step--active":l===(t.modelValue||0)}])},[s.renderSlot(i.$slots,"step",{},()=>[s.createElementVNode("div",w5,[s.createElementVNode("input",{type:"radio",checked:l<=(t.progress||0),id:`step-${l}`,name:"step",class:"form-check-input",value:a.value,disabled:a.disabled||l>t.progress+(t.reveal?1:0),"read-only":a.readOnly,required:a.required,onChange:u=>r(l)},null,40,C5),s.createElementVNode("label",{for:`step-${l}`},[s.renderSlot(i.$slots,"button",{step:a},()=>[s.createElementVNode("span",{class:"btn rounded-circle",innerHTML:a.text},null,8,v5)])],8,b5),s.createElementVNode("label",{for:`step-${l}`},[s.renderSlot(i.$slots,"label",{step:a},()=>[s.createElementVNode("span",{class:"form-check-label",innerHTML:a.label},null,8,k5)])],8,E5)])])],2))),128))])]))}}),Wce="";/*!
|
|
169
|
+
}`;var ft=px(function(){return It(_,Ke+"return "+ve).apply(n,N)});if(ft.source=ve,M0(ft))throw ft;return ft}function dle(c){return xt(c).toLowerCase()}function fle(c){return xt(c).toUpperCase()}function hle(c,d,m){if(c=xt(c),c&&(m||d===n))return EI(c);if(!c||!(d=tr(d)))return c;var w=Gr(c),S=Gr(d),_=kI(w,S),N=SI(w,S)+1;return es(w,_,N).join("")}function ple(c,d,m){if(c=xt(c),c&&(m||d===n))return c.slice(0,QI(c)+1);if(!c||!(d=tr(d)))return c;var w=Gr(c),S=SI(w,Gr(d))+1;return es(w,0,S).join("")}function mle(c,d,m){if(c=xt(c),c&&(m||d===n))return c.replace(My,"");if(!c||!(d=tr(d)))return c;var w=Gr(c),S=kI(w,Gr(d));return es(w,S).join("")}function gle(c,d){var m=H,w=ie;if(rn(d)){var S="separator"in d?d.separator:S;m="length"in d?ct(d.length):m,w="omission"in d?tr(d.omission):w}c=xt(c);var _=c.length;if(ll(c)){var N=Gr(c);_=N.length}if(m>=_)return c;var K=m-cl(w);if(K<1)return w;var X=N?es(N,0,K).join(""):c.slice(0,K);if(S===n)return X+w;if(N&&(K+=X.length-K),N0(S)){if(c.slice(K).search(S)){var me,ge=X;for(S.global||(S=e0(S.source,xt(GT.exec(S))+"g")),S.lastIndex=0;me=S.exec(ge);)var ve=me.index;X=X.slice(0,ve===n?K:ve)}}else if(c.indexOf(tr(S),K)!=K){var Ie=X.lastIndexOf(S);Ie>-1&&(X=X.slice(0,Ie))}return X+w}function Ble(c){return c=xt(c),c&&Te.test(c)?c.replace(nt,YAe):c}var yle=gl(function(c,d,m){return c+(m?" ":"")+d.toUpperCase()}),P0=m_("toUpperCase");function hx(c,d,m){return c=xt(c),d=m?n:d,d===n?VAe(c)?jAe(c):xAe(c):c.match(d)||[]}var px=mt(function(c,d){try{return ZA(c,n,d)}catch(m){return M0(m)?m:new st(m)}}),wle=Ji(function(c,d){return br(d,function(m){m=Ci(m),Yi(c,m,D0(c[m],c))}),c});function Cle(c){var d=c==null?0:c.length,m=qe();return c=d?en(c,function(w){if(typeof w[1]!="function")throw new vr(o);return[m(w[0]),w[1]]}):[],mt(function(w){for(var S=-1;++S<d;){var _=c[S];if(ZA(_[0],this,w))return ZA(_[1],this,w)}})}function ble(c){return Yre(kr(c,h))}function V0(c){return function(){return c}}function vle(c,d){return c==null||c!==c?d:c}var Ele=B_(),kle=B_(!0);function PA(c){return c}function $0(c){return zI(typeof c=="function"?c:kr(c,h))}function Sle(c){return jI(kr(c,h))}function Fle(c,d){return XI(c,kr(d,h))}var Qle=mt(function(c,d){return function(m){return ru(m,c,d)}}),Ule=mt(function(c,d){return function(m){return ru(c,m,d)}});function K0(c,d,m){var w=Kn(d),S=Mh(d,w);m==null&&!(rn(d)&&(S.length||!w.length))&&(m=d,d=c,c=this,S=Mh(d,Kn(d)));var _=!(rn(m)&&"chain"in m)||!!m.chain,N=Xi(c);return br(S,function(K){var X=d[K];c[K]=X,N&&(c.prototype[K]=function(){var me=this.__chain__;if(_||me){var ge=c(this.__wrapped__),ve=ge.__actions__=NA(this.__actions__);return ve.push({func:X,args:arguments,thisArg:c}),ge.__chain__=me,ge}return X.apply(c,zo([this.value()],arguments))})}),c}function Tle(){return jn._===this&&(jn._=nre),this}function W0(){}function Ile(c){return c=ct(c),mt(function(d){return qI(d,c)})}var _le=b0(en),xle=b0(yI),Ole=b0(Yy);function mx(c){return U0(c)?zy(Ci(c)):cie(c)}function Dle(c){return function(d){return c==null?n:js(c,d)}}var Lle=w_(),Mle=w_(!0);function G0(){return[]}function Y0(){return!1}function Nle(){return{}}function Hle(){return""}function Rle(){return!0}function Ple(c,d){if(c=ct(c),c<1||c>ee)return[];var m=Z,w=lA(c,Z);d=qe(d),c-=Z;for(var S=Xy(w,d);++m<c;)d(m);return S}function Vle(c){return at(c)?en(c,Ci):nr(c)?[c]:NA(L_(xt(c)))}function $le(c){var d=++ere;return xt(c)+d}var Kle=$h(function(c,d){return c+d},0),Wle=v0("ceil"),Gle=$h(function(c,d){return c/d},1),Yle=v0("floor");function zle(c){return c&&c.length?Lh(c,PA,a0):n}function Jle(c,d){return c&&c.length?Lh(c,qe(d,2),a0):n}function jle(c){return bI(c,PA)}function Xle(c,d){return bI(c,qe(d,2))}function qle(c){return c&&c.length?Lh(c,PA,d0):n}function Zle(c,d){return c&&c.length?Lh(c,qe(d,2),d0):n}var ece=$h(function(c,d){return c*d},1),tce=v0("round"),nce=$h(function(c,d){return c-d},0);function Ace(c){return c&&c.length?jy(c,PA):0}function rce(c,d){return c&&c.length?jy(c,qe(d,2)):0}return T.after=Sse,T.ary=Y_,T.assign=fae,T.assignIn=sx,T.assignInWith=np,T.assignWith=hae,T.at=pae,T.before=z_,T.bind=D0,T.bindAll=wle,T.bindKey=J_,T.castArray=Nse,T.chain=K_,T.chunk=Yie,T.compact=zie,T.concat=Jie,T.cond=Cle,T.conforms=ble,T.constant=V0,T.countBy=Ase,T.create=mae,T.curry=j_,T.curryRight=X_,T.debounce=q_,T.defaults=gae,T.defaultsDeep=Bae,T.defer=Fse,T.delay=Qse,T.difference=jie,T.differenceBy=Xie,T.differenceWith=qie,T.drop=Zie,T.dropRight=eoe,T.dropRightWhile=toe,T.dropWhile=noe,T.fill=Aoe,T.filter=ise,T.flatMap=ase,T.flatMapDeep=lse,T.flatMapDepth=cse,T.flatten=R_,T.flattenDeep=roe,T.flattenDepth=ioe,T.flip=Use,T.flow=Ele,T.flowRight=kle,T.fromPairs=ooe,T.functions=kae,T.functionsIn=Sae,T.groupBy=use,T.initial=aoe,T.intersection=loe,T.intersectionBy=coe,T.intersectionWith=uoe,T.invert=Qae,T.invertBy=Uae,T.invokeMap=fse,T.iteratee=$0,T.keyBy=hse,T.keys=Kn,T.keysIn=RA,T.map=jh,T.mapKeys=Iae,T.mapValues=_ae,T.matches=Sle,T.matchesProperty=Fle,T.memoize=qh,T.merge=xae,T.mergeWith=ax,T.method=Qle,T.methodOf=Ule,T.mixin=K0,T.negate=Zh,T.nthArg=Ile,T.omit=Oae,T.omitBy=Dae,T.once=Tse,T.orderBy=pse,T.over=_le,T.overArgs=Ise,T.overEvery=xle,T.overSome=Ole,T.partial=L0,T.partialRight=Z_,T.partition=mse,T.pick=Lae,T.pickBy=lx,T.property=mx,T.propertyOf=Dle,T.pull=poe,T.pullAll=V_,T.pullAllBy=moe,T.pullAllWith=goe,T.pullAt=Boe,T.range=Lle,T.rangeRight=Mle,T.rearg=_se,T.reject=yse,T.remove=yoe,T.rest=xse,T.reverse=x0,T.sampleSize=Cse,T.set=Nae,T.setWith=Hae,T.shuffle=bse,T.slice=woe,T.sortBy=kse,T.sortedUniq=Foe,T.sortedUniqBy=Qoe,T.split=ale,T.spread=Ose,T.tail=Uoe,T.take=Toe,T.takeRight=Ioe,T.takeRightWhile=_oe,T.takeWhile=xoe,T.tap=zoe,T.throttle=Dse,T.thru=Jh,T.toArray=rx,T.toPairs=cx,T.toPairsIn=ux,T.toPath=Vle,T.toPlainObject=ox,T.transform=Rae,T.unary=Lse,T.union=Ooe,T.unionBy=Doe,T.unionWith=Loe,T.uniq=Moe,T.uniqBy=Noe,T.uniqWith=Hoe,T.unset=Pae,T.unzip=O0,T.unzipWith=$_,T.update=Vae,T.updateWith=$ae,T.values=wl,T.valuesIn=Kae,T.without=Roe,T.words=hx,T.wrap=Mse,T.xor=Poe,T.xorBy=Voe,T.xorWith=$oe,T.zip=Koe,T.zipObject=Woe,T.zipObjectDeep=Goe,T.zipWith=Yoe,T.entries=cx,T.entriesIn=ux,T.extend=sx,T.extendWith=np,K0(T,T),T.add=Kle,T.attempt=px,T.camelCase=zae,T.capitalize=dx,T.ceil=Wle,T.clamp=Wae,T.clone=Hse,T.cloneDeep=Pse,T.cloneDeepWith=Vse,T.cloneWith=Rse,T.conformsTo=$se,T.deburr=fx,T.defaultTo=vle,T.divide=Gle,T.endsWith=Jae,T.eq=zr,T.escape=jae,T.escapeRegExp=Xae,T.every=rse,T.find=ose,T.findIndex=N_,T.findKey=yae,T.findLast=sse,T.findLastIndex=H_,T.findLastKey=wae,T.floor=Yle,T.forEach=W_,T.forEachRight=G_,T.forIn=Cae,T.forInRight=bae,T.forOwn=vae,T.forOwnRight=Eae,T.get=H0,T.gt=Kse,T.gte=Wse,T.has=Fae,T.hasIn=R0,T.head=P_,T.identity=PA,T.includes=dse,T.indexOf=soe,T.inRange=Gae,T.invoke=Tae,T.isArguments=Zs,T.isArray=at,T.isArrayBuffer=Gse,T.isArrayLike=HA,T.isArrayLikeObject=yn,T.isBoolean=Yse,T.isBuffer=ts,T.isDate=zse,T.isElement=Jse,T.isEmpty=jse,T.isEqual=Xse,T.isEqualWith=qse,T.isError=M0,T.isFinite=Zse,T.isFunction=Xi,T.isInteger=ex,T.isLength=ep,T.isMap=tx,T.isMatch=eae,T.isMatchWith=tae,T.isNaN=nae,T.isNative=Aae,T.isNil=iae,T.isNull=rae,T.isNumber=nx,T.isObject=rn,T.isObjectLike=un,T.isPlainObject=cu,T.isRegExp=N0,T.isSafeInteger=oae,T.isSet=Ax,T.isString=tp,T.isSymbol=nr,T.isTypedArray=yl,T.isUndefined=sae,T.isWeakMap=aae,T.isWeakSet=lae,T.join=doe,T.kebabCase=qae,T.last=Fr,T.lastIndexOf=foe,T.lowerCase=Zae,T.lowerFirst=ele,T.lt=cae,T.lte=uae,T.max=zle,T.maxBy=Jle,T.mean=jle,T.meanBy=Xle,T.min=qle,T.minBy=Zle,T.stubArray=G0,T.stubFalse=Y0,T.stubObject=Nle,T.stubString=Hle,T.stubTrue=Rle,T.multiply=ece,T.nth=hoe,T.noConflict=Tle,T.noop=W0,T.now=Xh,T.pad=tle,T.padEnd=nle,T.padStart=Ale,T.parseInt=rle,T.random=Yae,T.reduce=gse,T.reduceRight=Bse,T.repeat=ile,T.replace=ole,T.result=Mae,T.round=tce,T.runInContext=z,T.sample=wse,T.size=vse,T.snakeCase=sle,T.some=Ese,T.sortedIndex=Coe,T.sortedIndexBy=boe,T.sortedIndexOf=voe,T.sortedLastIndex=Eoe,T.sortedLastIndexBy=koe,T.sortedLastIndexOf=Soe,T.startCase=lle,T.startsWith=cle,T.subtract=nce,T.sum=Ace,T.sumBy=rce,T.template=ule,T.times=Ple,T.toFinite=qi,T.toInteger=ct,T.toLength=ix,T.toLower=dle,T.toNumber=Qr,T.toSafeInteger=dae,T.toString=xt,T.toUpper=fle,T.trim=hle,T.trimEnd=ple,T.trimStart=mle,T.truncate=gle,T.unescape=Ble,T.uniqueId=$le,T.upperCase=yle,T.upperFirst=P0,T.each=W_,T.eachRight=G_,T.first=P_,K0(T,function(){var c={};return yi(T,function(d,m){Mt.call(T.prototype,m)||(c[m]=d)}),c}(),{chain:!1}),T.VERSION=A,br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){T[c].placeholder=T}),br(["drop","take"],function(c,d){Et.prototype[c]=function(m){m=m===n?1:_n(ct(m),0);var w=this.__filtered__&&!d?new Et(this):this.clone();return w.__filtered__?w.__takeCount__=lA(m,w.__takeCount__):w.__views__.push({size:lA(m,Z),type:c+(w.__dir__<0?"Right":"")}),w},Et.prototype[c+"Right"]=function(m){return this.reverse()[c](m).reverse()}}),br(["filter","map","takeWhile"],function(c,d){var m=d+1,w=m==R||m==$;Et.prototype[c]=function(S){var _=this.clone();return _.__iteratees__.push({iteratee:qe(S,3),type:m}),_.__filtered__=_.__filtered__||w,_}}),br(["head","last"],function(c,d){var m="take"+(d?"Right":"");Et.prototype[c]=function(){return this[m](1).value()[0]}}),br(["initial","tail"],function(c,d){var m="drop"+(d?"":"Right");Et.prototype[c]=function(){return this.__filtered__?new Et(this):this[m](1)}}),Et.prototype.compact=function(){return this.filter(PA)},Et.prototype.find=function(c){return this.filter(c).head()},Et.prototype.findLast=function(c){return this.reverse().find(c)},Et.prototype.invokeMap=mt(function(c,d){return typeof c=="function"?new Et(this):this.map(function(m){return ru(m,c,d)})}),Et.prototype.reject=function(c){return this.filter(Zh(qe(c)))},Et.prototype.slice=function(c,d){c=ct(c);var m=this;return m.__filtered__&&(c>0||d<0)?new Et(m):(c<0?m=m.takeRight(-c):c&&(m=m.drop(c)),d!==n&&(d=ct(d),m=d<0?m.dropRight(-d):m.take(d-c)),m)},Et.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Et.prototype.toArray=function(){return this.take(Z)},yi(Et.prototype,function(c,d){var m=/^(?:filter|find|map|reject)|While$/.test(d),w=/^(?:head|last)$/.test(d),S=T[w?"take"+(d=="last"?"Right":""):d],_=w||/^find/.test(d);S&&(T.prototype[d]=function(){var N=this.__wrapped__,K=w?[1]:arguments,X=N instanceof Et,me=K[0],ge=X||at(N),ve=function(yt){var St=S.apply(T,zo([yt],K));return w&&Ie?St[0]:St};ge&&m&&typeof me=="function"&&me.length!=1&&(X=ge=!1);var Ie=this.__chain__,Ke=!!this.__actions__.length,Ze=_&&!Ie,ft=X&&!Ke;if(!_&&ge){N=ft?N:new Et(this);var et=c.apply(N,K);return et.__actions__.push({func:Jh,args:[ve],thisArg:n}),new Er(et,Ie)}return Ze&&ft?c.apply(this,K):(et=this.thru(ve),Ze?w?et.value()[0]:et.value():et)})}),br(["pop","push","shift","sort","splice","unshift"],function(c){var d=Ch[c],m=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",w=/^(?:pop|shift)$/.test(c);T.prototype[c]=function(){var S=arguments;if(w&&!this.__chain__){var _=this.value();return d.apply(at(_)?_:[],S)}return this[m](function(N){return d.apply(at(N)?N:[],S)})}}),yi(Et.prototype,function(c,d){var m=T[d];if(m){var w=m.name+"";Mt.call(hl,w)||(hl[w]=[]),hl[w].push({name:d,func:m})}}),hl[Vh(n,b).name]=[{name:"wrapper",func:n}],Et.prototype.clone=Bre,Et.prototype.reverse=yre,Et.prototype.value=wre,T.prototype.at=Joe,T.prototype.chain=joe,T.prototype.commit=Xoe,T.prototype.next=qoe,T.prototype.plant=ese,T.prototype.reverse=tse,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=nse,T.prototype.first=T.prototype.head,Xc&&(T.prototype[Xc]=Zoe),T},ul=XAe();Ws?((Ws.exports=ul)._=ul,$y._=ul):jn._=ul}).call(Bc)}(Xd,Xd.exports);var YE=Xd.exports;const OW="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAYAAAB/HSuDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAHkJJREFUeNrs3Q1u8zaXgNHS8JK4/xVwTyzytgnS1HZsixR/7jlAgZkMBl+hT6Z1H1FyqrX+BQAAAOzt4hAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAACAAAAAAAAIAAAAAIA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AAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAACAs13f+X/KOdfv/3spJTmUAAAA0EeLOfxy9D/03t8AAACA9sP/u3O4RwAAAAAggJcCgDv9AAAAMIdXZ3Q7AAAAACAAAQAAAAAEAAAAAEAAAADgb3bsWAAAAABgkL/1IPYWRgAgAAAAAAABAAAAAAgAAAAAQAAAAAAAAgAAAAAQAAAAACAAAAAAAAEAAAAACAAAAABAAAAAAAACAAAAABAAAAAAgAAAAAAABAAAAAAIAAAAAEAAAAAAAAIAAAAAEAAAAACAAAAAAAAEAAAAALAkwACd6iSVhnRezwAAAABJRU5ErkJggg==",DW={class:"camera__preview"},LW={key:0,class:"camera__bg-notification"},MW=["innerHTML"],NW=["width","height"],HW={key:1,class:"camera__countdown-overlay"},RW=["innerHTML","data-countdown"],PW=["src"],VW={class:"camera__controls"},$W={class:"container"},KW={class:"row"},WW={class:"col"},GW={class:"btn-group"},YW={key:0},zW={key:1},JW={key:0,class:"camera__switch-cam"},jW={key:1,class:"base-camera__devices"},XW={name:"BaseCamera",inheritAttrs:!1};function qW(t){const e=atob(t.split(",")[1]),n=new ArrayBuffer(e.length),A=new Uint8Array(n);for(let r=0;r<e.length;r++)A[r]=e.charCodeAt(r);return new Blob([n],{type:"image/png"})}const ZW=s.defineComponent({...XW,props:{modelValue:{type:null},enableSwitchCamera:{type:Boolean,default:!0},defaultRearCamera:{type:Boolean,default:!1},enableMirrorCamera:{type:Boolean,default:!1},enableGuide:{type:Boolean,default:!0},guideSrc:{type:String,default:()=>OW},countdown:{type:Number,default:0},ratio:{type:String,default:"3x4"},enableAudio:{type:Boolean,default:!1},enableSelectDevice:{type:Boolean,default:!1},enableCropImage:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{expose:e,emit:n}){const A={"1x1":{width:720,height:720},"3x2":{width:1080,height:720},"2x3":{width:720,height:1080},"4x3":{width:960,height:720},"3x4":{width:720,height:960},"16x9":{width:1280,height:720},"9x16":{width:720,height:1280}},r=t,i=n,o=s.ref(),a=s.ref(),l=s.ref(!1),u=s.ref([]),f=s.ref(),h=s.ref(),p=s.ref(!1),g=s.ref(!1),B=s.ref(0),y=s.ref(0),C=s.ref(),b=s.computed(()=>u.value.filter(ee=>ee.kind==="videoinput")),F=s.computed(()=>u.value.filter(ee=>ee.kind==="audioinput")),k=s.computed({get(){return f.value&&f.value.deviceId},set(ee){f.value=b.value.find(Y=>Y.deviceId===ee)}}),v=s.computed({get(){return h.value&&h.value.deviceId},set(ee){h.value=F.value.find(Y=>Y.deviceId===ee)}}),U=s.computed(()=>{const ee=f.value&&b.value.findIndex(Y=>Y.deviceId===f.value.deviceId);return r.enableMirrorCamera&&ee===0?"mirror-cam":""}),E=s.computed(()=>{const ee=f.value&&u.value.findIndex(Y=>Y.deviceId===f.value.deviceId);return U.value?`${U.value} mirror-device-${ee}`:""});function I(){B.value=A[r.ratio]?A[r.ratio].width:o.value.parentElement&&o.value.parentElement.clientWidth,y.value=A[r.ratio]?A[r.ratio].height:o.value.parentElement&&o.value.parentElement.clientHeight}const O=YE.debounce(()=>{I()},300,{trailing:!0,leading:!1});async function x(){const ee={audio:r.enableAudio&&{...h.value?{deviceId:h.value.deviceId}:{}},video:{...f.value?{deviceId:f.value.deviceId}:{},width:{ideal:1024},height:{ideal:1024}}};return navigator.mediaDevices.getUserMedia(ee).catch(Y=>{console.error(Y,"navigator.mediaDevices.getUserMedia: failed")})}function H(){o.value&&o.value.srcObject&&o.value.srcObject.getTracks().forEach(Y=>{Y.stop()})}async function ie(){return o.value.srcObject=await x(),u.value=await navigator.mediaDevices.enumerateDevices(),{stream:o.value.srcObject,devices:u.value}}function re(){p.value?(p.value=!1,g.value=!1,H()):(p.value=!0,ie())}function ce(){u.value.length>1&&(H(),f.value=f.value&&f.value.deviceId===b.value[0].deviceId?b.value[b.value.length-1]:b.value[0],ie())}async function R(ee,Y){H(),ee&&(!Y||ee.deviceId!==Y.deviceId)&&await ie()}s.watch(()=>f.value,R),s.watch(()=>h.value,R);function W(){r.countdown?(C.value=C.value?C.value-1:r.countdown,C.value?setTimeout(W,1e3):$()):$()}e({onCapture:W,camera:o.value});function $(){g.value=!0;const ee=a.value.getContext("2d"),Y=o.value,he=Y&&Y.srcObject&&Y.srcObject.getTracks(),{aspectRatio:Z,width:Ce,height:V}=he.length&&he[0].getSettings(),J=A[r.ratio],Ae=J.width/J.height;let oe=J.width,Q=J.height;r.enableCropImage?Z>Ae?oe=Q*Z:Z<Ae&&(Q=oe/Z):(oe=Ce,Q=V,a.value.width=oe,a.value.height=Q);const q=U.value?-1:1;ee.save(),ee.scale(q,1),ee.drawImage(Y,oe>a.value.width?(a.value.width-oe)/2:0,Q>a.value.height?(a.value.height-Q)/2:0,oe*q,Q),ee.restore();const Fe=a.value.toDataURL("image/png");te(Fe)}function te(ee){const Y=qW(ee);i("update:modelValue",{name:`cam-pic-${new Date().toISOString()}`,id:`cam-pic-${new Date().toISOString()}`,blob:Y,size:Y.size})}return s.onMounted(async()=>{H(),await ie(),f.value=b.value[0],r.enableAudio&&(h.value=F.value[0]),navigator.mediaDevices.addEventListener("devicechange",async ee=>{await ie()}),r.defaultRearCamera&&ce(),re(),window.addEventListener("resize",O),I(),await s.nextTick(),l.value=!0}),s.onBeforeUnmount(()=>{p.value=!1,g.value=!1,H(),window.removeEventListener("resize",O)}),(ee,Y)=>{const he=s.resolveComponent("loading-spinner"),Z=s.resolveComponent("svg-icon"),Ce=s.resolveComponent("input-dropdown");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["camera",E.value])},[s.createElementVNode("div",DW,[l.value?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",LW,[s.createVNode(he,{color:"#000"},{default:s.withCtx(()=>[s.createElementVNode("span",{class:s.normalizeClass("d-block text-center"),innerHTML:ee.$t("camera.waitForCameraNotification")},null,8,MW)]),_:1})])),s.withDirectives(s.createElementVNode("video",{ref_key:"camera",ref:o,class:s.normalizeClass(["camera__video",`aspect-ratio--${r.ratio}`]),autoplay:"",playsinline:""},null,2),[[s.vShow,l.value]]),s.withDirectives(s.createElementVNode("canvas",{ref_key:"canvas",ref:a,class:"camera__canvas",width:B.value,height:y.value},null,8,NW),[[s.vShow,g.value]]),C.value?(s.openBlock(),s.createElementBlock("div",HW,[(s.openBlock(),s.createElementBlock("p",{class:"countdown",key:C.value,innerHTML:C.value,"data-countdown":C.value},null,8,RW))])):s.createCommentVNode("",!0),t.enableGuide&&p.value&&l.value?(s.openBlock(),s.createElementBlock("img",{key:2,class:"camera__guide",src:t.guideSrc},null,8,PW)):s.createCommentVNode("",!0)]),s.createElementVNode("div",VW,[s.createElementVNode("div",$W,[s.createElementVNode("div",KW,[s.createElementVNode("div",WW,[s.createElementVNode("div",GW,[s.createElementVNode("button",{type:"button",class:"camera__toggle btn btn-primary",onClick:re},[p.value?(s.openBlock(),s.createElementBlock("span",zW,s.toDisplayString(ee.$t("common.pause")),1)):(s.openBlock(),s.createElementBlock("span",YW,s.toDisplayString(ee.$t("common.play")),1))]),s.createElementVNode("button",{type:"button",class:"camera__capture btn btn-primary",onClick:W},s.toDisplayString(ee.$t("camera.capture")),1)])])])])]),t.enableSwitchCamera&&b.value&&b.value.length>1?(s.openBlock(),s.createElementBlock("div",JW,[s.createElementVNode("button",{class:"btn",onClick:s.withModifiers(ce,["prevent"])},[s.createVNode(Z,{symbol:"switch-camera"})])])):s.createCommentVNode("",!0),t.enableSelectDevice?(s.openBlock(),s.createElementBlock("div",jW,[F.value.length&&h.value?(s.openBlock(),s.createBlock(Ce,{key:0,modelValue:v.value,"onUpdate:modelValue":Y[0]||(Y[0]=V=>v.value=V),options:F.value.map((V,J)=>({text:V.label||`Microphone ${J+1}`,value:V.deviceId}))},null,8,["modelValue","options"])):s.createCommentVNode("",!0),b.value.length?(s.openBlock(),s.createBlock(Ce,{key:1,modelValue:k.value,"onUpdate:modelValue":Y[1]||(Y[1]=V=>k.value=V),options:b.value.map((V,J)=>({text:V.label||`Camera ${J+1}`,value:V.deviceId}))},null,8,["modelValue","options"])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)],2)}}}),Nce="",eG=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,tG=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,nG=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function AG(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){rG(t);return}return e}function rG(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function iG(t,e={}){if(typeof t!="string")return t;const n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){const A=n.toLowerCase();if(A==="true")return!0;if(A==="false")return!1;if(A==="undefined")return;if(A==="null")return null;if(A==="nan")return Number.NaN;if(A==="infinity")return Number.POSITIVE_INFINITY;if(A==="-infinity")return Number.NEGATIVE_INFINITY}if(!nG.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(eG.test(t)||tG.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,AG)}return JSON.parse(t)}catch(A){if(e.strict)throw A;return t}}const oG=/#/g,sG=/&/g,aG=/\//g,lG=/=/g,Vg=/\+/g,cG=/%5e/gi,uG=/%60/gi,dG=/%7c/gi,fG=/%20/gi;function hG(t){return encodeURI(""+t).replace(dG,"|")}function $g(t){return hG(typeof t=="string"?t:JSON.stringify(t)).replace(Vg,"%2B").replace(fG,"+").replace(oG,"%23").replace(sG,"%26").replace(uG,"`").replace(cG,"^").replace(aG,"%2F")}function Kg(t){return $g(t).replace(lG,"%3D")}function zE(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function pG(t){return zE(t.replace(Vg," "))}function mG(t){return zE(t.replace(Vg," "))}function gG(t=""){const e={};t[0]==="?"&&(t=t.slice(1));for(const n of t.split("&")){const A=n.match(/([^=]+)=?(.*)/)||[];if(A.length<2)continue;const r=pG(A[1]);if(r==="__proto__"||r==="constructor")continue;const i=mG(A[2]||"");e[r]===void 0?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}return e}function BG(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${Kg(t)}=${$g(n)}`).join("&"):`${Kg(t)}=${$g(e)}`:Kg(t)}function yG(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>BG(e,t[e])).filter(Boolean).join("&")}const wG=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,CG=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,bG=/^([/\\]\s*){2,}[^/\\]/,vG=/\/$|\/\?|\/#/,EG=/^\.?\//;function JE(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?wG.test(t):CG.test(t)||(e.acceptRelative?bG.test(t):!1)}function Wg(t="",e){return e?vG.test(t):t.endsWith("/")}function kG(t="",e){if(!e)return(Wg(t)?t.slice(0,-1):t)||"/";if(!Wg(t,!0))return t||"/";let n=t,A="";const r=t.indexOf("#");r>=0&&(n=t.slice(0,r),A=t.slice(r));const[i,...o]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(o.length>0?`?${o.join("?")}`:"")+A}function SG(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(Wg(t,!0))return t||"/";let n=t,A="";const r=t.indexOf("#");if(r>=0&&(n=t.slice(0,r),A=t.slice(r),!n))return A;const[i,...o]=n.split("?");return i+"/"+(o.length>0?`?${o.join("?")}`:"")+A}function FG(t,e){if(UG(e)||JE(t))return t;const n=kG(e);return t.startsWith(n)?t:IG(n,t)}function QG(t,e){const n=XE(t),A={...gG(n.search),...e};return n.search=yG(A),_G(n)}function UG(t){return!t||t==="/"}function TG(t){return t&&t!=="/"}function IG(t,...e){let n=t||"";for(const A of e.filter(r=>TG(r)))if(n){const r=A.replace(EG,"");n=SG(n)+r}else n=A;return n}const jE=Symbol.for("ufo:protocolRelative");function XE(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,h,p=""]=n;return{protocol:h.toLowerCase(),pathname:p,href:h+p,auth:"",host:"",search:"",hash:""}}if(!JE(t,{acceptRelative:!0}))return e?XE(e+t):qE(t);const[,A="",r,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:u,hash:f}=qE(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:A.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:l,search:u,hash:f,[jE]:!A}}function qE(t=""){const[e="",n="",A=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:A}}function _G(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",A=t.hash||"",r=t.auth?t.auth+"@":"",i=t.host||"";return(t.protocol||t[jE]?(t.protocol||"")+"//":"")+r+i+e+n+A}class xG extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function OG(t){var l,u,f,h,p;const e=((l=t.error)==null?void 0:l.message)||((u=t.error)==null?void 0:u.toString())||"",n=((f=t.request)==null?void 0:f.method)||((h=t.options)==null?void 0:h.method)||"GET",A=((p=t.request)==null?void 0:p.url)||String(t.request)||"/",r=`[${n}] ${JSON.stringify(A)}`,i=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",o=`${r}: ${i}${e?` ${e}`:""}`,a=new xG(o,t.error?{cause:t.error}:void 0);for(const g of["request","options","response"])Object.defineProperty(a,g,{get(){return t[g]}});for(const[g,B]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,g,{get(){return t.response&&t.response[B]}});return a}const DG=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ZE(t="GET"){return DG.has(t.toUpperCase())}function LG(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const MG=new Set(["image/svg","application/xml","application/xhtml","application/html"]),NG=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function HG(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return NG.test(e)?"json":MG.has(e)||e.startsWith("text/")?"text":"blob"}function RG(t,e,n=globalThis.Headers){const A={...e,...t};if(e!=null&&e.params&&(t!=null&&t.params)&&(A.params={...e==null?void 0:e.params,...t==null?void 0:t.params}),e!=null&&e.query&&(t!=null&&t.query)&&(A.query={...e==null?void 0:e.query,...t==null?void 0:t.query}),e!=null&&e.headers&&(t!=null&&t.headers)){A.headers=new n((e==null?void 0:e.headers)||{});for(const[r,i]of new n((t==null?void 0:t.headers)||{}))A.headers.set(r,i)}return A}const PG=new Set([408,409,425,429,500,502,503,504]),VG=new Set([101,204,205,304]);function ek(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:A=globalThis.AbortController}=t;async function r(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let f;typeof a.options.retry=="number"?f=a.options.retry:f=ZE(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(f>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):PG.has(h))){const p=a.options.retryDelay||0;return p>0&&await new Promise(g=>setTimeout(g,p)),i(a.request,{...a.options,retry:f-1})}}const u=OG(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){var g;const f={request:l,options:RG(u,t.defaults,n),response:void 0,error:void 0};f.options.method=(g=f.options.method)==null?void 0:g.toUpperCase(),f.options.onRequest&&await f.options.onRequest(f),typeof f.request=="string"&&(f.options.baseURL&&(f.request=FG(f.request,f.options.baseURL)),(f.options.query||f.options.params)&&(f.request=QG(f.request,{...f.options.params,...f.options.query}))),f.options.body&&ZE(f.options.method)&&(LG(f.options.body)?(f.options.body=typeof f.options.body=="string"?f.options.body:JSON.stringify(f.options.body),f.options.headers=new n(f.options.headers||{}),f.options.headers.has("content-type")||f.options.headers.set("content-type","application/json"),f.options.headers.has("accept")||f.options.headers.set("accept","application/json")):("pipeTo"in f.options.body&&typeof f.options.body.pipeTo=="function"||typeof f.options.body.pipe=="function")&&("duplex"in f.options||(f.options.duplex="half")));let h;if(!f.options.signal&&f.options.timeout){const B=new A;h=setTimeout(()=>B.abort(),f.options.timeout),f.options.signal=B.signal}try{f.response=await e(f.request,f.options)}catch(B){return f.error=B,f.options.onRequestError&&await f.options.onRequestError(f),await r(f)}finally{h&&clearTimeout(h)}if(f.response.body&&!VG.has(f.response.status)&&f.options.method!=="HEAD"){const B=(f.options.parseResponse?"json":f.options.responseType)||HG(f.response.headers.get("content-type")||"");switch(B){case"json":{const y=await f.response.text(),C=f.options.parseResponse||iG;f.response._data=C(y);break}case"stream":{f.response._data=f.response.body;break}default:f.response._data=await f.response[B]()}}return f.options.onResponse&&await f.options.onResponse(f),!f.options.ignoreResponseError&&f.response.status>=400&&f.response.status<600?(f.options.onResponseError&&await f.options.onResponseError(f),await r(f)):f.response},o=async function(l,u){return(await i(l,u))._data};return o.raw=i,o.native=(...a)=>e(...a),o.create=(a={})=>ek({...t,defaults:{...t.defaults,...a}}),o}const Gg=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),$G=Gg.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),KG=Gg.Headers,WG=Gg.AbortController,GG=ek({fetch:$G,Headers:KG,AbortController:WG}),YG=["src"],zG=["onClick"],JG=["onClick"],jG=["for"],XG=["innerHTML"],qG={key:0,class:"file-upload__loading-spinner"},ZG=[s.createElementVNode("span",{class:"spinner-border",role:"status"},[s.createElementVNode("span",{class:"visually-hidden"},"Loading...")],-1)];async function e5(t){return await new Promise(e=>{let n=new FileReader;n.onload=()=>e(n.result),n.readAsDataURL(t)})}const t5=s.defineComponent({__name:"file-upload",props:{modelValue:{type:Array,default:[]},src:{type:String},name:{type:String,default:()=>Ft()},id:{type:String,default:()=>Ft()},label:{type:String,default:"Select file"},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},pattern:{type:String,default:null},multiple:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},toDataUrl:{type:Boolean,default:!0},authToken:{type:String,default:""},customFetch:null,baseResponsePath:{type:String,default:"/media"},enablePreview:{type:Boolean,default:!0},previewWidth:{type:Number,default:0},dropFiles:{type:Boolean,default:!1}},emits:["update:modelValue","update:src"],setup(t,{emit:e}){const n=t,A=e,r=s.ref([]),i=s.ref([]),o=s.ref(!1),a=s.ref(!1),l=s.computed(()=>n.modelValue.length?n.modelValue:n.src?[{type:"",src:n.src}]:i.value);s.watch(()=>r.value,async B=>{i.value=await Promise.all(B.map(async y=>({src:n.toDataUrl?await e5(y):await f(y),type:y.type})))},{deep:!0}),s.watch(()=>i.value,async B=>{const y=n.multiple?B:B[0];A("update:modelValue",y),n.multiple||A("update:src",B[0]&&B[0].src)},{deep:!0});function u(B){r.value.splice(B,1),(!i.value||!i.value.length)&&A("update:src","")}async function f(B){const y=new FormData;y.append("file",B),o.value=!0;const b=await(n.customFetch||GG)(n.endpoint,{method:"POST",...n.customFetch?{}:{headers:{Accept:"application/json",...n.authToken?{Authorization:`Bearer ${n.authToken}`}:{}}},body:y}).catch(k=>{console.error("Error",k)});return o.value=!1,`${n.baseResponsePath==="/media"&&b.path.endsWith(".svg")?"/api/v1/assets":n.baseResponsePath}/${b.path}`}function h(B){B.preventDefault(),a.value=!0}function p(B){B.preventDefault(),a.value=!1}function g(B){B.preventDefault(),a.value=!1;const y=B.dataTransfer,C=y&&Array.from(y.files||[]);r.value=C||[]}return s.onMounted(()=>{n.dropFiles&&(["dragenter","dragover"].forEach(B=>{document.body.addEventListener(B,h,!1)}),["dragleave","drop"].forEach(B=>{document.body.addEventListener(B,p,!1)}),document.body.addEventListener("drop",g,!1))}),s.onBeforeUnmount(()=>{n.dropFiles&&(["dragenter","dragover"].forEach(B=>{document.body.removeEventListener(B,h,!1)}),["dragleave","drop"].forEach(B=>{document.body.removeEventListener(B,p,!1)}),document.body.removeEventListener("drop",g,!1))}),(B,y)=>{const C=s.resolveComponent("svg-icon"),b=s.resolveComponent("input-file");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["file-upload",{"has-dragging":t.dropFiles,"is-dragging":a.value}])},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.value,(F,k)=>(s.openBlock(),s.createElementBlock("div",{key:F.src,class:s.normalizeClass(t.enablePreview?"file-upload__thumbnail":"file-upload__reset")},[t.enablePreview?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("img",{src:`${F.src}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail rounded"},null,8,YG),s.createElementVNode("button",{onClick:s.withModifiers(v=>u(k),["prevent"]),class:"btn btn--close"},[s.createVNode(C,{symbol:"x"})],8,zG)],64)):(s.openBlock(),s.createElementBlock("button",{key:1,onClick:s.withModifiers(v=>u(k),["prevent"]),class:"btn btn--close btn-outline-dark"},[s.createVNode(C,{symbol:"x"})],8,JG))],2))),128)),s.createVNode(b,{modelValue:r.value,"onUpdate:modelValue":y[0]||(y[0]=F=>r.value=F),id:t.id,name:t.name,accept:t.accept,class:"d-none"},null,8,["modelValue","id","name","accept"]),s.createElementVNode("label",{for:t.id,class:"file-upload__label"},[s.renderSlot(B.$slots,"button",{},()=>[s.createElementVNode("span",{class:"btn btn-outline-dark",innerHTML:t.label},null,8,XG)]),s.createVNode(s.Transition,{name:"fade"},{default:s.withCtx(()=>[o.value?(s.openBlock(),s.createElementBlock("span",qG,ZG)):s.createCommentVNode("",!0)]),_:1})],8,jG)],2)}}}),Rce="",n5={class:"upload-group"},A5=["innerHTML"],r5={class:"upload-group__list"},i5={class:"img-container"},o5=["src"],s5=["onClick"],a5={role:"button",class:"img-thumbnail d-flex justify-content-center align-items-center"},tk=s.defineComponent({__name:"upload-group",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Ft()},id:{type:String,default:()=>Ft()},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""},customFetch:null,baseResponsePath:{type:String,default:"/media"},previewWidth:{type:Number,default:0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,A=e,r=s.ref(""),i=s.computed({get(){return n.modelValue},set(a){A("update:modelValue",a)}});function o(a){i.value.splice(a,1),A("update:modelValue",i.value)}return s.watch(r,(a,l)=>{a&&(A("update:modelValue",[...i.value,a]),r.value="")}),(a,l)=>{const u=s.resolveComponent("svg-icon"),f=s.resolveComponent("file-upload"),h=s.resolveComponent("sortable-list");return s.openBlock(),s.createElementBlock("div",n5,[t.label?(s.openBlock(),s.createElementBlock("label",{key:0,innerHTML:t.label},null,8,A5)):s.createCommentVNode("",!0),s.createElementVNode("div",r5,[s.createVNode(h,{modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=p=>i.value=p),vertical:!1,class:"mb-3"},{"list-item":s.withCtx(({item:p,index:g})=>[s.createElementVNode("div",i5,[s.createElementVNode("img",{src:`${p}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail"},null,8,o5),s.createElementVNode("button",{onClick:s.withModifiers(B=>o(g),["prevent"]),class:"btn btn--close"},[s.createVNode(u,{symbol:"x"})],8,s5)])]),"list-append":s.withCtx(()=>[s.createVNode(f,{src:r.value,"onUpdate:src":l[0]||(l[0]=p=>r.value=p),multiple:!1,endpoint:t.endpoint,"custom-fetch":t.customFetch,"to-data-url":!t.endpoint,"auth-token":t.authToken,disabled:t.disabled,"base-response-path":t.baseResponsePath},{button:s.withCtx(()=>[s.createElementVNode("span",a5,[s.createVNode(u,{symbol:"plus"})])]),_:1},8,["src","endpoint","custom-fetch","to-data-url","auth-token","disabled","base-response-path"])]),_:1},8,["modelValue"])])])}}}),Pce="",l5={class:"asset-uploader"},c5=["innerHTML"],u5=s.defineComponent({__name:"asset-uploader",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Ft()},id:{type:String,default:()=>Ft()},type:{type:String,default:""},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""},customFetch:null,mediaTypeMap:{type:Object,default:()=>({svg:"Svg",png:"Image",jpg:"Image"})},baseResponsePath:{type:String,default:"/media"},previewWidth:{type:Number,default:0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,A=e,r=s.computed({get(){return n.modelValue.map(i=>i.src)},set(i){A("update:modelValue",i.map((o,a)=>({mediaType:n.modelValue[a]&&n.modelValue[a].mediaType||o.includes("data:image")?o.includes("data:image/svg")?"Svg":"Image":n.mediaTypeMap[o.split(".")[1]],src:o,name:n.modelValue[a]&&n.modelValue[a].name||`${n.name}-${a}`,...n.type?{type:n.type}:{}})))}});return(i,o)=>(s.openBlock(),s.createElementBlock("div",l5,[t.label?(s.openBlock(),s.createElementBlock("label",{key:0,innerHTML:t.label},null,8,c5)):s.createCommentVNode("",!0),s.createVNode(tk,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=a=>r.value=a),endpoint:t.endpoint,"custom-fetch":t.customFetch,"auth-token":t.authToken,disabled:t.disabled,"preview-width":t.previewWidth,"base-response-path":t.baseResponsePath},null,8,["modelValue","endpoint","custom-fetch","auth-token","disabled","preview-width","base-response-path"])]))}}),Vce="",d5={class:"carousel d-flex"},f5=["onClick"],nk=s.defineComponent({__name:"base-carousel",props:{modelValue:{type:Number,default:-1},config:{type:Object,default:null},messages:{type:Object,default:{}},items:{type:Array,default:[]},navigation:{type:Boolean,default:!0}},emits:["update:modelValue","select"],setup(t,{emit:e}){const n=e,A=s.ref(),r=s.ref();function i(){A.value.scrollTo({top:0,left:A.value.scrollLeft-A.value.clientWidth>0?A.value.scrollLeft-A.value.clientWidth:0,behavior:"smooth"})}function o(){console.log(A.value.clientWidth,A.value.scrollLeft),A.value.scrollTo({top:0,left:A.value.scrollLeft-A.value.clientWidth<=r.value.clientWidth?A.value.scrollLeft+A.value.clientWidth:r.value.clientWidth,behavior:"smooth"})}function a(l){n("update:modelValue",l)}return(l,u)=>{const f=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",d5,[t.navigation?(s.openBlock(),s.createElementBlock("button",{key:0,class:"carousel__control btn btn-link text-light",type:"button",onClick:s.withModifiers(i,["prevent","stop"])},[s.createVNode(f,{symbol:"chevron-left"})])):s.createCommentVNode("",!0),s.createElementVNode("div",{ref_key:"viewport",ref:A,class:"carousel__viewport flex-grow-1"},[s.createElementVNode("div",{ref_key:"track",ref:r,class:"carousel__track d-flex justify-center align-items-center"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.items,(h,p)=>s.renderSlot(l.$slots,"carousel-item",{key:h.src,item:h,index:p},()=>[s.createElementVNode("div",{class:s.normalizeClass(["carousel__item",p===t.modelValue?"selected":""]),onClick:g=>a(p)},s.toDisplayString(h),11,f5)])),128))],512)],512),t.navigation?(s.openBlock(),s.createElementBlock("button",{key:1,class:"carousel__control btn btn-link text-light",type:"button",onClick:s.withModifiers(o,["prevent","stop"])},[s.createVNode(f,{symbol:"chevron-right"})])):s.createCommentVNode("",!0)])}}}),$ce="",h5={class:"media-thumbnails"},p5=["onClick"],m5={class:"img-container"},g5=s.defineComponent({__name:"media-thumbnails",props:{modelValue:{default:null},config:{type:Object,default:null},messages:{type:Object,default:{}},assets:{type:Array,default:[]}},emits:["update:modelValue","select"],setup(t,{emit:e}){const n=e,A=s.ref(-1);function r(i){A.value=i,n("update:modelValue",i),n("select",i)}return(i,o)=>{const a=s.resolveComponent("base-image");return s.openBlock(),s.createElementBlock("div",h5,[s.createVNode(nk,{items:t.assets},{"carousel-item":s.withCtx(l=>[s.createElementVNode("a",{role:"button",class:s.normalizeClass(["carousel__item media-thumbnails__thumbnail",l.index===t.modelValue||l.index===A.value?"is-active":""]),onClick:u=>r(l.index)},[s.createElementVNode("div",m5,[s.createVNode(a,{src:l.item.thumbnail||l.item.src,class:"img-fluid"},null,8,["src"])])],10,p5)]),_:1},8,["items"])])}}}),Kce="",B5={class:"progress-steps"},y5={class:"progress-steps__list"},w5={class:"progress-step"},C5=["checked","id","value","disabled","read-only","required","onChange"],b5=["for"],v5=["innerHTML"],E5=["for"],k5=["innerHTML"],S5=s.defineComponent({__name:"progress-steps",props:{modelValue:{type:Number,default:0},progress:{type:Number,default:0},steps:{type:Array},label:{type:String,default:""},reveal:{type:Boolean,default:!1}},emits:["update:modelValue","update:progress"],setup(t,{emit:e}){const n=t,A=e;function r(i){A("update:modelValue",i),i>=n.progress&&A("update:progress",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",B5,[s.createElementVNode("ul",y5,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.steps,(a,l)=>(s.openBlock(),s.createElementBlock("li",{key:l,class:s.normalizeClass(["progress-steps__step",{"progress-steps__step--disabled":l>t.progress+(t.reveal?1:0),"progress-steps__step--active":l===(t.modelValue||0)}])},[s.renderSlot(i.$slots,"step",{},()=>[s.createElementVNode("div",w5,[s.createElementVNode("input",{type:"radio",checked:l<=(t.progress||0),id:`step-${l}`,name:"step",class:"form-check-input",value:a.value,disabled:a.disabled||l>t.progress+(t.reveal?1:0),"read-only":a.readOnly,required:a.required,onChange:u=>r(l)},null,40,C5),s.createElementVNode("label",{for:`step-${l}`},[s.renderSlot(i.$slots,"button",{step:a},()=>[s.createElementVNode("span",{class:"btn rounded-circle",innerHTML:a.text},null,8,v5)])],8,b5),s.createElementVNode("label",{for:`step-${l}`},[s.renderSlot(i.$slots,"label",{step:a},()=>[s.createElementVNode("span",{class:"form-check-label",innerHTML:a.label},null,8,k5)])],8,E5)])])],2))),128))])]))}}),Wce="";/*!
|
|
170
170
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
171
171
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
172
172
|
* Released under MIT License
|
|
@@ -203,4 +203,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
203
203
|
--pa-value-align-self: var(${t}-align-self);
|
|
204
204
|
}
|
|
205
205
|
`.replaceAll(`
|
|
206
|
-
`,"")}const xee=["normal","most-width","most-height","most-block-size","most-inline-size"],Oee=["flip-block","flip-inline","flip-start"];function Dee(t){return t.type==="Declaration"}function Lee(t){return t.type==="Declaration"&&t.property==="position-try-fallbacks"}function Mee(t){return t.type==="Declaration"&&t.property==="position-try-order"}function Nee(t){return t.type==="Declaration"&&t.property==="position-try"}function Hee(t){return t.type==="Atrule"&&t.name==="position-try"}function Ree(t){return Oee.includes(t)}function Pee(t){return xee.includes(t)}function Vee(t,e){const n=document.querySelector(t);if(n){let A=Kee(n);return e.forEach(r=>{A=xT(A,r)}),A}}function $ee(t,e){let n=t.declarations;return e.forEach(A=>{n=xT(n,A)}),n}function Kee(t){const e={};return jU.forEach(n=>{const A=yr(t,`--${n}-${mT}`);A&&(e[n]=A)}),e}const Wee={"flip-block":{top:"bottom",bottom:"top","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","margin-top":"margin-bottom","margin-bottom":"margin-top"},"flip-inline":{left:"right",right:"left","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","margin-left":"margin-right","margin-right":"margin-left"},"flip-start":{left:"top",right:"bottom",top:"left",bottom:"right","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","inset-block":"inset-inline","inset-inline":"inset-block"}},Gee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-inline":{left:"right",right:"left",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-start":{top:"left",left:"top",right:"bottom",bottom:"right"}},Yee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start"},"flip-inline":{left:"right",right:"left",start:"end",end:"start"},"flip-start":{}};function zee(t,e){return Wee[e][t]||t}function Jee(t,e){return Gee[e][t]||t}function jee(t,e){if(e==="flip-start")return t;{const n=Yee[e];return t.split("-").map(A=>n[A]||A).join("-")}}function Xee(t,e,n){if(t==="margin"){const[A,r,i,o]=e.children.toArray();n==="flip-block"?o?e.children.fromArray([i,r,A,o]):i&&e.children.fromArray([i,r,A]):n==="flip-inline"&&o&&e.children.fromArray([A,o,i,r])}else if(t==="margin-block"){const[A,r]=e.children.toArray();n==="flip-block"&&r&&e.children.fromArray([r,A])}else if(t==="margin-inline"){const[A,r]=e.children.toArray();n==="flip-inline"&&r&&e.children.fromArray([r,A])}}const qee=(t,e)=>{var n;return((n=Go(`#id{${t}: ${e};}`).children.first)==null?void 0:n.block.children.first).value};function xT(t,e){const n={};return Object.entries(t).forEach(([A,r])=>{const i=A,o=qee(i,r),a=zee(i,e);a!==i&&(n[i]!=null||(n[i]="revert")),Wo(o,{visit:"Function",enter(l){dh(l)&&l.children.forEach(u=>{Yc(u)&&qU(u.name)&&(u.name=Jee(u.name,e))})}}),i==="position-area"&&o.children.forEach(l=>{Yc(l)&&ST(l.name)&&(l.name=jee(l.name,e))}),i.startsWith("margin")&&Xee(i,o,e),n[a]=LA(o)}),n}function OT(t){const e=zZ(t),n=[];return e.forEach(A=>{const r={atRules:[],tactics:[],positionAreas:[]};A.forEach(i=>{Ree(i.name)?r.tactics.push(i.name):i.name.startsWith("--")?r.atRules.push(i.name):ST(i.name)&&r.positionAreas.push(i.name)}),r.positionAreas.length?n.push({positionArea:r.positionAreas[0],type:"position-area"}):r.atRules.length&&r.tactics.length?n.push({tactics:r.tactics,atRule:r.atRules[0],type:"at-rule-with-try-tactic"}):r.atRules.length?n.push({atRule:r.atRules[0],type:"at-rule"}):r.tactics.length&&n.push({tactics:r.tactics,type:"try-tactic"})}),n}function Zee(t){return Lee(t)&&t.value.children.first?OT(t.value.children):[]}function ete(t){if(Nee(t)&&t.value.children.first){const e=uh(t);let n;const A=e.value.children.first.name;A&&Pee(A)&&(n=A,e.value.children.shift());const r=OT(e.value.children);return{order:n,options:r}}return{}}function tte(t){return Mee(t)&&t.value.children.first?{order:t.value.children.first.name}:{}}function nte(t){const{order:e,options:n}=ete(t);if(e||n)return{order:e,options:n};const{order:A}=tte(t),r=Zee(t);return A||r?{order:A,options:r}:{}}function Ate(t){return Wc(t.property)||D9(t.property)||zU(t.property)||L9(t.property)||["position-anchor","position-area"].includes(t.property)}function rte(t){var e,n;if(Hee(t)&&(e=t.prelude)!=null&&e.value&&(n=t.block)!=null&&n.children){const A=t.prelude.value,r=t.block.children.filter(o=>Dee(o)&&Ate(o)),i={uuid:`${A}-try-${Wr(12)}`,declarations:Object.fromEntries(r.map(o=>[o.property,LA(o.value)]))};return{name:A,tryBlock:i}}return{}}function ite(t){const e={},n={},A={};for(const r of t){const i=Go(r.css);Wo(i,{visit:"Atrule",enter(o){const{name:a,tryBlock:l}=rte(o);a&&l&&(e[a]=l)}})}for(const r of t){let i=!1;const o=new Set,a=Go(r.css);Wo(a,{visit:"Declaration",enter(l){var u;const f=(u=this.rule)==null?void 0:u.prelude,h=Sy(f);if(!h.length)return;const{order:p,options:g}=nte(l),B={};p&&(B.order=p),h.forEach(({selector:y})=>{var C;g==null||g.forEach(b=>{var F;let k;if(b.type==="at-rule")k=b.atRule;else if(b.type==="try-tactic"){k=`${y}-${b.tactics.join("-")}`;const v=Vee(y,b.tactics);v&&(e[k]={uuid:`${y}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:v})}else if(b.type==="at-rule-with-try-tactic"){k=`${y}-${b.atRule}-${b.tactics.join("-")}`;const v=e[b.atRule],U=$ee(v,b.tactics);U&&(e[k]={uuid:`${y}-${b.atRule}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:U})}if(k&&e[k]){const v=`[data-anchor-polyfill="${e[k].uuid}"]`;n[v]!=null||(n[v]=[]),n[v].push(y),o.has(k)||(B.fallbacks!=null||(B.fallbacks=[]),B.fallbacks.push(e[k]),o.add(k),(F=this.stylesheet)==null||F.children.prependData({type:"Rule",prelude:{type:"Raw",value:v},block:{type:"Block",children:new vA().fromArray(Object.entries(e[k].declarations).map(([U,E])=>({type:"Declaration",important:!0,property:U,value:{type:"Raw",value:E}})))}}),i=!0)}}),Object.keys(B).length>0&&(A[y]?(B.order&&(A[y].order=B.order),B.fallbacks&&((C=A[y]).fallbacks!=null||(C.fallbacks=[]),A[y].fallbacks.push(...B.fallbacks))):A[y]=B)})}}),i&&(r.css=LA(a),r.changed=!0)}return{fallbackTargets:n,validPositions:A}}function ote(t,e){return!t||t===e?!1:DT(t)?t.document.contains(e):t.contains(e)}function DT(t){return!!(t&&t===t.window)}function ste(t){return ol(t,"position","fixed")}function Iy(t){return!!(t&&(ste(t)||ol(t,"position","absolute")))}function LT(t,e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING}function ate(t){return Jt(this,null,function*(){return yield JA.getOffsetParent(t)})}function _y(t){return Jt(this,null,function*(){if(!["absolute","fixed"].includes(yr(t,"position")))return yield ate(t);let e=t.parentElement;for(;e;){if(!ol(e,"position","static")&&ol(e,"display","block"))return e;e=e.parentElement}return window})}function lte(t,e,n,A){return Jt(this,null,function*(){const r=yield _y(t),i=yield _y(n);if(!(ote(i,t)||DT(i))||r===i&&!(!Iy(t)||LT(t,n)))return!1;if(r!==i){let o;const a=[];for(o=r;o&&o!==i&&o!==window;)a.push(o),o=yield _y(o);const l=a[a.length-1];if(l instanceof HTMLElement&&!(!Iy(l)||LT(l,n)))return!1}{let o=t.parentElement;for(;o;){if(ol(o,"content-visibility","hidden"))return!1;o=o.parentElement}}return!(e&&A&&MT(t,e,A)!==MT(n,e,A))})}function MT(t,e,n){for(;!(t.matches(n)&&ree(t,e));){if(!t.parentElement)return null;t=t.parentElement}return t}function cte(t,e,n,A){return Jt(this,null,function*(){if(!(t instanceof HTMLElement&&n.length&&Iy(t)))return null;const r=n.flatMap(nee).filter(o=>Aee(o,e)),i=A.map(o=>o.selector).join(",")||null;for(let o=r.length-1;o>=0;o--){const a=r[o],l="fakePseudoElement"in a;if(yield lte(l?a.fakePseudoElement:a,e,t,i))return l&&a.removeFakePseudoElement(),a}return null})}function ute(t){return t.type==="Declaration"&&t.property==="anchor-name"}function dte(t){return t.type==="Declaration"&&t.property==="anchor-scope"}function xy(t){return!!(t&&t.type==="Function"&&t.name==="anchor-size")}function fh(t){return!!(t&&t.type==="Function"&&t.name==="var")}function Yc(t){return!!(t.type==="Identifier"&&t.name)}function fte(t){return!!(t.type==="Percentage"&&t.value)}function NT(t,e){let n,A,r,i="",o=!1,a;const l=[];t.children.toArray().forEach(p=>{if(o){i=`${i}${LA(p)}`;return}if(p.type==="Operator"&&p.value===","){o=!0;return}l.push(p)});let[u,f]=l;if(f||(f=u,u=void 0),u&&(Yc(u)&&u.name.startsWith("--")?n=u.name:fh(u)&&u.children.first&&(a=u.children.first.name)),f)if(dh(t)){if(Yc(f)&&qU(f.name))A=f.name;else if(fte(f)){const p=Number(f.value);A=Number.isNaN(p)?void 0:p}}else xy(t)&&Yc(f)&&R9(f.name)&&(r=f.name);const h=`--anchor-${Wr(12)}`;return Object.assign(t,{type:"Raw",value:`var(${h})`,children:null}),Reflect.deleteProperty(t,"name"),{anchorName:n,anchorSide:A,anchorSize:r,fallbackValue:i||"0px",customPropName:a,uuid:h}}function HT(t){return t.value.children.map(({name:e})=>e)}let zc={},Vs={},$s={},Jc={},Ks={};function hte(){zc={},Vs={},$s={},Jc={},Ks={}}function pte(t,e){var n;if((dh(t)||xy(t))&&e){if(e.property.startsWith("--")){const A=LA(e.value),r=NT(t);return Jc[r.uuid]=A,$s[e.property]=[...(n=$s[e.property])!=null?n:[],r],{changed:!0}}if(dh(t)&&Wc(e.property)||xy(t)&&XU(e.property)){const A=NT(t);return{prop:e.property,data:A,changed:!0}}}return{}}function RT(t,e){return Jt(this,null,function*(){let n=e==null?void 0:e.anchorName;const A=e==null?void 0:e.customPropName;if(t&&!n){const a=yr(t,"position-anchor");a?n=a:A&&(n=yr(t,A))}const r=n?zc[n]||[]:[],i=n?Vs[gT.All]||[]:[],o=n?Vs[n]||[]:[];return yield cte(t,n||null,r,[...i,...o])})}function mte(t){return Jt(this,null,function*(){var e,n,A,r,i,o,a,l,u,f,h;const p={},g={};hte();const{fallbackTargets:B,validPositions:y}=ite(t);for(const U of t){let E=!1;const I=Go(U.css);Wo(I,function(O){var x,H,ie,re;const ce=(x=this.rule)==null?void 0:x.prelude,R=Sy(ce);if(ute(O)&&R.length)for(const Y of HT(O))zc[Y]!=null||(zc[Y]=[]),zc[Y].push(...R);if(dte(O)&&R.length)for(const Y of HT(O))Vs[Y]!=null||(Vs[Y]=[]),Vs[Y].push(...R);const{prop:W,data:$,changed:te}=pte(O,this.declaration);if(W&&$&&R.length)for(const{selector:Y}of R)p[Y]=OA(Vn({},p[Y]),{[W]:[...(ie=(H=p[Y])==null?void 0:H[W])!=null?ie:[],$]});let ee;if(this.block&&(ee=Qee(O),ee)){Uee(ee,this.block);for(const{selector:Y}of R)g[Y]=[...(re=g[Y])!=null?re:[],ee]}(te||ee)&&(E=!0)}),E&&(U.css=LA(I),U.changed=!0)}const C=new Set(Object.keys($s)),b={},F=U=>{var E,I,O,x,H;const ie=[],re=new Set((I=(E=b[U])==null?void 0:E.names)!=null?I:[]);for(;re.size>0;)for(const ce of re)ie.push(...(O=$s[ce])!=null?O:[]),re.delete(ce),(H=(x=b[ce])==null?void 0:x.names)!=null&&H.length&&b[ce].names.forEach(R=>re.add(R));return ie};for(;C.size>0;){const U=[];for(const E of t){let I=!1;const O=Go(E.css);Wo(O,{visit:"Function",enter(x){var H,ie;const re=(H=this.rule)==null?void 0:H.prelude,ce=this.declaration,R=ce==null?void 0:ce.property;if((re==null?void 0:re.children.isEmpty)===!1&&fh(x)&&ce&&R&&x.children.first&&C.has(x.children.first.name)&&R.startsWith("--")){const W=x.children.first,$=(ie=$s[W.name])!=null?ie:[],te=F(W.name);if(!($.length||te.length))return;const ee=`${W.name}-anchor-${Wr(12)}`,Y=LA(ce.value);Jc[ee]=Y,b[R]||(b[R]={names:[],uuids:[]});const he=b[R];he.names.includes(W.name)||he.names.push(W.name),he.uuids.push(ee),U.push(R),W.name=ee,I=!0}}}),I&&(E.css=LA(O),E.changed=!0)}C.clear(),U.forEach(E=>C.add(E))}for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re,ce,R,W;const $=(x=this.rule)==null?void 0:x.prelude,te=this.declaration,ee=te==null?void 0:te.property;if(($==null?void 0:$.children.isEmpty)===!1&&fh(O)&&te&&ee&&O.children.first&&(Wc(ee)||zU(ee))){const Y=O.children.first,he=(H=$s[Y.name])!=null?H:[],Z=F(Y.name);if(!(he.length||Z.length))return;const Ce=`${ee}-${Wr(12)}`;if(Z.length){const J=new Set([Y.name]);for(;J.size>0;)for(const Ae of J){const oe=b[Ae];if((ie=oe==null?void 0:oe.names)!=null&&ie.length&&(re=oe==null?void 0:oe.uuids)!=null&&re.length)for(const Q of oe.names)for(const q of oe.uuids)Ks[q]=OA(Vn({},Ks[q]),{[Ce]:`${Q}-${Ce}`});J.delete(Ae),(ce=oe==null?void 0:oe.names)!=null&&ce.length&&oe.names.forEach(Q=>J.add(Q))}}const V=Sy($);for(const J of[...he,...Z]){const Ae=Vn({},J),oe=`--anchor-${Wr(12)}-${ee}`,Q=Ae.uuid;Ae.uuid=oe;for(const{selector:q}of V)p[q]=OA(Vn({},p[q]),{[ee]:[...(W=(R=p[q])==null?void 0:R[ee])!=null?W:[],Ae]});Ks[Q]=OA(Vn({},Ks[Q]),{[Ce]:oe})}Y.name=`${Y.name}-${Ce}`,E=!0}}}),E&&(U.css=LA(I),U.changed=!0)}if(Object.keys(Ks).length>0)for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re;if(fh(O)&&(H=(x=O.children.first)==null?void 0:x.name)!=null&&H.startsWith("--")&&(re=(ie=this.declaration)==null?void 0:ie.property)!=null&&re.startsWith("--")&&this.block){const ce=O.children.first,R=Ks[ce.name];if(R)for(const[W,$]of Object.entries(R))this.block.children.appendData({type:"Declaration",important:!1,property:`${this.declaration.property}-${W}`,value:{type:"Raw",value:LA(this.declaration.value).replace(`var(${ce.name})`,`var(${$})`)}}),E=!0;Jc[ce.name]&&(this.declaration.value={type:"Raw",value:Jc[ce.name]},E=!0)}}}),E&&(U.css=LA(I),U.changed=!0)}const k=new Map;for(const[U,E]of Object.entries(p)){let I;U.startsWith("[data-anchor-polyfill=")&&(e=B[U])!=null&&e.length?I=document.querySelectorAll(B[U].join(",")):I=document.querySelectorAll(U);for(const[O,x]of Object.entries(E))for(const H of x)for(const ie of I){const re=yield RT(ie,H),ce=`--anchor-${Wr(12)}`;k.set(ie,OA(Vn({},(n=k.get(ie))!=null?n:{}),{[H.uuid]:ce})),ie.setAttribute("style",`${H.uuid}: var(${ce}); ${(A=ie.getAttribute("style"))!=null?A:""}`),y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(r=y[U])==null?void 0:r.declarations),{[O]:[...(a=(o=(i=y[U])==null?void 0:i.declarations)==null?void 0:o[O])!=null?a:[],OA(Vn({},H),{anchorEl:re,targetEl:ie,uuid:ce})]})})}}const v={el:document.createElement("link"),changed:!1,created:!0,css:""};t.push(v);for(const[U,E]of Object.entries(g)){const I=document.querySelectorAll(U);for(const O of I){const x=yield RT(O);for(const H of E){const ie=yield Iee(O,H,x);v.css+=_ee(ie.targetUUID,H.selectorUUID),v.changed=!0,y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(l=y[U])==null?void 0:l.declarations),{"position-area":[...(h=(f=(u=y[U])==null?void 0:u.declarations)==null?void 0:f["position-area"])!=null?h:[],ie]})})}}}return{rules:y,inlineStyles:k,anchorScopes:Vs}})}const gte=["as","blocking","crossorigin","disabled","fetchpriority","href","hreflang","integrity","referrerpolicy","rel","type"];function PT(t,e,n=!1){const A=[];for(const{el:r,css:i,changed:o,created:a=!1}of t){const l={el:r,css:i,changed:!1};if(o){if(r.tagName.toLowerCase()==="style")r.innerHTML=i;else if(r instanceof HTMLLinkElement){const u=document.createElement("style");u.textContent=i;for(const f of r.getAttributeNames())if(!f.startsWith("on")&&!gte.includes(f)){const h=r.getAttribute(f);h!==null&&u.setAttribute(f,h)}r.hasAttribute("href")&&u.setAttribute("data-original-href",r.getAttribute("href")),a?(u.setAttribute("data-generated-by-polyfill","true"),document.head.insertAdjacentElement("beforeend",u)):(r.insertAdjacentElement("beforebegin",u),r.remove()),l.el=u}else if(r.hasAttribute("data-has-inline-styles")){const u=r.getAttribute("data-has-inline-styles");if(u){const f=`[data-has-inline-styles="${u}"]{`;let h=i.slice(f.length,0-1);const p=e==null?void 0:e.get(r);if(p)for(const[g,B]of Object.entries(p))h=`${g}: var(${B}); ${h}`;r.setAttribute("style",h)}}}n&&r.hasAttribute("data-has-inline-styles")&&r.removeAttribute("data-has-inline-styles"),A.push(l)}return A}const Bte=OA(Vn({},JA),{_c:new Map}),yte=(t,e)=>{let n;switch(t){case"start":case"self-start":n=0;break;case"end":case"self-end":n=100;break;default:typeof t=="number"&&!Number.isNaN(t)&&(n=t)}if(n!==void 0)return e?100-n:n},wte=(t,e)=>{let n;switch(t){case"block":case"self-block":n=e?"width":"height";break;case"inline":case"self-inline":n=e?"height":"width";break}return n},VT=t=>{switch(t){case"top":case"bottom":return"y";case"left":case"right":return"x"}return null},Cte=t=>{switch(t){case"x":return"width";case"y":return"height"}return null},$T=t=>yr(t,"display")==="inline",KT=(t,e)=>(e==="x"?["border-left-width","border-right-width"]:["border-top-width","border-bottom-width"]).reduce((n,A)=>n+parseInt(yr(t,A),10),0)||0,hh=(t,e)=>parseInt(yr(t,`margin-${e}`),10)||0,bte=t=>({top:hh(t,"top"),right:hh(t,"right"),bottom:hh(t,"bottom"),left:hh(t,"left")}),Oy=t=>Jt(null,[t],function*({targetEl:e,targetProperty:n,anchorRect:A,anchorSide:r,anchorSize:i,fallback:o=null}){var a;if(!((i||r!==void 0)&&e&&A))return o;if(i){if(!XU(n))return o;let l;switch(i){case"width":case"height":l=i;break;default:{let u=!1;const f=yr(e,"writing-mode");u=f.startsWith("vertical-")||f.startsWith("sideways-"),l=wte(i,u)}}return l?`${A[l]}px`:o}if(r!==void 0){let l,u;const f=VT(n);if(!(Wc(n)&&f&&(!Wc(r)||f===VT(r))))return o;const h=["top","left"];switch(r){case"left":case"top":l=0;break;case"right":case"bottom":l=100;break;case"center":l=50;break;case"inside":l=h.includes(n)?0:100;break;case"outside":l=h.includes(n)?100:0;break;default:if(e){const B=(yield(a=JA.isRTL)==null?void 0:a.call(JA,e))||!1;l=yte(r,B)}}const p=typeof l=="number"&&!Number.isNaN(l),g=Cte(f);if(p&&g){(n==="bottom"||n==="right")&&(u=yield Qy(e));let B=A[f]+A[g]*(l/100);switch(n){case"bottom":{if(!u)break;let y=u.clientHeight;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetHeight-C}B=y-B;break}case"right":{if(!u)break;let y=u.clientWidth;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetWidth-C}B=y-B;break}}return`${B}px`}}return o}),vte=t=>"wrapperEl"in t,Ete=t=>"uuid"in t;function kte(t,e=!1){return Jt(this,null,function*(){const n=document.documentElement;for(const[A,r]of Object.entries(t))for(const i of r){const o=i.anchorEl,a=i.targetEl;if(o&&a)if(vte(i)){const l=i.wrapperEl,u=(f,h,p)=>Jt(null,null,function*(){return f===0?"0px":yield Oy({targetEl:l,targetProperty:h,anchorRect:p,anchorSide:f})});qB(o,l,()=>Jt(null,null,function*(){const f=yr(a,bT);l.setAttribute(vT,f);const h=yield JA.getElementRects({reference:o,floating:l,strategy:"absolute"}),p=i.insets,g=yield u(p.block[0],"top",h.reference),B=yield u(p.block[1],"bottom",h.reference),y=yield u(p.inline[0],"left",h.reference),C=yield u(p.inline[1],"right",h.reference);n.style.setProperty(`${i.targetUUID}-top`,g||null),n.style.setProperty(`${i.targetUUID}-left`,y||null),n.style.setProperty(`${i.targetUUID}-right`,C||null),n.style.setProperty(`${i.targetUUID}-bottom`,B||null),n.style.setProperty(`${i.targetUUID}-justify-self`,i.alignments.inline),n.style.setProperty(`${i.targetUUID}-align-self`,i.alignments.block)}),{animationFrame:e})}else qB(o,a,()=>Jt(null,null,function*(){const l=yield JA.getElementRects({reference:o,floating:a,strategy:"absolute"}),u=yield Oy({targetEl:a,targetProperty:A,anchorRect:l.reference,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,u)}),{animationFrame:e});else if(Ete(i)){const l=yield Oy({targetProperty:A,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,l)}}})}function WT(t,e){return Jt(this,null,function*(){const n=yield JA.getElementRects({reference:t,floating:t,strategy:"absolute"});return yield kj({x:t.offsetLeft,y:t.offsetTop,platform:Bte,rects:n,elements:{floating:t,reference:e},strategy:"absolute"},{padding:bte(t)})})}function Ste(t,e,n=!1){return Jt(this,null,function*(){if(!e.length)return;const A=document.querySelectorAll(t);for(const r of A){let i=!1;const o=yield Qy(r);qB({},r,()=>Jt(null,null,function*(){if(i)return;i=!0,r.removeAttribute("data-anchor-polyfill");const a=yield WT(r,o);if(Object.values(a).every(l=>l<=0)){r.removeAttribute("data-anchor-polyfill-last-successful"),i=!1;return}for(const[l,{uuid:u}]of e.entries()){r.setAttribute("data-anchor-polyfill",u);const f=yield WT(r,o);if(Object.values(f).every(h=>h<=0)){r.setAttribute("data-anchor-polyfill-last-successful",u),i=!1;break}if(l===e.length-1){const h=r.getAttribute("data-anchor-polyfill-last-successful");h?r.setAttribute("data-anchor-polyfill",h):r.removeAttribute("data-anchor-polyfill"),i=!1;break}}}),{animationFrame:n,layoutShift:!1})}})}function Fte(t,e=!1){return Jt(this,null,function*(){var n,A;for(const r of Object.values(t))yield kte((n=r.declarations)!=null?n:{},e);for(const[r,i]of Object.entries(t))yield Ste(r,(A=i.fallbacks)!=null?A:[],e)})}function Qte(t={}){const e=typeof t=="boolean"?{useAnimationFrame:t}:t,n=e.useAnimationFrame===void 0?!!window.UPDATE_ANCHOR_ON_ANIMATION_FRAME:e.useAnimationFrame;return Array.isArray(e.elements)||(e.elements=void 0),Object.assign(e,{useAnimationFrame:n})}function Ute(t){return Jt(this,null,function*(){const e=Qte(t??window.ANCHOR_POSITIONING_POLYFILL_OPTIONS);let n=yield lee(e.elements,e.excludeInlineStyles),A={},r;jZ();try{qZ(n)&&(n=PT(n));const i=yield mte(n);A=i.rules,r=i.inlineStyles}catch(i){throw JZ(),i}return Object.values(A).length&&(PT(n,r,!0),yield Fte(A,e.useAnimationFrame)),A})}const Tte={class:"popover-tooltip"},Ite=["popovertarget","disabled","aria-describedby","aria-label"],_te=s.createElementVNode("span",{class:"popover-tooltip__trigger"}," i ",-1),xte={class:"popover-tooltip__content d-flex flex-column"},Ote={key:0,class:"popover-tooltip__header d-flex p-3 border-bottom"},Dte=["innerHTML"],Lte={class:"popover-tooltip__body"},Mte=["innerHTML"],Nte={key:1,class:"popover-tooltip__footer d-flex p-3 border-top"},Hte=s.defineComponent({__name:"popover-tooltip",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-tooltip-${Math.random().toString(36).substr(2,9)}`},size:{type:String},exclusive:{type:Boolean,default:!0},header:{type:Boolean,default:!1},footer:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""},hover:{type:Boolean,default:!0},hoverDelay:{type:Number,default:400},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{emit:e}){const n=t,A=e,r=s.computed({get(){return n.modelValue},set(a){A("update:modelValue",a)}}),i=s.ref(),o=s.ref();return s.onMounted(()=>{"anchorName"in document.documentElement.style||Ute().then(a=>{console.log("Running polyfill",a)})}),(a,l)=>(s.openBlock(),s.createElementBlock("span",Tte,[s.createElementVNode("button",{type:"button",popovertarget:t.id,disabled:t.disabled,"aria-describedby":t.id,"aria-label":t.ariaLabel||a.$te("common.moreInfo")?a.$t("common.moreInfo"):void 0,ref_key:"trigger",ref:i},[s.renderSlot(a.$slots,"button",{},()=>[_te])],8,Ite),s.createVNode(KB,{id:t.id,modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=u=>r.value=u),hover:t.hover,"hover-delay":t.hoverDelay,ref_key:"dialog",ref:o,role:"tooltip",class:s.normalizeClass(t.size?`popover-tooltip--${t.size}`:"")},{default:s.withCtx(()=>[s.createElementVNode("div",xte,[t.header?(s.openBlock(),s.createElementBlock("div",Ote,[t.title?(s.openBlock(),s.createElementBlock("h5",{key:0,class:"popover-tooltip__title",innerHTML:t.title},null,8,Dte)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:l[0]||(l[0]=u=>r.value=!1)})])):s.createCommentVNode("",!0),s.createElementVNode("div",Lte,[s.renderSlot(a.$slots,"default",{},()=>[s.createElementVNode("span",{innerHTML:t.content},null,8,Mte)])]),t.footer?(s.openBlock(),s.createElementBlock("div",Nte,[s.renderSlot(a.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:l[1]||(l[1]=u=>r.value=!1)},s.toDisplayString(a.$t("common.close")),1)])):s.createCommentVNode("",!0)])]),_:3},8,["id","modelValue","hover","hover-delay","class"])]))}}),Yce="",Rte={class:"popover-notification__header d-flex justify-content-between mb-2"},Pte={class:"popover-notification__title"},Vte=["onClick"],$te=["innerHTML"],Kte=s.defineComponent({__name:"popover-notifications",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-notifications-${Math.random().toString(36).substr(2,9)}`},items:{type:Array,default:()=>[]},debounceItem:{type:Number,default:0},closeTimeout:{type:Number,default:8e3},collapsible:{type:Boolean,default:!0}},setup(t,{expose:e}){const n=t,A=s.ref([]),r=s.ref([]),i=s.ref(!1),o=s.computed(()=>n.collapsible&&A.value.length>3);function a(h,p){A.value=A.value.filter(g=>g.id!==h.id)}s.watch(()=>n.items,(h,p)=>{const g=h.filter(B=>!p.some(y=>y.id===B.id));r.value=[...r.value,...g]});function l(){setTimeout(()=>{console.log("Queueing item:",r.value);const h=r.value.shift();h&&A.value.push({...h,closeTimeout:n.closeTimeout,visible:!0}),r.value.length>0&&l()},A.value.length?n.debounceItem:0)}function u(h){o.value&&(h.preventDefault(),h.stopPropagation(),i.value=!i.value)}function f(h){console.log("Adding item:",h),r.value.push(h),l()}return s.onMounted(()=>{r.value=n.items,r.value.length>3&&(i.value=!0),l()}),e({addItem:f}),(h,p)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["popover-notifications",{"popover-notifications--collapsed":i.value}]),style:{anchorName:"--popover-notifications"}},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A.value,(g,B)=>(s.openBlock(),s.createBlock(KB,{key:g.id,id:g.id,"close-timeout":g.closeTimeout,type:"manual",class:"popover-notification",modelValue:g.visible,"onUpdate:modelValue":[y=>g.visible=y,y=>a(g)],onClick:u},{default:s.withCtx(()=>[s.renderSlot(h.$slots,"item",{item:g},()=>[s.createElementVNode("div",Rte,[s.createElementVNode("span",Pte,s.toDisplayString(g.title),1),s.createElementVNode("button",{type:"button",class:"btn btn-close p-0",onClick:s.withModifiers(y=>g.visible=!1,["stop"]),"aria-label":"Close notification"},null,8,Vte)]),s.createElementVNode("span",{innerHTML:g.content},null,8,$te)])]),_:2},1032,["id","close-timeout","modelValue","onUpdate:modelValue"]))),128))],2))}}),zce="",Wte={class:"link-sharing"},Gte={key:0,class:"link-sharing__links container"},Yte={class:"row"},zte={key:0,class:"col-12 col-md-6"},Jte=["href"],jte={class:"caption"},Xte={key:1,class:"col-12 col-md-6"},qte=["href"],Zte={class:"caption"},ene={key:2,class:"col-12 col-md-6"},tne={class:"caption"},nne={key:3,class:"col-12 col-md-6"},Ane=["href"],rne={class:"caption"},ine={key:4,class:"col-12 col-md-6"},one=["href"],sne={class:"caption"},ane={key:5,class:"col-12 col-md-6"},lne={class:"caption"},cne={key:6,class:"col-12 col-md-6"},une=["href"],dne={class:"caption"},fne={key:1,class:"link-sharing__instructions pt-5"},hne={class:"row"},pne={class:"col-12 text-center py-0"},mne={class:"mb-5"},gne=t=>t.replace(/<(?:.|\n)*?>/gm,""),Bne=s.defineComponent({__name:"link-sharing",props:{url:{type:String,default:""},subject:{type:String,default:""},hashtags:Array,text:{type:String,default:""},media:{type:String,default:""},services:{type:Object,default:{facebook:!0,instagram:!0,linkedin:!0,whatsapp:!0,mailto:!0,clipboard:!0,bluesky:!0}}},setup(t){const e=t,n=s.ref(!1),A=s.computed(()=>encodeURIComponent(e.url));s.computed(()=>encodeURIComponent(e.media));const r=s.computed(()=>gne(e.text)),i=s.computed(()=>!!(navigator&&navigator.userAgent&&/Mobi|Android/i.test(navigator.userAgent)));async function o(){const a=document.createElement("textarea");document.body.appendChild(a),a.value=e.url,a.select(),a.setSelectionRange(0,99999),navigator.clipboard.writeText(a.value),document.body.removeChild(a)}return(a,l)=>{const u=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",Wte,[n.value?(s.openBlock(),s.createElementBlock("div",fne,[s.createElementVNode("div",hne,[s.createElementVNode("div",pne,[s.createElementVNode("div",mne,[s.createElementVNode("p",null,s.toDisplayString(a.$t("sharing.instructions",{service:"Instagram"})),1),s.createElementVNode("p",null,[s.createElementVNode("strong",null,s.toDisplayString(t.hashtags),1)])])])])])):(s.openBlock(),s.createElementBlock("div",Gte,[s.createElementVNode("div",Yte,[t.services.facebook?(s.openBlock(),s.createElementBlock("div",zte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.facebook.com/sharer.php?u=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"facebook"}),s.createElementVNode("span",jte,s.toDisplayString(a.$t("sharing.facebook")),1)],8,Jte)])):s.createCommentVNode("",!0),t.services.bluesky?(s.openBlock(),s.createElementBlock("div",Xte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://bsky.app/intent/compose?text=${r.value}${r.value?"%20":""}${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"bluesky-logo"}),s.createElementVNode("span",Zte,s.toDisplayString(a.$t("sharing.bluesky")),1)],8,qte)])):s.createCommentVNode("",!0),t.services.instagram?(s.openBlock(),s.createElementBlock("div",ene,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:l[0]||(l[0]=s.withModifiers(f=>n.value=!n.value,["prevent"]))},[s.createVNode(u,{symbol:"instagram"}),s.createElementVNode("span",tne,s.toDisplayString(a.$t("sharing.instagram")),1)])])):s.createCommentVNode("",!0),t.services.linkedin?(s.openBlock(),s.createElementBlock("div",nne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.linkedin.com/shareArticle?mini=true&url=${A.value}&title=${t.subject}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"linkedin"}),s.createElementVNode("span",rne,s.toDisplayString(a.$t("sharing.linkedin")),1)],8,Ane)])):s.createCommentVNode("",!0),t.services.whatsapp&&i.value?(s.openBlock(),s.createElementBlock("div",ine,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`whatsapp://send?text=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"whatsapp"}),s.createElementVNode("span",sne,s.toDisplayString(a.$t("sharing.whatsapp")),1)],8,one)])):s.createCommentVNode("",!0),t.services.clipboard?(s.openBlock(),s.createElementBlock("div",ane,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:s.withModifiers(o,["prevent","stop"])},[s.createVNode(u,{symbol:"copy"}),s.createElementVNode("span",lne,s.toDisplayString(a.$t("sharing.clipboard")),1)])])):s.createCommentVNode("",!0),t.services.mailto?(s.openBlock(),s.createElementBlock("div",cne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`mailto:?subject=${t.subject}&body=${r.value}%0D%0A${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"mail"}),s.createElementVNode("span",dne,s.toDisplayString(a.$t("sharing.mailto")),1)],8,une)])):s.createCommentVNode("",!0)])]))])}}}),Jce="",yne={class:"base-form"},wne=s.defineComponent({__name:"base-form",props:{id:{},name:{},variant:{},disabled:{type:Boolean},pending:{type:Boolean}},setup(t){function e(r){console.log("input",r)}function n(r){console.log("reset",r)}function A(r){console.log("submit",r)}return(r,i)=>(s.openBlock(),s.createElementBlock("div",yne,[s.createElementVNode("form",{ref:"form",onInput:e,onReset:n,onSubmit:s.withModifiers(A,["prevent"])},[s.renderSlot(r.$slots,"default")],544)]))}}),jce="",Cne={class:"modal-dialog__content d-flex flex-column"},bne={class:"modal-dialog__header d-flex p-3 border-bottom"},vne={key:0,class:"modal-dialog__title",id:"exampleModalLabel"},Ene={class:"modal-dialog__body"},kne={key:0,class:"modal-dialog__footer d-flex p-3 border-top"},Sne=s.defineComponent({__name:"modal-dialog",props:{modelValue:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},size:{type:String,default:"md"},dismiss:{type:Boolean,default:!0},title:{type:String,default:""},footer:{type:Boolean,default:!0},classes:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{expose:e,emit:n}){const A=t,r=n,i=s.ref();function o(){var p,g;document.documentElement.style.setProperty("--scroll-position",`${Math.round(document.documentElement.scrollTop)}px`),A.modal?(p=i.value)==null||p.showModal():(g=i.value)==null||g.show(),r("update:modelValue",!0)}function a(){const p=i.value&&new KeyframeEffect(i.value,[{translate:"0 -100%",opacity:"0"}],{duration:320,easing:"ease",direction:"normal"}),g=new Animation(p,document.timeline);g.play(),g.addEventListener("finish",()=>{var B;(B=i.value)==null||B.close(),l()}),r("update:modelValue",!1)}function l(){const p=getComputedStyle(document.documentElement).getPropertyValue("--scroll-position");document.documentElement.scrollTo({top:parseInt(p,10),behavior:"instant"}),r("update:modelValue",!1)}function u(p){o(),r("confirm",p)}function f(){a(),r("cancel")}function h(p){const g=p.target;g&&g.nodeName==="DIALOG"&&a()}return s.watch(()=>A.modelValue,(p,g)=>{p&&p!==g?o():g&&a()},{immediate:!0}),s.onMounted(()=>{var p;(p=i.value)==null||p.addEventListener("cancel",g=>{g.preventDefault(),a()}),A.dismiss&&document.addEventListener("click",h),A.modelValue&&o()}),s.onBeforeUnmount(()=>{A.dismiss&&document.removeEventListener("click",h)}),e({show:o,close:a,confirm:u,cancel:f}),(p,g)=>(s.openBlock(),s.createElementBlock("dialog",{ref_key:"dialog",ref:i,class:s.normalizeClass(["modal-dialog",{[`modal-dialog--${t.size}`]:t.size}]),onClose:l},[s.createElementVNode("div",Cne,[s.createElementVNode("div",bne,[t.title?(s.openBlock(),s.createElementBlock("h5",vne,s.toDisplayString(t.title),1)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:a})]),s.createElementVNode("div",Ene,[s.renderSlot(p.$slots,"default")]),t.footer?(s.openBlock(),s.createElementBlock("div",kne,[s.renderSlot(p.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:a},s.toDisplayString(p.$t("common.close")),1)])):s.createCommentVNode("",!0)])],34))}}),Xce="",Fne=["onDragenter","onDragover","onDragleave","onDragend","onDrop","innerHTML"],Qne=["onDragstart","onDrag","onDragenter","onDragover","onDragleave","onDragend","onDrop"],Une={key:0,class:"sortable-list__drag-handle"},Tne={type:"button",class:"btn"},Ine={key:0,class:"sortable-list__item"},_ne=s.defineComponent({__name:"sortable-list",props:{modelValue:{type:Array,default:()=>[]},config:{type:Object,default:null},messages:{type:Object,default:{}},vertical:{type:Boolean,default:!0},showDragHandle:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,A=s.ref(!1),r=s.ref(null),i=s.ref(null),o=e,a=s.computed({get(){return n.modelValue},set(F){o("update:modelValue",F)}}),l=s.computed(()=>{var F;return(F=document.querySelector(".is-drag-item"))==null?void 0:F.outerHTML}),u=s.useSlots(),f=s.computed(()=>u["list-append"]);function h(F,k){F.dataTransfer&&(F.dataTransfer.dropEffect="move",F.dataTransfer.effectAllowed="move",F.dataTransfer.setData("index",k.toLocaleString()),A.value=!0,r.value=k)}function p(F,k){A.value=!1,r.value=null,i.value=null}function g(F,k){}function B(F,k){i.value=r.value!==k?k:null}function y(F,k){}function C(F,k){}function b(F,k){if(F.dataTransfer){F.preventDefault();const v=Number(F.dataTransfer.getData("index")),U=k,E=[...a.value];(U||U===0)&&(v||v===0)&&E.splice(U,0,E.splice(v,1)[0]),a.value=E}}return(F,k)=>{const v=s.resolveComponent("svg-icon");return s.openBlock(),s.createBlock(s.TransitionGroup,{name:"list",tag:"ul",class:s.normalizeClass(["sortable-list p-0 d-flex gap-2",{"flex-column":t.vertical,"flex-row flex-wrap":!t.vertical}]),onDragover:k[0]||(k[0]=s.withModifiers(()=>{},["prevent"])),onDragenter:k[1]||(k[1]=s.withModifiers(()=>{},["prevent"]))},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,(U,E)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:E},[t.showPreview&&A.value&&i.value===E?(s.openBlock(),s.createElementBlock("li",{key:0,class:"sortable-list__item is-drop-target",onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E),innerHTML:l.value},null,40,Fne)):s.createCommentVNode("",!0),s.createElementVNode("li",{class:s.normalizeClass(["sortable-list__item d-flex",{"is-drag-item":A.value&&r.value===E,"is-drop-target":A.value&&i.value===E&&!t.showPreview,"align-items-center gap-2":t.vertical}]),draggable:!0,onDragstart:I=>h(I,E),onDrag:I=>void 0,onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E)},[t.showDragHandle?(s.openBlock(),s.createElementBlock("div",Une,[s.createElementVNode("button",Tne,[s.createVNode(v,{symbol:"drag"})])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(["sortable-list__item-content",{"flex-grow-1":t.vertical}])},[s.renderSlot(F.$slots,"list-item",{item:U,index:E},()=>[s.createTextVNode(s.toDisplayString(U),1)])],2)],42,Qne)],64))),128)),f.value?(s.openBlock(),s.createElementBlock("li",Ine,[s.renderSlot(F.$slots,"list-append")])):s.createCommentVNode("",!0)]),_:3},8,["class"])}}}),qce="",xne={class:"touch-wrapper__controls"},One={class:"btn-group",role:"group"},Dne=s.defineComponent({__name:"touch-wrapper",props:{modelValue:{type:Number,default:1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=s.getCurrentInstance(),A=n&&n.appContext.config.globalProperties.$config,r=t,i=e,o=s.ref();function a(f){const h=r.modelValue+f;i("update:modelValue",f===0?1:h>=1?h:1)}function l(f){if(f.ctrlKey){f.preventDefault();const h=0-f.deltaY*.01;a(h)}}function u(f){f.preventDefault();const{scale:h}=f,p=h>1?h*.01:0-h;a(p)}return s.onMounted(()=>{o.value&&(o.value.addEventListener("wheel",l,!1),o.value.addEventListener("gesturestart",u,!1),o.value.addEventListener("gesturechange",u,!1),o.value.addEventListener("gestureend",u,!1))}),(f,h)=>{const p=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",{ref_key:"touchElement",ref:o,class:"touch-wrapper"},[s.renderSlot(f.$slots,"controls",{on:{setScale:a}},()=>[s.createElementVNode("div",xne,[s.createElementVNode("div",One,[s.createElementVNode("button",{type:"button",class:"btn",onClick:h[0]||(h[0]=g=>a(-1))},[s.createVNode(p,{symbol:"minus","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[1]||(h[1]=g=>a(0))},[s.createVNode(p,{symbol:"maximize","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[2]||(h[2]=g=>a(1))},[s.createVNode(p,{symbol:"plus","base-path":s.unref(A).iconSprite},null,8,["base-path"])])])])]),s.renderSlot(f.$slots,"default")],512)}}}),Zce="";Ye.Accordion=Vx,Ye.AccordionItem=Mx,Ye.AssetUploader=u5,Ye.AutoSuggest=xW,Ye.BaseButton=Kx,Ye.BaseCamera=ZW,Ye.BaseCarousel=nk,Ye.BaseForm=wne,Ye.BaseHeadline=Qx,Ye.BaseImage=Sx,Ye.BaseInput=zx,Ye.BaseParagraph=Tx,Ye.CheckGroup=QR,Ye.ColorPalette=mW,Ye.DomRenderer=qJ,Ye.FileUpload=t5,Ye.InputCheckbox=nO,Ye.InputColor=fW,Ye.InputDatepicker=bR,Ye.InputDatetime=oO,Ye.InputDropdown=QW,Ye.InputFile=$R,Ye.InputPassword=ER,Ye.InputTextarea=qx,Ye.LinkSharing=Bne,Ye.LoadingSpinner=Ex,Ye.MediaThumbnails=g5,Ye.ModalDialog=Sne,Ye.PopoverDialog=KB,Ye.PopoverNotifications=Kte,Ye.PopoverTooltip=Hte,Ye.ProgressSteps=S5,Ye.RadioButtons=DR,Ye.RadioGroup=Iu,Ye.RteEditor=lW,Ye.SelectMedia=GR,Ye.SortableList=_ne,Ye.SvgIcon=Cx,Ye.TouchWrapper=Dne,Ye.UploadGroup=tk,Object.defineProperty(Ye,Symbol.toStringTag,{value:"Module"})});
|
|
206
|
+
`,"")}const xee=["normal","most-width","most-height","most-block-size","most-inline-size"],Oee=["flip-block","flip-inline","flip-start"];function Dee(t){return t.type==="Declaration"}function Lee(t){return t.type==="Declaration"&&t.property==="position-try-fallbacks"}function Mee(t){return t.type==="Declaration"&&t.property==="position-try-order"}function Nee(t){return t.type==="Declaration"&&t.property==="position-try"}function Hee(t){return t.type==="Atrule"&&t.name==="position-try"}function Ree(t){return Oee.includes(t)}function Pee(t){return xee.includes(t)}function Vee(t,e){const n=document.querySelector(t);if(n){let A=Kee(n);return e.forEach(r=>{A=xT(A,r)}),A}}function $ee(t,e){let n=t.declarations;return e.forEach(A=>{n=xT(n,A)}),n}function Kee(t){const e={};return jU.forEach(n=>{const A=yr(t,`--${n}-${mT}`);A&&(e[n]=A)}),e}const Wee={"flip-block":{top:"bottom",bottom:"top","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","margin-top":"margin-bottom","margin-bottom":"margin-top"},"flip-inline":{left:"right",right:"left","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","margin-left":"margin-right","margin-right":"margin-left"},"flip-start":{left:"top",right:"bottom",top:"left",bottom:"right","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","inset-block":"inset-inline","inset-inline":"inset-block"}},Gee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-inline":{left:"right",right:"left",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-start":{top:"left",left:"top",right:"bottom",bottom:"right"}},Yee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start"},"flip-inline":{left:"right",right:"left",start:"end",end:"start"},"flip-start":{}};function zee(t,e){return Wee[e][t]||t}function Jee(t,e){return Gee[e][t]||t}function jee(t,e){if(e==="flip-start")return t;{const n=Yee[e];return t.split("-").map(A=>n[A]||A).join("-")}}function Xee(t,e,n){if(t==="margin"){const[A,r,i,o]=e.children.toArray();n==="flip-block"?o?e.children.fromArray([i,r,A,o]):i&&e.children.fromArray([i,r,A]):n==="flip-inline"&&o&&e.children.fromArray([A,o,i,r])}else if(t==="margin-block"){const[A,r]=e.children.toArray();n==="flip-block"&&r&&e.children.fromArray([r,A])}else if(t==="margin-inline"){const[A,r]=e.children.toArray();n==="flip-inline"&&r&&e.children.fromArray([r,A])}}const qee=(t,e)=>{var n;return((n=Go(`#id{${t}: ${e};}`).children.first)==null?void 0:n.block.children.first).value};function xT(t,e){const n={};return Object.entries(t).forEach(([A,r])=>{const i=A,o=qee(i,r),a=zee(i,e);a!==i&&(n[i]!=null||(n[i]="revert")),Wo(o,{visit:"Function",enter(l){dh(l)&&l.children.forEach(u=>{Yc(u)&&qU(u.name)&&(u.name=Jee(u.name,e))})}}),i==="position-area"&&o.children.forEach(l=>{Yc(l)&&ST(l.name)&&(l.name=jee(l.name,e))}),i.startsWith("margin")&&Xee(i,o,e),n[a]=LA(o)}),n}function OT(t){const e=zZ(t),n=[];return e.forEach(A=>{const r={atRules:[],tactics:[],positionAreas:[]};A.forEach(i=>{Ree(i.name)?r.tactics.push(i.name):i.name.startsWith("--")?r.atRules.push(i.name):ST(i.name)&&r.positionAreas.push(i.name)}),r.positionAreas.length?n.push({positionArea:r.positionAreas[0],type:"position-area"}):r.atRules.length&&r.tactics.length?n.push({tactics:r.tactics,atRule:r.atRules[0],type:"at-rule-with-try-tactic"}):r.atRules.length?n.push({atRule:r.atRules[0],type:"at-rule"}):r.tactics.length&&n.push({tactics:r.tactics,type:"try-tactic"})}),n}function Zee(t){return Lee(t)&&t.value.children.first?OT(t.value.children):[]}function ete(t){if(Nee(t)&&t.value.children.first){const e=uh(t);let n;const A=e.value.children.first.name;A&&Pee(A)&&(n=A,e.value.children.shift());const r=OT(e.value.children);return{order:n,options:r}}return{}}function tte(t){return Mee(t)&&t.value.children.first?{order:t.value.children.first.name}:{}}function nte(t){const{order:e,options:n}=ete(t);if(e||n)return{order:e,options:n};const{order:A}=tte(t),r=Zee(t);return A||r?{order:A,options:r}:{}}function Ate(t){return Wc(t.property)||D9(t.property)||zU(t.property)||L9(t.property)||["position-anchor","position-area"].includes(t.property)}function rte(t){var e,n;if(Hee(t)&&(e=t.prelude)!=null&&e.value&&(n=t.block)!=null&&n.children){const A=t.prelude.value,r=t.block.children.filter(o=>Dee(o)&&Ate(o)),i={uuid:`${A}-try-${Wr(12)}`,declarations:Object.fromEntries(r.map(o=>[o.property,LA(o.value)]))};return{name:A,tryBlock:i}}return{}}function ite(t){const e={},n={},A={};for(const r of t){const i=Go(r.css);Wo(i,{visit:"Atrule",enter(o){const{name:a,tryBlock:l}=rte(o);a&&l&&(e[a]=l)}})}for(const r of t){let i=!1;const o=new Set,a=Go(r.css);Wo(a,{visit:"Declaration",enter(l){var u;const f=(u=this.rule)==null?void 0:u.prelude,h=Sy(f);if(!h.length)return;const{order:p,options:g}=nte(l),B={};p&&(B.order=p),h.forEach(({selector:y})=>{var C;g==null||g.forEach(b=>{var F;let k;if(b.type==="at-rule")k=b.atRule;else if(b.type==="try-tactic"){k=`${y}-${b.tactics.join("-")}`;const v=Vee(y,b.tactics);v&&(e[k]={uuid:`${y}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:v})}else if(b.type==="at-rule-with-try-tactic"){k=`${y}-${b.atRule}-${b.tactics.join("-")}`;const v=e[b.atRule],U=$ee(v,b.tactics);U&&(e[k]={uuid:`${y}-${b.atRule}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:U})}if(k&&e[k]){const v=`[data-anchor-polyfill="${e[k].uuid}"]`;n[v]!=null||(n[v]=[]),n[v].push(y),o.has(k)||(B.fallbacks!=null||(B.fallbacks=[]),B.fallbacks.push(e[k]),o.add(k),(F=this.stylesheet)==null||F.children.prependData({type:"Rule",prelude:{type:"Raw",value:v},block:{type:"Block",children:new vA().fromArray(Object.entries(e[k].declarations).map(([U,E])=>({type:"Declaration",important:!0,property:U,value:{type:"Raw",value:E}})))}}),i=!0)}}),Object.keys(B).length>0&&(A[y]?(B.order&&(A[y].order=B.order),B.fallbacks&&((C=A[y]).fallbacks!=null||(C.fallbacks=[]),A[y].fallbacks.push(...B.fallbacks))):A[y]=B)})}}),i&&(r.css=LA(a),r.changed=!0)}return{fallbackTargets:n,validPositions:A}}function ote(t,e){return!t||t===e?!1:DT(t)?t.document.contains(e):t.contains(e)}function DT(t){return!!(t&&t===t.window)}function ste(t){return ol(t,"position","fixed")}function Iy(t){return!!(t&&(ste(t)||ol(t,"position","absolute")))}function LT(t,e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING}function ate(t){return Jt(this,null,function*(){return yield JA.getOffsetParent(t)})}function _y(t){return Jt(this,null,function*(){if(!["absolute","fixed"].includes(yr(t,"position")))return yield ate(t);let e=t.parentElement;for(;e;){if(!ol(e,"position","static")&&ol(e,"display","block"))return e;e=e.parentElement}return window})}function lte(t,e,n,A){return Jt(this,null,function*(){const r=yield _y(t),i=yield _y(n);if(!(ote(i,t)||DT(i))||r===i&&!(!Iy(t)||LT(t,n)))return!1;if(r!==i){let o;const a=[];for(o=r;o&&o!==i&&o!==window;)a.push(o),o=yield _y(o);const l=a[a.length-1];if(l instanceof HTMLElement&&!(!Iy(l)||LT(l,n)))return!1}{let o=t.parentElement;for(;o;){if(ol(o,"content-visibility","hidden"))return!1;o=o.parentElement}}return!(e&&A&&MT(t,e,A)!==MT(n,e,A))})}function MT(t,e,n){for(;!(t.matches(n)&&ree(t,e));){if(!t.parentElement)return null;t=t.parentElement}return t}function cte(t,e,n,A){return Jt(this,null,function*(){if(!(t instanceof HTMLElement&&n.length&&Iy(t)))return null;const r=n.flatMap(nee).filter(o=>Aee(o,e)),i=A.map(o=>o.selector).join(",")||null;for(let o=r.length-1;o>=0;o--){const a=r[o],l="fakePseudoElement"in a;if(yield lte(l?a.fakePseudoElement:a,e,t,i))return l&&a.removeFakePseudoElement(),a}return null})}function ute(t){return t.type==="Declaration"&&t.property==="anchor-name"}function dte(t){return t.type==="Declaration"&&t.property==="anchor-scope"}function xy(t){return!!(t&&t.type==="Function"&&t.name==="anchor-size")}function fh(t){return!!(t&&t.type==="Function"&&t.name==="var")}function Yc(t){return!!(t.type==="Identifier"&&t.name)}function fte(t){return!!(t.type==="Percentage"&&t.value)}function NT(t,e){let n,A,r,i="",o=!1,a;const l=[];t.children.toArray().forEach(p=>{if(o){i=`${i}${LA(p)}`;return}if(p.type==="Operator"&&p.value===","){o=!0;return}l.push(p)});let[u,f]=l;if(f||(f=u,u=void 0),u&&(Yc(u)&&u.name.startsWith("--")?n=u.name:fh(u)&&u.children.first&&(a=u.children.first.name)),f)if(dh(t)){if(Yc(f)&&qU(f.name))A=f.name;else if(fte(f)){const p=Number(f.value);A=Number.isNaN(p)?void 0:p}}else xy(t)&&Yc(f)&&R9(f.name)&&(r=f.name);const h=`--anchor-${Wr(12)}`;return Object.assign(t,{type:"Raw",value:`var(${h})`,children:null}),Reflect.deleteProperty(t,"name"),{anchorName:n,anchorSide:A,anchorSize:r,fallbackValue:i||"0px",customPropName:a,uuid:h}}function HT(t){return t.value.children.map(({name:e})=>e)}let zc={},Vs={},$s={},Jc={},Ks={};function hte(){zc={},Vs={},$s={},Jc={},Ks={}}function pte(t,e){var n;if((dh(t)||xy(t))&&e){if(e.property.startsWith("--")){const A=LA(e.value),r=NT(t);return Jc[r.uuid]=A,$s[e.property]=[...(n=$s[e.property])!=null?n:[],r],{changed:!0}}if(dh(t)&&Wc(e.property)||xy(t)&&XU(e.property)){const A=NT(t);return{prop:e.property,data:A,changed:!0}}}return{}}function RT(t,e){return Jt(this,null,function*(){let n=e==null?void 0:e.anchorName;const A=e==null?void 0:e.customPropName;if(t&&!n){const a=yr(t,"position-anchor");a?n=a:A&&(n=yr(t,A))}const r=n?zc[n]||[]:[],i=n?Vs[gT.All]||[]:[],o=n?Vs[n]||[]:[];return yield cte(t,n||null,r,[...i,...o])})}function mte(t){return Jt(this,null,function*(){var e,n,A,r,i,o,a,l,u,f,h;const p={},g={};hte();const{fallbackTargets:B,validPositions:y}=ite(t);for(const U of t){let E=!1;const I=Go(U.css);Wo(I,function(O){var x,H,ie,re;const ce=(x=this.rule)==null?void 0:x.prelude,R=Sy(ce);if(ute(O)&&R.length)for(const Y of HT(O))zc[Y]!=null||(zc[Y]=[]),zc[Y].push(...R);if(dte(O)&&R.length)for(const Y of HT(O))Vs[Y]!=null||(Vs[Y]=[]),Vs[Y].push(...R);const{prop:W,data:$,changed:te}=pte(O,this.declaration);if(W&&$&&R.length)for(const{selector:Y}of R)p[Y]=OA(Vn({},p[Y]),{[W]:[...(ie=(H=p[Y])==null?void 0:H[W])!=null?ie:[],$]});let ee;if(this.block&&(ee=Qee(O),ee)){Uee(ee,this.block);for(const{selector:Y}of R)g[Y]=[...(re=g[Y])!=null?re:[],ee]}(te||ee)&&(E=!0)}),E&&(U.css=LA(I),U.changed=!0)}const C=new Set(Object.keys($s)),b={},F=U=>{var E,I,O,x,H;const ie=[],re=new Set((I=(E=b[U])==null?void 0:E.names)!=null?I:[]);for(;re.size>0;)for(const ce of re)ie.push(...(O=$s[ce])!=null?O:[]),re.delete(ce),(H=(x=b[ce])==null?void 0:x.names)!=null&&H.length&&b[ce].names.forEach(R=>re.add(R));return ie};for(;C.size>0;){const U=[];for(const E of t){let I=!1;const O=Go(E.css);Wo(O,{visit:"Function",enter(x){var H,ie;const re=(H=this.rule)==null?void 0:H.prelude,ce=this.declaration,R=ce==null?void 0:ce.property;if((re==null?void 0:re.children.isEmpty)===!1&&fh(x)&&ce&&R&&x.children.first&&C.has(x.children.first.name)&&R.startsWith("--")){const W=x.children.first,$=(ie=$s[W.name])!=null?ie:[],te=F(W.name);if(!($.length||te.length))return;const ee=`${W.name}-anchor-${Wr(12)}`,Y=LA(ce.value);Jc[ee]=Y,b[R]||(b[R]={names:[],uuids:[]});const he=b[R];he.names.includes(W.name)||he.names.push(W.name),he.uuids.push(ee),U.push(R),W.name=ee,I=!0}}}),I&&(E.css=LA(O),E.changed=!0)}C.clear(),U.forEach(E=>C.add(E))}for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re,ce,R,W;const $=(x=this.rule)==null?void 0:x.prelude,te=this.declaration,ee=te==null?void 0:te.property;if(($==null?void 0:$.children.isEmpty)===!1&&fh(O)&&te&&ee&&O.children.first&&(Wc(ee)||zU(ee))){const Y=O.children.first,he=(H=$s[Y.name])!=null?H:[],Z=F(Y.name);if(!(he.length||Z.length))return;const Ce=`${ee}-${Wr(12)}`;if(Z.length){const J=new Set([Y.name]);for(;J.size>0;)for(const Ae of J){const oe=b[Ae];if((ie=oe==null?void 0:oe.names)!=null&&ie.length&&(re=oe==null?void 0:oe.uuids)!=null&&re.length)for(const Q of oe.names)for(const q of oe.uuids)Ks[q]=OA(Vn({},Ks[q]),{[Ce]:`${Q}-${Ce}`});J.delete(Ae),(ce=oe==null?void 0:oe.names)!=null&&ce.length&&oe.names.forEach(Q=>J.add(Q))}}const V=Sy($);for(const J of[...he,...Z]){const Ae=Vn({},J),oe=`--anchor-${Wr(12)}-${ee}`,Q=Ae.uuid;Ae.uuid=oe;for(const{selector:q}of V)p[q]=OA(Vn({},p[q]),{[ee]:[...(W=(R=p[q])==null?void 0:R[ee])!=null?W:[],Ae]});Ks[Q]=OA(Vn({},Ks[Q]),{[Ce]:oe})}Y.name=`${Y.name}-${Ce}`,E=!0}}}),E&&(U.css=LA(I),U.changed=!0)}if(Object.keys(Ks).length>0)for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re;if(fh(O)&&(H=(x=O.children.first)==null?void 0:x.name)!=null&&H.startsWith("--")&&(re=(ie=this.declaration)==null?void 0:ie.property)!=null&&re.startsWith("--")&&this.block){const ce=O.children.first,R=Ks[ce.name];if(R)for(const[W,$]of Object.entries(R))this.block.children.appendData({type:"Declaration",important:!1,property:`${this.declaration.property}-${W}`,value:{type:"Raw",value:LA(this.declaration.value).replace(`var(${ce.name})`,`var(${$})`)}}),E=!0;Jc[ce.name]&&(this.declaration.value={type:"Raw",value:Jc[ce.name]},E=!0)}}}),E&&(U.css=LA(I),U.changed=!0)}const k=new Map;for(const[U,E]of Object.entries(p)){let I;U.startsWith("[data-anchor-polyfill=")&&(e=B[U])!=null&&e.length?I=document.querySelectorAll(B[U].join(",")):I=document.querySelectorAll(U);for(const[O,x]of Object.entries(E))for(const H of x)for(const ie of I){const re=yield RT(ie,H),ce=`--anchor-${Wr(12)}`;k.set(ie,OA(Vn({},(n=k.get(ie))!=null?n:{}),{[H.uuid]:ce})),ie.setAttribute("style",`${H.uuid}: var(${ce}); ${(A=ie.getAttribute("style"))!=null?A:""}`),y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(r=y[U])==null?void 0:r.declarations),{[O]:[...(a=(o=(i=y[U])==null?void 0:i.declarations)==null?void 0:o[O])!=null?a:[],OA(Vn({},H),{anchorEl:re,targetEl:ie,uuid:ce})]})})}}const v={el:document.createElement("link"),changed:!1,created:!0,css:""};t.push(v);for(const[U,E]of Object.entries(g)){const I=document.querySelectorAll(U);for(const O of I){const x=yield RT(O);for(const H of E){const ie=yield Iee(O,H,x);v.css+=_ee(ie.targetUUID,H.selectorUUID),v.changed=!0,y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(l=y[U])==null?void 0:l.declarations),{"position-area":[...(h=(f=(u=y[U])==null?void 0:u.declarations)==null?void 0:f["position-area"])!=null?h:[],ie]})})}}}return{rules:y,inlineStyles:k,anchorScopes:Vs}})}const gte=["as","blocking","crossorigin","disabled","fetchpriority","href","hreflang","integrity","referrerpolicy","rel","type"];function PT(t,e,n=!1){const A=[];for(const{el:r,css:i,changed:o,created:a=!1}of t){const l={el:r,css:i,changed:!1};if(o){if(r.tagName.toLowerCase()==="style")r.innerHTML=i;else if(r instanceof HTMLLinkElement){const u=document.createElement("style");u.textContent=i;for(const f of r.getAttributeNames())if(!f.startsWith("on")&&!gte.includes(f)){const h=r.getAttribute(f);h!==null&&u.setAttribute(f,h)}r.hasAttribute("href")&&u.setAttribute("data-original-href",r.getAttribute("href")),a?(u.setAttribute("data-generated-by-polyfill","true"),document.head.insertAdjacentElement("beforeend",u)):(r.insertAdjacentElement("beforebegin",u),r.remove()),l.el=u}else if(r.hasAttribute("data-has-inline-styles")){const u=r.getAttribute("data-has-inline-styles");if(u){const f=`[data-has-inline-styles="${u}"]{`;let h=i.slice(f.length,0-1);const p=e==null?void 0:e.get(r);if(p)for(const[g,B]of Object.entries(p))h=`${g}: var(${B}); ${h}`;r.setAttribute("style",h)}}}n&&r.hasAttribute("data-has-inline-styles")&&r.removeAttribute("data-has-inline-styles"),A.push(l)}return A}const Bte=OA(Vn({},JA),{_c:new Map}),yte=(t,e)=>{let n;switch(t){case"start":case"self-start":n=0;break;case"end":case"self-end":n=100;break;default:typeof t=="number"&&!Number.isNaN(t)&&(n=t)}if(n!==void 0)return e?100-n:n},wte=(t,e)=>{let n;switch(t){case"block":case"self-block":n=e?"width":"height";break;case"inline":case"self-inline":n=e?"height":"width";break}return n},VT=t=>{switch(t){case"top":case"bottom":return"y";case"left":case"right":return"x"}return null},Cte=t=>{switch(t){case"x":return"width";case"y":return"height"}return null},$T=t=>yr(t,"display")==="inline",KT=(t,e)=>(e==="x"?["border-left-width","border-right-width"]:["border-top-width","border-bottom-width"]).reduce((n,A)=>n+parseInt(yr(t,A),10),0)||0,hh=(t,e)=>parseInt(yr(t,`margin-${e}`),10)||0,bte=t=>({top:hh(t,"top"),right:hh(t,"right"),bottom:hh(t,"bottom"),left:hh(t,"left")}),Oy=t=>Jt(null,[t],function*({targetEl:e,targetProperty:n,anchorRect:A,anchorSide:r,anchorSize:i,fallback:o=null}){var a;if(!((i||r!==void 0)&&e&&A))return o;if(i){if(!XU(n))return o;let l;switch(i){case"width":case"height":l=i;break;default:{let u=!1;const f=yr(e,"writing-mode");u=f.startsWith("vertical-")||f.startsWith("sideways-"),l=wte(i,u)}}return l?`${A[l]}px`:o}if(r!==void 0){let l,u;const f=VT(n);if(!(Wc(n)&&f&&(!Wc(r)||f===VT(r))))return o;const h=["top","left"];switch(r){case"left":case"top":l=0;break;case"right":case"bottom":l=100;break;case"center":l=50;break;case"inside":l=h.includes(n)?0:100;break;case"outside":l=h.includes(n)?100:0;break;default:if(e){const B=(yield(a=JA.isRTL)==null?void 0:a.call(JA,e))||!1;l=yte(r,B)}}const p=typeof l=="number"&&!Number.isNaN(l),g=Cte(f);if(p&&g){(n==="bottom"||n==="right")&&(u=yield Qy(e));let B=A[f]+A[g]*(l/100);switch(n){case"bottom":{if(!u)break;let y=u.clientHeight;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetHeight-C}B=y-B;break}case"right":{if(!u)break;let y=u.clientWidth;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetWidth-C}B=y-B;break}}return`${B}px`}}return o}),vte=t=>"wrapperEl"in t,Ete=t=>"uuid"in t;function kte(t,e=!1){return Jt(this,null,function*(){const n=document.documentElement;for(const[A,r]of Object.entries(t))for(const i of r){const o=i.anchorEl,a=i.targetEl;if(o&&a)if(vte(i)){const l=i.wrapperEl,u=(f,h,p)=>Jt(null,null,function*(){return f===0?"0px":yield Oy({targetEl:l,targetProperty:h,anchorRect:p,anchorSide:f})});qB(o,l,()=>Jt(null,null,function*(){const f=yr(a,bT);l.setAttribute(vT,f);const h=yield JA.getElementRects({reference:o,floating:l,strategy:"absolute"}),p=i.insets,g=yield u(p.block[0],"top",h.reference),B=yield u(p.block[1],"bottom",h.reference),y=yield u(p.inline[0],"left",h.reference),C=yield u(p.inline[1],"right",h.reference);n.style.setProperty(`${i.targetUUID}-top`,g||null),n.style.setProperty(`${i.targetUUID}-left`,y||null),n.style.setProperty(`${i.targetUUID}-right`,C||null),n.style.setProperty(`${i.targetUUID}-bottom`,B||null),n.style.setProperty(`${i.targetUUID}-justify-self`,i.alignments.inline),n.style.setProperty(`${i.targetUUID}-align-self`,i.alignments.block)}),{animationFrame:e})}else qB(o,a,()=>Jt(null,null,function*(){const l=yield JA.getElementRects({reference:o,floating:a,strategy:"absolute"}),u=yield Oy({targetEl:a,targetProperty:A,anchorRect:l.reference,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,u)}),{animationFrame:e});else if(Ete(i)){const l=yield Oy({targetProperty:A,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,l)}}})}function WT(t,e){return Jt(this,null,function*(){const n=yield JA.getElementRects({reference:t,floating:t,strategy:"absolute"});return yield kj({x:t.offsetLeft,y:t.offsetTop,platform:Bte,rects:n,elements:{floating:t,reference:e},strategy:"absolute"},{padding:bte(t)})})}function Ste(t,e,n=!1){return Jt(this,null,function*(){if(!e.length)return;const A=document.querySelectorAll(t);for(const r of A){let i=!1;const o=yield Qy(r);qB({},r,()=>Jt(null,null,function*(){if(i)return;i=!0,r.removeAttribute("data-anchor-polyfill");const a=yield WT(r,o);if(Object.values(a).every(l=>l<=0)){r.removeAttribute("data-anchor-polyfill-last-successful"),i=!1;return}for(const[l,{uuid:u}]of e.entries()){r.setAttribute("data-anchor-polyfill",u);const f=yield WT(r,o);if(Object.values(f).every(h=>h<=0)){r.setAttribute("data-anchor-polyfill-last-successful",u),i=!1;break}if(l===e.length-1){const h=r.getAttribute("data-anchor-polyfill-last-successful");h?r.setAttribute("data-anchor-polyfill",h):r.removeAttribute("data-anchor-polyfill"),i=!1;break}}}),{animationFrame:n,layoutShift:!1})}})}function Fte(t,e=!1){return Jt(this,null,function*(){var n,A;for(const r of Object.values(t))yield kte((n=r.declarations)!=null?n:{},e);for(const[r,i]of Object.entries(t))yield Ste(r,(A=i.fallbacks)!=null?A:[],e)})}function Qte(t={}){const e=typeof t=="boolean"?{useAnimationFrame:t}:t,n=e.useAnimationFrame===void 0?!!window.UPDATE_ANCHOR_ON_ANIMATION_FRAME:e.useAnimationFrame;return Array.isArray(e.elements)||(e.elements=void 0),Object.assign(e,{useAnimationFrame:n})}function Ute(t){return Jt(this,null,function*(){const e=Qte(t??window.ANCHOR_POSITIONING_POLYFILL_OPTIONS);let n=yield lee(e.elements,e.excludeInlineStyles),A={},r;jZ();try{qZ(n)&&(n=PT(n));const i=yield mte(n);A=i.rules,r=i.inlineStyles}catch(i){throw JZ(),i}return Object.values(A).length&&(PT(n,r,!0),yield Fte(A,e.useAnimationFrame)),A})}const Tte={class:"popover-tooltip"},Ite=["popovertarget","disabled","aria-describedby","aria-label"],_te=s.createElementVNode("span",{class:"popover-tooltip__trigger"}," i ",-1),xte={class:"popover-tooltip__content d-flex flex-column"},Ote={key:0,class:"popover-tooltip__header d-flex p-3 border-bottom"},Dte=["innerHTML"],Lte={class:"popover-tooltip__body"},Mte=["innerHTML"],Nte={key:1,class:"popover-tooltip__footer d-flex p-3 border-top"},Hte=s.defineComponent({__name:"popover-tooltip",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-tooltip-${Math.random().toString(36).substr(2,9)}`},size:{type:String},exclusive:{type:Boolean,default:!0},header:{type:Boolean,default:!1},footer:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""},hover:{type:Boolean,default:!0},hoverDelay:{type:Number,default:400},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{emit:e}){const n=t,A=e,r=s.computed({get(){return n.modelValue},set(a){A("update:modelValue",a)}}),i=s.ref(),o=s.ref();return s.onMounted(()=>{"anchorName"in document.documentElement.style||Ute().then(a=>{console.log("Running polyfill",a)})}),(a,l)=>(s.openBlock(),s.createElementBlock("span",Tte,[s.createElementVNode("button",{type:"button",popovertarget:t.id,disabled:t.disabled,"aria-describedby":t.id,"aria-label":t.ariaLabel||a.$te("common.moreInfo")?a.$t("common.moreInfo"):void 0,ref_key:"trigger",ref:i},[s.renderSlot(a.$slots,"button",{},()=>[_te])],8,Ite),s.createVNode(KB,{id:t.id,modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=u=>r.value=u),hover:t.hover,"hover-delay":t.hoverDelay,ref_key:"dialog",ref:o,role:"tooltip",class:s.normalizeClass(t.size?`popover-tooltip--${t.size}`:"")},{default:s.withCtx(()=>[s.createElementVNode("div",xte,[t.header?(s.openBlock(),s.createElementBlock("div",Ote,[t.title?(s.openBlock(),s.createElementBlock("h5",{key:0,class:"popover-tooltip__title",innerHTML:t.title},null,8,Dte)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:l[0]||(l[0]=u=>r.value=!1)})])):s.createCommentVNode("",!0),s.createElementVNode("div",Lte,[s.renderSlot(a.$slots,"default",{},()=>[s.createElementVNode("span",{innerHTML:t.content},null,8,Mte)])]),t.footer?(s.openBlock(),s.createElementBlock("div",Nte,[s.renderSlot(a.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:l[1]||(l[1]=u=>r.value=!1)},s.toDisplayString(a.$t("common.close")),1)])):s.createCommentVNode("",!0)])]),_:3},8,["id","modelValue","hover","hover-delay","class"])]))}}),Yce="",Rte={class:"popover-notification__header d-flex justify-content-between mb-2"},Pte={class:"popover-notification__title"},Vte=["onClick"],$te=["innerHTML"],Kte=s.defineComponent({__name:"popover-notifications",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-notifications-${Math.random().toString(36).substr(2,9)}`},items:{type:Array,default:()=>[]},debounceItem:{type:Number,default:0},closeTimeout:{type:Number,default:8e3},collapsible:{type:Boolean,default:!0}},setup(t,{expose:e}){const n=t,A=s.ref([]),r=s.ref([]),i=s.ref(!1),o=s.computed(()=>n.collapsible&&A.value.length>3);function a(h,p){A.value=A.value.filter(g=>g.id!==h.id)}s.watch(()=>n.items,(h,p)=>{const g=h.filter(B=>!p.some(y=>y.id===B.id));r.value=[...r.value,...g]});function l(){setTimeout(()=>{console.log("Queueing item:",r.value);const h=r.value.shift();h&&A.value.push({...h,closeTimeout:n.closeTimeout,visible:!0}),r.value.length>0&&l()},A.value.length?n.debounceItem:0)}function u(h){o.value&&(h.preventDefault(),h.stopPropagation(),i.value=!i.value)}function f(h){console.log("Adding item:",h),r.value.push(h),l()}return s.onMounted(()=>{r.value=n.items,r.value.length>3&&(i.value=!0),l()}),e({addItem:f}),(h,p)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["popover-notifications",{"popover-notifications--collapsed":i.value}]),style:{anchorName:"--popover-notifications"}},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A.value,(g,B)=>(s.openBlock(),s.createBlock(KB,{key:g.id,id:g.id,"close-timeout":g.closeTimeout,type:"manual",class:"popover-notification",modelValue:g.visible,"onUpdate:modelValue":[y=>g.visible=y,y=>a(g)],onClick:u},{default:s.withCtx(()=>[s.renderSlot(h.$slots,"item",{item:g},()=>[s.createElementVNode("div",Rte,[s.createElementVNode("span",Pte,s.toDisplayString(g.title),1),s.createElementVNode("button",{type:"button",class:"btn btn-close p-0",onClick:s.withModifiers(y=>g.visible=!1,["stop"]),"aria-label":"Close notification"},null,8,Vte)]),s.createElementVNode("span",{innerHTML:g.content},null,8,$te)])]),_:2},1032,["id","close-timeout","modelValue","onUpdate:modelValue"]))),128))],2))}}),zce="",Wte={class:"link-sharing"},Gte={key:0,class:"link-sharing__links container"},Yte={class:"row"},zte={key:0,class:"col-12 col-md-6"},Jte=["href"],jte={class:"caption"},Xte={key:1,class:"col-12 col-md-6"},qte=["href"],Zte={class:"caption"},ene={key:2,class:"col-12 col-md-6"},tne={class:"caption"},nne={key:3,class:"col-12 col-md-6"},Ane=["href"],rne={class:"caption"},ine={key:4,class:"col-12 col-md-6"},one=["href"],sne={class:"caption"},ane={key:5,class:"col-12 col-md-6"},lne={class:"caption"},cne={key:6,class:"col-12 col-md-6"},une=["href"],dne={class:"caption"},fne={key:1,class:"link-sharing__instructions pt-5"},hne={class:"row"},pne={class:"col-12 text-center py-0"},mne={class:"mb-5"},gne=t=>t.replace(/<(?:.|\n)*?>/gm,""),Bne=s.defineComponent({__name:"link-sharing",props:{url:{type:String,default:""},subject:{type:String,default:""},hashtags:Array,text:{type:String,default:""},media:{type:String,default:""},services:{type:Object,default:{facebook:!0,instagram:!0,linkedin:!0,whatsapp:!0,mailto:!0,clipboard:!0,bluesky:!0}}},setup(t){const e=t,n=s.ref(!1),A=s.computed(()=>encodeURIComponent(e.url));s.computed(()=>encodeURIComponent(e.media));const r=s.computed(()=>gne(e.text)),i=s.computed(()=>!!(navigator&&navigator.userAgent&&/Mobi|Android/i.test(navigator.userAgent)));async function o(){const a=document.createElement("textarea");document.body.appendChild(a),a.value=e.url,a.select(),a.setSelectionRange(0,99999),navigator.clipboard.writeText(a.value),document.body.removeChild(a)}return(a,l)=>{const u=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",Wte,[n.value?(s.openBlock(),s.createElementBlock("div",fne,[s.createElementVNode("div",hne,[s.createElementVNode("div",pne,[s.createElementVNode("div",mne,[s.createElementVNode("p",null,s.toDisplayString(a.$t("sharing.instructions",{service:"Instagram"})),1),s.createElementVNode("p",null,[s.createElementVNode("strong",null,s.toDisplayString(t.hashtags),1)])])])])])):(s.openBlock(),s.createElementBlock("div",Gte,[s.createElementVNode("div",Yte,[t.services.facebook?(s.openBlock(),s.createElementBlock("div",zte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.facebook.com/sharer.php?u=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"facebook"}),s.createElementVNode("span",jte,s.toDisplayString(a.$t("sharing.facebook")),1)],8,Jte)])):s.createCommentVNode("",!0),t.services.bluesky?(s.openBlock(),s.createElementBlock("div",Xte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://bsky.app/intent/compose?text=${r.value}${r.value?"%20":""}${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"bluesky-logo"}),s.createElementVNode("span",Zte,s.toDisplayString(a.$t("sharing.bluesky")),1)],8,qte)])):s.createCommentVNode("",!0),t.services.instagram?(s.openBlock(),s.createElementBlock("div",ene,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:l[0]||(l[0]=s.withModifiers(f=>n.value=!n.value,["prevent"]))},[s.createVNode(u,{symbol:"instagram"}),s.createElementVNode("span",tne,s.toDisplayString(a.$t("sharing.instagram")),1)])])):s.createCommentVNode("",!0),t.services.linkedin?(s.openBlock(),s.createElementBlock("div",nne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.linkedin.com/shareArticle?mini=true&url=${A.value}&title=${t.subject}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"linkedin"}),s.createElementVNode("span",rne,s.toDisplayString(a.$t("sharing.linkedin")),1)],8,Ane)])):s.createCommentVNode("",!0),t.services.whatsapp&&i.value?(s.openBlock(),s.createElementBlock("div",ine,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`whatsapp://send?text=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"whatsapp"}),s.createElementVNode("span",sne,s.toDisplayString(a.$t("sharing.whatsapp")),1)],8,one)])):s.createCommentVNode("",!0),t.services.clipboard?(s.openBlock(),s.createElementBlock("div",ane,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:s.withModifiers(o,["prevent","stop"])},[s.createVNode(u,{symbol:"copy"}),s.createElementVNode("span",lne,s.toDisplayString(a.$t("sharing.clipboard")),1)])])):s.createCommentVNode("",!0),t.services.mailto?(s.openBlock(),s.createElementBlock("div",cne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`mailto:?subject=${t.subject}&body=${r.value}%0D%0A${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"mail"}),s.createElementVNode("span",dne,s.toDisplayString(a.$t("sharing.mailto")),1)],8,une)])):s.createCommentVNode("",!0)])]))])}}}),Jce="",yne={class:"base-form"},wne=s.defineComponent({__name:"base-form",props:{id:{},name:{},variant:{},disabled:{type:Boolean},pending:{type:Boolean}},setup(t){function e(r){console.log("input",r)}function n(r){console.log("reset",r)}function A(r){console.log("submit",r)}return(r,i)=>(s.openBlock(),s.createElementBlock("div",yne,[s.createElementVNode("form",{ref:"form",onInput:e,onReset:n,onSubmit:s.withModifiers(A,["prevent"])},[s.renderSlot(r.$slots,"default")],544)]))}}),jce="",Cne={class:"modal-dialog__content d-flex flex-column"},bne={class:"modal-dialog__header d-flex p-3 border-bottom"},vne={key:0,class:"modal-dialog__title",id:"exampleModalLabel"},Ene={class:"modal-dialog__body"},kne={key:0,class:"modal-dialog__footer d-flex p-3 border-top"},Sne=s.defineComponent({__name:"modal-dialog",props:{modelValue:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},size:{type:String,default:"md"},dismiss:{type:Boolean,default:!0},title:{type:String,default:""},footer:{type:Boolean,default:!0},classes:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{expose:e,emit:n}){const A=t,r=n,i=s.ref();function o(){var p,g;document.documentElement.style.setProperty("--scroll-position",`${Math.round(document.documentElement.scrollTop)}px`),A.modal?(p=i.value)==null||p.showModal():(g=i.value)==null||g.show(),r("update:modelValue",!0)}function a(){const p=i.value&&new KeyframeEffect(i.value,[{translate:"0 -100%",opacity:"0"}],{duration:320,easing:"ease",direction:"normal"}),g=new Animation(p,document.timeline);g.play(),g.addEventListener("finish",()=>{var B;(B=i.value)==null||B.close(),l()}),r("update:modelValue",!1)}function l(){const p=getComputedStyle(document.documentElement).getPropertyValue("--scroll-position");document.documentElement.scrollTo({top:parseInt(p,10),behavior:"instant"}),r("update:modelValue",!1)}function u(p){o(),r("confirm",p)}function f(){a(),r("cancel")}function h(p){const g=p.target;g&&g.nodeName==="DIALOG"&&a()}return s.watch(()=>A.modelValue,(p,g)=>{p&&p!==g?o():g&&a()},{immediate:!0}),s.onMounted(()=>{var p;(p=i.value)==null||p.addEventListener("cancel",g=>{g.preventDefault(),a()}),A.dismiss&&document.addEventListener("click",h),A.modelValue&&o()}),s.onBeforeUnmount(()=>{A.dismiss&&document.removeEventListener("click",h)}),e({show:o,close:a,confirm:u,cancel:f}),(p,g)=>(s.openBlock(),s.createElementBlock("dialog",{ref_key:"dialog",ref:i,class:s.normalizeClass(["modal-dialog",{[`modal-dialog--${t.size}`]:t.size}]),onClose:l},[s.createElementVNode("div",Cne,[s.createElementVNode("div",bne,[t.title?(s.openBlock(),s.createElementBlock("h5",vne,s.toDisplayString(t.title),1)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:a})]),s.createElementVNode("div",Ene,[s.renderSlot(p.$slots,"default")]),t.footer?(s.openBlock(),s.createElementBlock("div",kne,[s.renderSlot(p.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:a},s.toDisplayString(p.$t("common.close")),1)])):s.createCommentVNode("",!0)])],34))}}),Xce="",Fne=["onDragenter","onDragover","onDragleave","onDragend","onDrop","innerHTML"],Qne=["onDragstart","onDrag","onDragenter","onDragover","onDragleave","onDragend","onDrop"],Une={key:0,class:"sortable-list__drag-handle"},Tne={type:"button",class:"btn"},Ine={key:0,class:"sortable-list__item"},_ne=s.defineComponent({__name:"sortable-list",props:{modelValue:{type:Array,default:()=>[]},config:{type:Object,default:null},messages:{type:Object,default:{}},vertical:{type:Boolean,default:!0},showDragHandle:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!0}},emits:["update:modelValue","update:isDragging"],setup(t,{emit:e}){const n=t,A=s.ref(!1),r=s.ref(null),i=s.ref(null),o=e,a=s.computed({get(){return n.modelValue},set(F){o("update:modelValue",F)}}),l=s.computed(()=>{var F;return(F=document.querySelector(".is-drag-item"))==null?void 0:F.outerHTML}),u=s.useSlots(),f=s.computed(()=>u["list-append"]);function h(F,k){F.dataTransfer&&(F.dataTransfer.dropEffect="move",F.dataTransfer.effectAllowed="move",F.dataTransfer.setData("index",k.toLocaleString()),A.value=!0,r.value=k)}function p(F,k){A.value=!1,r.value=null,i.value=null}function g(F,k){}function B(F,k){i.value=r.value!==k?k:null}function y(F,k){}function C(F,k){}function b(F,k){if(F.dataTransfer){F.preventDefault();const v=Number(F.dataTransfer.getData("index")),U=k,E=[...a.value];(U||U===0)&&(v||v===0)&&E.splice(U,0,E.splice(v,1)[0]),a.value=E}}return s.watch(()=>A.value,F=>{o("update:isDragging",F)},{immediate:!0}),(F,k)=>{const v=s.resolveComponent("svg-icon");return s.openBlock(),s.createBlock(s.TransitionGroup,{name:"list",tag:"ul",class:s.normalizeClass(["sortable-list p-0 d-flex gap-2",{"flex-column":t.vertical,"flex-row flex-wrap":!t.vertical}]),onDragover:k[0]||(k[0]=s.withModifiers(()=>{},["prevent"])),onDragenter:k[1]||(k[1]=s.withModifiers(()=>{},["prevent"]))},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,(U,E)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:E},[t.showPreview&&A.value&&i.value===E?(s.openBlock(),s.createElementBlock("li",{key:0,class:"sortable-list__item is-drop-target",onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E),innerHTML:l.value},null,40,Fne)):s.createCommentVNode("",!0),s.createElementVNode("li",{class:s.normalizeClass(["sortable-list__item d-flex",{"is-drag-item":A.value&&r.value===E,"is-drop-target":A.value&&i.value===E&&!t.showPreview,"align-items-center gap-2":t.vertical}]),draggable:!0,onDragstart:I=>h(I,E),onDrag:I=>void 0,onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E)},[t.showDragHandle?(s.openBlock(),s.createElementBlock("div",Une,[s.createElementVNode("button",Tne,[s.createVNode(v,{symbol:"drag"})])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(["sortable-list__item-content",{"flex-grow-1":t.vertical}])},[s.renderSlot(F.$slots,"list-item",{item:U,index:E},()=>[s.createTextVNode(s.toDisplayString(U),1)])],2)],42,Qne)],64))),128)),f.value?(s.openBlock(),s.createElementBlock("li",Ine,[s.renderSlot(F.$slots,"list-append")])):s.createCommentVNode("",!0)]),_:3},8,["class"])}}}),qce="",xne={class:"touch-wrapper__controls"},One={class:"btn-group",role:"group"},Dne=s.defineComponent({__name:"touch-wrapper",props:{modelValue:{type:Number,default:1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=s.getCurrentInstance(),A=n&&n.appContext.config.globalProperties.$config,r=t,i=e,o=s.ref();function a(f){const h=r.modelValue+f;i("update:modelValue",f===0?1:h>=1?h:1)}function l(f){if(f.ctrlKey){f.preventDefault();const h=0-f.deltaY*.01;a(h)}}function u(f){f.preventDefault();const{scale:h}=f,p=h>1?h*.01:0-h;a(p)}return s.onMounted(()=>{o.value&&(o.value.addEventListener("wheel",l,!1),o.value.addEventListener("gesturestart",u,!1),o.value.addEventListener("gesturechange",u,!1),o.value.addEventListener("gestureend",u,!1))}),(f,h)=>{const p=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",{ref_key:"touchElement",ref:o,class:"touch-wrapper"},[s.renderSlot(f.$slots,"controls",{on:{setScale:a}},()=>[s.createElementVNode("div",xne,[s.createElementVNode("div",One,[s.createElementVNode("button",{type:"button",class:"btn",onClick:h[0]||(h[0]=g=>a(-1))},[s.createVNode(p,{symbol:"minus","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[1]||(h[1]=g=>a(0))},[s.createVNode(p,{symbol:"maximize","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[2]||(h[2]=g=>a(1))},[s.createVNode(p,{symbol:"plus","base-path":s.unref(A).iconSprite},null,8,["base-path"])])])])]),s.renderSlot(f.$slots,"default")],512)}}}),Zce="";Ye.Accordion=Vx,Ye.AccordionItem=Mx,Ye.AssetUploader=u5,Ye.AutoSuggest=xW,Ye.BaseButton=Kx,Ye.BaseCamera=ZW,Ye.BaseCarousel=nk,Ye.BaseForm=wne,Ye.BaseHeadline=Qx,Ye.BaseImage=Sx,Ye.BaseInput=zx,Ye.BaseParagraph=Tx,Ye.CheckGroup=QR,Ye.ColorPalette=mW,Ye.DomRenderer=qJ,Ye.FileUpload=t5,Ye.InputCheckbox=nO,Ye.InputColor=fW,Ye.InputDatepicker=bR,Ye.InputDatetime=oO,Ye.InputDropdown=QW,Ye.InputFile=$R,Ye.InputPassword=ER,Ye.InputTextarea=qx,Ye.LinkSharing=Bne,Ye.LoadingSpinner=Ex,Ye.MediaThumbnails=g5,Ye.ModalDialog=Sne,Ye.PopoverDialog=KB,Ye.PopoverNotifications=Kte,Ye.PopoverTooltip=Hte,Ye.ProgressSteps=S5,Ye.RadioButtons=DR,Ye.RadioGroup=Iu,Ye.RteEditor=lW,Ye.SelectMedia=GR,Ye.SortableList=_ne,Ye.SvgIcon=Cx,Ye.TouchWrapper=Dne,Ye.UploadGroup=tk,Object.defineProperty(Ye,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -36,7 +36,7 @@ declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent
|
|
|
36
36
|
type: BooleanConstructor;
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
|
-
}, {}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('./vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
39
|
+
}, {}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, ("update:modelValue" | "update:isDragging")[], "update:modelValue" | "update:isDragging", import('./vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
40
40
|
modelValue: {
|
|
41
41
|
type: {
|
|
42
42
|
(arrayLength: number): any[];
|
|
@@ -76,6 +76,7 @@ declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent
|
|
|
76
76
|
};
|
|
77
77
|
}>> & {
|
|
78
78
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
"onUpdate:isDragging"?: ((...args: any[]) => any) | undefined;
|
|
79
80
|
}, {
|
|
80
81
|
modelValue: any[];
|
|
81
82
|
messages: Record<string, any>;
|