ablok-components 0.1.34 → 0.1.35
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 +134 -133
- 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 $A, openBlock as uA, createElementBlock as pA, normalizeClass as SA, createElementVNode as J, renderSlot as oe, computed as jA, createBlock as bw, resolveDynamicComponent as d1, unref as Z, withCtx as yi, createTextVNode as Iw, toDisplayString as
|
|
1
|
+
import { defineComponent as $A, openBlock as uA, createElementBlock as pA, normalizeClass as SA, createElementVNode as J, renderSlot as oe, computed as jA, createBlock as bw, resolveDynamicComponent as d1, unref as Z, withCtx as yi, createTextVNode as Iw, toDisplayString as Bn, resolveComponent as an, createVNode as pe, createCommentVNode as Qi, withDirectives as Rr, isRef as or, vModelDynamic as h1, vModelText as Sw, withModifiers as Ro, vModelCheckbox as Hd, ref as KA, Fragment as Jr, renderList as Ti, onBeforeMount as Ld, reactive as Tw, watch as Kr, onMounted as Is, onBeforeUnmount as Ko, h as nr, getCurrentInstance as Vl, watchEffect as p1, nextTick as g1, Teleport as B1, shallowRef as xw, markRaw as m1, customRef as w1, inject as C1, onUnmounted as y1, Text as Q1, Transition as v1, vModelRadio as E1, vShow as F1, normalizeStyle as U1 } from "vue";
|
|
2
2
|
import { applyStyles as b1, createPopper as I1 } from "@popperjs/core";
|
|
3
3
|
const S1 = {
|
|
4
4
|
class: "icon",
|
|
@@ -99,7 +99,7 @@ const C2 = /* @__PURE__ */ $A({
|
|
|
99
99
|
}, {
|
|
100
100
|
default: yi(() => [
|
|
101
101
|
oe(n.$slots, "default", {}, () => [
|
|
102
|
-
Iw(
|
|
102
|
+
Iw(Bn(t.text), 1)
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
105
|
_: 3
|
|
@@ -118,7 +118,7 @@ const C2 = /* @__PURE__ */ $A({
|
|
|
118
118
|
class: SA(["base-paragraph", `${t.size} ${t.className || ""}`])
|
|
119
119
|
}, [
|
|
120
120
|
oe(A.$slots, "default", {}, () => [
|
|
121
|
-
Iw(
|
|
121
|
+
Iw(Bn(t.text), 1)
|
|
122
122
|
])
|
|
123
123
|
], 2));
|
|
124
124
|
}
|
|
@@ -157,7 +157,7 @@ const D1 = { class: "accordion-item" }, k1 = ["id"], N1 = ["data-bs-target", "ar
|
|
|
157
157
|
A("update:modelValue", !e.modelValue);
|
|
158
158
|
}
|
|
159
159
|
return (r, i) => {
|
|
160
|
-
const s =
|
|
160
|
+
const s = an("svg-icon");
|
|
161
161
|
return uA(), pA("div", D1, [
|
|
162
162
|
J("div", {
|
|
163
163
|
class: "accordion-header",
|
|
@@ -173,7 +173,7 @@ const D1 = { class: "accordion-item" }, k1 = ["id"], N1 = ["data-bs-target", "ar
|
|
|
173
173
|
onClick: n
|
|
174
174
|
}, [
|
|
175
175
|
oe(r.$slots, "toggle", {}, () => [
|
|
176
|
-
J("span", R1,
|
|
176
|
+
J("span", R1, Bn(t.title), 1),
|
|
177
177
|
pe(s, {
|
|
178
178
|
symbol: "chevron-down",
|
|
179
179
|
class: "accordion-button__toggle ms-auto"
|
|
@@ -254,7 +254,7 @@ const v2 = /* @__PURE__ */ G1(W1, [["render", $1]]), X1 = ["type", "disabled"],
|
|
|
254
254
|
setup(t) {
|
|
255
255
|
const A = t, e = jA(() => A.caption && !A.circle);
|
|
256
256
|
return (n, r) => {
|
|
257
|
-
const i =
|
|
257
|
+
const i = an("svg-icon");
|
|
258
258
|
return uA(), pA("button", {
|
|
259
259
|
type: t.type,
|
|
260
260
|
disabled: t.disabled,
|
|
@@ -280,7 +280,7 @@ const v2 = /* @__PURE__ */ G1(W1, [["render", $1]]), X1 = ["type", "disabled"],
|
|
|
280
280
|
Z(e) ? (uA(), pA("span", {
|
|
281
281
|
key: 1,
|
|
282
282
|
class: SA(["base-button__caption", { "icon-padding": t.icon }])
|
|
283
|
-
},
|
|
283
|
+
}, Bn(t.caption), 3)) : Qi("", !0)
|
|
284
284
|
])
|
|
285
285
|
], 10, X1);
|
|
286
286
|
};
|
|
@@ -489,7 +489,7 @@ const Z1 = { class: "input input--textarea" }, j1 = ["type", "id", "name", "plac
|
|
|
489
489
|
])
|
|
490
490
|
]));
|
|
491
491
|
}
|
|
492
|
-
}), eS = ["value", "id", "name", "required", "disabled", "true-value", "false-value"], tS = ["for"], nS = /* @__PURE__ */ J("span", { class: "input__error" }, "error", -1), b2 = /* @__PURE__ */ $A({
|
|
492
|
+
}), eS = ["value", "id", "name", "required", "disabled", "true-value", "false-value"], tS = ["for", "innerHTML"], nS = /* @__PURE__ */ J("span", { class: "input__error" }, "error", -1), b2 = /* @__PURE__ */ $A({
|
|
493
493
|
__name: "input-checkbox",
|
|
494
494
|
props: {
|
|
495
495
|
id: {
|
|
@@ -565,8 +565,9 @@ const Z1 = { class: "input input--textarea" }, j1 = ["type", "id", "name", "plac
|
|
|
565
565
|
]),
|
|
566
566
|
J("label", {
|
|
567
567
|
class: "input__label form-check-label",
|
|
568
|
-
for: t.id
|
|
569
|
-
|
|
568
|
+
for: t.id,
|
|
569
|
+
innerHTML: t.label
|
|
570
|
+
}, null, 8, tS),
|
|
570
571
|
nS
|
|
571
572
|
]));
|
|
572
573
|
}
|
|
@@ -726,7 +727,7 @@ const oS = { class: "input radio-group" }, aS = ["id", "name", "value", "checked
|
|
|
726
727
|
t.label ? (uA(), pA("label", {
|
|
727
728
|
key: 0,
|
|
728
729
|
for: t.id
|
|
729
|
-
},
|
|
730
|
+
}, Bn(t.label), 9, uS)) : Qi("", !0)
|
|
730
731
|
])
|
|
731
732
|
]));
|
|
732
733
|
}
|
|
@@ -5872,7 +5873,7 @@ function pT(t) {
|
|
|
5872
5873
|
}
|
|
5873
5874
|
const Pr = typeof navigator < "u" ? navigator : null, nB = typeof document < "u" ? document : null, Xr = Pr && Pr.userAgent || "", _f = /Edge\/(\d+)/.exec(Xr), aC = /MSIE \d/.exec(Xr), Mf = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Xr), bt = !!(aC || Mf || _f), _r = aC ? document.documentMode : Mf ? +Mf[1] : _f ? +_f[1] : 0, Cn = !bt && /gecko\/(\d+)/i.test(Xr);
|
|
5874
5875
|
Cn && +(/Firefox\/(\d+)/.exec(Xr) || [0, 0])[1];
|
|
5875
|
-
const Df = !bt && /Chrome\/(\d+)/.exec(Xr), gt = !!Df, gT = Df ? +Df[1] : 0, Bt = !bt && !!Pr && /Apple Computer/.test(Pr.vendor), ys = Bt && (/Mobile\/\w+/.test(Xr) || !!Pr && Pr.maxTouchPoints > 2), en = ys || (Pr ? /Mac/.test(Pr.platform) : !1),
|
|
5876
|
+
const Df = !bt && /Chrome\/(\d+)/.exec(Xr), gt = !!Df, gT = Df ? +Df[1] : 0, Bt = !bt && !!Pr && /Apple Computer/.test(Pr.vendor), ys = Bt && (/Mobile\/\w+/.test(Xr) || !!Pr && Pr.maxTouchPoints > 2), en = ys || (Pr ? /Mac/.test(Pr.platform) : !1), pn = /Android \d/.test(Xr), $l = !!nB && "webkitFontSmoothing" in nB.documentElement.style, BT = $l ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
5876
5877
|
function mT(t) {
|
|
5877
5878
|
return {
|
|
5878
5879
|
left: 0,
|
|
@@ -7711,7 +7712,7 @@ function ix(t, A) {
|
|
|
7711
7712
|
}
|
|
7712
7713
|
wt.keydown = (t, A) => {
|
|
7713
7714
|
let e = A;
|
|
7714
|
-
if (t.input.shiftKey = e.keyCode == 16 || e.shiftKey, !HC(t, e) && (t.input.lastKeyCode = e.keyCode, t.input.lastKeyCodeTime = Date.now(), !(
|
|
7715
|
+
if (t.input.shiftKey = e.keyCode == 16 || e.shiftKey, !HC(t, e) && (t.input.lastKeyCode = e.keyCode, t.input.lastKeyCodeTime = Date.now(), !(pn && gt && e.keyCode == 13)))
|
|
7715
7716
|
if (e.keyCode != 229 && t.domObserver.forceFlush(), ys && e.keyCode == 13 && !e.ctrlKey && !e.altKey && !e.metaKey) {
|
|
7716
7717
|
let n = Date.now();
|
|
7717
7718
|
t.input.lastIOSEnter = n, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
@@ -7874,7 +7875,7 @@ mt.contextmenu = (t) => Vd(t);
|
|
|
7874
7875
|
function HC(t, A) {
|
|
7875
7876
|
return t.composing ? !0 : Bt && Math.abs(A.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1;
|
|
7876
7877
|
}
|
|
7877
|
-
const hx =
|
|
7878
|
+
const hx = pn ? 5e3 : -1;
|
|
7878
7879
|
wt.compositionstart = wt.compositionupdate = (t) => {
|
|
7879
7880
|
if (!t.composing) {
|
|
7880
7881
|
t.domObserver.flush();
|
|
@@ -7913,7 +7914,7 @@ function px() {
|
|
|
7913
7914
|
return t.initEvent("event", !0, !0), t.timeStamp;
|
|
7914
7915
|
}
|
|
7915
7916
|
function Fl(t, A = !1) {
|
|
7916
|
-
if (!(
|
|
7917
|
+
if (!(pn && t.domObserver.flushingSoon >= 0)) {
|
|
7917
7918
|
if (t.domObserver.forceFlush(), OC(t), A || t.docView && t.docView.dirty) {
|
|
7918
7919
|
let e = Nd(t);
|
|
7919
7920
|
return e && !e.eq(t.state.selection) ? t.dispatch(t.state.tr.setSelection(e)) : t.updateState(t.state), !0;
|
|
@@ -7961,7 +7962,7 @@ function So(t, A, e, n, r) {
|
|
|
7961
7962
|
}
|
|
7962
7963
|
wt.paste = (t, A) => {
|
|
7963
7964
|
let e = A;
|
|
7964
|
-
if (t.composing && !
|
|
7965
|
+
if (t.composing && !pn)
|
|
7965
7966
|
return;
|
|
7966
7967
|
let n = Qs ? null : e.clipboardData;
|
|
7967
7968
|
n && So(t, n.getData("text/plain"), n.getData("text/html"), t.input.shiftKey, e) ? e.preventDefault() : mx(t, e);
|
|
@@ -8040,7 +8041,7 @@ mt.blur = (t, A) => {
|
|
|
8040
8041
|
t.focused && (t.domObserver.stop(), t.dom.classList.remove("ProseMirror-focused"), t.domObserver.start(), e.relatedTarget && t.dom.contains(e.relatedTarget) && t.domObserver.currentSelection.clear(), t.focused = !1);
|
|
8041
8042
|
};
|
|
8042
8043
|
mt.beforeinput = (t, A) => {
|
|
8043
|
-
if (gt &&
|
|
8044
|
+
if (gt && pn && A.inputType == "deleteContentBackward") {
|
|
8044
8045
|
t.domObserver.flushSoon();
|
|
8045
8046
|
let { domChangeCount: n } = t.input;
|
|
8046
8047
|
setTimeout(() => {
|
|
@@ -8070,7 +8071,7 @@ class Gd {
|
|
|
8070
8071
|
}
|
|
8071
8072
|
map(A, e, n, r) {
|
|
8072
8073
|
let { pos: i, deleted: s } = A.mapResult(e.from + r, this.side < 0 ? -1 : 1);
|
|
8073
|
-
return s ? null : new
|
|
8074
|
+
return s ? null : new rn(i - n, i - n, this);
|
|
8074
8075
|
}
|
|
8075
8076
|
valid() {
|
|
8076
8077
|
return !0;
|
|
@@ -8088,7 +8089,7 @@ class Mr {
|
|
|
8088
8089
|
}
|
|
8089
8090
|
map(A, e, n, r) {
|
|
8090
8091
|
let i = A.map(e.from + r, this.spec.inclusiveStart ? -1 : 1) - n, s = A.map(e.to + r, this.spec.inclusiveEnd ? 1 : -1) - n;
|
|
8091
|
-
return i >= s ? null : new
|
|
8092
|
+
return i >= s ? null : new rn(i, s, this);
|
|
8092
8093
|
}
|
|
8093
8094
|
valid(A, e) {
|
|
8094
8095
|
return e.from < e.to;
|
|
@@ -8111,7 +8112,7 @@ class Wd {
|
|
|
8111
8112
|
if (i.deleted)
|
|
8112
8113
|
return null;
|
|
8113
8114
|
let s = A.mapResult(e.to + r, -1);
|
|
8114
|
-
return s.deleted || s.pos <= i.pos ? null : new
|
|
8115
|
+
return s.deleted || s.pos <= i.pos ? null : new rn(i.pos - n, s.pos - n, this);
|
|
8115
8116
|
}
|
|
8116
8117
|
valid(A, e) {
|
|
8117
8118
|
let { index: n, offset: r } = A.content.findIndex(e.from), i;
|
|
@@ -8123,7 +8124,7 @@ class Wd {
|
|
|
8123
8124
|
destroy() {
|
|
8124
8125
|
}
|
|
8125
8126
|
}
|
|
8126
|
-
class
|
|
8127
|
+
class rn {
|
|
8127
8128
|
/**
|
|
8128
8129
|
@internal
|
|
8129
8130
|
*/
|
|
@@ -8134,7 +8135,7 @@ class sn {
|
|
|
8134
8135
|
@internal
|
|
8135
8136
|
*/
|
|
8136
8137
|
copy(A, e) {
|
|
8137
|
-
return new
|
|
8138
|
+
return new rn(A, e, this.type);
|
|
8138
8139
|
}
|
|
8139
8140
|
/**
|
|
8140
8141
|
@internal
|
|
@@ -8157,14 +8158,14 @@ class sn {
|
|
|
8157
8158
|
widget's current document position.
|
|
8158
8159
|
*/
|
|
8159
8160
|
static widget(A, e, n) {
|
|
8160
|
-
return new
|
|
8161
|
+
return new rn(A, A, new Gd(e, n));
|
|
8161
8162
|
}
|
|
8162
8163
|
/**
|
|
8163
8164
|
Creates an inline decoration, which adds the given attributes to
|
|
8164
8165
|
each inline node between `from` and `to`.
|
|
8165
8166
|
*/
|
|
8166
8167
|
static inline(A, e, n, r) {
|
|
8167
|
-
return new
|
|
8168
|
+
return new rn(A, e, new Mr(n, r));
|
|
8168
8169
|
}
|
|
8169
8170
|
/**
|
|
8170
8171
|
Creates a node decoration. `from` and `to` should point precisely
|
|
@@ -8172,7 +8173,7 @@ class sn {
|
|
|
8172
8173
|
node, will receive the given attributes.
|
|
8173
8174
|
*/
|
|
8174
8175
|
static node(A, e, n, r) {
|
|
8175
|
-
return new
|
|
8176
|
+
return new rn(A, e, new Wd(n, r));
|
|
8176
8177
|
}
|
|
8177
8178
|
/**
|
|
8178
8179
|
The spec provided when creating this decoration. Can be useful
|
|
@@ -8470,7 +8471,7 @@ function MC(t, A) {
|
|
|
8470
8471
|
let e = [];
|
|
8471
8472
|
for (let n = 0; n < t.length; n++) {
|
|
8472
8473
|
let r = t[n];
|
|
8473
|
-
e.push(new
|
|
8474
|
+
e.push(new rn(r.from + A, r.to + A, r.type));
|
|
8474
8475
|
}
|
|
8475
8476
|
return e;
|
|
8476
8477
|
}
|
|
@@ -8765,7 +8766,7 @@ function xx(t, A, e, n, r) {
|
|
|
8765
8766
|
if (A < 0) {
|
|
8766
8767
|
let G = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, W = Nd(t, G);
|
|
8767
8768
|
if (W && !t.state.selection.eq(W)) {
|
|
8768
|
-
if (gt &&
|
|
8769
|
+
if (gt && pn && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (wA) => wA(t, li(13, "Enter"))))
|
|
8769
8770
|
return;
|
|
8770
8771
|
let AA = t.state.tr.setSelection(W);
|
|
8771
8772
|
G == "pointer" ? AA.setMeta("pointer", !0) : G == "key" && AA.scrollIntoView(), t.dispatch(AA);
|
|
@@ -8777,7 +8778,7 @@ function xx(t, A, e, n, r) {
|
|
|
8777
8778
|
let a = t.state.selection, u = Ix(t, A, e), c = t.state.doc, d = c.slice(u.from, u.to), h, g;
|
|
8778
8779
|
t.input.lastKeyCode === 8 && Date.now() - 100 < t.input.lastKeyCodeTime ? (h = t.state.selection.to, g = "end") : (h = t.state.selection.from, g = "start"), t.input.lastKeyCode = null;
|
|
8779
8780
|
let B = Ox(d.content, u.doc.content, u.from, h, g);
|
|
8780
|
-
if ((ys && t.input.lastIOSEnter > Date.now() - 225 ||
|
|
8781
|
+
if ((ys && t.input.lastIOSEnter > Date.now() - 225 || pn) && r.some((G) => G.nodeType == 1 && !Tx.test(G.nodeName)) && (!B || B.endA >= B.endB) && t.someProp("handleKeyDown", (G) => G(t, li(13, "Enter")))) {
|
|
8781
8782
|
t.input.lastIOSEnter = 0;
|
|
8782
8783
|
return;
|
|
8783
8784
|
}
|
|
@@ -8802,10 +8803,10 @@ function xx(t, A, e, n, r) {
|
|
|
8802
8803
|
return;
|
|
8803
8804
|
}
|
|
8804
8805
|
if (t.state.selection.anchor > B.start && Lx(c, B.start, B.endA, w, Q) && t.someProp("handleKeyDown", (G) => G(t, li(8, "Backspace")))) {
|
|
8805
|
-
|
|
8806
|
+
pn && gt && t.domObserver.suppressSelectionUpdates();
|
|
8806
8807
|
return;
|
|
8807
8808
|
}
|
|
8808
|
-
gt &&
|
|
8809
|
+
gt && pn && B.endB == B.start && (t.input.lastAndroidDelete = Date.now()), pn && !E && w.start() != Q.start() && Q.parentOffset == 0 && w.depth == Q.depth && u.sel && u.sel.anchor == u.sel.head && u.sel.head == B.endA && (B.endB -= 2, Q = u.doc.resolveNoCache(B.endB - u.from), setTimeout(() => {
|
|
8809
8810
|
t.someProp("handleKeyDown", function(G) {
|
|
8810
8811
|
return G(t, li(13, "Enter"));
|
|
8811
8812
|
});
|
|
@@ -8828,7 +8829,7 @@ function xx(t, A, e, n, r) {
|
|
|
8828
8829
|
}
|
|
8829
8830
|
if (S || (S = t.state.tr.replace(_, v, u.doc.slice(B.start - u.from, B.endB - u.from))), u.sel) {
|
|
8830
8831
|
let G = FB(t, S.doc, u.sel);
|
|
8831
|
-
G && !(gt &&
|
|
8832
|
+
G && !(gt && pn && t.composing && G.empty && (B.start != B.endB || t.input.lastAndroidDelete < Date.now() - 100) && (G.head == _ || G.head == S.mapping.map(v) - 1) || bt && G.empty && G.head == _) && S.setSelection(G);
|
|
8832
8833
|
}
|
|
8833
8834
|
H && S.ensureMarks(H), t.dispatch(S.scrollIntoView());
|
|
8834
8835
|
}
|
|
@@ -9213,12 +9214,12 @@ function UB(t) {
|
|
|
9213
9214
|
if (typeof e == "function" && (e = e(t.state)), e)
|
|
9214
9215
|
for (let n in e)
|
|
9215
9216
|
n == "class" && (A.class += " " + e[n]), n == "style" ? A.style = (A.style ? A.style + ";" : "") + e[n] : !A[n] && n != "contenteditable" && n != "nodeName" && (A[n] = String(e[n]));
|
|
9216
|
-
}), [
|
|
9217
|
+
}), [rn.node(0, t.state.doc.content.size, A)];
|
|
9217
9218
|
}
|
|
9218
9219
|
function bB(t) {
|
|
9219
9220
|
if (t.markCursor) {
|
|
9220
9221
|
let A = document.createElement("img");
|
|
9221
|
-
A.className = "ProseMirror-separator", A.setAttribute("mark-placeholder", "true"), A.setAttribute("alt", ""), t.cursorWrapper = { dom: A, deco:
|
|
9222
|
+
A.className = "ProseMirror-separator", A.setAttribute("mark-placeholder", "true"), A.setAttribute("alt", ""), t.cursorWrapper = { dom: A, deco: rn.widget(t.state.selection.head, A, { raw: !0, marks: t.markCursor }) };
|
|
9222
9223
|
} else
|
|
9223
9224
|
t.cursorWrapper = null;
|
|
9224
9225
|
}
|
|
@@ -12682,7 +12683,7 @@ function xO(t) {
|
|
|
12682
12683
|
if (!(t.selection instanceof ge))
|
|
12683
12684
|
return null;
|
|
12684
12685
|
let A = document.createElement("div");
|
|
12685
|
-
return A.className = "ProseMirror-gapcursor", Te.create(t.doc, [
|
|
12686
|
+
return A.className = "ProseMirror-gapcursor", Te.create(t.doc, [rn.widget(t.selection.head, A, { key: "gapcursor" })]);
|
|
12686
12687
|
}
|
|
12687
12688
|
const HO = st.create({
|
|
12688
12689
|
name: "gapCursor",
|
|
@@ -12899,7 +12900,7 @@ var _O = /* @__PURE__ */ function(t) {
|
|
|
12899
12900
|
}, A;
|
|
12900
12901
|
}(ze), e0 = ze;
|
|
12901
12902
|
const MO = 500;
|
|
12902
|
-
class
|
|
12903
|
+
class gn {
|
|
12903
12904
|
constructor(A, e) {
|
|
12904
12905
|
this.items = A, this.eventCount = e;
|
|
12905
12906
|
}
|
|
@@ -12929,7 +12930,7 @@ class Bn {
|
|
|
12929
12930
|
} else
|
|
12930
12931
|
s.maybeStep(h.step);
|
|
12931
12932
|
if (h.selection)
|
|
12932
|
-
return a = r ? h.selection.map(r.slice(i)) : h.selection, u = new
|
|
12933
|
+
return a = r ? h.selection.map(r.slice(i)) : h.selection, u = new gn(this.items.slice(0, n).append(d.reverse().concat(c)), this.eventCount - 1), !1;
|
|
12933
12934
|
}, this.items.length, 0), { remaining: u, transform: s, selection: a };
|
|
12934
12935
|
}
|
|
12935
12936
|
// Create a new branch with the given transform added.
|
|
@@ -12940,7 +12941,7 @@ class Bn {
|
|
|
12940
12941
|
(B = u && u.merge(g)) && (g = B, d ? i.pop() : a = a.slice(0, a.length - 1)), i.push(g), e && (s++, e = void 0), r || (u = g);
|
|
12941
12942
|
}
|
|
12942
12943
|
let c = s - n.depth;
|
|
12943
|
-
return c > kO && (a = DO(a, c), s -= c), new
|
|
12944
|
+
return c > kO && (a = DO(a, c), s -= c), new gn(a.append(i), s);
|
|
12944
12945
|
}
|
|
12945
12946
|
remapping(A, e) {
|
|
12946
12947
|
let n = new ds();
|
|
@@ -12950,7 +12951,7 @@ class Bn {
|
|
|
12950
12951
|
}, A, e), n;
|
|
12951
12952
|
}
|
|
12952
12953
|
addMaps(A) {
|
|
12953
|
-
return this.eventCount == 0 ? this : new
|
|
12954
|
+
return this.eventCount == 0 ? this : new gn(this.items.append(A.map((e) => new In(e))), this.eventCount);
|
|
12954
12955
|
}
|
|
12955
12956
|
// When the collab module receives remote changes, the history has
|
|
12956
12957
|
// to know about those, so that it can adjust the steps that were
|
|
@@ -12979,7 +12980,7 @@ class Bn {
|
|
|
12979
12980
|
let c = [];
|
|
12980
12981
|
for (let g = e; g < s; g++)
|
|
12981
12982
|
c.push(new In(i.maps[g]));
|
|
12982
|
-
let d = this.items.slice(0, r).append(c).append(n), h = new
|
|
12983
|
+
let d = this.items.slice(0, r).append(c).append(n), h = new gn(d, a);
|
|
12983
12984
|
return h.emptyItemCount() > MO && (h = h.compress(this.items.length - n.length)), h;
|
|
12984
12985
|
}
|
|
12985
12986
|
emptyItemCount() {
|
|
@@ -13009,10 +13010,10 @@ class Bn {
|
|
|
13009
13010
|
}
|
|
13010
13011
|
} else
|
|
13011
13012
|
s.map && n--;
|
|
13012
|
-
}, this.items.length, 0), new
|
|
13013
|
+
}, this.items.length, 0), new gn(e0.from(r.reverse()), i);
|
|
13013
13014
|
}
|
|
13014
13015
|
}
|
|
13015
|
-
|
|
13016
|
+
gn.empty = new gn(e0.empty, 0);
|
|
13016
13017
|
function DO(t, A) {
|
|
13017
13018
|
let e;
|
|
13018
13019
|
return t.forEach((n, r) => {
|
|
@@ -13050,7 +13051,7 @@ function NO(t, A, e, n) {
|
|
|
13050
13051
|
return s.getMeta(Dr).redo ? new Ur(t.done.addTransform(e, void 0, n, fl(A)), t.undone, PB(e.mapping.maps[e.steps.length - 1]), t.prevTime) : new Ur(t.done, t.undone.addTransform(e, void 0, n, fl(A)), null, t.prevTime);
|
|
13051
13052
|
if (e.getMeta("addToHistory") !== !1 && !(s && s.getMeta("addToHistory") === !1)) {
|
|
13052
13053
|
let a = t.prevTime == 0 || !s && (t.prevTime < (e.time || 0) - n.newGroupDelay || !RO(e, t.prevRanges)), u = s ? ef(t.prevRanges, e.mapping) : PB(e.mapping.maps[e.steps.length - 1]);
|
|
13053
|
-
return new Ur(t.done.addTransform(e, a ? A.selection.getBookmark() : void 0, n, fl(A)),
|
|
13054
|
+
return new Ur(t.done.addTransform(e, a ? A.selection.getBookmark() : void 0, n, fl(A)), gn.empty, u, e.time);
|
|
13054
13055
|
} else
|
|
13055
13056
|
return (i = e.getMeta("rebased")) ? new Ur(t.done.rebased(e, i), t.undone.rebased(e, i), ef(t.prevRanges, e.mapping), t.prevTime) : new Ur(t.done.addMaps(e.mapping.maps), t.undone.addMaps(e.mapping.maps), ef(t.prevRanges, e.mapping), t.prevTime);
|
|
13056
13057
|
}
|
|
@@ -13108,7 +13109,7 @@ function PO(t = {}) {
|
|
|
13108
13109
|
key: Dr,
|
|
13109
13110
|
state: {
|
|
13110
13111
|
init() {
|
|
13111
|
-
return new Ur(
|
|
13112
|
+
return new Ur(gn.empty, gn.empty, null, 0);
|
|
13112
13113
|
},
|
|
13113
13114
|
apply(A, e, n) {
|
|
13114
13115
|
return NO(e, n, A, t);
|
|
@@ -13881,7 +13882,7 @@ function H_(t, A) {
|
|
|
13881
13882
|
plugins: U,
|
|
13882
13883
|
// methods
|
|
13883
13884
|
clearDelayTimeouts: be,
|
|
13884
|
-
setProps:
|
|
13885
|
+
setProps: ln,
|
|
13885
13886
|
setContent: xt,
|
|
13886
13887
|
show: Wt,
|
|
13887
13888
|
hide: Ht,
|
|
@@ -14194,7 +14195,7 @@ function H_(t, A) {
|
|
|
14194
14195
|
function be() {
|
|
14195
14196
|
clearTimeout(n), clearTimeout(r), cancelAnimationFrame(i);
|
|
14196
14197
|
}
|
|
14197
|
-
function
|
|
14198
|
+
function ln(N) {
|
|
14198
14199
|
if (process.env.NODE_ENV !== "production" && jn(v.state.isDestroyed, Xi("setProps")), !v.state.isDestroyed) {
|
|
14199
14200
|
yA("onBeforeUpdate", [v, N]), Tt();
|
|
14200
14201
|
var iA = v.props, cA = jB(t, Object.assign({}, iA, XB(N), {
|
|
@@ -14771,7 +14772,7 @@ const D_ = (t = {}) => {
|
|
|
14771
14772
|
n.value.commands.setContent(r, !1);
|
|
14772
14773
|
}
|
|
14773
14774
|
}), (r, i) => {
|
|
14774
|
-
const s =
|
|
14775
|
+
const s = an("svg-icon"), a = an("base-icon");
|
|
14775
14776
|
return uA(), pA("div", k_, [
|
|
14776
14777
|
Z(n) ? (uA(), pA("div", N_, [
|
|
14777
14778
|
J("button", {
|
|
@@ -15040,7 +15041,7 @@ const J_ = { class: "input-color" }, $_ = { class: "base-input__color-swatch" },
|
|
|
15040
15041
|
}
|
|
15041
15042
|
});
|
|
15042
15043
|
return (r, i) => {
|
|
15043
|
-
const s =
|
|
15044
|
+
const s = an("base-input");
|
|
15044
15045
|
return uA(), pA("div", J_, [
|
|
15045
15046
|
pe(s, {
|
|
15046
15047
|
modelValue: Z(n),
|
|
@@ -17155,7 +17156,7 @@ function yD(t = {}, A) {
|
|
|
17155
17156
|
function xA(K, Y) {
|
|
17156
17157
|
return K !== "translate" || !Y.resolvedMessage;
|
|
17157
17158
|
}
|
|
17158
|
-
const yA = (K, Y, de, be,
|
|
17159
|
+
const yA = (K, Y, de, be, ln, xt) => {
|
|
17159
17160
|
k();
|
|
17160
17161
|
let Wt;
|
|
17161
17162
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
|
|
@@ -17180,7 +17181,7 @@ function yD(t = {}, A) {
|
|
|
17180
17181
|
groupId: `${de}:${Ht}`
|
|
17181
17182
|
});
|
|
17182
17183
|
}
|
|
17183
|
-
return e && g ? be(e) :
|
|
17184
|
+
return e && g ? be(e) : ln(Ht);
|
|
17184
17185
|
} else {
|
|
17185
17186
|
if (xt(Wt))
|
|
17186
17187
|
return Wt;
|
|
@@ -17263,7 +17264,7 @@ function yD(t = {}, A) {
|
|
|
17263
17264
|
let Y = null;
|
|
17264
17265
|
const de = C0(S, s.value, i.value);
|
|
17265
17266
|
for (let be = 0; be < de.length; be++) {
|
|
17266
|
-
const
|
|
17267
|
+
const ln = a.value[de[be]] || {}, xt = S.messageResolver(ln, K);
|
|
17267
17268
|
if (xt != null) {
|
|
17268
17269
|
Y = xt;
|
|
17269
17270
|
break;
|
|
@@ -17827,7 +17828,7 @@ const xD = { class: "input input-dropdown" }, HD = { class: "dropdown" }, LD = {
|
|
|
17827
17828
|
() => e.modelValue && e.modelValue.length ? Array.isArray(e.modelValue) && e.modelValue.length ? i.value.reduce((a, u) => e.modelValue.includes(u.value) ? `${a}${a ? ", " : ""}${u.text}` : a, "") : i.value.reduce((a, u) => u.value === e.modelValue ? `${a}${u.text}` : a, "") : e.placeholder || `<span class="text-muted">${n("common.select")}</span>`
|
|
17828
17829
|
);
|
|
17829
17830
|
return (a, u) => {
|
|
17830
|
-
const c =
|
|
17831
|
+
const c = an("base-button");
|
|
17831
17832
|
return uA(), pA("div", xD, [
|
|
17832
17833
|
J("div", HD, [
|
|
17833
17834
|
pe(c, {
|
|
@@ -17901,7 +17902,7 @@ const xD = { class: "input input-dropdown" }, HD = { class: "dropdown" }, LD = {
|
|
|
17901
17902
|
class: "form-check-label flex-grow-1",
|
|
17902
17903
|
onclick: "event.stopPropagation();",
|
|
17903
17904
|
for: `${t.name}-${d.value}-${h}`
|
|
17904
|
-
},
|
|
17905
|
+
}, Bn(d.text), 9, KD)
|
|
17905
17906
|
])
|
|
17906
17907
|
], 2)
|
|
17907
17908
|
]))), 128))
|
|
@@ -17939,7 +17940,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
17939
17940
|
["partial", S],
|
|
17940
17941
|
["partialRight", H],
|
|
17941
17942
|
["rearg", G]
|
|
17942
|
-
], re = "[object Arguments]", Be = "[object Array]", ot = "[object AsyncFunction]", at = "[object Boolean]", Ze = "[object Date]", Re = "[object DOMException]", lt = "[object Error]", Tt = "[object Function]", x = "[object GeneratorFunction]", F = "[object Map]", D = "[object Number]", q = "[object Null]", aA = "[object Object]", HA = "[object Promise]", ut = "[object Proxy]", Ke = "[object RegExp]", Pe = "[object Set]", WA = "[object String]", K = "[object Symbol]", Y = "[object Undefined]", de = "[object WeakMap]", be = "[object WeakSet]",
|
|
17943
|
+
], re = "[object Arguments]", Be = "[object Array]", ot = "[object AsyncFunction]", at = "[object Boolean]", Ze = "[object Date]", Re = "[object DOMException]", lt = "[object Error]", Tt = "[object Function]", x = "[object GeneratorFunction]", F = "[object Map]", D = "[object Number]", q = "[object Null]", aA = "[object Object]", HA = "[object Promise]", ut = "[object Proxy]", Ke = "[object RegExp]", Pe = "[object Set]", WA = "[object String]", K = "[object Symbol]", Y = "[object Undefined]", de = "[object WeakMap]", be = "[object WeakSet]", ln = "[object ArrayBuffer]", xt = "[object DataView]", Wt = "[object Float32Array]", Ht = "[object Float64Array]", qr = "[object Int8Array]", ur = "[object Int16Array]", Hs = "[object Int32Array]", N = "[object Uint8Array]", iA = "[object Uint8ClampedArray]", cA = "[object Uint16Array]", RA = "[object Uint32Array]", kA = /\b__p \+= '';/g, Ve = /\b(__p \+=) '' \+/g, Ct = /(__e\(.*?\)|\b__t\)) \+\n'';/g, kn = /&(?:amp|lt|gt|quot|#39);/g, Ls = /[&<>"']/g, Nn = RegExp(kn.source), Os = RegExp(Ls.source), xi = /<%-([\s\S]+?)%>/g, cr = /<%([\s\S]+?)%>/g, Jo = /<%=([\s\S]+?)%>/g, _s = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Hi = /^\w*$/, Vy = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Cu = /[\\^$.*+?()[\]{}|]/g, Gy = RegExp(Cu.source), yu = /^\s+/, Wy = /\s/, Jy = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, $y = /\{\n\/\* \[wrapped with (.+)\] \*/, Xy = /,? & /, Yy = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, zy = /[()=,{}\[\]\/\s]/, qy = /\\(\\)?/g, Zy = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, dh = /\w*$/, jy = /^[-+]0x[0-9a-f]+$/i, AQ = /^0b[01]+$/i, eQ = /^\[object .+?Constructor\]$/, tQ = /^0o[0-7]+$/i, nQ = /^(?:0|[1-9]\d*)$/, rQ = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, $o = /($^)/, iQ = /['\n\r\u2028\u2029\\]/g, Xo = "\\ud800-\\udfff", sQ = "\\u0300-\\u036f", oQ = "\\ufe20-\\ufe2f", aQ = "\\u20d0-\\u20ff", hh = sQ + oQ + aQ, ph = "\\u2700-\\u27bf", gh = "a-z\\xdf-\\xf6\\xf8-\\xff", lQ = "\\xac\\xb1\\xd7\\xf7", uQ = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", cQ = "\\u2000-\\u206f", fQ = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Bh = "A-Z\\xc0-\\xd6\\xd8-\\xde", mh = "\\ufe0e\\ufe0f", wh = lQ + uQ + cQ + fQ, Qu = "['’]", dQ = "[" + Xo + "]", Ch = "[" + wh + "]", Yo = "[" + hh + "]", yh = "\\d+", hQ = "[" + ph + "]", Qh = "[" + gh + "]", vh = "[^" + Xo + wh + yh + ph + gh + Bh + "]", vu = "\\ud83c[\\udffb-\\udfff]", pQ = "(?:" + Yo + "|" + vu + ")", Eh = "[^" + Xo + "]", Eu = "(?:\\ud83c[\\udde6-\\uddff]){2}", Fu = "[\\ud800-\\udbff][\\udc00-\\udfff]", Li = "[" + Bh + "]", Fh = "\\u200d", Uh = "(?:" + Qh + "|" + vh + ")", gQ = "(?:" + Li + "|" + vh + ")", bh = "(?:" + Qu + "(?:d|ll|m|re|s|t|ve))?", Ih = "(?:" + Qu + "(?:D|LL|M|RE|S|T|VE))?", Sh = pQ + "?", Th = "[" + mh + "]?", BQ = "(?:" + Fh + "(?:" + [Eh, Eu, Fu].join("|") + ")" + Th + Sh + ")*", mQ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", wQ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", xh = Th + Sh + BQ, CQ = "(?:" + [hQ, Eu, Fu].join("|") + ")" + xh, yQ = "(?:" + [Eh + Yo + "?", Yo, Eu, Fu, dQ].join("|") + ")", QQ = RegExp(Qu, "g"), vQ = RegExp(Yo, "g"), Uu = RegExp(vu + "(?=" + vu + ")|" + yQ + xh, "g"), EQ = RegExp([
|
|
17943
17944
|
Li + "?" + Qh + "+" + bh + "(?=" + [Ch, Li, "$"].join("|") + ")",
|
|
17944
17945
|
gQ + "+" + Ih + "(?=" + [Ch, Li + Uh, "$"].join("|") + ")",
|
|
17945
17946
|
Li + "?" + Uh + "+" + bh,
|
|
@@ -17980,9 +17981,9 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
17980
17981
|
"parseInt",
|
|
17981
17982
|
"setTimeout"
|
|
17982
17983
|
], IQ = -1, ie = {};
|
|
17983
|
-
ie[Wt] = ie[Ht] = ie[qr] = ie[ur] = ie[Hs] = ie[N] = ie[iA] = ie[cA] = ie[RA] = !0, ie[re] = ie[Be] = ie[
|
|
17984
|
+
ie[Wt] = ie[Ht] = ie[qr] = ie[ur] = ie[Hs] = ie[N] = ie[iA] = ie[cA] = ie[RA] = !0, ie[re] = ie[Be] = ie[ln] = ie[at] = ie[xt] = ie[Ze] = ie[lt] = ie[Tt] = ie[F] = ie[D] = ie[aA] = ie[Ke] = ie[Pe] = ie[WA] = ie[de] = !1;
|
|
17984
17985
|
var ee = {};
|
|
17985
|
-
ee[re] = ee[Be] = ee[
|
|
17986
|
+
ee[re] = ee[Be] = ee[ln] = ee[xt] = ee[at] = ee[Ze] = ee[Wt] = ee[Ht] = ee[qr] = ee[ur] = ee[Hs] = ee[F] = ee[D] = ee[aA] = ee[Ke] = ee[Pe] = ee[WA] = ee[K] = ee[N] = ee[iA] = ee[cA] = ee[RA] = !0, ee[lt] = ee[Tt] = ee[de] = !1;
|
|
17986
17987
|
var SQ = {
|
|
17987
17988
|
// Latin-1 Supplement block.
|
|
17988
17989
|
À: "A",
|
|
@@ -18451,7 +18452,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18451
18452
|
function Mi(L) {
|
|
18452
18453
|
return _i(L) ? tv(L) : NQ(L);
|
|
18453
18454
|
}
|
|
18454
|
-
function
|
|
18455
|
+
function un(L) {
|
|
18455
18456
|
return _i(L) ? nv(L) : RQ(L);
|
|
18456
18457
|
}
|
|
18457
18458
|
function Yh(L) {
|
|
@@ -18696,7 +18697,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18696
18697
|
return this.__data__.has(o);
|
|
18697
18698
|
}
|
|
18698
18699
|
ei.prototype.add = ei.prototype.push = Gv, ei.prototype.has = Wv;
|
|
18699
|
-
function
|
|
18700
|
+
function cn(o) {
|
|
18700
18701
|
var l = this.__data__ = new Rn(o);
|
|
18701
18702
|
this.size = l.size;
|
|
18702
18703
|
}
|
|
@@ -18723,7 +18724,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18723
18724
|
}
|
|
18724
18725
|
return f.set(o, l), this.size = f.size, this;
|
|
18725
18726
|
}
|
|
18726
|
-
|
|
18727
|
+
cn.prototype.clear = Jv, cn.prototype.delete = $v, cn.prototype.get = Xv, cn.prototype.has = Yv, cn.prototype.set = zv;
|
|
18727
18728
|
function rp(o, l) {
|
|
18728
18729
|
var f = CA(o), p = !f && si(o), m = !f && !p && Cr(o), y = !f && !p && !m && Wi(o), b = f || p || m || y, T = b ? _u(o.length, sv) : [], O = T.length;
|
|
18729
18730
|
for (var P in o)
|
|
@@ -18745,15 +18746,15 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18745
18746
|
return Ua(yt(o));
|
|
18746
18747
|
}
|
|
18747
18748
|
function Pu(o, l, f) {
|
|
18748
|
-
(f !== e && !
|
|
18749
|
+
(f !== e && !fn(o[l], f) || f === e && !(l in o)) && Pn(o, l, f);
|
|
18749
18750
|
}
|
|
18750
18751
|
function Ps(o, l, f) {
|
|
18751
18752
|
var p = o[l];
|
|
18752
|
-
(!(JA.call(o, l) &&
|
|
18753
|
+
(!(JA.call(o, l) && fn(p, f)) || f === e && !(l in o)) && Pn(o, l, f);
|
|
18753
18754
|
}
|
|
18754
18755
|
function da(o, l) {
|
|
18755
18756
|
for (var f = o.length; f--; )
|
|
18756
|
-
if (
|
|
18757
|
+
if (fn(o[f][0], l))
|
|
18757
18758
|
return f;
|
|
18758
18759
|
return -1;
|
|
18759
18760
|
}
|
|
@@ -18807,7 +18808,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18807
18808
|
b = VE(o, $, T);
|
|
18808
18809
|
}
|
|
18809
18810
|
}
|
|
18810
|
-
y || (y = new
|
|
18811
|
+
y || (y = new cn());
|
|
18811
18812
|
var oA = y.get(o);
|
|
18812
18813
|
if (oA)
|
|
18813
18814
|
return oA;
|
|
@@ -18970,7 +18971,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18970
18971
|
return he(o) && ct(o) == re;
|
|
18971
18972
|
}
|
|
18972
18973
|
function aE(o) {
|
|
18973
|
-
return he(o) && ct(o) ==
|
|
18974
|
+
return he(o) && ct(o) == ln;
|
|
18974
18975
|
}
|
|
18975
18976
|
function lE(o) {
|
|
18976
18977
|
return he(o) && ct(o) == Ze;
|
|
@@ -18988,15 +18989,15 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
18988
18989
|
b = !0, V = !1;
|
|
18989
18990
|
}
|
|
18990
18991
|
if (z && !V)
|
|
18991
|
-
return y || (y = new
|
|
18992
|
+
return y || (y = new cn()), b || Wi(o) ? Jp(o, l, f, p, m, y) : DE(o, l, O, f, p, m, y);
|
|
18992
18993
|
if (!(f & w)) {
|
|
18993
18994
|
var oA = V && JA.call(o, "__wrapped__"), dA = $ && JA.call(l, "__wrapped__");
|
|
18994
18995
|
if (oA || dA) {
|
|
18995
18996
|
var EA = oA ? o.value() : o, hA = dA ? l.value() : l;
|
|
18996
|
-
return y || (y = new
|
|
18997
|
+
return y || (y = new cn()), m(EA, hA, f, p, y);
|
|
18997
18998
|
}
|
|
18998
18999
|
}
|
|
18999
|
-
return z ? (y || (y = new
|
|
19000
|
+
return z ? (y || (y = new cn()), kE(o, l, f, p, m, y)) : !1;
|
|
19000
19001
|
}
|
|
19001
19002
|
function cE(o) {
|
|
19002
19003
|
return he(o) && At(o) == F;
|
|
@@ -19017,7 +19018,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19017
19018
|
if (P === e && !(O in o))
|
|
19018
19019
|
return !1;
|
|
19019
19020
|
} else {
|
|
19020
|
-
var $ = new
|
|
19021
|
+
var $ = new cn();
|
|
19021
19022
|
if (p)
|
|
19022
19023
|
var z = p(P, V, O, o, l, $);
|
|
19023
19024
|
if (!(z === e ? Ws(V, P, w | Q, p, $) : z))
|
|
@@ -19083,7 +19084,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19083
19084
|
}
|
|
19084
19085
|
function ga(o, l, f, p, m) {
|
|
19085
19086
|
o !== l && Gu(l, function(y, b) {
|
|
19086
|
-
if (m || (m = new
|
|
19087
|
+
if (m || (m = new cn()), fe(y))
|
|
19087
19088
|
gE(o, l, b, f, ga, p, m);
|
|
19088
19089
|
else {
|
|
19089
19090
|
var T = p ? p(pc(o, b), y, b + "", o, l, m) : e;
|
|
@@ -19259,7 +19260,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19259
19260
|
function Ep(o, l) {
|
|
19260
19261
|
for (var f = -1, p = o.length, m = 0, y = []; ++f < p; ) {
|
|
19261
19262
|
var b = o[f], T = l ? l(b) : b;
|
|
19262
|
-
if (!f || !
|
|
19263
|
+
if (!f || !fn(T, O)) {
|
|
19263
19264
|
var O = T;
|
|
19264
19265
|
y[m++] = b === 0 ? 0 : b;
|
|
19265
19266
|
}
|
|
@@ -19487,7 +19488,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19487
19488
|
function Dp(o) {
|
|
19488
19489
|
return function(l) {
|
|
19489
19490
|
l = VA(l);
|
|
19490
|
-
var f = _i(l) ?
|
|
19491
|
+
var f = _i(l) ? un(l) : e, p = f ? f[0] : l.charAt(0), m = f ? wr(f, 1).join("") : l.slice(1);
|
|
19491
19492
|
return p[o]() + m;
|
|
19492
19493
|
};
|
|
19493
19494
|
}
|
|
@@ -19605,8 +19606,8 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19605
19606
|
P - LA
|
|
19606
19607
|
);
|
|
19607
19608
|
}
|
|
19608
|
-
var
|
|
19609
|
-
return LA = NA.length, T ? NA = jE(NA, T) : dA && LA > 1 && NA.reverse(), V && O < LA && (NA.length = O), this && this !== Ge && this instanceof hA && (Xn = EA || $s(Xn)), Xn.apply(
|
|
19609
|
+
var dn = $ ? f : this, Xn = z ? dn[o] : o;
|
|
19610
|
+
return LA = NA.length, T ? NA = jE(NA, T) : dA && LA > 1 && NA.reverse(), V && O < LA && (NA.length = O), this && this !== Ge && this instanceof hA && (Xn = EA || $s(Xn)), Xn.apply(dn, NA);
|
|
19610
19611
|
}
|
|
19611
19612
|
return hA;
|
|
19612
19613
|
}
|
|
@@ -19644,7 +19645,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19644
19645
|
if (f < 2)
|
|
19645
19646
|
return f ? ju(l, o) : l;
|
|
19646
19647
|
var p = ju(l, aa(o / Mi(l)));
|
|
19647
|
-
return _i(l) ? wr(
|
|
19648
|
+
return _i(l) ? wr(un(p), 0, o).join("") : p.slice(0, o);
|
|
19648
19649
|
}
|
|
19649
19650
|
function OE(o, l, f, p) {
|
|
19650
19651
|
var m = l & I, y = $s(o);
|
|
@@ -19732,7 +19733,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19732
19733
|
return eg(EA(dA, oA), o, l);
|
|
19733
19734
|
}
|
|
19734
19735
|
function Gp(o, l, f, p) {
|
|
19735
|
-
return o === e ||
|
|
19736
|
+
return o === e || fn(o, ki[f]) && !JA.call(p, f) ? l : o;
|
|
19736
19737
|
}
|
|
19737
19738
|
function Wp(o, l, f, p, m, y) {
|
|
19738
19739
|
return fe(o) && fe(l) && (y.set(l, o), ga(o, l, e, Wp, y), y.delete(l)), o;
|
|
@@ -19779,12 +19780,12 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19779
19780
|
if (o.byteLength != l.byteLength || o.byteOffset != l.byteOffset)
|
|
19780
19781
|
return !1;
|
|
19781
19782
|
o = o.buffer, l = l.buffer;
|
|
19782
|
-
case
|
|
19783
|
+
case ln:
|
|
19783
19784
|
return !(o.byteLength != l.byteLength || !y(new ra(o), new ra(l)));
|
|
19784
19785
|
case at:
|
|
19785
19786
|
case Ze:
|
|
19786
19787
|
case D:
|
|
19787
|
-
return
|
|
19788
|
+
return fn(+o, +l);
|
|
19788
19789
|
case lt:
|
|
19789
19790
|
return o.name == l.name && o.message == l.message;
|
|
19790
19791
|
case Ke:
|
|
@@ -19962,7 +19963,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
19962
19963
|
function VE(o, l, f) {
|
|
19963
19964
|
var p = o.constructor;
|
|
19964
19965
|
switch (l) {
|
|
19965
|
-
case
|
|
19966
|
+
case ln:
|
|
19966
19967
|
return ic(o);
|
|
19967
19968
|
case at:
|
|
19968
19969
|
case Ze:
|
|
@@ -20012,7 +20013,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20012
20013
|
if (!fe(f))
|
|
20013
20014
|
return !1;
|
|
20014
20015
|
var p = typeof l;
|
|
20015
|
-
return (p == "number" ? Qt(f) && Wn(l, f.length) : p == "string" && l in f) ?
|
|
20016
|
+
return (p == "number" ? Qt(f) && Wn(l, f.length) : p == "string" && l in f) ? fn(f[l], o) : !1;
|
|
20016
20017
|
}
|
|
20017
20018
|
function dc(o, l) {
|
|
20018
20019
|
if (CA(o))
|
|
@@ -20334,7 +20335,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20334
20335
|
var f = o == null ? 0 : o.length;
|
|
20335
20336
|
if (f) {
|
|
20336
20337
|
var p = Ba(o, l);
|
|
20337
|
-
if (p < f &&
|
|
20338
|
+
if (p < f && fn(o[p], l))
|
|
20338
20339
|
return p;
|
|
20339
20340
|
}
|
|
20340
20341
|
return -1;
|
|
@@ -20349,7 +20350,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20349
20350
|
var f = o == null ? 0 : o.length;
|
|
20350
20351
|
if (f) {
|
|
20351
20352
|
var p = Ba(o, l, !0) - 1;
|
|
20352
|
-
if (
|
|
20353
|
+
if (fn(o[p], l))
|
|
20353
20354
|
return p;
|
|
20354
20355
|
}
|
|
20355
20356
|
return -1;
|
|
@@ -20647,19 +20648,19 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20647
20648
|
throw new Xt(s);
|
|
20648
20649
|
l = jt(l) || 0, fe(f) && (V = !!f.leading, $ = "maxWait" in f, y = $ ? Se(jt(f.maxWait) || 0, l) : y, z = "trailing" in f ? !!f.trailing : z);
|
|
20649
20650
|
function oA(we) {
|
|
20650
|
-
var
|
|
20651
|
-
return p = m = e, P = we, b = o.apply(Xn,
|
|
20651
|
+
var dn = p, Xn = m;
|
|
20652
|
+
return p = m = e, P = we, b = o.apply(Xn, dn), b;
|
|
20652
20653
|
}
|
|
20653
20654
|
function dA(we) {
|
|
20654
20655
|
return P = we, T = Ys(LA, l), V ? oA(we) : b;
|
|
20655
20656
|
}
|
|
20656
20657
|
function EA(we) {
|
|
20657
|
-
var
|
|
20658
|
+
var dn = we - O, Xn = we - P, kg = l - dn;
|
|
20658
20659
|
return $ ? je(kg, y - Xn) : kg;
|
|
20659
20660
|
}
|
|
20660
20661
|
function hA(we) {
|
|
20661
|
-
var
|
|
20662
|
-
return O === e ||
|
|
20662
|
+
var dn = we - O, Xn = we - P;
|
|
20663
|
+
return O === e || dn >= l || dn < 0 || $ && Xn >= y;
|
|
20663
20664
|
}
|
|
20664
20665
|
function LA() {
|
|
20665
20666
|
var we = Sa();
|
|
@@ -20677,8 +20678,8 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20677
20678
|
return T === e ? b : NA(Sa());
|
|
20678
20679
|
}
|
|
20679
20680
|
function kt() {
|
|
20680
|
-
var we = Sa(),
|
|
20681
|
-
if (p = arguments, m = this, O = we,
|
|
20681
|
+
var we = Sa(), dn = hA(we);
|
|
20682
|
+
if (p = arguments, m = this, O = we, dn) {
|
|
20682
20683
|
if (T === e)
|
|
20683
20684
|
return dA(O);
|
|
20684
20685
|
if ($)
|
|
@@ -20797,7 +20798,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20797
20798
|
function qU(o, l) {
|
|
20798
20799
|
return l == null || op(o, l, Me(l));
|
|
20799
20800
|
}
|
|
20800
|
-
function
|
|
20801
|
+
function fn(o, l) {
|
|
20801
20802
|
return o === l || o !== o && l !== l;
|
|
20802
20803
|
}
|
|
20803
20804
|
var ZU = va(Ju), jU = va(function(o, l) {
|
|
@@ -20932,7 +20933,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
20932
20933
|
if (!o)
|
|
20933
20934
|
return [];
|
|
20934
20935
|
if (Qt(o))
|
|
20935
|
-
return La(o) ?
|
|
20936
|
+
return La(o) ? un(o) : yt(o);
|
|
20936
20937
|
if (Ds && o[Ds])
|
|
20937
20938
|
return qQ(o[Ds]());
|
|
20938
20939
|
var l = At(o), f = l == F ? Du : l == Pe ? Zo : Ji;
|
|
@@ -21002,7 +21003,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
21002
21003
|
for (m && ft(l[0], l[1], m) && (p = 1); ++f < p; )
|
|
21003
21004
|
for (var y = l[f], b = vt(y), T = -1, O = b.length; ++T < O; ) {
|
|
21004
21005
|
var P = b[T], V = o[P];
|
|
21005
|
-
(V === e ||
|
|
21006
|
+
(V === e || fn(V, ki[P]) && !JA.call(o, P)) && (o[P] = y[P]);
|
|
21006
21007
|
}
|
|
21007
21008
|
return o;
|
|
21008
21009
|
}), Ub = bA(function(o) {
|
|
@@ -21214,7 +21215,7 @@ var js = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
21214
21215
|
return o + (f ? "_" : "") + l.toLowerCase();
|
|
21215
21216
|
});
|
|
21216
21217
|
function gI(o, l, f) {
|
|
21217
|
-
return f && typeof f != "number" && ft(o, l, f) && (l = f = e), f = f === e ? YA : f >>> 0, f ? (o = VA(o), o && (typeof l == "string" || l != null && !Qc(l)) && (l = _t(l), !l && _i(o)) ? wr(
|
|
21218
|
+
return f && typeof f != "number" && ft(o, l, f) && (l = f = e), f = f === e ? YA : f >>> 0, f ? (o = VA(o), o && (typeof l == "string" || l != null && !Qc(l)) && (l = _t(l), !l && _i(o)) ? wr(un(o), 0, f) : o.split(l, f)) : [];
|
|
21218
21219
|
}
|
|
21219
21220
|
var BI = Vi(function(o, l, f) {
|
|
21220
21221
|
return o + (f ? " " : "") + Fc(l);
|
|
@@ -21273,7 +21274,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21273
21274
|
return Wh(o);
|
|
21274
21275
|
if (!o || !(l = _t(l)))
|
|
21275
21276
|
return o;
|
|
21276
|
-
var p =
|
|
21277
|
+
var p = un(o), m = un(l), y = Jh(p, m), b = $h(p, m) + 1;
|
|
21277
21278
|
return wr(p, y, b).join("");
|
|
21278
21279
|
}
|
|
21279
21280
|
function vI(o, l, f) {
|
|
@@ -21281,7 +21282,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21281
21282
|
return o.slice(0, Yh(o) + 1);
|
|
21282
21283
|
if (!o || !(l = _t(l)))
|
|
21283
21284
|
return o;
|
|
21284
|
-
var p =
|
|
21285
|
+
var p = un(o), m = $h(p, un(l)) + 1;
|
|
21285
21286
|
return wr(p, 0, m).join("");
|
|
21286
21287
|
}
|
|
21287
21288
|
function EI(o, l, f) {
|
|
@@ -21289,7 +21290,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21289
21290
|
return o.replace(yu, "");
|
|
21290
21291
|
if (!o || !(l = _t(l)))
|
|
21291
21292
|
return o;
|
|
21292
|
-
var p =
|
|
21293
|
+
var p = un(o), m = Jh(p, un(l));
|
|
21293
21294
|
return wr(p, m).join("");
|
|
21294
21295
|
}
|
|
21295
21296
|
function FI(o, l) {
|
|
@@ -21301,7 +21302,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21301
21302
|
o = VA(o);
|
|
21302
21303
|
var y = o.length;
|
|
21303
21304
|
if (_i(o)) {
|
|
21304
|
-
var b =
|
|
21305
|
+
var b = un(o);
|
|
21305
21306
|
y = b.length;
|
|
21306
21307
|
}
|
|
21307
21308
|
if (f >= y)
|
|
@@ -21493,7 +21494,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21493
21494
|
function f1(o, l) {
|
|
21494
21495
|
return o && o.length ? Ou(o, fA(l, 2)) : 0;
|
|
21495
21496
|
}
|
|
21496
|
-
return C.after = OU, C.ary = hg, C.assign = yb, C.assignIn = Ig, C.assignInWith = Oa, C.assignWith = Qb, C.at = vb, C.before = pg, C.bind = wc, C.bindAll = II, C.bindKey = gg, C.castArray = JU, C.chain = cg, C.chunk = eF, C.compact = tF, C.concat = nF, C.cond = SI, C.conforms = TI, C.constant = Uc, C.countBy = cU, C.create = Eb, C.curry = Bg, C.curryRight = mg, C.debounce = wg, C.defaults = Fb, C.defaultsDeep = Ub, C.defer = _U, C.delay = MU, C.difference = rF, C.differenceBy = iF, C.differenceWith = sF, C.drop = oF, C.dropRight = aF, C.dropRightWhile = lF, C.dropWhile = uF, C.fill = cF, C.filter = dU, C.flatMap = gU, C.flatMapDeep = BU, C.flatMapDepth = mU, C.flatten = og, C.flattenDeep = fF, C.flattenDepth = dF, C.flip = DU, C.flow = HI, C.flowRight = LI, C.fromPairs = hF, C.functions = Lb, C.functionsIn = Ob, C.groupBy = wU, C.initial = gF, C.intersection = BF, C.intersectionBy = mF, C.intersectionWith = wF, C.invert = Mb, C.invertBy = Db, C.invokeMap = yU, C.iteratee = bc, C.keyBy = QU, C.keys = Me, C.keysIn = vt, C.map = Ia, C.mapKeys = Nb, C.mapValues = Rb, C.matches = OI, C.matchesProperty = _I, C.memoize = Ta, C.merge = Kb, C.mergeWith = Sg, C.method = MI, C.methodOf = DI, C.mixin = Ic, C.negate = xa, C.nthArg = NI, C.omit = Pb, C.omitBy = Vb, C.once = kU, C.orderBy = vU, C.over = RI, C.overArgs = NU, C.overEvery = KI, C.overSome = PI, C.partial = Cc, C.partialRight = Cg, C.partition = EU, C.pick = Gb, C.pickBy = Tg, C.property = Dg, C.propertyOf = VI, C.pull = vF, C.pullAll = lg, C.pullAllBy = EF, C.pullAllWith = FF, C.pullAt = UF, C.range = GI, C.rangeRight = WI, C.rearg = RU, C.reject = bU, C.remove = bF, C.rest = KU, C.reverse = Bc, C.sampleSize = SU, C.set = Jb, C.setWith = $b, C.shuffle = TU, C.slice = IF, C.sortBy = LU, C.sortedUniq = _F, C.sortedUniqBy = MF, C.split = gI, C.spread = PU, C.tail = DF, C.take = kF, C.takeRight = NF, C.takeRightWhile = RF, C.takeWhile = KF, C.tap = tU, C.throttle = VU, C.thru = ba, C.toArray = Fg, C.toPairs = xg, C.toPairsIn = Hg, C.toPath = zI, C.toPlainObject = bg, C.transform = Xb, C.unary = GU, C.union = PF, C.unionBy = VF, C.unionWith = GF, C.uniq = WF, C.uniqBy = JF, C.uniqWith = $F, C.unset = Yb, C.unzip = mc, C.unzipWith = ug, C.update = zb, C.updateWith = qb, C.values = Ji, C.valuesIn = Zb, C.without = XF, C.words = _g, C.wrap = WU, C.xor = YF, C.xorBy = zF, C.xorWith = qF, C.zip = ZF, C.zipObject = jF, C.zipObjectDeep = AU, C.zipWith = eU, C.entries = xg, C.entriesIn = Hg, C.extend = Ig, C.extendWith = Oa, Ic(C, C), C.add = ZI, C.attempt = Mg, C.camelCase = tI, C.capitalize = Lg, C.ceil = jI, C.clamp = jb, C.clone = $U, C.cloneDeep = YU, C.cloneDeepWith = zU, C.cloneWith = XU, C.conformsTo = qU, C.deburr = Og, C.defaultTo = xI, C.divide = A1, C.endsWith = nI, C.eq =
|
|
21497
|
+
return C.after = OU, C.ary = hg, C.assign = yb, C.assignIn = Ig, C.assignInWith = Oa, C.assignWith = Qb, C.at = vb, C.before = pg, C.bind = wc, C.bindAll = II, C.bindKey = gg, C.castArray = JU, C.chain = cg, C.chunk = eF, C.compact = tF, C.concat = nF, C.cond = SI, C.conforms = TI, C.constant = Uc, C.countBy = cU, C.create = Eb, C.curry = Bg, C.curryRight = mg, C.debounce = wg, C.defaults = Fb, C.defaultsDeep = Ub, C.defer = _U, C.delay = MU, C.difference = rF, C.differenceBy = iF, C.differenceWith = sF, C.drop = oF, C.dropRight = aF, C.dropRightWhile = lF, C.dropWhile = uF, C.fill = cF, C.filter = dU, C.flatMap = gU, C.flatMapDeep = BU, C.flatMapDepth = mU, C.flatten = og, C.flattenDeep = fF, C.flattenDepth = dF, C.flip = DU, C.flow = HI, C.flowRight = LI, C.fromPairs = hF, C.functions = Lb, C.functionsIn = Ob, C.groupBy = wU, C.initial = gF, C.intersection = BF, C.intersectionBy = mF, C.intersectionWith = wF, C.invert = Mb, C.invertBy = Db, C.invokeMap = yU, C.iteratee = bc, C.keyBy = QU, C.keys = Me, C.keysIn = vt, C.map = Ia, C.mapKeys = Nb, C.mapValues = Rb, C.matches = OI, C.matchesProperty = _I, C.memoize = Ta, C.merge = Kb, C.mergeWith = Sg, C.method = MI, C.methodOf = DI, C.mixin = Ic, C.negate = xa, C.nthArg = NI, C.omit = Pb, C.omitBy = Vb, C.once = kU, C.orderBy = vU, C.over = RI, C.overArgs = NU, C.overEvery = KI, C.overSome = PI, C.partial = Cc, C.partialRight = Cg, C.partition = EU, C.pick = Gb, C.pickBy = Tg, C.property = Dg, C.propertyOf = VI, C.pull = vF, C.pullAll = lg, C.pullAllBy = EF, C.pullAllWith = FF, C.pullAt = UF, C.range = GI, C.rangeRight = WI, C.rearg = RU, C.reject = bU, C.remove = bF, C.rest = KU, C.reverse = Bc, C.sampleSize = SU, C.set = Jb, C.setWith = $b, C.shuffle = TU, C.slice = IF, C.sortBy = LU, C.sortedUniq = _F, C.sortedUniqBy = MF, C.split = gI, C.spread = PU, C.tail = DF, C.take = kF, C.takeRight = NF, C.takeRightWhile = RF, C.takeWhile = KF, C.tap = tU, C.throttle = VU, C.thru = ba, C.toArray = Fg, C.toPairs = xg, C.toPairsIn = Hg, C.toPath = zI, C.toPlainObject = bg, C.transform = Xb, C.unary = GU, C.union = PF, C.unionBy = VF, C.unionWith = GF, C.uniq = WF, C.uniqBy = JF, C.uniqWith = $F, C.unset = Yb, C.unzip = mc, C.unzipWith = ug, C.update = zb, C.updateWith = qb, C.values = Ji, C.valuesIn = Zb, C.without = XF, C.words = _g, C.wrap = WU, C.xor = YF, C.xorBy = zF, C.xorWith = qF, C.zip = ZF, C.zipObject = jF, C.zipObjectDeep = AU, C.zipWith = eU, C.entries = xg, C.entriesIn = Hg, C.extend = Ig, C.extendWith = Oa, Ic(C, C), C.add = ZI, C.attempt = Mg, C.camelCase = tI, C.capitalize = Lg, C.ceil = jI, C.clamp = jb, C.clone = $U, C.cloneDeep = YU, C.cloneDeepWith = zU, C.cloneWith = XU, C.conformsTo = qU, C.deburr = Og, C.defaultTo = xI, C.divide = A1, C.endsWith = nI, C.eq = fn, C.escape = rI, C.escapeRegExp = iI, C.every = fU, C.find = hU, C.findIndex = ig, C.findKey = bb, C.findLast = pU, C.findLastIndex = sg, C.findLastKey = Ib, C.floor = e1, C.forEach = fg, C.forEachRight = dg, C.forIn = Sb, C.forInRight = Tb, C.forOwn = xb, C.forOwnRight = Hb, C.get = vc, C.gt = ZU, C.gte = jU, C.has = _b, C.hasIn = Ec, C.head = ag, C.identity = Et, C.includes = CU, C.indexOf = pF, C.inRange = AI, C.invoke = kb, C.isArguments = si, C.isArray = CA, C.isArrayBuffer = Ab, C.isArrayLike = Qt, C.isArrayLikeObject = me, C.isBoolean = eb, C.isBuffer = Cr, C.isDate = tb, C.isElement = nb, C.isEmpty = rb, C.isEqual = ib, C.isEqualWith = sb, C.isError = yc, C.isFinite = ob, C.isFunction = Jn, C.isInteger = yg, C.isLength = Ha, C.isMap = Qg, C.isMatch = ab, C.isMatchWith = lb, C.isNaN = ub, C.isNative = cb, C.isNil = db, C.isNull = fb, C.isNumber = vg, C.isObject = fe, C.isObjectLike = he, C.isPlainObject = zs, C.isRegExp = Qc, C.isSafeInteger = hb, C.isSet = Eg, C.isString = La, C.isSymbol = Mt, C.isTypedArray = Wi, C.isUndefined = pb, C.isWeakMap = gb, C.isWeakSet = Bb, C.join = CF, C.kebabCase = sI, C.last = Zt, C.lastIndexOf = yF, C.lowerCase = oI, C.lowerFirst = aI, C.lt = mb, C.lte = wb, C.max = t1, C.maxBy = n1, C.mean = r1, C.meanBy = i1, C.min = s1, C.minBy = o1, C.stubArray = Tc, C.stubFalse = xc, C.stubObject = JI, C.stubString = $I, C.stubTrue = XI, C.multiply = a1, C.nth = QF, C.noConflict = kI, C.noop = Sc, C.now = Sa, C.pad = lI, C.padEnd = uI, C.padStart = cI, C.parseInt = fI, C.random = eI, C.reduce = FU, C.reduceRight = UU, C.repeat = dI, C.replace = hI, C.result = Wb, C.round = l1, C.runInContext = L, C.sample = IU, C.size = xU, C.snakeCase = pI, C.some = HU, C.sortedIndex = SF, C.sortedIndexBy = TF, C.sortedIndexOf = xF, C.sortedLastIndex = HF, C.sortedLastIndexBy = LF, C.sortedLastIndexOf = OF, C.startCase = BI, C.startsWith = mI, C.subtract = u1, C.sum = c1, C.sumBy = f1, C.template = wI, C.times = YI, C.toFinite = $n, C.toInteger = vA, C.toLength = Ug, C.toLower = CI, C.toNumber = jt, C.toSafeInteger = Cb, C.toString = VA, C.toUpper = yI, C.trim = QI, C.trimEnd = vI, C.trimStart = EI, C.truncate = FI, C.unescape = UI, C.uniqueId = qI, C.upperCase = bI, C.upperFirst = Fc, C.each = fg, C.eachRight = dg, C.first = ag, Ic(C, function() {
|
|
21497
21498
|
var o = {};
|
|
21498
21499
|
return vn(C, function(l, f) {
|
|
21499
21500
|
JA.call(C.prototype, f) || (o[f] = l);
|
|
@@ -21725,7 +21726,7 @@ const _2 = /* @__PURE__ */ $A({
|
|
|
21725
21726
|
}), Ko(() => {
|
|
21726
21727
|
c.value = !1, d.value = !1, v(), window.removeEventListener("resize", E);
|
|
21727
21728
|
}), (W, AA) => {
|
|
21728
|
-
const wA =
|
|
21729
|
+
const wA = an("loading-spinner"), QA = an("svg-icon");
|
|
21729
21730
|
return uA(), pA("div", {
|
|
21730
21731
|
class: SA(["camera", Z(Q)])
|
|
21731
21732
|
}, [
|
|
@@ -21733,7 +21734,7 @@ const _2 = /* @__PURE__ */ $A({
|
|
|
21733
21734
|
J("div", WD, [
|
|
21734
21735
|
pe(wA, { color: "#000" }, {
|
|
21735
21736
|
default: yi(() => [
|
|
21736
|
-
J("span", JD,
|
|
21737
|
+
J("span", JD, Bn(W.$t("camera.waitForCameraNotification")), 1)
|
|
21737
21738
|
]),
|
|
21738
21739
|
_: 1
|
|
21739
21740
|
})
|
|
@@ -21780,13 +21781,13 @@ const _2 = /* @__PURE__ */ $A({
|
|
|
21780
21781
|
class: "camera__toggle btn btn-primary",
|
|
21781
21782
|
onClick: S
|
|
21782
21783
|
}, [
|
|
21783
|
-
c.value ? (uA(), pA("span", rk,
|
|
21784
|
+
c.value ? (uA(), pA("span", rk, Bn(W.$t("common.pause")), 1)) : (uA(), pA("span", nk, Bn(W.$t("common.play")), 1))
|
|
21784
21785
|
]),
|
|
21785
21786
|
J("button", {
|
|
21786
21787
|
type: "button",
|
|
21787
21788
|
class: "camera__capture btn btn-primary",
|
|
21788
21789
|
onClick: H
|
|
21789
|
-
},
|
|
21790
|
+
}, Bn(W.$t("camera.capture")), 1)
|
|
21790
21791
|
])
|
|
21791
21792
|
])
|
|
21792
21793
|
])
|
|
@@ -21909,7 +21910,7 @@ const M2 = /* @__PURE__ */ $A({
|
|
|
21909
21910
|
});
|
|
21910
21911
|
}
|
|
21911
21912
|
return (u, c) => {
|
|
21912
|
-
const d =
|
|
21913
|
+
const d = an("svg-icon"), h = an("input-file");
|
|
21913
21914
|
return uA(), pA("div", lk, [
|
|
21914
21915
|
(uA(!0), pA(Jr, null, Ti(Z(i), (g, B) => (uA(), pA("div", {
|
|
21915
21916
|
key: g.src,
|
|
@@ -21999,7 +22000,7 @@ const pk = { class: "upload-group" }, gk = ["innerHTML"], Bk = { class: "row" },
|
|
|
21999
22000
|
return Kr(n.value, (i, s) => {
|
|
22000
22001
|
A("update:modelValue", i), JSON.stringify(i), JSON.stringify(s);
|
|
22001
22002
|
}), (i, s) => {
|
|
22002
|
-
const a =
|
|
22003
|
+
const a = an("svg-icon"), u = an("file-upload");
|
|
22003
22004
|
return uA(), pA("div", pk, [
|
|
22004
22005
|
J("label", { innerHTML: t.label }, null, 8, gk),
|
|
22005
22006
|
J("div", Bk, [
|
|
@@ -22147,7 +22148,7 @@ const Uk = { class: "carousel" }, bk = { class: "carousel__viewport" }, Ik = { c
|
|
|
22147
22148
|
J("div", {
|
|
22148
22149
|
class: SA(["carousel__item col-3", s === t.modelValue ? "selected" : ""]),
|
|
22149
22150
|
onClick: (a) => e(s)
|
|
22150
|
-
},
|
|
22151
|
+
}, Bn(i), 11, Sk)
|
|
22151
22152
|
])), 128))
|
|
22152
22153
|
])
|
|
22153
22154
|
])
|
|
@@ -23188,7 +23189,7 @@ var aN = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
23188
23189
|
return [Ye, Ye];
|
|
23189
23190
|
case "to top":
|
|
23190
23191
|
case "bottom":
|
|
23191
|
-
return
|
|
23192
|
+
return sn(0);
|
|
23192
23193
|
case "to bottom left":
|
|
23193
23194
|
case "to left bottom":
|
|
23194
23195
|
case "right top":
|
|
@@ -23196,7 +23197,7 @@ var aN = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
23196
23197
|
return [Ye, Lr];
|
|
23197
23198
|
case "to right":
|
|
23198
23199
|
case "left":
|
|
23199
|
-
return
|
|
23200
|
+
return sn(90);
|
|
23200
23201
|
case "to top left":
|
|
23201
23202
|
case "to left top":
|
|
23202
23203
|
case "right bottom":
|
|
@@ -23204,7 +23205,7 @@ var aN = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
23204
23205
|
return [Lr, Lr];
|
|
23205
23206
|
case "to bottom":
|
|
23206
23207
|
case "top":
|
|
23207
|
-
return
|
|
23208
|
+
return sn(180);
|
|
23208
23209
|
case "to top right":
|
|
23209
23210
|
case "to right top":
|
|
23210
23211
|
case "left bottom":
|
|
@@ -23212,10 +23213,10 @@ var aN = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
23212
23213
|
return [Lr, Ye];
|
|
23213
23214
|
case "to left":
|
|
23214
23215
|
case "right":
|
|
23215
|
-
return
|
|
23216
|
+
return sn(270);
|
|
23216
23217
|
}
|
|
23217
23218
|
return 0;
|
|
23218
|
-
},
|
|
23219
|
+
}, sn = function(t) {
|
|
23219
23220
|
return Math.PI * t / 180;
|
|
23220
23221
|
}, kr = {
|
|
23221
23222
|
name: "color",
|
|
@@ -23282,7 +23283,7 @@ function gf(t, A, e) {
|
|
|
23282
23283
|
return e < 0 && (e += 1), e >= 1 && (e -= 1), e < 1 / 6 ? (A - t) * e * 6 + t : e < 1 / 2 ? A : e < 2 / 3 ? (A - t) * 6 * (2 / 3 - e) + t : t;
|
|
23283
23284
|
}
|
|
23284
23285
|
var $m = function(t, A) {
|
|
23285
|
-
var e = A.filter(bs), n = e[0], r = e[1], i = e[2], s = e[3], a = (n.type === 17 ?
|
|
23286
|
+
var e = A.filter(bs), n = e[0], r = e[1], i = e[2], s = e[3], a = (n.type === 17 ? sn(n.number) : fu.parse(t, n)) / (Math.PI * 2), u = Fe(r) ? r.number / 100 : 0, c = Fe(i) ? i.number / 100 : 0, d = typeof s < "u" && Fe(s) ? te(s, 1) : 1;
|
|
23286
23287
|
if (u === 0)
|
|
23287
23288
|
return Or(c * 255, c * 255, c * 255, 1);
|
|
23288
23289
|
var h = c <= 0.5 ? c * (u + 1) : c + u - c * u, g = c * 2 - h, B = gf(g, h, a + 1 / 3), w = gf(g, h, a), Q = gf(g, h, a - 1 / 3);
|
|
@@ -23501,7 +23502,7 @@ var $m = function(t, A) {
|
|
|
23501
23502
|
}, MR = function(t, A, e) {
|
|
23502
23503
|
var n = typeof t == "number" ? t : _R(t, A, e), r = Math.abs(A * Math.sin(n)) + Math.abs(e * Math.cos(n)), i = A / 2, s = e / 2, a = r / 2, u = Math.sin(n - Math.PI / 2) * a, c = Math.cos(n - Math.PI / 2) * a;
|
|
23503
23504
|
return [r, i - c, i + c, s - u, s + u];
|
|
23504
|
-
},
|
|
23505
|
+
}, hn = function(t, A) {
|
|
23505
23506
|
return Math.sqrt(t * t + A * A);
|
|
23506
23507
|
}, Ym = function(t, A, e, n, r) {
|
|
23507
23508
|
var i = [
|
|
@@ -23511,7 +23512,7 @@ var $m = function(t, A) {
|
|
|
23511
23512
|
[t, A]
|
|
23512
23513
|
];
|
|
23513
23514
|
return i.reduce(function(s, a) {
|
|
23514
|
-
var u = a[0], c = a[1], d =
|
|
23515
|
+
var u = a[0], c = a[1], d = hn(e - u, n - c);
|
|
23515
23516
|
return (r ? d < s.optimumDistance : d > s.optimumDistance) ? {
|
|
23516
23517
|
optimumCorner: a,
|
|
23517
23518
|
optimumDistance: d
|
|
@@ -23528,10 +23529,10 @@ var $m = function(t, A) {
|
|
|
23528
23529
|
break;
|
|
23529
23530
|
case 2:
|
|
23530
23531
|
if (t.shape === 0)
|
|
23531
|
-
i = s = Math.min(
|
|
23532
|
+
i = s = Math.min(hn(A, e), hn(A, e - r), hn(A - n, e), hn(A - n, e - r));
|
|
23532
23533
|
else if (t.shape === 1) {
|
|
23533
23534
|
var a = Math.min(Math.abs(e), Math.abs(e - r)) / Math.min(Math.abs(A), Math.abs(A - n)), u = Ym(n, r, A, e, !0), c = u[0], d = u[1];
|
|
23534
|
-
i =
|
|
23535
|
+
i = hn(c - A, (d - e) / a), s = a * i;
|
|
23535
23536
|
}
|
|
23536
23537
|
break;
|
|
23537
23538
|
case 1:
|
|
@@ -23539,16 +23540,16 @@ var $m = function(t, A) {
|
|
|
23539
23540
|
break;
|
|
23540
23541
|
case 3:
|
|
23541
23542
|
if (t.shape === 0)
|
|
23542
|
-
i = s = Math.max(
|
|
23543
|
+
i = s = Math.max(hn(A, e), hn(A, e - r), hn(A - n, e), hn(A - n, e - r));
|
|
23543
23544
|
else if (t.shape === 1) {
|
|
23544
23545
|
var a = Math.max(Math.abs(e), Math.abs(e - r)) / Math.max(Math.abs(A), Math.abs(A - n)), h = Ym(n, r, A, e, !1), c = h[0], d = h[1];
|
|
23545
|
-
i =
|
|
23546
|
+
i = hn(c - A, (d - e) / a), s = a * i;
|
|
23546
23547
|
}
|
|
23547
23548
|
break;
|
|
23548
23549
|
}
|
|
23549
23550
|
return Array.isArray(t.size) && (i = te(t.size[0], n), s = t.size.length === 2 ? te(t.size[1], r) : i), [i, s];
|
|
23550
23551
|
}, kR = function(t, A) {
|
|
23551
|
-
var e =
|
|
23552
|
+
var e = sn(180), n = [];
|
|
23552
23553
|
return Mn(A).forEach(function(r, i) {
|
|
23553
23554
|
if (i === 0) {
|
|
23554
23555
|
var s = r[0];
|
|
@@ -23569,7 +23570,7 @@ var $m = function(t, A) {
|
|
|
23569
23570
|
/* LINEAR_GRADIENT */
|
|
23570
23571
|
};
|
|
23571
23572
|
}, tl = function(t, A) {
|
|
23572
|
-
var e =
|
|
23573
|
+
var e = sn(180), n = [];
|
|
23573
23574
|
return Mn(A).forEach(function(r, i) {
|
|
23574
23575
|
if (i === 0) {
|
|
23575
23576
|
var s = r[0];
|
|
@@ -23577,7 +23578,7 @@ var $m = function(t, A) {
|
|
|
23577
23578
|
e = ay(r);
|
|
23578
23579
|
return;
|
|
23579
23580
|
} else if (oy(s)) {
|
|
23580
|
-
e = (fu.parse(t, s) +
|
|
23581
|
+
e = (fu.parse(t, s) + sn(270)) % sn(360);
|
|
23581
23582
|
return;
|
|
23582
23583
|
}
|
|
23583
23584
|
}
|
|
@@ -23590,7 +23591,7 @@ var $m = function(t, A) {
|
|
|
23590
23591
|
/* LINEAR_GRADIENT */
|
|
23591
23592
|
};
|
|
23592
23593
|
}, NR = function(t, A) {
|
|
23593
|
-
var e =
|
|
23594
|
+
var e = sn(180), n = [], r = 1, i = 0, s = 3, a = [];
|
|
23594
23595
|
return Mn(A).forEach(function(u, c) {
|
|
23595
23596
|
var d = u[0];
|
|
23596
23597
|
if (c === 0) {
|
|
@@ -23621,7 +23622,7 @@ var $m = function(t, A) {
|
|
|
23621
23622
|
}
|
|
23622
23623
|
}
|
|
23623
23624
|
}), r === 1 ? {
|
|
23624
|
-
angle: (e +
|
|
23625
|
+
angle: (e + sn(180)) % sn(360),
|
|
23625
23626
|
stops: n,
|
|
23626
23627
|
type: r
|
|
23627
23628
|
} : { size: s, shape: i, stops: n, position: a, type: r };
|
|
@@ -26353,38 +26354,38 @@ var le = function(t, A, e, n, r) {
|
|
|
26353
26354
|
}, Fw = function(t, A) {
|
|
26354
26355
|
switch (A) {
|
|
26355
26356
|
case 0:
|
|
26356
|
-
return
|
|
26357
|
+
return on(t.topLeftBorderBox, t.topLeftPaddingBox, t.topRightBorderBox, t.topRightPaddingBox);
|
|
26357
26358
|
case 1:
|
|
26358
|
-
return
|
|
26359
|
+
return on(t.topRightBorderBox, t.topRightPaddingBox, t.bottomRightBorderBox, t.bottomRightPaddingBox);
|
|
26359
26360
|
case 2:
|
|
26360
|
-
return
|
|
26361
|
+
return on(t.bottomRightBorderBox, t.bottomRightPaddingBox, t.bottomLeftBorderBox, t.bottomLeftPaddingBox);
|
|
26361
26362
|
case 3:
|
|
26362
26363
|
default:
|
|
26363
|
-
return
|
|
26364
|
+
return on(t.bottomLeftBorderBox, t.bottomLeftPaddingBox, t.topLeftBorderBox, t.topLeftPaddingBox);
|
|
26364
26365
|
}
|
|
26365
26366
|
}, WP = function(t, A) {
|
|
26366
26367
|
switch (A) {
|
|
26367
26368
|
case 0:
|
|
26368
|
-
return
|
|
26369
|
+
return on(t.topLeftBorderBox, t.topLeftBorderDoubleOuterBox, t.topRightBorderBox, t.topRightBorderDoubleOuterBox);
|
|
26369
26370
|
case 1:
|
|
26370
|
-
return
|
|
26371
|
+
return on(t.topRightBorderBox, t.topRightBorderDoubleOuterBox, t.bottomRightBorderBox, t.bottomRightBorderDoubleOuterBox);
|
|
26371
26372
|
case 2:
|
|
26372
|
-
return
|
|
26373
|
+
return on(t.bottomRightBorderBox, t.bottomRightBorderDoubleOuterBox, t.bottomLeftBorderBox, t.bottomLeftBorderDoubleOuterBox);
|
|
26373
26374
|
case 3:
|
|
26374
26375
|
default:
|
|
26375
|
-
return
|
|
26376
|
+
return on(t.bottomLeftBorderBox, t.bottomLeftBorderDoubleOuterBox, t.topLeftBorderBox, t.topLeftBorderDoubleOuterBox);
|
|
26376
26377
|
}
|
|
26377
26378
|
}, JP = function(t, A) {
|
|
26378
26379
|
switch (A) {
|
|
26379
26380
|
case 0:
|
|
26380
|
-
return
|
|
26381
|
+
return on(t.topLeftBorderDoubleInnerBox, t.topLeftPaddingBox, t.topRightBorderDoubleInnerBox, t.topRightPaddingBox);
|
|
26381
26382
|
case 1:
|
|
26382
|
-
return
|
|
26383
|
+
return on(t.topRightBorderDoubleInnerBox, t.topRightPaddingBox, t.bottomRightBorderDoubleInnerBox, t.bottomRightPaddingBox);
|
|
26383
26384
|
case 2:
|
|
26384
|
-
return
|
|
26385
|
+
return on(t.bottomRightBorderDoubleInnerBox, t.bottomRightPaddingBox, t.bottomLeftBorderDoubleInnerBox, t.bottomLeftPaddingBox);
|
|
26385
26386
|
case 3:
|
|
26386
26387
|
default:
|
|
26387
|
-
return
|
|
26388
|
+
return on(t.bottomLeftBorderDoubleInnerBox, t.bottomLeftPaddingBox, t.topLeftBorderDoubleInnerBox, t.topLeftPaddingBox);
|
|
26388
26389
|
}
|
|
26389
26390
|
}, $P = function(t, A) {
|
|
26390
26391
|
switch (A) {
|
|
@@ -26401,7 +26402,7 @@ var le = function(t, A, e, n, r) {
|
|
|
26401
26402
|
}, al = function(t, A) {
|
|
26402
26403
|
var e = [];
|
|
26403
26404
|
return tn(t) ? e.push(t.subdivide(0.5, !1)) : e.push(t), tn(A) ? e.push(A.subdivide(0.5, !0)) : e.push(A), e;
|
|
26404
|
-
},
|
|
26405
|
+
}, on = function(t, A, e, n) {
|
|
26405
26406
|
var r = [];
|
|
26406
26407
|
return tn(t) ? r.push(t.subdivide(0.5, !1)) : r.push(t), tn(e) ? r.push(e.subdivide(0.5, !0)) : r.push(e), tn(n) ? r.push(n.subdivide(0.5, !0).reverse()) : r.push(n), tn(A) ? r.push(A.subdivide(0.5, !1).reverse()) : r.push(A), r;
|
|
26407
26408
|
}, Ky = function(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(DA,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue"),require("@popperjs/core")):typeof define=="function"&&define.amd?define(["exports","vue","@popperjs/core"],g):(DA=typeof globalThis<"u"?globalThis:DA||self,g(DA.AblokComponents={},DA.Vue,DA.core))})(this,function(DA,g,Pd){"use strict";const By={class:"icon",preserveAspectRatio:"xMaxYMin"},my=["xlink:href"],wy=g.defineComponent({__name:"svg-icon",props:{basePath:{type:String,default:"/symbol-defs.svg"},prefix:{type:String,default:"icon-"},symbol:{type:String,default:""},size:{type:String,default:"default"}},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("i",{class:g.normalizeClass(["svg-icon",{[`svg-icon--${t.size}`]:t.size}])},[(g.openBlock(),g.createElementBlock("svg",By,[g.createElementVNode("use",{"xlink:href":`${t.basePath}#${t.prefix}${t.symbol}`,"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0"},null,8,my)]))],2))}}),kV="",Cy={class:"loading-spinner d-block"},yy={class:"loading-spinner__animation"},Qy={class:"d-block",version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","enable-background":"new 0 0 0 0","xml:space":"preserve"},Ey=["fill"],Fy=[g.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"},null,-1)],Uy=g.defineComponent({__name:"loading-spinner",props:{color:{type:String,default:"#fff"}},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("span",Cy,[g.createElementVNode("span",yy,[(g.openBlock(),g.createElementBlock("svg",Qy,[g.createElementVNode("path",{fill:t.color,d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"},Fy,8,Ey)]))]),g.renderSlot(A.$slots,"default")]))}}),RV="",vy=g.defineComponent({__name:"base-headline",props:{tag:null,size:null,variant:null,text:null,className:null},setup(t){const A=t,e=g.computed(()=>A.tag||"p");return(n,r)=>(g.openBlock(),g.createBlock(g.resolveDynamicComponent(g.unref(e)),{class:g.normalizeClass(["headline",`${t.size} headline--${t.size}${t.className||""}`])},{default:g.withCtx(()=>[g.renderSlot(n.$slots,"default",{},()=>[g.createTextVNode(g.toDisplayString(t.text),1)])]),_:3},8,["class"]))}}),by=g.defineComponent({__name:"base-paragraph",props:{size:null,variant:null,text:null,className:null},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("p",{class:g.normalizeClass(["base-paragraph",`${t.size} ${t.className||""}`])},[g.renderSlot(A.$slots,"default",{},()=>[g.createTextVNode(g.toDisplayString(t.text),1)])],2))}});function we(){return(new Date().valueOf()+Math.random()).toString(36).replace(".","")}const Iy={class:"accordion-item"},Sy=["id"],Ty=["data-bs-target","aria-controls"],xy={class:"flex-grow-1"},Hy=["id","aria-labelledby","data-bs-parent"],Ly={class:"accordion-body"},Oy=["innerHTML"],_y=g.defineComponent({__name:"accordion-item",props:{id:{type:String,default:()=>we()},modelValue:{type:Boolean,default:!0},title:{type:String,default:"Accordion Title"},body:{type:String,default:"<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nisi aut, nobis inventore repudiandae quo laboriosam. Dicta placeat ullam harum optio expedita. Harum fugiat suscipit sapiente quos, molestias neque eaque omnis?</p>"},parent:{type:String,default:""}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t;function n(){A("update:modelValue",!e.modelValue)}return(r,i)=>{const s=g.resolveComponent("svg-icon");return g.openBlock(),g.createElementBlock("div",Iy,[g.createElementVNode("div",{class:"accordion-header",id:`heading${t.id}`},[g.createElementVNode("button",{class:"accordion-button",type:"button","data-bs-toggle":"collapse","data-bs-target":`#target${t.id}`,"aria-expanded":"true","aria-controls":`target${t.id}`,onClick:n},[g.renderSlot(r.$slots,"toggle",{},()=>[g.createElementVNode("span",xy,g.toDisplayString(t.title),1),g.createVNode(s,{symbol:"chevron-down",class:"accordion-button__toggle ms-auto"})])],8,Ty)],8,Sy),g.createElementVNode("div",{class:g.normalizeClass(["accordion-collapse collapse",t.modelValue&&"show"]),id:`target${t.id}`,"aria-labelledby":`heading${t.id}`,"data-bs-parent":t.parent},[g.createElementVNode("div",Ly,[g.renderSlot(r.$slots,"body",{},()=>[g.createElementVNode("article",{innerHTML:t.body},null,8,Oy)])])],10,Hy)])}}}),KV="",My=(t,A)=>{const e=t.__vccOpts||t;for(const[n,r]of A)e[n]=r;return e},Dy={},ky={class:"accordion"};function Ny(t,A){return g.openBlock(),g.createElementBlock("div",ky,[g.renderSlot(t.$slots,"default")])}const Ry=My(Dy,[["render",Ny]]),Ky=["type","disabled"],Vy=g.defineComponent({__name:"base-button",props:{type:{type:null},caption:{type:String},variant:{type:String},color:{type:String,default:"primary"},size:{type:String},icon:{type:String},disabled:{type:Boolean,default:!1},pending:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},circle:{type:Boolean,default:!1}},setup(t){const A=t,e=g.computed(()=>A.caption&&!A.circle);return(n,r)=>{const i=g.resolveComponent("svg-icon");return g.openBlock(),g.createElementBlock("button",{type:t.type,disabled:t.disabled,class:g.normalizeClass(["btn",{disabled:t.disabled,pending:t.pending,rounded:t.rounded,"rounded-circle":t.circle,[`btn-${t.color}`]:!t.outlined,[`btn-outline-${t.color}`]:t.outlined,"x-large":t.size==="x-large",large:t.size==="large",small:t.size==="small","x-small":t.size==="x-small"}])},[g.renderSlot(n.$slots,"default",{},()=>[t.icon?(g.openBlock(),g.createBlock(i,{key:0,id:t.icon,class:"base-button__caption"},null,8,["id"])):g.createCommentVNode("",!0),g.unref(e)?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(["base-button__caption",{"icon-padding":t.icon}])},g.toDisplayString(t.caption),3)):g.createCommentVNode("",!0)])],10,Ky)}}}),VV="",Py={class:"input-group base-input__input-group"},Gy=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","true-value","false-value","aria-label"],Wy=["for","innerHTML"],Jy=g.defineComponent({__name:"base-input",props:{modelValue:{type:[String,Number,Boolean,Date],default:""},type:{type:String,default:"text"},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue},set(r){A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",{class:g.normalizeClass(["input",`input--${t.type}`])},[g.createElementVNode("div",Py,[g.renderSlot(r.$slots,"input-prepend",{slotScope:"props"}),g.withDirectives(g.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),type:t.type==="color"?"text":t.type,id:t.id,name:t.name,placeholder:t.placeholder,pattern:t.pattern,disabled:t.disabled,"read-only":t.readOnly,required:t.required,maxlength:t.maxlength,"true-value":t.trueValue,"false-value":t.falseValue,class:g.normalizeClass(["form-control",{"form-check-input":t.type==="checkbox"}]),"aria-label":t.label},null,10,Gy),[[g.vModelDynamic,g.unref(n)]]),g.renderSlot(r.$slots,"input-append",{slotScope:"props"})]),g.renderSlot(r.$slots,"label",{},()=>[g.createElementVNode("label",{for:t.id,class:g.normalizeClass(["input__label",{"form-check-label":t.type==="checkbox"}]),innerHTML:`${t.label}${t.required?" *":""}`},null,10,Wy)])],2))}}),PV="",$y={class:"input input--textarea"},Xy=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","aria-label"],Yy=["for","innerHTML"],zy=g.defineComponent({__name:"input-textarea",props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},checked:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue},set(r){A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",$y,[g.renderSlot(r.$slots,"input-prepend"),g.withDirectives(g.createElementVNode("textarea",{"onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),type:t.type,id:t.id,name:t.name,placeholder:t.placeholder,pattern:t.pattern,disabled:t.disabled,"read-only":t.readOnly,required:t.required,maxlength:t.maxlength,class:g.normalizeClass(["form-control",{}]),"aria-label":t.label},null,8,Xy),[[g.vModelText,g.unref(n)]]),g.renderSlot(r.$slots,"input-append"),g.renderSlot(r.$slots,"label",{},()=>[g.createElementVNode("label",{for:t.id,class:g.normalizeClass(["input__label",{"form-check-label":t.type==="checkbox"}]),innerHTML:`${t.label}${t.required?" *":""}`},null,10,Yy)])]))}}),qy=["value","id","name","required","disabled","true-value","false-value"],Zy=["for"],jy=g.createElementVNode("span",{class:"input__error"},"error",-1),AQ=g.defineComponent({__name:"input-checkbox",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:[Boolean,Array]},value:{type:[String,Object]},checked:{type:Boolean},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue","update:checked"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue||e.checked},set(r){A("update:checked",r),A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",{class:"form-check input input--checkbox",onClick:i[1]||(i[1]=g.withModifiers(s=>r.void,["stop"]))},[g.withDirectives(g.createElementVNode("input",{ref:"input","onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),value:t.value,id:t.id,name:t.name,type:"checkbox",required:t.required,disabled:t.disabled,class:"form-check-input","true-value":t.trueValue,"false-value":t.falseValue},null,8,qy),[[g.vModelCheckbox,g.unref(n)]]),g.createElementVNode("label",{class:"input__label form-check-label",for:t.id},g.toDisplayString(t.label),9,Zy),jy]))}}),GV=`:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}.input--checkbox{flex-flow:row;gap:.5rem}.input--checkbox input{order:0}
|
|
1
|
+
(function(DA,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue"),require("@popperjs/core")):typeof define=="function"&&define.amd?define(["exports","vue","@popperjs/core"],g):(DA=typeof globalThis<"u"?globalThis:DA||self,g(DA.AblokComponents={},DA.Vue,DA.core))})(this,function(DA,g,Pd){"use strict";const By={class:"icon",preserveAspectRatio:"xMaxYMin"},my=["xlink:href"],wy=g.defineComponent({__name:"svg-icon",props:{basePath:{type:String,default:"/symbol-defs.svg"},prefix:{type:String,default:"icon-"},symbol:{type:String,default:""},size:{type:String,default:"default"}},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("i",{class:g.normalizeClass(["svg-icon",{[`svg-icon--${t.size}`]:t.size}])},[(g.openBlock(),g.createElementBlock("svg",By,[g.createElementVNode("use",{"xlink:href":`${t.basePath}#${t.prefix}${t.symbol}`,"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0"},null,8,my)]))],2))}}),kV="",Cy={class:"loading-spinner d-block"},yy={class:"loading-spinner__animation"},Qy={class:"d-block",version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","enable-background":"new 0 0 0 0","xml:space":"preserve"},Ey=["fill"],Fy=[g.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"},null,-1)],Uy=g.defineComponent({__name:"loading-spinner",props:{color:{type:String,default:"#fff"}},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("span",Cy,[g.createElementVNode("span",yy,[(g.openBlock(),g.createElementBlock("svg",Qy,[g.createElementVNode("path",{fill:t.color,d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"},Fy,8,Ey)]))]),g.renderSlot(A.$slots,"default")]))}}),RV="",vy=g.defineComponent({__name:"base-headline",props:{tag:null,size:null,variant:null,text:null,className:null},setup(t){const A=t,e=g.computed(()=>A.tag||"p");return(n,r)=>(g.openBlock(),g.createBlock(g.resolveDynamicComponent(g.unref(e)),{class:g.normalizeClass(["headline",`${t.size} headline--${t.size}${t.className||""}`])},{default:g.withCtx(()=>[g.renderSlot(n.$slots,"default",{},()=>[g.createTextVNode(g.toDisplayString(t.text),1)])]),_:3},8,["class"]))}}),by=g.defineComponent({__name:"base-paragraph",props:{size:null,variant:null,text:null,className:null},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("p",{class:g.normalizeClass(["base-paragraph",`${t.size} ${t.className||""}`])},[g.renderSlot(A.$slots,"default",{},()=>[g.createTextVNode(g.toDisplayString(t.text),1)])],2))}});function we(){return(new Date().valueOf()+Math.random()).toString(36).replace(".","")}const Iy={class:"accordion-item"},Sy=["id"],Ty=["data-bs-target","aria-controls"],xy={class:"flex-grow-1"},Hy=["id","aria-labelledby","data-bs-parent"],Ly={class:"accordion-body"},Oy=["innerHTML"],_y=g.defineComponent({__name:"accordion-item",props:{id:{type:String,default:()=>we()},modelValue:{type:Boolean,default:!0},title:{type:String,default:"Accordion Title"},body:{type:String,default:"<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nisi aut, nobis inventore repudiandae quo laboriosam. Dicta placeat ullam harum optio expedita. Harum fugiat suscipit sapiente quos, molestias neque eaque omnis?</p>"},parent:{type:String,default:""}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t;function n(){A("update:modelValue",!e.modelValue)}return(r,i)=>{const s=g.resolveComponent("svg-icon");return g.openBlock(),g.createElementBlock("div",Iy,[g.createElementVNode("div",{class:"accordion-header",id:`heading${t.id}`},[g.createElementVNode("button",{class:"accordion-button",type:"button","data-bs-toggle":"collapse","data-bs-target":`#target${t.id}`,"aria-expanded":"true","aria-controls":`target${t.id}`,onClick:n},[g.renderSlot(r.$slots,"toggle",{},()=>[g.createElementVNode("span",xy,g.toDisplayString(t.title),1),g.createVNode(s,{symbol:"chevron-down",class:"accordion-button__toggle ms-auto"})])],8,Ty)],8,Sy),g.createElementVNode("div",{class:g.normalizeClass(["accordion-collapse collapse",t.modelValue&&"show"]),id:`target${t.id}`,"aria-labelledby":`heading${t.id}`,"data-bs-parent":t.parent},[g.createElementVNode("div",Ly,[g.renderSlot(r.$slots,"body",{},()=>[g.createElementVNode("article",{innerHTML:t.body},null,8,Oy)])])],10,Hy)])}}}),KV="",My=(t,A)=>{const e=t.__vccOpts||t;for(const[n,r]of A)e[n]=r;return e},Dy={},ky={class:"accordion"};function Ny(t,A){return g.openBlock(),g.createElementBlock("div",ky,[g.renderSlot(t.$slots,"default")])}const Ry=My(Dy,[["render",Ny]]),Ky=["type","disabled"],Vy=g.defineComponent({__name:"base-button",props:{type:{type:null},caption:{type:String},variant:{type:String},color:{type:String,default:"primary"},size:{type:String},icon:{type:String},disabled:{type:Boolean,default:!1},pending:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},circle:{type:Boolean,default:!1}},setup(t){const A=t,e=g.computed(()=>A.caption&&!A.circle);return(n,r)=>{const i=g.resolveComponent("svg-icon");return g.openBlock(),g.createElementBlock("button",{type:t.type,disabled:t.disabled,class:g.normalizeClass(["btn",{disabled:t.disabled,pending:t.pending,rounded:t.rounded,"rounded-circle":t.circle,[`btn-${t.color}`]:!t.outlined,[`btn-outline-${t.color}`]:t.outlined,"x-large":t.size==="x-large",large:t.size==="large",small:t.size==="small","x-small":t.size==="x-small"}])},[g.renderSlot(n.$slots,"default",{},()=>[t.icon?(g.openBlock(),g.createBlock(i,{key:0,id:t.icon,class:"base-button__caption"},null,8,["id"])):g.createCommentVNode("",!0),g.unref(e)?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(["base-button__caption",{"icon-padding":t.icon}])},g.toDisplayString(t.caption),3)):g.createCommentVNode("",!0)])],10,Ky)}}}),VV="",Py={class:"input-group base-input__input-group"},Gy=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","true-value","false-value","aria-label"],Wy=["for","innerHTML"],Jy=g.defineComponent({__name:"base-input",props:{modelValue:{type:[String,Number,Boolean,Date],default:""},type:{type:String,default:"text"},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue},set(r){A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",{class:g.normalizeClass(["input",`input--${t.type}`])},[g.createElementVNode("div",Py,[g.renderSlot(r.$slots,"input-prepend",{slotScope:"props"}),g.withDirectives(g.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),type:t.type==="color"?"text":t.type,id:t.id,name:t.name,placeholder:t.placeholder,pattern:t.pattern,disabled:t.disabled,"read-only":t.readOnly,required:t.required,maxlength:t.maxlength,"true-value":t.trueValue,"false-value":t.falseValue,class:g.normalizeClass(["form-control",{"form-check-input":t.type==="checkbox"}]),"aria-label":t.label},null,10,Gy),[[g.vModelDynamic,g.unref(n)]]),g.renderSlot(r.$slots,"input-append",{slotScope:"props"})]),g.renderSlot(r.$slots,"label",{},()=>[g.createElementVNode("label",{for:t.id,class:g.normalizeClass(["input__label",{"form-check-label":t.type==="checkbox"}]),innerHTML:`${t.label}${t.required?" *":""}`},null,10,Wy)])],2))}}),PV="",$y={class:"input input--textarea"},Xy=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","aria-label"],Yy=["for","innerHTML"],zy=g.defineComponent({__name:"input-textarea",props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},checked:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue},set(r){A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",$y,[g.renderSlot(r.$slots,"input-prepend"),g.withDirectives(g.createElementVNode("textarea",{"onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),type:t.type,id:t.id,name:t.name,placeholder:t.placeholder,pattern:t.pattern,disabled:t.disabled,"read-only":t.readOnly,required:t.required,maxlength:t.maxlength,class:g.normalizeClass(["form-control",{}]),"aria-label":t.label},null,8,Xy),[[g.vModelText,g.unref(n)]]),g.renderSlot(r.$slots,"input-append"),g.renderSlot(r.$slots,"label",{},()=>[g.createElementVNode("label",{for:t.id,class:g.normalizeClass(["input__label",{"form-check-label":t.type==="checkbox"}]),innerHTML:`${t.label}${t.required?" *":""}`},null,10,Yy)])]))}}),qy=["value","id","name","required","disabled","true-value","false-value"],Zy=["for","innerHTML"],jy=g.createElementVNode("span",{class:"input__error"},"error",-1),AQ=g.defineComponent({__name:"input-checkbox",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:[Boolean,Array]},value:{type:[String,Object]},checked:{type:Boolean},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue","update:checked"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue||e.checked},set(r){A("update:checked",r),A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",{class:"form-check input input--checkbox",onClick:i[1]||(i[1]=g.withModifiers(s=>r.void,["stop"]))},[g.withDirectives(g.createElementVNode("input",{ref:"input","onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),value:t.value,id:t.id,name:t.name,type:"checkbox",required:t.required,disabled:t.disabled,class:"form-check-input","true-value":t.trueValue,"false-value":t.falseValue},null,8,qy),[[g.vModelCheckbox,g.unref(n)]]),g.createElementVNode("label",{class:"input__label form-check-label",for:t.id,innerHTML:t.label},null,8,Zy),jy]))}}),GV=`:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}.input--checkbox{flex-flow:row;gap:.5rem}.input--checkbox input{order:0}
|
|
2
2
|
`,eQ={class:"check-group"},tQ=["id","name","value","disabled","read-only","required"],nQ=["for","innerHTML"],rQ=g.defineComponent({__name:"check-group",props:{modelValue:{type:null,default:()=>[]},options:{type:Array,required:!0},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t;g.ref([]);const n=g.computed({get(){return e.modelValue},set(i){A("update:modelValue",i)}}),r=g.computed(()=>e.options.map(i=>(i=typeof i=="string"?{text:i,value:i}:i,{...i,active:e.modelValue&&e.modelValue.includes(i.value)})));return(i,s)=>(g.openBlock(),g.createElementBlock("div",eQ,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(g.unref(r),(a,c)=>(g.openBlock(),g.createElementBlock("div",{key:c,class:"form-check"},[g.withDirectives(g.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=u=>g.isRef(n)?n.value=u:null),id:`${t.id}-${c}`,name:t.name,class:"form-check-input",value:a.value||a,disabled:t.disabled,"read-only":t.readOnly,required:t.required},null,8,tQ),[[g.vModelCheckbox,g.unref(n)]]),g.createElementVNode("label",{class:"form-check-label",for:`${t.id}-${c}`,innerHTML:a.text},null,8,nQ)]))),128))]))}}),WV="",iQ={class:"input radio-group"},sQ=["id","name","value","checked","disabled","read-only","required","onChange"],oQ=["for","innerHTML"],aQ=["for"],lQ=g.defineComponent({__name:"radio-group",props:{modelValue:{default:!1},options:{type:Array,default:[]},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(t,{emit:A}){const e=t;g.ref(e.options.map(r=>r.value===e.modelValue));function n(r){console.log("asdfa",r),A("update:modelValue",r)}return g.onBeforeMount(()=>{}),(r,i)=>(g.openBlock(),g.createElementBlock("div",iQ,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(t.options,(s,a)=>(g.openBlock(),g.createElementBlock("div",{key:a,class:"form-check"},[g.createElementVNode("input",{type:"radio",id:`${t.id}-${a}`,name:t.name,class:"form-check-input",value:s.value||s,checked:s.value?s.value===t.modelValue:s===t.modelValue,disabled:t.disabled,"read-only":t.readOnly,required:t.required,onChange:c=>n(s)},null,40,sQ),g.createElementVNode("label",{class:"form-check-label",for:`${t.id}-${a}`,innerHTML:t.label},null,8,oQ)]))),128)),g.renderSlot(r.$slots,"label",{},()=>[t.label?(g.openBlock(),g.createElementBlock("label",{key:0,for:t.id},g.toDisplayString(t.label),9,aQ)):g.createCommentVNode("",!0)])]))}}),JV="",cQ=["id","name","multiple","accept","disabled"],uQ={class:"input__input-group input-group"},fQ=["value","id","name","disabled"],dQ=["for","disabled"],hQ=g.createElementVNode("span",{class:"btn btn-outline-dark"},"Select File",-1),pQ=["for"],gQ=["innerHTML"],BQ=g.defineComponent({__name:"input-file",props:{modelValue:{type:Array,default:[]},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},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}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t;function n(a){const c=a.target&&a.target.files;c&&(i.splice(0,i.length),Array.from(c).forEach(u=>{i.push(u)}))}const r=g.ref(),i=g.reactive([]),s=g.computed(()=>i&&i.map(a=>a.name));return g.computed(()=>i.map(a=>URL.createObjectURL(a))),g.watch(()=>e.modelValue,(a,c)=>{a.length===0&&(r.value.value=null)},{deep:!0}),g.watch(()=>i,(a,c)=>{A("update:modelValue",a)},{deep:!0}),(a,c)=>(g.openBlock(),g.createElementBlock("div",{class:g.normalizeClass(["input input-file","input-file--primary"])},[g.createElementVNode("input",{ref_key:"input",ref:r,type:"file",id:t.id,name:t.name,class:"d-none",onChange:n,multiple:t.multiple,accept:t.accept,disabled:t.disabled},null,40,cQ),g.createElementVNode("div",uQ,[g.renderSlot(a.$slots,"input-prepend"),g.createElementVNode("input",{type:"text",value:g.unref(s),id:t.id,name:t.name,class:"form-control",disabled:t.disabled},null,8,fQ),g.renderSlot(a.$slots,"input-append",{},()=>[g.createElementVNode("label",{for:t.id,disabled:t.disabled},[g.renderSlot(a.$slots,"button",{},()=>[hQ])],8,dQ)])]),g.createElementVNode("label",{for:t.id},[g.renderSlot(a.$slots,"label",{},()=>[g.createElementVNode("span",{class:"input__label",innerHTML:`${t.label}${t.required?" *":""}`},null,8,gQ)])],8,pQ)]))}});function He(t){this.content=t}He.prototype={constructor:He,find:function(t){for(var A=0;A<this.content.length;A+=2)if(this.content[A]===t)return A;return-1},get:function(t){var A=this.find(t);return A==-1?void 0:this.content[A+1]},update:function(t,A,e){var n=e&&e!=t?this.remove(e):this,r=n.find(t),i=n.content.slice();return r==-1?i.push(e||t,A):(i[r+1]=A,e&&(i[r]=e)),new He(i)},remove:function(t){var A=this.find(t);if(A==-1)return this;var e=this.content.slice();return e.splice(A,2),new He(e)},addToStart:function(t,A){return new He([t,A].concat(this.remove(t).content))},addToEnd:function(t,A){var e=this.remove(t).content.slice();return e.push(t,A),new He(e)},addBefore:function(t,A,e){var n=this.remove(A),r=n.content.slice(),i=n.find(t);return r.splice(i==-1?r.length:i,0,A,e),new He(r)},forEach:function(t){for(var A=0;A<this.content.length;A+=2)t(this.content[A],this.content[A+1])},prepend:function(t){return t=He.from(t),t.size?new He(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=He.from(t),t.size?new He(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var A=this;t=He.from(t);for(var e=0;e<t.content.length;e+=2)A=A.remove(t.content[e]);return A},toObject:function(){var t={};return this.forEach(function(A,e){t[A]=e}),t},get size(){return this.content.length>>1}},He.from=function(t){if(t instanceof He)return t;var A=[];if(t)for(var e in t)A.push(e,t[e]);return new He(A)};function Gd(t,A,e){for(let n=0;;n++){if(n==t.childCount||n==A.childCount)return t.childCount==A.childCount?null:e;let r=t.child(n),i=A.child(n);if(r==i){e+=r.nodeSize;continue}if(!r.sameMarkup(i))return e;if(r.isText&&r.text!=i.text){for(let s=0;r.text[s]==i.text[s];s++)e++;return e}if(r.content.size||i.content.size){let s=Gd(r.content,i.content,e+1);if(s!=null)return s}e+=r.nodeSize}}function Wd(t,A,e,n){for(let r=t.childCount,i=A.childCount;;){if(r==0||i==0)return r==i?null:{a:e,b:n};let s=t.child(--r),a=A.child(--i),c=s.nodeSize;if(s==a){e-=c,n-=c;continue}if(!s.sameMarkup(a))return{a:e,b:n};if(s.isText&&s.text!=a.text){let u=0,d=Math.min(s.text.length,a.text.length);for(;u<d&&s.text[s.text.length-u-1]==a.text[a.text.length-u-1];)u++,e--,n--;return{a:e,b:n}}if(s.content.size||a.content.size){let u=Wd(s.content,a.content,e-1,n-1);if(u)return u}e-=c,n-=c}}class X{constructor(A,e){if(this.content=A,this.size=e||0,e==null)for(let n=0;n<A.length;n++)this.size+=A[n].nodeSize}nodesBetween(A,e,n,r=0,i){for(let s=0,a=0;a<e;s++){let c=this.content[s],u=a+c.nodeSize;if(u>A&&n(c,r+a,i||null,s)!==!1&&c.content.size){let d=a+1;c.nodesBetween(Math.max(0,A-d),Math.min(c.content.size,e-d),n,r+d)}a=u}}descendants(A){this.nodesBetween(0,this.size,A)}textBetween(A,e,n,r){let i="",s=!0;return this.nodesBetween(A,e,(a,c)=>{a.isText?(i+=a.text.slice(Math.max(A,c)-c,e-c),s=!n):a.isLeaf?(r?i+=typeof r=="function"?r(a):r:a.type.spec.leafText&&(i+=a.type.spec.leafText(a)),s=!n):!s&&a.isBlock&&(i+=n,s=!0)},0),i}append(A){if(!A.size)return this;if(!this.size)return A;let e=this.lastChild,n=A.firstChild,r=this.content.slice(),i=0;for(e.isText&&e.sameMarkup(n)&&(r[r.length-1]=e.withText(e.text+n.text),i=1);i<A.content.length;i++)r.push(A.content[i]);return new X(r,this.size+A.size)}cut(A,e=this.size){if(A==0&&e==this.size)return this;let n=[],r=0;if(e>A)for(let i=0,s=0;s<e;i++){let a=this.content[i],c=s+a.nodeSize;c>A&&((s<A||c>e)&&(a.isText?a=a.cut(Math.max(0,A-s),Math.min(a.text.length,e-s)):a=a.cut(Math.max(0,A-s-1),Math.min(a.content.size,e-s-1))),n.push(a),r+=a.nodeSize),s=c}return new X(n,r)}cutByIndex(A,e){return A==e?X.empty:A==0&&e==this.content.length?this:new X(this.content.slice(A,e))}replaceChild(A,e){let n=this.content[A];if(n==e)return this;let r=this.content.slice(),i=this.size+e.nodeSize-n.nodeSize;return r[A]=e,new X(r,i)}addToStart(A){return new X([A].concat(this.content),this.size+A.nodeSize)}addToEnd(A){return new X(this.content.concat(A),this.size+A.nodeSize)}eq(A){if(this.content.length!=A.content.length)return!1;for(let e=0;e<this.content.length;e++)if(!this.content[e].eq(A.content[e]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(A){let e=this.content[A];if(!e)throw new RangeError("Index "+A+" out of range for "+this);return e}maybeChild(A){return this.content[A]||null}forEach(A){for(let e=0,n=0;e<this.content.length;e++){let r=this.content[e];A(r,n,e),n+=r.nodeSize}}findDiffStart(A,e=0){return Gd(this,A,e)}findDiffEnd(A,e=this.size,n=A.size){return Wd(this,A,e,n)}findIndex(A,e=-1){if(A==0)return Uo(0,A);if(A==this.size)return Uo(this.content.length,A);if(A>this.size||A<0)throw new RangeError(`Position ${A} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=this.child(n),s=r+i.nodeSize;if(s>=A)return s==A||e>0?Uo(n+1,s):Uo(n,r);r=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(A=>A.toJSON()):null}static fromJSON(A,e){if(!e)return X.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new X(e.map(A.nodeFromJSON))}static fromArray(A){if(!A.length)return X.empty;let e,n=0;for(let r=0;r<A.length;r++){let i=A[r];n+=i.nodeSize,r&&i.isText&&A[r-1].sameMarkup(i)?(e||(e=A.slice(0,r)),e[e.length-1]=i.withText(e[e.length-1].text+i.text)):e&&e.push(i)}return new X(e||A,n)}static from(A){if(!A)return X.empty;if(A instanceof X)return A;if(Array.isArray(A))return this.fromArray(A);if(A.attrs)return new X([A],A.nodeSize);throw new RangeError("Can not convert "+A+" to a Fragment"+(A.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}X.empty=new X([],0);const Zl={index:0,offset:0};function Uo(t,A){return Zl.index=t,Zl.offset=A,Zl}function vo(t,A){if(t===A)return!0;if(!(t&&typeof t=="object")||!(A&&typeof A=="object"))return!1;let e=Array.isArray(t);if(Array.isArray(A)!=e)return!1;if(e){if(t.length!=A.length)return!1;for(let n=0;n<t.length;n++)if(!vo(t[n],A[n]))return!1}else{for(let n in t)if(!(n in A)||!vo(t[n],A[n]))return!1;for(let n in A)if(!(n in t))return!1}return!0}let PA=class Rd{constructor(A,e){this.type=A,this.attrs=e}addToSet(A){let e,n=!1;for(let r=0;r<A.length;r++){let i=A[r];if(this.eq(i))return A;if(this.type.excludes(i.type))e||(e=A.slice(0,r));else{if(i.type.excludes(this.type))return A;!n&&i.type.rank>this.type.rank&&(e||(e=A.slice(0,r)),e.push(this),n=!0),e&&e.push(i)}}return e||(e=A.slice()),n||e.push(this),e}removeFromSet(A){for(let e=0;e<A.length;e++)if(this.eq(A[e]))return A.slice(0,e).concat(A.slice(e+1));return A}isInSet(A){for(let e=0;e<A.length;e++)if(this.eq(A[e]))return!0;return!1}eq(A){return this==A||this.type==A.type&&vo(this.attrs,A.attrs)}toJSON(){let A={type:this.type.name};for(let e in this.attrs){A.attrs=this.attrs;break}return A}static fromJSON(A,e){if(!e)throw new RangeError("Invalid input for Mark.fromJSON");let n=A.marks[e.type];if(!n)throw new RangeError(`There is no mark type ${e.type} in this schema`);return n.create(e.attrs)}static sameSet(A,e){if(A==e)return!0;if(A.length!=e.length)return!1;for(let n=0;n<A.length;n++)if(!A[n].eq(e[n]))return!1;return!0}static setFrom(A){if(!A||Array.isArray(A)&&A.length==0)return Rd.none;if(A instanceof Rd)return[A];let e=A.slice();return e.sort((n,r)=>n.type.rank-r.type.rank),e}};PA.none=[];class bo extends Error{}class j{constructor(A,e,n){this.content=A,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(A,e){let n=$d(this.content,A+this.openStart,e);return n&&new j(n,this.openStart,this.openEnd)}removeBetween(A,e){return new j(Jd(this.content,A+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(A){return this.content.eq(A.content)&&this.openStart==A.openStart&&this.openEnd==A.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let A={content:this.content.toJSON()};return this.openStart>0&&(A.openStart=this.openStart),this.openEnd>0&&(A.openEnd=this.openEnd),A}static fromJSON(A,e){if(!e)return j.empty;let n=e.openStart||0,r=e.openEnd||0;if(typeof n!="number"||typeof r!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new j(X.fromJSON(A,e.content),n,r)}static maxOpen(A,e=!0){let n=0,r=0;for(let i=A.firstChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.firstChild)n++;for(let i=A.lastChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.lastChild)r++;return new j(A,n,r)}}j.empty=new j(X.empty,0,0);function Jd(t,A,e){let{index:n,offset:r}=t.findIndex(A),i=t.maybeChild(n),{index:s,offset:a}=t.findIndex(e);if(r==A||i.isText){if(a!=e&&!t.child(s).isText)throw new RangeError("Removing non-flat range");return t.cut(0,A).append(t.cut(e))}if(n!=s)throw new RangeError("Removing non-flat range");return t.replaceChild(n,i.copy(Jd(i.content,A-r-1,e-r-1)))}function $d(t,A,e,n){let{index:r,offset:i}=t.findIndex(A),s=t.maybeChild(r);if(i==A||s.isText)return n&&!n.canReplace(r,r,e)?null:t.cut(0,A).append(e).append(t.cut(A));let a=$d(s.content,A-i-1,e);return a&&t.replaceChild(r,s.copy(a))}function mQ(t,A,e){if(e.openStart>t.depth)throw new bo("Inserted content deeper than insertion position");if(t.depth-e.openStart!=A.depth-e.openEnd)throw new bo("Inconsistent open depths");return Xd(t,A,e,0)}function Xd(t,A,e,n){let r=t.index(n),i=t.node(n);if(r==A.index(n)&&n<t.depth-e.openStart){let s=Xd(t,A,e,n+1);return i.copy(i.content.replaceChild(r,s))}else if(e.content.size)if(!e.openStart&&!e.openEnd&&t.depth==n&&A.depth==n){let s=t.parent,a=s.content;return Dr(s,a.cut(0,t.parentOffset).append(e.content).append(a.cut(A.parentOffset)))}else{let{start:s,end:a}=wQ(e,t);return Dr(i,zd(t,s,a,A,n))}else return Dr(i,Io(t,A,n))}function Yd(t,A){if(!A.type.compatibleContent(t.type))throw new bo("Cannot join "+A.type.name+" onto "+t.type.name)}function jl(t,A,e){let n=t.node(e);return Yd(n,A.node(e)),n}function Mr(t,A){let e=A.length-1;e>=0&&t.isText&&t.sameMarkup(A[e])?A[e]=t.withText(A[e].text+t.text):A.push(t)}function ds(t,A,e,n){let r=(A||t).node(e),i=0,s=A?A.index(e):r.childCount;t&&(i=t.index(e),t.depth>e?i++:t.textOffset&&(Mr(t.nodeAfter,n),i++));for(let a=i;a<s;a++)Mr(r.child(a),n);A&&A.depth==e&&A.textOffset&&Mr(A.nodeBefore,n)}function Dr(t,A){return t.type.checkContent(A),t.copy(A)}function zd(t,A,e,n,r){let i=t.depth>r&&jl(t,A,r+1),s=n.depth>r&&jl(e,n,r+1),a=[];return ds(null,t,r,a),i&&s&&A.index(r)==e.index(r)?(Yd(i,s),Mr(Dr(i,zd(t,A,e,n,r+1)),a)):(i&&Mr(Dr(i,Io(t,A,r+1)),a),ds(A,e,r,a),s&&Mr(Dr(s,Io(e,n,r+1)),a)),ds(n,null,r,a),new X(a)}function Io(t,A,e){let n=[];if(ds(null,t,e,n),t.depth>e){let r=jl(t,A,e+1);Mr(Dr(r,Io(t,A,e+1)),n)}return ds(A,null,e,n),new X(n)}function wQ(t,A){let e=A.depth-t.openStart,r=A.node(e).copy(t.content);for(let i=e-1;i>=0;i--)r=A.node(i).copy(X.from(r));return{start:r.resolveNoCache(t.openStart+e),end:r.resolveNoCache(r.content.size-t.openEnd-e)}}class hs{constructor(A,e,n){this.pos=A,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(A){return A==null?this.depth:A<0?this.depth+A:A}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(A){return this.path[this.resolveDepth(A)*3]}index(A){return this.path[this.resolveDepth(A)*3+1]}indexAfter(A){return A=this.resolveDepth(A),this.index(A)+(A==this.depth&&!this.textOffset?0:1)}start(A){return A=this.resolveDepth(A),A==0?0:this.path[A*3-1]+1}end(A){return A=this.resolveDepth(A),this.start(A)+this.node(A).content.size}before(A){if(A=this.resolveDepth(A),!A)throw new RangeError("There is no position before the top-level node");return A==this.depth+1?this.pos:this.path[A*3-1]}after(A){if(A=this.resolveDepth(A),!A)throw new RangeError("There is no position after the top-level node");return A==this.depth+1?this.pos:this.path[A*3-1]+this.path[A*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let A=this.parent,e=this.index(this.depth);if(e==A.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=A.child(e);return n?A.child(e).cut(n):r}get nodeBefore(){let A=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(A).cut(0,e):A==0?null:this.parent.child(A-1)}posAtIndex(A,e){e=this.resolveDepth(e);let n=this.path[e*3],r=e==0?0:this.path[e*3-1]+1;for(let i=0;i<A;i++)r+=n.child(i).nodeSize;return r}marks(){let A=this.parent,e=this.index();if(A.content.size==0)return PA.none;if(this.textOffset)return A.child(e).marks;let n=A.maybeChild(e-1),r=A.maybeChild(e);if(!n){let a=n;n=r,r=a}let i=n.marks;for(var s=0;s<i.length;s++)i[s].type.spec.inclusive===!1&&(!r||!i[s].isInSet(r.marks))&&(i=i[s--].removeFromSet(i));return i}marksAcross(A){let e=this.parent.maybeChild(this.index());if(!e||!e.isInline)return null;let n=e.marks,r=A.parent.maybeChild(A.index());for(var i=0;i<n.length;i++)n[i].type.spec.inclusive===!1&&(!r||!n[i].isInSet(r.marks))&&(n=n[i--].removeFromSet(n));return n}sharedDepth(A){for(let e=this.depth;e>0;e--)if(this.start(e)<=A&&this.end(e)>=A)return e;return 0}blockRange(A=this,e){if(A.pos<this.pos)return A.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==A.pos?1:0);n>=0;n--)if(A.pos<=this.end(n)&&(!e||e(this.node(n))))return new So(this,A,n);return null}sameParent(A){return this.pos-this.parentOffset==A.pos-A.parentOffset}max(A){return A.pos>this.pos?A:this}min(A){return A.pos<this.pos?A:this}toString(){let A="";for(let e=1;e<=this.depth;e++)A+=(A?"/":"")+this.node(e).type.name+"_"+this.index(e-1);return A+":"+this.parentOffset}static resolve(A,e){if(!(e>=0&&e<=A.content.size))throw new RangeError("Position "+e+" out of range");let n=[],r=0,i=e;for(let s=A;;){let{index:a,offset:c}=s.content.findIndex(i),u=i-c;if(n.push(s,a,r+c),!u||(s=s.child(a),s.isText))break;i=u-1,r+=c+1}return new hs(e,n,i)}static resolveCached(A,e){for(let r=0;r<Ac.length;r++){let i=Ac[r];if(i.pos==e&&i.doc==A)return i}let n=Ac[ec]=hs.resolve(A,e);return ec=(ec+1)%CQ,n}}let Ac=[],ec=0,CQ=12;class So{constructor(A,e,n){this.$from=A,this.$to=e,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const yQ=Object.create(null);let kr=class Kd{constructor(A,e,n,r=PA.none){this.type=A,this.attrs=e,this.marks=r,this.content=n||X.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(A){return this.content.child(A)}maybeChild(A){return this.content.maybeChild(A)}forEach(A){this.content.forEach(A)}nodesBetween(A,e,n,r=0){this.content.nodesBetween(A,e,n,r,this)}descendants(A){this.nodesBetween(0,this.content.size,A)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(A,e,n,r){return this.content.textBetween(A,e,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(A){return this==A||this.sameMarkup(A)&&this.content.eq(A.content)}sameMarkup(A){return this.hasMarkup(A.type,A.attrs,A.marks)}hasMarkup(A,e,n){return this.type==A&&vo(this.attrs,e||A.defaultAttrs||yQ)&&PA.sameSet(this.marks,n||PA.none)}copy(A=null){return A==this.content?this:new Kd(this.type,this.attrs,A,this.marks)}mark(A){return A==this.marks?this:new Kd(this.type,this.attrs,this.content,A)}cut(A,e=this.content.size){return A==0&&e==this.content.size?this:this.copy(this.content.cut(A,e))}slice(A,e=this.content.size,n=!1){if(A==e)return j.empty;let r=this.resolve(A),i=this.resolve(e),s=n?0:r.sharedDepth(e),a=r.start(s),u=r.node(s).content.cut(r.pos-a,i.pos-a);return new j(u,r.depth-s,i.depth-s)}replace(A,e,n){return mQ(this.resolve(A),this.resolve(e),n)}nodeAt(A){for(let e=this;;){let{index:n,offset:r}=e.content.findIndex(A);if(e=e.maybeChild(n),!e)return null;if(r==A||e.isText)return e;A-=r+1}}childAfter(A){let{index:e,offset:n}=this.content.findIndex(A);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(A){if(A==0)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(A);if(n<A)return{node:this.content.child(e),index:e,offset:n};let r=this.content.child(e-1);return{node:r,index:e-1,offset:n-r.nodeSize}}resolve(A){return hs.resolveCached(this,A)}resolveNoCache(A){return hs.resolve(this,A)}rangeHasMark(A,e,n){let r=!1;return e>A&&this.nodesBetween(A,e,i=>(n.isInSet(i.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let A=this.type.name;return this.content.size&&(A+="("+this.content.toStringInner()+")"),qd(this.marks,A)}contentMatchAt(A){let e=this.type.contentMatch.matchFragment(this.content,0,A);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(A,e,n=X.empty,r=0,i=n.childCount){let s=this.contentMatchAt(A).matchFragment(n,r,i),a=s&&s.matchFragment(this.content,e);if(!a||!a.validEnd)return!1;for(let c=r;c<i;c++)if(!this.type.allowsMarks(n.child(c).marks))return!1;return!0}canReplaceWith(A,e,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(A).matchType(n),s=i&&i.matchFragment(this.content,e);return s?s.validEnd:!1}canAppend(A){return A.content.size?this.canReplace(this.childCount,this.childCount,A.content):this.type.compatibleContent(A.type)}check(){this.type.checkContent(this.content);let A=PA.none;for(let e=0;e<this.marks.length;e++)A=this.marks[e].addToSet(A);if(!PA.sameSet(A,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let A={type:this.type.name};for(let e in this.attrs){A.attrs=this.attrs;break}return this.content.size&&(A.content=this.content.toJSON()),this.marks.length&&(A.marks=this.marks.map(e=>e.toJSON())),A}static fromJSON(A,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let n=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(A.markFromJSON)}if(e.type=="text"){if(typeof e.text!="string")throw new RangeError("Invalid text node in JSON");return A.text(e.text,n)}let r=X.fromJSON(A,e.content);return A.nodeType(e.type).create(e.attrs,r,n)}};kr.prototype.text=void 0;class To extends kr{constructor(A,e,n,r){if(super(A,e,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):qd(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(A,e){return this.text.slice(A,e)}get nodeSize(){return this.text.length}mark(A){return A==this.marks?this:new To(this.type,this.attrs,this.text,A)}withText(A){return A==this.text?this:new To(this.type,this.attrs,A,this.marks)}cut(A=0,e=this.text.length){return A==0&&e==this.text.length?this:this.withText(this.text.slice(A,e))}eq(A){return this.sameMarkup(A)&&this.text==A.text}toJSON(){let A=super.toJSON();return A.text=this.text,A}}function qd(t,A){for(let e=t.length-1;e>=0;e--)A=t[e].type.name+"("+A+")";return A}class Nr{constructor(A){this.validEnd=A,this.next=[],this.wrapCache=[]}static parse(A,e){let n=new QQ(A,e);if(n.next==null)return Nr.empty;let r=Zd(n);n.next&&n.err("Unexpected trailing text");let i=SQ(IQ(r));return TQ(i,n),i}matchType(A){for(let e=0;e<this.next.length;e++)if(this.next[e].type==A)return this.next[e].next;return null}matchFragment(A,e=0,n=A.childCount){let r=this;for(let i=e;r&&i<n;i++)r=r.matchType(A.child(i).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let A=0;A<this.next.length;A++){let{type:e}=this.next[A];if(!(e.isText||e.hasRequiredAttrs()))return e}return null}compatible(A){for(let e=0;e<this.next.length;e++)for(let n=0;n<A.next.length;n++)if(this.next[e].type==A.next[n].type)return!0;return!1}fillBefore(A,e=!1,n=0){let r=[this];function i(s,a){let c=s.matchFragment(A,n);if(c&&(!e||c.validEnd))return X.from(a.map(u=>u.createAndFill()));for(let u=0;u<s.next.length;u++){let{type:d,next:h}=s.next[u];if(!(d.isText||d.hasRequiredAttrs())&&r.indexOf(h)==-1){r.push(h);let B=i(h,a.concat(d));if(B)return B}}return null}return i(this,[])}findWrapping(A){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==A)return this.wrapCache[n+1];let e=this.computeWrapping(A);return this.wrapCache.push(A,e),e}computeWrapping(A){let e=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(A)){let s=[];for(let a=r;a.type;a=a.via)s.push(a.type);return s.reverse()}for(let s=0;s<i.next.length;s++){let{type:a,next:c}=i.next[s];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in e)&&(!r.type||c.validEnd)&&(n.push({match:a.contentMatch,type:a,via:r}),e[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(A){if(A>=this.next.length)throw new RangeError(`There's no ${A}th edge in this content match`);return this.next[A]}toString(){let A=[];function e(n){A.push(n);for(let r=0;r<n.next.length;r++)A.indexOf(n.next[r].next)==-1&&e(n.next[r].next)}return e(this),A.map((n,r)=>{let i=r+(n.validEnd?"*":" ")+" ";for(let s=0;s<n.next.length;s++)i+=(s?", ":"")+n.next[s].type.name+"->"+A.indexOf(n.next[s].next);return i}).join(`
|
|
3
3
|
`)}}Nr.empty=new Nr(!0);class QQ{constructor(A,e){this.string=A,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=A.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(A){return this.next==A&&(this.pos++||!0)}err(A){throw new SyntaxError(A+" (in content expression '"+this.string+"')")}}function Zd(t){let A=[];do A.push(EQ(t));while(t.eat("|"));return A.length==1?A[0]:{type:"choice",exprs:A}}function EQ(t){let A=[];do A.push(FQ(t));while(t.next&&t.next!=")"&&t.next!="|");return A.length==1?A[0]:{type:"seq",exprs:A}}function FQ(t){let A=bQ(t);for(;;)if(t.eat("+"))A={type:"plus",expr:A};else if(t.eat("*"))A={type:"star",expr:A};else if(t.eat("?"))A={type:"opt",expr:A};else if(t.eat("{"))A=UQ(t,A);else break;return A}function jd(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let A=Number(t.next);return t.pos++,A}function UQ(t,A){let e=jd(t),n=e;return t.eat(",")&&(t.next!="}"?n=jd(t):n=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:e,max:n,expr:A}}function vQ(t,A){let e=t.nodeTypes,n=e[A];if(n)return[n];let r=[];for(let i in e){let s=e[i];s.groups.indexOf(A)>-1&&r.push(s)}return r.length==0&&t.err("No node type or group '"+A+"' found"),r}function bQ(t){if(t.eat("(")){let A=Zd(t);return t.eat(")")||t.err("Missing closing paren"),A}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let A=vQ(t,t.next).map(e=>(t.inline==null?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e}));return t.pos++,A.length==1?A[0]:{type:"choice",exprs:A}}}function IQ(t){let A=[[]];return r(i(t,0),e()),A;function e(){return A.push([])-1}function n(s,a,c){let u={term:c,to:a};return A[s].push(u),u}function r(s,a){s.forEach(c=>c.to=a)}function i(s,a){if(s.type=="choice")return s.exprs.reduce((c,u)=>c.concat(i(u,a)),[]);if(s.type=="seq")for(let c=0;;c++){let u=i(s.exprs[c],a);if(c==s.exprs.length-1)return u;r(u,a=e())}else if(s.type=="star"){let c=e();return n(a,c),r(i(s.expr,c),c),[n(c)]}else if(s.type=="plus"){let c=e();return r(i(s.expr,a),c),r(i(s.expr,c),c),[n(c)]}else{if(s.type=="opt")return[n(a)].concat(i(s.expr,a));if(s.type=="range"){let c=a;for(let u=0;u<s.min;u++){let d=e();r(i(s.expr,c),d),c=d}if(s.max==-1)r(i(s.expr,c),c);else for(let u=s.min;u<s.max;u++){let d=e();n(c,d),r(i(s.expr,c),d),c=d}return[n(c)]}else{if(s.type=="name")return[n(a,void 0,s.value)];throw new Error("Unknown expr type")}}}}function Ah(t,A){return A-t}function eh(t,A){let e=[];return n(A),e.sort(Ah);function n(r){let i=t[r];if(i.length==1&&!i[0].term)return n(i[0].to);e.push(r);for(let s=0;s<i.length;s++){let{term:a,to:c}=i[s];!a&&e.indexOf(c)==-1&&n(c)}}}function SQ(t){let A=Object.create(null);return e(eh(t,0));function e(n){let r=[];n.forEach(s=>{t[s].forEach(({term:a,to:c})=>{if(!a)return;let u;for(let d=0;d<r.length;d++)r[d][0]==a&&(u=r[d][1]);eh(t,c).forEach(d=>{u||r.push([a,u=[]]),u.indexOf(d)==-1&&u.push(d)})})});let i=A[n.join(",")]=new Nr(n.indexOf(t.length-1)>-1);for(let s=0;s<r.length;s++){let a=r[s][1].sort(Ah);i.next.push({type:r[s][0],next:A[a.join(",")]||e(a)})}return i}}function TQ(t,A){for(let e=0,n=[t];e<n.length;e++){let r=n[e],i=!r.validEnd,s=[];for(let a=0;a<r.next.length;a++){let{type:c,next:u}=r.next[a];s.push(c.name),i&&!(c.isText||c.hasRequiredAttrs())&&(i=!1),n.indexOf(u)==-1&&n.push(u)}i&&A.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function th(t){let A=Object.create(null);for(let e in t){let n=t[e];if(!n.hasDefault)return null;A[e]=n.default}return A}function nh(t,A){let e=Object.create(null);for(let n in t){let r=A&&A[n];if(r===void 0){let i=t[n];if(i.hasDefault)r=i.default;else throw new RangeError("No value supplied for attribute "+n)}e[n]=r}return e}function rh(t){let A=Object.create(null);if(t)for(let e in t)A[e]=new xQ(t[e]);return A}let ih=class gy{constructor(A,e,n){this.name=A,this.schema=e,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=rh(n.attrs),this.defaultAttrs=th(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||A=="text"),this.isText=A=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Nr.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let A in this.attrs)if(this.attrs[A].isRequired)return!0;return!1}compatibleContent(A){return this==A||this.contentMatch.compatible(A.contentMatch)}computeAttrs(A){return!A&&this.defaultAttrs?this.defaultAttrs:nh(this.attrs,A)}create(A=null,e,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new kr(this,this.computeAttrs(A),X.from(e),PA.setFrom(n))}createChecked(A=null,e,n){return e=X.from(e),this.checkContent(e),new kr(this,this.computeAttrs(A),e,PA.setFrom(n))}createAndFill(A=null,e,n){if(A=this.computeAttrs(A),e=X.from(e),e.size){let s=this.contentMatch.fillBefore(e);if(!s)return null;e=s.append(e)}let r=this.contentMatch.matchFragment(e),i=r&&r.fillBefore(X.empty,!0);return i?new kr(this,A,e.append(i),PA.setFrom(n)):null}validContent(A){let e=this.contentMatch.matchFragment(A);if(!e||!e.validEnd)return!1;for(let n=0;n<A.childCount;n++)if(!this.allowsMarks(A.child(n).marks))return!1;return!0}checkContent(A){if(!this.validContent(A))throw new RangeError(`Invalid content for node ${this.name}: ${A.toString().slice(0,50)}`)}allowsMarkType(A){return this.markSet==null||this.markSet.indexOf(A)>-1}allowsMarks(A){if(this.markSet==null)return!0;for(let e=0;e<A.length;e++)if(!this.allowsMarkType(A[e].type))return!1;return!0}allowedMarks(A){if(this.markSet==null)return A;let e;for(let n=0;n<A.length;n++)this.allowsMarkType(A[n].type)?e&&e.push(A[n]):e||(e=A.slice(0,n));return e?e.length?e:PA.none:A}static compile(A,e){let n=Object.create(null);A.forEach((i,s)=>n[i]=new gy(i,e,s));let r=e.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let i in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}};class xQ{constructor(A){this.hasDefault=Object.prototype.hasOwnProperty.call(A,"default"),this.default=A.default}get isRequired(){return!this.hasDefault}}class xo{constructor(A,e,n,r){this.name=A,this.rank=e,this.schema=n,this.spec=r,this.attrs=rh(r.attrs),this.excluded=null;let i=th(this.attrs);this.instance=i?new PA(this,i):null}create(A=null){return!A&&this.instance?this.instance:new PA(this,nh(this.attrs,A))}static compile(A,e){let n=Object.create(null),r=0;return A.forEach((i,s)=>n[i]=new xo(i,r++,e,s)),n}removeFromSet(A){for(var e=0;e<A.length;e++)A[e].type==this&&(A=A.slice(0,e).concat(A.slice(e+1)),e--);return A}isInSet(A){for(let e=0;e<A.length;e++)if(A[e].type==this)return A[e]}excludes(A){return this.excluded.indexOf(A)>-1}}class HQ{constructor(A){this.cached=Object.create(null);let e=this.spec={};for(let r in A)e[r]=A[r];e.nodes=He.from(A.nodes),e.marks=He.from(A.marks||{}),this.nodes=ih.compile(this.spec.nodes,this),this.marks=xo.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let i=this.nodes[r],s=i.spec.content||"",a=i.spec.marks;i.contentMatch=n[s]||(n[s]=Nr.parse(s,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=a=="_"?null:a?sh(this,a.split(" ")):a==""||!i.inlineContent?[]:null}for(let r in this.marks){let i=this.marks[r],s=i.spec.excludes;i.excluded=s==null?[i]:s==""?[]:sh(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(A,e=null,n,r){if(typeof A=="string")A=this.nodeType(A);else if(A instanceof ih){if(A.schema!=this)throw new RangeError("Node type from different schema used ("+A.name+")")}else throw new RangeError("Invalid node type: "+A);return A.createChecked(e,n,r)}text(A,e){let n=this.nodes.text;return new To(n,n.defaultAttrs,A,PA.setFrom(e))}mark(A,e){return typeof A=="string"&&(A=this.marks[A]),A.create(e)}nodeFromJSON(A){return kr.fromJSON(this,A)}markFromJSON(A){return PA.fromJSON(this,A)}nodeType(A){let e=this.nodes[A];if(!e)throw new RangeError("Unknown node type: "+A);return e}}function sh(t,A){let e=[];for(let n=0;n<A.length;n++){let r=A[n],i=t.marks[r],s=i;if(i)e.push(i);else for(let a in t.marks){let c=t.marks[a];(r=="_"||c.spec.group&&c.spec.group.split(" ").indexOf(r)>-1)&&e.push(s=c)}if(!s)throw new SyntaxError("Unknown mark type: '"+A[n]+"'")}return e}class di{constructor(A,e){this.schema=A,this.rules=e,this.tags=[],this.styles=[],e.forEach(n=>{n.tag?this.tags.push(n):n.style&&this.styles.push(n)}),this.normalizeLists=!this.tags.some(n=>{if(!/^(ul|ol)\b/.test(n.tag)||!n.node)return!1;let r=A.nodes[n.node];return r.contentMatch.matchType(r)})}parse(A,e={}){let n=new ch(this,e,!1);return n.addAll(A,e.from,e.to),n.finish()}parseSlice(A,e={}){let n=new ch(this,e,!0);return n.addAll(A,e.from,e.to),j.maxOpen(n.finish())}matchTag(A,e,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let i=this.tags[r];if(_Q(A,i.tag)&&(i.namespace===void 0||A.namespaceURI==i.namespace)&&(!i.context||e.matchesContext(i.context))){if(i.getAttrs){let s=i.getAttrs(A);if(s===!1)continue;i.attrs=s||void 0}return i}}}matchStyle(A,e,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let s=this.styles[i],a=s.style;if(!(a.indexOf(A)!=0||s.context&&!n.matchesContext(s.context)||a.length>A.length&&(a.charCodeAt(A.length)!=61||a.slice(A.length+1)!=e))){if(s.getAttrs){let c=s.getAttrs(e);if(c===!1)continue;s.attrs=c||void 0}return s}}}static schemaRules(A){let e=[];function n(r){let i=r.priority==null?50:r.priority,s=0;for(;s<e.length;s++){let a=e[s];if((a.priority==null?50:a.priority)<i)break}e.splice(s,0,r)}for(let r in A.marks){let i=A.marks[r].spec.parseDOM;i&&i.forEach(s=>{n(s=uh(s)),s.mark||s.ignore||s.clearMark||(s.mark=r)})}for(let r in A.nodes){let i=A.nodes[r].spec.parseDOM;i&&i.forEach(s=>{n(s=uh(s)),s.node||s.ignore||s.mark||(s.node=r)})}return e}static fromSchema(A){return A.cached.domParser||(A.cached.domParser=new di(A,di.schemaRules(A)))}}const oh={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},LQ={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ah={ol:!0,ul:!0},Ho=1,Lo=2,ps=4;function lh(t,A,e){return A!=null?(A?Ho:0)|(A==="full"?Lo:0):t&&t.whitespace=="pre"?Ho|Lo:e&~ps}class Oo{constructor(A,e,n,r,i,s,a){this.type=A,this.attrs=e,this.marks=n,this.pendingMarks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=PA.none,this.stashMarks=[],this.match=s||(a&ps?null:A.contentMatch)}findWrapping(A){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(X.from(A));if(e)this.match=this.type.contentMatch.matchFragment(e);else{let n=this.type.contentMatch,r;return(r=n.findWrapping(A.type))?(this.match=n,r):null}}return this.match.findWrapping(A.type)}finish(A){if(!(this.options&Ho)){let n=this.content[this.content.length-1],r;if(n&&n.isText&&(r=/[ \t\r\n\u000c]+$/.exec(n.text))){let i=n;n.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-r[0].length))}}let e=X.from(this.content);return!A&&this.match&&(e=e.append(this.match.fillBefore(X.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}popFromStashMark(A){for(let e=this.stashMarks.length-1;e>=0;e--)if(A.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]}applyPending(A){for(let e=0,n=this.pendingMarks;e<n.length;e++){let r=n[e];(this.type?this.type.allowsMarkType(r.type):DQ(r.type,A))&&!r.isInSet(this.activeMarks)&&(this.activeMarks=r.addToSet(this.activeMarks),this.pendingMarks=r.removeFromSet(this.pendingMarks))}}inlineContext(A){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:A.parentNode&&!oh.hasOwnProperty(A.parentNode.nodeName.toLowerCase())}}class ch{constructor(A,e,n){this.parser=A,this.options=e,this.isOpen=n,this.open=0;let r=e.topNode,i,s=lh(null,e.preserveWhitespace,0)|(n?ps:0);r?i=new Oo(r.type,r.attrs,PA.none,PA.none,!0,e.topMatch||r.type.contentMatch,s):n?i=new Oo(null,null,PA.none,PA.none,!0,null,s):i=new Oo(A.schema.topNodeType,null,PA.none,PA.none,!0,null,s),this.nodes=[i],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(A){if(A.nodeType==3)this.addTextNode(A);else if(A.nodeType==1){let e=A.getAttribute("style");if(!e)this.addElement(A);else{let n=this.readStyles(MQ(e));if(!n)return;let[r,i]=n,s=this.top;for(let a=0;a<i.length;a++)this.removePendingMark(i[a],s);for(let a=0;a<r.length;a++)this.addPendingMark(r[a]);this.addElement(A);for(let a=0;a<r.length;a++)this.removePendingMark(r[a],s);for(let a=0;a<i.length;a++)this.addPendingMark(i[a])}}}addTextNode(A){let e=A.nodeValue,n=this.top;if(n.options&Lo||n.inlineContext(A)||/[^ \t\r\n\u000c]/.test(e)){if(n.options&Ho)n.options&Lo?e=e.replace(/\r\n?/g,`
|
|
4
4
|
`):e=e.replace(/\r?\n|\r/g," ");else if(e=e.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(e)&&this.open==this.nodes.length-1){let r=n.content[n.content.length-1],i=A.previousSibling;(!r||i&&i.nodeName=="BR"||r.isText&&/[ \t\r\n\u000c]$/.test(r.text))&&(e=e.slice(1))}e&&this.insertNode(this.parser.schema.text(e)),this.findInText(A)}else this.findInside(A)}addElement(A,e){let n=A.nodeName.toLowerCase(),r;ah.hasOwnProperty(n)&&this.parser.normalizeLists&&OQ(A);let i=this.options.ruleFromNode&&this.options.ruleFromNode(A)||(r=this.parser.matchTag(A,this,e));if(i?i.ignore:LQ.hasOwnProperty(n))this.findInside(A),this.ignoreFallback(A);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(A=i.skip);let s,a=this.top,c=this.needsBlock;if(oh.hasOwnProperty(n))a.content.length&&a.content[0].isInline&&this.open&&(this.open--,a=this.top),s=!0,a.type||(this.needsBlock=!0);else if(!A.firstChild){this.leafFallback(A);return}this.addAll(A),s&&this.sync(a),this.needsBlock=c}else this.addElementByRule(A,i,i.consuming===!1?r:void 0)}leafFallback(A){A.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(A.ownerDocument.createTextNode(`
|
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:2rem}.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}.input{display:flex;flex-direction:column}.input>*{order:2}.input__label{order:0}.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}.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;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%{backdrop-filter:blur(4px)}to{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)}.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;margin-right:calc(0px - var(--carousel-gutter-width) / 2);margin-left:calc(0px - var(--carousel-gutter-width) / 2)}.carousel__item{padding:0 calc(var(--carousel-gutter-width) / 2)}.media-thumbnails{position:relative;padding:.5rem;border-radius:.3125rem;background-color:#aaaaaa80}.media-thumbnails .swiper-button{position:absolute;top:50%;transform:translateY(calc(-50% + .3125rem));cursor:pointer}.media-thumbnails .swiper-button:after{font-size:1rem;font-weight:700}.media-thumbnails .swiper-button-next,.media-thumbnails .swiper-button-prev{min-width:2rem;color:#ffffffe6}@media (min-width: 600px){.media-thumbnails .swiper-button-next,.media-thumbnails .swiper-button-prev{min-width:2rem}}.media-thumbnails .swiper-button-next:hover,.media-thumbnails .swiper-button-prev:hover{color:#fff}.media-thumbnails .swiper-button-next:before,.media-thumbnails .swiper-button-next:after,.media-thumbnails .swiper-button-prev:before,.media-thumbnails .swiper-button-prev:after{content:none}.media-thumbnails .swiper-button-next .base-icon,.media-thumbnails .swiper-button-prev .base-icon{font-size:1.8rem}.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}:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}.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;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}
|
|
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:2rem}.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}.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}.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;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%{backdrop-filter:blur(4px)}to{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)}.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;margin-right:calc(0px - var(--carousel-gutter-width) / 2);margin-left:calc(0px - var(--carousel-gutter-width) / 2)}.carousel__item{padding:0 calc(var(--carousel-gutter-width) / 2)}.media-thumbnails{position:relative;padding:.5rem;border-radius:.3125rem;background-color:#aaaaaa80}.media-thumbnails .swiper-button{position:absolute;top:50%;transform:translateY(calc(-50% + .3125rem));cursor:pointer}.media-thumbnails .swiper-button:after{font-size:1rem;font-weight:700}.media-thumbnails .swiper-button-next,.media-thumbnails .swiper-button-prev{min-width:2rem;color:#ffffffe6}@media (min-width: 600px){.media-thumbnails .swiper-button-next,.media-thumbnails .swiper-button-prev{min-width:2rem}}.media-thumbnails .swiper-button-next:hover,.media-thumbnails .swiper-button-prev:hover{color:#fff}.media-thumbnails .swiper-button-next:before,.media-thumbnails .swiper-button-next:after,.media-thumbnails .swiper-button-prev:before,.media-thumbnails .swiper-button-prev:after{content:none}.media-thumbnails .swiper-button-next .base-icon,.media-thumbnails .swiper-button-prev .base-icon{font-size:1.8rem}.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}:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}.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;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}
|