ablok-components 0.1.124 → 0.1.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ablok-components.es.js +116 -116
- package/dist/ablok-components.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as NA, openBlock as q, createElementBlock as j, normalizeClass as
|
|
1
|
+
import { defineComponent as NA, openBlock as q, createElementBlock as j, normalizeClass as yA, createElementVNode as K, renderSlot as re, ref as MA, resolveComponent as Ct, createBlock as Ho, createCommentVNode as oe, computed as kA, resolveDynamicComponent as lS, withCtx as jr, createTextVNode as uS, toDisplayString as Te, createVNode as YA, withDirectives as Kn, vModelDynamic as cS, vModelText as Zd, withModifiers as Pn, vModelCheckbox as jd, Fragment as Vn, renderList as Ki, onBeforeMount as sC, reactive as oC, watch as Fn, onMounted as Pi, onBeforeUnmount as ks, h as pr, getCurrentInstance as ou, watchEffect as fS, nextTick as aC, unref as hA, Teleport as dS, shallowRef as Ah, markRaw as hS, customRef as pS, inject as gS, onUnmounted as BS, Text as mS, Transition as lC, vModelRadio as wS, vShow as aB, normalizeStyle as CS } from "vue";
|
|
2
2
|
import { applyStyles as yS, createPopper as vS } from "@popperjs/core";
|
|
3
3
|
const QS = {
|
|
4
4
|
class: "icon",
|
|
@@ -25,7 +25,7 @@ const QS = {
|
|
|
25
25
|
},
|
|
26
26
|
setup(t) {
|
|
27
27
|
return (A, e) => (q(), j("i", {
|
|
28
|
-
class:
|
|
28
|
+
class: yA(["svg-icon", {
|
|
29
29
|
[`svg-icon--${t.size}`]: t.size
|
|
30
30
|
}])
|
|
31
31
|
}, [
|
|
@@ -101,13 +101,13 @@ const US = ["src", "alt"], g3 = /* @__PURE__ */ NA({
|
|
|
101
101
|
const r = Ct("loading-spinner");
|
|
102
102
|
return t.src ? (q(), j("div", {
|
|
103
103
|
key: 0,
|
|
104
|
-
class:
|
|
104
|
+
class: yA(["base-image", {
|
|
105
105
|
"base-image--zoom": t.zoom
|
|
106
106
|
}])
|
|
107
107
|
}, [
|
|
108
108
|
t.spinner && !A.value ? (q(), Ho(r, { key: 0 })) : oe("", !0),
|
|
109
109
|
K("img", {
|
|
110
|
-
class:
|
|
110
|
+
class: yA(["", {
|
|
111
111
|
"opacity-0": !A.value,
|
|
112
112
|
"opacity-1": A.value
|
|
113
113
|
}]),
|
|
@@ -131,7 +131,7 @@ const B3 = /* @__PURE__ */ NA({
|
|
|
131
131
|
setup(t) {
|
|
132
132
|
const A = t, e = kA(() => A.tag || "p");
|
|
133
133
|
return (n, r) => (q(), Ho(lS(e.value), {
|
|
134
|
-
class:
|
|
134
|
+
class: yA(["headline", `${n.size} headline--${n.size}${n.className || ""}`])
|
|
135
135
|
}, {
|
|
136
136
|
default: jr(() => [
|
|
137
137
|
re(n.$slots, "default", {}, () => [
|
|
@@ -151,7 +151,7 @@ const B3 = /* @__PURE__ */ NA({
|
|
|
151
151
|
},
|
|
152
152
|
setup(t) {
|
|
153
153
|
return (A, e) => (q(), j("p", {
|
|
154
|
-
class:
|
|
154
|
+
class: yA(["base-paragraph", `${A.size || ""} ${A.className || ""}`]),
|
|
155
155
|
innerHTML: A.text
|
|
156
156
|
}, null, 10, IS));
|
|
157
157
|
}
|
|
@@ -195,7 +195,7 @@ const SS = { class: "accordion-item" }, TS = ["id"], _S = ["data-bs-target", "ar
|
|
|
195
195
|
id: `heading${t.id}`
|
|
196
196
|
}, [
|
|
197
197
|
K("button", {
|
|
198
|
-
class:
|
|
198
|
+
class: yA(["accordion-button", !t.modelValue && "collapsed"]),
|
|
199
199
|
type: "button",
|
|
200
200
|
"data-bs-toggle": "collapse",
|
|
201
201
|
"data-bs-target": `#target${t.id}`,
|
|
@@ -209,7 +209,7 @@ const SS = { class: "accordion-item" }, TS = ["id"], _S = ["data-bs-target", "ar
|
|
|
209
209
|
], 10, _S)
|
|
210
210
|
], 8, TS),
|
|
211
211
|
K("div", {
|
|
212
|
-
class:
|
|
212
|
+
class: yA(["accordion-collapse collapse", t.modelValue && "show"]),
|
|
213
213
|
id: `target${t.id}`,
|
|
214
214
|
"aria-labelledby": `heading${t.id}`,
|
|
215
215
|
"data-bs-parent": t.parent
|
|
@@ -292,7 +292,7 @@ const C3 = /* @__PURE__ */ MS(DS, [["render", NS]]), RS = ["type", "disabled"],
|
|
|
292
292
|
return q(), j("button", {
|
|
293
293
|
type: t.type,
|
|
294
294
|
disabled: t.disabled,
|
|
295
|
-
class:
|
|
295
|
+
class: yA(["btn", {
|
|
296
296
|
disabled: t.disabled,
|
|
297
297
|
pending: t.pending,
|
|
298
298
|
rounded: t.rounded,
|
|
@@ -316,7 +316,7 @@ const C3 = /* @__PURE__ */ MS(DS, [["render", NS]]), RS = ["type", "disabled"],
|
|
|
316
316
|
}, null, 8, ["symbol"])) : oe("", !0),
|
|
317
317
|
e.value ? (q(), j("span", {
|
|
318
318
|
key: 1,
|
|
319
|
-
class:
|
|
319
|
+
class: yA(["base-button__caption", { "icon-padding": t.icon }])
|
|
320
320
|
}, Te(t.caption), 3)) : oe("", !0)
|
|
321
321
|
])
|
|
322
322
|
], 10, RS);
|
|
@@ -401,7 +401,7 @@ const KS = { class: "input-group input__input-group" }, PS = ["type", "id", "nam
|
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
return (i, s) => (q(), j("div", {
|
|
404
|
-
class:
|
|
404
|
+
class: yA(["input", `input--${t.type}`])
|
|
405
405
|
}, [
|
|
406
406
|
K("div", KS, [
|
|
407
407
|
re(i.$slots, "input-prepend", { slotScope: "props" }),
|
|
@@ -418,7 +418,7 @@ const KS = { class: "input-group input__input-group" }, PS = ["type", "id", "nam
|
|
|
418
418
|
maxlength: t.maxlength,
|
|
419
419
|
"true-value": t.trueValue,
|
|
420
420
|
"false-value": t.falseValue,
|
|
421
|
-
class:
|
|
421
|
+
class: yA(["form-control", {
|
|
422
422
|
"form-check-input": t.type === "checkbox"
|
|
423
423
|
}]),
|
|
424
424
|
"aria-label": t.label,
|
|
@@ -433,7 +433,7 @@ const KS = { class: "input-group input__input-group" }, PS = ["type", "id", "nam
|
|
|
433
433
|
t.label ? (q(), j("label", {
|
|
434
434
|
key: 0,
|
|
435
435
|
for: t.id,
|
|
436
|
-
class:
|
|
436
|
+
class: yA(["input__label", {
|
|
437
437
|
"form-check-label": t.type === "checkbox"
|
|
438
438
|
}]),
|
|
439
439
|
innerHTML: `${t.label}${t.required ? " *" : ""}`
|
|
@@ -520,7 +520,7 @@ const GS = { class: "input input--textarea" }, WS = ["type", "id", "name", "plac
|
|
|
520
520
|
"read-only": t.readOnly,
|
|
521
521
|
required: t.required,
|
|
522
522
|
maxlength: t.maxlength,
|
|
523
|
-
class:
|
|
523
|
+
class: yA(["form-control", {}]),
|
|
524
524
|
"aria-label": t.label
|
|
525
525
|
}, null, 8, WS), [
|
|
526
526
|
[Zd, r.value]
|
|
@@ -529,7 +529,7 @@ const GS = { class: "input input--textarea" }, WS = ["type", "id", "name", "plac
|
|
|
529
529
|
re(i.$slots, "label", {}, () => [
|
|
530
530
|
K("label", {
|
|
531
531
|
for: t.id,
|
|
532
|
-
class:
|
|
532
|
+
class: yA(["input__label", {
|
|
533
533
|
"form-check-label": t.type === "checkbox"
|
|
534
534
|
}]),
|
|
535
535
|
innerHTML: `${t.label}${t.required ? " *" : ""}`
|
|
@@ -681,7 +681,7 @@ const zS = { class: "input-group input__input-group" }, qS = ["id", "name", "pla
|
|
|
681
681
|
}
|
|
682
682
|
});
|
|
683
683
|
return (i, s) => (q(), j("div", {
|
|
684
|
-
class:
|
|
684
|
+
class: yA(["input", `input--${t.type}`])
|
|
685
685
|
}, [
|
|
686
686
|
K("div", zS, [
|
|
687
687
|
re(i.$slots, "input-prepend", { slotScope: "props" }),
|
|
@@ -938,7 +938,7 @@ const sT = ["id", "name", "multiple", "accept", "disabled"], oT = { class: "inpu
|
|
|
938
938
|
}, { deep: !0 }), Fn(() => s, (u, c) => {
|
|
939
939
|
n("update:modelValue", u);
|
|
940
940
|
}, { deep: !0 }), (u, c) => (q(), j("div", {
|
|
941
|
-
class:
|
|
941
|
+
class: yA(["input input-file", "input-file--primary"])
|
|
942
942
|
}, [
|
|
943
943
|
K("input", {
|
|
944
944
|
ref_key: "input",
|
|
@@ -9194,8 +9194,8 @@ function Mx(t, A, e, n, r) {
|
|
|
9194
9194
|
if (aA && !t.state.selection.eq(aA)) {
|
|
9195
9195
|
if (wt && vn && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (rA) => rA(t, wi(13, "Enter"))))
|
|
9196
9196
|
return;
|
|
9197
|
-
let
|
|
9198
|
-
M == "pointer" ?
|
|
9197
|
+
let vA = t.state.tr.setSelection(aA);
|
|
9198
|
+
M == "pointer" ? vA.setMeta("pointer", !0) : M == "key" && vA.scrollIntoView(), i && vA.setMeta("composition", i), t.dispatch(vA);
|
|
9199
9199
|
}
|
|
9200
9200
|
return;
|
|
9201
9201
|
}
|
|
@@ -14678,7 +14678,7 @@ function PM(t, A) {
|
|
|
14678
14678
|
var R = y.props.touch;
|
|
14679
14679
|
return Array.isArray(R) ? R : [R, 0];
|
|
14680
14680
|
}
|
|
14681
|
-
function
|
|
14681
|
+
function vA() {
|
|
14682
14682
|
return aA()[0] === "hold";
|
|
14683
14683
|
}
|
|
14684
14684
|
function rA() {
|
|
@@ -14798,7 +14798,7 @@ function PM(t, A) {
|
|
|
14798
14798
|
});
|
|
14799
14799
|
}
|
|
14800
14800
|
function Mt() {
|
|
14801
|
-
|
|
14801
|
+
vA() && (ft("touchstart", hn, {
|
|
14802
14802
|
passive: !0
|
|
14803
14803
|
}), ft("touchend", UA, {
|
|
14804
14804
|
passive: !0
|
|
@@ -14860,7 +14860,7 @@ function PM(t, A) {
|
|
|
14860
14860
|
y.props.trigger.indexOf("focusin") < 0 && R.target !== fA() || y.props.interactive && R.relatedTarget && F.contains(R.relatedTarget) || lA(R);
|
|
14861
14861
|
}
|
|
14862
14862
|
function xe(R) {
|
|
14863
|
-
return Mn.isTouch ?
|
|
14863
|
+
return Mn.isTouch ? vA() !== R.type.indexOf("touch") >= 0 : !1;
|
|
14864
14864
|
}
|
|
14865
14865
|
function pn() {
|
|
14866
14866
|
vr();
|
|
@@ -15550,7 +15550,7 @@ const JM = (t = {}) => {
|
|
|
15550
15550
|
return q(), j("div", XM, [
|
|
15551
15551
|
hA(r) ? (q(), j("div", YM, [
|
|
15552
15552
|
K("button", {
|
|
15553
|
-
class:
|
|
15553
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("bold") }]),
|
|
15554
15554
|
onClick: s[0] || (s[0] = (u) => {
|
|
15555
15555
|
var c;
|
|
15556
15556
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleBold().run();
|
|
@@ -15560,7 +15560,7 @@ const JM = (t = {}) => {
|
|
|
15560
15560
|
YA(a, { symbol: "bold" })
|
|
15561
15561
|
], 10, zM),
|
|
15562
15562
|
K("button", {
|
|
15563
|
-
class:
|
|
15563
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("italic") }]),
|
|
15564
15564
|
onClick: s[1] || (s[1] = (u) => {
|
|
15565
15565
|
var c;
|
|
15566
15566
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleItalic().run();
|
|
@@ -15570,7 +15570,7 @@ const JM = (t = {}) => {
|
|
|
15570
15570
|
YA(a, { symbol: "italic" })
|
|
15571
15571
|
], 10, qM),
|
|
15572
15572
|
K("button", {
|
|
15573
|
-
class:
|
|
15573
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("strike") }]),
|
|
15574
15574
|
onClick: s[2] || (s[2] = (u) => {
|
|
15575
15575
|
var c;
|
|
15576
15576
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleStrike().run();
|
|
@@ -15578,7 +15578,7 @@ const JM = (t = {}) => {
|
|
|
15578
15578
|
disabled: !hA(r).can().chain().focus().toggleStrike().run()
|
|
15579
15579
|
}, " strikethrough ", 10, ZM),
|
|
15580
15580
|
K("button", {
|
|
15581
|
-
class:
|
|
15581
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("code") }]),
|
|
15582
15582
|
onClick: s[3] || (s[3] = (u) => {
|
|
15583
15583
|
var c;
|
|
15584
15584
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleCode().run();
|
|
@@ -15602,56 +15602,56 @@ const JM = (t = {}) => {
|
|
|
15602
15602
|
})
|
|
15603
15603
|
}, " clear nodes "),
|
|
15604
15604
|
K("button", {
|
|
15605
|
-
class:
|
|
15605
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("paragraph") }]),
|
|
15606
15606
|
onClick: s[6] || (s[6] = (u) => {
|
|
15607
15607
|
var c;
|
|
15608
15608
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().setParagraph().run();
|
|
15609
15609
|
})
|
|
15610
15610
|
}, " paragraph ", 2),
|
|
15611
15611
|
K("button", {
|
|
15612
|
-
class:
|
|
15612
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("heading", { level: 1 }) }]),
|
|
15613
15613
|
onClick: s[7] || (s[7] = (u) => {
|
|
15614
15614
|
var c;
|
|
15615
15615
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleHeading({ level: 1 }).run();
|
|
15616
15616
|
})
|
|
15617
15617
|
}, " h1 ", 2),
|
|
15618
15618
|
K("button", {
|
|
15619
|
-
class:
|
|
15619
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("heading", { level: 2 }) }]),
|
|
15620
15620
|
onClick: s[8] || (s[8] = (u) => {
|
|
15621
15621
|
var c;
|
|
15622
15622
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleHeading({ level: 2 }).run();
|
|
15623
15623
|
})
|
|
15624
15624
|
}, " h2 ", 2),
|
|
15625
15625
|
K("button", {
|
|
15626
|
-
class:
|
|
15626
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("heading", { level: 3 }) }]),
|
|
15627
15627
|
onClick: s[9] || (s[9] = (u) => {
|
|
15628
15628
|
var c;
|
|
15629
15629
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleHeading({ level: 3 }).run();
|
|
15630
15630
|
})
|
|
15631
15631
|
}, " h3 ", 2),
|
|
15632
15632
|
K("button", {
|
|
15633
|
-
class:
|
|
15633
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("heading", { level: 4 }) }]),
|
|
15634
15634
|
onClick: s[10] || (s[10] = (u) => {
|
|
15635
15635
|
var c;
|
|
15636
15636
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleHeading({ level: 4 }).run();
|
|
15637
15637
|
})
|
|
15638
15638
|
}, " h4 ", 2),
|
|
15639
15639
|
K("button", {
|
|
15640
|
-
class:
|
|
15640
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("heading", { level: 5 }) }]),
|
|
15641
15641
|
onClick: s[11] || (s[11] = (u) => {
|
|
15642
15642
|
var c;
|
|
15643
15643
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleHeading({ level: 5 }).run();
|
|
15644
15644
|
})
|
|
15645
15645
|
}, " h5 ", 2),
|
|
15646
15646
|
K("button", {
|
|
15647
|
-
class:
|
|
15647
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("heading", { level: 6 }) }]),
|
|
15648
15648
|
onClick: s[12] || (s[12] = (u) => {
|
|
15649
15649
|
var c;
|
|
15650
15650
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleHeading({ level: 6 }).run();
|
|
15651
15651
|
})
|
|
15652
15652
|
}, " h6 ", 2),
|
|
15653
15653
|
K("button", {
|
|
15654
|
-
class:
|
|
15654
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("bulletList") }]),
|
|
15655
15655
|
onClick: s[13] || (s[13] = (u) => {
|
|
15656
15656
|
var c;
|
|
15657
15657
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleBulletList().run();
|
|
@@ -15660,21 +15660,21 @@ const JM = (t = {}) => {
|
|
|
15660
15660
|
YA(a, { id: "list" })
|
|
15661
15661
|
], 2),
|
|
15662
15662
|
K("button", {
|
|
15663
|
-
class:
|
|
15663
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("orderedList") }]),
|
|
15664
15664
|
onClick: s[14] || (s[14] = (u) => {
|
|
15665
15665
|
var c;
|
|
15666
15666
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleOrderedList().run();
|
|
15667
15667
|
})
|
|
15668
15668
|
}, " ordered list ", 2),
|
|
15669
15669
|
K("button", {
|
|
15670
|
-
class:
|
|
15670
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("codeBlock") }]),
|
|
15671
15671
|
onClick: s[15] || (s[15] = (u) => {
|
|
15672
15672
|
var c;
|
|
15673
15673
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleCodeBlock().run();
|
|
15674
15674
|
})
|
|
15675
15675
|
}, " code block ", 2),
|
|
15676
15676
|
K("button", {
|
|
15677
|
-
class:
|
|
15677
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("blockquote") }]),
|
|
15678
15678
|
onClick: s[16] || (s[16] = (u) => {
|
|
15679
15679
|
var c;
|
|
15680
15680
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleBlockquote().run();
|
|
@@ -15711,14 +15711,14 @@ const JM = (t = {}) => {
|
|
|
15711
15711
|
disabled: !hA(r).can().chain().focus().redo().run()
|
|
15712
15712
|
}, " redo ", 8, eD),
|
|
15713
15713
|
K("button", {
|
|
15714
|
-
class:
|
|
15714
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive("highlight") }]),
|
|
15715
15715
|
onClick: s[21] || (s[21] = (u) => {
|
|
15716
15716
|
var c;
|
|
15717
15717
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().toggleHighlight().run();
|
|
15718
15718
|
})
|
|
15719
15719
|
}, " highlight ", 2),
|
|
15720
15720
|
K("button", {
|
|
15721
|
-
class:
|
|
15721
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive({ textAlign: "left" }) }]),
|
|
15722
15722
|
onClick: s[22] || (s[22] = (u) => {
|
|
15723
15723
|
var c;
|
|
15724
15724
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().setTextAlign("left").run();
|
|
@@ -15727,7 +15727,7 @@ const JM = (t = {}) => {
|
|
|
15727
15727
|
YA(a, { symbol: "align-left" })
|
|
15728
15728
|
], 2),
|
|
15729
15729
|
K("button", {
|
|
15730
|
-
class:
|
|
15730
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive({ textAlign: "center" }) }]),
|
|
15731
15731
|
onClick: s[23] || (s[23] = (u) => {
|
|
15732
15732
|
var c;
|
|
15733
15733
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().setTextAlign("center").run();
|
|
@@ -15736,7 +15736,7 @@ const JM = (t = {}) => {
|
|
|
15736
15736
|
YA(a, { symbol: "align-center" })
|
|
15737
15737
|
], 2),
|
|
15738
15738
|
K("button", {
|
|
15739
|
-
class:
|
|
15739
|
+
class: yA(["btn btn-light", { "is-active": hA(r).isActive({ textAlign: "right" }) }]),
|
|
15740
15740
|
onClick: s[24] || (s[24] = (u) => {
|
|
15741
15741
|
var c;
|
|
15742
15742
|
return (c = hA(r)) == null ? void 0 : c.chain().focus().setTextAlign("right").run();
|
|
@@ -16210,7 +16210,7 @@ function TD(t, A = {}) {
|
|
|
16210
16210
|
const T = I.currentPeek() === "|";
|
|
16211
16211
|
return I.resetPeek(), T;
|
|
16212
16212
|
}
|
|
16213
|
-
function
|
|
16213
|
+
function vA(I) {
|
|
16214
16214
|
const T = Q(I), $ = I.currentPeek() === "%" && I.peek() === "{";
|
|
16215
16215
|
return I.resetPeek(), {
|
|
16216
16216
|
isModulo: $,
|
|
@@ -16476,7 +16476,7 @@ function TD(t, A = {}) {
|
|
|
16476
16476
|
default: {
|
|
16477
16477
|
if (aA(I))
|
|
16478
16478
|
return $ = p(T, 1, UA(I)), T.braceNest = 0, T.inLinked = !1, $;
|
|
16479
|
-
const { isModulo: ae, hasSpace: PA } =
|
|
16479
|
+
const { isModulo: ae, hasSpace: PA } = vA(I);
|
|
16480
16480
|
if (ae)
|
|
16481
16481
|
return PA ? p(T, 0, ie(I)) : p(T, 4, WA(I));
|
|
16482
16482
|
if (rA(I))
|
|
@@ -16631,8 +16631,8 @@ function LD(t = {}) {
|
|
|
16631
16631
|
}
|
|
16632
16632
|
}
|
|
16633
16633
|
} while (y.currentType !== 14 && y.currentType !== 1);
|
|
16634
|
-
const aA = y.currentType === 1 ? y.lastOffset : S.currentOffset(),
|
|
16635
|
-
return a(D, aA,
|
|
16634
|
+
const aA = y.currentType === 1 ? y.lastOffset : S.currentOffset(), vA = y.currentType === 1 ? y.lastEndLoc : S.currentPosition();
|
|
16635
|
+
return a(D, aA, vA), D;
|
|
16636
16636
|
}
|
|
16637
16637
|
function E(S, y, L, F) {
|
|
16638
16638
|
const D = S.context();
|
|
@@ -17450,7 +17450,7 @@ let Gm = 0;
|
|
|
17450
17450
|
function bk(t = {}) {
|
|
17451
17451
|
const A = me(t.onWarn) ? t.onWarn : yr, e = oA(t.version) ? t.version : wk, n = oA(t.locale) || me(t.locale) ? t.locale : Jo, r = me(n) ? Jo : n, i = He(t.fallbackLocale) || DA(t.fallbackLocale) || oA(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : r, s = DA(t.messages) ? t.messages : { [r]: {} }, a = DA(t.datetimeFormats) ? t.datetimeFormats : { [r]: {} }, u = DA(t.numberFormats) ? t.numberFormats : { [r]: {} }, c = lt({}, t.modifiers || {}, Ck()), f = t.pluralRules || {}, h = me(t.missing) ? t.missing : null, p = de(t.missingWarn) || Hs(t.missingWarn) ? t.missingWarn : !0, B = de(t.fallbackWarn) || Hs(t.fallbackWarn) ? t.fallbackWarn : !0, m = !!t.fallbackFormat, Q = !!t.unresolving, E = me(t.postTranslation) ? t.postTranslation : null, U = DA(t.processor) ? t.processor : null, x = de(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, S = !!t.escapeParameter, y = me(t.messageCompiler) ? t.messageCompiler : ay;
|
|
17452
17452
|
process.env.NODE_ENV !== "production" && me(t.messageCompiler) && ey(Ni(mt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
17453
|
-
const L = me(t.messageResolver) ? t.messageResolver : ly || Ak, F = me(t.localeFallbacker) ? t.localeFallbacker : uy || gk, D = Ae(t.fallbackContext) ? t.fallbackContext : void 0, P = t, M = Ae(P.__datetimeFormatters) ? P.__datetimeFormatters : /* @__PURE__ */ new Map(), aA = Ae(P.__numberFormatters) ? P.__numberFormatters : /* @__PURE__ */ new Map(),
|
|
17453
|
+
const L = me(t.messageResolver) ? t.messageResolver : ly || Ak, F = me(t.localeFallbacker) ? t.localeFallbacker : uy || gk, D = Ae(t.fallbackContext) ? t.fallbackContext : void 0, P = t, M = Ae(P.__datetimeFormatters) ? P.__datetimeFormatters : /* @__PURE__ */ new Map(), aA = Ae(P.__numberFormatters) ? P.__numberFormatters : /* @__PURE__ */ new Map(), vA = Ae(P.__meta) ? P.__meta : {};
|
|
17454
17454
|
Gm++;
|
|
17455
17455
|
const rA = {
|
|
17456
17456
|
version: e,
|
|
@@ -17474,9 +17474,9 @@ function bk(t = {}) {
|
|
|
17474
17474
|
localeFallbacker: F,
|
|
17475
17475
|
fallbackContext: D,
|
|
17476
17476
|
onWarn: A,
|
|
17477
|
-
__meta:
|
|
17477
|
+
__meta: vA
|
|
17478
17478
|
};
|
|
17479
|
-
return rA.datetimeFormats = a, rA.numberFormats = u, rA.__datetimeFormatters = M, rA.__numberFormatters = aA, process.env.NODE_ENV !== "production" && (rA.__v_emitter = P.__v_emitter != null ? P.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ck(rA, e,
|
|
17479
|
+
return rA.datetimeFormats = a, rA.numberFormats = u, rA.__datetimeFormatters = M, rA.__numberFormatters = aA, process.env.NODE_ENV !== "production" && (rA.__v_emitter = P.__v_emitter != null ? P.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ck(rA, e, vA), rA;
|
|
17480
17480
|
}
|
|
17481
17481
|
function bu(t, A) {
|
|
17482
17482
|
return t instanceof RegExp ? t.test(A) : t;
|
|
@@ -17651,7 +17651,7 @@ function Jm(t, ...A) {
|
|
|
17651
17651
|
}, P = an(y) ? y : Cy(t, u, x, y, L, D);
|
|
17652
17652
|
if (F)
|
|
17653
17653
|
return y;
|
|
17654
|
-
const M = Mk(t, x, S, c), aA = lk(M),
|
|
17654
|
+
const M = Mk(t, x, S, c), aA = lk(M), vA = Ok(t, P, aA), rA = n ? n(vA, u) : vA;
|
|
17655
17655
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
17656
17656
|
const fA = {
|
|
17657
17657
|
timestamp: Date.now(),
|
|
@@ -18213,7 +18213,7 @@ function Wk(t = {}, A) {
|
|
|
18213
18213
|
const X = bk(N);
|
|
18214
18214
|
return r && Vm(X), X;
|
|
18215
18215
|
})(), ao(M, c.value, f.value);
|
|
18216
|
-
function
|
|
18216
|
+
function vA() {
|
|
18217
18217
|
return [
|
|
18218
18218
|
c.value,
|
|
18219
18219
|
f.value,
|
|
@@ -18249,7 +18249,7 @@ function Wk(t = {}, A) {
|
|
|
18249
18249
|
return N !== "translate" || !X.resolvedMessage;
|
|
18250
18250
|
}
|
|
18251
18251
|
const qA = (N, X, xA, ce, Ft, Tn) => {
|
|
18252
|
-
|
|
18252
|
+
vA();
|
|
18253
18253
|
let zt;
|
|
18254
18254
|
try {
|
|
18255
18255
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (M.fallbackContext = e ? Fk() : void 0), zt = N(M);
|
|
@@ -18676,7 +18676,7 @@ function eN(t, A, e, n = {}) {
|
|
|
18676
18676
|
set: (Y) => {
|
|
18677
18677
|
i.value && (i.value.fallbackLocale.value = Y), u.value = Y;
|
|
18678
18678
|
}
|
|
18679
|
-
}), M = kA(() => i.value ? i.value.messages.value : c.value), aA = kA(() => f.value),
|
|
18679
|
+
}), M = kA(() => i.value ? i.value.messages.value : c.value), aA = kA(() => f.value), vA = kA(() => h.value);
|
|
18680
18680
|
function rA() {
|
|
18681
18681
|
return i.value ? i.value.getPostTranslationHandler() : U;
|
|
18682
18682
|
}
|
|
@@ -18745,7 +18745,7 @@ function eN(t, A, e, n = {}) {
|
|
|
18745
18745
|
fallbackLocale: P,
|
|
18746
18746
|
messages: M,
|
|
18747
18747
|
datetimeFormats: aA,
|
|
18748
|
-
numberFormats:
|
|
18748
|
+
numberFormats: vA,
|
|
18749
18749
|
get inheritLocale() {
|
|
18750
18750
|
return i.value ? i.value.inheritLocale : s;
|
|
18751
18751
|
},
|
|
@@ -18972,7 +18972,7 @@ const tN = { class: "input input-dropdown" }, nN = { class: "dropdown" }, rN = {
|
|
|
18972
18972
|
key: `${h.value}-${p}`
|
|
18973
18973
|
}, [
|
|
18974
18974
|
K("div", {
|
|
18975
|
-
class:
|
|
18975
|
+
class: yA(["dropdown-item", h.active && "active"])
|
|
18976
18976
|
}, [
|
|
18977
18977
|
K("div", lN, [
|
|
18978
18978
|
t.multiple ? Kn((q(), j("input", {
|
|
@@ -19028,7 +19028,7 @@ var lo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19028
19028
|
zl.exports;
|
|
19029
19029
|
(function(t, A) {
|
|
19030
19030
|
(function() {
|
|
19031
|
-
var e, n = "4.17.21", r = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", a = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", c = 500, f = "__lodash_placeholder__", h = 1, p = 2, B = 4, m = 1, Q = 2, E = 1, U = 2, x = 4, S = 8, y = 16, L = 32, F = 64, D = 128, P = 256, M = 512, aA = 30,
|
|
19031
|
+
var e, n = "4.17.21", r = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", a = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", c = 500, f = "__lodash_placeholder__", h = 1, p = 2, B = 4, m = 1, Q = 2, E = 1, U = 2, x = 4, S = 8, y = 16, L = 32, F = 64, D = 128, P = 256, M = 512, aA = 30, vA = "...", rA = 800, fA = 16, RA = 1, he = 2, $A = 3, KA = 1 / 0, iA = 9007199254740991, wA = 17976931348623157e292, ee = 0 / 0, zA = 4294967295, qA = zA - 1, WA = zA >>> 1, ie = [
|
|
19032
19032
|
["ary", D],
|
|
19033
19033
|
["bind", E],
|
|
19034
19034
|
["bindKey", U],
|
|
@@ -19315,8 +19315,8 @@ zl.exports;
|
|
|
19315
19315
|
return O.apply(V, k);
|
|
19316
19316
|
}
|
|
19317
19317
|
function xQ(O, V, k, nA) {
|
|
19318
|
-
for (var
|
|
19319
|
-
var De = O[
|
|
19318
|
+
for (var QA = -1, jA = O == null ? 0 : O.length; ++QA < jA; ) {
|
|
19319
|
+
var De = O[QA];
|
|
19320
19320
|
V(nA, De, k(De), O);
|
|
19321
19321
|
}
|
|
19322
19322
|
return nA;
|
|
@@ -19338,9 +19338,9 @@ zl.exports;
|
|
|
19338
19338
|
return !0;
|
|
19339
19339
|
}
|
|
19340
19340
|
function Er(O, V) {
|
|
19341
|
-
for (var k = -1, nA = O == null ? 0 : O.length,
|
|
19341
|
+
for (var k = -1, nA = O == null ? 0 : O.length, QA = 0, jA = []; ++k < nA; ) {
|
|
19342
19342
|
var De = O[k];
|
|
19343
|
-
V(De, k, O) && (jA[
|
|
19343
|
+
V(De, k, O) && (jA[QA++] = De);
|
|
19344
19344
|
}
|
|
19345
19345
|
return jA;
|
|
19346
19346
|
}
|
|
@@ -19349,31 +19349,31 @@ zl.exports;
|
|
|
19349
19349
|
return !!k && $i(O, V, 0) > -1;
|
|
19350
19350
|
}
|
|
19351
19351
|
function Ju(O, V, k) {
|
|
19352
|
-
for (var nA = -1,
|
|
19352
|
+
for (var nA = -1, QA = O == null ? 0 : O.length; ++nA < QA; )
|
|
19353
19353
|
if (k(V, O[nA]))
|
|
19354
19354
|
return !0;
|
|
19355
19355
|
return !1;
|
|
19356
19356
|
}
|
|
19357
19357
|
function Ce(O, V) {
|
|
19358
|
-
for (var k = -1, nA = O == null ? 0 : O.length,
|
|
19359
|
-
|
|
19360
|
-
return
|
|
19358
|
+
for (var k = -1, nA = O == null ? 0 : O.length, QA = Array(nA); ++k < nA; )
|
|
19359
|
+
QA[k] = V(O[k], k, O);
|
|
19360
|
+
return QA;
|
|
19361
19361
|
}
|
|
19362
19362
|
function Fr(O, V) {
|
|
19363
|
-
for (var k = -1, nA = V.length,
|
|
19364
|
-
O[
|
|
19363
|
+
for (var k = -1, nA = V.length, QA = O.length; ++k < nA; )
|
|
19364
|
+
O[QA + k] = V[k];
|
|
19365
19365
|
return O;
|
|
19366
19366
|
}
|
|
19367
19367
|
function Xu(O, V, k, nA) {
|
|
19368
|
-
var
|
|
19369
|
-
for (nA && jA && (k = O[++
|
|
19370
|
-
k = V(k, O[
|
|
19368
|
+
var QA = -1, jA = O == null ? 0 : O.length;
|
|
19369
|
+
for (nA && jA && (k = O[++QA]); ++QA < jA; )
|
|
19370
|
+
k = V(k, O[QA], QA, O);
|
|
19371
19371
|
return k;
|
|
19372
19372
|
}
|
|
19373
19373
|
function LQ(O, V, k, nA) {
|
|
19374
|
-
var
|
|
19375
|
-
for (nA &&
|
|
19376
|
-
k = V(k, O[
|
|
19374
|
+
var QA = O == null ? 0 : O.length;
|
|
19375
|
+
for (nA && QA && (k = O[--QA]); QA--; )
|
|
19376
|
+
k = V(k, O[QA], QA, O);
|
|
19377
19377
|
return k;
|
|
19378
19378
|
}
|
|
19379
19379
|
function Yu(O, V) {
|
|
@@ -19391,13 +19391,13 @@ zl.exports;
|
|
|
19391
19391
|
}
|
|
19392
19392
|
function up(O, V, k) {
|
|
19393
19393
|
var nA;
|
|
19394
|
-
return k(O, function(
|
|
19395
|
-
if (V(
|
|
19394
|
+
return k(O, function(QA, jA, De) {
|
|
19395
|
+
if (V(QA, jA, De))
|
|
19396
19396
|
return nA = jA, !1;
|
|
19397
19397
|
}), nA;
|
|
19398
19398
|
}
|
|
19399
19399
|
function aa(O, V, k, nA) {
|
|
19400
|
-
for (var
|
|
19400
|
+
for (var QA = O.length, jA = k + (nA ? 1 : -1); nA ? jA-- : ++jA < QA; )
|
|
19401
19401
|
if (V(O[jA], jA, O))
|
|
19402
19402
|
return jA;
|
|
19403
19403
|
return -1;
|
|
@@ -19406,9 +19406,9 @@ zl.exports;
|
|
|
19406
19406
|
return V === V ? YQ(O, V, k) : aa(O, cp, k);
|
|
19407
19407
|
}
|
|
19408
19408
|
function kQ(O, V, k, nA) {
|
|
19409
|
-
for (var
|
|
19410
|
-
if (nA(O[
|
|
19411
|
-
return
|
|
19409
|
+
for (var QA = k - 1, jA = O.length; ++QA < jA; )
|
|
19410
|
+
if (nA(O[QA], V))
|
|
19411
|
+
return QA;
|
|
19412
19412
|
return -1;
|
|
19413
19413
|
}
|
|
19414
19414
|
function cp(O) {
|
|
@@ -19428,8 +19428,8 @@ zl.exports;
|
|
|
19428
19428
|
return O == null ? e : O[V];
|
|
19429
19429
|
};
|
|
19430
19430
|
}
|
|
19431
|
-
function dp(O, V, k, nA,
|
|
19432
|
-
return
|
|
19431
|
+
function dp(O, V, k, nA, QA) {
|
|
19432
|
+
return QA(O, function(jA, De, fe) {
|
|
19433
19433
|
k = nA ? (nA = !1, jA) : V(k, jA, De, fe);
|
|
19434
19434
|
}), k;
|
|
19435
19435
|
}
|
|
@@ -19440,7 +19440,7 @@ zl.exports;
|
|
|
19440
19440
|
return O;
|
|
19441
19441
|
}
|
|
19442
19442
|
function Zu(O, V) {
|
|
19443
|
-
for (var k, nA = -1,
|
|
19443
|
+
for (var k, nA = -1, QA = O.length; ++nA < QA; ) {
|
|
19444
19444
|
var jA = V(O[nA]);
|
|
19445
19445
|
jA !== e && (k = k === e ? jA : k + jA);
|
|
19446
19446
|
}
|
|
@@ -19507,8 +19507,8 @@ zl.exports;
|
|
|
19507
19507
|
}
|
|
19508
19508
|
function ec(O) {
|
|
19509
19509
|
var V = -1, k = Array(O.size);
|
|
19510
|
-
return O.forEach(function(nA,
|
|
19511
|
-
k[++V] = [
|
|
19510
|
+
return O.forEach(function(nA, QA) {
|
|
19511
|
+
k[++V] = [QA, nA];
|
|
19512
19512
|
}), k;
|
|
19513
19513
|
}
|
|
19514
19514
|
function Bp(O, V) {
|
|
@@ -19517,9 +19517,9 @@ zl.exports;
|
|
|
19517
19517
|
};
|
|
19518
19518
|
}
|
|
19519
19519
|
function br(O, V) {
|
|
19520
|
-
for (var k = -1, nA = O.length,
|
|
19520
|
+
for (var k = -1, nA = O.length, QA = 0, jA = []; ++k < nA; ) {
|
|
19521
19521
|
var De = O[k];
|
|
19522
|
-
(De === V || De === f) && (O[k] = f, jA[
|
|
19522
|
+
(De === V || De === f) && (O[k] = f, jA[QA++] = k);
|
|
19523
19523
|
}
|
|
19524
19524
|
return jA;
|
|
19525
19525
|
}
|
|
@@ -19536,7 +19536,7 @@ zl.exports;
|
|
|
19536
19536
|
}), k;
|
|
19537
19537
|
}
|
|
19538
19538
|
function YQ(O, V, k) {
|
|
19539
|
-
for (var nA = k - 1,
|
|
19539
|
+
for (var nA = k - 1, QA = O.length; ++nA < QA; )
|
|
19540
19540
|
if (O[nA] === V)
|
|
19541
19541
|
return nA;
|
|
19542
19542
|
return -1;
|
|
@@ -19572,7 +19572,7 @@ zl.exports;
|
|
|
19572
19572
|
}
|
|
19573
19573
|
var eE = function O(V) {
|
|
19574
19574
|
V = V == null ? ze : Yi.defaults(ze.Object(), V, Yi.pick(ze, QQ));
|
|
19575
|
-
var k = V.Array, nA = V.Date,
|
|
19575
|
+
var k = V.Array, nA = V.Date, QA = V.Error, jA = V.Function, De = V.Math, fe = V.Object, tc = V.RegExp, tE = V.String, jt = V.TypeError, ua = k.prototype, nE = jA.prototype, zi = fe.prototype, ca = V["__core-js_shared__"], fa = nE.toString, se = zi.hasOwnProperty, rE = 0, wp = function() {
|
|
19576
19576
|
var o = /[^.]+$/.exec(ca && ca.keys && ca.keys.IE_PROTO || "");
|
|
19577
19577
|
return o ? "Symbol(src)_1." + o : "";
|
|
19578
19578
|
}(), da = zi.toString, iE = fa.call(fe), sE = ze._, oE = tc(
|
|
@@ -21982,7 +21982,7 @@ zl.exports;
|
|
|
21982
21982
|
}
|
|
21983
21983
|
function oI(o) {
|
|
21984
21984
|
if (GF(o))
|
|
21985
|
-
throw new
|
|
21985
|
+
throw new QA(i);
|
|
21986
21986
|
return Dp(o);
|
|
21987
21987
|
}
|
|
21988
21988
|
function aI(o) {
|
|
@@ -22346,7 +22346,7 @@ __p += '`), GA && (J += `' +
|
|
|
22346
22346
|
}
|
|
22347
22347
|
`;
|
|
22348
22348
|
else if ($v.test(BA))
|
|
22349
|
-
throw new
|
|
22349
|
+
throw new QA(a);
|
|
22350
22350
|
J = (H ? J.replace(VA, "") : J).replace(Ye, "$1").replace(bt, "$1;"), J = "function(" + (BA || "obj") + `) {
|
|
22351
22351
|
` + (BA ? "" : `obj || (obj = {});
|
|
22352
22352
|
`) + "var __t, __p = ''" + (_ ? ", __e = _.escape" : "") + (H ? `, __j = Array.prototype.join;
|
|
@@ -22392,7 +22392,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
22392
22392
|
return _r(g, w).join("");
|
|
22393
22393
|
}
|
|
22394
22394
|
function y1(o, l) {
|
|
22395
|
-
var d = aA, g =
|
|
22395
|
+
var d = aA, g = vA;
|
|
22396
22396
|
if (ve(l)) {
|
|
22397
22397
|
var w = "separator" in l ? l.separator : w;
|
|
22398
22398
|
d = "length" in l ? bA(l.length) : d, g = "omission" in l ? Rt(l.omission) : g;
|
|
@@ -22437,7 +22437,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
22437
22437
|
try {
|
|
22438
22438
|
return kt(o, e, l);
|
|
22439
22439
|
} catch (d) {
|
|
22440
|
-
return Nc(d) ? d : new
|
|
22440
|
+
return Nc(d) ? d : new QA(d);
|
|
22441
22441
|
}
|
|
22442
22442
|
}), E1 = er(function(o, l) {
|
|
22443
22443
|
return Zt(l, function(d) {
|
|
@@ -22746,7 +22746,7 @@ const O3 = /* @__PURE__ */ NA({
|
|
|
22746
22746
|
},
|
|
22747
22747
|
ratio: {
|
|
22748
22748
|
type: String,
|
|
22749
|
-
default: "
|
|
22749
|
+
default: "4x3"
|
|
22750
22750
|
},
|
|
22751
22751
|
enableAudio: {
|
|
22752
22752
|
type: Boolean,
|
|
@@ -22817,17 +22817,17 @@ const O3 = /* @__PURE__ */ NA({
|
|
|
22817
22817
|
wA.stop();
|
|
22818
22818
|
});
|
|
22819
22819
|
}
|
|
22820
|
-
async function
|
|
22820
|
+
async function vA() {
|
|
22821
22821
|
return s.value.srcObject = await M(), c.value = await navigator.mediaDevices.enumerateDevices(), { stream: s.value.srcObject, devices: c.value };
|
|
22822
22822
|
}
|
|
22823
22823
|
function rA() {
|
|
22824
|
-
p.value ? (p.value = !1, B.value = !1, aA()) : (p.value = !0,
|
|
22824
|
+
p.value ? (p.value = !1, B.value = !1, aA()) : (p.value = !0, vA());
|
|
22825
22825
|
}
|
|
22826
22826
|
function fA() {
|
|
22827
|
-
c.value.length > 1 && (aA(), f.value = f.value && f.value.deviceId === U.value[0].deviceId ? U.value[U.value.length - 1] : U.value[0],
|
|
22827
|
+
c.value.length > 1 && (aA(), f.value = f.value && f.value.deviceId === U.value[0].deviceId ? U.value[U.value.length - 1] : U.value[0], vA());
|
|
22828
22828
|
}
|
|
22829
22829
|
async function RA(iA, wA) {
|
|
22830
|
-
aA(), iA && (!wA || iA.deviceId !== wA.deviceId) && await
|
|
22830
|
+
aA(), iA && (!wA || iA.deviceId !== wA.deviceId) && await vA();
|
|
22831
22831
|
}
|
|
22832
22832
|
Fn(() => f.value, RA), Fn(() => h.value, RA);
|
|
22833
22833
|
function he() {
|
|
@@ -22861,22 +22861,22 @@ const O3 = /* @__PURE__ */ NA({
|
|
|
22861
22861
|
});
|
|
22862
22862
|
}
|
|
22863
22863
|
return Pi(async () => {
|
|
22864
|
-
aA(), await
|
|
22865
|
-
await
|
|
22864
|
+
aA(), await vA(), f.value = U.value[0], r.enableAudio && (h.value = x.value[0]), navigator.mediaDevices.addEventListener("devicechange", async (iA) => {
|
|
22865
|
+
await vA();
|
|
22866
22866
|
}), r.defaultRearCamera && fA(), rA(), window.addEventListener("resize", P), D(), await aC(), u.value = !0;
|
|
22867
22867
|
}), ks(() => {
|
|
22868
22868
|
p.value = !1, B.value = !1, aA(), window.removeEventListener("resize", P);
|
|
22869
22869
|
}), (iA, wA) => {
|
|
22870
22870
|
const ee = Ct("loading-spinner"), zA = Ct("svg-icon"), qA = Ct("input-dropdown");
|
|
22871
22871
|
return q(), j("div", {
|
|
22872
|
-
class:
|
|
22872
|
+
class: yA(["camera", F.value])
|
|
22873
22873
|
}, [
|
|
22874
22874
|
K("div", hN, [
|
|
22875
22875
|
u.value ? oe("", !0) : (q(), j("div", pN, [
|
|
22876
22876
|
YA(ee, { color: "#000" }, {
|
|
22877
22877
|
default: jr(() => [
|
|
22878
22878
|
K("span", {
|
|
22879
|
-
class:
|
|
22879
|
+
class: yA("d-block text-center"),
|
|
22880
22880
|
innerHTML: iA.$t("camera.waitForCameraNotification")
|
|
22881
22881
|
}, null, 8, gN)
|
|
22882
22882
|
]),
|
|
@@ -22886,12 +22886,12 @@ const O3 = /* @__PURE__ */ NA({
|
|
|
22886
22886
|
Kn(K("video", {
|
|
22887
22887
|
ref_key: "camera",
|
|
22888
22888
|
ref: s,
|
|
22889
|
-
class: "camera__video",
|
|
22889
|
+
class: yA(["camera__video", `aspect-ratio--${r.ratio}`]),
|
|
22890
22890
|
width: m.value,
|
|
22891
22891
|
height: Q.value,
|
|
22892
22892
|
autoplay: "",
|
|
22893
22893
|
playsinline: ""
|
|
22894
|
-
}, null,
|
|
22894
|
+
}, null, 10, BN), [
|
|
22895
22895
|
[aB, u.value]
|
|
22896
22896
|
]),
|
|
22897
22897
|
Kn(K("canvas", {
|
|
@@ -23490,7 +23490,7 @@ const L3 = /* @__PURE__ */ NA({
|
|
|
23490
23490
|
return q(), j("div", bR, [
|
|
23491
23491
|
(q(!0), j(Vn, null, Ki(a.value, (m, Q) => (q(), j("div", {
|
|
23492
23492
|
key: m.src,
|
|
23493
|
-
class:
|
|
23493
|
+
class: yA(t.enablePreview ? "file-upload__thumbnail" : "file-upload__reset")
|
|
23494
23494
|
}, [
|
|
23495
23495
|
t.enablePreview ? (q(), j(Vn, { key: 0 }, [
|
|
23496
23496
|
K("img", {
|
|
@@ -23820,7 +23820,7 @@ const JR = { class: "carousel d-flex" }, XR = ["onClick"], YR = /* @__PURE__ */
|
|
|
23820
23820
|
index: p
|
|
23821
23821
|
}, () => [
|
|
23822
23822
|
K("div", {
|
|
23823
|
-
class:
|
|
23823
|
+
class: yA(["carousel__item", p === t.modelValue ? "selected" : ""]),
|
|
23824
23824
|
onClick: (B) => a(p)
|
|
23825
23825
|
}, Te(h), 11, XR)
|
|
23826
23826
|
])), 128))
|
|
@@ -23874,7 +23874,7 @@ const zR = { class: "media-thumbnails" }, qR = ["onClick"], ZR = { class: "img-c
|
|
|
23874
23874
|
K("div", ZR, [
|
|
23875
23875
|
K("img", {
|
|
23876
23876
|
src: a.item.thumbnail || a.item.src,
|
|
23877
|
-
class:
|
|
23877
|
+
class: yA(["img-fluid", n.value === a.index ? "is-active" : ""])
|
|
23878
23878
|
}, null, 10, jR)
|
|
23879
23879
|
])
|
|
23880
23880
|
], 8, qR)
|
|
@@ -23917,7 +23917,7 @@ const A4 = { class: "progress-steps" }, e4 = { class: "progress-steps__list" },
|
|
|
23917
23917
|
K("ul", e4, [
|
|
23918
23918
|
(q(!0), j(Vn, null, Ki(t.steps, (a, u) => (q(), j("li", {
|
|
23919
23919
|
key: u,
|
|
23920
|
-
class:
|
|
23920
|
+
class: yA(["progress-steps__step", {
|
|
23921
23921
|
"progress-steps__step--disabled": u > t.progress + (t.reveal ? 1 : 0),
|
|
23922
23922
|
"progress-steps__step--active": u === (t.modelValue || 0)
|
|
23923
23923
|
}])
|
|
@@ -27599,8 +27599,8 @@ var z2 = 1, Mf = 2, Df = 3, Mw = 4, Dw = 5, q2 = 7, kw = 8, kf = 9, Nf = 10, Nw
|
|
|
27599
27599
|
} else if (h.name === "counters") {
|
|
27600
27600
|
var S = h.values.filter(Ds), Q = S[0], y = S[1], E = S[2];
|
|
27601
27601
|
if (Q && ue(Q)) {
|
|
27602
|
-
var L = i.counters.getCounterValues(Q.value), F = E && ue(E) ? Vd.parse(i.context, E.value) : 3, D = y && y.type === 0 ? y.value : "", P = L.map(function(
|
|
27603
|
-
return qo(
|
|
27602
|
+
var L = i.counters.getCounterValues(Q.value), F = E && ue(E) ? Vd.parse(i.context, E.value) : 3, D = y && y.type === 0 ? y.value : "", P = L.map(function(vA) {
|
|
27603
|
+
return qo(vA, F, !1);
|
|
27604
27604
|
}).join(D);
|
|
27605
27605
|
c.appendChild(a.createTextNode(P));
|
|
27606
27606
|
}
|
|
@@ -27828,8 +27828,8 @@ var DV = function(t, A) {
|
|
|
27828
27828
|
E.push((i + u) / n.width), E.push((m + h) / n.width), E.push((s + Q) / n.height), E.push((c + p) / n.height);
|
|
27829
27829
|
var U = Math.max.apply(Math, E);
|
|
27830
27830
|
U > 1 && (i /= U, s /= U, u /= U, c /= U, h /= U, p /= U, m /= U, Q /= U);
|
|
27831
|
-
var x = n.width - u, S = n.height - p, y = n.width - h, L = n.height - Q, F = e.borderTopWidth, D = e.borderRightWidth, P = e.borderBottomWidth, M = e.borderLeftWidth, aA = ge(e.paddingTop, A.bounds.width),
|
|
27832
|
-
this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ? ye(n.left + M / 3, n.top + F / 3, i - M / 3, s - F / 3, ne.TOP_LEFT) : new AA(n.left + M / 3, n.top + F / 3), this.topRightBorderDoubleOuterBox = i > 0 || s > 0 ? ye(n.left + x, n.top + F / 3, u - D / 3, c - F / 3, ne.TOP_RIGHT) : new AA(n.left + n.width - D / 3, n.top + F / 3), this.bottomRightBorderDoubleOuterBox = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h - D / 3, p - P / 3, ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D / 3, n.top + n.height - P / 3), this.bottomLeftBorderDoubleOuterBox = m > 0 || Q > 0 ? ye(n.left + M / 3, n.top + L, m - M / 3, Q - P / 3, ne.BOTTOM_LEFT) : new AA(n.left + M / 3, n.top + n.height - P / 3), this.topLeftBorderDoubleInnerBox = i > 0 || s > 0 ? ye(n.left + M * 2 / 3, n.top + F * 2 / 3, i - M * 2 / 3, s - F * 2 / 3, ne.TOP_LEFT) : new AA(n.left + M * 2 / 3, n.top + F * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || s > 0 ? ye(n.left + x, n.top + F * 2 / 3, u - D * 2 / 3, c - F * 2 / 3, ne.TOP_RIGHT) : new AA(n.left + n.width - D * 2 / 3, n.top + F * 2 / 3), this.bottomRightBorderDoubleInnerBox = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h - D * 2 / 3, p - P * 2 / 3, ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D * 2 / 3, n.top + n.height - P * 2 / 3), this.bottomLeftBorderDoubleInnerBox = m > 0 || Q > 0 ? ye(n.left + M * 2 / 3, n.top + L, m - M * 2 / 3, Q - P * 2 / 3, ne.BOTTOM_LEFT) : new AA(n.left + M * 2 / 3, n.top + n.height - P * 2 / 3), this.topLeftBorderStroke = i > 0 || s > 0 ? ye(n.left + M / 2, n.top + F / 2, i - M / 2, s - F / 2, ne.TOP_LEFT) : new AA(n.left + M / 2, n.top + F / 2), this.topRightBorderStroke = i > 0 || s > 0 ? ye(n.left + x, n.top + F / 2, u - D / 2, c - F / 2, ne.TOP_RIGHT) : new AA(n.left + n.width - D / 2, n.top + F / 2), this.bottomRightBorderStroke = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h - D / 2, p - P / 2, ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D / 2, n.top + n.height - P / 2), this.bottomLeftBorderStroke = m > 0 || Q > 0 ? ye(n.left + M / 2, n.top + L, m - M / 2, Q - P / 2, ne.BOTTOM_LEFT) : new AA(n.left + M / 2, n.top + n.height - P / 2), this.topLeftBorderBox = i > 0 || s > 0 ? ye(n.left, n.top, i, s, ne.TOP_LEFT) : new AA(n.left, n.top), this.topRightBorderBox = u > 0 || c > 0 ? ye(n.left + x, n.top, u, c, ne.TOP_RIGHT) : new AA(n.left + n.width, n.top), this.bottomRightBorderBox = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h, p, ne.BOTTOM_RIGHT) : new AA(n.left + n.width, n.top + n.height), this.bottomLeftBorderBox = m > 0 || Q > 0 ? ye(n.left, n.top + L, m, Q, ne.BOTTOM_LEFT) : new AA(n.left, n.top + n.height), this.topLeftPaddingBox = i > 0 || s > 0 ? ye(n.left + M, n.top + F, Math.max(0, i - M), Math.max(0, s - F), ne.TOP_LEFT) : new AA(n.left + M, n.top + F), this.topRightPaddingBox = u > 0 || c > 0 ? ye(n.left + Math.min(x, n.width - D), n.top + F, x > n.width + D ? 0 : Math.max(0, u - D), Math.max(0, c - F), ne.TOP_RIGHT) : new AA(n.left + n.width - D, n.top + F), this.bottomRightPaddingBox = h > 0 || p > 0 ? ye(n.left + Math.min(y, n.width - M), n.top + Math.min(S, n.height - P), Math.max(0, h - D), Math.max(0, p - P), ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D, n.top + n.height - P), this.bottomLeftPaddingBox = m > 0 || Q > 0 ? ye(n.left + M, n.top + Math.min(L, n.height - P), Math.max(0, m - M), Math.max(0, Q - P), ne.BOTTOM_LEFT) : new AA(n.left + M, n.top + n.height - P), this.topLeftContentBox = i > 0 || s > 0 ? ye(n.left + M + fA, n.top + F + aA, Math.max(0, i - (M + fA)), Math.max(0, s - (F + aA)), ne.TOP_LEFT) : new AA(n.left + M + fA, n.top + F + aA), this.topRightContentBox = u > 0 || c > 0 ? ye(n.left + Math.min(x, n.width + M + fA), n.top + F + aA, x > n.width + M + fA ? 0 : u - M + fA, c - (F + aA), ne.TOP_RIGHT) : new AA(n.left + n.width - (D +
|
|
27831
|
+
var x = n.width - u, S = n.height - p, y = n.width - h, L = n.height - Q, F = e.borderTopWidth, D = e.borderRightWidth, P = e.borderBottomWidth, M = e.borderLeftWidth, aA = ge(e.paddingTop, A.bounds.width), vA = ge(e.paddingRight, A.bounds.width), rA = ge(e.paddingBottom, A.bounds.width), fA = ge(e.paddingLeft, A.bounds.width);
|
|
27832
|
+
this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ? ye(n.left + M / 3, n.top + F / 3, i - M / 3, s - F / 3, ne.TOP_LEFT) : new AA(n.left + M / 3, n.top + F / 3), this.topRightBorderDoubleOuterBox = i > 0 || s > 0 ? ye(n.left + x, n.top + F / 3, u - D / 3, c - F / 3, ne.TOP_RIGHT) : new AA(n.left + n.width - D / 3, n.top + F / 3), this.bottomRightBorderDoubleOuterBox = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h - D / 3, p - P / 3, ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D / 3, n.top + n.height - P / 3), this.bottomLeftBorderDoubleOuterBox = m > 0 || Q > 0 ? ye(n.left + M / 3, n.top + L, m - M / 3, Q - P / 3, ne.BOTTOM_LEFT) : new AA(n.left + M / 3, n.top + n.height - P / 3), this.topLeftBorderDoubleInnerBox = i > 0 || s > 0 ? ye(n.left + M * 2 / 3, n.top + F * 2 / 3, i - M * 2 / 3, s - F * 2 / 3, ne.TOP_LEFT) : new AA(n.left + M * 2 / 3, n.top + F * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || s > 0 ? ye(n.left + x, n.top + F * 2 / 3, u - D * 2 / 3, c - F * 2 / 3, ne.TOP_RIGHT) : new AA(n.left + n.width - D * 2 / 3, n.top + F * 2 / 3), this.bottomRightBorderDoubleInnerBox = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h - D * 2 / 3, p - P * 2 / 3, ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D * 2 / 3, n.top + n.height - P * 2 / 3), this.bottomLeftBorderDoubleInnerBox = m > 0 || Q > 0 ? ye(n.left + M * 2 / 3, n.top + L, m - M * 2 / 3, Q - P * 2 / 3, ne.BOTTOM_LEFT) : new AA(n.left + M * 2 / 3, n.top + n.height - P * 2 / 3), this.topLeftBorderStroke = i > 0 || s > 0 ? ye(n.left + M / 2, n.top + F / 2, i - M / 2, s - F / 2, ne.TOP_LEFT) : new AA(n.left + M / 2, n.top + F / 2), this.topRightBorderStroke = i > 0 || s > 0 ? ye(n.left + x, n.top + F / 2, u - D / 2, c - F / 2, ne.TOP_RIGHT) : new AA(n.left + n.width - D / 2, n.top + F / 2), this.bottomRightBorderStroke = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h - D / 2, p - P / 2, ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D / 2, n.top + n.height - P / 2), this.bottomLeftBorderStroke = m > 0 || Q > 0 ? ye(n.left + M / 2, n.top + L, m - M / 2, Q - P / 2, ne.BOTTOM_LEFT) : new AA(n.left + M / 2, n.top + n.height - P / 2), this.topLeftBorderBox = i > 0 || s > 0 ? ye(n.left, n.top, i, s, ne.TOP_LEFT) : new AA(n.left, n.top), this.topRightBorderBox = u > 0 || c > 0 ? ye(n.left + x, n.top, u, c, ne.TOP_RIGHT) : new AA(n.left + n.width, n.top), this.bottomRightBorderBox = h > 0 || p > 0 ? ye(n.left + y, n.top + S, h, p, ne.BOTTOM_RIGHT) : new AA(n.left + n.width, n.top + n.height), this.bottomLeftBorderBox = m > 0 || Q > 0 ? ye(n.left, n.top + L, m, Q, ne.BOTTOM_LEFT) : new AA(n.left, n.top + n.height), this.topLeftPaddingBox = i > 0 || s > 0 ? ye(n.left + M, n.top + F, Math.max(0, i - M), Math.max(0, s - F), ne.TOP_LEFT) : new AA(n.left + M, n.top + F), this.topRightPaddingBox = u > 0 || c > 0 ? ye(n.left + Math.min(x, n.width - D), n.top + F, x > n.width + D ? 0 : Math.max(0, u - D), Math.max(0, c - F), ne.TOP_RIGHT) : new AA(n.left + n.width - D, n.top + F), this.bottomRightPaddingBox = h > 0 || p > 0 ? ye(n.left + Math.min(y, n.width - M), n.top + Math.min(S, n.height - P), Math.max(0, h - D), Math.max(0, p - P), ne.BOTTOM_RIGHT) : new AA(n.left + n.width - D, n.top + n.height - P), this.bottomLeftPaddingBox = m > 0 || Q > 0 ? ye(n.left + M, n.top + Math.min(L, n.height - P), Math.max(0, m - M), Math.max(0, Q - P), ne.BOTTOM_LEFT) : new AA(n.left + M, n.top + n.height - P), this.topLeftContentBox = i > 0 || s > 0 ? ye(n.left + M + fA, n.top + F + aA, Math.max(0, i - (M + fA)), Math.max(0, s - (F + aA)), ne.TOP_LEFT) : new AA(n.left + M + fA, n.top + F + aA), this.topRightContentBox = u > 0 || c > 0 ? ye(n.left + Math.min(x, n.width + M + fA), n.top + F + aA, x > n.width + M + fA ? 0 : u - M + fA, c - (F + aA), ne.TOP_RIGHT) : new AA(n.left + n.width - (D + vA), n.top + F + aA), this.bottomRightContentBox = h > 0 || p > 0 ? ye(n.left + Math.min(y, n.width - (M + fA)), n.top + Math.min(S, n.height + F + aA), Math.max(0, h - (D + vA)), p - (P + rA), ne.BOTTOM_RIGHT) : new AA(n.left + n.width - (D + vA), n.top + n.height - (P + rA)), this.bottomLeftContentBox = m > 0 || Q > 0 ? ye(n.left + M + fA, n.top + L, Math.max(0, m - (M + fA)), Q - (P + rA), ne.BOTTOM_LEFT) : new AA(n.left + M + fA, n.top + n.height - (P + rA));
|
|
27833
27833
|
}
|
|
27834
27834
|
return t;
|
|
27835
27835
|
}()
|
|
@@ -28528,7 +28528,7 @@ var ye = function(t, A, e, n, r) {
|
|
|
28528
28528
|
switch (c.label) {
|
|
28529
28529
|
case 0:
|
|
28530
28530
|
n = e.styles.backgroundImage.length - 1, r = function(f) {
|
|
28531
|
-
var h, p, B, aA, $A, KA, fA, RA, P, m, aA, $A, KA, fA, RA, Q, E, U, x, S, y, L, F, D, P, M, aA,
|
|
28531
|
+
var h, p, B, aA, $A, KA, fA, RA, P, m, aA, $A, KA, fA, RA, Q, E, U, x, S, y, L, F, D, P, M, aA, vA, rA, fA, RA, he, $A, KA, iA, wA, ee, zA, qA, WA, ie, ZA;
|
|
28532
28532
|
return it(this, function(we) {
|
|
28533
28533
|
switch (we.label) {
|
|
28534
28534
|
case 0:
|
|
@@ -28554,9 +28554,9 @@ var ye = function(t, A, e, n, r) {
|
|
|
28554
28554
|
null,
|
|
28555
28555
|
null,
|
|
28556
28556
|
null
|
|
28557
|
-
]), aA = M[0],
|
|
28557
|
+
]), aA = M[0], vA = M[1], rA = M[2], fA = M[3], RA = M[4], he = f.position.length === 0 ? [Th] : f.position, $A = ge(he[0], fA), KA = ge(he[he.length - 1], RA), iA = tP(f, $A, KA, fA, RA), wA = iA[0], ee = iA[1], wA > 0 && ee > 0 && (zA = i.ctx.createRadialGradient(vA + $A, rA + KA, 0, vA + $A, rA + KA, wA), Uw(f.stops, wA * 2).forEach(function(Ke) {
|
|
28558
28558
|
return zA.addColorStop(Ke.stop, Ve(Ke.color));
|
|
28559
|
-
}), i.path(aA), i.ctx.fillStyle = zA, wA !== ee ? (qA = e.bounds.left + 0.5 * e.bounds.width, WA = e.bounds.top + 0.5 * e.bounds.height, ie = ee / wA, ZA = 1 / ie, i.ctx.save(), i.ctx.translate(qA, WA), i.ctx.transform(1, 0, 0, ie, 0, 0), i.ctx.translate(-qA, -WA), i.ctx.fillRect(
|
|
28559
|
+
}), i.path(aA), i.ctx.fillStyle = zA, wA !== ee ? (qA = e.bounds.left + 0.5 * e.bounds.width, WA = e.bounds.top + 0.5 * e.bounds.height, ie = ee / wA, ZA = 1 / ie, i.ctx.save(), i.ctx.translate(qA, WA), i.ctx.transform(1, 0, 0, ie, 0, 0), i.ctx.translate(-qA, -WA), i.ctx.fillRect(vA, ZA * (rA - WA) + WA, fA, RA * ZA), i.ctx.restore()) : i.ctx.fill())), we.label = 6;
|
|
28560
28560
|
case 6:
|
|
28561
28561
|
return n--, [
|
|
28562
28562
|
2
|
|
@@ -28794,7 +28794,7 @@ var ye = function(t, A, e, n, r) {
|
|
|
28794
28794
|
typeof window < "u" && xv.setContext(window);
|
|
28795
28795
|
var _G = function(t, A) {
|
|
28796
28796
|
return Bt(void 0, void 0, void 0, function() {
|
|
28797
|
-
var e, n, r, i, s, a, u, c, f, h, p, B, m, Q, E, U, x, S, y, L, D, F, D, P, M, aA,
|
|
28797
|
+
var e, n, r, i, s, a, u, c, f, h, p, B, m, Q, E, U, x, S, y, L, D, F, D, P, M, aA, vA, rA, fA, RA, he, $A, KA, iA, wA, ee, zA, qA, WA, ie;
|
|
28798
28798
|
return it(this, function(ZA) {
|
|
28799
28799
|
switch (ZA.label) {
|
|
28800
28800
|
case 0:
|
|
@@ -28809,7 +28809,7 @@ var _G = function(t, A) {
|
|
|
28809
28809
|
imageTimeout: (M = A.imageTimeout) !== null && M !== void 0 ? M : 15e3,
|
|
28810
28810
|
proxy: A.proxy,
|
|
28811
28811
|
useCORS: (aA = A.useCORS) !== null && aA !== void 0 ? aA : !1
|
|
28812
|
-
}, i = Td({ logging: (
|
|
28812
|
+
}, i = Td({ logging: (vA = A.logging) !== null && vA !== void 0 ? vA : !0, cache: A.cache }, r), s = {
|
|
28813
28813
|
windowWidth: (rA = A.windowWidth) !== null && rA !== void 0 ? rA : n.innerWidth,
|
|
28814
28814
|
windowHeight: (fA = A.windowHeight) !== null && fA !== void 0 ? fA : n.innerHeight,
|
|
28815
28815
|
scrollX: (RA = A.scrollX) !== null && RA !== void 0 ? RA : n.pageXOffset,
|
|
@@ -28910,7 +28910,7 @@ const k3 = /* @__PURE__ */ NA({
|
|
|
28910
28910
|
u();
|
|
28911
28911
|
}, 500);
|
|
28912
28912
|
}), (c, f) => (q(), j("div", {
|
|
28913
|
-
class:
|
|
28913
|
+
class: yA(["dom-renderer", {
|
|
28914
28914
|
"off-screen": !t.debug
|
|
28915
28915
|
}]),
|
|
28916
28916
|
ref_key: "renderer",
|
|
@@ -29208,7 +29208,7 @@ const o3 = { class: "modal-dialog__content d-flex flex-column" }, a3 = { class:
|
|
|
29208
29208
|
}), (p, B) => (q(), j("dialog", {
|
|
29209
29209
|
ref_key: "dialog",
|
|
29210
29210
|
ref: i,
|
|
29211
|
-
class:
|
|
29211
|
+
class: yA(["modal-dialog", {
|
|
29212
29212
|
[`modal-dialog--${t.size}`]: t.size
|
|
29213
29213
|
}]),
|
|
29214
29214
|
onClose: u
|
|
@@ -159,7 +159,7 @@ __p += '`),MA&&(J+=`' +
|
|
|
159
159
|
function print() { __p += __j.call(arguments, '') }
|
|
160
160
|
`:`;
|
|
161
161
|
`)+J+`return __p
|
|
162
|
-
}`;var UA=aE(function(){return JA(Q,lA+"return "+J).apply(e,v)});if(UA.source=J,qd(UA))throw UA;return UA}function $2(o){return zA(o).toLowerCase()}function J2(o){return zA(o).toUpperCase()}function X2(o,l,d){if(o=zA(o),o&&(d||l===e))return B0(o);if(!o||!(l=Lt(l)))return o;var B=dn(o),C=dn(l),Q=m0(B,C),v=w0(B,C)+1;return Kr(B,Q,v).join("")}function Y2(o,l,d){if(o=zA(o),o&&(d||l===e))return o.slice(0,y0(o)+1);if(!o||!(l=Lt(l)))return o;var B=dn(o),C=w0(B,dn(l))+1;return Kr(B,0,C).join("")}function z2(o,l,d){if(o=zA(o),o&&(d||l===e))return o.replace(qf,"");if(!o||!(l=Lt(l)))return o;var B=dn(o),C=m0(B,dn(l));return Kr(B,C).join("")}function q2(o,l){var d=sA,B=mA;if(he(l)){var C="separator"in l?l.separator:C;d="length"in l?EA(l.length):d,B="omission"in l?Lt(l.omission):B}o=zA(o);var Q=o.length;if(us(o)){var v=dn(o);Q=v.length}if(d>=Q)return o;var x=d-fs(B);if(x<1)return B;var k=v?Kr(v,0,x).join(""):o.slice(0,x);if(C===e)return k+B;if(v&&(x+=k.length-x),Zd(C)){if(o.slice(x).search(C)){var G,W=k;for(C.global||(C=hd(C.source,zA(DC.exec(C))+"g")),C.lastIndex=0;G=C.exec(W);)var J=G.index;k=k.slice(0,J===e?x:J)}}else if(o.indexOf(Lt(C),x)!=x){var q=k.lastIndexOf(C);q>-1&&(k=k.slice(0,q))}return k+B}function Z2(o){return o=zA(o),o&&zn.test(o)?o.replace(Yn,vR):o}var j2=ws(function(o,l,d){return o+(d?" ":"")+l.toUpperCase()}),eh=ly("toUpperCase");function oE(o,l,d){return o=zA(o),l=d?e:l,l===e?ER(o)?TR(o):dR(o):o.match(l)||[]}var aE=vA(function(o,l){try{return xt(o,e,l)}catch(d){return qd(d)?d:new wA(d)}}),AG=er(function(o,l){return Yt(l,function(d){d=On(d),jn(o,d,Yd(o[d],o))}),o});function eG(o){var l=o==null?0:o.length,d=dA();return o=l?fe(o,function(B){if(typeof B[1]!="function")throw new zt(s);return[d(B[0]),B[1]]}):[],vA(function(B){for(var C=-1;++C<l;){var Q=o[C];if(xt(Q[0],this,B))return xt(Q[1],this,B)}})}function tG(o){return v4(Zt(o,h))}function th(o){return function(){return o}}function nG(o,l){return o==null||o!==o?l:o}var rG=uy(),iG=uy(!0);function Ft(o){return o}function nh(o){return K0(typeof o=="function"?o:Zt(o,h))}function sG(o){return V0(Zt(o,h))}function oG(o,l){return G0(o,Zt(l,h))}var aG=vA(function(o,l){return function(d){return So(d,o,l)}}),lG=vA(function(o,l){return function(d){return So(o,d,l)}});function rh(o,l,d){var B=Me(l),C=zl(l,B);d==null&&!(he(l)&&(C.length||!B.length))&&(d=l,l=o,o=this,C=zl(l,Me(l)));var Q=!(he(d)&&"chain"in d)||!!d.chain,v=nr(o);return Yt(C,function(x){var k=l[x];o[x]=k,v&&(o.prototype[x]=function(){var G=this.__chain__;if(Q||G){var W=o(this.__wrapped__),J=W.__actions__=yt(this.__actions__);return J.push({func:k,args:arguments,thisArg:o}),W.__chain__=G,W}return k.apply(o,Hr([this.value()],arguments))})}),o}function cG(){return We._===this&&(We._=kR),this}function ih(){}function uG(o){return o=EA(o),vA(function(l){return W0(l,o)})}var fG=kd(fe),dG=kd(f0),hG=kd(od);function lE(o){return Vd(o)?ad(On(o)):G4(o)}function pG(o){return function(l){return o==null?e:Ci(o,l)}}var gG=dy(),BG=dy(!0);function sh(){return[]}function oh(){return!1}function mG(){return{}}function wG(){return""}function CG(){return!0}function yG(o,l){if(o=EA(o),o<1||o>rA)return[];var d=VA,B=At(o,VA);l=dA(l),o-=VA;for(var C=ud(B,l);++d<o;)l(d);return C}function EG(o){return yA(o)?fe(o,On):Ht(o)?[o]:yt(Sy(zA(o)))}function QG(o){var l=++LR;return zA(o)+l}var FG=tc(function(o,l){return o+l},0),bG=Nd("ceil"),UG=tc(function(o,l){return o/l},1),vG=Nd("floor");function IG(o){return o&&o.length?Yl(o,Ft,Ed):e}function SG(o,l){return o&&o.length?Yl(o,dA(l,2),Ed):e}function TG(o){return p0(o,Ft)}function _G(o,l){return p0(o,dA(l,2))}function xG(o){return o&&o.length?Yl(o,Ft,Ud):e}function OG(o,l){return o&&o.length?Yl(o,dA(l,2),Ud):e}var LG=tc(function(o,l){return o*l},1),HG=Nd("round"),kG=tc(function(o,l){return o-l},0);function NG(o){return o&&o.length?cd(o,Ft):0}function MG(o,l){return o&&o.length?cd(o,dA(l,2)):0}return y.after=sV,y.ary=Ry,y.assign=JV,y.assignIn=AE,y.assignInWith=pc,y.assignWith=XV,y.at=YV,y.before=Ky,y.bind=Yd,y.bindAll=AG,y.bindKey=Py,y.castArray=mV,y.chain=Ny,y.chunk=vK,y.compact=IK,y.concat=SK,y.cond=eG,y.conforms=tG,y.constant=th,y.countBy=NP,y.create=zV,y.curry=Vy,y.curryRight=Gy,y.debounce=Wy,y.defaults=qV,y.defaultsDeep=ZV,y.defer=oV,y.delay=aV,y.difference=TK,y.differenceBy=_K,y.differenceWith=xK,y.drop=OK,y.dropRight=LK,y.dropRightWhile=HK,y.dropWhile=kK,y.fill=NK,y.filter=DP,y.flatMap=PP,y.flatMapDeep=VP,y.flatMapDepth=GP,y.flatten=Oy,y.flattenDeep=MK,y.flattenDepth=DK,y.flip=lV,y.flow=rG,y.flowRight=iG,y.fromPairs=RK,y.functions=i2,y.functionsIn=s2,y.groupBy=WP,y.initial=PK,y.intersection=VK,y.intersectionBy=GK,y.intersectionWith=WK,y.invert=a2,y.invertBy=l2,y.invokeMap=JP,y.iteratee=nh,y.keyBy=XP,y.keys=Me,y.keysIn=Qt,y.map=lc,y.mapKeys=u2,y.mapValues=f2,y.matches=sG,y.matchesProperty=oG,y.memoize=uc,y.merge=d2,y.mergeWith=eE,y.method=aG,y.methodOf=lG,y.mixin=rh,y.negate=fc,y.nthArg=uG,y.omit=h2,y.omitBy=p2,y.once=cV,y.orderBy=YP,y.over=fG,y.overArgs=uV,y.overEvery=dG,y.overSome=hG,y.partial=zd,y.partialRight=$y,y.partition=zP,y.pick=g2,y.pickBy=tE,y.property=lE,y.propertyOf=pG,y.pull=YK,y.pullAll=Hy,y.pullAllBy=zK,y.pullAllWith=qK,y.pullAt=ZK,y.range=gG,y.rangeRight=BG,y.rearg=fV,y.reject=jP,y.remove=jK,y.rest=dV,y.reverse=Jd,y.sampleSize=eV,y.set=m2,y.setWith=w2,y.shuffle=tV,y.slice=AP,y.sortBy=iV,y.sortedUniq=oP,y.sortedUniqBy=aP,y.split=P2,y.spread=hV,y.tail=lP,y.take=cP,y.takeRight=uP,y.takeRightWhile=fP,y.takeWhile=dP,y.tap=IP,y.throttle=pV,y.thru=ac,y.toArray=qy,y.toPairs=nE,y.toPairsIn=rE,y.toPath=EG,y.toPlainObject=jy,y.transform=C2,y.unary=gV,y.union=hP,y.unionBy=pP,y.unionWith=gP,y.uniq=BP,y.uniqBy=mP,y.uniqWith=wP,y.unset=y2,y.unzip=Xd,y.unzipWith=ky,y.update=E2,y.updateWith=Q2,y.values=Es,y.valuesIn=F2,y.without=CP,y.words=oE,y.wrap=BV,y.xor=yP,y.xorBy=EP,y.xorWith=QP,y.zip=FP,y.zipObject=bP,y.zipObjectDeep=UP,y.zipWith=vP,y.entries=nE,y.entriesIn=rE,y.extend=AE,y.extendWith=pc,rh(y,y),y.add=FG,y.attempt=aE,y.camelCase=I2,y.capitalize=iE,y.ceil=bG,y.clamp=b2,y.clone=wV,y.cloneDeep=yV,y.cloneDeepWith=EV,y.cloneWith=CV,y.conformsTo=QV,y.deburr=sE,y.defaultTo=nG,y.divide=UG,y.endsWith=S2,y.eq=pn,y.escape=T2,y.escapeRegExp=_2,y.every=MP,y.find=RP,y.findIndex=_y,y.findKey=jV,y.findLast=KP,y.findLastIndex=xy,y.findLastKey=A2,y.floor=vG,y.forEach=My,y.forEachRight=Dy,y.forIn=e2,y.forInRight=t2,y.forOwn=n2,y.forOwnRight=r2,y.get=jd,y.gt=FV,y.gte=bV,y.has=o2,y.hasIn=Ah,y.head=Ly,y.identity=Ft,y.includes=$P,y.indexOf=KK,y.inRange=U2,y.invoke=c2,y.isArguments=Qi,y.isArray=yA,y.isArrayBuffer=UV,y.isArrayLike=Et,y.isArrayLikeObject=Ce,y.isBoolean=vV,y.isBuffer=Pr,y.isDate=IV,y.isElement=SV,y.isEmpty=TV,y.isEqual=_V,y.isEqualWith=xV,y.isError=qd,y.isFinite=OV,y.isFunction=nr,y.isInteger=Jy,y.isLength=dc,y.isMap=Xy,y.isMatch=LV,y.isMatchWith=HV,y.isNaN=kV,y.isNative=NV,y.isNil=DV,y.isNull=MV,y.isNumber=Yy,y.isObject=he,y.isObjectLike=ge,y.isPlainObject=Ho,y.isRegExp=Zd,y.isSafeInteger=RV,y.isSet=zy,y.isString=hc,y.isSymbol=Ht,y.isTypedArray=ys,y.isUndefined=KV,y.isWeakMap=PV,y.isWeakSet=VV,y.join=$K,y.kebabCase=x2,y.last=An,y.lastIndexOf=JK,y.lowerCase=O2,y.lowerFirst=L2,y.lt=GV,y.lte=WV,y.max=IG,y.maxBy=SG,y.mean=TG,y.meanBy=_G,y.min=xG,y.minBy=OG,y.stubArray=sh,y.stubFalse=oh,y.stubObject=mG,y.stubString=wG,y.stubTrue=CG,y.multiply=LG,y.nth=XK,y.noConflict=cG,y.noop=ih,y.now=cc,y.pad=H2,y.padEnd=k2,y.padStart=N2,y.parseInt=M2,y.random=v2,y.reduce=qP,y.reduceRight=ZP,y.repeat=D2,y.replace=R2,y.result=B2,y.round=HG,y.runInContext=L,y.sample=AV,y.size=nV,y.snakeCase=K2,y.some=rV,y.sortedIndex=eP,y.sortedIndexBy=tP,y.sortedIndexOf=nP,y.sortedLastIndex=rP,y.sortedLastIndexBy=iP,y.sortedLastIndexOf=sP,y.startCase=V2,y.startsWith=G2,y.subtract=kG,y.sum=NG,y.sumBy=MG,y.template=W2,y.times=yG,y.toFinite=rr,y.toInteger=EA,y.toLength=Zy,y.toLower=$2,y.toNumber=en,y.toSafeInteger=$V,y.toString=zA,y.toUpper=J2,y.trim=X2,y.trimEnd=Y2,y.trimStart=z2,y.truncate=q2,y.unescape=Z2,y.uniqueId=QG,y.upperCase=j2,y.upperFirst=eh,y.each=My,y.eachRight=Dy,y.first=Ly,rh(y,function(){var o={};return _n(y,function(l,d){ZA.call(y.prototype,d)||(o[d]=l)}),o}(),{chain:!1}),y.VERSION=n,Yt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){y[o].placeholder=y}),Yt(["drop","take"],function(o,l){OA.prototype[o]=function(d){d=d===e?1:Te(EA(d),0);var B=this.__filtered__&&!l?new OA(this):this.clone();return B.__filtered__?B.__takeCount__=At(d,B.__takeCount__):B.__views__.push({size:At(d,VA),type:o+(B.__dir__<0?"Right":"")}),B},OA.prototype[o+"Right"]=function(d){return this.reverse()[o](d).reverse()}}),Yt(["filter","map","takeWhile"],function(o,l){var d=l+1,B=d==LA||d==RA;OA.prototype[o]=function(C){var Q=this.clone();return Q.__iteratees__.push({iteratee:dA(C,3),type:d}),Q.__filtered__=Q.__filtered__||B,Q}}),Yt(["head","last"],function(o,l){var d="take"+(l?"Right":"");OA.prototype[o]=function(){return this[d](1).value()[0]}}),Yt(["initial","tail"],function(o,l){var d="drop"+(l?"":"Right");OA.prototype[o]=function(){return this.__filtered__?new OA(this):this[d](1)}}),OA.prototype.compact=function(){return this.filter(Ft)},OA.prototype.find=function(o){return this.filter(o).head()},OA.prototype.findLast=function(o){return this.reverse().find(o)},OA.prototype.invokeMap=vA(function(o,l){return typeof o=="function"?new OA(this):this.map(function(d){return So(d,o,l)})}),OA.prototype.reject=function(o){return this.filter(fc(dA(o)))},OA.prototype.slice=function(o,l){o=EA(o);var d=this;return d.__filtered__&&(o>0||l<0)?new OA(d):(o<0?d=d.takeRight(-o):o&&(d=d.drop(o)),l!==e&&(l=EA(l),d=l<0?d.dropRight(-l):d.take(l-o)),d)},OA.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},OA.prototype.toArray=function(){return this.take(VA)},_n(OA.prototype,function(o,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),B=/^(?:head|last)$/.test(l),C=y[B?"take"+(l=="last"?"Right":""):l],Q=B||/^find/.test(l);C&&(y.prototype[l]=function(){var v=this.__wrapped__,x=B?[1]:arguments,k=v instanceof OA,G=x[0],W=k||yA(v),J=function(SA){var MA=C.apply(y,Hr([SA],x));return B&&q?MA[0]:MA};W&&d&&typeof G=="function"&&G.length!=1&&(k=W=!1);var q=this.__chain__,lA=!!this.__actions__.length,hA=Q&&!q,UA=k&&!lA;if(!Q&&W){v=UA?v:new OA(this);var pA=o.apply(v,x);return pA.__actions__.push({func:ac,args:[J],thisArg:e}),new qt(pA,q)}return hA&&UA?o.apply(this,x):(pA=this.thru(J),hA?B?pA.value()[0]:pA.value():pA)})}),Yt(["pop","push","shift","sort","splice","unshift"],function(o){var l=Ll[o],d=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",B=/^(?:pop|shift)$/.test(o);y.prototype[o]=function(){var C=arguments;if(B&&!this.__chain__){var Q=this.value();return l.apply(yA(Q)?Q:[],C)}return this[d](function(v){return l.apply(yA(v)?v:[],C)})}}),_n(OA.prototype,function(o,l){var d=y[l];if(d){var B=d.name+"";ZA.call(gs,B)||(gs[B]=[]),gs[B].push({name:l,func:d})}}),gs[ec(e,I).name]=[{name:"wrapper",func:e}],OA.prototype.clone=ZR,OA.prototype.reverse=jR,OA.prototype.value=A4,y.prototype.at=SP,y.prototype.chain=TP,y.prototype.commit=_P,y.prototype.next=xP,y.prototype.plant=LP,y.prototype.reverse=HP,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=kP,y.prototype.first=y.prototype.head,Eo&&(y.prototype[Eo]=OP),y},ds=_R();pi?((pi.exports=ds)._=ds,nd._=ds):We._=ds}).call(Ys)}(Oa,Oa.exports);var vm=Oa.exports;const c_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAYAAAB/HSuDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAHkJJREFUeNrs3Q1u8zaXgNHS8JK4/xVwTyzytgnS1HZsixR/7jlAgZkMBl+hT6Z1H1FyqrX+BQAAAOzt4hAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAAAgAAAA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0DUAePkfAAAAPDcD934MwA4AAAAACKBbAHD3HwAAAF6bhXvuArADAAAAAAIYEgDc/QcAACCqUTNxlwBwxu8XAgAAwI56zdQeAQAAAIAAmgcAL/8DAACAx0a8DNAOAAAAAAjg1ADg7j8AAACMmZGbBgAv/wMAAIA5Z2yPAAAAAEAApwUA2/8BAABg3KzcLADY/g8AAABttZy1PQIAAAAAAZwSAGz/BwAAgLEzc5MAYPs/AAAA9NFq5vYIAAAAAATQPQDY/g8AAADjZ+fDAcD2fwAAAOirxeztEQAAAAAIoGsAsP0fAAAA5pihDwUA2/8BAADgHEdncI8AAAAAQADdAoDt/wAAADDPLG0HAAAAAATwdgDw/D8AAACc68gsbgcAAAAABNAlAHj+HwAAAOaaqe0AAAAAgADeDgD3ioS7/wAAAHBMj5n70vJfyPAPAAAAfSLA0Zk71epl/gAAALA77wAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAQAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAEAIcAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAACAs13f+X/KOdfv/3spJTmUAAAA0EeLOfxy9D/03t8AAACA9sP/u3O4RwAAAAAggJcCgDv9AAAAMIdXZ3Q7AAAAACAAAQAAAAAEAAAAAEAAAADgb3bsWAAAAABgkL/1IPYWRgAgAAAAAAABAAAAAAgAAAAAQAAAAAAAAgAAAAAQAAAAACAAAAAAAAEAAAAACAAAAABAAAAAAAACAAAAABAAAAAAgAAAAAAABAAAAAAIAAAAAEAAAAAAAAIAAAAAEAAAAACAAAAAAAAEAAAAALAkwACd6iSVhnRezwAAAABJRU5ErkJggg==",u_={class:"camera__preview"},f_={key:0,class:"camera__bg-notification"},d_=["innerHTML"],h_=["width","height"],p_=["width","height"],g_={key:1,class:"camera__countdown-overlay"},B_=["innerHTML","data-countdown"],m_=["src"],w_={class:"camera__controls"},C_={class:"container"},y_={class:"row"},E_={class:"col"},Q_={class:"btn-group"},F_={key:0},b_={key:1},U_={key:0,class:"camera__switch-cam"},v_={key:1,class:"base-camera__devices"},I_={name:"BaseCamera",inheritAttrs:!1};function S_(t){const A=atob(t.split(",")[1]),e=new ArrayBuffer(A.length),n=new Uint8Array(e);for(let r=0;r<A.length;r++)n[r]=A.charCodeAt(r);return new Blob([e],{type:"image/png"})}const T_=p.defineComponent({...I_,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:()=>c_},countdown:{type:Number,default:3},ratio:{type:String,default:"3x2"},enableAudio:{type:Boolean,default:!1},enableSelectDevice:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{expose:A,emit:e}){const n={"1x1":{width:720,height:720},"3x2":{width:1152,height:768},"2x3":{width:768,height:1152},"4x3":{width:1024,height:768},"3x4":{width:768,height:1024},"16x9":{width:1280,height:720},"9x16":{width:720,height:1280}},r=t,i=e,s=p.ref(),a=p.ref(),c=p.ref(!1),u=p.ref([]),f=p.ref(),h=p.ref(),g=p.ref(!1),m=p.ref(!1),w=p.ref(0),F=p.ref(0),b=p.ref(),I=p.computed(()=>u.value.filter(rA=>rA.kind==="videoinput")),O=p.computed(()=>u.value.filter(rA=>rA.kind==="audioinput")),T=p.computed({get(){return f.value&&f.value.deviceId},set(rA){f.value=I.value.find(BA=>BA.deviceId===rA)}}),E=p.computed({get(){return h.value&&h.value.deviceId},set(rA){h.value=O.value.find(BA=>BA.deviceId===rA)}}),H=p.computed(()=>{const rA=f.value&&I.value.findIndex(BA=>BA.deviceId===f.value.deviceId);return r.enableMirrorCamera&&rA===0?"mirror-cam":""}),U=p.computed(()=>{const rA=f.value&&u.value.findIndex(BA=>BA.deviceId===f.value.deviceId);return H.value?`${H.value} mirror-device-${rA}`:""});function M(){w.value=n[r.ratio]?n[r.ratio].width:s.value.parentElement&&s.value.parentElement.clientWidth,F.value=n[r.ratio]?n[r.ratio].height:s.value.parentElement&&s.value.parentElement.clientHeight}const P=vm.debounce(()=>{M()},300,{trailing:!0,leading:!1});async function N(){const rA={audio:r.enableAudio&&{...h.value?{deviceId:h.value.deviceId}:{}},video:{...f.value?{deviceId:f.value.deviceId}:{},width:{ideal:n[r.ratio]?n[r.ratio].width:s.value.clientWidth},height:{ideal:n[r.ratio]?n[r.ratio].height:s.value.clientHeight}}};return navigator.mediaDevices.getUserMedia(rA).catch(BA=>{console.error(BA,"navigator.mediaDevices.getUserMedia: failed")})}function sA(){s.value&&s.value.srcObject&&s.value.srcObject.getTracks().forEach(BA=>{BA.stop()})}async function mA(){return s.value.srcObject=await N(),u.value=await navigator.mediaDevices.enumerateDevices(),{stream:s.value.srcObject,devices:u.value}}function nA(){g.value?(g.value=!1,m.value=!1,sA()):(g.value=!0,mA())}function cA(){u.value.length>1&&(sA(),f.value=f.value&&f.value.deviceId===I.value[0].deviceId?I.value[I.value.length-1]:I.value[0],mA())}async function LA(rA,BA){sA(),rA&&(!BA||rA.deviceId!==BA.deviceId)&&await mA()}p.watch(()=>f.value,LA),p.watch(()=>h.value,LA);function se(){r.countdown?(b.value=b.value?b.value-1:r.countdown,b.value?setTimeout(se,1e3):RA()):RA()}A({onCapture:se});function RA(){m.value=!0;const rA=a.value.getContext("2d"),BA=s.value,YA=BA&&BA.srcObject&&BA.srcObject.getTracks(),{width:VA,height:GA}=YA.length&&YA[0].getSettings(),DA=VA/GA;let qA=a.value.width,WA=qA/DA;WA<a.value.height&&(WA=a.value.height,qA=WA*DA);const ue=H.value?-1:1;rA.save(),rA.scale(ue,1),rA.drawImage(BA,qA>a.value.width?(a.value.width-qA)/2:0,WA>a.value.height?(a.value.height-WA)/2:0,qA*ue,WA),rA.restore();const Ne=a.value.toDataURL("image/png");console.log("dataUrl",Ne),HA(Ne)}function HA(rA){const BA=S_(rA);i("update:modelValue",{name:`cam-pic-${new Date().toISOString()}`,id:`cam-pic-${new Date().toISOString()}`,blob:BA,size:BA.size})}return p.onMounted(async()=>{sA(),await mA(),f.value=I.value[0],r.enableAudio&&(h.value=O.value[0]),navigator.mediaDevices.addEventListener("devicechange",async rA=>{await mA()}),r.defaultRearCamera&&cA(),nA(),window.addEventListener("resize",P),M(),await p.nextTick(),c.value=!0}),p.onBeforeUnmount(()=>{g.value=!1,m.value=!1,sA(),window.removeEventListener("resize",P)}),(rA,BA)=>{const YA=p.resolveComponent("loading-spinner"),VA=p.resolveComponent("svg-icon"),GA=p.resolveComponent("input-dropdown");return p.openBlock(),p.createElementBlock("div",{class:p.normalizeClass(["camera",U.value])},[p.createElementVNode("div",u_,[c.value?p.createCommentVNode("",!0):(p.openBlock(),p.createElementBlock("div",f_,[p.createVNode(YA,{color:"#000"},{default:p.withCtx(()=>[p.createElementVNode("span",{class:p.normalizeClass("d-block text-center"),innerHTML:rA.$t("camera.waitForCameraNotification")},null,8,d_)]),_:1})])),p.withDirectives(p.createElementVNode("video",{ref_key:"camera",ref:s,class:"camera__video",width:w.value,height:F.value,autoplay:"",playsinline:""},null,8,h_),[[p.vShow,c.value]]),p.withDirectives(p.createElementVNode("canvas",{ref_key:"canvas",ref:a,class:"camera__canvas",width:w.value,height:F.value},null,8,p_),[[p.vShow,m.value]]),b.value?(p.openBlock(),p.createElementBlock("div",g_,[(p.openBlock(),p.createElementBlock("p",{class:"countdown",key:b.value,innerHTML:b.value,"data-countdown":b.value},null,8,B_))])):p.createCommentVNode("",!0),t.enableGuide&&g.value&&c.value?(p.openBlock(),p.createElementBlock("img",{key:2,class:"camera__guide",src:t.guideSrc},null,8,m_)):p.createCommentVNode("",!0)]),p.createElementVNode("div",w_,[p.createElementVNode("div",C_,[p.createElementVNode("div",y_,[p.createElementVNode("div",E_,[p.createElementVNode("div",Q_,[p.createElementVNode("button",{type:"button",class:"camera__toggle btn btn-primary",onClick:nA},[g.value?(p.openBlock(),p.createElementBlock("span",b_,p.toDisplayString(rA.$t("common.pause")),1)):(p.openBlock(),p.createElementBlock("span",F_,p.toDisplayString(rA.$t("common.play")),1))]),p.createElementVNode("button",{type:"button",class:"camera__capture btn btn-primary",onClick:se},p.toDisplayString(rA.$t("camera.capture")),1)])])])])]),I.value&&I.value.length>1?(p.openBlock(),p.createElementBlock("div",U_,[p.createElementVNode("button",{class:"btn",onClick:p.withModifiers(cA,["prevent"])},[p.createVNode(VA,{symbol:"switch-camera"})])])):p.createCommentVNode("",!0),t.enableSelectDevice?(p.openBlock(),p.createElementBlock("div",v_,[O.value.length&&h.value?(p.openBlock(),p.createBlock(GA,{key:0,modelValue:E.value,"onUpdate:modelValue":BA[0]||(BA[0]=DA=>E.value=DA),options:O.value.map((DA,qA)=>({text:DA.label||`Microphone ${qA+1}`,value:DA.deviceId}))},null,8,["modelValue","options"])):p.createCommentVNode("",!0),I.value.length?(p.openBlock(),p.createBlock(GA,{key:1,modelValue:T.value,"onUpdate:modelValue":BA[1]||(BA[1]=DA=>T.value=DA),options:I.value.map((DA,qA)=>({text:DA.label||`Camera ${qA+1}`,value:DA.deviceId}))},null,8,["modelValue","options"])):p.createCommentVNode("",!0)])):p.createCommentVNode("",!0)],2)}}}),o3="",__=/"(?:_|\\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*:/,x_=/"(?: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*:/,O_=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function L_(t,A){if(t==="__proto__"||t==="constructor"&&A&&typeof A=="object"&&"prototype"in A){H_(t);return}return A}function H_(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function k_(t,A={}){if(typeof t!="string")return t;const e=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return e.slice(1,-1);if(e.length<=9){const n=e.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!O_.test(t)){if(A.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(__.test(t)||x_.test(t)){if(A.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,L_)}return JSON.parse(t)}catch(n){if(A.strict)throw n;return t}}const N_=/#/g,M_=/&/g,D_=/\//g,R_=/=/g,Ju=/\+/g,K_=/%5e/gi,P_=/%60/gi,V_=/%7c/gi,G_=/%20/gi;function W_(t){return encodeURI(""+t).replace(V_,"|")}function Xu(t){return W_(typeof t=="string"?t:JSON.stringify(t)).replace(Ju,"%2B").replace(G_,"+").replace(N_,"%23").replace(M_,"%26").replace(P_,"`").replace(K_,"^").replace(D_,"%2F")}function Yu(t){return Xu(t).replace(R_,"%3D")}function Im(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function $_(t){return Im(t.replace(Ju," "))}function J_(t){return Im(t.replace(Ju," "))}function X_(t=""){const A={};t[0]==="?"&&(t=t.slice(1));for(const e of t.split("&")){const n=e.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const r=$_(n[1]);if(r==="__proto__"||r==="constructor")continue;const i=J_(n[2]||"");A[r]===void 0?A[r]=i:Array.isArray(A[r])?A[r].push(i):A[r]=[A[r],i]}return A}function Y_(t,A){return(typeof A=="number"||typeof A=="boolean")&&(A=String(A)),A?Array.isArray(A)?A.map(e=>`${Yu(t)}=${Xu(e)}`).join("&"):`${Yu(t)}=${Xu(A)}`:Yu(t)}function z_(t){return Object.keys(t).filter(A=>t[A]!==void 0).map(A=>Y_(A,t[A])).filter(Boolean).join("&")}const q_=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Z_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,j_=/^([/\\]\s*){2,}[^/\\]/,Ax=/\/$|\/\?|\/#/,ex=/^\.?\//;function Sm(t,A={}){return typeof A=="boolean"&&(A={acceptRelative:A}),A.strict?q_.test(t):Z_.test(t)||(A.acceptRelative?j_.test(t):!1)}function zu(t="",A){return A?Ax.test(t):t.endsWith("/")}function tx(t="",A){if(!A)return(zu(t)?t.slice(0,-1):t)||"/";if(!zu(t,!0))return t||"/";let e=t,n="";const r=t.indexOf("#");r>=0&&(e=t.slice(0,r),n=t.slice(r));const[i,...s]=e.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+n}function nx(t="",A){if(!A)return t.endsWith("/")?t:t+"/";if(zu(t,!0))return t||"/";let e=t,n="";const r=t.indexOf("#");if(r>=0&&(e=t.slice(0,r),n=t.slice(r),!e))return n;const[i,...s]=e.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+n}function rx(t,A){if(sx(A)||Sm(t))return t;const e=tx(A);return t.startsWith(e)?t:ax(e,t)}function ix(t,A){const e=_m(t),n={...X_(e.search),...A};return e.search=z_(n),lx(e)}function sx(t){return!t||t==="/"}function ox(t){return t&&t!=="/"}function ax(t,...A){let e=t||"";for(const n of A.filter(r=>ox(r)))if(e){const r=n.replace(ex,"");e=nx(e)+r}else e=n;return e}const Tm=Symbol.for("ufo:protocolRelative");function _m(t="",A){const e=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(e){const[,h,g=""]=e;return{protocol:h.toLowerCase(),pathname:g,href:h+g,auth:"",host:"",search:"",hash:""}}if(!Sm(t,{acceptRelative:!0}))return A?_m(A+t):xm(t);const[,n="",r,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:u,hash:f}=xm(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:s,pathname:c,search:u,hash:f,[Tm]:!n}}function xm(t=""){const[A="",e="",n=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:A,search:e,hash:n}}function lx(t){const A=t.pathname||"",e=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",n=t.hash||"",r=t.auth?t.auth+"@":"",i=t.host||"";return(t.protocol||t[Tm]?(t.protocol||"")+"//":"")+r+i+A+e+n}class cx extends Error{constructor(A,e){super(A,e),this.name="FetchError",e!=null&&e.cause&&!this.cause&&(this.cause=e.cause)}}function ux(t){var c,u,f,h,g;const A=((c=t.error)==null?void 0:c.message)||((u=t.error)==null?void 0:u.toString())||"",e=((f=t.request)==null?void 0:f.method)||((h=t.options)==null?void 0:h.method)||"GET",n=((g=t.request)==null?void 0:g.url)||String(t.request)||"/",r=`[${e}] ${JSON.stringify(n)}`,i=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",s=`${r}: ${i}${A?` ${A}`:""}`,a=new cx(s,t.error?{cause:t.error}:void 0);for(const m of["request","options","response"])Object.defineProperty(a,m,{get(){return t[m]}});for(const[m,w]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,m,{get(){return t.response&&t.response[w]}});return a}const fx=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Om(t="GET"){return fx.has(t.toUpperCase())}function dx(t){if(t===void 0)return!1;const A=typeof t;return A==="string"||A==="number"||A==="boolean"||A===null?!0:A!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const hx=new Set(["image/svg","application/xml","application/xhtml","application/html"]),px=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function gx(t=""){if(!t)return"json";const A=t.split(";").shift()||"";return px.test(A)?"json":hx.has(A)||A.startsWith("text/")?"text":"blob"}function Bx(t,A,e=globalThis.Headers){const n={...A,...t};if(A!=null&&A.params&&(t!=null&&t.params)&&(n.params={...A==null?void 0:A.params,...t==null?void 0:t.params}),A!=null&&A.query&&(t!=null&&t.query)&&(n.query={...A==null?void 0:A.query,...t==null?void 0:t.query}),A!=null&&A.headers&&(t!=null&&t.headers)){n.headers=new e((A==null?void 0:A.headers)||{});for(const[r,i]of new e((t==null?void 0:t.headers)||{}))n.headers.set(r,i)}return n}const mx=new Set([408,409,425,429,500,502,503,504]),wx=new Set([101,204,205,304]);function Lm(t={}){const{fetch:A=globalThis.fetch,Headers:e=globalThis.Headers,AbortController:n=globalThis.AbortController}=t;async function r(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let f;typeof a.options.retry=="number"?f=a.options.retry:f=Om(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):mx.has(h))){const g=a.options.retryDelay||0;return g>0&&await new Promise(m=>setTimeout(m,g)),i(a.request,{...a.options,retry:f-1})}}const u=ux(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){var m;const f={request:c,options:Bx(u,t.defaults,e),response:void 0,error:void 0};f.options.method=(m=f.options.method)==null?void 0:m.toUpperCase(),f.options.onRequest&&await f.options.onRequest(f),typeof f.request=="string"&&(f.options.baseURL&&(f.request=rx(f.request,f.options.baseURL)),(f.options.query||f.options.params)&&(f.request=ix(f.request,{...f.options.params,...f.options.query}))),f.options.body&&Om(f.options.method)&&(dx(f.options.body)?(f.options.body=typeof f.options.body=="string"?f.options.body:JSON.stringify(f.options.body),f.options.headers=new e(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 w=new n;h=setTimeout(()=>w.abort(),f.options.timeout),f.options.signal=w.signal}try{f.response=await A(f.request,f.options)}catch(w){return f.error=w,f.options.onRequestError&&await f.options.onRequestError(f),await r(f)}finally{h&&clearTimeout(h)}if(f.response.body&&!wx.has(f.response.status)&&f.options.method!=="HEAD"){const w=(f.options.parseResponse?"json":f.options.responseType)||gx(f.response.headers.get("content-type")||"");switch(w){case"json":{const F=await f.response.text(),b=f.options.parseResponse||k_;f.response._data=b(F);break}case"stream":{f.response._data=f.response.body;break}default:f.response._data=await f.response[w]()}}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},s=async function(c,u){return(await i(c,u))._data};return s.raw=i,s.native=(...a)=>A(...a),s.create=(a={})=>Lm({...t,defaults:{...t.defaults,...a}}),s}const qu=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")}(),Cx=qu.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),yx=qu.Headers,Ex=qu.AbortController,Qx=Lm({fetch:Cx,Headers:yx,AbortController:Ex}),Fx={class:"file-upload"},bx=["src"],Ux=["onClick"],vx=["onClick"],Ix=["for"],Sx=["innerHTML"],Tx={key:0,class:"file-upload__loading-spinner"},_x=[p.createElementVNode("span",{class:"spinner-border",role:"status"},[p.createElementVNode("span",{class:"visually-hidden"},"Loading...")],-1)];async function xx(t){return await new Promise(A=>{let e=new FileReader;e.onload=()=>A(e.result),e.readAsDataURL(t)})}const Ox=p.defineComponent({__name:"file-upload",props:{modelValue:{type:Array,default:[]},src:{type:String},name:{type:String,default:()=>Be()},id:{type:String,default:()=>Be()},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}},emits:["update:modelValue","update:src"],setup(t,{emit:A}){const e=t,n=A,r=p.ref([]),i=p.ref([]),s=p.ref(!1),a=p.computed(()=>e.modelValue.length?e.modelValue:e.src?[{type:"",src:e.src}]:i.value);p.watch(()=>r.value,async f=>{i.value=await Promise.all(f.map(async h=>({src:e.toDataUrl?await xx(h):await u(h),type:h.type})))},{deep:!0}),p.watch(()=>i.value,async f=>{const h=e.multiple?f:f[0];n("update:modelValue",h),e.multiple||n("update:src",f[0]&&f[0].src)},{deep:!0});function c(f){r.value.splice(f,1),(!i.value||!i.value.length)&&n("update:src","")}async function u(f){const h=new FormData;h.append("file",f),s.value=!0;const m=await(e.customFetch||Qx)(e.endpoint,{method:"POST",...e.customFetch?{}:{headers:{Accept:"application/json",...e.authToken?{Authorization:`Bearer ${e.authToken}`}:{}}},body:h}).catch(w=>{console.error("Error",w)});return s.value=!1,`${e.baseResponsePath}/${m.path}`}return(f,h)=>{const g=p.resolveComponent("svg-icon"),m=p.resolveComponent("input-file");return p.openBlock(),p.createElementBlock("div",Fx,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(a.value,(w,F)=>(p.openBlock(),p.createElementBlock("div",{key:w.src,class:p.normalizeClass(t.enablePreview?"file-upload__thumbnail":"file-upload__reset")},[t.enablePreview?(p.openBlock(),p.createElementBlock(p.Fragment,{key:0},[p.createElementVNode("img",{src:`${w.src}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail rounded"},null,8,bx),p.createElementVNode("button",{onClick:p.withModifiers(b=>c(F),["prevent"]),class:"btn btn--close"},[p.createVNode(g,{symbol:"x"})],8,Ux)],64)):(p.openBlock(),p.createElementBlock("button",{key:1,onClick:p.withModifiers(b=>c(F),["prevent"]),class:"btn btn--close btn-outline-dark"},[p.createVNode(g,{symbol:"x"})],8,vx))],2))),128)),p.createVNode(m,{modelValue:r.value,"onUpdate:modelValue":h[0]||(h[0]=w=>r.value=w),id:t.id,name:t.name,accept:t.accept,class:"d-none"},null,8,["modelValue","id","name","accept"]),p.createElementVNode("label",{for:t.id,class:"file-upload__label"},[p.renderSlot(f.$slots,"button",{},()=>[p.createElementVNode("span",{class:"btn btn-outline-dark",innerHTML:t.label},null,8,Sx)]),p.createVNode(p.Transition,{name:"fade"},{default:p.withCtx(()=>[s.value?(p.openBlock(),p.createElementBlock("span",Tx,_x)):p.createCommentVNode("",!0)]),_:1})],8,Ix)])}}}),l3="",Lx={class:"upload-group"},Hx=["innerHTML"],kx={class:"row"},Nx={class:"img-container"},Mx=["src"],Dx=["onClick"],Rx={class:"col-auto mb-4"},Kx={role:"button",class:"img-thumbnail d-flex justify-content-center align-items-center"},Hm=p.defineComponent({__name:"upload-group",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Be()},id:{type:String,default:()=>Be()},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:A}){const e=t,n=A,r=p.ref([...e.modelValue]);function i(s){r.value.splice(s,1),n("update:modelValue",r.value)}return p.watch(r.value,(s,a)=>{n("update:modelValue",s)}),(s,a)=>{const c=p.resolveComponent("svg-icon"),u=p.resolveComponent("file-upload");return p.openBlock(),p.createElementBlock("div",Lx,[p.createElementVNode("label",{innerHTML:t.label},null,8,Hx),p.createElementVNode("div",kx,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.value,(f,h)=>(p.openBlock(),p.createElementBlock("div",{key:f,class:"col-auto mb-4"},[p.createElementVNode("div",Nx,[p.createElementVNode("img",{src:`${f}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail"},null,8,Mx),p.createElementVNode("button",{onClick:p.withModifiers(g=>i(h),["prevent"]),class:"btn btn--close"},[p.createVNode(c,{symbol:"x"})],8,Dx)])]))),128)),p.createElementVNode("div",Rx,[p.createVNode(u,{src:r.value[r.value.length],"onUpdate:src":a[0]||(a[0]=f=>r.value[r.value.length]=f),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:p.withCtx(()=>[p.createElementVNode("span",Kx,[p.createVNode(c,{symbol:"plus"})])]),_:1},8,["src","endpoint","custom-fetch","to-data-url","auth-token","disabled","base-response-path"])])])])}}}),c3="",Px={class:"upload-group"},Vx=["innerHTML"],Gx=p.defineComponent({__name:"asset-uploader",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Be()},id:{type:String,default:()=>Be()},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:A}){const e=t,n=A,r=p.computed({get(){return e.modelValue.map(i=>i.src)},set(i){n("update:modelValue",i.map((s,a)=>({mediaType:e.modelValue[a]&&e.modelValue[a].mediaType||s.includes("data:image")?s.includes("data:image/svg")?"Svg":"Image":e.mediaTypeMap[s.split(".")[1]],src:s,name:e.modelValue[a]&&e.modelValue[a].name||`${e.name}-${a}`,...e.type?{type:e.type}:{}})))}});return(i,s)=>(p.openBlock(),p.createElementBlock("div",Px,[p.createElementVNode("label",{innerHTML:t.label},null,8,Vx),p.createVNode(Hm,{modelValue:r.value,"onUpdate:modelValue":s[0]||(s[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"])]))}}),u3="",Wx={class:"carousel d-flex"},$x=["onClick"],km=p.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:A}){const e=A,n=p.ref(),r=p.ref();function i(){n.value.scrollTo({top:0,left:n.value.scrollLeft-n.value.clientWidth>0?n.value.scrollLeft-n.value.clientWidth:0,behavior:"smooth"})}function s(){console.log(n.value.clientWidth,n.value.scrollLeft),n.value.scrollTo({top:0,left:n.value.scrollLeft-n.value.clientWidth<=r.value.clientWidth?n.value.scrollLeft+n.value.clientWidth:r.value.clientWidth,behavior:"smooth"})}function a(c){e("update:modelValue",c)}return(c,u)=>{const f=p.resolveComponent("svg-icon");return p.openBlock(),p.createElementBlock("div",Wx,[t.navigation?(p.openBlock(),p.createElementBlock("button",{key:0,class:"carousel__control btn btn-link text-light",type:"button",onClick:p.withModifiers(i,["prevent","stop"])},[p.createVNode(f,{symbol:"chevron-left"})])):p.createCommentVNode("",!0),p.createElementVNode("div",{ref_key:"viewport",ref:n,class:"carousel__viewport flex-grow-1"},[p.createElementVNode("div",{ref_key:"track",ref:r,class:"carousel__track d-flex justify-center align-items-center"},[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.items,(h,g)=>p.renderSlot(c.$slots,"carousel-item",{key:h.src,item:h,index:g},()=>[p.createElementVNode("div",{class:p.normalizeClass(["carousel__item",g===t.modelValue?"selected":""]),onClick:m=>a(g)},p.toDisplayString(h),11,$x)])),128))],512)],512),t.navigation?(p.openBlock(),p.createElementBlock("button",{key:1,class:"carousel__control btn btn-link text-light",type:"button",onClick:p.withModifiers(s,["prevent","stop"])},[p.createVNode(f,{symbol:"chevron-right"})])):p.createCommentVNode("",!0)])}}}),f3="",Jx={class:"media-thumbnails"},Xx=["onClick"],Yx={class:"img-container ratio ratio-1x1"},zx=["src"],qx=p.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:A}){const e=A,n=p.ref(-1);function r(i){e("update:modelValue",i),e("select",i)}return(i,s)=>(p.openBlock(),p.createElementBlock("div",Jx,[p.createVNode(km,{items:t.assets},{"carousel-item":p.withCtx(a=>[p.createElementVNode("a",{role:"button",class:"carousel__item media-thumbnails__thumbnail",onClick:c=>r(a.index)},[p.createElementVNode("div",Yx,[p.createElementVNode("img",{src:a.item.thumbnail||a.item.src,class:p.normalizeClass(["img-fluid",n.value===a.index?"is-active":""])},null,10,zx)])],8,Xx)]),_:1},8,["items"])]))}}),d3="",Zx={class:"progress-steps"},jx={class:"progress-steps__list"},AO={class:"progress-step"},eO=["checked","id","value","disabled","read-only","required","onChange"],tO=["for"],nO=["innerHTML"],rO=["for"],iO=["innerHTML"],sO=p.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:A}){const e=t,n=A;function r(i){n("update:modelValue",i),i>=e.progress&&n("update:progress",i)}return(i,s)=>(p.openBlock(),p.createElementBlock("div",Zx,[p.createElementVNode("ul",jx,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.steps,(a,c)=>(p.openBlock(),p.createElementBlock("li",{key:c,class:p.normalizeClass(["progress-steps__step",{"progress-steps__step--disabled":c>t.progress+(t.reveal?1:0),"progress-steps__step--active":c===(t.modelValue||0)}])},[p.renderSlot(i.$slots,"step",{},()=>[p.createElementVNode("div",AO,[p.createElementVNode("input",{type:"radio",checked:c<=(t.progress||0),id:`step-${c}`,name:"step",class:"form-check-input",value:a.value,disabled:a.disabled||c>t.progress+(t.reveal?1:0),"read-only":a.readOnly,required:a.required,onChange:u=>r(c)},null,40,eO),p.createElementVNode("label",{for:`step-${c}`},[p.renderSlot(i.$slots,"button",{step:a},()=>[p.createElementVNode("span",{class:"btn rounded-circle",innerHTML:a.text},null,8,nO)])],8,tO),p.createElementVNode("label",{for:`step-${c}`},[p.renderSlot(i.$slots,"label",{step:a},()=>[p.createElementVNode("span",{class:"form-check-label",innerHTML:a.label},null,8,iO)])],8,rO)])])],2))),128))])]))}}),h3="";/*!
|
|
162
|
+
}`;var UA=aE(function(){return JA(Q,lA+"return "+J).apply(e,v)});if(UA.source=J,qd(UA))throw UA;return UA}function $2(o){return zA(o).toLowerCase()}function J2(o){return zA(o).toUpperCase()}function X2(o,l,d){if(o=zA(o),o&&(d||l===e))return B0(o);if(!o||!(l=Lt(l)))return o;var B=dn(o),C=dn(l),Q=m0(B,C),v=w0(B,C)+1;return Kr(B,Q,v).join("")}function Y2(o,l,d){if(o=zA(o),o&&(d||l===e))return o.slice(0,y0(o)+1);if(!o||!(l=Lt(l)))return o;var B=dn(o),C=w0(B,dn(l))+1;return Kr(B,0,C).join("")}function z2(o,l,d){if(o=zA(o),o&&(d||l===e))return o.replace(qf,"");if(!o||!(l=Lt(l)))return o;var B=dn(o),C=m0(B,dn(l));return Kr(B,C).join("")}function q2(o,l){var d=sA,B=mA;if(he(l)){var C="separator"in l?l.separator:C;d="length"in l?EA(l.length):d,B="omission"in l?Lt(l.omission):B}o=zA(o);var Q=o.length;if(us(o)){var v=dn(o);Q=v.length}if(d>=Q)return o;var x=d-fs(B);if(x<1)return B;var k=v?Kr(v,0,x).join(""):o.slice(0,x);if(C===e)return k+B;if(v&&(x+=k.length-x),Zd(C)){if(o.slice(x).search(C)){var G,W=k;for(C.global||(C=hd(C.source,zA(DC.exec(C))+"g")),C.lastIndex=0;G=C.exec(W);)var J=G.index;k=k.slice(0,J===e?x:J)}}else if(o.indexOf(Lt(C),x)!=x){var q=k.lastIndexOf(C);q>-1&&(k=k.slice(0,q))}return k+B}function Z2(o){return o=zA(o),o&&zn.test(o)?o.replace(Yn,vR):o}var j2=ws(function(o,l,d){return o+(d?" ":"")+l.toUpperCase()}),eh=ly("toUpperCase");function oE(o,l,d){return o=zA(o),l=d?e:l,l===e?ER(o)?TR(o):dR(o):o.match(l)||[]}var aE=vA(function(o,l){try{return xt(o,e,l)}catch(d){return qd(d)?d:new wA(d)}}),AG=er(function(o,l){return Yt(l,function(d){d=On(d),jn(o,d,Yd(o[d],o))}),o});function eG(o){var l=o==null?0:o.length,d=dA();return o=l?fe(o,function(B){if(typeof B[1]!="function")throw new zt(s);return[d(B[0]),B[1]]}):[],vA(function(B){for(var C=-1;++C<l;){var Q=o[C];if(xt(Q[0],this,B))return xt(Q[1],this,B)}})}function tG(o){return v4(Zt(o,h))}function th(o){return function(){return o}}function nG(o,l){return o==null||o!==o?l:o}var rG=uy(),iG=uy(!0);function Ft(o){return o}function nh(o){return K0(typeof o=="function"?o:Zt(o,h))}function sG(o){return V0(Zt(o,h))}function oG(o,l){return G0(o,Zt(l,h))}var aG=vA(function(o,l){return function(d){return So(d,o,l)}}),lG=vA(function(o,l){return function(d){return So(o,d,l)}});function rh(o,l,d){var B=Me(l),C=zl(l,B);d==null&&!(he(l)&&(C.length||!B.length))&&(d=l,l=o,o=this,C=zl(l,Me(l)));var Q=!(he(d)&&"chain"in d)||!!d.chain,v=nr(o);return Yt(C,function(x){var k=l[x];o[x]=k,v&&(o.prototype[x]=function(){var G=this.__chain__;if(Q||G){var W=o(this.__wrapped__),J=W.__actions__=yt(this.__actions__);return J.push({func:k,args:arguments,thisArg:o}),W.__chain__=G,W}return k.apply(o,Hr([this.value()],arguments))})}),o}function cG(){return We._===this&&(We._=kR),this}function ih(){}function uG(o){return o=EA(o),vA(function(l){return W0(l,o)})}var fG=kd(fe),dG=kd(f0),hG=kd(od);function lE(o){return Vd(o)?ad(On(o)):G4(o)}function pG(o){return function(l){return o==null?e:Ci(o,l)}}var gG=dy(),BG=dy(!0);function sh(){return[]}function oh(){return!1}function mG(){return{}}function wG(){return""}function CG(){return!0}function yG(o,l){if(o=EA(o),o<1||o>rA)return[];var d=VA,B=At(o,VA);l=dA(l),o-=VA;for(var C=ud(B,l);++d<o;)l(d);return C}function EG(o){return yA(o)?fe(o,On):Ht(o)?[o]:yt(Sy(zA(o)))}function QG(o){var l=++LR;return zA(o)+l}var FG=tc(function(o,l){return o+l},0),bG=Nd("ceil"),UG=tc(function(o,l){return o/l},1),vG=Nd("floor");function IG(o){return o&&o.length?Yl(o,Ft,Ed):e}function SG(o,l){return o&&o.length?Yl(o,dA(l,2),Ed):e}function TG(o){return p0(o,Ft)}function _G(o,l){return p0(o,dA(l,2))}function xG(o){return o&&o.length?Yl(o,Ft,Ud):e}function OG(o,l){return o&&o.length?Yl(o,dA(l,2),Ud):e}var LG=tc(function(o,l){return o*l},1),HG=Nd("round"),kG=tc(function(o,l){return o-l},0);function NG(o){return o&&o.length?cd(o,Ft):0}function MG(o,l){return o&&o.length?cd(o,dA(l,2)):0}return y.after=sV,y.ary=Ry,y.assign=JV,y.assignIn=AE,y.assignInWith=pc,y.assignWith=XV,y.at=YV,y.before=Ky,y.bind=Yd,y.bindAll=AG,y.bindKey=Py,y.castArray=mV,y.chain=Ny,y.chunk=vK,y.compact=IK,y.concat=SK,y.cond=eG,y.conforms=tG,y.constant=th,y.countBy=NP,y.create=zV,y.curry=Vy,y.curryRight=Gy,y.debounce=Wy,y.defaults=qV,y.defaultsDeep=ZV,y.defer=oV,y.delay=aV,y.difference=TK,y.differenceBy=_K,y.differenceWith=xK,y.drop=OK,y.dropRight=LK,y.dropRightWhile=HK,y.dropWhile=kK,y.fill=NK,y.filter=DP,y.flatMap=PP,y.flatMapDeep=VP,y.flatMapDepth=GP,y.flatten=Oy,y.flattenDeep=MK,y.flattenDepth=DK,y.flip=lV,y.flow=rG,y.flowRight=iG,y.fromPairs=RK,y.functions=i2,y.functionsIn=s2,y.groupBy=WP,y.initial=PK,y.intersection=VK,y.intersectionBy=GK,y.intersectionWith=WK,y.invert=a2,y.invertBy=l2,y.invokeMap=JP,y.iteratee=nh,y.keyBy=XP,y.keys=Me,y.keysIn=Qt,y.map=lc,y.mapKeys=u2,y.mapValues=f2,y.matches=sG,y.matchesProperty=oG,y.memoize=uc,y.merge=d2,y.mergeWith=eE,y.method=aG,y.methodOf=lG,y.mixin=rh,y.negate=fc,y.nthArg=uG,y.omit=h2,y.omitBy=p2,y.once=cV,y.orderBy=YP,y.over=fG,y.overArgs=uV,y.overEvery=dG,y.overSome=hG,y.partial=zd,y.partialRight=$y,y.partition=zP,y.pick=g2,y.pickBy=tE,y.property=lE,y.propertyOf=pG,y.pull=YK,y.pullAll=Hy,y.pullAllBy=zK,y.pullAllWith=qK,y.pullAt=ZK,y.range=gG,y.rangeRight=BG,y.rearg=fV,y.reject=jP,y.remove=jK,y.rest=dV,y.reverse=Jd,y.sampleSize=eV,y.set=m2,y.setWith=w2,y.shuffle=tV,y.slice=AP,y.sortBy=iV,y.sortedUniq=oP,y.sortedUniqBy=aP,y.split=P2,y.spread=hV,y.tail=lP,y.take=cP,y.takeRight=uP,y.takeRightWhile=fP,y.takeWhile=dP,y.tap=IP,y.throttle=pV,y.thru=ac,y.toArray=qy,y.toPairs=nE,y.toPairsIn=rE,y.toPath=EG,y.toPlainObject=jy,y.transform=C2,y.unary=gV,y.union=hP,y.unionBy=pP,y.unionWith=gP,y.uniq=BP,y.uniqBy=mP,y.uniqWith=wP,y.unset=y2,y.unzip=Xd,y.unzipWith=ky,y.update=E2,y.updateWith=Q2,y.values=Es,y.valuesIn=F2,y.without=CP,y.words=oE,y.wrap=BV,y.xor=yP,y.xorBy=EP,y.xorWith=QP,y.zip=FP,y.zipObject=bP,y.zipObjectDeep=UP,y.zipWith=vP,y.entries=nE,y.entriesIn=rE,y.extend=AE,y.extendWith=pc,rh(y,y),y.add=FG,y.attempt=aE,y.camelCase=I2,y.capitalize=iE,y.ceil=bG,y.clamp=b2,y.clone=wV,y.cloneDeep=yV,y.cloneDeepWith=EV,y.cloneWith=CV,y.conformsTo=QV,y.deburr=sE,y.defaultTo=nG,y.divide=UG,y.endsWith=S2,y.eq=pn,y.escape=T2,y.escapeRegExp=_2,y.every=MP,y.find=RP,y.findIndex=_y,y.findKey=jV,y.findLast=KP,y.findLastIndex=xy,y.findLastKey=A2,y.floor=vG,y.forEach=My,y.forEachRight=Dy,y.forIn=e2,y.forInRight=t2,y.forOwn=n2,y.forOwnRight=r2,y.get=jd,y.gt=FV,y.gte=bV,y.has=o2,y.hasIn=Ah,y.head=Ly,y.identity=Ft,y.includes=$P,y.indexOf=KK,y.inRange=U2,y.invoke=c2,y.isArguments=Qi,y.isArray=yA,y.isArrayBuffer=UV,y.isArrayLike=Et,y.isArrayLikeObject=Ce,y.isBoolean=vV,y.isBuffer=Pr,y.isDate=IV,y.isElement=SV,y.isEmpty=TV,y.isEqual=_V,y.isEqualWith=xV,y.isError=qd,y.isFinite=OV,y.isFunction=nr,y.isInteger=Jy,y.isLength=dc,y.isMap=Xy,y.isMatch=LV,y.isMatchWith=HV,y.isNaN=kV,y.isNative=NV,y.isNil=DV,y.isNull=MV,y.isNumber=Yy,y.isObject=he,y.isObjectLike=ge,y.isPlainObject=Ho,y.isRegExp=Zd,y.isSafeInteger=RV,y.isSet=zy,y.isString=hc,y.isSymbol=Ht,y.isTypedArray=ys,y.isUndefined=KV,y.isWeakMap=PV,y.isWeakSet=VV,y.join=$K,y.kebabCase=x2,y.last=An,y.lastIndexOf=JK,y.lowerCase=O2,y.lowerFirst=L2,y.lt=GV,y.lte=WV,y.max=IG,y.maxBy=SG,y.mean=TG,y.meanBy=_G,y.min=xG,y.minBy=OG,y.stubArray=sh,y.stubFalse=oh,y.stubObject=mG,y.stubString=wG,y.stubTrue=CG,y.multiply=LG,y.nth=XK,y.noConflict=cG,y.noop=ih,y.now=cc,y.pad=H2,y.padEnd=k2,y.padStart=N2,y.parseInt=M2,y.random=v2,y.reduce=qP,y.reduceRight=ZP,y.repeat=D2,y.replace=R2,y.result=B2,y.round=HG,y.runInContext=L,y.sample=AV,y.size=nV,y.snakeCase=K2,y.some=rV,y.sortedIndex=eP,y.sortedIndexBy=tP,y.sortedIndexOf=nP,y.sortedLastIndex=rP,y.sortedLastIndexBy=iP,y.sortedLastIndexOf=sP,y.startCase=V2,y.startsWith=G2,y.subtract=kG,y.sum=NG,y.sumBy=MG,y.template=W2,y.times=yG,y.toFinite=rr,y.toInteger=EA,y.toLength=Zy,y.toLower=$2,y.toNumber=en,y.toSafeInteger=$V,y.toString=zA,y.toUpper=J2,y.trim=X2,y.trimEnd=Y2,y.trimStart=z2,y.truncate=q2,y.unescape=Z2,y.uniqueId=QG,y.upperCase=j2,y.upperFirst=eh,y.each=My,y.eachRight=Dy,y.first=Ly,rh(y,function(){var o={};return _n(y,function(l,d){ZA.call(y.prototype,d)||(o[d]=l)}),o}(),{chain:!1}),y.VERSION=n,Yt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){y[o].placeholder=y}),Yt(["drop","take"],function(o,l){OA.prototype[o]=function(d){d=d===e?1:Te(EA(d),0);var B=this.__filtered__&&!l?new OA(this):this.clone();return B.__filtered__?B.__takeCount__=At(d,B.__takeCount__):B.__views__.push({size:At(d,VA),type:o+(B.__dir__<0?"Right":"")}),B},OA.prototype[o+"Right"]=function(d){return this.reverse()[o](d).reverse()}}),Yt(["filter","map","takeWhile"],function(o,l){var d=l+1,B=d==LA||d==RA;OA.prototype[o]=function(C){var Q=this.clone();return Q.__iteratees__.push({iteratee:dA(C,3),type:d}),Q.__filtered__=Q.__filtered__||B,Q}}),Yt(["head","last"],function(o,l){var d="take"+(l?"Right":"");OA.prototype[o]=function(){return this[d](1).value()[0]}}),Yt(["initial","tail"],function(o,l){var d="drop"+(l?"":"Right");OA.prototype[o]=function(){return this.__filtered__?new OA(this):this[d](1)}}),OA.prototype.compact=function(){return this.filter(Ft)},OA.prototype.find=function(o){return this.filter(o).head()},OA.prototype.findLast=function(o){return this.reverse().find(o)},OA.prototype.invokeMap=vA(function(o,l){return typeof o=="function"?new OA(this):this.map(function(d){return So(d,o,l)})}),OA.prototype.reject=function(o){return this.filter(fc(dA(o)))},OA.prototype.slice=function(o,l){o=EA(o);var d=this;return d.__filtered__&&(o>0||l<0)?new OA(d):(o<0?d=d.takeRight(-o):o&&(d=d.drop(o)),l!==e&&(l=EA(l),d=l<0?d.dropRight(-l):d.take(l-o)),d)},OA.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},OA.prototype.toArray=function(){return this.take(VA)},_n(OA.prototype,function(o,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),B=/^(?:head|last)$/.test(l),C=y[B?"take"+(l=="last"?"Right":""):l],Q=B||/^find/.test(l);C&&(y.prototype[l]=function(){var v=this.__wrapped__,x=B?[1]:arguments,k=v instanceof OA,G=x[0],W=k||yA(v),J=function(SA){var MA=C.apply(y,Hr([SA],x));return B&&q?MA[0]:MA};W&&d&&typeof G=="function"&&G.length!=1&&(k=W=!1);var q=this.__chain__,lA=!!this.__actions__.length,hA=Q&&!q,UA=k&&!lA;if(!Q&&W){v=UA?v:new OA(this);var pA=o.apply(v,x);return pA.__actions__.push({func:ac,args:[J],thisArg:e}),new qt(pA,q)}return hA&&UA?o.apply(this,x):(pA=this.thru(J),hA?B?pA.value()[0]:pA.value():pA)})}),Yt(["pop","push","shift","sort","splice","unshift"],function(o){var l=Ll[o],d=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",B=/^(?:pop|shift)$/.test(o);y.prototype[o]=function(){var C=arguments;if(B&&!this.__chain__){var Q=this.value();return l.apply(yA(Q)?Q:[],C)}return this[d](function(v){return l.apply(yA(v)?v:[],C)})}}),_n(OA.prototype,function(o,l){var d=y[l];if(d){var B=d.name+"";ZA.call(gs,B)||(gs[B]=[]),gs[B].push({name:l,func:d})}}),gs[ec(e,I).name]=[{name:"wrapper",func:e}],OA.prototype.clone=ZR,OA.prototype.reverse=jR,OA.prototype.value=A4,y.prototype.at=SP,y.prototype.chain=TP,y.prototype.commit=_P,y.prototype.next=xP,y.prototype.plant=LP,y.prototype.reverse=HP,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=kP,y.prototype.first=y.prototype.head,Eo&&(y.prototype[Eo]=OP),y},ds=_R();pi?((pi.exports=ds)._=ds,nd._=ds):We._=ds}).call(Ys)}(Oa,Oa.exports);var vm=Oa.exports;const c_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAYAAAB/HSuDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAHkJJREFUeNrs3Q1u8zaXgNHS8JK4/xVwTyzytgnS1HZsixR/7jlAgZkMBl+hT6Z1H1FyqrX+BQAAAOzt4hAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAA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AAAACAAAAABAAAAAAAACAAAAABAAAAAAgAAAAAAABAAAAAAIAAAAAEAAAAAAAAIAAAAAEAAAAACAAAAAAAAEAAAAALAkwACd6iSVhnRezwAAAABJRU5ErkJggg==",u_={class:"camera__preview"},f_={key:0,class:"camera__bg-notification"},d_=["innerHTML"],h_=["width","height"],p_=["width","height"],g_={key:1,class:"camera__countdown-overlay"},B_=["innerHTML","data-countdown"],m_=["src"],w_={class:"camera__controls"},C_={class:"container"},y_={class:"row"},E_={class:"col"},Q_={class:"btn-group"},F_={key:0},b_={key:1},U_={key:0,class:"camera__switch-cam"},v_={key:1,class:"base-camera__devices"},I_={name:"BaseCamera",inheritAttrs:!1};function S_(t){const A=atob(t.split(",")[1]),e=new ArrayBuffer(A.length),n=new Uint8Array(e);for(let r=0;r<A.length;r++)n[r]=A.charCodeAt(r);return new Blob([e],{type:"image/png"})}const T_=p.defineComponent({...I_,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:()=>c_},countdown:{type:Number,default:3},ratio:{type:String,default:"4x3"},enableAudio:{type:Boolean,default:!1},enableSelectDevice:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{expose:A,emit:e}){const n={"1x1":{width:720,height:720},"3x2":{width:1152,height:768},"2x3":{width:768,height:1152},"4x3":{width:1024,height:768},"3x4":{width:768,height:1024},"16x9":{width:1280,height:720},"9x16":{width:720,height:1280}},r=t,i=e,s=p.ref(),a=p.ref(),c=p.ref(!1),u=p.ref([]),f=p.ref(),h=p.ref(),g=p.ref(!1),m=p.ref(!1),w=p.ref(0),F=p.ref(0),b=p.ref(),I=p.computed(()=>u.value.filter(rA=>rA.kind==="videoinput")),O=p.computed(()=>u.value.filter(rA=>rA.kind==="audioinput")),T=p.computed({get(){return f.value&&f.value.deviceId},set(rA){f.value=I.value.find(BA=>BA.deviceId===rA)}}),E=p.computed({get(){return h.value&&h.value.deviceId},set(rA){h.value=O.value.find(BA=>BA.deviceId===rA)}}),H=p.computed(()=>{const rA=f.value&&I.value.findIndex(BA=>BA.deviceId===f.value.deviceId);return r.enableMirrorCamera&&rA===0?"mirror-cam":""}),U=p.computed(()=>{const rA=f.value&&u.value.findIndex(BA=>BA.deviceId===f.value.deviceId);return H.value?`${H.value} mirror-device-${rA}`:""});function M(){w.value=n[r.ratio]?n[r.ratio].width:s.value.parentElement&&s.value.parentElement.clientWidth,F.value=n[r.ratio]?n[r.ratio].height:s.value.parentElement&&s.value.parentElement.clientHeight}const P=vm.debounce(()=>{M()},300,{trailing:!0,leading:!1});async function N(){const rA={audio:r.enableAudio&&{...h.value?{deviceId:h.value.deviceId}:{}},video:{...f.value?{deviceId:f.value.deviceId}:{},width:{ideal:n[r.ratio]?n[r.ratio].width:s.value.clientWidth},height:{ideal:n[r.ratio]?n[r.ratio].height:s.value.clientHeight}}};return navigator.mediaDevices.getUserMedia(rA).catch(BA=>{console.error(BA,"navigator.mediaDevices.getUserMedia: failed")})}function sA(){s.value&&s.value.srcObject&&s.value.srcObject.getTracks().forEach(BA=>{BA.stop()})}async function mA(){return s.value.srcObject=await N(),u.value=await navigator.mediaDevices.enumerateDevices(),{stream:s.value.srcObject,devices:u.value}}function nA(){g.value?(g.value=!1,m.value=!1,sA()):(g.value=!0,mA())}function cA(){u.value.length>1&&(sA(),f.value=f.value&&f.value.deviceId===I.value[0].deviceId?I.value[I.value.length-1]:I.value[0],mA())}async function LA(rA,BA){sA(),rA&&(!BA||rA.deviceId!==BA.deviceId)&&await mA()}p.watch(()=>f.value,LA),p.watch(()=>h.value,LA);function se(){r.countdown?(b.value=b.value?b.value-1:r.countdown,b.value?setTimeout(se,1e3):RA()):RA()}A({onCapture:se});function RA(){m.value=!0;const rA=a.value.getContext("2d"),BA=s.value,YA=BA&&BA.srcObject&&BA.srcObject.getTracks(),{width:VA,height:GA}=YA.length&&YA[0].getSettings(),DA=VA/GA;let qA=a.value.width,WA=qA/DA;WA<a.value.height&&(WA=a.value.height,qA=WA*DA);const ue=H.value?-1:1;rA.save(),rA.scale(ue,1),rA.drawImage(BA,qA>a.value.width?(a.value.width-qA)/2:0,WA>a.value.height?(a.value.height-WA)/2:0,qA*ue,WA),rA.restore();const Ne=a.value.toDataURL("image/png");console.log("dataUrl",Ne),HA(Ne)}function HA(rA){const BA=S_(rA);i("update:modelValue",{name:`cam-pic-${new Date().toISOString()}`,id:`cam-pic-${new Date().toISOString()}`,blob:BA,size:BA.size})}return p.onMounted(async()=>{sA(),await mA(),f.value=I.value[0],r.enableAudio&&(h.value=O.value[0]),navigator.mediaDevices.addEventListener("devicechange",async rA=>{await mA()}),r.defaultRearCamera&&cA(),nA(),window.addEventListener("resize",P),M(),await p.nextTick(),c.value=!0}),p.onBeforeUnmount(()=>{g.value=!1,m.value=!1,sA(),window.removeEventListener("resize",P)}),(rA,BA)=>{const YA=p.resolveComponent("loading-spinner"),VA=p.resolveComponent("svg-icon"),GA=p.resolveComponent("input-dropdown");return p.openBlock(),p.createElementBlock("div",{class:p.normalizeClass(["camera",U.value])},[p.createElementVNode("div",u_,[c.value?p.createCommentVNode("",!0):(p.openBlock(),p.createElementBlock("div",f_,[p.createVNode(YA,{color:"#000"},{default:p.withCtx(()=>[p.createElementVNode("span",{class:p.normalizeClass("d-block text-center"),innerHTML:rA.$t("camera.waitForCameraNotification")},null,8,d_)]),_:1})])),p.withDirectives(p.createElementVNode("video",{ref_key:"camera",ref:s,class:p.normalizeClass(["camera__video",`aspect-ratio--${r.ratio}`]),width:w.value,height:F.value,autoplay:"",playsinline:""},null,10,h_),[[p.vShow,c.value]]),p.withDirectives(p.createElementVNode("canvas",{ref_key:"canvas",ref:a,class:"camera__canvas",width:w.value,height:F.value},null,8,p_),[[p.vShow,m.value]]),b.value?(p.openBlock(),p.createElementBlock("div",g_,[(p.openBlock(),p.createElementBlock("p",{class:"countdown",key:b.value,innerHTML:b.value,"data-countdown":b.value},null,8,B_))])):p.createCommentVNode("",!0),t.enableGuide&&g.value&&c.value?(p.openBlock(),p.createElementBlock("img",{key:2,class:"camera__guide",src:t.guideSrc},null,8,m_)):p.createCommentVNode("",!0)]),p.createElementVNode("div",w_,[p.createElementVNode("div",C_,[p.createElementVNode("div",y_,[p.createElementVNode("div",E_,[p.createElementVNode("div",Q_,[p.createElementVNode("button",{type:"button",class:"camera__toggle btn btn-primary",onClick:nA},[g.value?(p.openBlock(),p.createElementBlock("span",b_,p.toDisplayString(rA.$t("common.pause")),1)):(p.openBlock(),p.createElementBlock("span",F_,p.toDisplayString(rA.$t("common.play")),1))]),p.createElementVNode("button",{type:"button",class:"camera__capture btn btn-primary",onClick:se},p.toDisplayString(rA.$t("camera.capture")),1)])])])])]),I.value&&I.value.length>1?(p.openBlock(),p.createElementBlock("div",U_,[p.createElementVNode("button",{class:"btn",onClick:p.withModifiers(cA,["prevent"])},[p.createVNode(VA,{symbol:"switch-camera"})])])):p.createCommentVNode("",!0),t.enableSelectDevice?(p.openBlock(),p.createElementBlock("div",v_,[O.value.length&&h.value?(p.openBlock(),p.createBlock(GA,{key:0,modelValue:E.value,"onUpdate:modelValue":BA[0]||(BA[0]=DA=>E.value=DA),options:O.value.map((DA,qA)=>({text:DA.label||`Microphone ${qA+1}`,value:DA.deviceId}))},null,8,["modelValue","options"])):p.createCommentVNode("",!0),I.value.length?(p.openBlock(),p.createBlock(GA,{key:1,modelValue:T.value,"onUpdate:modelValue":BA[1]||(BA[1]=DA=>T.value=DA),options:I.value.map((DA,qA)=>({text:DA.label||`Camera ${qA+1}`,value:DA.deviceId}))},null,8,["modelValue","options"])):p.createCommentVNode("",!0)])):p.createCommentVNode("",!0)],2)}}}),o3="",__=/"(?:_|\\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*:/,x_=/"(?: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*:/,O_=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function L_(t,A){if(t==="__proto__"||t==="constructor"&&A&&typeof A=="object"&&"prototype"in A){H_(t);return}return A}function H_(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function k_(t,A={}){if(typeof t!="string")return t;const e=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return e.slice(1,-1);if(e.length<=9){const n=e.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!O_.test(t)){if(A.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(__.test(t)||x_.test(t)){if(A.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,L_)}return JSON.parse(t)}catch(n){if(A.strict)throw n;return t}}const N_=/#/g,M_=/&/g,D_=/\//g,R_=/=/g,Ju=/\+/g,K_=/%5e/gi,P_=/%60/gi,V_=/%7c/gi,G_=/%20/gi;function W_(t){return encodeURI(""+t).replace(V_,"|")}function Xu(t){return W_(typeof t=="string"?t:JSON.stringify(t)).replace(Ju,"%2B").replace(G_,"+").replace(N_,"%23").replace(M_,"%26").replace(P_,"`").replace(K_,"^").replace(D_,"%2F")}function Yu(t){return Xu(t).replace(R_,"%3D")}function Im(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function $_(t){return Im(t.replace(Ju," "))}function J_(t){return Im(t.replace(Ju," "))}function X_(t=""){const A={};t[0]==="?"&&(t=t.slice(1));for(const e of t.split("&")){const n=e.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const r=$_(n[1]);if(r==="__proto__"||r==="constructor")continue;const i=J_(n[2]||"");A[r]===void 0?A[r]=i:Array.isArray(A[r])?A[r].push(i):A[r]=[A[r],i]}return A}function Y_(t,A){return(typeof A=="number"||typeof A=="boolean")&&(A=String(A)),A?Array.isArray(A)?A.map(e=>`${Yu(t)}=${Xu(e)}`).join("&"):`${Yu(t)}=${Xu(A)}`:Yu(t)}function z_(t){return Object.keys(t).filter(A=>t[A]!==void 0).map(A=>Y_(A,t[A])).filter(Boolean).join("&")}const q_=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Z_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,j_=/^([/\\]\s*){2,}[^/\\]/,Ax=/\/$|\/\?|\/#/,ex=/^\.?\//;function Sm(t,A={}){return typeof A=="boolean"&&(A={acceptRelative:A}),A.strict?q_.test(t):Z_.test(t)||(A.acceptRelative?j_.test(t):!1)}function zu(t="",A){return A?Ax.test(t):t.endsWith("/")}function tx(t="",A){if(!A)return(zu(t)?t.slice(0,-1):t)||"/";if(!zu(t,!0))return t||"/";let e=t,n="";const r=t.indexOf("#");r>=0&&(e=t.slice(0,r),n=t.slice(r));const[i,...s]=e.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+n}function nx(t="",A){if(!A)return t.endsWith("/")?t:t+"/";if(zu(t,!0))return t||"/";let e=t,n="";const r=t.indexOf("#");if(r>=0&&(e=t.slice(0,r),n=t.slice(r),!e))return n;const[i,...s]=e.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+n}function rx(t,A){if(sx(A)||Sm(t))return t;const e=tx(A);return t.startsWith(e)?t:ax(e,t)}function ix(t,A){const e=_m(t),n={...X_(e.search),...A};return e.search=z_(n),lx(e)}function sx(t){return!t||t==="/"}function ox(t){return t&&t!=="/"}function ax(t,...A){let e=t||"";for(const n of A.filter(r=>ox(r)))if(e){const r=n.replace(ex,"");e=nx(e)+r}else e=n;return e}const Tm=Symbol.for("ufo:protocolRelative");function _m(t="",A){const e=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(e){const[,h,g=""]=e;return{protocol:h.toLowerCase(),pathname:g,href:h+g,auth:"",host:"",search:"",hash:""}}if(!Sm(t,{acceptRelative:!0}))return A?_m(A+t):xm(t);const[,n="",r,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:u,hash:f}=xm(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:s,pathname:c,search:u,hash:f,[Tm]:!n}}function xm(t=""){const[A="",e="",n=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:A,search:e,hash:n}}function lx(t){const A=t.pathname||"",e=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",n=t.hash||"",r=t.auth?t.auth+"@":"",i=t.host||"";return(t.protocol||t[Tm]?(t.protocol||"")+"//":"")+r+i+A+e+n}class cx extends Error{constructor(A,e){super(A,e),this.name="FetchError",e!=null&&e.cause&&!this.cause&&(this.cause=e.cause)}}function ux(t){var c,u,f,h,g;const A=((c=t.error)==null?void 0:c.message)||((u=t.error)==null?void 0:u.toString())||"",e=((f=t.request)==null?void 0:f.method)||((h=t.options)==null?void 0:h.method)||"GET",n=((g=t.request)==null?void 0:g.url)||String(t.request)||"/",r=`[${e}] ${JSON.stringify(n)}`,i=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",s=`${r}: ${i}${A?` ${A}`:""}`,a=new cx(s,t.error?{cause:t.error}:void 0);for(const m of["request","options","response"])Object.defineProperty(a,m,{get(){return t[m]}});for(const[m,w]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,m,{get(){return t.response&&t.response[w]}});return a}const fx=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Om(t="GET"){return fx.has(t.toUpperCase())}function dx(t){if(t===void 0)return!1;const A=typeof t;return A==="string"||A==="number"||A==="boolean"||A===null?!0:A!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const hx=new Set(["image/svg","application/xml","application/xhtml","application/html"]),px=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function gx(t=""){if(!t)return"json";const A=t.split(";").shift()||"";return px.test(A)?"json":hx.has(A)||A.startsWith("text/")?"text":"blob"}function Bx(t,A,e=globalThis.Headers){const n={...A,...t};if(A!=null&&A.params&&(t!=null&&t.params)&&(n.params={...A==null?void 0:A.params,...t==null?void 0:t.params}),A!=null&&A.query&&(t!=null&&t.query)&&(n.query={...A==null?void 0:A.query,...t==null?void 0:t.query}),A!=null&&A.headers&&(t!=null&&t.headers)){n.headers=new e((A==null?void 0:A.headers)||{});for(const[r,i]of new e((t==null?void 0:t.headers)||{}))n.headers.set(r,i)}return n}const mx=new Set([408,409,425,429,500,502,503,504]),wx=new Set([101,204,205,304]);function Lm(t={}){const{fetch:A=globalThis.fetch,Headers:e=globalThis.Headers,AbortController:n=globalThis.AbortController}=t;async function r(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let f;typeof a.options.retry=="number"?f=a.options.retry:f=Om(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):mx.has(h))){const g=a.options.retryDelay||0;return g>0&&await new Promise(m=>setTimeout(m,g)),i(a.request,{...a.options,retry:f-1})}}const u=ux(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){var m;const f={request:c,options:Bx(u,t.defaults,e),response:void 0,error:void 0};f.options.method=(m=f.options.method)==null?void 0:m.toUpperCase(),f.options.onRequest&&await f.options.onRequest(f),typeof f.request=="string"&&(f.options.baseURL&&(f.request=rx(f.request,f.options.baseURL)),(f.options.query||f.options.params)&&(f.request=ix(f.request,{...f.options.params,...f.options.query}))),f.options.body&&Om(f.options.method)&&(dx(f.options.body)?(f.options.body=typeof f.options.body=="string"?f.options.body:JSON.stringify(f.options.body),f.options.headers=new e(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 w=new n;h=setTimeout(()=>w.abort(),f.options.timeout),f.options.signal=w.signal}try{f.response=await A(f.request,f.options)}catch(w){return f.error=w,f.options.onRequestError&&await f.options.onRequestError(f),await r(f)}finally{h&&clearTimeout(h)}if(f.response.body&&!wx.has(f.response.status)&&f.options.method!=="HEAD"){const w=(f.options.parseResponse?"json":f.options.responseType)||gx(f.response.headers.get("content-type")||"");switch(w){case"json":{const F=await f.response.text(),b=f.options.parseResponse||k_;f.response._data=b(F);break}case"stream":{f.response._data=f.response.body;break}default:f.response._data=await f.response[w]()}}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},s=async function(c,u){return(await i(c,u))._data};return s.raw=i,s.native=(...a)=>A(...a),s.create=(a={})=>Lm({...t,defaults:{...t.defaults,...a}}),s}const qu=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")}(),Cx=qu.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),yx=qu.Headers,Ex=qu.AbortController,Qx=Lm({fetch:Cx,Headers:yx,AbortController:Ex}),Fx={class:"file-upload"},bx=["src"],Ux=["onClick"],vx=["onClick"],Ix=["for"],Sx=["innerHTML"],Tx={key:0,class:"file-upload__loading-spinner"},_x=[p.createElementVNode("span",{class:"spinner-border",role:"status"},[p.createElementVNode("span",{class:"visually-hidden"},"Loading...")],-1)];async function xx(t){return await new Promise(A=>{let e=new FileReader;e.onload=()=>A(e.result),e.readAsDataURL(t)})}const Ox=p.defineComponent({__name:"file-upload",props:{modelValue:{type:Array,default:[]},src:{type:String},name:{type:String,default:()=>Be()},id:{type:String,default:()=>Be()},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}},emits:["update:modelValue","update:src"],setup(t,{emit:A}){const e=t,n=A,r=p.ref([]),i=p.ref([]),s=p.ref(!1),a=p.computed(()=>e.modelValue.length?e.modelValue:e.src?[{type:"",src:e.src}]:i.value);p.watch(()=>r.value,async f=>{i.value=await Promise.all(f.map(async h=>({src:e.toDataUrl?await xx(h):await u(h),type:h.type})))},{deep:!0}),p.watch(()=>i.value,async f=>{const h=e.multiple?f:f[0];n("update:modelValue",h),e.multiple||n("update:src",f[0]&&f[0].src)},{deep:!0});function c(f){r.value.splice(f,1),(!i.value||!i.value.length)&&n("update:src","")}async function u(f){const h=new FormData;h.append("file",f),s.value=!0;const m=await(e.customFetch||Qx)(e.endpoint,{method:"POST",...e.customFetch?{}:{headers:{Accept:"application/json",...e.authToken?{Authorization:`Bearer ${e.authToken}`}:{}}},body:h}).catch(w=>{console.error("Error",w)});return s.value=!1,`${e.baseResponsePath}/${m.path}`}return(f,h)=>{const g=p.resolveComponent("svg-icon"),m=p.resolveComponent("input-file");return p.openBlock(),p.createElementBlock("div",Fx,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(a.value,(w,F)=>(p.openBlock(),p.createElementBlock("div",{key:w.src,class:p.normalizeClass(t.enablePreview?"file-upload__thumbnail":"file-upload__reset")},[t.enablePreview?(p.openBlock(),p.createElementBlock(p.Fragment,{key:0},[p.createElementVNode("img",{src:`${w.src}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail rounded"},null,8,bx),p.createElementVNode("button",{onClick:p.withModifiers(b=>c(F),["prevent"]),class:"btn btn--close"},[p.createVNode(g,{symbol:"x"})],8,Ux)],64)):(p.openBlock(),p.createElementBlock("button",{key:1,onClick:p.withModifiers(b=>c(F),["prevent"]),class:"btn btn--close btn-outline-dark"},[p.createVNode(g,{symbol:"x"})],8,vx))],2))),128)),p.createVNode(m,{modelValue:r.value,"onUpdate:modelValue":h[0]||(h[0]=w=>r.value=w),id:t.id,name:t.name,accept:t.accept,class:"d-none"},null,8,["modelValue","id","name","accept"]),p.createElementVNode("label",{for:t.id,class:"file-upload__label"},[p.renderSlot(f.$slots,"button",{},()=>[p.createElementVNode("span",{class:"btn btn-outline-dark",innerHTML:t.label},null,8,Sx)]),p.createVNode(p.Transition,{name:"fade"},{default:p.withCtx(()=>[s.value?(p.openBlock(),p.createElementBlock("span",Tx,_x)):p.createCommentVNode("",!0)]),_:1})],8,Ix)])}}}),l3="",Lx={class:"upload-group"},Hx=["innerHTML"],kx={class:"row"},Nx={class:"img-container"},Mx=["src"],Dx=["onClick"],Rx={class:"col-auto mb-4"},Kx={role:"button",class:"img-thumbnail d-flex justify-content-center align-items-center"},Hm=p.defineComponent({__name:"upload-group",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Be()},id:{type:String,default:()=>Be()},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:A}){const e=t,n=A,r=p.ref([...e.modelValue]);function i(s){r.value.splice(s,1),n("update:modelValue",r.value)}return p.watch(r.value,(s,a)=>{n("update:modelValue",s)}),(s,a)=>{const c=p.resolveComponent("svg-icon"),u=p.resolveComponent("file-upload");return p.openBlock(),p.createElementBlock("div",Lx,[p.createElementVNode("label",{innerHTML:t.label},null,8,Hx),p.createElementVNode("div",kx,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.value,(f,h)=>(p.openBlock(),p.createElementBlock("div",{key:f,class:"col-auto mb-4"},[p.createElementVNode("div",Nx,[p.createElementVNode("img",{src:`${f}${t.previewWidth?`?width=${t.previewWidth}`:""}`,class:"img-thumbnail"},null,8,Mx),p.createElementVNode("button",{onClick:p.withModifiers(g=>i(h),["prevent"]),class:"btn btn--close"},[p.createVNode(c,{symbol:"x"})],8,Dx)])]))),128)),p.createElementVNode("div",Rx,[p.createVNode(u,{src:r.value[r.value.length],"onUpdate:src":a[0]||(a[0]=f=>r.value[r.value.length]=f),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:p.withCtx(()=>[p.createElementVNode("span",Kx,[p.createVNode(c,{symbol:"plus"})])]),_:1},8,["src","endpoint","custom-fetch","to-data-url","auth-token","disabled","base-response-path"])])])])}}}),c3="",Px={class:"upload-group"},Vx=["innerHTML"],Gx=p.defineComponent({__name:"asset-uploader",props:{modelValue:{type:Array,default:()=>[]},name:{type:String,default:()=>Be()},id:{type:String,default:()=>Be()},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:A}){const e=t,n=A,r=p.computed({get(){return e.modelValue.map(i=>i.src)},set(i){n("update:modelValue",i.map((s,a)=>({mediaType:e.modelValue[a]&&e.modelValue[a].mediaType||s.includes("data:image")?s.includes("data:image/svg")?"Svg":"Image":e.mediaTypeMap[s.split(".")[1]],src:s,name:e.modelValue[a]&&e.modelValue[a].name||`${e.name}-${a}`,...e.type?{type:e.type}:{}})))}});return(i,s)=>(p.openBlock(),p.createElementBlock("div",Px,[p.createElementVNode("label",{innerHTML:t.label},null,8,Vx),p.createVNode(Hm,{modelValue:r.value,"onUpdate:modelValue":s[0]||(s[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"])]))}}),u3="",Wx={class:"carousel d-flex"},$x=["onClick"],km=p.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:A}){const e=A,n=p.ref(),r=p.ref();function i(){n.value.scrollTo({top:0,left:n.value.scrollLeft-n.value.clientWidth>0?n.value.scrollLeft-n.value.clientWidth:0,behavior:"smooth"})}function s(){console.log(n.value.clientWidth,n.value.scrollLeft),n.value.scrollTo({top:0,left:n.value.scrollLeft-n.value.clientWidth<=r.value.clientWidth?n.value.scrollLeft+n.value.clientWidth:r.value.clientWidth,behavior:"smooth"})}function a(c){e("update:modelValue",c)}return(c,u)=>{const f=p.resolveComponent("svg-icon");return p.openBlock(),p.createElementBlock("div",Wx,[t.navigation?(p.openBlock(),p.createElementBlock("button",{key:0,class:"carousel__control btn btn-link text-light",type:"button",onClick:p.withModifiers(i,["prevent","stop"])},[p.createVNode(f,{symbol:"chevron-left"})])):p.createCommentVNode("",!0),p.createElementVNode("div",{ref_key:"viewport",ref:n,class:"carousel__viewport flex-grow-1"},[p.createElementVNode("div",{ref_key:"track",ref:r,class:"carousel__track d-flex justify-center align-items-center"},[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.items,(h,g)=>p.renderSlot(c.$slots,"carousel-item",{key:h.src,item:h,index:g},()=>[p.createElementVNode("div",{class:p.normalizeClass(["carousel__item",g===t.modelValue?"selected":""]),onClick:m=>a(g)},p.toDisplayString(h),11,$x)])),128))],512)],512),t.navigation?(p.openBlock(),p.createElementBlock("button",{key:1,class:"carousel__control btn btn-link text-light",type:"button",onClick:p.withModifiers(s,["prevent","stop"])},[p.createVNode(f,{symbol:"chevron-right"})])):p.createCommentVNode("",!0)])}}}),f3="",Jx={class:"media-thumbnails"},Xx=["onClick"],Yx={class:"img-container ratio ratio-1x1"},zx=["src"],qx=p.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:A}){const e=A,n=p.ref(-1);function r(i){e("update:modelValue",i),e("select",i)}return(i,s)=>(p.openBlock(),p.createElementBlock("div",Jx,[p.createVNode(km,{items:t.assets},{"carousel-item":p.withCtx(a=>[p.createElementVNode("a",{role:"button",class:"carousel__item media-thumbnails__thumbnail",onClick:c=>r(a.index)},[p.createElementVNode("div",Yx,[p.createElementVNode("img",{src:a.item.thumbnail||a.item.src,class:p.normalizeClass(["img-fluid",n.value===a.index?"is-active":""])},null,10,zx)])],8,Xx)]),_:1},8,["items"])]))}}),d3="",Zx={class:"progress-steps"},jx={class:"progress-steps__list"},AO={class:"progress-step"},eO=["checked","id","value","disabled","read-only","required","onChange"],tO=["for"],nO=["innerHTML"],rO=["for"],iO=["innerHTML"],sO=p.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:A}){const e=t,n=A;function r(i){n("update:modelValue",i),i>=e.progress&&n("update:progress",i)}return(i,s)=>(p.openBlock(),p.createElementBlock("div",Zx,[p.createElementVNode("ul",jx,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.steps,(a,c)=>(p.openBlock(),p.createElementBlock("li",{key:c,class:p.normalizeClass(["progress-steps__step",{"progress-steps__step--disabled":c>t.progress+(t.reveal?1:0),"progress-steps__step--active":c===(t.modelValue||0)}])},[p.renderSlot(i.$slots,"step",{},()=>[p.createElementVNode("div",AO,[p.createElementVNode("input",{type:"radio",checked:c<=(t.progress||0),id:`step-${c}`,name:"step",class:"form-check-input",value:a.value,disabled:a.disabled||c>t.progress+(t.reveal?1:0),"read-only":a.readOnly,required:a.required,onChange:u=>r(c)},null,40,eO),p.createElementVNode("label",{for:`step-${c}`},[p.renderSlot(i.$slots,"button",{step:a},()=>[p.createElementVNode("span",{class:"btn rounded-circle",innerHTML:a.text},null,8,nO)])],8,tO),p.createElementVNode("label",{for:`step-${c}`},[p.renderSlot(i.$slots,"label",{step:a},()=>[p.createElementVNode("span",{class:"form-check-label",innerHTML:a.label},null,8,iO)])],8,rO)])])],2))),128))])]))}}),h3="";/*!
|
|
163
163
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
164
164
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
165
165
|
* Released under MIT License
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.svg-icon{display:inline-flex;justify-content:center;align-items:center;line-height:1}.svg-icon svg{display:block;stroke-width:0;stroke:currentColor;fill:currentColor;width:1.5em;height:1.5em}.svg-icon--xxl svg{width:12rem;height:12rem}.svg-icon--xl svg{width:8rem;height:8rem}.svg-icon--large svg{width:4rem;height:4rem}.loading-spinner{min-width:1.5rem}.loading-spinner svg{display:block;stroke-width:0;stroke:currentColor;fill:currentColor;width:100%;height:100%}.loading-spinner svg path{fill:currentColor}.base-image{position:relative;overflow:hidden}.base-image img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .3s ease-in-out,transform 1.2s ease-in-out}.base-image--zoom:hover img{transform:scale(1.05)}.accordion-button__toggle{transition:transform .24s ease-in-out;transform:rotateX(180deg);transform-origin:center}.collapsed .accordion-button__toggle{transform:rotateX(0)}:root,*:before,*:after{--button-color: #fff}.btn{display:inline-flex;justify-content:center;align-items:center;gap:.5em;transition:all .2s ease;text-decoration:none}.btn:disabled{cursor:not-allowed}.btn .loading-spinner svg{max-width:1.5em;max-height:1.5em}.input{display:flex;flex-direction:column}.input>*{order:2}.input__label{order:0;text-align:start}.input__input-group,.input>input,.input>select,.input>textarea{flex-wrap:nowrap;order:1}.input__error{display:none}.input__color-swatch{flex:0 0 3rem;display:block;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);overflow:hidden;border:thin solid var(--border-color);border-left:none}.input input[type=checkbox],.input input[type=radio]{flex:none}.input input[type=color]{display:block;height:100%;padding:0;border-width:0}.input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.input input[type=color]::-webkit-color-swatch{border:none}.form-switch{display:inline-flex;flex-direction:row;justify-content:space-between;align-items:center;padding-left:0;gap:1rem}.form-switch .input-group{width:auto}.form-switch .form-check-input{width:2.5rem;height:1.3125rem;margin-left:0}.form-switch .form-check-label{margin:0}.input--checkbox{flex-flow:row;gap:.5rem}.input--checkbox input{order:0}.check-group>.form-check{order:1}.check-group label{order:0}.check-group--row{display:inline-flex;flex-flow:row wrap;gap:.5rem}.check-group--row label{flex:1 0 100%}.radio-group>.form-check{order:1}.radio-group label{order:0}.radio-group--row{display:inline-flex;flex-flow:row wrap;gap:.5rem}.radio-group--row label{flex:1 0 100%}.rte-editor{height:100%;display:flex;flex-direction:column}.rte-editor__content{flex:1 1 auto}.rte-editor .ProseMirror{height:100%}.ProseMirror>*+*{margin-top:.75em}.ProseMirror ul,.ProseMirror ol{padding:0 1rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{line-height:1.1}.ProseMirror code{background-color:#6161611a;color:#616161}.ProseMirror pre{background:#0D0D0D;color:#fff;font-family:JetBrainsMono,monospace;padding:.75rem 1rem;border-radius:.5rem}.ProseMirror pre code{color:inherit;padding:0;background:none;font-size:.8rem}.ProseMirror img{max-width:100%;height:auto}.ProseMirror blockquote{padding-left:1rem;border-left:2px solid rgba(13,13,13,.1)}.ProseMirror hr{border:none;border-top:2px solid rgba(13,13,13,.1);margin:2rem 0}.base-input{display:flex;flex-direction:column}.base-input>*{order:2}.base-input__label{order:0}.base-input__input-group,.base-input>input,.base-input>select,.base-input>textarea{flex-wrap:nowrap;order:1}.base-input__color-swatch{flex:0 0 3rem;display:block;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);overflow:hidden;border:thin solid var(--border-color);border-left:none}.base-input input[type=checkbox],.base-input input[type=radio]{flex:none}.base-input input[type=color]{display:block;height:100%;padding:0;border-width:0}.base-input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.base-input input[type=color]::-webkit-color-swatch{border:none}.dropdown-item:has(input[type=radio]){padding:0}.dropdown-item:has(input[type=radio]) .form-check{padding:0}.dropdown-item:has(input[type=radio]) .form-check-label{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x)}.camera,.camera__preview{position:relative;height:100%}.camera__preview canvas{position:relative;left:0;top:0}.camera__preview img,.camera__preview video{display:block;width:100%;height:100%;object-fit:cover}.camera__controls{position:absolute;bottom:0;width:100%;z-index:1;text-align:center;margin:0 0 2rem}.camera.mirror-cam img,.camera.mirror-cam video{transform:scaleX(-1)}.camera__switch-cam{position:absolute;z-index:1;right:0;top:0;margin:1rem}.camera__switch-cam .btn{display:block;background-color:#ffffff3d;border-radius:.3125rem}.camera__switch-cam .svg-icon{display:block;font-size:1.6667rem}.camera__bg-notification{position:absolute;z-index:0;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.camera__bg-notification+video{position:relative;z-index:1}.camera .camera__guide{position:absolute;left:0;top:0;z-index:1;display:block;width:100%;height:100%;pointer-events:none;object-fit:contain}.camera__countdown-overlay{position:absolute;left:0;top:0;z-index:2;width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overflow:hidden}.camera__countdown-overlay .countdown{position:relative;font-size:6rem;color:#fffc;font-weight:700}.camera__countdown-overlay .countdown:before,.camera__countdown-overlay .countdown:after{position:absolute;left:0;top:0;z-index:1;content:attr(data-countdown);transform-origin:center;animation-name:pulse;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease-out}.camera__countdown-overlay .countdown:after{animation-duration:.1 .25s;animation-delay:.25s}@keyframes blur{0%{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}to{-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}@keyframes pulse{0%{transform:scale(1);opacity:.5}to{transform:scale(5);opacity:0}}.file-upload{display:inline-block}.file-upload__thumbnail{position:relative}.file-upload__thumbnail img{width:100%;background:var(--bs-light)}.file-upload__thumbnail .btn{position:absolute;right:0;top:0;margin:.5rem;padding:.125rem .3125rem;border-radius:.2rem}.file-upload__thumbnail .btn:hover{background:rgba(255,255,255,.62)}.file-upload__label{position:relative}.file-upload__loading-spinner{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#ffffffa3;display:grid;place-content:center}.file-upload .fade-enter-active,.file-upload .fade-leave-active{transition:opacity .5s}.file-upload .fade-enter,.file-upload .fade-leave-to{opacity:0}.upload-group .img-thumbnail{width:5rem;aspect-ratio:1/1}.upload-group .file-upload__thumbnail{display:none}.upload-group .img-container{position:relative}.upload-group .img-container .btn--close{position:absolute;right:0;top:0;margin:.25rem;padding:.125rem}:root,*:before,*:after{--carousel-gutter-width: .75rem}.carousel__viewport{position:relative;overflow-x:auto;scroll-behavior:smooth;margin-right:calc(0px - var(--carousel-gutter-width) / 2);margin-left:calc(0px - var(--carousel-gutter-width) / 2);scrollbar-width:none;-ms-overflow-style:none}.carousel__item{flex:0 0 auto;width:20%;padding:0 calc(var(--carousel-gutter-width) / 2)}.carousel>.btn{padding-left:0;padding-right:0}.carousel__viewport::-webkit-scrollbar{height:0}.media-thumbnails{position:relative;padding:.5rem 0;border-radius:.3125rem;background-color:#aaaaaa80}.media-thumbnails .carousel-cell{padding:0 .5rem}.progress-steps ul{display:flex;justify-content:center;gap:4rem;margin:0;padding:0;list-style:none}.progress-steps__step{position:relative}.progress-steps__step:not(:first-of-type):before{content:"";display:block;height:.2em;width:4rem;background-color:var(--bs-gray-300);position:absolute;right:100%;top:50%;transform:translateY(-50%)}.progress-steps__step--active .progress-step .btn{box-shadow:0 0 0 .5em var(--bs-gray-300)}.progress-steps__step--disabled .progress-step .btn{background-color:var(--bs-gray-300);color:var(--bs-dark)}.progress-steps__step input[type=radio]{position:absolute;opacity:0;width:0;height:0}.progress-steps__step .btn{width:2em;height:2em;padding:0;background-color:var(--bs-black);color:var(--bs-white);font-weight:700}.progress-steps__step .form-check-label{position:absolute;left:50%;top:100%;min-width:12rem;transform:translate(-50%) translateY(50%);text-align:center}.progress-steps .progress-step{position:relative}.link-sharing .btn{width:100%;margin-bottom:.5rem}.base-button{display:flex;justify-content:center;align-items:center;box-sizing:border-box;transition:all .2s ease;text-decoration:none;width:100%;margin:0;padding:1.036em 1.625em;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;border-radius:.4375em;font-size:.875em;line-height:1.125em;text-transform:uppercase;font-weight:700}@media screen and (min-width: 600px){.base-button{width:auto}}.base-button .icon{width:16px;height:16px;margin-top:-1px}.base-button.s-collapsed>.caption{display:none}.base-button.s-pending{background-repeat:no-repeat;background-position:center center}.base-button.s-pending .caption{margin-left:25px;visibility:hidden}@media screen and (min-width: 600px){.base-button.s-pending{background-position:1.625em center}.base-button.s-pending .caption{visibility:visible}}.base-button:read-only{cursor:not-allowed}.base-button:disabled{cursor:not-allowed}:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}dialog{opacity:0;transition:opacity .8s;position:absolute;animation:modal-in .32s forwards ease;padding:0;overflow:hidden}dialog[open]{width:100%;opacity:1;pointer-events:inherit}dialog::backdrop{-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem);background-color:#0009}@keyframes modal-in{0%{translate:0 -100%;opacity:0}}.modal-dialog{background-color:var(--page-background-color, #fff);color:var(--body-color);border:none;box-shadow:0 0 .25rem #fff6;min-width:300px;max-width:500px;margin-block:auto}.modal-dialog--sm{max-width:300px}.modal-dialog--md{max-width:600px}.modal-dialog--lg{max-width:800px}.modal-dialog--xl{max-width:1140px}.modal-dialog .btn-close{border-radius:0}.modal-dialog__content{max-height:90vh}.modal-dialog__body{padding:1rem;overflow-y:auto}:root{--scroll-position: 0}body:has(dialog[open]){overflow:hidden;position:fixed;width:100%;top:calc(-1 * var(--scroll-position))}
|
|
1
|
+
.svg-icon{display:inline-flex;justify-content:center;align-items:center;line-height:1}.svg-icon svg{display:block;stroke-width:0;stroke:currentColor;fill:currentColor;width:1.5em;height:1.5em}.svg-icon--xxl svg{width:12rem;height:12rem}.svg-icon--xl svg{width:8rem;height:8rem}.svg-icon--large svg{width:4rem;height:4rem}.loading-spinner{min-width:1.5rem}.loading-spinner svg{display:block;stroke-width:0;stroke:currentColor;fill:currentColor;width:100%;height:100%}.loading-spinner svg path{fill:currentColor}.base-image{position:relative;overflow:hidden}.base-image img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .3s ease-in-out,transform 1.2s ease-in-out}.base-image--zoom:hover img{transform:scale(1.05)}.accordion-button__toggle{transition:transform .24s ease-in-out;transform:rotateX(180deg);transform-origin:center}.collapsed .accordion-button__toggle{transform:rotateX(0)}:root,*:before,*:after{--button-color: #fff}.btn{display:inline-flex;justify-content:center;align-items:center;gap:.5em;transition:all .2s ease;text-decoration:none}.btn:disabled{cursor:not-allowed}.btn .loading-spinner svg{max-width:1.5em;max-height:1.5em}.input{display:flex;flex-direction:column}.input>*{order:2}.input__label{order:0;text-align:start}.input__input-group,.input>input,.input>select,.input>textarea{flex-wrap:nowrap;order:1}.input__error{display:none}.input__color-swatch{flex:0 0 3rem;display:block;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);overflow:hidden;border:thin solid var(--border-color);border-left:none}.input input[type=checkbox],.input input[type=radio]{flex:none}.input input[type=color]{display:block;height:100%;padding:0;border-width:0}.input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.input input[type=color]::-webkit-color-swatch{border:none}.form-switch{display:inline-flex;flex-direction:row;justify-content:space-between;align-items:center;padding-left:0;gap:1rem}.form-switch .input-group{width:auto}.form-switch .form-check-input{width:2.5rem;height:1.3125rem;margin-left:0}.form-switch .form-check-label{margin:0}.input--checkbox{flex-flow:row;gap:.5rem}.input--checkbox input{order:0}.check-group>.form-check{order:1}.check-group label{order:0}.check-group--row{display:inline-flex;flex-flow:row wrap;gap:.5rem}.check-group--row label{flex:1 0 100%}.radio-group>.form-check{order:1}.radio-group label{order:0}.radio-group--row{display:inline-flex;flex-flow:row wrap;gap:.5rem}.radio-group--row label{flex:1 0 100%}.rte-editor{height:100%;display:flex;flex-direction:column}.rte-editor__content{flex:1 1 auto}.rte-editor .ProseMirror{height:100%}.ProseMirror>*+*{margin-top:.75em}.ProseMirror ul,.ProseMirror ol{padding:0 1rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{line-height:1.1}.ProseMirror code{background-color:#6161611a;color:#616161}.ProseMirror pre{background:#0D0D0D;color:#fff;font-family:JetBrainsMono,monospace;padding:.75rem 1rem;border-radius:.5rem}.ProseMirror pre code{color:inherit;padding:0;background:none;font-size:.8rem}.ProseMirror img{max-width:100%;height:auto}.ProseMirror blockquote{padding-left:1rem;border-left:2px solid rgba(13,13,13,.1)}.ProseMirror hr{border:none;border-top:2px solid rgba(13,13,13,.1);margin:2rem 0}.base-input{display:flex;flex-direction:column}.base-input>*{order:2}.base-input__label{order:0}.base-input__input-group,.base-input>input,.base-input>select,.base-input>textarea{flex-wrap:nowrap;order:1}.base-input__color-swatch{flex:0 0 3rem;display:block;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);overflow:hidden;border:thin solid var(--border-color);border-left:none}.base-input input[type=checkbox],.base-input input[type=radio]{flex:none}.base-input input[type=color]{display:block;height:100%;padding:0;border-width:0}.base-input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.base-input input[type=color]::-webkit-color-swatch{border:none}.dropdown-item:has(input[type=radio]){padding:0}.dropdown-item:has(input[type=radio]) .form-check{padding:0}.dropdown-item:has(input[type=radio]) .form-check-label{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x)}.camera,.camera__preview{position:relative;height:100%}.camera__preview canvas{position:relative;left:0;top:0}.camera__preview img,.camera__preview video{display:block;width:100%;height:100%;object-fit:cover}.camera__controls{position:absolute;bottom:0;width:100%;z-index:1;text-align:center;margin:0 0 2rem}.camera.mirror-cam img,.camera.mirror-cam video{transform:scaleX(-1)}.camera__switch-cam{position:absolute;z-index:1;right:0;top:0;margin:1rem}.camera__switch-cam .btn{display:block;background-color:#ffffff3d;border-radius:.3125rem}.camera__switch-cam .svg-icon{display:block;font-size:1.6667rem}.camera .aspect-ratio--1x1{aspect-ratio:1/1}.camera .aspect-ratio--3x2{aspect-ratio:3/2}.camera .aspect-ratio--2x3{aspect-ratio:2/3}.camera .aspect-ratio--4x3{aspect-ratio:4/3}.camera .aspect-ratio--3x4{aspect-ratio:3/4}.camera .aspect-ratio--16x9{aspect-ratio:16/9}.camera .aspect-ratio--9x16{aspect-ratio:9/16}.camera__bg-notification{position:absolute;z-index:0;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.camera__bg-notification+video{position:relative;z-index:1}.camera .camera__guide{position:absolute;left:0;top:0;z-index:1;display:block;width:100%;height:100%;pointer-events:none;object-fit:contain}.camera__countdown-overlay{position:absolute;left:0;top:0;z-index:2;width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overflow:hidden}.camera__countdown-overlay .countdown{position:relative;font-size:6rem;color:#fffc;font-weight:700}.camera__countdown-overlay .countdown:before,.camera__countdown-overlay .countdown:after{position:absolute;left:0;top:0;z-index:1;content:attr(data-countdown);transform-origin:center;animation-name:pulse;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease-out}.camera__countdown-overlay .countdown:after{animation-duration:.1 .25s;animation-delay:.25s}@keyframes blur{0%{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}to{-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}@keyframes pulse{0%{transform:scale(1);opacity:.5}to{transform:scale(5);opacity:0}}.file-upload{display:inline-block}.file-upload__thumbnail{position:relative}.file-upload__thumbnail img{width:100%;background:var(--bs-light)}.file-upload__thumbnail .btn{position:absolute;right:0;top:0;margin:.5rem;padding:.125rem .3125rem;border-radius:.2rem}.file-upload__thumbnail .btn:hover{background:rgba(255,255,255,.62)}.file-upload__label{position:relative}.file-upload__loading-spinner{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#ffffffa3;display:grid;place-content:center}.file-upload .fade-enter-active,.file-upload .fade-leave-active{transition:opacity .5s}.file-upload .fade-enter,.file-upload .fade-leave-to{opacity:0}.upload-group .img-thumbnail{width:5rem;aspect-ratio:1/1}.upload-group .file-upload__thumbnail{display:none}.upload-group .img-container{position:relative}.upload-group .img-container .btn--close{position:absolute;right:0;top:0;margin:.25rem;padding:.125rem}:root,*:before,*:after{--carousel-gutter-width: .75rem}.carousel__viewport{position:relative;overflow-x:auto;scroll-behavior:smooth;margin-right:calc(0px - var(--carousel-gutter-width) / 2);margin-left:calc(0px - var(--carousel-gutter-width) / 2);scrollbar-width:none;-ms-overflow-style:none}.carousel__item{flex:0 0 auto;width:20%;padding:0 calc(var(--carousel-gutter-width) / 2)}.carousel>.btn{padding-left:0;padding-right:0}.carousel__viewport::-webkit-scrollbar{height:0}.media-thumbnails{position:relative;padding:.5rem 0;border-radius:.3125rem;background-color:#aaaaaa80}.media-thumbnails .carousel-cell{padding:0 .5rem}.progress-steps ul{display:flex;justify-content:center;gap:4rem;margin:0;padding:0;list-style:none}.progress-steps__step{position:relative}.progress-steps__step:not(:first-of-type):before{content:"";display:block;height:.2em;width:4rem;background-color:var(--bs-gray-300);position:absolute;right:100%;top:50%;transform:translateY(-50%)}.progress-steps__step--active .progress-step .btn{box-shadow:0 0 0 .5em var(--bs-gray-300)}.progress-steps__step--disabled .progress-step .btn{background-color:var(--bs-gray-300);color:var(--bs-dark)}.progress-steps__step input[type=radio]{position:absolute;opacity:0;width:0;height:0}.progress-steps__step .btn{width:2em;height:2em;padding:0;background-color:var(--bs-black);color:var(--bs-white);font-weight:700}.progress-steps__step .form-check-label{position:absolute;left:50%;top:100%;min-width:12rem;transform:translate(-50%) translateY(50%);text-align:center}.progress-steps .progress-step{position:relative}.link-sharing .btn{width:100%;margin-bottom:.5rem}.base-button{display:flex;justify-content:center;align-items:center;box-sizing:border-box;transition:all .2s ease;text-decoration:none;width:100%;margin:0;padding:1.036em 1.625em;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;border-radius:.4375em;font-size:.875em;line-height:1.125em;text-transform:uppercase;font-weight:700}@media screen and (min-width: 600px){.base-button{width:auto}}.base-button .icon{width:16px;height:16px;margin-top:-1px}.base-button.s-collapsed>.caption{display:none}.base-button.s-pending{background-repeat:no-repeat;background-position:center center}.base-button.s-pending .caption{margin-left:25px;visibility:hidden}@media screen and (min-width: 600px){.base-button.s-pending{background-position:1.625em center}.base-button.s-pending .caption{visibility:visible}}.base-button:read-only{cursor:not-allowed}.base-button:disabled{cursor:not-allowed}:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}dialog{opacity:0;transition:opacity .8s;position:absolute;animation:modal-in .32s forwards ease;padding:0;overflow:hidden}dialog[open]{width:100%;opacity:1;pointer-events:inherit}dialog::backdrop{-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem);background-color:#0009}@keyframes modal-in{0%{translate:0 -100%;opacity:0}}.modal-dialog{background-color:var(--page-background-color, #fff);color:var(--body-color);border:none;box-shadow:0 0 .25rem #fff6;min-width:300px;max-width:500px;margin-block:auto}.modal-dialog--sm{max-width:300px}.modal-dialog--md{max-width:600px}.modal-dialog--lg{max-width:800px}.modal-dialog--xl{max-width:1140px}.modal-dialog .btn-close{border-radius:0}.modal-dialog__content{max-height:90vh}.modal-dialog__body{padding:1rem;overflow-y:auto}:root{--scroll-position: 0}body:has(dialog[open]){overflow:hidden;position:fixed;width:100%;top:calc(-1 * var(--scroll-position))}
|