doph-js 0.1.82 → 0.1.83
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/dophJs.js +88 -86
- package/dist/dophJs.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/dophJs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useSlots as un, computed as B, h as vo, openBlock as _, createBlock as Y, unref as Z, ref as K, createElementBlock as F, Fragment as Ze, normalizeClass as fe, renderSlot as G, createCommentVNode as re, normalizeStyle as pe, resolveDynamicComponent as ke, onMounted as fn, toDisplayString as be, withDirectives as bt, createElementVNode as J, vModelText as yo, withCtx as ee, createTextVNode as Ke, Transition as qn, withModifiers as Ne, resolveComponent as Xs, resolveDirective as Gn, createVNode as Je, renderList as Pt, pushScopeId as Ys, popScopeId as Us, reactive as Kn, Teleport as Jo, nextTick as Qo, getCurrentInstance as es, watch as
|
|
1
|
+
import { useSlots as un, computed as B, h as vo, openBlock as _, createBlock as Y, unref as Z, ref as K, createElementBlock as F, Fragment as Ze, normalizeClass as fe, renderSlot as G, createCommentVNode as re, normalizeStyle as pe, resolveDynamicComponent as ke, onMounted as fn, toDisplayString as be, withDirectives as bt, createElementVNode as J, vModelText as yo, withCtx as ee, createTextVNode as Ke, Transition as qn, withModifiers as Ne, resolveComponent as Xs, resolveDirective as Gn, createVNode as Je, renderList as Pt, pushScopeId as Ys, popScopeId as Us, reactive as Kn, Teleport as Jo, nextTick as Qo, getCurrentInstance as es, watch as Qe, onUnmounted as ts, mergeProps as kt, shallowRef as on, defineComponent as ns, toRefs as os, watchPostEffect as qs, useCssVars as ss, normalizeProps as Gs, guardReactiveProps as Ks, TransitionGroup as rs, vModelCheckbox as Zs, vModelSelect as Js, toRef as Qs, KeepAlive as er } from "vue";
|
|
2
2
|
const Tt = {
|
|
3
3
|
__name: "DIcon",
|
|
4
4
|
props: {
|
|
@@ -1179,7 +1179,7 @@ function zr(e) {
|
|
|
1179
1179
|
function a() {
|
|
1180
1180
|
i(), c(), o = !0;
|
|
1181
1181
|
}
|
|
1182
|
-
return
|
|
1182
|
+
return Qe(e, (d) => {
|
|
1183
1183
|
d ? a() : l();
|
|
1184
1184
|
}, { immediate: !0 }), ts(() => {
|
|
1185
1185
|
l();
|
|
@@ -1378,23 +1378,23 @@ const Pr = 1001, Rr = 999, Fr = 998, _c = {
|
|
|
1378
1378
|
}, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : re("", !0)
|
|
1379
1379
|
], 4));
|
|
1380
1380
|
}
|
|
1381
|
-
},
|
|
1381
|
+
}, ct = {
|
|
1382
1382
|
state: Kn({
|
|
1383
1383
|
theme: "dark"
|
|
1384
1384
|
}),
|
|
1385
1385
|
getters: {
|
|
1386
1386
|
theme() {
|
|
1387
|
-
return
|
|
1387
|
+
return ct.state.theme;
|
|
1388
1388
|
}
|
|
1389
1389
|
},
|
|
1390
1390
|
mutations: {
|
|
1391
1391
|
setTheme(e) {
|
|
1392
|
-
|
|
1392
|
+
ct.state.theme = e, document.documentElement.setAttribute("class", e);
|
|
1393
1393
|
}
|
|
1394
1394
|
},
|
|
1395
1395
|
actions: {
|
|
1396
1396
|
toggleTheme() {
|
|
1397
|
-
|
|
1397
|
+
ct.state.theme = ct.state.theme === "dark" ? "light" : "dark", document.documentElement.setAttribute("class", ct.state.theme);
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
1400
|
}, wc = {
|
|
@@ -1407,7 +1407,7 @@ const Pr = 1001, Rr = 999, Fr = 998, _c = {
|
|
|
1407
1407
|
},
|
|
1408
1408
|
setup(e) {
|
|
1409
1409
|
const t = e;
|
|
1410
|
-
return
|
|
1410
|
+
return ct.mutations.setTheme(t.theme), (n, o) => G(n.$slots, "default");
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
1413
|
/*!
|
|
@@ -1447,7 +1447,7 @@ const Me = (e, t) => {
|
|
|
1447
1447
|
return (y || s) && (r = p, i = f), [r, y, i];
|
|
1448
1448
|
};
|
|
1449
1449
|
return [t ? (d) => c(t(r, i), d) : c, (d) => [r, !!d, i]];
|
|
1450
|
-
}, Rt = () => typeof window < "u", as = Rt() && Node.ELEMENT_NODE, { toString: Vr, hasOwnProperty: kn } = Object.prototype,
|
|
1450
|
+
}, Rt = () => typeof window < "u", as = Rt() && Node.ELEMENT_NODE, { toString: Vr, hasOwnProperty: kn } = Object.prototype, ot = (e) => e === void 0, pn = (e) => e === null, Wr = (e) => ot(e) || pn(e) ? `${e}` : Vr.call(e).replace(/^\[object (.+)\]$/, "$1").toLowerCase(), dt = (e) => typeof e == "number", ft = (e) => typeof e == "string", Jn = (e) => typeof e == "boolean", Pe = (e) => typeof e == "function", Ie = (e) => Array.isArray(e), Mt = (e) => typeof e == "object" && !Ie(e) && !pn(e), mn = (e) => {
|
|
1451
1451
|
const t = !!e && e.length, n = dt(t) && t > -1 && t % 1 == 0;
|
|
1452
1452
|
return Ie(e) || !Pe(e) && n ? t > 0 && Mt(e) ? t - 1 in e : !0 : !1;
|
|
1453
1453
|
}, An = (e) => {
|
|
@@ -1459,7 +1459,7 @@ const Me = (e, t) => {
|
|
|
1459
1459
|
return !1;
|
|
1460
1460
|
for (t in e)
|
|
1461
1461
|
;
|
|
1462
|
-
return
|
|
1462
|
+
return ot(t) || kn.call(e, t);
|
|
1463
1463
|
}, Nt = (e) => {
|
|
1464
1464
|
const t = HTMLElement;
|
|
1465
1465
|
return e ? t ? e instanceof t : e.nodeType === as : !1;
|
|
@@ -1496,11 +1496,11 @@ const Me = (e, t) => {
|
|
|
1496
1496
|
return !1;
|
|
1497
1497
|
return !0;
|
|
1498
1498
|
}, ds = (e, t, n, o) => {
|
|
1499
|
-
if (
|
|
1499
|
+
if (ot(o))
|
|
1500
1500
|
return n ? n[e] : t;
|
|
1501
1501
|
n && (ft(o) || dt(o)) && (n[e] = o);
|
|
1502
1502
|
}, ve = (e, t, n) => {
|
|
1503
|
-
if (
|
|
1503
|
+
if (ot(n))
|
|
1504
1504
|
return e ? e.getAttribute(t) : null;
|
|
1505
1505
|
e && e.setAttribute(t, n);
|
|
1506
1506
|
}, Se = (e, t) => {
|
|
@@ -1515,13 +1515,13 @@ const Me = (e, t) => {
|
|
|
1515
1515
|
}, jr = (e, t, n) => {
|
|
1516
1516
|
const o = ve(e, t) || "";
|
|
1517
1517
|
return new Set(o.split(" ")).has(n);
|
|
1518
|
-
}, ze = (e, t) => ds("scrollLeft", 0, e, t),
|
|
1518
|
+
}, ze = (e, t) => ds("scrollLeft", 0, e, t), et = (e, t) => ds("scrollTop", 0, e, t), zn = Rt() && Element.prototype, us = (e, t) => {
|
|
1519
1519
|
const n = [], o = t ? hn(t) ? t : null : document;
|
|
1520
1520
|
return o ? ie(n, o.querySelectorAll(e)) : n;
|
|
1521
1521
|
}, Xr = (e, t) => {
|
|
1522
1522
|
const n = t ? hn(t) ? t : null : document;
|
|
1523
1523
|
return n ? n.querySelector(e) : null;
|
|
1524
|
-
}, rn = (e, t) => hn(e) ? (zn.matches || zn.msMatchesSelector).call(e, t) : !1, no = (e) => e ? wt(e.childNodes) : [],
|
|
1524
|
+
}, rn = (e, t) => hn(e) ? (zn.matches || zn.msMatchesSelector).call(e, t) : !1, no = (e) => e ? wt(e.childNodes) : [], nt = (e) => e ? e.parentElement : null, Dt = (e, t) => {
|
|
1525
1525
|
if (hn(e)) {
|
|
1526
1526
|
const n = zn.closest;
|
|
1527
1527
|
if (n)
|
|
@@ -1529,7 +1529,7 @@ const Me = (e, t) => {
|
|
|
1529
1529
|
do {
|
|
1530
1530
|
if (rn(e, t))
|
|
1531
1531
|
return e;
|
|
1532
|
-
e =
|
|
1532
|
+
e = nt(e);
|
|
1533
1533
|
} while (e);
|
|
1534
1534
|
}
|
|
1535
1535
|
return null;
|
|
@@ -1546,14 +1546,14 @@ const Me = (e, t) => {
|
|
|
1546
1546
|
}, Ee = (e, t) => {
|
|
1547
1547
|
oo(e, null, t);
|
|
1548
1548
|
}, Ur = (e, t) => {
|
|
1549
|
-
oo(
|
|
1549
|
+
oo(nt(e), e, t);
|
|
1550
1550
|
}, bo = (e, t) => {
|
|
1551
|
-
oo(
|
|
1551
|
+
oo(nt(e), e && e.nextSibling, t);
|
|
1552
1552
|
}, Ye = (e) => {
|
|
1553
1553
|
if (mn(e))
|
|
1554
1554
|
Q(wt(e), (t) => Ye(t));
|
|
1555
1555
|
else if (e) {
|
|
1556
|
-
const t =
|
|
1556
|
+
const t = nt(e);
|
|
1557
1557
|
t && t.removeChild(e);
|
|
1558
1558
|
}
|
|
1559
1559
|
}, vt = (e) => {
|
|
@@ -1587,7 +1587,7 @@ const Me = (e, t) => {
|
|
|
1587
1587
|
return i;
|
|
1588
1588
|
}, so = (e, t) => {
|
|
1589
1589
|
hs(e, t, (n, o) => n.remove(o));
|
|
1590
|
-
},
|
|
1590
|
+
}, tt = (e, t) => (hs(e, t, (n, o) => n.add(o)), so.bind(0, e, t)), vn = (e, t, n, o) => {
|
|
1591
1591
|
if (e && t) {
|
|
1592
1592
|
let s = !0;
|
|
1593
1593
|
return Q(n, (r) => {
|
|
@@ -1629,7 +1629,7 @@ const Me = (e, t) => {
|
|
|
1629
1629
|
}, ni = (e, t) => !ti[e] && dt(t) ? `${t}px` : t, So = (e, t, n) => String((t != null ? t[n] || t.getPropertyValue(n) : e.style[n]) || ""), oi = (e, t, n) => {
|
|
1630
1630
|
try {
|
|
1631
1631
|
const { style: o } = e;
|
|
1632
|
-
|
|
1632
|
+
ot(o[t]) ? o.setProperty(t, n) : o[t] = ni(t, n);
|
|
1633
1633
|
} catch {
|
|
1634
1634
|
}
|
|
1635
1635
|
}, At = (e) => ye(e, "direction") === "rtl", xo = (e, t, n) => {
|
|
@@ -1661,7 +1661,7 @@ const Me = (e, t) => {
|
|
|
1661
1661
|
}, Xe = (e) => e.getBoundingClientRect(), Et = (e) => !!(e && (e.height || e.width));
|
|
1662
1662
|
let Ut;
|
|
1663
1663
|
const si = () => {
|
|
1664
|
-
if (
|
|
1664
|
+
if (ot(Ut)) {
|
|
1665
1665
|
Ut = !1;
|
|
1666
1666
|
try {
|
|
1667
1667
|
window.addEventListener("test", null, Object.defineProperty({}, "passive", {
|
|
@@ -1774,7 +1774,7 @@ const si = () => {
|
|
|
1774
1774
|
c && (n[s] = i);
|
|
1775
1775
|
}
|
|
1776
1776
|
}), n;
|
|
1777
|
-
}, Ft = "data-overlayscrollbars", Ss = "os-environment", xs = `${Ss}-flexbox-glue`, ci = `${xs}-max`, $s = "os-scrollbar-hidden", En = `${Ft}-initialize`, Ae = Ft, ks = `${Ae}-overflow-x`, Ts = `${Ae}-overflow-y`, Ot = "overflowVisible", ai = "scrollbarHidden", Do = "scrollbarPressed", dn = "updating",
|
|
1777
|
+
}, Ft = "data-overlayscrollbars", Ss = "os-environment", xs = `${Ss}-flexbox-glue`, ci = `${xs}-max`, $s = "os-scrollbar-hidden", En = `${Ft}-initialize`, Ae = Ft, ks = `${Ae}-overflow-x`, Ts = `${Ae}-overflow-y`, Ot = "overflowVisible", ai = "scrollbarHidden", Do = "scrollbarPressed", dn = "updating", it = `${Ft}-viewport`, On = "arrange", Ds = "scrollbarHidden", It = Ot, Vn = `${Ft}-padding`, di = It, Co = `${Ft}-content`, co = "os-size-observer", ui = `${co}-appear`, fi = `${co}-listener`, pi = "os-trinsic-observer", mi = "os-no-css-vars", hi = "os-theme-none", xe = "os-scrollbar", gi = `${xe}-rtl`, vi = `${xe}-horizontal`, yi = `${xe}-vertical`, Cs = `${xe}-track`, ao = `${xe}-handle`, bi = `${xe}-visible`, _i = `${xe}-cornerless`, Eo = `${xe}-transitionless`, Oo = `${xe}-interaction`, Io = `${xe}-unusable`, Wn = `${xe}-auto-hide`, Lo = `${Wn}-hidden`, Bo = `${xe}-wheel`, wi = `${Cs}-interactive`, Si = `${ao}-interactive`, Es = {}, St = () => Es, xi = (e) => {
|
|
1778
1778
|
const t = [];
|
|
1779
1779
|
return Q(Ie(e) ? e : [e], (n) => {
|
|
1780
1780
|
const o = De(n);
|
|
@@ -1793,7 +1793,7 @@ const Ho = (e, t, n, o) => {
|
|
|
1793
1793
|
};
|
|
1794
1794
|
}, Di = (e) => {
|
|
1795
1795
|
let t = !1;
|
|
1796
|
-
const n =
|
|
1796
|
+
const n = tt(e, $s);
|
|
1797
1797
|
try {
|
|
1798
1798
|
t = ye(e, Zr("scrollbar-width")) === "none" || window.getComputedStyle(e, "::-webkit-scrollbar").getPropertyValue("display") === "none";
|
|
1799
1799
|
} catch {
|
|
@@ -1814,7 +1814,7 @@ const Ho = (e, t, n, o) => {
|
|
|
1814
1814
|
n: s.x !== r.x
|
|
1815
1815
|
};
|
|
1816
1816
|
}, Ei = (e, t) => {
|
|
1817
|
-
const n =
|
|
1817
|
+
const n = tt(e, xs), o = Xe(e), s = Xe(t), r = wo(s, o, !0), i = tt(e, ci), c = Xe(e), l = Xe(t), a = wo(l, c, !0);
|
|
1818
1818
|
return n(), i(), r && a;
|
|
1819
1819
|
}, Oi = () => {
|
|
1820
1820
|
const { body: e } = document, n = fs(`<div class="${Ss}"><div></div></div>`)[0], o = n.firstChild, [s, , r] = lo(), [i, c] = Me({
|
|
@@ -1866,13 +1866,13 @@ const Ho = (e, t, n, o) => {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
return v;
|
|
1868
1868
|
}, $e = () => (In || (In = Oi()), In), fo = (e, t) => Pe(t) ? t.apply(0, e) : t, Ii = (e, t, n, o) => {
|
|
1869
|
-
const s =
|
|
1869
|
+
const s = ot(o) ? n : o;
|
|
1870
1870
|
return fo(e, s) || t.apply(0, e);
|
|
1871
1871
|
}, Os = (e, t, n, o) => {
|
|
1872
|
-
const s =
|
|
1872
|
+
const s = ot(o) ? n : o, r = fo(e, s);
|
|
1873
1873
|
return !!r && (Nt(r) ? r : t.apply(0, e));
|
|
1874
1874
|
}, Li = (e, t, n) => {
|
|
1875
|
-
const { nativeScrollbarsOverlaid: o, body: s } = n || {}, { I: r, A: i } = $e(), { nativeScrollbarsOverlaid: c, body: l } = t, a = o ?? c, d =
|
|
1875
|
+
const { nativeScrollbarsOverlaid: o, body: s } = n || {}, { I: r, A: i } = $e(), { nativeScrollbarsOverlaid: c, body: l } = t, a = o ?? c, d = ot(s) ? l : s, u = (r.x || r.y) && a, f = e && (pn(d) ? !i : d);
|
|
1876
1876
|
return !!u || !!f;
|
|
1877
1877
|
}, po = /* @__PURE__ */ new WeakMap(), Bi = (e, t) => {
|
|
1878
1878
|
po.set(e, t);
|
|
@@ -1884,7 +1884,7 @@ const Ho = (e, t, n, o) => {
|
|
|
1884
1884
|
t = ae({}, t, n);
|
|
1885
1885
|
}];
|
|
1886
1886
|
}, qt = "tabindex", Gt = vt.bind(0, ""), Ln = (e) => {
|
|
1887
|
-
Ee(
|
|
1887
|
+
Ee(nt(e), no(e)), Ye(e);
|
|
1888
1888
|
}, Ni = (e) => {
|
|
1889
1889
|
const t = $e(), { q: n, A: o } = t, s = St()[uo], r = s && s.T, { elements: i } = n(), { host: c, padding: l, viewport: a, content: d } = i, u = Nt(e), f = u ? {} : e, { elements: p } = f, { host: y, padding: v, viewport: T, content: D } = p || {}, m = u ? e : f.target, S = rn(m, "textarea"), $ = m.ownerDocument, w = $.documentElement, H = m === $.body, P = $.defaultView, A = Ii.bind(0, [m]), b = Os.bind(0, [m]), X = fo.bind(0, [m]), g = A.bind(0, Gt, a), N = b.bind(0, Gt, d), h = g(T), x = h === m, k = x && H, E = !x && N(D), V = !x && Nt(h) && h === E, z = V && !!X(d), I = z ? g() : h, O = z ? E : N(), U = k ? w : V ? I : h, te = S ? A(Gt, c, y) : m, C = k ? U : te, L = V ? O : E, M = $.activeElement, q = !x && P.top === P && M === m, j = {
|
|
1890
1890
|
Z: m,
|
|
@@ -1902,24 +1902,24 @@ const Ho = (e, t, n, o) => {
|
|
|
1902
1902
|
ut: u,
|
|
1903
1903
|
ft: x,
|
|
1904
1904
|
dt: V,
|
|
1905
|
-
_t: (me, _e) => jr(U, x ? Ae :
|
|
1906
|
-
ht: (me, _e, we) => gt(U, x ? Ae :
|
|
1905
|
+
_t: (me, _e) => jr(U, x ? Ae : it, x ? _e : me),
|
|
1906
|
+
ht: (me, _e, we) => gt(U, x ? Ae : it, x ? _e : me, we)
|
|
1907
1907
|
}, oe = De(j).reduce((me, _e) => {
|
|
1908
1908
|
const we = j[_e];
|
|
1909
|
-
return ie(me, we && Nt(we) && !
|
|
1909
|
+
return ie(me, we && Nt(we) && !nt(we) ? we : !1);
|
|
1910
1910
|
}, []), le = (me) => me ? Qn(oe, me) > -1 : null, { Z: ce, J: de, tt: se, K: ne, nt: he, ot: Le } = j, Ce = [() => {
|
|
1911
1911
|
Se(de, Ae), Se(de, En), Se(ce, En), H && (Se(w, Ae), Se(w, En));
|
|
1912
|
-
}],
|
|
1912
|
+
}], st = S && le(de);
|
|
1913
1913
|
let pt = S ? ce : no([he, ne, se, de, ce].find((me) => le(me) === !1));
|
|
1914
1914
|
const xt = k ? ce : he || ne;
|
|
1915
1915
|
return [j, () => {
|
|
1916
|
-
ve(de, Ae, x ? "viewport" : "host"), ve(se, Vn, ""), ve(he, Co, ""), x || ve(ne,
|
|
1917
|
-
const me = H && !x ?
|
|
1918
|
-
if (
|
|
1916
|
+
ve(de, Ae, x ? "viewport" : "host"), ve(se, Vn, ""), ve(he, Co, ""), x || ve(ne, it, "");
|
|
1917
|
+
const me = H && !x ? tt(nt(m), $s) : Te;
|
|
1918
|
+
if (st && (bo(ce, de), ie(Ce, () => {
|
|
1919
1919
|
bo(de, ce), Ye(de);
|
|
1920
1920
|
})), Ee(xt, pt), Ee(de, se), Ee(se || de, !x && ne), Ee(ne, he), ie(Ce, () => {
|
|
1921
|
-
me(), Se(se, Vn), Se(he, Co), Se(ne, ks), Se(ne, Ts), Se(ne,
|
|
1922
|
-
}), o && !x && (gt(ne,
|
|
1921
|
+
me(), Se(se, Vn), Se(he, Co), Se(ne, ks), Se(ne, Ts), Se(ne, it), le(he) && Ln(he), le(ne) && Ln(ne), le(se) && Ln(se);
|
|
1922
|
+
}), o && !x && (gt(ne, it, Ds, !0), ie(Ce, Se.bind(0, ne, it))), Le && (Ur(ne, Le), ie(Ce, Ye.bind(0, Le))), q) {
|
|
1923
1923
|
const _e = ve(ne, qt);
|
|
1924
1924
|
ve(ne, qt, "-1"), ne.focus();
|
|
1925
1925
|
const we = () => _e ? ve(ne, qt, _e) : Se(ne, qt), Be = ue($, "pointerdown keydown", () => {
|
|
@@ -1976,7 +1976,7 @@ const Ho = (e, t, n, o) => {
|
|
|
1976
1976
|
xt: A
|
|
1977
1977
|
};
|
|
1978
1978
|
};
|
|
1979
|
-
}, { max: Xn } = Math,
|
|
1979
|
+
}, { max: Xn } = Math, lt = Xn.bind(0, 0), Bs = "visible", Mo = "hidden", zi = 42, Kt = {
|
|
1980
1980
|
u: gs,
|
|
1981
1981
|
o: {
|
|
1982
1982
|
w: 0,
|
|
@@ -1990,8 +1990,8 @@ const Ho = (e, t, n, o) => {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
}, Ri = (e, t) => {
|
|
1992
1992
|
const n = window.devicePixelRatio % 1 !== 0 ? 1 : 0, o = {
|
|
1993
|
-
w:
|
|
1994
|
-
h:
|
|
1993
|
+
w: lt(e.w - t.w),
|
|
1994
|
+
h: lt(e.h - t.h)
|
|
1995
1995
|
};
|
|
1996
1996
|
return {
|
|
1997
1997
|
w: o.w > n ? o.w : 0,
|
|
@@ -2042,22 +2042,22 @@ const Ho = (e, t, n, o) => {
|
|
|
2042
2042
|
}, [E, V] = T ? T.L(D, p, i, c, n, h, k) : [() => D, () => [Te]];
|
|
2043
2043
|
return (z, I, O) => {
|
|
2044
2044
|
const { wt: W, Tt: U, bt: te, xt: C, vt: L, St: M } = z, { gt: q, yt: j } = n(), [oe, le] = I("showNativeOverlaidScrollbars"), [ce, de] = I("overflow"), se = oe && v.x && v.y, ne = !l && !p && (W || te || U || le || L), he = Zt(ce.x), Le = Zt(ce.y), Ce = he || Le;
|
|
2045
|
-
let
|
|
2045
|
+
let st = $(O), pt = H(O), xt = A(O), $t = X(O), me;
|
|
2046
2046
|
if (le && y && a(Ds, ai, !se), ne && (me = h(se), N(me, q)), W || C || te || M || le) {
|
|
2047
2047
|
Ce && a(It, Ot, !1);
|
|
2048
|
-
const [qe,
|
|
2048
|
+
const [qe, rt] = V(se, j, me), [Fe, Xt] = st = S(O), [Ve, Ht] = pt = w(O), mt = nn(i);
|
|
2049
2049
|
let xn = Ve, $n = mt;
|
|
2050
|
-
qe(), (Ht || Xt || le) &&
|
|
2050
|
+
qe(), (Ht || Xt || le) && rt && !se && E(rt, Ve, Fe, j) && ($n = nn(i), xn = cn(i));
|
|
2051
2051
|
const js = {
|
|
2052
|
-
w:
|
|
2053
|
-
h:
|
|
2052
|
+
w: lt(Xn(Ve.w, xn.w) + Fe.w),
|
|
2053
|
+
h: lt(Xn(Ve.h, xn.h) + Fe.h)
|
|
2054
2054
|
}, go = {
|
|
2055
|
-
w:
|
|
2056
|
-
h:
|
|
2055
|
+
w: lt((m ? u.innerWidth : $n.w + lt(mt.w - Ve.w)) + Fe.w),
|
|
2056
|
+
h: lt((m ? u.innerHeight + Fe.h : $n.h + lt(mt.h - Ve.h)) + Fe.h)
|
|
2057
2057
|
};
|
|
2058
2058
|
$t = b(go), xt = P(Ri(js, go), O);
|
|
2059
2059
|
}
|
|
2060
|
-
const [_e, we] = $t, [Be, Vt] = xt, [yn, bn] = pt, [_n, wn] =
|
|
2060
|
+
const [_e, we] = $t, [Be, Vt] = xt, [yn, bn] = pt, [_n, wn] = st, Re = {
|
|
2061
2061
|
x: Be.w > 0,
|
|
2062
2062
|
y: Be.h > 0
|
|
2063
2063
|
}, Wt = he && Le && (Re.x || Re.y) || he && Re.x && !Re.y || Le && Re.y && !Re.x;
|
|
@@ -2069,10 +2069,10 @@ const Ho = (e, t, n, o) => {
|
|
|
2069
2069
|
width: "",
|
|
2070
2070
|
overflowY: "",
|
|
2071
2071
|
overflowX: ""
|
|
2072
|
-
},
|
|
2073
|
-
l || k(
|
|
2072
|
+
}, rt = x(se, Re, ce, qe), Fe = E(rt, yn, _n, j);
|
|
2073
|
+
l || k(rt, j, Fe, qe), ne && N(rt, q), l ? (ve(s, ks, qe.overflowX), ve(s, Ts, qe.overflowY)) : ye(i, qe);
|
|
2074
2074
|
}
|
|
2075
|
-
gt(s, Ae, Ot, Wt), gt(r, Vn, di, Wt), l || gt(i,
|
|
2075
|
+
gt(s, Ae, Ot, Wt), gt(r, Vn, di, Wt), l || gt(i, it, It, Ce);
|
|
2076
2076
|
const [Sn, jt] = g(h(se).Ot);
|
|
2077
2077
|
return o({
|
|
2078
2078
|
Ot: Sn,
|
|
@@ -2111,12 +2111,12 @@ const Ho = (e, t, n, o) => {
|
|
|
2111
2111
|
Tt: !1,
|
|
2112
2112
|
bt: !1,
|
|
2113
2113
|
Pt: !1
|
|
2114
|
-
}, f), {}, p), v = a || !l, T = v && ze(o), D = v &&
|
|
2114
|
+
}, f), {}, p), v = a || !l, T = v && ze(o), D = v && et(o);
|
|
2115
2115
|
s("", dn, !0);
|
|
2116
2116
|
let m = y;
|
|
2117
2117
|
return Q(d, (S) => {
|
|
2118
2118
|
m = Ao(m, S(m, u, !!p) || {}, p);
|
|
2119
|
-
}), ze(o, T),
|
|
2119
|
+
}), ze(o, T), et(o, D), s("", dn), r || (ze(n, 0), et(n, 0)), m;
|
|
2120
2120
|
};
|
|
2121
2121
|
}, Wi = (e, t, n) => {
|
|
2122
2122
|
let o, s = !1;
|
|
@@ -2199,7 +2199,7 @@ const Ho = (e, t, n, o) => {
|
|
|
2199
2199
|
D ? [, $] = v : S = v === !0;
|
|
2200
2200
|
if (o && $) {
|
|
2201
2201
|
const w = D ? v[0] : At(l);
|
|
2202
|
-
ze(l, w ? i.n ? -Jt : i.i ? 0 : Jt : Jt),
|
|
2202
|
+
ze(l, w ? i.n ? -Jt : i.i ? 0 : Jt : Jt), et(l, Jt);
|
|
2203
2203
|
}
|
|
2204
2204
|
m || t({
|
|
2205
2205
|
wt: !D,
|
|
@@ -2226,10 +2226,10 @@ const Ho = (e, t, n, o) => {
|
|
|
2226
2226
|
}, d);
|
|
2227
2227
|
ie(p, ue(l, "scroll", (T) => {
|
|
2228
2228
|
const D = v(), [m, S, $] = D;
|
|
2229
|
-
S && (so(a, "ltr rtl"), m ?
|
|
2229
|
+
S && (so(a, "ltr rtl"), m ? tt(a, "rtl") : tt(a, "ltr"), f([!!m, S, $])), bs(T);
|
|
2230
2230
|
}));
|
|
2231
2231
|
}
|
|
2232
|
-
y && (
|
|
2232
|
+
y && (tt(l, ui), ie(p, ue(l, "animationstart", y, {
|
|
2233
2233
|
C: !!Ct
|
|
2234
2234
|
}))), (Ct || r) && Ee(e, l);
|
|
2235
2235
|
}];
|
|
@@ -2268,7 +2268,7 @@ const Ho = (e, t, n, o) => {
|
|
|
2268
2268
|
if (n)
|
|
2269
2269
|
return c(n.takeRecords(), !0);
|
|
2270
2270
|
}];
|
|
2271
|
-
}, Po = `[${Ae}]`, Yi = `[${
|
|
2271
|
+
}, Po = `[${Ae}]`, Yi = `[${it}]`, Bn = ["tabindex"], Ro = ["wrap", "cols", "rows"], Hn = ["id", "class", "style", "open"], Ui = (e, t, n) => {
|
|
2272
2272
|
let o, s, r;
|
|
2273
2273
|
const { J: i, K: c, nt: l, lt: a, ft: d, _t: u, ht: f } = e, { Y: p } = $e(), [y] = Me({
|
|
2274
2274
|
u: gs,
|
|
@@ -2277,10 +2277,10 @@ const Ho = (e, t, n, o) => {
|
|
|
2277
2277
|
h: 0
|
|
2278
2278
|
}
|
|
2279
2279
|
}, () => {
|
|
2280
|
-
const k = u(It, Ot), E = u(On, ""), V = E && ze(c), z = E &&
|
|
2280
|
+
const k = u(It, Ot), E = u(On, ""), V = E && ze(c), z = E && et(c);
|
|
2281
2281
|
f(It, Ot), f(On, ""), f("", dn, !0);
|
|
2282
2282
|
const I = cn(l), O = cn(c), W = an(c);
|
|
2283
|
-
return f(It, Ot, k), f(On, "", E), f("", dn), ze(c, V),
|
|
2283
|
+
return f(It, Ot, k), f(On, "", E), f("", dn), ze(c, V), et(c, z), {
|
|
2284
2284
|
w: O.w + I.w + W.w,
|
|
2285
2285
|
h: O.h + I.h + W.h
|
|
2286
2286
|
};
|
|
@@ -2406,8 +2406,8 @@ const Ho = (e, t, n, o) => {
|
|
|
2406
2406
|
return P && r("u", [S, $, w]), P;
|
|
2407
2407
|
}, [y, v, T, D] = Ui(i, u, (S) => p(f(n, S), {}, !1)), m = d.bind(0);
|
|
2408
2408
|
return m.Nt = (S) => o("u", S), m.qt = () => {
|
|
2409
|
-
const { Z: S, K: $, rt: w, it: H } = i, P = H ? w.documentElement : S, A = ze(P), b =
|
|
2410
|
-
v(), c(), ze($, A),
|
|
2409
|
+
const { Z: S, K: $, rt: w, it: H } = i, P = H ? w.documentElement : S, A = ze(P), b = et(P);
|
|
2410
|
+
v(), c(), ze($, A), et($, b);
|
|
2411
2411
|
}, m.Ft = i, [(S, $) => {
|
|
2412
2412
|
const w = jn(t, S, $);
|
|
2413
2413
|
return D(w), p(f(w, T(), $), S, !!$);
|
|
@@ -2474,7 +2474,7 @@ const Ho = (e, t, n, o) => {
|
|
|
2474
2474
|
o(Oo);
|
|
2475
2475
|
}), ue(a, "wheel", (y) => {
|
|
2476
2476
|
const { deltaX: v, deltaY: T, deltaMode: D } = y;
|
|
2477
|
-
f && p && D === 0 &&
|
|
2477
|
+
f && p && D === 0 && nt(a) === r && i.scrollBy({
|
|
2478
2478
|
left: v,
|
|
2479
2479
|
top: T,
|
|
2480
2480
|
behavior: "smooth"
|
|
@@ -2504,14 +2504,14 @@ const Ho = (e, t, n, o) => {
|
|
|
2504
2504
|
source: e,
|
|
2505
2505
|
axis: t
|
|
2506
2506
|
}) : null, ll = (e, t, n) => {
|
|
2507
|
-
const { q: o, H: s } = $e(), { scrollbars: r } = o(), { slot: i } = r, { rt: c, Z: l, J: a, K: d, ut: u, st: f, it: p, ft: y } = t, { scrollbars: v } = u ? {} : e, { slot: T } = v || {}, D = /* @__PURE__ */ new Map(), m = Yo(f, "x"), S = Yo(f, "y"), $ = Os([l, a, d], () => y && p ? l : a, i, T), w = (C) => y && !p &&
|
|
2507
|
+
const { q: o, H: s } = $e(), { scrollbars: r } = o(), { slot: i } = r, { rt: c, Z: l, J: a, K: d, ut: u, st: f, it: p, ft: y } = t, { scrollbars: v } = u ? {} : e, { slot: T } = v || {}, D = /* @__PURE__ */ new Map(), m = Yo(f, "x"), S = Yo(f, "y"), $ = Os([l, a, d], () => y && p ? l : a, i, T), w = (C) => y && !p && nt(C) === d, H = () => {
|
|
2508
2508
|
D.forEach((C) => {
|
|
2509
2509
|
(C || []).forEach((L) => {
|
|
2510
2510
|
L.cancel();
|
|
2511
2511
|
});
|
|
2512
2512
|
});
|
|
2513
2513
|
}, P = (C, L, M) => {
|
|
2514
|
-
const q = M ?
|
|
2514
|
+
const q = M ? tt : so;
|
|
2515
2515
|
Q(C, (j) => {
|
|
2516
2516
|
q(j.Ut, L);
|
|
2517
2517
|
});
|
|
@@ -2537,7 +2537,7 @@ const Ho = (e, t, n, o) => {
|
|
|
2537
2537
|
}, g = (C) => {
|
|
2538
2538
|
const { Ut: L } = C, M = w(L) && L;
|
|
2539
2539
|
return [M, {
|
|
2540
|
-
transform: M ? Lt([`${ze(f)}px`, `${
|
|
2540
|
+
transform: M ? Lt([`${ze(f)}px`, `${et(f)}px`]) : ""
|
|
2541
2541
|
}];
|
|
2542
2542
|
}, N = [], h = [], x = [], k = (C, L, M) => {
|
|
2543
2543
|
const q = Jn(M), j = q ? M : !0, oe = q ? !M : !0;
|
|
@@ -2558,7 +2558,7 @@ const Ho = (e, t, n, o) => {
|
|
|
2558
2558
|
Xt: oe,
|
|
2559
2559
|
Gt: le
|
|
2560
2560
|
};
|
|
2561
|
-
return s ||
|
|
2561
|
+
return s || tt(j, mi), Ee(j, oe), Ee(oe, le), ie(M, ce), ie(N, [() => {
|
|
2562
2562
|
H(), D.clear();
|
|
2563
2563
|
}, Ye.bind(0, j), n(ce, k, c, a, f, C ? m : S, C)]), ce;
|
|
2564
2564
|
}, W = O.bind(0, !0), U = O.bind(0, !1), te = () => {
|
|
@@ -2616,13 +2616,13 @@ const Ho = (e, t, n, o) => {
|
|
|
2616
2616
|
}), o(C), z();
|
|
2617
2617
|
})], te = u.bind(0);
|
|
2618
2618
|
return te.Ft = A, te.qt = b, [(C, L, M) => {
|
|
2619
|
-
const { Ht: q, Lt: j, It: oe, St: le, Pt: ce } = M, { I: de } = $e(), se = jn(t, C, L), ne = n(), { Et: he, Ot: Le, yt: Ce, At:
|
|
2619
|
+
const { Ht: q, Lt: j, It: oe, St: le, Pt: ce } = M, { I: de } = $e(), se = jn(t, C, L), ne = n(), { Et: he, Ot: Le, yt: Ce, At: st } = ne, [pt, xt] = se("showNativeOverlaidScrollbars"), [$t, me] = se("scrollbars.theme"), [_e, we] = se("scrollbars.visibility"), [Be, Vt] = se("scrollbars.autoHide"), [yn, bn] = se("scrollbars.autoHideSuspend"), [_n] = se("scrollbars.autoHideDelay"), [wn, Re] = se("scrollbars.dragScroll"), [Wt, Sn] = se("scrollbars.clickScroll"), jt = ce && !L, qe = q || j || le, rt = oe || we, Fe = pt && de.x && de.y, Xt = (Ve, Ht) => {
|
|
2620
2620
|
const mt = _e === "visible" || _e === "auto" && Ve === "scroll";
|
|
2621
2621
|
return x(bi, mt, Ht), mt;
|
|
2622
2622
|
};
|
|
2623
|
-
if (a = _n, xt && x(hi, Fe), me && (x(l), x($t, !0), l = $t), (bn || jt) && (yn && jt && (
|
|
2623
|
+
if (a = _n, xt && x(hi, Fe), me && (x(l), x($t, !0), l = $t), (bn || jt) && (yn && jt && (st.x || st.y) ? (I(!1), $(() => U.push(ue(N, "scroll", I.bind(0, !0), {
|
|
2624
2624
|
C: !0
|
|
2625
|
-
})))) : I(!0)), Vt && (s = Be === "move", r = Be === "leave", i = Be !== "never", O(!i, !0)), Re && x(Si, wn), Sn && x(wi, Wt),
|
|
2625
|
+
})))) : I(!0)), Vt && (s = Be === "move", r = Be === "leave", i = Be !== "never", O(!i, !0)), Re && x(Si, wn), Sn && x(wi, Wt), rt) {
|
|
2626
2626
|
const Ve = Xt(Le.x, !0), Ht = Xt(Le.y, !1);
|
|
2627
2627
|
x(_i, !(Ve && Ht));
|
|
2628
2628
|
}
|
|
@@ -2630,7 +2630,7 @@ const Ho = (e, t, n, o) => {
|
|
|
2630
2630
|
}, te, Ue.bind(0, U)];
|
|
2631
2631
|
}, Ms = (e, t, n) => {
|
|
2632
2632
|
Pe(e) && e(t || void 0, n || void 0);
|
|
2633
|
-
},
|
|
2633
|
+
}, at = (e, t, n) => {
|
|
2634
2634
|
const { G: o, q: s, j: r, N: i } = $e(), c = St(), l = Nt(e), a = l ? e : e.target, d = Is(a);
|
|
2635
2635
|
if (t && !d) {
|
|
2636
2636
|
let u = !1;
|
|
@@ -2718,14 +2718,14 @@ const Ho = (e, t, n, o) => {
|
|
|
2718
2718
|
}
|
|
2719
2719
|
return d;
|
|
2720
2720
|
};
|
|
2721
|
-
|
|
2722
|
-
Q(xi(e), (t) => Ms(t,
|
|
2721
|
+
at.plugin = (e) => {
|
|
2722
|
+
Q(xi(e), (t) => Ms(t, at));
|
|
2723
2723
|
};
|
|
2724
|
-
|
|
2724
|
+
at.valid = (e) => {
|
|
2725
2725
|
const t = e && e.elements, n = Pe(t) && t();
|
|
2726
2726
|
return An(n) && !!Is(n.target);
|
|
2727
2727
|
};
|
|
2728
|
-
|
|
2728
|
+
at.env = () => {
|
|
2729
2729
|
const { k: e, I: t, A: n, V: o, Y: s, H: r, B: i, U: c, W: l, q: a, F: d, G: u, X: f } = $e();
|
|
2730
2730
|
return ae({}, {
|
|
2731
2731
|
scrollbarsSize: e,
|
|
@@ -2767,7 +2767,7 @@ const al = () => {
|
|
|
2767
2767
|
}, As = (e) => {
|
|
2768
2768
|
let t = null, n, o, s;
|
|
2769
2769
|
const r = on(e || {}), [i, c] = al();
|
|
2770
|
-
return
|
|
2770
|
+
return Qe(
|
|
2771
2771
|
() => {
|
|
2772
2772
|
var l;
|
|
2773
2773
|
return Z((l = r.value) == null ? void 0 : l.defer);
|
|
@@ -2776,22 +2776,22 @@ const al = () => {
|
|
|
2776
2776
|
s = l;
|
|
2777
2777
|
},
|
|
2778
2778
|
{ deep: !0, immediate: !0 }
|
|
2779
|
-
),
|
|
2779
|
+
), Qe(
|
|
2780
2780
|
() => {
|
|
2781
2781
|
var l;
|
|
2782
2782
|
return Z((l = r.value) == null ? void 0 : l.options);
|
|
2783
2783
|
},
|
|
2784
2784
|
(l) => {
|
|
2785
|
-
n = l,
|
|
2785
|
+
n = l, at.valid(t) && t.options(n || {}, !0);
|
|
2786
2786
|
},
|
|
2787
2787
|
{ deep: !0, immediate: !0 }
|
|
2788
|
-
),
|
|
2788
|
+
), Qe(
|
|
2789
2789
|
() => {
|
|
2790
2790
|
var l;
|
|
2791
2791
|
return Z((l = r.value) == null ? void 0 : l.events);
|
|
2792
2792
|
},
|
|
2793
2793
|
(l) => {
|
|
2794
|
-
o = l,
|
|
2794
|
+
o = l, at.valid(t) && t.on(
|
|
2795
2795
|
o || {},
|
|
2796
2796
|
!0
|
|
2797
2797
|
);
|
|
@@ -2801,9 +2801,9 @@ const al = () => {
|
|
|
2801
2801
|
c(), t == null || t.destroy();
|
|
2802
2802
|
}), [
|
|
2803
2803
|
(l) => {
|
|
2804
|
-
if (
|
|
2804
|
+
if (at.valid(t))
|
|
2805
2805
|
return t;
|
|
2806
|
-
const a = () => t =
|
|
2806
|
+
const a = () => t = at(l, n || {}, o || {});
|
|
2807
2807
|
s ? i(a, s) : a();
|
|
2808
2808
|
},
|
|
2809
2809
|
() => t
|
|
@@ -2843,7 +2843,7 @@ const al = () => {
|
|
|
2843
2843
|
var m;
|
|
2844
2844
|
return (m = y()) == null ? void 0 : m.destroy();
|
|
2845
2845
|
}));
|
|
2846
|
-
}),
|
|
2846
|
+
}), Qe(
|
|
2847
2847
|
() => Z(c),
|
|
2848
2848
|
(v) => {
|
|
2849
2849
|
const T = v || {};
|
|
@@ -2914,7 +2914,7 @@ const al = () => {
|
|
|
2914
2914
|
}
|
|
2915
2915
|
}
|
|
2916
2916
|
});
|
|
2917
|
-
return
|
|
2917
|
+
return Qe(() => ct.state.theme, (r) => {
|
|
2918
2918
|
s().options({
|
|
2919
2919
|
nativeScrollbarsOverlaid: { initialize: !1 },
|
|
2920
2920
|
scrollbars: {
|
|
@@ -2922,8 +2922,10 @@ const al = () => {
|
|
|
2922
2922
|
autoHide: t.autoHide
|
|
2923
2923
|
}
|
|
2924
2924
|
});
|
|
2925
|
+
}), Qe(() => t.disabled, (r) => {
|
|
2926
|
+
r ? s().sleep() : s().update();
|
|
2925
2927
|
}), fn(() => {
|
|
2926
|
-
|
|
2928
|
+
o(document.body);
|
|
2927
2929
|
}), (r, i) => G(r.$slots, "default");
|
|
2928
2930
|
}
|
|
2929
2931
|
};
|
|
@@ -2938,7 +2940,7 @@ const ul = {
|
|
|
2938
2940
|
},
|
|
2939
2941
|
setup(e) {
|
|
2940
2942
|
const t = e, n = K(null);
|
|
2941
|
-
return
|
|
2943
|
+
return Qe(() => ct.state.theme, (o) => {
|
|
2942
2944
|
n.value.osInstance().options({
|
|
2943
2945
|
scrollbars: {
|
|
2944
2946
|
theme: o === "dark" ? "os-theme-light" : "os-theme-dark",
|
|
@@ -3055,7 +3057,7 @@ const _l = ns({
|
|
|
3055
3057
|
},
|
|
3056
3058
|
setup() {
|
|
3057
3059
|
const e = K();
|
|
3058
|
-
return
|
|
3060
|
+
return Qe(e, () => {
|
|
3059
3061
|
yt.value && (yt.value.comp = e.value);
|
|
3060
3062
|
}), {
|
|
3061
3063
|
dialogRef: yt,
|
|
@@ -3951,7 +3953,7 @@ export {
|
|
|
3951
3953
|
mr as DDrag,
|
|
3952
3954
|
Or as DDrop,
|
|
3953
3955
|
$c as DDropdown,
|
|
3954
|
-
|
|
3956
|
+
ct as DGlobalStore,
|
|
3955
3957
|
Lc as DGrid,
|
|
3956
3958
|
Tt as DIcon,
|
|
3957
3959
|
je as DIconStore,
|
package/dist/dophJs.umd.cjs
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* https://github.com/KingSora
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT license.
|
|
9
|
-
*/function U(e,t){if($t(e))for(let n=0;n<e.length&&t(e[n],n,e)!==!1;n++);else e&&U(Object.keys(e),n=>t(e[n],n,e));return e}function le(e,t){const n=Xe(t);if(ye(t)||n){let r=n?"":{};if(e){const c=window.getComputedStyle(e,null);r=n?Sn(e,c,t):t.reduce((l,a)=>(l[a]=Sn(e,c,a),l),r)}return r}e&&U(he(t),r=>hr(e,r,t[r]))}const _e=(e,t)=>{const{o:n,u:s,_:r}=e;let c=n,l;const a=(f,u)=>{const p=c,m=f,S=u||(s?!s(p,m):p!==m);return(S||r)&&(c=m,l=p),[c,S,l]};return[t?f=>a(t(c,l),f):a,f=>[c,!!f,l]]},gt=()=>typeof window<"u",cn=gt()&&Node.ELEMENT_NODE,{toString:er,hasOwnProperty:Jt}=Object.prototype,Me=e=>e===void 0,xt=e=>e===null,tr=e=>Me(e)||xt(e)?`${e}`:er.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),je=e=>typeof e=="number",Xe=e=>typeof e=="string",Zt=e=>typeof e=="boolean",we=e=>typeof e=="function",ye=e=>Array.isArray(e),yt=e=>typeof e=="object"&&!ye(e)&&!xt(e),$t=e=>{const t=!!e&&e.length,n=je(t)&&t>-1&&t%1==0;return ye(e)||!we(e)&&n?t>0&&yt(e)?t-1 in e:!0:!1},Qt=e=>{if(!e||!yt(e)||tr(e)!=="object")return!1;let t;const n="constructor",s=e[n],r=s&&s.prototype,c=Jt.call(e,n),l=r&&Jt.call(r,"isPrototypeOf");if(s&&!c&&!l)return!1;for(t in e);return Me(t)||Jt.call(e,t)},bt=e=>{const t=HTMLElement;return e?t?e instanceof t:e.nodeType===cn:!1},Bt=e=>{const t=Element;return e?t?e instanceof t:e.nodeType===cn:!1},eo=(e,t,n)=>e.indexOf(t,n),K=(e,t,n)=>(!n&&!Xe(t)&&$t(t)?Array.prototype.push.apply(e,t):e.push(t),e),Ze=e=>{const t=Array.from,n=[];return t&&e?t(e):(e instanceof Set?e.forEach(s=>{K(n,s)}):U(e,s=>{K(n,s)}),n)},to=e=>!!e&&e.length===0,Te=(e,t,n)=>{U(e,r=>r&&r.apply(void 0,t||[])),!n&&(e.length=0)},Ct=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),he=e=>e?Object.keys(e):[],te=(e,t,n,s,r,c,l)=>{const a=[t,n,s,r,c,l];return(typeof e!="object"||xt(e))&&!we(e)&&(e={}),U(a,i=>{U(he(i),d=>{const f=i[d];if(e===f)return!0;const u=ye(f);if(f&&(Qt(f)||u)){const p=e[d];let m=p;u&&!ye(p)?m=[]:!u&&!Qt(p)&&(m={}),e[d]=te(m,f)}else e[d]=f})}),e},oo=e=>{for(const t in e)return!1;return!0},ln=(e,t,n,s)=>{if(Me(s))return n?n[e]:t;n&&(Xe(s)||je(s))&&(n[e]=s)},ie=(e,t,n)=>{if(Me(n))return e?e.getAttribute(t):null;e&&e.setAttribute(t,n)},ae=(e,t)=>{e&&e.removeAttribute(t)},Qe=(e,t,n,s)=>{if(n){const r=ie(e,t)||"",c=new Set(r.split(" "));c[s?"add":"delete"](n);const l=Ze(c).join(" ").trim();ie(e,t,l)}},or=(e,t,n)=>{const s=ie(e,t)||"";return new Set(s.split(" ")).has(n)},xe=(e,t)=>ln("scrollLeft",0,e,t),He=(e,t)=>ln("scrollTop",0,e,t),no=gt()&&Element.prototype,an=(e,t)=>{const n=[],s=t?Bt(t)?t:null:document;return s?K(n,s.querySelectorAll(e)):n},nr=(e,t)=>{const n=t?Bt(t)?t:null:document;return n?n.querySelector(e):null},Dt=(e,t)=>Bt(e)?(no.matches||no.msMatchesSelector).call(e,t):!1,so=e=>e?Ze(e.childNodes):[],Ae=e=>e?e.parentElement:null,ct=(e,t)=>{if(Bt(e)){const n=no.closest;if(n)return n.call(e,t);do{if(Dt(e,t))return e;e=Ae(e)}while(e)}return null},sr=(e,t,n)=>{const s=e&&ct(e,t),r=e&&nr(n,s),c=ct(r,t)===s;return s&&r?s===e||r===e||c&&ct(ct(e,n),t)!==s:!1},ro=(e,t,n)=>{if(n&&e){let s=t,r;$t(n)?(r=document.createDocumentFragment(),U(n,c=>{c===s&&(s=c.previousSibling),r.appendChild(c)})):r=n,t&&(s?s!==t&&(s=s.nextSibling):s=e.firstChild),e.insertBefore(r,s||null)}},be=(e,t)=>{ro(e,null,t)},rr=(e,t)=>{ro(Ae(e),e,t)},dn=(e,t)=>{ro(Ae(e),e&&e.nextSibling,t)},Ee=e=>{if($t(e))U(Ze(e),t=>Ee(t));else if(e){const t=Ae(e);t&&t.removeChild(e)}},et=e=>{const t=document.createElement("div");return e&&ie(t,"class",e),t},fn=e=>{const t=et();return t.innerHTML=e.trim(),U(so(t),n=>Ee(n))},co=e=>e.charAt(0).toUpperCase()+e.slice(1),cr=()=>et().style,lr=["-webkit-","-moz-","-o-","-ms-"],ir=["WebKit","Moz","O","MS","webkit","moz","o","ms"],lo={},io={},ar=e=>{let t=io[e];if(Ct(io,e))return t;const n=co(e),s=cr();return U(lr,r=>{const c=r.replace(/-/g,"");return!(t=[e,r+e,c+n,co(c)+n].find(a=>s[a]!==void 0))}),io[e]=t||""},lt=e=>{if(gt()){let t=lo[e]||window[e];return Ct(lo,e)||(U(ir,n=>(t=t||window[n+co(e)],!t)),lo[e]=t),t}},dr=lt("MutationObserver"),un=lt("IntersectionObserver"),it=lt("ResizeObserver"),pn=lt("cancelAnimationFrame"),mn=lt("requestAnimationFrame"),ao=lt("ScrollTimeline"),Tt=gt()&&window.setTimeout,fo=gt()&&window.clearTimeout,fr=/[^\x20\t\r\n\f]+/g,hn=(e,t,n)=>{const s=e&&e.classList;let r,c=0,l=!1;if(s&&t&&Xe(t)){const a=t.match(fr)||[];for(l=a.length>0;r=a[c++];)l=!!n(s,r)&&l}return l},uo=(e,t)=>{hn(e,t,(n,s)=>n.remove(s))},Pe=(e,t)=>(hn(e,t,(n,s)=>n.add(s)),uo.bind(0,e,t)),Et=(e,t,n,s)=>{if(e&&t){let r=!0;return U(n,c=>{const l=s?s(e[c]):e[c],a=s?s(t[c]):t[c];l!==a&&(r=!1)}),r}return!1},gn=(e,t)=>Et(e,t,["w","h"]),yn=(e,t)=>Et(e,t,["x","y"]),ur=(e,t)=>Et(e,t,["t","r","b","l"]),bn=(e,t,n)=>Et(e,t,["width","height"],n&&(s=>Math.round(s))),ge=()=>{},tt=e=>{let t;const n=e?Tt:mn,s=e?fo:pn;return[r=>{s(t),t=n(r,we(e)?e():e)},()=>s(t)]},po=(e,t)=>{let n,s,r,c=ge;const{g:l,v:a,p:i}=t||{},d=function(S){c(),fo(n),n=s=void 0,c=ge,e.apply(this,S)},f=m=>i&&s?i(s,m):m,u=()=>{c!==ge&&d(f(r)||r)},p=function(){const S=Ze(arguments),b=we(l)?l():l;if(je(b)&&b>=0){const D=we(a)?a():a,h=je(D)&&D>=0,w=b>0?Tt:mn,$=b>0?fo:pn,I=f(S)||S,P=d.bind(0,I);c();const M=w(P,b);c=()=>$(M),h&&!n&&(n=Tt(u,D)),s=r=I}else d(S)};return p.m=u,p},pr={opacity:1,zIndex:1},Nt=(e,t)=>{const n=e||"",s=t?parseFloat(n):parseInt(n,10);return s===s?s:0},mr=(e,t)=>!pr[e]&&je(t)?`${t}px`:t,Sn=(e,t,n)=>String((t!=null?t[n]||t.getPropertyValue(n):e.style[n])||""),hr=(e,t,n)=>{try{const{style:s}=e;Me(s[t])?s.setProperty(t,n):s[t]=mr(t,n)}catch{}},St=e=>le(e,"direction")==="rtl",kn=(e,t,n)=>{const s=t?`${t}-`:"",r=n?`-${n}`:"",c=`${s}top${r}`,l=`${s}right${r}`,a=`${s}bottom${r}`,i=`${s}left${r}`,d=le(e,[c,l,a,i]);return{t:Nt(d[c],!0),r:Nt(d[l],!0),b:Nt(d[a],!0),l:Nt(d[i],!0)}},at=(e,t)=>`translate${ye(e)?`(${e[0]},${e[1]})`:`${t?"X":"Y"}(${e})`}`,{round:_n}=Math,mo={w:0,h:0},kt=e=>e?{w:e.offsetWidth,h:e.offsetHeight}:mo,vt=e=>e?{w:e.clientWidth,h:e.clientHeight}:mo,Ot=e=>e?{w:e.scrollWidth,h:e.scrollHeight}:mo,It=e=>{const t=parseFloat(le(e,"height"))||0,n=parseFloat(le(e,"width"))||0;return{w:n-_n(n),h:t-_n(t)}},Ne=e=>e.getBoundingClientRect(),dt=e=>!!(e&&(e.height||e.width));let Vt;const gr=()=>{if(Me(Vt)){Vt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Vt=!0}}))}catch{}}return Vt},wn=e=>e.split(" "),yr=(e,t,n,s)=>{U(wn(t),r=>{e.removeEventListener(r,n,s)})},oe=(e,t,n,s)=>{var r;const c=gr(),l=(r=c&&s&&s.S)!=null?r:c,a=s&&s.$||!1,i=s&&s.C||!1,d=[],f=c?{passive:l,capture:a}:a;return U(wn(t),u=>{const p=i?m=>{e.removeEventListener(u,p,a),n&&n(m)}:n;K(d,yr.bind(null,e,u,p,a)),e.addEventListener(u,p,f)}),Te.bind(0,d)},xn=e=>e.stopPropagation(),$n=e=>e.preventDefault(),br={x:0,y:0},ho=e=>{const t=e?Ne(e):0;return t?{x:t.left+window.pageYOffset,y:t.top+window.pageXOffset}:br},Bn=(e,t)=>{U(ye(t)?t:[t],e)},go=e=>{const t=new Map,n=(c,l)=>{if(c){const a=t.get(c);Bn(i=>{a&&a[i?"delete":"clear"](i)},l)}else t.forEach(a=>{a.clear()}),t.clear()},s=(c,l)=>{if(Xe(c)){const d=t.get(c)||new Set;return t.set(c,d),Bn(f=>{we(f)&&d.add(f)},l),n.bind(0,c,l)}Zt(l)&&l&&n();const a=he(c),i=[];return U(a,d=>{const f=c[d];f&&K(i,s(d,f))}),Te.bind(0,i)},r=(c,l)=>{const a=t.get(c);U(Ze(a),i=>{l&&!to(l)?i.apply(0,l):i()})};return s(e||{}),[s,n,r]},Cn=e=>JSON.stringify(e,(t,n)=>{if(we(n))throw new Error;return n}),Sr={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Dn=(e,t)=>{const n={},s=he(t).concat(he(e));return U(s,r=>{const c=e[r],l=t[r];if(yt(c)&&yt(l))te(n[r]={},Dn(c,l)),oo(n[r])&&delete n[r];else if(Ct(t,r)&&l!==c){let a=!0;if(ye(c)||ye(l))try{Cn(c)===Cn(l)&&(a=!1)}catch{}a&&(n[r]=l)}}),n},_t="data-overlayscrollbars",Tn="os-environment",En=`${Tn}-flexbox-glue`,kr=`${En}-max`,Nn="os-scrollbar-hidden",yo=`${_t}-initialize`,$e=_t,vn=`${$e}-overflow-x`,On=`${$e}-overflow-y`,ft="overflowVisible",_r="scrollbarHidden",In="scrollbarPressed",Lt="updating",Ye=`${_t}-viewport`,bo="arrange",Vn="scrollbarHidden",ut=ft,So=`${_t}-padding`,wr=ut,Ln=`${_t}-content`,ko="os-size-observer",xr=`${ko}-appear`,$r=`${ko}-listener`,Br="os-trinsic-observer",Cr="os-no-css-vars",Dr="os-theme-none",de="os-scrollbar",Tr=`${de}-rtl`,Er=`${de}-horizontal`,Nr=`${de}-vertical`,zn=`${de}-track`,_o=`${de}-handle`,vr=`${de}-visible`,Or=`${de}-cornerless`,Mn=`${de}-transitionless`,Hn=`${de}-interaction`,An=`${de}-unusable`,wo=`${de}-auto-hide`,Pn=`${wo}-hidden`,Rn=`${de}-wheel`,Ir=`${zn}-interactive`,Vr=`${_o}-interactive`,Fn={},ot=()=>Fn,Lr=e=>{const t=[];return U(ye(e)?e:[e],n=>{const s=he(n);U(s,r=>{K(t,Fn[r]=n[r])})}),t},zr="__osOptionsValidationPlugin",Mr="__osSizeObserverPlugin",xo="__osScrollbarsHidingPlugin",Hr="__osClickScrollPlugin";let $o;const Wn=(e,t,n,s)=>{be(e,t);const r=vt(t),c=kt(t),l=It(n);return s&&Ee(t),{x:c.h-r.h+l.h,y:c.w-r.w+l.w}},Ar=e=>{let t=!1;const n=Pe(e,Nn);try{t=le(e,ar("scrollbar-width"))==="none"||window.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return n(),t},Pr=(e,t)=>{const n="hidden";le(e,{overflowX:n,overflowY:n,direction:"rtl"}),xe(e,0);const s=ho(e),r=ho(t);xe(e,-999);const c=ho(t);return{i:s.x===r.x,n:r.x!==c.x}},Rr=(e,t)=>{const n=Pe(e,En),s=Ne(e),r=Ne(t),c=bn(r,s,!0),l=Pe(e,kr),a=Ne(e),i=Ne(t),d=bn(i,a,!0);return n(),l(),c&&d},Fr=()=>{const{body:e}=document,n=fn(`<div class="${Tn}"><div></div></div>`)[0],s=n.firstChild,[r,,c]=go(),[l,a]=_e({o:Wn(e,n,s),u:yn},Wn.bind(0,e,n,s,!0)),[i]=a(),d=Ar(n),f={x:i.x===0,y:i.y===0},u={elements:{host:null,padding:!d,viewport:h=>d&&h===h.ownerDocument.body&&h,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=te({},Sr),m=te.bind(0,{},p),S=te.bind(0,{},u),b={k:i,I:f,A:d,H:le(n,"zIndex")==="-1",B:!!ao,V:Pr(n,s),Y:Rr(n,s),j:r.bind(0,"z"),N:r.bind(0,"r"),q:S,F:h=>te(u,h)&&S(),G:m,X:h=>te(p,h)&&m(),U:te({},u),W:te({},p)},C=window.addEventListener,D=po(h=>c(h?"z":"r"),{g:33,v:99});if(ae(n,"style"),Ee(n),C("resize",D.bind(0,!1)),!d&&(!f.x||!f.y)){let h;C("resize",()=>{const w=ot()[xo];h=h||w&&w.R(),h&&h(b,l,D.bind(0,!0))})}return b},fe=()=>($o||($o=Fr()),$o),Bo=(e,t)=>we(t)?t.apply(0,e):t,Wr=(e,t,n,s)=>{const r=Me(s)?n:s;return Bo(e,r)||t.apply(0,e)},jn=(e,t,n,s)=>{const r=Me(s)?n:s,c=Bo(e,r);return!!c&&(bt(c)?c:t.apply(0,e))},jr=(e,t,n)=>{const{nativeScrollbarsOverlaid:s,body:r}=n||{},{I:c,A:l}=fe(),{nativeScrollbarsOverlaid:a,body:i}=t,d=s??a,f=Me(r)?i:r,u=(c.x||c.y)&&d,p=e&&(xt(f)?!l:f);return!!u||!!p},Co=new WeakMap,Xr=(e,t)=>{Co.set(e,t)},Yr=e=>{Co.delete(e)},Xn=e=>Co.get(e),Yn=(e,t)=>e?t.split(".").reduce((n,s)=>n&&Ct(n,s)?n[s]:void 0,e):void 0,Do=(e,t,n)=>s=>[Yn(e,s),n||Yn(t,s)!==void 0],Un=e=>{let t=e;return[()=>t,n=>{t=te({},t,n)}]},zt="tabindex",Mt=et.bind(0,""),To=e=>{be(Ae(e),so(e)),Ee(e)},Ur=e=>{const t=fe(),{q:n,A:s}=t,r=ot()[xo],c=r&&r.T,{elements:l}=n(),{host:a,padding:i,viewport:d,content:f}=l,u=bt(e),p=u?{}:e,{elements:m}=p,{host:S,padding:b,viewport:C,content:D}=m||{},h=u?e:p.target,w=Dt(h,"textarea"),$=h.ownerDocument,_=$.documentElement,I=h===$.body,P=$.defaultView,M=Wr.bind(0,[h]),k=jn.bind(0,[h]),j=Bo.bind(0,[h]),y=M.bind(0,Mt,d),V=k.bind(0,Mt,f),g=y(C),x=g===h,B=x&&I,E=!x&&V(D),R=!x&&bt(g)&&g===E,A=R&&!!j(f),v=A?y():g,N=A?E:V(),X=B?_:R?v:g,q=w?M(Mt,a,S):h,T=B?X:q,O=R?N:E,L=$.activeElement,Y=!x&&P.top===P&&L===h,W={Z:h,J:T,K:X,tt:!x&&k(Mt,i,b),nt:O,ot:!x&&!s&&c&&c(t),st:B?_:X,et:B?$:X,ct:P,rt:$,lt:w,it:I,ut:u,ft:x,dt:R,_t:(se,ue)=>or(X,x?$e:Ye,x?ue:se),ht:(se,ue,pe)=>Qe(X,x?$e:Ye,x?ue:se,pe)},J=he(W).reduce((se,ue)=>{const pe=W[ue];return K(se,pe&&bt(pe)&&!Ae(pe)?pe:!1)},[]),Q=se=>se?eo(J,se)>-1:null,{Z:ee,J:ne,tt:Z,K:G,nt:re,ot:Ce}=W,Se=[()=>{ae(ne,$e),ae(ne,yo),ae(ee,yo),I&&(ae(_,$e),ae(_,yo))}],Ge=w&&Q(ne);let st=w?ee:so([re,G,Z,ne,ee].find(se=>Q(se)===!1));const pt=B?ee:re||G;return[W,()=>{ie(ne,$e,x?"viewport":"host"),ie(Z,So,""),ie(re,Ln,""),x||ie(G,Ye,"");const se=I&&!x?Pe(Ae(h),Nn):ge;if(Ge&&(dn(ee,ne),K(Se,()=>{dn(ne,ee),Ee(ne)})),be(pt,st),be(ne,Z),be(Z||ne,!x&&G),be(G,re),K(Se,()=>{se(),ae(Z,So),ae(re,Ln),ae(G,vn),ae(G,On),ae(G,Ye),Q(re)&&To(re),Q(G)&&To(G),Q(Z)&&To(Z)}),s&&!x&&(Qe(G,Ye,Vn,!0),K(Se,ae.bind(0,G,Ye))),Ce&&(rr(G,Ce),K(Se,Ee.bind(0,Ce))),Y){const ue=ie(G,zt);ie(G,zt,"-1"),G.focus();const pe=()=>ue?ie(G,zt,ue):ae(G,zt),De=oe($,"pointerdown keydown",()=>{pe(),De()});K(Se,[pe,De])}else L&&L.focus&&L.focus();st=0},Te.bind(0,Se)]},qr=(e,t)=>{const{nt:n}=e,[s]=t;return r=>{const{Y:c}=fe(),{gt:l}=s(),{vt:a}=r,i=(n||!c)&&a;return i&&le(n,{height:l?"":"100%"}),{wt:i,bt:i}}},Gr=(e,t)=>{const[n,s]=t,{J:r,tt:c,K:l,ft:a}=e,[i,d]=_e({u:ur,o:kn()},kn.bind(0,r,"padding",""));return(f,u,p)=>{let[m,S]=d(p);const{A:b,Y:C}=fe(),{yt:D}=n(),{wt:h,bt:w,St:$}=f,[_,I]=u("paddingAbsolute");(h||S||!C&&w)&&([m,S]=i(p));const M=!a&&(I||$||S);if(M){const k=!_||!c&&!b,j=m.r+m.l,y=m.t+m.b,V={marginRight:k&&!D?-j:0,marginBottom:k?-y:0,marginLeft:k&&D?-j:0,top:k?-m.t:0,right:k?D?-m.r:"auto":0,left:k?D?"auto":-m.l:0,width:k?`calc(100% + ${j}px)`:""},g={paddingTop:k?m.t:0,paddingRight:k?m.r:0,paddingBottom:k?m.b:0,paddingLeft:k?m.l:0};le(c||l,V),le(l,g),s({tt:m,$t:!k,P:c?g:te({},V,g)})}return{xt:M}}},{max:Eo}=Math,Ue=Eo.bind(0,0),qn="visible",Gn="hidden",Kr=42,Ht={u:gn,o:{w:0,h:0}},Jr={u:yn,o:{x:Gn,y:Gn}},Zr=(e,t)=>{const n=window.devicePixelRatio%1!==0?1:0,s={w:Ue(e.w-t.w),h:Ue(e.h-t.h)};return{w:s.w>n?s.w:0,h:s.h>n?s.h:0}},At=e=>e.indexOf(qn)===0,Qr=(e,t)=>{const[n,s]=t,{J:r,tt:c,K:l,ot:a,ft:i,ht:d,it:f,ct:u}=e,{k:p,Y:m,A:S,I:b}=fe(),C=ot()[xo],D=!i&&!S&&(b.x||b.y),h=f&&i,[w,$]=_e(Ht,It.bind(0,l)),[_,I]=_e(Ht,Ot.bind(0,l)),[P,M]=_e(Ht),[k,j]=_e(Ht),[y]=_e(Jr),V=(A,v)=>{if(le(l,{height:""}),v){const{$t:N,tt:F}=n(),{Ct:X,M:q}=A,T=It(r),O=vt(r),L=le(l,"boxSizing")==="content-box",Y=N||L?F.b+F.t:0,W=!(b.x&&L);le(l,{height:O.h+T.h+(X.x&&W?q.x:0)-Y})}},g=(A,v)=>{const N=!S&&!A?Kr:0,F=(Q,ee,ne)=>{const Z=le(l,Q),re=(v?v[Q]:Z)==="scroll";return[Z,re,re&&!S?ee?N:ne:0,ee&&!!N]},[X,q,T,O]=F("overflowX",b.x,p.x),[L,Y,W,J]=F("overflowY",b.y,p.y);return{Ot:{x:X,y:L},Ct:{x:q,y:Y},M:{x:T,y:W},D:{x:O,y:J}}},x=(A,v,N,F)=>{const X=(Y,W)=>{const J=At(Y),Q=W&&J&&Y.replace(`${qn}-`,"")||"";return[W&&!J?Y:"",At(Q)?"hidden":Q]},[q,T]=X(N.x,v.x),[O,L]=X(N.y,v.y);return F.overflowX=T&&O?T:q,F.overflowY=L&&q?L:O,g(A,F)},B=(A,v,N,F)=>{const{M:X,D:q}=A,{x:T,y:O}=q,{x:L,y:Y}=X,{P:W}=n(),J=v?"marginLeft":"marginRight",Q=v?"paddingLeft":"paddingRight",ee=W[J],ne=W.marginBottom,Z=W[Q],G=W.paddingBottom;F.width=`calc(100% + ${Y+-1*ee}px)`,F[J]=-Y+ee,F.marginBottom=-L+ne,N&&(F[Q]=Z+(O?Y:0),F.paddingBottom=G+(T?L:0))},[E,R]=C?C.L(D,m,l,a,n,g,B):[()=>D,()=>[ge]];return(A,v,N)=>{const{wt:F,Tt:X,bt:q,xt:T,vt:O,St:L}=A,{gt:Y,yt:W}=n(),[J,Q]=v("showNativeOverlaidScrollbars"),[ee,ne]=v("overflow"),Z=J&&b.x&&b.y,G=!i&&!m&&(F||q||X||Q||O),re=At(ee.x),Ce=At(ee.y),Se=re||Ce;let Ge=$(N),st=I(N),pt=M(N),mt=j(N),se;if(Q&&S&&d(Vn,_r,!Z),G&&(se=g(Z),V(se,Y)),F||T||q||L||Q){Se&&d(ut,ft,!1);const[Re,Ke]=R(Z,W,se),[Ie,Ut]=Ge=w(N),[Ve,wt]=st=_(N),rt=vt(l);let Xo=Ve,Yo=rt;Re(),(wt||Ut||Q)&&Ke&&!Z&&E(Ke,Ve,Ie,W)&&(Yo=vt(l),Xo=Ot(l));const zl={w:Ue(Eo(Ve.w,Xo.w)+Ie.w),h:Ue(Eo(Ve.h,Xo.h)+Ie.h)},$s={w:Ue((h?u.innerWidth:Yo.w+Ue(rt.w-Ve.w))+Ie.w),h:Ue((h?u.innerHeight+Ie.h:Yo.h+Ue(rt.h-Ve.h))+Ie.h)};mt=k($s),pt=P(Zr(zl,$s),N)}const[ue,pe]=mt,[De,jt]=pt,[Po,Ro]=st,[Fo,Wo]=Ge,Oe={x:De.w>0,y:De.h>0},Xt=re&&Ce&&(Oe.x||Oe.y)||re&&Oe.x&&!Oe.y||Ce&&Oe.y&&!Oe.x;if(T||L||Wo||Ro||pe||jt||ne||Q||G){const Re={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},Ke=x(Z,Oe,ee,Re),Ie=E(Ke,Po,Fo,W);i||B(Ke,W,Ie,Re),G&&V(Ke,Y),i?(ie(r,vn,Re.overflowX),ie(r,On,Re.overflowY)):le(l,Re)}Qe(r,$e,ft,Xt),Qe(c,So,wr,Xt),i||Qe(l,Ye,ut,Se);const[jo,Yt]=y(g(Z).Ot);return s({Ot:jo,zt:{x:ue.w,y:ue.h},Et:{x:De.w,y:De.h},At:Oe}),{It:Yt,Ht:pe,Lt:jt}}},Kn=(e,t,n)=>{const s={},r=t||{},c=he(e).concat(he(r));return U(c,l=>{const a=e[l],i=r[l];s[l]=!!(n||a||i)}),s},ec=(e,t)=>{const{Z:n,K:s,ht:r,ft:c}=e,{A:l,I:a,Y:i}=fe(),d=!l&&(a.x||a.y),f=[qr(e,t),Gr(e,t),Qr(e,t)];return(u,p,m)=>{const S=Kn(te({wt:!1,xt:!1,St:!1,vt:!1,Ht:!1,Lt:!1,It:!1,Tt:!1,bt:!1,Pt:!1},p),{},m),b=d||!i,C=b&&xe(s),D=b&&He(s);r("",Lt,!0);let h=S;return U(f,w=>{h=Kn(h,w(h,u,!!m)||{},m)}),xe(s,C),He(s,D),r("",Lt),c||(xe(n,0),He(n,0)),h}},tc=(e,t,n)=>{let s,r=!1;const c=()=>{r=!0},l=a=>{if(n){const i=n.reduce((d,f)=>{if(f){const[u,p]=f,m=p&&u&&(a?a(u):an(u,e));m&&m.length&&p&&Xe(p)&&K(d,[m,p.trim()],!0)}return d},[]);U(i,d=>U(d[0],f=>{const u=d[1],p=s.get(f)||[];if(e.contains(f)){const S=oe(f,u,b=>{r?(S(),s.delete(f)):t(b)});s.set(f,K(p,S))}else Te(p),s.delete(f)}))}};return n&&(s=new WeakMap,l()),[c,l]},Jn=(e,t,n,s)=>{let r=!1;const{Mt:c,Dt:l,Rt:a,kt:i,Bt:d,Vt:f}=s||{},u=po(()=>{r&&n(!0)},{g:33,v:99}),[p,m]=tc(e,u,a),S=c||[],b=l||[],C=S.concat(b),D=(w,$)=>{const _=d||ge,I=f||ge,P=new Set,M=new Set;let k=!1,j=!1;if(U(w,y=>{const{attributeName:V,target:g,type:x,oldValue:B,addedNodes:E,removedNodes:R}=y,A=x==="attributes",v=x==="childList",N=e===g,F=A&&Xe(V)?ie(g,V):0,X=F!==0&&B!==F,q=eo(b,V)>-1&&X;if(t&&(v||!N)){const T=!A,O=A&&X,L=O&&i&&Dt(g,i),W=(L?!_(g,V,B,F):T||O)&&!I(y,!!L,e,s);U(E,J=>P.add(J)),U(R,J=>P.add(J)),j=j||W}!t&&N&&X&&!_(g,V,B,F)&&(M.add(V),k=k||q)}),P.size>0&&m(y=>Ze(P).reduce((V,g)=>(K(V,an(y,g)),Dt(g,y)?K(V,g):V),[])),t)return!$&&j&&n(!1),[!1];if(M.size>0||k){const y=[Ze(M),k];return!$&&n.apply(0,y),y}},h=new dr(w=>D(w));return h.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:C,subtree:t,childList:t,characterData:t}),r=!0,[()=>{r&&(p(),h.disconnect(),r=!1)},()=>{if(r){u.m();const w=h.takeRecords();return!to(w)&&D(w,!0)}}]},Pt=3333333,Zn=(e,t,n)=>{const{Yt:s=!1,Pt:r=!1}=n||{},c=ot()[Mr],{V:l}=fe(),i=fn(`<div class="${ko}"><div class="${$r}"></div></div>`)[0],d=i.firstChild,f=St.bind(0,e),[u]=_e({o:void 0,_:!0,u:(b,C)=>!(!b||!dt(b)&&dt(C))}),p=b=>{const C=ye(b)&&b.length>0&&yt(b[0]),D=!C&&Zt(b[0]);let h=!1,w=!1,$=!0;if(C){const[_,,I]=u(b.pop().contentRect),P=dt(_),M=dt(I);h=!I&&!!M||!P,w=!M&&P,$=!h}else D?[,$]=b:w=b===!0;if(s&&$){const _=D?b[0]:St(i);xe(i,_?l.n?-Pt:l.i?0:Pt:Pt),He(i,Pt)}h||t({wt:!D,jt:D?b:void 0,Pt:!!w})},m=[];let S=r?p:!1;return[()=>{Te(m),Ee(i)},()=>{if(it){const b=new it(p);b.observe(d),K(m,()=>{b.disconnect()})}else if(c){const[b,C]=c.O(d,p,r);S=b,K(m,C)}if(s){const[b]=_e({o:void 0},f);K(m,oe(i,"scroll",C=>{const D=b(),[h,w,$]=D;w&&(uo(d,"ltr rtl"),h?Pe(d,"rtl"):Pe(d,"ltr"),p([!!h,w,$])),xn(C)}))}S&&(Pe(i,xr),K(m,oe(i,"animationstart",S,{C:!!it}))),(it||c)&&be(e,i)}]},oc=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,nc=(e,t)=>{let n;const s=et(Br),r=[],[c]=_e({o:!1}),l=(i,d)=>{if(i){const f=c(oc(i)),[,u]=f;if(u)return!d&&t(f),[f]}},a=(i,d)=>{if(i&&i.length>0)return l(i.pop(),d)};return[()=>{Te(r),Ee(s)},()=>{if(un)n=new un(i=>a(i),{root:e}),n.observe(s),K(r,()=>{n.disconnect()});else{const i=()=>{const u=kt(s);l(u)},[d,f]=Zn(s,i);K(r,d),f(),i()}be(e,s)},()=>{if(n)return a(n.takeRecords(),!0)}]},Qn=`[${$e}]`,sc=`[${Ye}]`,No=["tabindex"],es=["wrap","cols","rows"],vo=["id","class","style","open"],rc=(e,t,n)=>{let s,r,c;const{J:l,K:a,nt:i,lt:d,ft:f,_t:u,ht:p}=e,{Y:m}=fe(),[S]=_e({u:gn,o:{w:0,h:0}},()=>{const B=u(ut,ft),E=u(bo,""),R=E&&xe(a),A=E&&He(a);p(ut,ft),p(bo,""),p("",Lt,!0);const v=Ot(i),N=Ot(a),F=It(a);return p(ut,ft,B),p(bo,"",E),p("",Lt),xe(a,R),He(a,A),{w:N.w+v.w+F.w,h:N.h+v.h+F.h}}),b=d?es:vo.concat(es),C=po(n,{g:()=>s,v:()=>r,p(B,E){const[R]=B,[A]=E;return[he(R).concat(he(A)).reduce((v,N)=>(v[N]=R[N]||A[N],v),{})]}}),D=B=>{U(B||No,E=>{if(eo(No,E)>-1){const R=ie(l,E);Xe(R)?ie(a,E,R):ae(a,E)}})},h=(B,E)=>{const[R,A]=B,v={vt:A};return t({gt:R}),!E&&n(v),v},w=({wt:B,jt:E,Pt:R})=>{const A=!B||R?n:C;let v=!1;if(E){const[N,F]=E;v=F,t({yt:N})}A({wt:B,Pt:R,St:v})},$=(B,E)=>{const[,R]=S(),A={bt:R};return R&&!E&&(B?n:C)(A),A},_=(B,E,R)=>{const A={Tt:E};return E?!R&&C(A):f||D(B),A},[I,P,M]=i||!m?nc(l,h):[ge,ge,ge],[k,j]=f?[ge,ge]:Zn(l,w,{Pt:!0,Yt:!0}),[y,V]=Jn(l,!1,_,{Dt:vo,Mt:vo.concat(No)});let g;const x=f&&it&&new it(B=>{const E=B[B.length-1].contentRect,R=dt(E),v=!dt(g)&&R;w({wt:!0,Pt:v}),g=E});return[()=>{I(),k(),c&&c[0](),x&&x.disconnect(),y()},()=>{x&&x.observe(l),D(),j(),P()},()=>{const B={},E=V(),R=M(),A=c&&c[1]();return E&&te(B,_.apply(0,K(E,!0))),R&&te(B,h.apply(0,K(R,!0))),A&&te(B,$.apply(0,K(A,!0))),B},B=>{const[E]=B("update.ignoreMutation"),[R,A]=B("update.attributes"),[v,N]=B("update.elementEvents"),[F,X]=B("update.debounce"),q=N||A,T=O=>we(E)&&E(O);if(q&&(c&&(c[1](),c[0]()),c=Jn(i||a,!0,$,{Mt:b.concat(R||[]),Rt:v,kt:Qn,Vt:(O,L)=>{const{target:Y,attributeName:W}=O;return(!L&&W&&!f?sr(Y,Qn,sc):!1)||!!ct(Y,`.${de}`)||!!T(O)}})),X)if(C.m(),ye(F)){const O=F[0],L=F[1];s=je(O)&&O,r=je(L)&&L}else je(F)?(s=F,r=!1):(s=!1,r=!1)}]},ts={x:0,y:0},cc=e=>({tt:{t:0,r:0,b:0,l:0},$t:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:ts,Et:ts,Ot:{x:"hidden",y:"hidden"},At:{x:!1,y:!1},gt:!1,yt:St(e.J)}),lc=(e,t)=>{const n=Do(t,{}),[s,r,c]=go(),[l,a,i]=Ur(e),d=Un(cc(l)),[f,u]=d,p=ec(l,d),m=(w,$,_)=>{const P=he(w).some(M=>!!w[M])||!oo($)||_;return P&&c("u",[w,$,_]),P},[S,b,C,D]=rc(l,u,w=>m(p(n,w),{},!1)),h=f.bind(0);return h.Nt=w=>s("u",w),h.qt=()=>{const{Z:w,K:$,rt:_,it:I}=l,P=I?_.documentElement:w,M=xe(P),k=He(P);b(),a(),xe($,M),He($,k)},h.Ft=l,[(w,$)=>{const _=Do(t,w,$);return D(_),m(p(_,C(),$),w,!!$)},h,()=>{r(),S(),i()}]},{round:os}=Math,ic=e=>{const{width:t,height:n}=Ne(e),{w:s,h:r}=kt(e);return{x:os(t)/s||1,y:os(n)/r||1}},ac=(e,t,n)=>{const s=t.scrollbars,{button:r,isPrimary:c,pointerType:l}=e,{pointers:a}=s;return r===0&&c&&s[n?"dragScroll":"clickScroll"]&&(a||[]).includes(l)},ns="pointerup pointerleave pointercancel lostpointercapture",dc=e=>({transform:[at("0%",e),at("-100%",e)],[e?"left":"top"]:["0%","100%"]}),fc=(e,t)=>oe(e,"mousedown",oe.bind(0,t,"click",xn,{C:!0,$:!0}),{$:!0}),uc=(e,t,n,s,r,c,l)=>{const{V:a}=fe(),{Gt:i,Xt:d,Ut:f}=s,u=`scroll${l?"Left":"Top"}`,p=`client${l?"X":"Y"}`,m=l?"width":"height",S=l?"left":"top",b=l?"w":"h",C=l?"x":"y",D=(h,w)=>$=>{const{Et:_}=c(),I=kt(d)[b]-kt(i)[b],M=w*$/I*_[C],j=St(f)&&l?a.n||a.i?1:-1:1;r[u]=h+M*j};return oe(d,"pointerdown",h=>{const w=ct(h.target,`.${_o}`)===i,$=w?i:d;if(Qe(t,$e,In,!0),ac(h,e,w)){const _=!w&&h.shiftKey,I=()=>Ne(i),P=()=>Ne(d),M=(v,N)=>(v||I())[S]-(N||P())[S],k=D(r[u]||0,1/ic(r)[C]),j=h[p],y=I(),V=P(),g=y[m],x=M(y,V)+g/2,B=j-V[S],E=w?0:B-x,R=v=>{Te(A),$.releasePointerCapture(v.pointerId)},A=[Qe.bind(0,t,$e,In),oe(n,ns,R),oe(n,"selectstart",v=>$n(v),{S:!1}),oe(d,ns,R),oe(d,"pointermove",v=>{const N=v[p]-j;(w||_)&&k(E+N)})];if(_)k(E);else if(!w){const v=ot()[Hr];v&&K(A,v.O(k,M,E,g,B))}$.setPointerCapture(h.pointerId)}})},pc=({Gt:e},t,n)=>{if(!t)return ge;const s=e.animate(dc(n),{timeline:t});return()=>{s.cancel()}},mc=(e,t)=>(n,s,r,c,l,a,i)=>{const{Ut:d}=n,[f,u]=tt(333),p=!!l.scrollBy;let m=!0;return Te.bind(0,[oe(d,"pointerenter",()=>{s(Hn,!0)}),oe(d,"pointerleave pointercancel",()=>{s(Hn)}),oe(d,"wheel",S=>{const{deltaX:b,deltaY:C,deltaMode:D}=S;p&&m&&D===0&&Ae(d)===c&&l.scrollBy({left:b,top:C,behavior:"smooth"}),m=!1,s(Rn,!0),f(()=>{m=!0,s(Rn)}),$n(S)},{S:!1,$:!0}),fc(d,r),uc(e,c,r,n,l,t,i),pc(n,a,i),u])},{min:Oo,max:ss,abs:hc,round:gc}=Math,rs=(e,t,n,s)=>{if(s){const a=n?"x":"y",{Et:i,zt:d}=s,f=d[a],u=i[a];return ss(0,Oo(1,f/(f+u)))}const r=n?"width":"height",c=Ne(e)[r],l=Ne(t)[r];return ss(0,Oo(1,c/l))},yc=(e,t,n,s,r,c)=>{const{V:l}=fe(),a=c?"x":"y",i=c?"Left":"Top",{Et:d}=s,f=gc(d[a]),u=hc(n[`scroll${i}`]),p=c&&r,m=l.i?u:f-u,b=Oo(1,(p?m:u)/f),C=rs(e,t,c);return 1/C*(1-C)*b},bc=e=>`${Math.max(0,e-.5)}px`,cs=(e,t,n,s)=>e.animate({transform:[at("0px",s),at(bc(n),s)]},{timeline:t,composite:"add"}),ls=(e,t)=>ao?new ao({source:e,axis:t}):null,Sc=(e,t,n)=>{const{q:s,H:r}=fe(),{scrollbars:c}=s(),{slot:l}=c,{rt:a,Z:i,J:d,K:f,ut:u,st:p,it:m,ft:S}=t,{scrollbars:b}=u?{}:e,{slot:C}=b||{},D=new Map,h=ls(p,"x"),w=ls(p,"y"),$=jn([i,d,f],()=>S&&m?i:d,l,C),_=T=>S&&!m&&Ae(T)===f,I=()=>{D.forEach(T=>{(T||[]).forEach(O=>{O.cancel()})})},P=(T,O,L)=>{const Y=L?Pe:uo;U(T,W=>{Y(W.Ut,O)})},M=(T,O)=>{U(T,L=>{const[Y,W]=O(L);le(Y,W)})},k=(T,O,L)=>{M(T,Y=>{const{Gt:W,Xt:J}=Y;return[W,{[L?"width":"height"]:`${(100*rs(W,J,L,O)).toFixed(3)}%`}]})},j=(T,O,L)=>{!w&&!w&&M(T,Y=>{const{Gt:W,Xt:J,Ut:Q}=Y,ee=yc(W,J,p,O,St(Q),L);return[W,{transform:ee===ee?at(`${(100*ee).toFixed(3)}%`,L):""}]})},y=T=>{const{Ut:O}=T,L=_(O)&&O;return[L,{transform:L?at([`${xe(p)}px`,`${He(p)}px`]):""}]},V=[],g=[],x=[],B=(T,O,L)=>{const Y=Zt(L),W=Y?L:!0,J=Y?!L:!0;W&&P(g,T,O),J&&P(x,T,O)},E=T=>{k(g,T,!0),k(x,T)},R=T=>{j(g,T,!0),j(x,T)},A=()=>{!w&&!w&&(S&&M(g,y),S&&M(x,y))},v=({Et:T})=>{I(),x.concat(g).forEach(({Ut:O})=>{_(O)&&D.set(O,[cs(O,h,T.x,!0),cs(O,w,T.y)])})},N=T=>{const O=T?Er:Nr,L=T?g:x,Y=to(L)?Mn:"",W=et(`${de} ${O} ${Y}`),J=et(zn),Q=et(_o),ee={Ut:W,Xt:J,Gt:Q};return r||Pe(W,Cr),be(W,J),be(J,Q),K(L,ee),K(V,[()=>{I(),D.clear()},Ee.bind(0,W),n(ee,B,a,d,p,T?h:w,T)]),ee},F=N.bind(0,!0),X=N.bind(0,!1),q=()=>{be($,g[0].Ut),be($,x[0].Ut),Tt(()=>{B(Mn)},300)};return F(),X(),[{Wt:E,Zt:R,Jt:v,Kt:A,Qt:B,tn:{B:h,nn:g,sn:F,en:M.bind(0,g)},cn:{B:w,nn:x,sn:X,en:M.bind(0,x)}},q,Te.bind(0,V)]},kc=(e,t,n,s)=>{let r,c,l,a,i,d=0;const f=Un({}),[u]=f,[p,m]=tt(),[S,b]=tt(),[C,D]=tt(100),[h,w]=tt(100),[$,_]=tt(100),[I,P]=tt(()=>d),[M,k,j]=Sc(e,n.Ft,mc(t,n)),{J:y,et:V,it:g}=n.Ft,{Qt:x,Wt:B,Zt:E,Jt:R,Kt:A}=M,v=T=>{x(wo,T,!0),x(wo,T,!1)},N=(T,O)=>{if(P(),T)x(Pn);else{const L=()=>x(Pn,!0);d>0&&!O?I(L):L()}},F=()=>{a=c,a&&N(!0)},X=[D,P,w,_,b,m,j,oe(y,"pointerover",F,{C:!0}),oe(y,"pointerenter",F),oe(y,"pointerleave",()=>{a=!1,c&&N(!1)}),oe(y,"pointermove",()=>{r&&p(()=>{D(),N(!0),h(()=>{r&&N(!1)})})}),oe(V,"scroll",T=>{S(()=>{E(n()),l&&N(!0),C(()=>{l&&!a&&N(!1)})}),s(T),A()})],q=u.bind(0);return q.Ft=M,q.qt=k,[(T,O,L)=>{const{Ht:Y,Lt:W,It:J,St:Q,Pt:ee}=L,{I:ne}=fe(),Z=Do(t,T,O),G=n(),{Et:re,Ot:Ce,yt:Se,At:Ge}=G,[st,pt]=Z("showNativeOverlaidScrollbars"),[mt,se]=Z("scrollbars.theme"),[ue,pe]=Z("scrollbars.visibility"),[De,jt]=Z("scrollbars.autoHide"),[Po,Ro]=Z("scrollbars.autoHideSuspend"),[Fo]=Z("scrollbars.autoHideDelay"),[Wo,Oe]=Z("scrollbars.dragScroll"),[Xt,jo]=Z("scrollbars.clickScroll"),Yt=ee&&!O,Re=Y||W||Q,Ke=J||pe,Ie=st&&ne.x&&ne.y,Ut=(Ve,wt)=>{const rt=ue==="visible"||ue==="auto"&&Ve==="scroll";return x(vr,rt,wt),rt};if(d=Fo,pt&&x(Dr,Ie),se&&(x(i),x(mt,!0),i=mt),(Ro||Yt)&&(Po&&Yt&&(Ge.x||Ge.y)?(v(!1),$(()=>X.push(oe(V,"scroll",v.bind(0,!0),{C:!0})))):v(!0)),jt&&(r=De==="move",c=De==="leave",l=De!=="never",N(!l,!0)),Oe&&x(Vr,Wo),jo&&x(Ir,Xt),Ke){const Ve=Ut(Ce.x,!0),wt=Ut(Ce.y,!1);x(Or,!(Ve&&wt))}Re&&(B(G),E(G),R(G),A(),x(An,!re.x,!0),x(An,!re.y,!1),x(Tr,Se&&!g))},q,Te.bind(0,X)]},is=(e,t,n)=>{we(e)&&e(t||void 0,n||void 0)},qe=(e,t,n)=>{const{G:s,q:r,j:c,N:l}=fe(),a=ot(),i=bt(e),d=i?e:e.target,f=Xn(d);if(t&&!f){let u=!1;const p=g=>{const x=ot()[zr],B=x&&x.O;return B?B(g,!0):g},m=te({},s(),p(t)),[S,b,C]=go(n),[D,h,w]=lc(e,m),[$,_,I]=kc(e,m,h,g=>C("scroll",[V,g])),P=(g,x)=>D(g,!!x),M=P.bind(0,{},!0),k=c(M),j=l(M),y=g=>{Yr(d),k(),j(),I(),w(),u=!0,C("destroyed",[V,!!g]),b()},V={options(g,x){if(g){const B=x?s():{},E=Dn(m,te(B,p(g)));oo(E)||(te(m,E),P(E))}return te({},m)},on:S,off:(g,x)=>{g&&x&&b(g,x)},state(){const{zt:g,Et:x,Ot:B,At:E,tt:R,$t:A,yt:v}=h();return te({},{overflowEdge:g,overflowAmount:x,overflowStyle:B,hasOverflow:E,padding:R,paddingAbsolute:A,directionRTL:v,destroyed:u})},elements(){const{Z:g,J:x,tt:B,K:E,nt:R,st:A,et:v}=h.Ft,{tn:N,cn:F}=_.Ft,X=T=>{const{Gt:O,Xt:L,Ut:Y}=T;return{scrollbar:Y,track:L,handle:O}},q=T=>{const{nn:O,sn:L}=T,Y=X(O[0]);return te({},Y,{clone:()=>{const W=X(L());return $({},!0,{}),W}})};return te({},{target:g,host:x,padding:B||E,viewport:E,content:R||E,scrollOffsetElement:A,scrollEventElement:v,scrollbarHorizontal:q(N),scrollbarVertical:q(F)})},update:g=>P({},g),destroy:y.bind(0)};return h.Nt((g,x,B)=>{$(x,B,g)}),Xr(d,V),U(he(a),g=>is(a[g],0,V)),jr(h.Ft.it,r().cancel,!i&&e.cancel)?(y(!0),V):(h.qt(),_.qt(),C("initialized",[V]),h.Nt((g,x,B)=>{const{wt:E,St:R,vt:A,Ht:v,Lt:N,It:F,bt:X,Tt:q}=g;C("updated",[V,{updateHints:{sizeChanged:E,directionChanged:R,heightIntrinsicChanged:A,overflowEdgeChanged:v,overflowAmountChanged:N,overflowStyleChanged:F,contentMutation:X,hostMutation:q},changedOptions:x,force:B}])}),V.update(!0),V)}return f};qe.plugin=e=>{U(Lr(e),t=>is(t,qe))},qe.valid=e=>{const t=e&&e.elements,n=we(t)&&t();return Qt(n)&&!!Xn(n.target)},qe.env=()=>{const{k:e,I:t,A:n,V:s,Y:r,H:c,B:l,U:a,W:i,q:d,F:f,G:u,X:p}=fe();return te({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,rtlScrollBehavior:s,flexboxGlue:r,cssCustomProperties:c,scrollTimeline:l,staticDefaultInitialization:a,staticDefaultOptions:i,getDefaultInitialization:d,setDefaultInitialization:f,getDefaultOptions:u,setDefaultOptions:p})};const _c=()=>{if(typeof window>"u"){const d=()=>{};return[d,d]}let e,t;const n=window,s=typeof n.requestIdleCallback=="function",r=n.requestAnimationFrame,c=n.cancelAnimationFrame,l=s?n.requestIdleCallback:r,a=s?n.cancelIdleCallback:c,i=()=>{a(e),c(t)};return[(d,f)=>{i(),e=l(s?()=>{i(),t=r(d)}:d,typeof f=="object"?f:{timeout:2233})},i]},as=e=>{let t=null,n,s,r;const c=o.shallowRef(e||{}),[l,a]=_c();return o.watch(()=>{var i;return o.unref((i=c.value)==null?void 0:i.defer)},i=>{r=i},{deep:!0,immediate:!0}),o.watch(()=>{var i;return o.unref((i=c.value)==null?void 0:i.options)},i=>{n=i,qe.valid(t)&&t.options(n||{},!0)},{deep:!0,immediate:!0}),o.watch(()=>{var i;return o.unref((i=c.value)==null?void 0:i.events)},i=>{s=i,qe.valid(t)&&t.on(s||{},!0)},{deep:!0,immediate:!0}),o.onUnmounted(()=>{a(),t==null||t.destroy()}),[i=>{if(qe.valid(t))return t;const d=()=>t=qe(i,n||{},s||{});r?l(d,r):d()},()=>t]},wc=o.defineComponent({props:{element:{type:String,default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(e,{expose:t,emit:n}){const s=e,r={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:c,options:l,events:a,defer:i}=o.toRefs(s),d=o.shallowRef(null),f=o.shallowRef(null),u=o.ref(),p=o.ref(!1),[m,S]=as({options:l,events:u,defer:i});return t({osInstance:S,getElement:()=>d.value}),o.onMounted(()=>{p.value=!0}),o.watchPostEffect(b=>{const{value:C}=d,{value:D}=f;p.value&&C&&D&&(m({target:C,elements:{viewport:D,content:D}}),b(()=>{var h;return(h=S())==null?void 0:h.destroy()}))}),o.watch(()=>o.unref(a),b=>{const C=b||{};u.value=Object.keys(r).reduce((D,h)=>{const w=C[h];return D[h]=[(...$)=>n(r[h],...$),...(Array.isArray(w)?w:[w]).filter(Boolean)],D},{})},{deep:!0,immediate:!0}),(b,C)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(c)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:d},{default:o.withCtx(()=>[p.value?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"slotRef",ref:f,"data-overlayscrollbars-contents":""},[o.renderSlot(b.$slots,"default")],512)):o.renderSlot(b.$slots,"default",{key:1})]),_:3},512))}}),xc={__name:"DScrollProvider",props:{disabled:{type:Boolean,default:!1},autoHide:{type:String,default:"never"},autoHideDelay:{type:Number,default:800}},setup(e){const t=e,n=o.ref(null),[s,r]=as({defer:!0,events:{initialized:()=>{n.value=!0},destroyed:()=>{n.value=!1}},options:{nativeScrollbarsOverlaid:{initialize:!1},scrollbars:{theme:"os-theme-light",autoHide:t.autoHide,autoHideDelay:t.autoHideDelay}}});return o.watch(()=>ze.state.theme,c=>{r().options({nativeScrollbarsOverlaid:{initialize:!1},scrollbars:{theme:c==="dark"?"os-theme-light":"os-theme-dark",autoHide:t.autoHide}})}),o.onMounted(()=>{t.disabled||s(document.body)}),(c,l)=>o.renderSlot(c.$slots,"default")}},Gl="",$c=We({__name:"DScroll",props:{autoHide:{type:String,default:"never"}},setup(e){const t=e,n=o.ref(null);return o.watch(()=>ze.state.theme,s=>{n.value.osInstance().options({scrollbars:{theme:s==="dark"?"os-theme-light":"os-theme-dark",autoHide:t.autoHide}})}),(s,r)=>(o.openBlock(),o.createBlock(o.unref(wc),{class:"os-vue",ref_key:"osRef",ref:n,options:{scrollbars:{theme:"os-theme-light",autoHide:t.autoHide}},events:{},defer:""},{default:o.withCtx(()=>[o.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["options"]))}},[["__scopeId","data-v-9b322173"]]),Jl="",Bc={class:"modal-dialog"},Cc={class:"modal-content"},Dc={class:"modal-header"},Tc={class:"modal-title"},Ec={class:"modal-body"},Nc={class:"modal-footer"},Io=We({__name:"DModal",props:{show:Boolean,width:String},emits:["open","close"],setup(e,{expose:t,emit:n}){const s=e;o.useCssVars(i=>({"558e9e46":s.width}));const r=o.ref(null),c=o.ref(!1);c.value=s==null?void 0:s.show;const l=()=>{c.value=!0,n("open",r)},a=()=>{c.value=!1,n("close",r)};return t({show:l,hide:a}),(i,d)=>{const f=o.resolveDirective("keydown");return o.openBlock(),o.createBlock(o.Teleport,{to:"body"},[o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[c.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"modalRef",ref:r,class:"modal"},[o.createElementVNode("div",Bc,[o.createElementVNode("div",Cc,[o.createElementVNode("div",Dc,[o.createElementVNode("h5",Tc,[o.renderSlot(i.$slots,"modal-title",{},void 0,!0)])]),o.createElementVNode("div",Ec,[o.renderSlot(i.$slots,"default",{},void 0,!0)]),o.createElementVNode("div",Nc,[o.renderSlot(i.$slots,"modal-footer",{},void 0,!0)])])])])),[[f,a,"Escape"]]):o.createCommentVNode("",!0)]),_:3})])}}},[["__scopeId","data-v-82cadd63"]]),nt=o.shallowRef();function Vo(e){e===void 0&&(e=nt.value.comp.returnValue()),nt.value.resolve(e),nt.value=null}function ds(e,t,n="default"){return new Promise(s=>{nt.value={dialog:e,props:t,wrapper:n,resolve:s}})}var vc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const Oc=o.defineComponent({name:"DialogWrapper",components:{},props:{name:{type:String,default:"default"},transitionAttrs:Object},setup(){const e=o.ref();return o.watch(e,()=>{nt.value&&(nt.value.comp=e.value)}),{dialogRef:nt,dialogInstance:e}}});function Ic(e,t,n,s,r,c){return o.openBlock(),o.createBlock(o.Transition,o.normalizeProps(o.guardReactiveProps(e.transitionAttrs)),{default:o.withCtx(()=>[e.dialogRef&&e.dialogRef.wrapper===e.name?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.dialogRef.dialog),o.mergeProps({key:0},e.dialogRef.props,{ref:"dialogInstance"}),null,16)):o.createCommentVNode("",!0)]),_:1},16)}var Vc=vc(Oc,[["render",Ic]]);const Lc={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},fs={__name:"DAlertDialog",props:{title:String,message:String},setup(e,{expose:t}){const n=e;return t({returnValue:()=>!0}),(r,c)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(Io,{show:!0},{"modal-title":o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.title),1)]),default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.message),1)]),"modal-footer":o.withCtx(()=>[o.createElementVNode("div",Lc,[o.createVNode(Fe,{onClick:c[0]||(c[0]=l=>o.unref(Vo)())},{default:o.withCtx(()=>[o.createTextVNode("Закрыть")]),_:1})])]),_:1})]))}},zc={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},us={__name:"DConfirmDialog",props:{title:String,message:String},setup(e,{expose:t}){const n=e;return t({returnValue:()=>!0}),(r,c)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(Io,{show:!0},{"modal-title":o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.title),1)]),default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.message),1)]),"modal-footer":o.withCtx(()=>[o.createElementVNode("div",zc,[o.createVNode(Fe,{onClick:c[0]||(c[0]=l=>o.unref(Vo)())},{default:o.withCtx(()=>[o.createTextVNode("Да")]),_:1}),o.createVNode(Fe,{class:"button-red",onClick:c[1]||(c[1]=l=>o.unref(Vo)(!1))},{default:o.withCtx(()=>[o.createTextVNode("Нет")]),_:1})])]),_:1})]))}},Mc={class:"dropdown"},Hc={__name:"DDropdown",props:{class:String,icon:{type:[String,null],default:null},items:Array,menuStyle:Object,renderItemTitle:Function,beforeItem:Function},emits:["select","click"],setup(e,{expose:t,emit:n}){const s=e,r=o.useSlots(),c=o.ref(null),l=o.ref(null),a=o.ref(0),i=o.ref(0),d=m=>{if(n("click",m),c.value.isShowed()){c.value.hide();return}c.value.show(),o.nextTick(()=>{const S=c.value.elementSize(),b=l.value.elementSize(),C=window.innerWidth,D=window.innerHeight;a.value=C-(b.x+b.width)<S.width?b.left-S.width+b.width:b.left,i.value=D-(b.y+b.height)<S.height?b.top-S.height-5:b.height+b.top+5})},f=m=>{n("select",m)},u=o.computed(()=>({left:a.value+"px",top:i.value+"px",...s.menuStyle}));t({show:d});const p=m=>!!r[m];return(m,S)=>(o.openBlock(),o.createElementBlock("div",Mc,[p("default")?(o.openBlock(),o.createBlock(Fe,{key:0,ref_key:"buttonRef",ref:l,class:o.normalizeClass(s.class),icon:s.icon,onClick:o.withModifiers(d,["stop","prevent"])},{default:o.withCtx(()=>[o.renderSlot(m.$slots,"default")]),_:3},8,["class","icon","onClick"])):(o.openBlock(),o.createBlock(Fe,{key:1,ref_key:"buttonRef",ref:l,class:o.normalizeClass(s.class),icon:s.icon,onClick:o.withModifiers(d,["stop","prevent"])},null,8,["class","icon","onClick"])),o.createVNode(Gt,{ref_key:"dMenuRef",ref:c,items:s.items,class:"dropdown-menu",style:o.normalizeStyle(u.value),"no-select":!0,onSelect:f,"render-item-title":s.renderItemTitle,"before-item":s.beforeItem},null,8,["items","style","render-item-title","before-item"])]))}},Ac={},Pc={class:"d-panel"};function Rc(e,t){return o.openBlock(),o.createElementBlock("div",Pc,[o.renderSlot(e.$slots,"default")])}const ps=We(Ac,[["render",Rc]]),Fc={class:"card-header"},Wc={class:"modal-title"},jc={class:"card-body"},Xc={class:"card-footer"},Yc={__name:"DCard",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(ps,{class:"d-card"},{default:o.withCtx(()=>[o.createElementVNode("div",Fc,[o.createElementVNode("h5",Wc,[o.renderSlot(t.$slots,"title")])]),o.createElementVNode("div",jc,[o.renderSlot(t.$slots,"default")]),o.createElementVNode("div",Xc,[o.renderSlot(t.$slots,"footer")])]),_:3}))}},Uc=new Map;class qc{constructor(t,n,s){this.remaining=n,this.callback=t,this.notifyItem=s,this.resume()}pause(){clearTimeout(this.notifyItem.timer),this.remaining-=Date.now()-this.start}resume(){this.start=Date.now(),clearTimeout(this.notifyItem.timer),this.notifyItem.timer=setTimeout(this.callback,this.remaining)}}const Lo="[-+]?[0-9]*.?[0-9]+",ms=[{name:"px",regexp:new RegExp(`^${Lo}px$`)},{name:"%",regexp:new RegExp(`^${Lo}%$`)},{name:"px",regexp:new RegExp(`^${Lo}$`)}],Gc=e=>{if(e==="auto")return{type:e,value:0};for(let t=0;t<ms.length;t++){const n=ms[t];if(n.regexp.test(e))return{type:n.name,value:parseFloat(e)}}return{type:"",value:e}},Kc=e=>{switch(typeof e){case"number":return{type:"px",value:e};case"string":return Gc(e);default:return{type:"",value:e}}},hs={x:new Set(["left","center","right"]),y:new Set(["top","bottom"])},Jc=(e=>()=>e++)(0),Zc=e=>typeof e!="string"?[]:e.split(/\s+/gi).filter(Boolean),Qc=e=>{typeof e=="string"&&(e=Zc(e));let t=null,n=null;return e.forEach(s=>{hs.y.has(s)&&(n=s),hs.x.has(s)&&(t=s)}),{x:t,y:n}},zo={position:["top","right"],cssAnimation:"fade",velocityAnimation:{enter:e=>({height:[e.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},el={__name:"VelocityGroup",emits:["enter","leave","after-leave"],setup(e,{emit:t}){const n=(c,l)=>{t("enter",c,l)},s=(c,l)=>{t("leave",c,l)},r=()=>{t("after-leave")};return(c,l)=>(o.openBlock(),o.createBlock(o.TransitionGroup,{tag:"span",css:!1,onEnter:n,onLeave:s,onAfterLeave:r},{default:o.withCtx(()=>[o.renderSlot(c.$slots,"default")]),_:3}))}},tl=Object.assign({inheritAttrs:!1},{__name:"CssGroup",props:{name:String},setup(e){const t=e;return(n,s)=>(o.openBlock(),o.createBlock(o.TransitionGroup,{tag:"span",name:t.name},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3},8,["name"]))}}),ol=["data-id"],nl=["onClick"],sl=["innerHTML"],rl=["innerHTML"],cl={key:0,class:"d-notification-title"},ll={class:"notification-content"},il={__name:"DNotificationProvider",props:{group:{type:String,default:""},width:{type:[String,Number],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array,null],default:zo.position},classes:{type:String,default:"d-notification"},animationType:{type:String,default:"css"},animation:{type:[String,Object],default:zo.velocityAnimation},animationName:{type:String,default:zo.cssAnimation},speed:{type:Number,default:300},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!1},dangerouslySetInnerHtml:{type:Boolean,default:!1}},emits:["click","destroy","start"],setup(e,{emit:t}){const n=e,s={IDLE:0,DESTROYED:2},r=o.ref([]),c=o.ref(null),l=o.ref(Uc.get("velocity")),a=o.computed(()=>n.animationType==="velocity"),i=o.computed(()=>a.value?el:tl),d=o.computed(()=>r.value.filter(y=>y.state!==s.DESTROYED)),f=o.computed(()=>Kc(n.width)),u=o.computed(()=>{const{x:y,y:V}=Qc(n.position),g=f.value.value,x=f.value.type,B={width:g+x};return V&&(B[V]="0px"),y&&(y==="center"?B.left=`calc(50% - ${+g/2}${x})`:B[y]="0px"),B}),p=o.computed(()=>"bottom"in u.value),m=y=>{t("click",y),n.closeOnClick&&$(y)},S=()=>{var y;n.pauseOnHover&&((y=c.value)==null||y.pause())},b=()=>{var y;n.pauseOnHover&&((y=c.value)==null||y.resume())},C=y=>{if(y.group||(y.group=""),y.data||(y.data={}),n.group!==y.group)return;if(y.clean||y.clear){I();return}const V=typeof y.duration=="number"?y.duration:n.duration,g=typeof y.speed=="number"?y.speed:n.speed,x=typeof y.ignoreDuplicates=="boolean"?y.ignoreDuplicates:n.ignoreDuplicates,{title:B,text:E,type:R,data:A,id:v}=y,N={id:v||Jc(),title:B,text:E,type:R,state:s.IDLE,speed:g,length:V+2*g,data:A};V>=0&&(c.value=new qc(()=>$(N),N.length,N));const F=n.reverse?!p.value:p.value;let X=-1;const q=d.value.some(O=>O.title===y.title&&O.text===y.text);(!x||!q)&&(F?(r.value.push(N),t("start",N),d.value.length>n.max&&(X=0)):(r.value.unshift(N),t("start",N),d.value.length>n.max&&(X=d.value.length-1)),X!==-1&&$(d.value[X]))},D=y=>{_(y)},h=y=>["d-notification-template",n.classes,y.type||""],w=y=>a.value?void 0:{transition:`all ${y.speed}ms`},$=y=>{clearTimeout(y.timer),y.state=s.DESTROYED,j(),t("destroy",y)},_=y=>{const V=r.value.find(g=>g.id===y);V&&$(V)},I=()=>{d.value.forEach($)},P=(y,V)=>{var x;const g=(x=n.animation)==null?void 0:x[y];return typeof g=="function"?g(V):g},M=(y,V)=>{if(!a.value)return;const g=P("enter",y);l.value(y,g,{duration:n.speed,complete:V})},k=(y,V)=>{if(!a.value)return;const g=P("leave",y);l.value(y,g,{duration:n.speed,complete:V})};function j(){r.value=r.value.filter(y=>y.state!==s.DESTROYED)}return o.onMounted(()=>{me.on("notification-add",C),me.on("notification-close",D)}),(y,V)=>(o.openBlock(),o.createElementBlock("div",{class:"d-notification-group",style:o.normalizeStyle(u.value)},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(i.value),{name:e.animationName,onEnter:M,onLeave:k,onAfterLeave:j},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.value,g=>(o.openBlock(),o.createElementBlock("div",{key:g.id,class:"d-notification-wrapper",style:o.normalizeStyle(w(g)),"data-id":g.id,onMouseenter:S,onMouseleave:b},[o.renderSlot(y.$slots,"body",{class:o.normalizeClass([e.classes,g.type]),item:g,close:()=>$(g)},()=>[o.createElementVNode("div",{class:o.normalizeClass(h(g)),onClick:x=>m(g)},[e.dangerouslySetInnerHtml?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[g.title?(o.openBlock(),o.createElementBlock("div",{key:0,class:"d-notification-title",innerHTML:g.timer},null,8,sl)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"notification-content",innerHTML:g.text},null,8,rl)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[g.title?(o.openBlock(),o.createElementBlock("div",cl,o.toDisplayString(g.title),1)):o.createCommentVNode("",!0),o.createElementVNode("div",ll,o.toDisplayString(g.text),1)],64))],10,nl)])],44,ol))),128))]),_:3},40,["name"]))],4))}},al={class:"d-info-progress-icon-container"},dl={class:"d-info-progress-icon"},fl={class:"d-info-progress-data-container"},ul=["innerHTML"],pl={__name:"DInfoProgress",props:{style:[String,Object],label:String,progress:Number,icon:String,type:String},emits:["click"],setup(e,{emit:t}){const n=e,s=o.computed(()=>n.icon?ke.getters.getIcon(n.icon):null);return(r,c)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["d-info-progress",n.type?`d-info-progress-${n.type}`:null]),style:o.normalizeStyle(n.style),onClick:c[0]||(c[0]=l=>{t("click",l)})},[o.createElementVNode("div",al,[o.createElementVNode("div",dl,[n.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(Je),{key:0,component:s.value,color:"inherit",size:17},null,8,["component"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",fl,[o.createElementVNode("div",{class:"d-info-progress-line",style:o.normalizeStyle("width: "+n.progress+"%;")},null,4),o.createElementVNode("div",{class:"d-info-progress-label",innerHTML:e.label},null,8,ul)])],6))}},ml={class:"d-checkbox"},hl=["id","checked","disabled"],gl=["for"],yl={__name:"DCheckbox",props:{label:String,modelValue:Boolean,disabled:{type:Boolean,default:!1},change:Function,checked:Boolean},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=o.getCurrentInstance().uid,c=o.computed({get:()=>n.modelValue,set:l=>{t("update:modelValue",l)}});return(l,a)=>(o.openBlock(),o.createElementBlock("div",ml,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":a[0]||(a[0]=i=>c.value=i),id:`i-${o.unref(r)}`,type:"checkbox",checked:n.checked,disabled:n.disabled,onChange:a[1]||(a[1]=(...i)=>n.change&&n.change(...i))},null,40,hl),[[o.vModelCheckbox,c.value]]),o.createElementVNode("label",{for:`i-${o.unref(r)}`},o.toDisplayString(n.label),9,gl)]))}};async function gs(e,t){return await ds(us,{title:e,message:t})}async function ys(e,t){return await ds(fs,{title:e,message:t})}const bl={__name:"DDialogProvider",setup(e){return window.alert=ys,window.confirm=gs,(t,n)=>(o.openBlock(),o.createBlock(o.unref(Vc)))}},Sl={class:"d-select"},kl={key:0,class:"label"},_l=["value","selected","disabled"],wl={__name:"DSelect",props:{label:String,size:String,options:Array,modelValue:String,scale:String},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=o.computed(()=>n.scale?"d-select-"+n.scale:""),r=o.computed({get:()=>n.modelValue,set:c=>{t("update:modelValue",c)}});for(let c=0;c<n.options.length;c++)if(n.options[c].selected){r.value=n.options[c].value;break}return(c,l)=>(o.openBlock(),o.createElementBlock("div",Sl,[n.label?(o.openBlock(),o.createElementBlock("div",kl,o.toDisplayString(n.label),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("select",{"onUpdate:modelValue":l[0]||(l[0]=a=>r.value=a),class:o.normalizeClass(s.value),style:o.normalizeStyle(n.size==="wide"?"width:100%":"")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.options,(a,i)=>(o.openBlock(),o.createElementBlock("option",{key:i,value:a.value,selected:a.selected,disabled:a.disabled},o.toDisplayString(a.label),9,_l))),128))],6),[[o.vModelSelect,r.value]])]))}},Ql="",xl={class:"d-tabs"},$l=["onClick"],Bl=We({__name:"DTabs",props:{tabs:Array},setup(e){const t=e,n=o.toRef(t,"tabs"),s=o.ref(0),r=c=>{s.value=c};return(c,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",xl,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(a,i)=>(o.openBlock(),o.createElementBlock("div",{key:i,class:o.normalizeClass([i===s.value?"active":"","d-tab-title"]),onClick:d=>r(i)},o.toDisplayString(a.label),11,$l))),128))]),(o.openBlock(),o.createBlock(o.KeepAlive,null,[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.value[s.value].component)))],1024))],64))}},[["__scopeId","data-v-89cd9234"]]),ti="",Cl={class:"d-grid"},Dl=We({__name:"DGrid",props:{gap:{type:String,default:"1em"},colXs:{type:String,default:"repeat(1, 1fr)"},colSm:String,colMd:String,colLg:String,colXl:String,colXxl:String},setup(e){const t=e;o.useCssVars(f=>({"09eba472":i[0],"09eba434":i[1],"09eba3f6":i[2],"09eba3b8":i[3],"09eba37a":i[4],"09eba33c":i[5],"898eb2ac":t.gap}));const{colXs:n,colSm:s,colMd:r,colLg:c,colXl:l,colXxl:a}=o.toRefs(t),i=[n.value,s.value,r.value,c.value,l.value,a.value];let d=null;for(let f=0;f<i.length;f++)d||(d=i[0]),f>0&&(i[f]?d=i[f]:i[f]=d);return(f,u)=>(o.openBlock(),o.createElementBlock("div",Cl,[o.renderSlot(f.$slots,"default",{},void 0,!0)]))}},[["__scopeId","data-v-b45e8130"]]),Mo=e=>{typeof e=="string"&&(e={title:"",text:e}),typeof e=="object"&&me.emit("notification-add",e)};Mo.close=e=>{me.emit("notification-close",e)};const Tl=()=>({notify:Mo}),El={mounted:function(e,t){e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||t.value(n,e)},document.addEventListener("click",e.clickOutsideEvent)},unmounted:function(e){document.removeEventListener("click",e.clickOutsideEvent)}},Nl={beforeMount(e,t){e._keydownCallback=n=>{n.key===t.arg&&t.value()},document.addEventListener("keydown",e._keydownCallback)},unmounted(e,t){document.removeEventListener("keydown",e._keydownCallback),delete e._keydownCallback}},vl={beforeMount(e){e.focus()}};function bs(e){return e.type.indexOf("mouse")!==-1?e.clientX:e.touches[0].clientX}function Ss(e){return e.type.indexOf("mouse")!==-1?e.clientY:e.touches[0].clientY}var Ol=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch{}return e}(),Il={disableClick:!1,tapTolerance:10,swipeTolerance:30,touchHoldTolerance:400,longTapTimeInterval:400,touchClass:"",dragFrequency:100,rollOverFrequency:100};function Rt(e){var t=this.$$touchObj,n=e.type.indexOf("touch")>=0,s=e.type.indexOf("mouse")>=0,r=this;n&&(t.lastTouchStartTime=e.timeStamp),!(s&&t.lastTouchStartTime&&e.timeStamp-t.lastTouchStartTime<350)&&(t.touchStarted||(xs(this),t.touchStarted=!0,t.touchMoved=!1,t.swipeOutBounded=!1,t.startX=bs(e),t.startY=Ss(e),t.currentX=0,t.currentY=0,t.touchStartTime=e.timeStamp,t.hasSwipe=Be(this,"swipe")||Be(this,"swipe.left")||Be(this,"swipe.right")||Be(this,"swipe.top")||Be(this,"swipe.bottom"),Be(this,"hold")&&(t.touchHoldTimer=setTimeout(function(){t.touchHoldTimer=null,ve(e,r,"hold")},t.options.touchHoldTolerance)),ve(e,this,"press")))}function Ft(e){var t=this.$$touchObj,n=bs(e),s=Ss(e),r=t.currentX!=n||t.currentY!=s;if(t.currentX=n,t.currentY=s,t.touchMoved){if(t.hasSwipe&&!t.swipeOutBounded){var l=t.options.swipeTolerance;t.swipeOutBounded=Math.abs(t.startX-t.currentX)>l&&Math.abs(t.startY-t.currentY)>l}}else{var c=t.options.tapTolerance;t.touchMoved=Math.abs(t.startX-t.currentX)>c||Math.abs(t.startY-t.currentY)>c,t.touchMoved&&(Ao(t),ve(e,this,"drag.once"))}if(Be(this,"rollover")&&r){var a=e.timeStamp,i=t.options.rollOverFrequency;(t.touchRollTime==null||a>t.touchRollTime+i)&&(t.touchRollTime=a,ve(e,this,"rollover"))}if(Be(this,"drag")&&t.touchStarted&&t.touchMoved&&r){var a=e.timeStamp,i=t.options.dragFrequency;(t.touchDragTime==null||a>t.touchDragTime+i)&&(t.touchDragTime=a,ve(e,this,"drag"))}}function ks(){var e=this.$$touchObj;Ao(e),Ho(this),e.touchStarted=e.touchMoved=!1,e.startX=e.startY=0}function Wt(e){var t=this.$$touchObj,n=e.type.indexOf("touch")>=0,s=e.type.indexOf("mouse")>=0;n&&(t.lastTouchEndTime=e.timeStamp);var r=n&&!t.touchHoldTimer;if(Ao(t),t.touchStarted=!1,Ho(this),!(s&&t.lastTouchEndTime&&e.timeStamp-t.lastTouchEndTime<350))if(ve(e,this,"release"),t.touchMoved){if(t.hasSwipe&&!t.swipeOutBounded){var c=t.options.swipeTolerance,l,a=Math.abs(t.startY-t.currentY),i=Math.abs(t.startX-t.currentX);(a>c||i>c)&&(a>c?l=t.startY>t.currentY?"top":"bottom":l=t.startX>t.currentX?"left":"right",Be(this,"swipe."+l)?ve(e,this,"swipe."+l,l):ve(e,this,"swipe",l))}}else if(Be(this,"longtap")&&e.timeStamp-t.touchStartTime>t.options.longTapTimeInterval)e.cancelable&&e.preventDefault(),ve(e,this,"longtap");else if(Be(this,"hold")&&r){e.cancelable&&e.preventDefault();return}else ve(e,this,"tap")}function _s(){xs(this)}function ws(){Ho(this)}function Be(e,t){var n=e.$$touchObj.callbacks[t];return n!=null&&n.length>0}function ve(e,t,n,s){var r=t.$$touchObj,c=r.callbacks[n];if(c==null||c.length===0)return null;for(var l=0;l<c.length;l++){var a=c[l];a.modifiers.stop&&e.stopPropagation(),a.modifiers.prevent&&e.preventDefault(),!(a.modifiers.self&&e.target!==e.currentTarget)&&typeof a.value=="function"&&(s?a.value(s,e):a.value(e))}}function xs(e){var t=e.$$touchObj.options.touchClass;t&&e.classList.add(t)}function Ho(e){var t=e.$$touchObj.options.touchClass;t&&e.classList.remove(t)}function Ao(e){e.touchHoldTimer&&(clearTimeout(e.touchHoldTimer),e.touchHoldTimer=null)}function Vl(e,t){var n=e.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:Il};return t&&(n.options=Object.assign({},n.options,t)),e.$$touchObj=n,e.$$touchObj}const Ll={beforeMount:function(e,t){const n=Vl(e);let s=Ol?{passive:!0}:!1;const r=t.arg||"tap";switch(r){case"swipe":let c=t.modifiers;if(c.left||c.right||c.top||c.bottom){for(let l in t.modifiers)if(["left","right","top","bottom"].indexOf(l)>=0){let a="swipe."+l;n.callbacks[a]=n.callbacks[a]||[],n.callbacks[a].push(t)}}else n.callbacks.swipe=n.callbacks.swipe||[],n.callbacks.swipe.push(t);break;case"press":case"drag":t.modifiers.disablePassive&&(s=!1);default:n.callbacks[r]=n.callbacks[r]||[],n.callbacks[r].push(t)}n.hasBindTouchEvents||(e.addEventListener("touchstart",Rt,s),e.addEventListener("touchmove",Ft,s),e.addEventListener("touchcancel",ks),e.addEventListener("touchend",Wt),n.options.disableClick||(e.addEventListener("mousedown",Rt),e.addEventListener("mousemove",Ft),e.addEventListener("mouseup",Wt),e.addEventListener("mouseenter",_s),e.addEventListener("mouseleave",ws)),n.hasBindTouchEvents=!0)},unmounted:function(e){e.removeEventListener("touchstart",Rt),e.removeEventListener("touchmove",Ft),e.removeEventListener("touchcancel",ks),e.removeEventListener("touchend",Wt),e.$$touchObj&&!e.$$touchObj.options.disableClick&&(e.removeEventListener("mousedown",Rt),e.removeEventListener("mousemove",Ft),e.removeEventListener("mouseup",Wt),e.removeEventListener("mouseenter",_s),e.removeEventListener("mouseleave",ws)),delete e.$$touchObj}};z.DAccordion=Us,z.DAlertDialog=fs,z.DBadge=qo,z.DButton=Fe,z.DCard=Yc,z.DCheckbox=yl,z.DCollapse=Go,z.DConfigProvider=Qs,z.DConfirmDialog=us,z.DContextMenu=en,z.DDialogProvider=bl,z.DDrag=Ko,z.DDrop=Qo,z.DDropdown=Hc,z.DGlobalStore=ze,z.DGrid=Dl,z.DIcon=Je,z.DIconStore=ke,z.DInfoProgress=pl,z.DInput=Is,z.DLayoutAdmin=Zs,z.DLayoutContent=rn,z.DLayoutFooter=nn,z.DLayoutHeader=tn,z.DLayoutSidebar=sn,z.DLayoutTab=on,z.DMenu=Gt,z.DModal=Io,z.DNotificationProvider=il,z.DPanel=ps,z.DScroll=$c,z.DScrollProvider=xc,z.DSelect=wl,z.DTabs=Bl,z.DTransferStore=ht,z.DTree=Kt,z.DTreeItem=Jo,z.DTreeStore=H,z.alert=ys,z.clickOutside=El,z.confirm=gs,z.emitter=me,z.eventsBus=Zo,z.focus=vl,z.keydown=Nl,z.notify=Mo,z.touch=Ll,z.useNotification=Tl,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
|
|
9
|
+
*/function U(e,t){if($t(e))for(let n=0;n<e.length&&t(e[n],n,e)!==!1;n++);else e&&U(Object.keys(e),n=>t(e[n],n,e));return e}function le(e,t){const n=Xe(t);if(ye(t)||n){let r=n?"":{};if(e){const c=window.getComputedStyle(e,null);r=n?Sn(e,c,t):t.reduce((l,a)=>(l[a]=Sn(e,c,a),l),r)}return r}e&&U(he(t),r=>hr(e,r,t[r]))}const _e=(e,t)=>{const{o:n,u:s,_:r}=e;let c=n,l;const a=(f,u)=>{const p=c,m=f,S=u||(s?!s(p,m):p!==m);return(S||r)&&(c=m,l=p),[c,S,l]};return[t?f=>a(t(c,l),f):a,f=>[c,!!f,l]]},gt=()=>typeof window<"u",cn=gt()&&Node.ELEMENT_NODE,{toString:er,hasOwnProperty:Jt}=Object.prototype,Me=e=>e===void 0,xt=e=>e===null,tr=e=>Me(e)||xt(e)?`${e}`:er.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),je=e=>typeof e=="number",Xe=e=>typeof e=="string",Zt=e=>typeof e=="boolean",we=e=>typeof e=="function",ye=e=>Array.isArray(e),yt=e=>typeof e=="object"&&!ye(e)&&!xt(e),$t=e=>{const t=!!e&&e.length,n=je(t)&&t>-1&&t%1==0;return ye(e)||!we(e)&&n?t>0&&yt(e)?t-1 in e:!0:!1},Qt=e=>{if(!e||!yt(e)||tr(e)!=="object")return!1;let t;const n="constructor",s=e[n],r=s&&s.prototype,c=Jt.call(e,n),l=r&&Jt.call(r,"isPrototypeOf");if(s&&!c&&!l)return!1;for(t in e);return Me(t)||Jt.call(e,t)},bt=e=>{const t=HTMLElement;return e?t?e instanceof t:e.nodeType===cn:!1},Bt=e=>{const t=Element;return e?t?e instanceof t:e.nodeType===cn:!1},eo=(e,t,n)=>e.indexOf(t,n),K=(e,t,n)=>(!n&&!Xe(t)&&$t(t)?Array.prototype.push.apply(e,t):e.push(t),e),Ze=e=>{const t=Array.from,n=[];return t&&e?t(e):(e instanceof Set?e.forEach(s=>{K(n,s)}):U(e,s=>{K(n,s)}),n)},to=e=>!!e&&e.length===0,Te=(e,t,n)=>{U(e,r=>r&&r.apply(void 0,t||[])),!n&&(e.length=0)},Ct=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),he=e=>e?Object.keys(e):[],te=(e,t,n,s,r,c,l)=>{const a=[t,n,s,r,c,l];return(typeof e!="object"||xt(e))&&!we(e)&&(e={}),U(a,i=>{U(he(i),d=>{const f=i[d];if(e===f)return!0;const u=ye(f);if(f&&(Qt(f)||u)){const p=e[d];let m=p;u&&!ye(p)?m=[]:!u&&!Qt(p)&&(m={}),e[d]=te(m,f)}else e[d]=f})}),e},oo=e=>{for(const t in e)return!1;return!0},ln=(e,t,n,s)=>{if(Me(s))return n?n[e]:t;n&&(Xe(s)||je(s))&&(n[e]=s)},ie=(e,t,n)=>{if(Me(n))return e?e.getAttribute(t):null;e&&e.setAttribute(t,n)},ae=(e,t)=>{e&&e.removeAttribute(t)},Qe=(e,t,n,s)=>{if(n){const r=ie(e,t)||"",c=new Set(r.split(" "));c[s?"add":"delete"](n);const l=Ze(c).join(" ").trim();ie(e,t,l)}},or=(e,t,n)=>{const s=ie(e,t)||"";return new Set(s.split(" ")).has(n)},xe=(e,t)=>ln("scrollLeft",0,e,t),He=(e,t)=>ln("scrollTop",0,e,t),no=gt()&&Element.prototype,an=(e,t)=>{const n=[],s=t?Bt(t)?t:null:document;return s?K(n,s.querySelectorAll(e)):n},nr=(e,t)=>{const n=t?Bt(t)?t:null:document;return n?n.querySelector(e):null},Dt=(e,t)=>Bt(e)?(no.matches||no.msMatchesSelector).call(e,t):!1,so=e=>e?Ze(e.childNodes):[],Ae=e=>e?e.parentElement:null,ct=(e,t)=>{if(Bt(e)){const n=no.closest;if(n)return n.call(e,t);do{if(Dt(e,t))return e;e=Ae(e)}while(e)}return null},sr=(e,t,n)=>{const s=e&&ct(e,t),r=e&&nr(n,s),c=ct(r,t)===s;return s&&r?s===e||r===e||c&&ct(ct(e,n),t)!==s:!1},ro=(e,t,n)=>{if(n&&e){let s=t,r;$t(n)?(r=document.createDocumentFragment(),U(n,c=>{c===s&&(s=c.previousSibling),r.appendChild(c)})):r=n,t&&(s?s!==t&&(s=s.nextSibling):s=e.firstChild),e.insertBefore(r,s||null)}},be=(e,t)=>{ro(e,null,t)},rr=(e,t)=>{ro(Ae(e),e,t)},dn=(e,t)=>{ro(Ae(e),e&&e.nextSibling,t)},Ee=e=>{if($t(e))U(Ze(e),t=>Ee(t));else if(e){const t=Ae(e);t&&t.removeChild(e)}},et=e=>{const t=document.createElement("div");return e&&ie(t,"class",e),t},fn=e=>{const t=et();return t.innerHTML=e.trim(),U(so(t),n=>Ee(n))},co=e=>e.charAt(0).toUpperCase()+e.slice(1),cr=()=>et().style,lr=["-webkit-","-moz-","-o-","-ms-"],ir=["WebKit","Moz","O","MS","webkit","moz","o","ms"],lo={},io={},ar=e=>{let t=io[e];if(Ct(io,e))return t;const n=co(e),s=cr();return U(lr,r=>{const c=r.replace(/-/g,"");return!(t=[e,r+e,c+n,co(c)+n].find(a=>s[a]!==void 0))}),io[e]=t||""},lt=e=>{if(gt()){let t=lo[e]||window[e];return Ct(lo,e)||(U(ir,n=>(t=t||window[n+co(e)],!t)),lo[e]=t),t}},dr=lt("MutationObserver"),un=lt("IntersectionObserver"),it=lt("ResizeObserver"),pn=lt("cancelAnimationFrame"),mn=lt("requestAnimationFrame"),ao=lt("ScrollTimeline"),Tt=gt()&&window.setTimeout,fo=gt()&&window.clearTimeout,fr=/[^\x20\t\r\n\f]+/g,hn=(e,t,n)=>{const s=e&&e.classList;let r,c=0,l=!1;if(s&&t&&Xe(t)){const a=t.match(fr)||[];for(l=a.length>0;r=a[c++];)l=!!n(s,r)&&l}return l},uo=(e,t)=>{hn(e,t,(n,s)=>n.remove(s))},Pe=(e,t)=>(hn(e,t,(n,s)=>n.add(s)),uo.bind(0,e,t)),Et=(e,t,n,s)=>{if(e&&t){let r=!0;return U(n,c=>{const l=s?s(e[c]):e[c],a=s?s(t[c]):t[c];l!==a&&(r=!1)}),r}return!1},gn=(e,t)=>Et(e,t,["w","h"]),yn=(e,t)=>Et(e,t,["x","y"]),ur=(e,t)=>Et(e,t,["t","r","b","l"]),bn=(e,t,n)=>Et(e,t,["width","height"],n&&(s=>Math.round(s))),ge=()=>{},tt=e=>{let t;const n=e?Tt:mn,s=e?fo:pn;return[r=>{s(t),t=n(r,we(e)?e():e)},()=>s(t)]},po=(e,t)=>{let n,s,r,c=ge;const{g:l,v:a,p:i}=t||{},d=function(S){c(),fo(n),n=s=void 0,c=ge,e.apply(this,S)},f=m=>i&&s?i(s,m):m,u=()=>{c!==ge&&d(f(r)||r)},p=function(){const S=Ze(arguments),b=we(l)?l():l;if(je(b)&&b>=0){const D=we(a)?a():a,h=je(D)&&D>=0,w=b>0?Tt:mn,$=b>0?fo:pn,I=f(S)||S,P=d.bind(0,I);c();const M=w(P,b);c=()=>$(M),h&&!n&&(n=Tt(u,D)),s=r=I}else d(S)};return p.m=u,p},pr={opacity:1,zIndex:1},Nt=(e,t)=>{const n=e||"",s=t?parseFloat(n):parseInt(n,10);return s===s?s:0},mr=(e,t)=>!pr[e]&&je(t)?`${t}px`:t,Sn=(e,t,n)=>String((t!=null?t[n]||t.getPropertyValue(n):e.style[n])||""),hr=(e,t,n)=>{try{const{style:s}=e;Me(s[t])?s.setProperty(t,n):s[t]=mr(t,n)}catch{}},St=e=>le(e,"direction")==="rtl",kn=(e,t,n)=>{const s=t?`${t}-`:"",r=n?`-${n}`:"",c=`${s}top${r}`,l=`${s}right${r}`,a=`${s}bottom${r}`,i=`${s}left${r}`,d=le(e,[c,l,a,i]);return{t:Nt(d[c],!0),r:Nt(d[l],!0),b:Nt(d[a],!0),l:Nt(d[i],!0)}},at=(e,t)=>`translate${ye(e)?`(${e[0]},${e[1]})`:`${t?"X":"Y"}(${e})`}`,{round:_n}=Math,mo={w:0,h:0},kt=e=>e?{w:e.offsetWidth,h:e.offsetHeight}:mo,vt=e=>e?{w:e.clientWidth,h:e.clientHeight}:mo,Ot=e=>e?{w:e.scrollWidth,h:e.scrollHeight}:mo,It=e=>{const t=parseFloat(le(e,"height"))||0,n=parseFloat(le(e,"width"))||0;return{w:n-_n(n),h:t-_n(t)}},Ne=e=>e.getBoundingClientRect(),dt=e=>!!(e&&(e.height||e.width));let Vt;const gr=()=>{if(Me(Vt)){Vt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Vt=!0}}))}catch{}}return Vt},wn=e=>e.split(" "),yr=(e,t,n,s)=>{U(wn(t),r=>{e.removeEventListener(r,n,s)})},oe=(e,t,n,s)=>{var r;const c=gr(),l=(r=c&&s&&s.S)!=null?r:c,a=s&&s.$||!1,i=s&&s.C||!1,d=[],f=c?{passive:l,capture:a}:a;return U(wn(t),u=>{const p=i?m=>{e.removeEventListener(u,p,a),n&&n(m)}:n;K(d,yr.bind(null,e,u,p,a)),e.addEventListener(u,p,f)}),Te.bind(0,d)},xn=e=>e.stopPropagation(),$n=e=>e.preventDefault(),br={x:0,y:0},ho=e=>{const t=e?Ne(e):0;return t?{x:t.left+window.pageYOffset,y:t.top+window.pageXOffset}:br},Bn=(e,t)=>{U(ye(t)?t:[t],e)},go=e=>{const t=new Map,n=(c,l)=>{if(c){const a=t.get(c);Bn(i=>{a&&a[i?"delete":"clear"](i)},l)}else t.forEach(a=>{a.clear()}),t.clear()},s=(c,l)=>{if(Xe(c)){const d=t.get(c)||new Set;return t.set(c,d),Bn(f=>{we(f)&&d.add(f)},l),n.bind(0,c,l)}Zt(l)&&l&&n();const a=he(c),i=[];return U(a,d=>{const f=c[d];f&&K(i,s(d,f))}),Te.bind(0,i)},r=(c,l)=>{const a=t.get(c);U(Ze(a),i=>{l&&!to(l)?i.apply(0,l):i()})};return s(e||{}),[s,n,r]},Cn=e=>JSON.stringify(e,(t,n)=>{if(we(n))throw new Error;return n}),Sr={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Dn=(e,t)=>{const n={},s=he(t).concat(he(e));return U(s,r=>{const c=e[r],l=t[r];if(yt(c)&&yt(l))te(n[r]={},Dn(c,l)),oo(n[r])&&delete n[r];else if(Ct(t,r)&&l!==c){let a=!0;if(ye(c)||ye(l))try{Cn(c)===Cn(l)&&(a=!1)}catch{}a&&(n[r]=l)}}),n},_t="data-overlayscrollbars",Tn="os-environment",En=`${Tn}-flexbox-glue`,kr=`${En}-max`,Nn="os-scrollbar-hidden",yo=`${_t}-initialize`,$e=_t,vn=`${$e}-overflow-x`,On=`${$e}-overflow-y`,ft="overflowVisible",_r="scrollbarHidden",In="scrollbarPressed",Lt="updating",Ye=`${_t}-viewport`,bo="arrange",Vn="scrollbarHidden",ut=ft,So=`${_t}-padding`,wr=ut,Ln=`${_t}-content`,ko="os-size-observer",xr=`${ko}-appear`,$r=`${ko}-listener`,Br="os-trinsic-observer",Cr="os-no-css-vars",Dr="os-theme-none",de="os-scrollbar",Tr=`${de}-rtl`,Er=`${de}-horizontal`,Nr=`${de}-vertical`,zn=`${de}-track`,_o=`${de}-handle`,vr=`${de}-visible`,Or=`${de}-cornerless`,Mn=`${de}-transitionless`,Hn=`${de}-interaction`,An=`${de}-unusable`,wo=`${de}-auto-hide`,Pn=`${wo}-hidden`,Rn=`${de}-wheel`,Ir=`${zn}-interactive`,Vr=`${_o}-interactive`,Fn={},ot=()=>Fn,Lr=e=>{const t=[];return U(ye(e)?e:[e],n=>{const s=he(n);U(s,r=>{K(t,Fn[r]=n[r])})}),t},zr="__osOptionsValidationPlugin",Mr="__osSizeObserverPlugin",xo="__osScrollbarsHidingPlugin",Hr="__osClickScrollPlugin";let $o;const Wn=(e,t,n,s)=>{be(e,t);const r=vt(t),c=kt(t),l=It(n);return s&&Ee(t),{x:c.h-r.h+l.h,y:c.w-r.w+l.w}},Ar=e=>{let t=!1;const n=Pe(e,Nn);try{t=le(e,ar("scrollbar-width"))==="none"||window.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return n(),t},Pr=(e,t)=>{const n="hidden";le(e,{overflowX:n,overflowY:n,direction:"rtl"}),xe(e,0);const s=ho(e),r=ho(t);xe(e,-999);const c=ho(t);return{i:s.x===r.x,n:r.x!==c.x}},Rr=(e,t)=>{const n=Pe(e,En),s=Ne(e),r=Ne(t),c=bn(r,s,!0),l=Pe(e,kr),a=Ne(e),i=Ne(t),d=bn(i,a,!0);return n(),l(),c&&d},Fr=()=>{const{body:e}=document,n=fn(`<div class="${Tn}"><div></div></div>`)[0],s=n.firstChild,[r,,c]=go(),[l,a]=_e({o:Wn(e,n,s),u:yn},Wn.bind(0,e,n,s,!0)),[i]=a(),d=Ar(n),f={x:i.x===0,y:i.y===0},u={elements:{host:null,padding:!d,viewport:h=>d&&h===h.ownerDocument.body&&h,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=te({},Sr),m=te.bind(0,{},p),S=te.bind(0,{},u),b={k:i,I:f,A:d,H:le(n,"zIndex")==="-1",B:!!ao,V:Pr(n,s),Y:Rr(n,s),j:r.bind(0,"z"),N:r.bind(0,"r"),q:S,F:h=>te(u,h)&&S(),G:m,X:h=>te(p,h)&&m(),U:te({},u),W:te({},p)},C=window.addEventListener,D=po(h=>c(h?"z":"r"),{g:33,v:99});if(ae(n,"style"),Ee(n),C("resize",D.bind(0,!1)),!d&&(!f.x||!f.y)){let h;C("resize",()=>{const w=ot()[xo];h=h||w&&w.R(),h&&h(b,l,D.bind(0,!0))})}return b},fe=()=>($o||($o=Fr()),$o),Bo=(e,t)=>we(t)?t.apply(0,e):t,Wr=(e,t,n,s)=>{const r=Me(s)?n:s;return Bo(e,r)||t.apply(0,e)},jn=(e,t,n,s)=>{const r=Me(s)?n:s,c=Bo(e,r);return!!c&&(bt(c)?c:t.apply(0,e))},jr=(e,t,n)=>{const{nativeScrollbarsOverlaid:s,body:r}=n||{},{I:c,A:l}=fe(),{nativeScrollbarsOverlaid:a,body:i}=t,d=s??a,f=Me(r)?i:r,u=(c.x||c.y)&&d,p=e&&(xt(f)?!l:f);return!!u||!!p},Co=new WeakMap,Xr=(e,t)=>{Co.set(e,t)},Yr=e=>{Co.delete(e)},Xn=e=>Co.get(e),Yn=(e,t)=>e?t.split(".").reduce((n,s)=>n&&Ct(n,s)?n[s]:void 0,e):void 0,Do=(e,t,n)=>s=>[Yn(e,s),n||Yn(t,s)!==void 0],Un=e=>{let t=e;return[()=>t,n=>{t=te({},t,n)}]},zt="tabindex",Mt=et.bind(0,""),To=e=>{be(Ae(e),so(e)),Ee(e)},Ur=e=>{const t=fe(),{q:n,A:s}=t,r=ot()[xo],c=r&&r.T,{elements:l}=n(),{host:a,padding:i,viewport:d,content:f}=l,u=bt(e),p=u?{}:e,{elements:m}=p,{host:S,padding:b,viewport:C,content:D}=m||{},h=u?e:p.target,w=Dt(h,"textarea"),$=h.ownerDocument,_=$.documentElement,I=h===$.body,P=$.defaultView,M=Wr.bind(0,[h]),k=jn.bind(0,[h]),j=Bo.bind(0,[h]),y=M.bind(0,Mt,d),V=k.bind(0,Mt,f),g=y(C),x=g===h,B=x&&I,E=!x&&V(D),R=!x&&bt(g)&&g===E,A=R&&!!j(f),v=A?y():g,N=A?E:V(),X=B?_:R?v:g,q=w?M(Mt,a,S):h,T=B?X:q,O=R?N:E,L=$.activeElement,Y=!x&&P.top===P&&L===h,W={Z:h,J:T,K:X,tt:!x&&k(Mt,i,b),nt:O,ot:!x&&!s&&c&&c(t),st:B?_:X,et:B?$:X,ct:P,rt:$,lt:w,it:I,ut:u,ft:x,dt:R,_t:(se,ue)=>or(X,x?$e:Ye,x?ue:se),ht:(se,ue,pe)=>Qe(X,x?$e:Ye,x?ue:se,pe)},J=he(W).reduce((se,ue)=>{const pe=W[ue];return K(se,pe&&bt(pe)&&!Ae(pe)?pe:!1)},[]),Q=se=>se?eo(J,se)>-1:null,{Z:ee,J:ne,tt:Z,K:G,nt:re,ot:Ce}=W,Se=[()=>{ae(ne,$e),ae(ne,yo),ae(ee,yo),I&&(ae(_,$e),ae(_,yo))}],Ge=w&&Q(ne);let st=w?ee:so([re,G,Z,ne,ee].find(se=>Q(se)===!1));const pt=B?ee:re||G;return[W,()=>{ie(ne,$e,x?"viewport":"host"),ie(Z,So,""),ie(re,Ln,""),x||ie(G,Ye,"");const se=I&&!x?Pe(Ae(h),Nn):ge;if(Ge&&(dn(ee,ne),K(Se,()=>{dn(ne,ee),Ee(ne)})),be(pt,st),be(ne,Z),be(Z||ne,!x&&G),be(G,re),K(Se,()=>{se(),ae(Z,So),ae(re,Ln),ae(G,vn),ae(G,On),ae(G,Ye),Q(re)&&To(re),Q(G)&&To(G),Q(Z)&&To(Z)}),s&&!x&&(Qe(G,Ye,Vn,!0),K(Se,ae.bind(0,G,Ye))),Ce&&(rr(G,Ce),K(Se,Ee.bind(0,Ce))),Y){const ue=ie(G,zt);ie(G,zt,"-1"),G.focus();const pe=()=>ue?ie(G,zt,ue):ae(G,zt),De=oe($,"pointerdown keydown",()=>{pe(),De()});K(Se,[pe,De])}else L&&L.focus&&L.focus();st=0},Te.bind(0,Se)]},qr=(e,t)=>{const{nt:n}=e,[s]=t;return r=>{const{Y:c}=fe(),{gt:l}=s(),{vt:a}=r,i=(n||!c)&&a;return i&&le(n,{height:l?"":"100%"}),{wt:i,bt:i}}},Gr=(e,t)=>{const[n,s]=t,{J:r,tt:c,K:l,ft:a}=e,[i,d]=_e({u:ur,o:kn()},kn.bind(0,r,"padding",""));return(f,u,p)=>{let[m,S]=d(p);const{A:b,Y:C}=fe(),{yt:D}=n(),{wt:h,bt:w,St:$}=f,[_,I]=u("paddingAbsolute");(h||S||!C&&w)&&([m,S]=i(p));const M=!a&&(I||$||S);if(M){const k=!_||!c&&!b,j=m.r+m.l,y=m.t+m.b,V={marginRight:k&&!D?-j:0,marginBottom:k?-y:0,marginLeft:k&&D?-j:0,top:k?-m.t:0,right:k?D?-m.r:"auto":0,left:k?D?"auto":-m.l:0,width:k?`calc(100% + ${j}px)`:""},g={paddingTop:k?m.t:0,paddingRight:k?m.r:0,paddingBottom:k?m.b:0,paddingLeft:k?m.l:0};le(c||l,V),le(l,g),s({tt:m,$t:!k,P:c?g:te({},V,g)})}return{xt:M}}},{max:Eo}=Math,Ue=Eo.bind(0,0),qn="visible",Gn="hidden",Kr=42,Ht={u:gn,o:{w:0,h:0}},Jr={u:yn,o:{x:Gn,y:Gn}},Zr=(e,t)=>{const n=window.devicePixelRatio%1!==0?1:0,s={w:Ue(e.w-t.w),h:Ue(e.h-t.h)};return{w:s.w>n?s.w:0,h:s.h>n?s.h:0}},At=e=>e.indexOf(qn)===0,Qr=(e,t)=>{const[n,s]=t,{J:r,tt:c,K:l,ot:a,ft:i,ht:d,it:f,ct:u}=e,{k:p,Y:m,A:S,I:b}=fe(),C=ot()[xo],D=!i&&!S&&(b.x||b.y),h=f&&i,[w,$]=_e(Ht,It.bind(0,l)),[_,I]=_e(Ht,Ot.bind(0,l)),[P,M]=_e(Ht),[k,j]=_e(Ht),[y]=_e(Jr),V=(A,v)=>{if(le(l,{height:""}),v){const{$t:N,tt:F}=n(),{Ct:X,M:q}=A,T=It(r),O=vt(r),L=le(l,"boxSizing")==="content-box",Y=N||L?F.b+F.t:0,W=!(b.x&&L);le(l,{height:O.h+T.h+(X.x&&W?q.x:0)-Y})}},g=(A,v)=>{const N=!S&&!A?Kr:0,F=(Q,ee,ne)=>{const Z=le(l,Q),re=(v?v[Q]:Z)==="scroll";return[Z,re,re&&!S?ee?N:ne:0,ee&&!!N]},[X,q,T,O]=F("overflowX",b.x,p.x),[L,Y,W,J]=F("overflowY",b.y,p.y);return{Ot:{x:X,y:L},Ct:{x:q,y:Y},M:{x:T,y:W},D:{x:O,y:J}}},x=(A,v,N,F)=>{const X=(Y,W)=>{const J=At(Y),Q=W&&J&&Y.replace(`${qn}-`,"")||"";return[W&&!J?Y:"",At(Q)?"hidden":Q]},[q,T]=X(N.x,v.x),[O,L]=X(N.y,v.y);return F.overflowX=T&&O?T:q,F.overflowY=L&&q?L:O,g(A,F)},B=(A,v,N,F)=>{const{M:X,D:q}=A,{x:T,y:O}=q,{x:L,y:Y}=X,{P:W}=n(),J=v?"marginLeft":"marginRight",Q=v?"paddingLeft":"paddingRight",ee=W[J],ne=W.marginBottom,Z=W[Q],G=W.paddingBottom;F.width=`calc(100% + ${Y+-1*ee}px)`,F[J]=-Y+ee,F.marginBottom=-L+ne,N&&(F[Q]=Z+(O?Y:0),F.paddingBottom=G+(T?L:0))},[E,R]=C?C.L(D,m,l,a,n,g,B):[()=>D,()=>[ge]];return(A,v,N)=>{const{wt:F,Tt:X,bt:q,xt:T,vt:O,St:L}=A,{gt:Y,yt:W}=n(),[J,Q]=v("showNativeOverlaidScrollbars"),[ee,ne]=v("overflow"),Z=J&&b.x&&b.y,G=!i&&!m&&(F||q||X||Q||O),re=At(ee.x),Ce=At(ee.y),Se=re||Ce;let Ge=$(N),st=I(N),pt=M(N),mt=j(N),se;if(Q&&S&&d(Vn,_r,!Z),G&&(se=g(Z),V(se,Y)),F||T||q||L||Q){Se&&d(ut,ft,!1);const[Re,Ke]=R(Z,W,se),[Ie,Ut]=Ge=w(N),[Ve,wt]=st=_(N),rt=vt(l);let Xo=Ve,Yo=rt;Re(),(wt||Ut||Q)&&Ke&&!Z&&E(Ke,Ve,Ie,W)&&(Yo=vt(l),Xo=Ot(l));const zl={w:Ue(Eo(Ve.w,Xo.w)+Ie.w),h:Ue(Eo(Ve.h,Xo.h)+Ie.h)},$s={w:Ue((h?u.innerWidth:Yo.w+Ue(rt.w-Ve.w))+Ie.w),h:Ue((h?u.innerHeight+Ie.h:Yo.h+Ue(rt.h-Ve.h))+Ie.h)};mt=k($s),pt=P(Zr(zl,$s),N)}const[ue,pe]=mt,[De,jt]=pt,[Po,Ro]=st,[Fo,Wo]=Ge,Oe={x:De.w>0,y:De.h>0},Xt=re&&Ce&&(Oe.x||Oe.y)||re&&Oe.x&&!Oe.y||Ce&&Oe.y&&!Oe.x;if(T||L||Wo||Ro||pe||jt||ne||Q||G){const Re={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},Ke=x(Z,Oe,ee,Re),Ie=E(Ke,Po,Fo,W);i||B(Ke,W,Ie,Re),G&&V(Ke,Y),i?(ie(r,vn,Re.overflowX),ie(r,On,Re.overflowY)):le(l,Re)}Qe(r,$e,ft,Xt),Qe(c,So,wr,Xt),i||Qe(l,Ye,ut,Se);const[jo,Yt]=y(g(Z).Ot);return s({Ot:jo,zt:{x:ue.w,y:ue.h},Et:{x:De.w,y:De.h},At:Oe}),{It:Yt,Ht:pe,Lt:jt}}},Kn=(e,t,n)=>{const s={},r=t||{},c=he(e).concat(he(r));return U(c,l=>{const a=e[l],i=r[l];s[l]=!!(n||a||i)}),s},ec=(e,t)=>{const{Z:n,K:s,ht:r,ft:c}=e,{A:l,I:a,Y:i}=fe(),d=!l&&(a.x||a.y),f=[qr(e,t),Gr(e,t),Qr(e,t)];return(u,p,m)=>{const S=Kn(te({wt:!1,xt:!1,St:!1,vt:!1,Ht:!1,Lt:!1,It:!1,Tt:!1,bt:!1,Pt:!1},p),{},m),b=d||!i,C=b&&xe(s),D=b&&He(s);r("",Lt,!0);let h=S;return U(f,w=>{h=Kn(h,w(h,u,!!m)||{},m)}),xe(s,C),He(s,D),r("",Lt),c||(xe(n,0),He(n,0)),h}},tc=(e,t,n)=>{let s,r=!1;const c=()=>{r=!0},l=a=>{if(n){const i=n.reduce((d,f)=>{if(f){const[u,p]=f,m=p&&u&&(a?a(u):an(u,e));m&&m.length&&p&&Xe(p)&&K(d,[m,p.trim()],!0)}return d},[]);U(i,d=>U(d[0],f=>{const u=d[1],p=s.get(f)||[];if(e.contains(f)){const S=oe(f,u,b=>{r?(S(),s.delete(f)):t(b)});s.set(f,K(p,S))}else Te(p),s.delete(f)}))}};return n&&(s=new WeakMap,l()),[c,l]},Jn=(e,t,n,s)=>{let r=!1;const{Mt:c,Dt:l,Rt:a,kt:i,Bt:d,Vt:f}=s||{},u=po(()=>{r&&n(!0)},{g:33,v:99}),[p,m]=tc(e,u,a),S=c||[],b=l||[],C=S.concat(b),D=(w,$)=>{const _=d||ge,I=f||ge,P=new Set,M=new Set;let k=!1,j=!1;if(U(w,y=>{const{attributeName:V,target:g,type:x,oldValue:B,addedNodes:E,removedNodes:R}=y,A=x==="attributes",v=x==="childList",N=e===g,F=A&&Xe(V)?ie(g,V):0,X=F!==0&&B!==F,q=eo(b,V)>-1&&X;if(t&&(v||!N)){const T=!A,O=A&&X,L=O&&i&&Dt(g,i),W=(L?!_(g,V,B,F):T||O)&&!I(y,!!L,e,s);U(E,J=>P.add(J)),U(R,J=>P.add(J)),j=j||W}!t&&N&&X&&!_(g,V,B,F)&&(M.add(V),k=k||q)}),P.size>0&&m(y=>Ze(P).reduce((V,g)=>(K(V,an(y,g)),Dt(g,y)?K(V,g):V),[])),t)return!$&&j&&n(!1),[!1];if(M.size>0||k){const y=[Ze(M),k];return!$&&n.apply(0,y),y}},h=new dr(w=>D(w));return h.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:C,subtree:t,childList:t,characterData:t}),r=!0,[()=>{r&&(p(),h.disconnect(),r=!1)},()=>{if(r){u.m();const w=h.takeRecords();return!to(w)&&D(w,!0)}}]},Pt=3333333,Zn=(e,t,n)=>{const{Yt:s=!1,Pt:r=!1}=n||{},c=ot()[Mr],{V:l}=fe(),i=fn(`<div class="${ko}"><div class="${$r}"></div></div>`)[0],d=i.firstChild,f=St.bind(0,e),[u]=_e({o:void 0,_:!0,u:(b,C)=>!(!b||!dt(b)&&dt(C))}),p=b=>{const C=ye(b)&&b.length>0&&yt(b[0]),D=!C&&Zt(b[0]);let h=!1,w=!1,$=!0;if(C){const[_,,I]=u(b.pop().contentRect),P=dt(_),M=dt(I);h=!I&&!!M||!P,w=!M&&P,$=!h}else D?[,$]=b:w=b===!0;if(s&&$){const _=D?b[0]:St(i);xe(i,_?l.n?-Pt:l.i?0:Pt:Pt),He(i,Pt)}h||t({wt:!D,jt:D?b:void 0,Pt:!!w})},m=[];let S=r?p:!1;return[()=>{Te(m),Ee(i)},()=>{if(it){const b=new it(p);b.observe(d),K(m,()=>{b.disconnect()})}else if(c){const[b,C]=c.O(d,p,r);S=b,K(m,C)}if(s){const[b]=_e({o:void 0},f);K(m,oe(i,"scroll",C=>{const D=b(),[h,w,$]=D;w&&(uo(d,"ltr rtl"),h?Pe(d,"rtl"):Pe(d,"ltr"),p([!!h,w,$])),xn(C)}))}S&&(Pe(i,xr),K(m,oe(i,"animationstart",S,{C:!!it}))),(it||c)&&be(e,i)}]},oc=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,nc=(e,t)=>{let n;const s=et(Br),r=[],[c]=_e({o:!1}),l=(i,d)=>{if(i){const f=c(oc(i)),[,u]=f;if(u)return!d&&t(f),[f]}},a=(i,d)=>{if(i&&i.length>0)return l(i.pop(),d)};return[()=>{Te(r),Ee(s)},()=>{if(un)n=new un(i=>a(i),{root:e}),n.observe(s),K(r,()=>{n.disconnect()});else{const i=()=>{const u=kt(s);l(u)},[d,f]=Zn(s,i);K(r,d),f(),i()}be(e,s)},()=>{if(n)return a(n.takeRecords(),!0)}]},Qn=`[${$e}]`,sc=`[${Ye}]`,No=["tabindex"],es=["wrap","cols","rows"],vo=["id","class","style","open"],rc=(e,t,n)=>{let s,r,c;const{J:l,K:a,nt:i,lt:d,ft:f,_t:u,ht:p}=e,{Y:m}=fe(),[S]=_e({u:gn,o:{w:0,h:0}},()=>{const B=u(ut,ft),E=u(bo,""),R=E&&xe(a),A=E&&He(a);p(ut,ft),p(bo,""),p("",Lt,!0);const v=Ot(i),N=Ot(a),F=It(a);return p(ut,ft,B),p(bo,"",E),p("",Lt),xe(a,R),He(a,A),{w:N.w+v.w+F.w,h:N.h+v.h+F.h}}),b=d?es:vo.concat(es),C=po(n,{g:()=>s,v:()=>r,p(B,E){const[R]=B,[A]=E;return[he(R).concat(he(A)).reduce((v,N)=>(v[N]=R[N]||A[N],v),{})]}}),D=B=>{U(B||No,E=>{if(eo(No,E)>-1){const R=ie(l,E);Xe(R)?ie(a,E,R):ae(a,E)}})},h=(B,E)=>{const[R,A]=B,v={vt:A};return t({gt:R}),!E&&n(v),v},w=({wt:B,jt:E,Pt:R})=>{const A=!B||R?n:C;let v=!1;if(E){const[N,F]=E;v=F,t({yt:N})}A({wt:B,Pt:R,St:v})},$=(B,E)=>{const[,R]=S(),A={bt:R};return R&&!E&&(B?n:C)(A),A},_=(B,E,R)=>{const A={Tt:E};return E?!R&&C(A):f||D(B),A},[I,P,M]=i||!m?nc(l,h):[ge,ge,ge],[k,j]=f?[ge,ge]:Zn(l,w,{Pt:!0,Yt:!0}),[y,V]=Jn(l,!1,_,{Dt:vo,Mt:vo.concat(No)});let g;const x=f&&it&&new it(B=>{const E=B[B.length-1].contentRect,R=dt(E),v=!dt(g)&&R;w({wt:!0,Pt:v}),g=E});return[()=>{I(),k(),c&&c[0](),x&&x.disconnect(),y()},()=>{x&&x.observe(l),D(),j(),P()},()=>{const B={},E=V(),R=M(),A=c&&c[1]();return E&&te(B,_.apply(0,K(E,!0))),R&&te(B,h.apply(0,K(R,!0))),A&&te(B,$.apply(0,K(A,!0))),B},B=>{const[E]=B("update.ignoreMutation"),[R,A]=B("update.attributes"),[v,N]=B("update.elementEvents"),[F,X]=B("update.debounce"),q=N||A,T=O=>we(E)&&E(O);if(q&&(c&&(c[1](),c[0]()),c=Jn(i||a,!0,$,{Mt:b.concat(R||[]),Rt:v,kt:Qn,Vt:(O,L)=>{const{target:Y,attributeName:W}=O;return(!L&&W&&!f?sr(Y,Qn,sc):!1)||!!ct(Y,`.${de}`)||!!T(O)}})),X)if(C.m(),ye(F)){const O=F[0],L=F[1];s=je(O)&&O,r=je(L)&&L}else je(F)?(s=F,r=!1):(s=!1,r=!1)}]},ts={x:0,y:0},cc=e=>({tt:{t:0,r:0,b:0,l:0},$t:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:ts,Et:ts,Ot:{x:"hidden",y:"hidden"},At:{x:!1,y:!1},gt:!1,yt:St(e.J)}),lc=(e,t)=>{const n=Do(t,{}),[s,r,c]=go(),[l,a,i]=Ur(e),d=Un(cc(l)),[f,u]=d,p=ec(l,d),m=(w,$,_)=>{const P=he(w).some(M=>!!w[M])||!oo($)||_;return P&&c("u",[w,$,_]),P},[S,b,C,D]=rc(l,u,w=>m(p(n,w),{},!1)),h=f.bind(0);return h.Nt=w=>s("u",w),h.qt=()=>{const{Z:w,K:$,rt:_,it:I}=l,P=I?_.documentElement:w,M=xe(P),k=He(P);b(),a(),xe($,M),He($,k)},h.Ft=l,[(w,$)=>{const _=Do(t,w,$);return D(_),m(p(_,C(),$),w,!!$)},h,()=>{r(),S(),i()}]},{round:os}=Math,ic=e=>{const{width:t,height:n}=Ne(e),{w:s,h:r}=kt(e);return{x:os(t)/s||1,y:os(n)/r||1}},ac=(e,t,n)=>{const s=t.scrollbars,{button:r,isPrimary:c,pointerType:l}=e,{pointers:a}=s;return r===0&&c&&s[n?"dragScroll":"clickScroll"]&&(a||[]).includes(l)},ns="pointerup pointerleave pointercancel lostpointercapture",dc=e=>({transform:[at("0%",e),at("-100%",e)],[e?"left":"top"]:["0%","100%"]}),fc=(e,t)=>oe(e,"mousedown",oe.bind(0,t,"click",xn,{C:!0,$:!0}),{$:!0}),uc=(e,t,n,s,r,c,l)=>{const{V:a}=fe(),{Gt:i,Xt:d,Ut:f}=s,u=`scroll${l?"Left":"Top"}`,p=`client${l?"X":"Y"}`,m=l?"width":"height",S=l?"left":"top",b=l?"w":"h",C=l?"x":"y",D=(h,w)=>$=>{const{Et:_}=c(),I=kt(d)[b]-kt(i)[b],M=w*$/I*_[C],j=St(f)&&l?a.n||a.i?1:-1:1;r[u]=h+M*j};return oe(d,"pointerdown",h=>{const w=ct(h.target,`.${_o}`)===i,$=w?i:d;if(Qe(t,$e,In,!0),ac(h,e,w)){const _=!w&&h.shiftKey,I=()=>Ne(i),P=()=>Ne(d),M=(v,N)=>(v||I())[S]-(N||P())[S],k=D(r[u]||0,1/ic(r)[C]),j=h[p],y=I(),V=P(),g=y[m],x=M(y,V)+g/2,B=j-V[S],E=w?0:B-x,R=v=>{Te(A),$.releasePointerCapture(v.pointerId)},A=[Qe.bind(0,t,$e,In),oe(n,ns,R),oe(n,"selectstart",v=>$n(v),{S:!1}),oe(d,ns,R),oe(d,"pointermove",v=>{const N=v[p]-j;(w||_)&&k(E+N)})];if(_)k(E);else if(!w){const v=ot()[Hr];v&&K(A,v.O(k,M,E,g,B))}$.setPointerCapture(h.pointerId)}})},pc=({Gt:e},t,n)=>{if(!t)return ge;const s=e.animate(dc(n),{timeline:t});return()=>{s.cancel()}},mc=(e,t)=>(n,s,r,c,l,a,i)=>{const{Ut:d}=n,[f,u]=tt(333),p=!!l.scrollBy;let m=!0;return Te.bind(0,[oe(d,"pointerenter",()=>{s(Hn,!0)}),oe(d,"pointerleave pointercancel",()=>{s(Hn)}),oe(d,"wheel",S=>{const{deltaX:b,deltaY:C,deltaMode:D}=S;p&&m&&D===0&&Ae(d)===c&&l.scrollBy({left:b,top:C,behavior:"smooth"}),m=!1,s(Rn,!0),f(()=>{m=!0,s(Rn)}),$n(S)},{S:!1,$:!0}),fc(d,r),uc(e,c,r,n,l,t,i),pc(n,a,i),u])},{min:Oo,max:ss,abs:hc,round:gc}=Math,rs=(e,t,n,s)=>{if(s){const a=n?"x":"y",{Et:i,zt:d}=s,f=d[a],u=i[a];return ss(0,Oo(1,f/(f+u)))}const r=n?"width":"height",c=Ne(e)[r],l=Ne(t)[r];return ss(0,Oo(1,c/l))},yc=(e,t,n,s,r,c)=>{const{V:l}=fe(),a=c?"x":"y",i=c?"Left":"Top",{Et:d}=s,f=gc(d[a]),u=hc(n[`scroll${i}`]),p=c&&r,m=l.i?u:f-u,b=Oo(1,(p?m:u)/f),C=rs(e,t,c);return 1/C*(1-C)*b},bc=e=>`${Math.max(0,e-.5)}px`,cs=(e,t,n,s)=>e.animate({transform:[at("0px",s),at(bc(n),s)]},{timeline:t,composite:"add"}),ls=(e,t)=>ao?new ao({source:e,axis:t}):null,Sc=(e,t,n)=>{const{q:s,H:r}=fe(),{scrollbars:c}=s(),{slot:l}=c,{rt:a,Z:i,J:d,K:f,ut:u,st:p,it:m,ft:S}=t,{scrollbars:b}=u?{}:e,{slot:C}=b||{},D=new Map,h=ls(p,"x"),w=ls(p,"y"),$=jn([i,d,f],()=>S&&m?i:d,l,C),_=T=>S&&!m&&Ae(T)===f,I=()=>{D.forEach(T=>{(T||[]).forEach(O=>{O.cancel()})})},P=(T,O,L)=>{const Y=L?Pe:uo;U(T,W=>{Y(W.Ut,O)})},M=(T,O)=>{U(T,L=>{const[Y,W]=O(L);le(Y,W)})},k=(T,O,L)=>{M(T,Y=>{const{Gt:W,Xt:J}=Y;return[W,{[L?"width":"height"]:`${(100*rs(W,J,L,O)).toFixed(3)}%`}]})},j=(T,O,L)=>{!w&&!w&&M(T,Y=>{const{Gt:W,Xt:J,Ut:Q}=Y,ee=yc(W,J,p,O,St(Q),L);return[W,{transform:ee===ee?at(`${(100*ee).toFixed(3)}%`,L):""}]})},y=T=>{const{Ut:O}=T,L=_(O)&&O;return[L,{transform:L?at([`${xe(p)}px`,`${He(p)}px`]):""}]},V=[],g=[],x=[],B=(T,O,L)=>{const Y=Zt(L),W=Y?L:!0,J=Y?!L:!0;W&&P(g,T,O),J&&P(x,T,O)},E=T=>{k(g,T,!0),k(x,T)},R=T=>{j(g,T,!0),j(x,T)},A=()=>{!w&&!w&&(S&&M(g,y),S&&M(x,y))},v=({Et:T})=>{I(),x.concat(g).forEach(({Ut:O})=>{_(O)&&D.set(O,[cs(O,h,T.x,!0),cs(O,w,T.y)])})},N=T=>{const O=T?Er:Nr,L=T?g:x,Y=to(L)?Mn:"",W=et(`${de} ${O} ${Y}`),J=et(zn),Q=et(_o),ee={Ut:W,Xt:J,Gt:Q};return r||Pe(W,Cr),be(W,J),be(J,Q),K(L,ee),K(V,[()=>{I(),D.clear()},Ee.bind(0,W),n(ee,B,a,d,p,T?h:w,T)]),ee},F=N.bind(0,!0),X=N.bind(0,!1),q=()=>{be($,g[0].Ut),be($,x[0].Ut),Tt(()=>{B(Mn)},300)};return F(),X(),[{Wt:E,Zt:R,Jt:v,Kt:A,Qt:B,tn:{B:h,nn:g,sn:F,en:M.bind(0,g)},cn:{B:w,nn:x,sn:X,en:M.bind(0,x)}},q,Te.bind(0,V)]},kc=(e,t,n,s)=>{let r,c,l,a,i,d=0;const f=Un({}),[u]=f,[p,m]=tt(),[S,b]=tt(),[C,D]=tt(100),[h,w]=tt(100),[$,_]=tt(100),[I,P]=tt(()=>d),[M,k,j]=Sc(e,n.Ft,mc(t,n)),{J:y,et:V,it:g}=n.Ft,{Qt:x,Wt:B,Zt:E,Jt:R,Kt:A}=M,v=T=>{x(wo,T,!0),x(wo,T,!1)},N=(T,O)=>{if(P(),T)x(Pn);else{const L=()=>x(Pn,!0);d>0&&!O?I(L):L()}},F=()=>{a=c,a&&N(!0)},X=[D,P,w,_,b,m,j,oe(y,"pointerover",F,{C:!0}),oe(y,"pointerenter",F),oe(y,"pointerleave",()=>{a=!1,c&&N(!1)}),oe(y,"pointermove",()=>{r&&p(()=>{D(),N(!0),h(()=>{r&&N(!1)})})}),oe(V,"scroll",T=>{S(()=>{E(n()),l&&N(!0),C(()=>{l&&!a&&N(!1)})}),s(T),A()})],q=u.bind(0);return q.Ft=M,q.qt=k,[(T,O,L)=>{const{Ht:Y,Lt:W,It:J,St:Q,Pt:ee}=L,{I:ne}=fe(),Z=Do(t,T,O),G=n(),{Et:re,Ot:Ce,yt:Se,At:Ge}=G,[st,pt]=Z("showNativeOverlaidScrollbars"),[mt,se]=Z("scrollbars.theme"),[ue,pe]=Z("scrollbars.visibility"),[De,jt]=Z("scrollbars.autoHide"),[Po,Ro]=Z("scrollbars.autoHideSuspend"),[Fo]=Z("scrollbars.autoHideDelay"),[Wo,Oe]=Z("scrollbars.dragScroll"),[Xt,jo]=Z("scrollbars.clickScroll"),Yt=ee&&!O,Re=Y||W||Q,Ke=J||pe,Ie=st&&ne.x&&ne.y,Ut=(Ve,wt)=>{const rt=ue==="visible"||ue==="auto"&&Ve==="scroll";return x(vr,rt,wt),rt};if(d=Fo,pt&&x(Dr,Ie),se&&(x(i),x(mt,!0),i=mt),(Ro||Yt)&&(Po&&Yt&&(Ge.x||Ge.y)?(v(!1),$(()=>X.push(oe(V,"scroll",v.bind(0,!0),{C:!0})))):v(!0)),jt&&(r=De==="move",c=De==="leave",l=De!=="never",N(!l,!0)),Oe&&x(Vr,Wo),jo&&x(Ir,Xt),Ke){const Ve=Ut(Ce.x,!0),wt=Ut(Ce.y,!1);x(Or,!(Ve&&wt))}Re&&(B(G),E(G),R(G),A(),x(An,!re.x,!0),x(An,!re.y,!1),x(Tr,Se&&!g))},q,Te.bind(0,X)]},is=(e,t,n)=>{we(e)&&e(t||void 0,n||void 0)},qe=(e,t,n)=>{const{G:s,q:r,j:c,N:l}=fe(),a=ot(),i=bt(e),d=i?e:e.target,f=Xn(d);if(t&&!f){let u=!1;const p=g=>{const x=ot()[zr],B=x&&x.O;return B?B(g,!0):g},m=te({},s(),p(t)),[S,b,C]=go(n),[D,h,w]=lc(e,m),[$,_,I]=kc(e,m,h,g=>C("scroll",[V,g])),P=(g,x)=>D(g,!!x),M=P.bind(0,{},!0),k=c(M),j=l(M),y=g=>{Yr(d),k(),j(),I(),w(),u=!0,C("destroyed",[V,!!g]),b()},V={options(g,x){if(g){const B=x?s():{},E=Dn(m,te(B,p(g)));oo(E)||(te(m,E),P(E))}return te({},m)},on:S,off:(g,x)=>{g&&x&&b(g,x)},state(){const{zt:g,Et:x,Ot:B,At:E,tt:R,$t:A,yt:v}=h();return te({},{overflowEdge:g,overflowAmount:x,overflowStyle:B,hasOverflow:E,padding:R,paddingAbsolute:A,directionRTL:v,destroyed:u})},elements(){const{Z:g,J:x,tt:B,K:E,nt:R,st:A,et:v}=h.Ft,{tn:N,cn:F}=_.Ft,X=T=>{const{Gt:O,Xt:L,Ut:Y}=T;return{scrollbar:Y,track:L,handle:O}},q=T=>{const{nn:O,sn:L}=T,Y=X(O[0]);return te({},Y,{clone:()=>{const W=X(L());return $({},!0,{}),W}})};return te({},{target:g,host:x,padding:B||E,viewport:E,content:R||E,scrollOffsetElement:A,scrollEventElement:v,scrollbarHorizontal:q(N),scrollbarVertical:q(F)})},update:g=>P({},g),destroy:y.bind(0)};return h.Nt((g,x,B)=>{$(x,B,g)}),Xr(d,V),U(he(a),g=>is(a[g],0,V)),jr(h.Ft.it,r().cancel,!i&&e.cancel)?(y(!0),V):(h.qt(),_.qt(),C("initialized",[V]),h.Nt((g,x,B)=>{const{wt:E,St:R,vt:A,Ht:v,Lt:N,It:F,bt:X,Tt:q}=g;C("updated",[V,{updateHints:{sizeChanged:E,directionChanged:R,heightIntrinsicChanged:A,overflowEdgeChanged:v,overflowAmountChanged:N,overflowStyleChanged:F,contentMutation:X,hostMutation:q},changedOptions:x,force:B}])}),V.update(!0),V)}return f};qe.plugin=e=>{U(Lr(e),t=>is(t,qe))},qe.valid=e=>{const t=e&&e.elements,n=we(t)&&t();return Qt(n)&&!!Xn(n.target)},qe.env=()=>{const{k:e,I:t,A:n,V:s,Y:r,H:c,B:l,U:a,W:i,q:d,F:f,G:u,X:p}=fe();return te({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,rtlScrollBehavior:s,flexboxGlue:r,cssCustomProperties:c,scrollTimeline:l,staticDefaultInitialization:a,staticDefaultOptions:i,getDefaultInitialization:d,setDefaultInitialization:f,getDefaultOptions:u,setDefaultOptions:p})};const _c=()=>{if(typeof window>"u"){const d=()=>{};return[d,d]}let e,t;const n=window,s=typeof n.requestIdleCallback=="function",r=n.requestAnimationFrame,c=n.cancelAnimationFrame,l=s?n.requestIdleCallback:r,a=s?n.cancelIdleCallback:c,i=()=>{a(e),c(t)};return[(d,f)=>{i(),e=l(s?()=>{i(),t=r(d)}:d,typeof f=="object"?f:{timeout:2233})},i]},as=e=>{let t=null,n,s,r;const c=o.shallowRef(e||{}),[l,a]=_c();return o.watch(()=>{var i;return o.unref((i=c.value)==null?void 0:i.defer)},i=>{r=i},{deep:!0,immediate:!0}),o.watch(()=>{var i;return o.unref((i=c.value)==null?void 0:i.options)},i=>{n=i,qe.valid(t)&&t.options(n||{},!0)},{deep:!0,immediate:!0}),o.watch(()=>{var i;return o.unref((i=c.value)==null?void 0:i.events)},i=>{s=i,qe.valid(t)&&t.on(s||{},!0)},{deep:!0,immediate:!0}),o.onUnmounted(()=>{a(),t==null||t.destroy()}),[i=>{if(qe.valid(t))return t;const d=()=>t=qe(i,n||{},s||{});r?l(d,r):d()},()=>t]},wc=o.defineComponent({props:{element:{type:String,default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(e,{expose:t,emit:n}){const s=e,r={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:c,options:l,events:a,defer:i}=o.toRefs(s),d=o.shallowRef(null),f=o.shallowRef(null),u=o.ref(),p=o.ref(!1),[m,S]=as({options:l,events:u,defer:i});return t({osInstance:S,getElement:()=>d.value}),o.onMounted(()=>{p.value=!0}),o.watchPostEffect(b=>{const{value:C}=d,{value:D}=f;p.value&&C&&D&&(m({target:C,elements:{viewport:D,content:D}}),b(()=>{var h;return(h=S())==null?void 0:h.destroy()}))}),o.watch(()=>o.unref(a),b=>{const C=b||{};u.value=Object.keys(r).reduce((D,h)=>{const w=C[h];return D[h]=[(...$)=>n(r[h],...$),...(Array.isArray(w)?w:[w]).filter(Boolean)],D},{})},{deep:!0,immediate:!0}),(b,C)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(c)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:d},{default:o.withCtx(()=>[p.value?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"slotRef",ref:f,"data-overlayscrollbars-contents":""},[o.renderSlot(b.$slots,"default")],512)):o.renderSlot(b.$slots,"default",{key:1})]),_:3},512))}}),xc={__name:"DScrollProvider",props:{disabled:{type:Boolean,default:!1},autoHide:{type:String,default:"never"},autoHideDelay:{type:Number,default:800}},setup(e){const t=e,n=o.ref(null),[s,r]=as({defer:!0,events:{initialized:()=>{n.value=!0},destroyed:()=>{n.value=!1}},options:{nativeScrollbarsOverlaid:{initialize:!1},scrollbars:{theme:"os-theme-light",autoHide:t.autoHide,autoHideDelay:t.autoHideDelay}}});return o.watch(()=>ze.state.theme,c=>{r().options({nativeScrollbarsOverlaid:{initialize:!1},scrollbars:{theme:c==="dark"?"os-theme-light":"os-theme-dark",autoHide:t.autoHide}})}),o.watch(()=>t.disabled,c=>{c?r().sleep():r().update()}),o.onMounted(()=>{s(document.body)}),(c,l)=>o.renderSlot(c.$slots,"default")}},Gl="",$c=We({__name:"DScroll",props:{autoHide:{type:String,default:"never"}},setup(e){const t=e,n=o.ref(null);return o.watch(()=>ze.state.theme,s=>{n.value.osInstance().options({scrollbars:{theme:s==="dark"?"os-theme-light":"os-theme-dark",autoHide:t.autoHide}})}),(s,r)=>(o.openBlock(),o.createBlock(o.unref(wc),{class:"os-vue",ref_key:"osRef",ref:n,options:{scrollbars:{theme:"os-theme-light",autoHide:t.autoHide}},events:{},defer:""},{default:o.withCtx(()=>[o.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["options"]))}},[["__scopeId","data-v-9b322173"]]),Jl="",Bc={class:"modal-dialog"},Cc={class:"modal-content"},Dc={class:"modal-header"},Tc={class:"modal-title"},Ec={class:"modal-body"},Nc={class:"modal-footer"},Io=We({__name:"DModal",props:{show:Boolean,width:String},emits:["open","close"],setup(e,{expose:t,emit:n}){const s=e;o.useCssVars(i=>({"558e9e46":s.width}));const r=o.ref(null),c=o.ref(!1);c.value=s==null?void 0:s.show;const l=()=>{c.value=!0,n("open",r)},a=()=>{c.value=!1,n("close",r)};return t({show:l,hide:a}),(i,d)=>{const f=o.resolveDirective("keydown");return o.openBlock(),o.createBlock(o.Teleport,{to:"body"},[o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[c.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"modalRef",ref:r,class:"modal"},[o.createElementVNode("div",Bc,[o.createElementVNode("div",Cc,[o.createElementVNode("div",Dc,[o.createElementVNode("h5",Tc,[o.renderSlot(i.$slots,"modal-title",{},void 0,!0)])]),o.createElementVNode("div",Ec,[o.renderSlot(i.$slots,"default",{},void 0,!0)]),o.createElementVNode("div",Nc,[o.renderSlot(i.$slots,"modal-footer",{},void 0,!0)])])])])),[[f,a,"Escape"]]):o.createCommentVNode("",!0)]),_:3})])}}},[["__scopeId","data-v-82cadd63"]]),nt=o.shallowRef();function Vo(e){e===void 0&&(e=nt.value.comp.returnValue()),nt.value.resolve(e),nt.value=null}function ds(e,t,n="default"){return new Promise(s=>{nt.value={dialog:e,props:t,wrapper:n,resolve:s}})}var vc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const Oc=o.defineComponent({name:"DialogWrapper",components:{},props:{name:{type:String,default:"default"},transitionAttrs:Object},setup(){const e=o.ref();return o.watch(e,()=>{nt.value&&(nt.value.comp=e.value)}),{dialogRef:nt,dialogInstance:e}}});function Ic(e,t,n,s,r,c){return o.openBlock(),o.createBlock(o.Transition,o.normalizeProps(o.guardReactiveProps(e.transitionAttrs)),{default:o.withCtx(()=>[e.dialogRef&&e.dialogRef.wrapper===e.name?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.dialogRef.dialog),o.mergeProps({key:0},e.dialogRef.props,{ref:"dialogInstance"}),null,16)):o.createCommentVNode("",!0)]),_:1},16)}var Vc=vc(Oc,[["render",Ic]]);const Lc={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},fs={__name:"DAlertDialog",props:{title:String,message:String},setup(e,{expose:t}){const n=e;return t({returnValue:()=>!0}),(r,c)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(Io,{show:!0},{"modal-title":o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.title),1)]),default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.message),1)]),"modal-footer":o.withCtx(()=>[o.createElementVNode("div",Lc,[o.createVNode(Fe,{onClick:c[0]||(c[0]=l=>o.unref(Vo)())},{default:o.withCtx(()=>[o.createTextVNode("Закрыть")]),_:1})])]),_:1})]))}},zc={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},us={__name:"DConfirmDialog",props:{title:String,message:String},setup(e,{expose:t}){const n=e;return t({returnValue:()=>!0}),(r,c)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(Io,{show:!0},{"modal-title":o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.title),1)]),default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.message),1)]),"modal-footer":o.withCtx(()=>[o.createElementVNode("div",zc,[o.createVNode(Fe,{onClick:c[0]||(c[0]=l=>o.unref(Vo)())},{default:o.withCtx(()=>[o.createTextVNode("Да")]),_:1}),o.createVNode(Fe,{class:"button-red",onClick:c[1]||(c[1]=l=>o.unref(Vo)(!1))},{default:o.withCtx(()=>[o.createTextVNode("Нет")]),_:1})])]),_:1})]))}},Mc={class:"dropdown"},Hc={__name:"DDropdown",props:{class:String,icon:{type:[String,null],default:null},items:Array,menuStyle:Object,renderItemTitle:Function,beforeItem:Function},emits:["select","click"],setup(e,{expose:t,emit:n}){const s=e,r=o.useSlots(),c=o.ref(null),l=o.ref(null),a=o.ref(0),i=o.ref(0),d=m=>{if(n("click",m),c.value.isShowed()){c.value.hide();return}c.value.show(),o.nextTick(()=>{const S=c.value.elementSize(),b=l.value.elementSize(),C=window.innerWidth,D=window.innerHeight;a.value=C-(b.x+b.width)<S.width?b.left-S.width+b.width:b.left,i.value=D-(b.y+b.height)<S.height?b.top-S.height-5:b.height+b.top+5})},f=m=>{n("select",m)},u=o.computed(()=>({left:a.value+"px",top:i.value+"px",...s.menuStyle}));t({show:d});const p=m=>!!r[m];return(m,S)=>(o.openBlock(),o.createElementBlock("div",Mc,[p("default")?(o.openBlock(),o.createBlock(Fe,{key:0,ref_key:"buttonRef",ref:l,class:o.normalizeClass(s.class),icon:s.icon,onClick:o.withModifiers(d,["stop","prevent"])},{default:o.withCtx(()=>[o.renderSlot(m.$slots,"default")]),_:3},8,["class","icon","onClick"])):(o.openBlock(),o.createBlock(Fe,{key:1,ref_key:"buttonRef",ref:l,class:o.normalizeClass(s.class),icon:s.icon,onClick:o.withModifiers(d,["stop","prevent"])},null,8,["class","icon","onClick"])),o.createVNode(Gt,{ref_key:"dMenuRef",ref:c,items:s.items,class:"dropdown-menu",style:o.normalizeStyle(u.value),"no-select":!0,onSelect:f,"render-item-title":s.renderItemTitle,"before-item":s.beforeItem},null,8,["items","style","render-item-title","before-item"])]))}},Ac={},Pc={class:"d-panel"};function Rc(e,t){return o.openBlock(),o.createElementBlock("div",Pc,[o.renderSlot(e.$slots,"default")])}const ps=We(Ac,[["render",Rc]]),Fc={class:"card-header"},Wc={class:"modal-title"},jc={class:"card-body"},Xc={class:"card-footer"},Yc={__name:"DCard",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(ps,{class:"d-card"},{default:o.withCtx(()=>[o.createElementVNode("div",Fc,[o.createElementVNode("h5",Wc,[o.renderSlot(t.$slots,"title")])]),o.createElementVNode("div",jc,[o.renderSlot(t.$slots,"default")]),o.createElementVNode("div",Xc,[o.renderSlot(t.$slots,"footer")])]),_:3}))}},Uc=new Map;class qc{constructor(t,n,s){this.remaining=n,this.callback=t,this.notifyItem=s,this.resume()}pause(){clearTimeout(this.notifyItem.timer),this.remaining-=Date.now()-this.start}resume(){this.start=Date.now(),clearTimeout(this.notifyItem.timer),this.notifyItem.timer=setTimeout(this.callback,this.remaining)}}const Lo="[-+]?[0-9]*.?[0-9]+",ms=[{name:"px",regexp:new RegExp(`^${Lo}px$`)},{name:"%",regexp:new RegExp(`^${Lo}%$`)},{name:"px",regexp:new RegExp(`^${Lo}$`)}],Gc=e=>{if(e==="auto")return{type:e,value:0};for(let t=0;t<ms.length;t++){const n=ms[t];if(n.regexp.test(e))return{type:n.name,value:parseFloat(e)}}return{type:"",value:e}},Kc=e=>{switch(typeof e){case"number":return{type:"px",value:e};case"string":return Gc(e);default:return{type:"",value:e}}},hs={x:new Set(["left","center","right"]),y:new Set(["top","bottom"])},Jc=(e=>()=>e++)(0),Zc=e=>typeof e!="string"?[]:e.split(/\s+/gi).filter(Boolean),Qc=e=>{typeof e=="string"&&(e=Zc(e));let t=null,n=null;return e.forEach(s=>{hs.y.has(s)&&(n=s),hs.x.has(s)&&(t=s)}),{x:t,y:n}},zo={position:["top","right"],cssAnimation:"fade",velocityAnimation:{enter:e=>({height:[e.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},el={__name:"VelocityGroup",emits:["enter","leave","after-leave"],setup(e,{emit:t}){const n=(c,l)=>{t("enter",c,l)},s=(c,l)=>{t("leave",c,l)},r=()=>{t("after-leave")};return(c,l)=>(o.openBlock(),o.createBlock(o.TransitionGroup,{tag:"span",css:!1,onEnter:n,onLeave:s,onAfterLeave:r},{default:o.withCtx(()=>[o.renderSlot(c.$slots,"default")]),_:3}))}},tl=Object.assign({inheritAttrs:!1},{__name:"CssGroup",props:{name:String},setup(e){const t=e;return(n,s)=>(o.openBlock(),o.createBlock(o.TransitionGroup,{tag:"span",name:t.name},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3},8,["name"]))}}),ol=["data-id"],nl=["onClick"],sl=["innerHTML"],rl=["innerHTML"],cl={key:0,class:"d-notification-title"},ll={class:"notification-content"},il={__name:"DNotificationProvider",props:{group:{type:String,default:""},width:{type:[String,Number],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array,null],default:zo.position},classes:{type:String,default:"d-notification"},animationType:{type:String,default:"css"},animation:{type:[String,Object],default:zo.velocityAnimation},animationName:{type:String,default:zo.cssAnimation},speed:{type:Number,default:300},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!1},dangerouslySetInnerHtml:{type:Boolean,default:!1}},emits:["click","destroy","start"],setup(e,{emit:t}){const n=e,s={IDLE:0,DESTROYED:2},r=o.ref([]),c=o.ref(null),l=o.ref(Uc.get("velocity")),a=o.computed(()=>n.animationType==="velocity"),i=o.computed(()=>a.value?el:tl),d=o.computed(()=>r.value.filter(y=>y.state!==s.DESTROYED)),f=o.computed(()=>Kc(n.width)),u=o.computed(()=>{const{x:y,y:V}=Qc(n.position),g=f.value.value,x=f.value.type,B={width:g+x};return V&&(B[V]="0px"),y&&(y==="center"?B.left=`calc(50% - ${+g/2}${x})`:B[y]="0px"),B}),p=o.computed(()=>"bottom"in u.value),m=y=>{t("click",y),n.closeOnClick&&$(y)},S=()=>{var y;n.pauseOnHover&&((y=c.value)==null||y.pause())},b=()=>{var y;n.pauseOnHover&&((y=c.value)==null||y.resume())},C=y=>{if(y.group||(y.group=""),y.data||(y.data={}),n.group!==y.group)return;if(y.clean||y.clear){I();return}const V=typeof y.duration=="number"?y.duration:n.duration,g=typeof y.speed=="number"?y.speed:n.speed,x=typeof y.ignoreDuplicates=="boolean"?y.ignoreDuplicates:n.ignoreDuplicates,{title:B,text:E,type:R,data:A,id:v}=y,N={id:v||Jc(),title:B,text:E,type:R,state:s.IDLE,speed:g,length:V+2*g,data:A};V>=0&&(c.value=new qc(()=>$(N),N.length,N));const F=n.reverse?!p.value:p.value;let X=-1;const q=d.value.some(O=>O.title===y.title&&O.text===y.text);(!x||!q)&&(F?(r.value.push(N),t("start",N),d.value.length>n.max&&(X=0)):(r.value.unshift(N),t("start",N),d.value.length>n.max&&(X=d.value.length-1)),X!==-1&&$(d.value[X]))},D=y=>{_(y)},h=y=>["d-notification-template",n.classes,y.type||""],w=y=>a.value?void 0:{transition:`all ${y.speed}ms`},$=y=>{clearTimeout(y.timer),y.state=s.DESTROYED,j(),t("destroy",y)},_=y=>{const V=r.value.find(g=>g.id===y);V&&$(V)},I=()=>{d.value.forEach($)},P=(y,V)=>{var x;const g=(x=n.animation)==null?void 0:x[y];return typeof g=="function"?g(V):g},M=(y,V)=>{if(!a.value)return;const g=P("enter",y);l.value(y,g,{duration:n.speed,complete:V})},k=(y,V)=>{if(!a.value)return;const g=P("leave",y);l.value(y,g,{duration:n.speed,complete:V})};function j(){r.value=r.value.filter(y=>y.state!==s.DESTROYED)}return o.onMounted(()=>{me.on("notification-add",C),me.on("notification-close",D)}),(y,V)=>(o.openBlock(),o.createElementBlock("div",{class:"d-notification-group",style:o.normalizeStyle(u.value)},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(i.value),{name:e.animationName,onEnter:M,onLeave:k,onAfterLeave:j},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.value,g=>(o.openBlock(),o.createElementBlock("div",{key:g.id,class:"d-notification-wrapper",style:o.normalizeStyle(w(g)),"data-id":g.id,onMouseenter:S,onMouseleave:b},[o.renderSlot(y.$slots,"body",{class:o.normalizeClass([e.classes,g.type]),item:g,close:()=>$(g)},()=>[o.createElementVNode("div",{class:o.normalizeClass(h(g)),onClick:x=>m(g)},[e.dangerouslySetInnerHtml?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[g.title?(o.openBlock(),o.createElementBlock("div",{key:0,class:"d-notification-title",innerHTML:g.timer},null,8,sl)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"notification-content",innerHTML:g.text},null,8,rl)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[g.title?(o.openBlock(),o.createElementBlock("div",cl,o.toDisplayString(g.title),1)):o.createCommentVNode("",!0),o.createElementVNode("div",ll,o.toDisplayString(g.text),1)],64))],10,nl)])],44,ol))),128))]),_:3},40,["name"]))],4))}},al={class:"d-info-progress-icon-container"},dl={class:"d-info-progress-icon"},fl={class:"d-info-progress-data-container"},ul=["innerHTML"],pl={__name:"DInfoProgress",props:{style:[String,Object],label:String,progress:Number,icon:String,type:String},emits:["click"],setup(e,{emit:t}){const n=e,s=o.computed(()=>n.icon?ke.getters.getIcon(n.icon):null);return(r,c)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["d-info-progress",n.type?`d-info-progress-${n.type}`:null]),style:o.normalizeStyle(n.style),onClick:c[0]||(c[0]=l=>{t("click",l)})},[o.createElementVNode("div",al,[o.createElementVNode("div",dl,[n.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(Je),{key:0,component:s.value,color:"inherit",size:17},null,8,["component"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",fl,[o.createElementVNode("div",{class:"d-info-progress-line",style:o.normalizeStyle("width: "+n.progress+"%;")},null,4),o.createElementVNode("div",{class:"d-info-progress-label",innerHTML:e.label},null,8,ul)])],6))}},ml={class:"d-checkbox"},hl=["id","checked","disabled"],gl=["for"],yl={__name:"DCheckbox",props:{label:String,modelValue:Boolean,disabled:{type:Boolean,default:!1},change:Function,checked:Boolean},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=o.getCurrentInstance().uid,c=o.computed({get:()=>n.modelValue,set:l=>{t("update:modelValue",l)}});return(l,a)=>(o.openBlock(),o.createElementBlock("div",ml,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":a[0]||(a[0]=i=>c.value=i),id:`i-${o.unref(r)}`,type:"checkbox",checked:n.checked,disabled:n.disabled,onChange:a[1]||(a[1]=(...i)=>n.change&&n.change(...i))},null,40,hl),[[o.vModelCheckbox,c.value]]),o.createElementVNode("label",{for:`i-${o.unref(r)}`},o.toDisplayString(n.label),9,gl)]))}};async function gs(e,t){return await ds(us,{title:e,message:t})}async function ys(e,t){return await ds(fs,{title:e,message:t})}const bl={__name:"DDialogProvider",setup(e){return window.alert=ys,window.confirm=gs,(t,n)=>(o.openBlock(),o.createBlock(o.unref(Vc)))}},Sl={class:"d-select"},kl={key:0,class:"label"},_l=["value","selected","disabled"],wl={__name:"DSelect",props:{label:String,size:String,options:Array,modelValue:String,scale:String},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=o.computed(()=>n.scale?"d-select-"+n.scale:""),r=o.computed({get:()=>n.modelValue,set:c=>{t("update:modelValue",c)}});for(let c=0;c<n.options.length;c++)if(n.options[c].selected){r.value=n.options[c].value;break}return(c,l)=>(o.openBlock(),o.createElementBlock("div",Sl,[n.label?(o.openBlock(),o.createElementBlock("div",kl,o.toDisplayString(n.label),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("select",{"onUpdate:modelValue":l[0]||(l[0]=a=>r.value=a),class:o.normalizeClass(s.value),style:o.normalizeStyle(n.size==="wide"?"width:100%":"")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.options,(a,i)=>(o.openBlock(),o.createElementBlock("option",{key:i,value:a.value,selected:a.selected,disabled:a.disabled},o.toDisplayString(a.label),9,_l))),128))],6),[[o.vModelSelect,r.value]])]))}},Ql="",xl={class:"d-tabs"},$l=["onClick"],Bl=We({__name:"DTabs",props:{tabs:Array},setup(e){const t=e,n=o.toRef(t,"tabs"),s=o.ref(0),r=c=>{s.value=c};return(c,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",xl,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(a,i)=>(o.openBlock(),o.createElementBlock("div",{key:i,class:o.normalizeClass([i===s.value?"active":"","d-tab-title"]),onClick:d=>r(i)},o.toDisplayString(a.label),11,$l))),128))]),(o.openBlock(),o.createBlock(o.KeepAlive,null,[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.value[s.value].component)))],1024))],64))}},[["__scopeId","data-v-89cd9234"]]),ti="",Cl={class:"d-grid"},Dl=We({__name:"DGrid",props:{gap:{type:String,default:"1em"},colXs:{type:String,default:"repeat(1, 1fr)"},colSm:String,colMd:String,colLg:String,colXl:String,colXxl:String},setup(e){const t=e;o.useCssVars(f=>({"09eba472":i[0],"09eba434":i[1],"09eba3f6":i[2],"09eba3b8":i[3],"09eba37a":i[4],"09eba33c":i[5],"898eb2ac":t.gap}));const{colXs:n,colSm:s,colMd:r,colLg:c,colXl:l,colXxl:a}=o.toRefs(t),i=[n.value,s.value,r.value,c.value,l.value,a.value];let d=null;for(let f=0;f<i.length;f++)d||(d=i[0]),f>0&&(i[f]?d=i[f]:i[f]=d);return(f,u)=>(o.openBlock(),o.createElementBlock("div",Cl,[o.renderSlot(f.$slots,"default",{},void 0,!0)]))}},[["__scopeId","data-v-b45e8130"]]),Mo=e=>{typeof e=="string"&&(e={title:"",text:e}),typeof e=="object"&&me.emit("notification-add",e)};Mo.close=e=>{me.emit("notification-close",e)};const Tl=()=>({notify:Mo}),El={mounted:function(e,t){e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||t.value(n,e)},document.addEventListener("click",e.clickOutsideEvent)},unmounted:function(e){document.removeEventListener("click",e.clickOutsideEvent)}},Nl={beforeMount(e,t){e._keydownCallback=n=>{n.key===t.arg&&t.value()},document.addEventListener("keydown",e._keydownCallback)},unmounted(e,t){document.removeEventListener("keydown",e._keydownCallback),delete e._keydownCallback}},vl={beforeMount(e){e.focus()}};function bs(e){return e.type.indexOf("mouse")!==-1?e.clientX:e.touches[0].clientX}function Ss(e){return e.type.indexOf("mouse")!==-1?e.clientY:e.touches[0].clientY}var Ol=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch{}return e}(),Il={disableClick:!1,tapTolerance:10,swipeTolerance:30,touchHoldTolerance:400,longTapTimeInterval:400,touchClass:"",dragFrequency:100,rollOverFrequency:100};function Rt(e){var t=this.$$touchObj,n=e.type.indexOf("touch")>=0,s=e.type.indexOf("mouse")>=0,r=this;n&&(t.lastTouchStartTime=e.timeStamp),!(s&&t.lastTouchStartTime&&e.timeStamp-t.lastTouchStartTime<350)&&(t.touchStarted||(xs(this),t.touchStarted=!0,t.touchMoved=!1,t.swipeOutBounded=!1,t.startX=bs(e),t.startY=Ss(e),t.currentX=0,t.currentY=0,t.touchStartTime=e.timeStamp,t.hasSwipe=Be(this,"swipe")||Be(this,"swipe.left")||Be(this,"swipe.right")||Be(this,"swipe.top")||Be(this,"swipe.bottom"),Be(this,"hold")&&(t.touchHoldTimer=setTimeout(function(){t.touchHoldTimer=null,ve(e,r,"hold")},t.options.touchHoldTolerance)),ve(e,this,"press")))}function Ft(e){var t=this.$$touchObj,n=bs(e),s=Ss(e),r=t.currentX!=n||t.currentY!=s;if(t.currentX=n,t.currentY=s,t.touchMoved){if(t.hasSwipe&&!t.swipeOutBounded){var l=t.options.swipeTolerance;t.swipeOutBounded=Math.abs(t.startX-t.currentX)>l&&Math.abs(t.startY-t.currentY)>l}}else{var c=t.options.tapTolerance;t.touchMoved=Math.abs(t.startX-t.currentX)>c||Math.abs(t.startY-t.currentY)>c,t.touchMoved&&(Ao(t),ve(e,this,"drag.once"))}if(Be(this,"rollover")&&r){var a=e.timeStamp,i=t.options.rollOverFrequency;(t.touchRollTime==null||a>t.touchRollTime+i)&&(t.touchRollTime=a,ve(e,this,"rollover"))}if(Be(this,"drag")&&t.touchStarted&&t.touchMoved&&r){var a=e.timeStamp,i=t.options.dragFrequency;(t.touchDragTime==null||a>t.touchDragTime+i)&&(t.touchDragTime=a,ve(e,this,"drag"))}}function ks(){var e=this.$$touchObj;Ao(e),Ho(this),e.touchStarted=e.touchMoved=!1,e.startX=e.startY=0}function Wt(e){var t=this.$$touchObj,n=e.type.indexOf("touch")>=0,s=e.type.indexOf("mouse")>=0;n&&(t.lastTouchEndTime=e.timeStamp);var r=n&&!t.touchHoldTimer;if(Ao(t),t.touchStarted=!1,Ho(this),!(s&&t.lastTouchEndTime&&e.timeStamp-t.lastTouchEndTime<350))if(ve(e,this,"release"),t.touchMoved){if(t.hasSwipe&&!t.swipeOutBounded){var c=t.options.swipeTolerance,l,a=Math.abs(t.startY-t.currentY),i=Math.abs(t.startX-t.currentX);(a>c||i>c)&&(a>c?l=t.startY>t.currentY?"top":"bottom":l=t.startX>t.currentX?"left":"right",Be(this,"swipe."+l)?ve(e,this,"swipe."+l,l):ve(e,this,"swipe",l))}}else if(Be(this,"longtap")&&e.timeStamp-t.touchStartTime>t.options.longTapTimeInterval)e.cancelable&&e.preventDefault(),ve(e,this,"longtap");else if(Be(this,"hold")&&r){e.cancelable&&e.preventDefault();return}else ve(e,this,"tap")}function _s(){xs(this)}function ws(){Ho(this)}function Be(e,t){var n=e.$$touchObj.callbacks[t];return n!=null&&n.length>0}function ve(e,t,n,s){var r=t.$$touchObj,c=r.callbacks[n];if(c==null||c.length===0)return null;for(var l=0;l<c.length;l++){var a=c[l];a.modifiers.stop&&e.stopPropagation(),a.modifiers.prevent&&e.preventDefault(),!(a.modifiers.self&&e.target!==e.currentTarget)&&typeof a.value=="function"&&(s?a.value(s,e):a.value(e))}}function xs(e){var t=e.$$touchObj.options.touchClass;t&&e.classList.add(t)}function Ho(e){var t=e.$$touchObj.options.touchClass;t&&e.classList.remove(t)}function Ao(e){e.touchHoldTimer&&(clearTimeout(e.touchHoldTimer),e.touchHoldTimer=null)}function Vl(e,t){var n=e.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:Il};return t&&(n.options=Object.assign({},n.options,t)),e.$$touchObj=n,e.$$touchObj}const Ll={beforeMount:function(e,t){const n=Vl(e);let s=Ol?{passive:!0}:!1;const r=t.arg||"tap";switch(r){case"swipe":let c=t.modifiers;if(c.left||c.right||c.top||c.bottom){for(let l in t.modifiers)if(["left","right","top","bottom"].indexOf(l)>=0){let a="swipe."+l;n.callbacks[a]=n.callbacks[a]||[],n.callbacks[a].push(t)}}else n.callbacks.swipe=n.callbacks.swipe||[],n.callbacks.swipe.push(t);break;case"press":case"drag":t.modifiers.disablePassive&&(s=!1);default:n.callbacks[r]=n.callbacks[r]||[],n.callbacks[r].push(t)}n.hasBindTouchEvents||(e.addEventListener("touchstart",Rt,s),e.addEventListener("touchmove",Ft,s),e.addEventListener("touchcancel",ks),e.addEventListener("touchend",Wt),n.options.disableClick||(e.addEventListener("mousedown",Rt),e.addEventListener("mousemove",Ft),e.addEventListener("mouseup",Wt),e.addEventListener("mouseenter",_s),e.addEventListener("mouseleave",ws)),n.hasBindTouchEvents=!0)},unmounted:function(e){e.removeEventListener("touchstart",Rt),e.removeEventListener("touchmove",Ft),e.removeEventListener("touchcancel",ks),e.removeEventListener("touchend",Wt),e.$$touchObj&&!e.$$touchObj.options.disableClick&&(e.removeEventListener("mousedown",Rt),e.removeEventListener("mousemove",Ft),e.removeEventListener("mouseup",Wt),e.removeEventListener("mouseenter",_s),e.removeEventListener("mouseleave",ws)),delete e.$$touchObj}};z.DAccordion=Us,z.DAlertDialog=fs,z.DBadge=qo,z.DButton=Fe,z.DCard=Yc,z.DCheckbox=yl,z.DCollapse=Go,z.DConfigProvider=Qs,z.DConfirmDialog=us,z.DContextMenu=en,z.DDialogProvider=bl,z.DDrag=Ko,z.DDrop=Qo,z.DDropdown=Hc,z.DGlobalStore=ze,z.DGrid=Dl,z.DIcon=Je,z.DIconStore=ke,z.DInfoProgress=pl,z.DInput=Is,z.DLayoutAdmin=Zs,z.DLayoutContent=rn,z.DLayoutFooter=nn,z.DLayoutHeader=tn,z.DLayoutSidebar=sn,z.DLayoutTab=on,z.DMenu=Gt,z.DModal=Io,z.DNotificationProvider=il,z.DPanel=ps,z.DScroll=$c,z.DScrollProvider=xc,z.DSelect=wl,z.DTabs=Bl,z.DTransferStore=ht,z.DTree=Kt,z.DTreeItem=Jo,z.DTreeStore=H,z.alert=ys,z.clickOutside=El,z.confirm=gs,z.emitter=me,z.eventsBus=Zo,z.focus=vl,z.keydown=Nl,z.notify=Mo,z.touch=Ll,z.useNotification=Tl,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
|