@datagouv/components-next 0.0.5 → 0.0.6
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/{Swagger-CID22j1d.js → Swagger-DjysB-OI.js} +1 -1
- package/dist/components-next.js +1 -1
- package/dist/{main-BFyZKvHi.js → main-CPW2vNLE.js} +236 -237
- package/dist/{text-clamp.esm-adUa0-_q.js → text-clamp.esm-DurZFOvT.js} +1 -1
- package/package.json +1 -1
- package/src/components/BannerAction.vue +2 -0
|
@@ -22,7 +22,7 @@ const Gi = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, G3 =
|
|
|
22
22
|
(e) => e.replace(J3, (t, n) => n ? n.toUpperCase() : "")
|
|
23
23
|
), Ks = kf((e) => e.charAt(0).toUpperCase() + e.slice(1)), Q3 = kf(
|
|
24
24
|
(e) => e ? `on${Ks(e)}` : ""
|
|
25
|
-
),
|
|
25
|
+
), Mr = (e, t) => !Object.is(e, t);
|
|
26
26
|
let jd;
|
|
27
27
|
const pu = () => jd || (jd = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
28
28
|
function mu(e) {
|
|
@@ -206,7 +206,7 @@ function nm(e) {
|
|
|
206
206
|
try {
|
|
207
207
|
em(e);
|
|
208
208
|
const i = e.fn(e._value);
|
|
209
|
-
(t.version === 0 ||
|
|
209
|
+
(t.version === 0 || Mr(i, e._value)) && (e._value = i, t.version++);
|
|
210
210
|
} catch (i) {
|
|
211
211
|
throw t.version++, i;
|
|
212
212
|
} finally {
|
|
@@ -329,7 +329,7 @@ function bt(e, t, n) {
|
|
|
329
329
|
}) : i.track();
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function vr(e, t, n, r, i, s) {
|
|
333
333
|
const o = ac.get(e);
|
|
334
334
|
if (!o) {
|
|
335
335
|
Xs++;
|
|
@@ -569,11 +569,11 @@ class f_ extends om {
|
|
|
569
569
|
r,
|
|
570
570
|
Pt(t) ? t : i
|
|
571
571
|
);
|
|
572
|
-
return t === ye(i) && (o ?
|
|
572
|
+
return t === ye(i) && (o ? Mr(r, s) && vr(t, "set", n, r, s) : vr(t, "add", n, r)), a;
|
|
573
573
|
}
|
|
574
574
|
deleteProperty(t, n) {
|
|
575
575
|
const r = sc(t, n), i = t[n], s = Reflect.deleteProperty(t, n);
|
|
576
|
-
return s && r &&
|
|
576
|
+
return s && r && vr(t, "delete", n, void 0, i), s;
|
|
577
577
|
}
|
|
578
578
|
has(t, n) {
|
|
579
579
|
const r = Reflect.has(t, n);
|
|
@@ -644,7 +644,7 @@ function g_(e, t) {
|
|
|
644
644
|
const n = {
|
|
645
645
|
get(i) {
|
|
646
646
|
const s = this.__v_raw, o = ye(s), a = ye(i);
|
|
647
|
-
e || (
|
|
647
|
+
e || (Mr(i, a) && bt(o, "get", i), bt(o, "get", a));
|
|
648
648
|
const { has: u } = zo(o), l = t ? lc : e ? cc : kt;
|
|
649
649
|
if (u.call(o, i))
|
|
650
650
|
return l(s.get(i));
|
|
@@ -658,7 +658,7 @@ function g_(e, t) {
|
|
|
658
658
|
},
|
|
659
659
|
has(i) {
|
|
660
660
|
const s = this.__v_raw, o = ye(s), a = ye(i);
|
|
661
|
-
return e || (
|
|
661
|
+
return e || (Mr(i, a) && bt(o, "has", i), bt(o, "has", a)), i === a ? s.has(i) : s.has(i) || s.has(a);
|
|
662
662
|
},
|
|
663
663
|
forEach(i, s) {
|
|
664
664
|
const o = this, a = o.__v_raw, u = ye(a), l = t ? lc : e ? cc : kt;
|
|
@@ -676,7 +676,7 @@ function g_(e, t) {
|
|
|
676
676
|
add(i) {
|
|
677
677
|
!t && !Ft(i) && !ir(i) && (i = ye(i));
|
|
678
678
|
const s = ye(this);
|
|
679
|
-
return zo(s).has.call(s, i) || (s.add(i),
|
|
679
|
+
return zo(s).has.call(s, i) || (s.add(i), vr(s, "add", i, i)), this;
|
|
680
680
|
},
|
|
681
681
|
set(i, s) {
|
|
682
682
|
!t && !Ft(s) && !ir(s) && (s = ye(s));
|
|
@@ -684,18 +684,18 @@ function g_(e, t) {
|
|
|
684
684
|
let l = a.call(o, i);
|
|
685
685
|
l ? process.env.NODE_ENV !== "production" && Wd(o, a, i) : (i = ye(i), l = a.call(o, i));
|
|
686
686
|
const c = u.call(o, i);
|
|
687
|
-
return o.set(i, s), l ?
|
|
687
|
+
return o.set(i, s), l ? Mr(s, c) && vr(o, "set", i, s, c) : vr(o, "add", i, s), this;
|
|
688
688
|
},
|
|
689
689
|
delete(i) {
|
|
690
690
|
const s = ye(this), { has: o, get: a } = zo(s);
|
|
691
691
|
let u = o.call(s, i);
|
|
692
692
|
u ? process.env.NODE_ENV !== "production" && Wd(s, o, i) : (i = ye(i), u = o.call(s, i));
|
|
693
693
|
const l = a ? a.call(s, i) : void 0, c = s.delete(i);
|
|
694
|
-
return u &&
|
|
694
|
+
return u && vr(s, "delete", i, void 0, l), c;
|
|
695
695
|
},
|
|
696
696
|
clear() {
|
|
697
697
|
const i = ye(this), s = i.size !== 0, o = process.env.NODE_ENV !== "production" ? ci(i) ? new Map(i) : new Set(i) : void 0, a = i.clear();
|
|
698
|
-
return s &&
|
|
698
|
+
return s && vr(
|
|
699
699
|
i,
|
|
700
700
|
"clear",
|
|
701
701
|
void 0,
|
|
@@ -834,7 +834,7 @@ class w_ {
|
|
|
834
834
|
}
|
|
835
835
|
set value(t) {
|
|
836
836
|
const n = this._rawValue, r = this.__v_isShallow || Ft(t) || ir(t);
|
|
837
|
-
t = r ? t : ye(t),
|
|
837
|
+
t = r ? t : ye(t), Mr(t, n) && (this._rawValue = t, this._value = r ? t : kt(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
|
|
838
838
|
target: this,
|
|
839
839
|
type: "set",
|
|
840
840
|
key: "value",
|
|
@@ -913,7 +913,7 @@ function T_(e, t, n = Gi) {
|
|
|
913
913
|
v,
|
|
914
914
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
915
915
|
);
|
|
916
|
-
}, c = (v) => i ? v : Ft(v) || i === !1 || i === 0 ?
|
|
916
|
+
}, c = (v) => i ? v : Ft(v) || i === !1 || i === 0 ? kr(v, 1) : kr(v);
|
|
917
917
|
let f, d, h, p, m = !1, b = !1;
|
|
918
918
|
if (Pt(e) ? (d = () => e.value, m = Ft(e)) : Ui(e) ? (d = () => c(e), m = !0) : Pe(e) ? (b = !0, m = e.some((v) => Ui(v) || Ft(v)), d = () => e.map((v) => {
|
|
919
919
|
if (Pt(v))
|
|
@@ -941,7 +941,7 @@ function T_(e, t, n = Gi) {
|
|
|
941
941
|
}
|
|
942
942
|
} : (d = ji, process.env.NODE_ENV !== "production" && l(e)), t && i) {
|
|
943
943
|
const v = d, k = i === !0 ? 1 / 0 : i;
|
|
944
|
-
d = () =>
|
|
944
|
+
d = () => kr(v(), k);
|
|
945
945
|
}
|
|
946
946
|
const g = () => {
|
|
947
947
|
f.stop();
|
|
@@ -957,7 +957,7 @@ function T_(e, t, n = Gi) {
|
|
|
957
957
|
if (!(!(f.flags & 1) || !f.dirty && !v))
|
|
958
958
|
if (t) {
|
|
959
959
|
const k = f.run();
|
|
960
|
-
if (i || m || (b ? k.some((y, w) =>
|
|
960
|
+
if (i || m || (b ? k.some((y, w) => Mr(y, _[w])) : Mr(k, _))) {
|
|
961
961
|
h && h();
|
|
962
962
|
const y = ri;
|
|
963
963
|
ri = f;
|
|
@@ -990,23 +990,23 @@ function T_(e, t, n = Gi) {
|
|
|
990
990
|
}
|
|
991
991
|
}, process.env.NODE_ENV !== "production" && (f.onTrack = n.onTrack, f.onTrigger = n.onTrigger), t ? r ? x(!0) : _ = f.run() : o ? o(x.bind(null, !0), !0) : f.run(), g.pause = f.pause.bind(f), g.resume = f.resume.bind(f), g.stop = g, g;
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function kr(e, t = 1 / 0, n) {
|
|
994
994
|
if (t <= 0 || !ft(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
995
995
|
return e;
|
|
996
996
|
if (n.add(e), t--, Pt(e))
|
|
997
|
-
|
|
997
|
+
kr(e.value, t, n);
|
|
998
998
|
else if (Pe(e))
|
|
999
999
|
for (let r = 0; r < e.length; r++)
|
|
1000
|
-
|
|
1000
|
+
kr(e[r], t, n);
|
|
1001
1001
|
else if (q1(e) || ci(e))
|
|
1002
1002
|
e.forEach((r) => {
|
|
1003
|
-
|
|
1003
|
+
kr(r, t, n);
|
|
1004
1004
|
});
|
|
1005
1005
|
else if (G1(e)) {
|
|
1006
1006
|
for (const r in e)
|
|
1007
|
-
|
|
1007
|
+
kr(e[r], t, n);
|
|
1008
1008
|
for (const r of Object.getOwnPropertySymbols(e))
|
|
1009
|
-
Object.prototype.propertyIsEnumerable.call(e, r) &&
|
|
1009
|
+
Object.prototype.propertyIsEnumerable.call(e, r) && kr(e[r], t, n);
|
|
1010
1010
|
}
|
|
1011
1011
|
return e;
|
|
1012
1012
|
}
|
|
@@ -1189,7 +1189,7 @@ function R_(e, t, n, r = !0, i = !1) {
|
|
|
1189
1189
|
const rn = [];
|
|
1190
1190
|
let Vn = -1;
|
|
1191
1191
|
const qi = [];
|
|
1192
|
-
let
|
|
1192
|
+
let yr = null, Ri = 0;
|
|
1193
1193
|
const hm = /* @__PURE__ */ Promise.resolve();
|
|
1194
1194
|
let Ba = null;
|
|
1195
1195
|
const N_ = 100;
|
|
@@ -1216,22 +1216,22 @@ function mm() {
|
|
|
1216
1216
|
Ba || (Ba = hm.then(bm));
|
|
1217
1217
|
}
|
|
1218
1218
|
function gm(e) {
|
|
1219
|
-
Pe(e) ? qi.push(...e) :
|
|
1219
|
+
Pe(e) ? qi.push(...e) : yr && e.id === -1 ? yr.splice(Ri + 1, 0, e) : e.flags & 1 || (qi.push(e), e.flags |= 1), mm();
|
|
1220
1220
|
}
|
|
1221
1221
|
function B_(e) {
|
|
1222
1222
|
if (qi.length) {
|
|
1223
1223
|
const t = [...new Set(qi)].sort(
|
|
1224
1224
|
(n, r) => Qs(n) - Qs(r)
|
|
1225
1225
|
);
|
|
1226
|
-
if (qi.length = 0,
|
|
1227
|
-
|
|
1226
|
+
if (qi.length = 0, yr) {
|
|
1227
|
+
yr.push(...t);
|
|
1228
1228
|
return;
|
|
1229
1229
|
}
|
|
1230
|
-
for (
|
|
1231
|
-
const n =
|
|
1230
|
+
for (yr = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Ri = 0; Ri < yr.length; Ri++) {
|
|
1231
|
+
const n = yr[Ri];
|
|
1232
1232
|
process.env.NODE_ENV !== "production" && _m(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
1233
1233
|
}
|
|
1234
|
-
|
|
1234
|
+
yr = null, Ri = 0;
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
1237
|
const Qs = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
@@ -1328,19 +1328,19 @@ function sl(e) {
|
|
|
1328
1328
|
}
|
|
1329
1329
|
};
|
|
1330
1330
|
}
|
|
1331
|
-
let
|
|
1331
|
+
let wr, Ds = [], fc = !1;
|
|
1332
1332
|
function U_(e, ...t) {
|
|
1333
|
-
|
|
1333
|
+
wr ? wr.emit(e, ...t) : fc || Ds.push({ event: e, args: t });
|
|
1334
1334
|
}
|
|
1335
1335
|
function ym(e, t) {
|
|
1336
1336
|
var n, r;
|
|
1337
|
-
|
|
1337
|
+
wr = e, wr ? (wr.enabled = !0, Ds.forEach(({ event: i, args: s }) => wr.emit(i, ...s)), Ds = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1338
1338
|
window.HTMLElement && // also exclude jsdom
|
|
1339
1339
|
// eslint-disable-next-line no-restricted-syntax
|
|
1340
1340
|
!((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
|
|
1341
1341
|
ym(s, t);
|
|
1342
1342
|
}), setTimeout(() => {
|
|
1343
|
-
|
|
1343
|
+
wr || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, fc = !0, Ds = []);
|
|
1344
1344
|
}, 3e3)) : (fc = !0, Ds = []);
|
|
1345
1345
|
}
|
|
1346
1346
|
const q_ = /* @__PURE__ */ W_(
|
|
@@ -1899,7 +1899,7 @@ function jo(e) {
|
|
|
1899
1899
|
})), [n, () => pc(t)];
|
|
1900
1900
|
}
|
|
1901
1901
|
let l4 = null;
|
|
1902
|
-
function
|
|
1902
|
+
function sr(e, t) {
|
|
1903
1903
|
if (!wt)
|
|
1904
1904
|
process.env.NODE_ENV !== "production" && _e("provide() can only be used inside setup().");
|
|
1905
1905
|
else {
|
|
@@ -2540,8 +2540,7 @@ const L4 = ["src", "width", "height"], $m = /* @__PURE__ */ q({
|
|
|
2540
2540
|
title: {}
|
|
2541
2541
|
},
|
|
2542
2542
|
setup(e) {
|
|
2543
|
-
|
|
2544
|
-
return provide(zm, t.type), (n, r) => (O(), R("div", {
|
|
2543
|
+
return sr(zm, e.type), (n, r) => (O(), R("div", {
|
|
2545
2544
|
class: Te(["group flex items-center justify-between rounded border p-2.5", {
|
|
2546
2545
|
"!border-datagouv bg-datagouv-lightest text-datagouv-dark": n.type === "primary",
|
|
2547
2546
|
"!border-danger-dark bg-danger-lightest text-danger-dark": n.type === "danger",
|
|
@@ -2798,10 +2797,10 @@ const h0 = (e, t, n) => e ?? t ?? n;
|
|
|
2798
2797
|
* (c) 2025 kazuya kawaguchi
|
|
2799
2798
|
* Released under the MIT License.
|
|
2800
2799
|
*/
|
|
2801
|
-
const
|
|
2800
|
+
const or = typeof window < "u";
|
|
2802
2801
|
let Xt, yi;
|
|
2803
2802
|
if (process.env.NODE_ENV !== "production") {
|
|
2804
|
-
const e =
|
|
2803
|
+
const e = or && window.performance;
|
|
2805
2804
|
e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
|
|
2806
2805
|
e.clearMeasures && (Xt = (t) => {
|
|
2807
2806
|
e.mark(t);
|
|
@@ -2813,7 +2812,7 @@ const by = /\{([0-9a-zA-Z]+)\}/g;
|
|
|
2813
2812
|
function wu(e, ...t) {
|
|
2814
2813
|
return t.length === 1 && Ae(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(by, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
2815
2814
|
}
|
|
2816
|
-
const
|
|
2815
|
+
const ur = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), _y = (e, t, n) => yy({ l: e, k: t, s: n }), yy = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ut = (e) => typeof e == "number" && isFinite(e), xy = (e) => Ff(e) === "[object Date]", Wa = (e) => Ff(e) === "[object RegExp]", Cu = (e) => Se(e) && Object.keys(e).length === 0, dt = Object.assign, vy = Object.create, Me = (e = null) => vy(e);
|
|
2817
2816
|
let p0;
|
|
2818
2817
|
const oi = () => p0 || (p0 = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : Me());
|
|
2819
2818
|
function m0(e) {
|
|
@@ -2992,7 +2991,7 @@ function Ny(e) {
|
|
|
2992
2991
|
skipToPeek: y
|
|
2993
2992
|
};
|
|
2994
2993
|
}
|
|
2995
|
-
const
|
|
2994
|
+
const hr = void 0, $y = ".", _0 = "'", zy = "tokenizer";
|
|
2996
2995
|
function By(e, t = {}) {
|
|
2997
2996
|
const n = t.location !== !1, r = Ny(e), i = () => r.index(), s = () => Dy(r.line(), r.column(), r.index()), o = s(), a = i(), u = {
|
|
2998
2997
|
currentType: 13,
|
|
@@ -3041,7 +3040,7 @@ function By(e, t = {}) {
|
|
|
3041
3040
|
return L.skipToPeek(), F;
|
|
3042
3041
|
}
|
|
3043
3042
|
function g(L) {
|
|
3044
|
-
if (L ===
|
|
3043
|
+
if (L === hr)
|
|
3045
3044
|
return !1;
|
|
3046
3045
|
const F = L.charCodeAt(0);
|
|
3047
3046
|
return F >= 97 && F <= 122 || // a-z
|
|
@@ -3049,7 +3048,7 @@ function By(e, t = {}) {
|
|
|
3049
3048
|
F === 95;
|
|
3050
3049
|
}
|
|
3051
3050
|
function _(L) {
|
|
3052
|
-
if (L ===
|
|
3051
|
+
if (L === hr)
|
|
3053
3052
|
return !1;
|
|
3054
3053
|
const F = L.charCodeAt(0);
|
|
3055
3054
|
return F >= 48 && F <= 57;
|
|
@@ -3126,7 +3125,7 @@ function By(e, t = {}) {
|
|
|
3126
3125
|
}
|
|
3127
3126
|
function z(L, F) {
|
|
3128
3127
|
const U = L.currentChar();
|
|
3129
|
-
return U ===
|
|
3128
|
+
return U === hr ? hr : F(U) ? (L.next(), U) : null;
|
|
3130
3129
|
}
|
|
3131
3130
|
function G(L) {
|
|
3132
3131
|
const F = L.charCodeAt(0);
|
|
@@ -3197,12 +3196,12 @@ function By(e, t = {}) {
|
|
|
3197
3196
|
let F = "", U = "";
|
|
3198
3197
|
for (; F = oe(L); )
|
|
3199
3198
|
U += F;
|
|
3200
|
-
return L.currentChar() ===
|
|
3199
|
+
return L.currentChar() === hr && f(le.UNTERMINATED_CLOSING_BRACE, s(), 0), U;
|
|
3201
3200
|
}
|
|
3202
3201
|
function We(L) {
|
|
3203
3202
|
b(L);
|
|
3204
3203
|
let F = "";
|
|
3205
|
-
return L.currentChar() === "-" ? (L.next(), F += `-${Ce(L)}`) : F += Ce(L), L.currentChar() ===
|
|
3204
|
+
return L.currentChar() === "-" ? (L.next(), F += `-${Ce(L)}`) : F += Ce(L), L.currentChar() === hr && f(le.UNTERMINATED_CLOSING_BRACE, s(), 0), F;
|
|
3206
3205
|
}
|
|
3207
3206
|
function mt(L) {
|
|
3208
3207
|
return L !== _0 && L !== Lt;
|
|
@@ -3213,7 +3212,7 @@ function By(e, t = {}) {
|
|
|
3213
3212
|
for (; F = z(L, mt); )
|
|
3214
3213
|
F === "\\" ? U += Pn(L) : U += F;
|
|
3215
3214
|
const se = L.currentChar();
|
|
3216
|
-
return se === Lt || se ===
|
|
3215
|
+
return se === Lt || se === hr ? (f(le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), se === Lt && (L.next(), p(L, "'")), U) : (p(L, "'"), U);
|
|
3217
3216
|
}
|
|
3218
3217
|
function Pn(L) {
|
|
3219
3218
|
const F = L.currentChar();
|
|
@@ -3252,7 +3251,7 @@ function By(e, t = {}) {
|
|
|
3252
3251
|
U += F;
|
|
3253
3252
|
return U;
|
|
3254
3253
|
}
|
|
3255
|
-
function
|
|
3254
|
+
function cr(L) {
|
|
3256
3255
|
let F = "", U = "";
|
|
3257
3256
|
for (; F = ie(L); )
|
|
3258
3257
|
U += F;
|
|
@@ -3298,7 +3297,7 @@ function By(e, t = {}) {
|
|
|
3298
3297
|
if (S(L))
|
|
3299
3298
|
return F.braceNest > 0 && f(le.UNTERMINATED_CLOSING_BRACE, s(), 0), U = d(F, 1, Gr(L)), F.braceNest = 0, F.inLinked = !1, U;
|
|
3300
3299
|
if (F.braceNest > 0 && (F.currentType === 4 || F.currentType === 5 || F.currentType === 6))
|
|
3301
|
-
return f(le.UNTERMINATED_CLOSING_BRACE, s(), 0), F.braceNest = 0,
|
|
3300
|
+
return f(le.UNTERMINATED_CLOSING_BRACE, s(), 0), F.braceNest = 0, fr(L, F);
|
|
3302
3301
|
if (Ye = x(L, F))
|
|
3303
3302
|
return U = d(F, 4, D(L)), b(L), U;
|
|
3304
3303
|
if (Ze = v(L, F))
|
|
@@ -3339,10 +3338,10 @@ function By(e, t = {}) {
|
|
|
3339
3338
|
/* TokenChars.LinkedDelimiter */
|
|
3340
3339
|
);
|
|
3341
3340
|
default:
|
|
3342
|
-
return S(L) ? (se = d(F, 1, Gr(L)), F.braceNest = 0, F.inLinked = !1, se) : y(L, F) || M(L, F) ? (b(L), kn(L, F)) : w(L, F) ? (b(L), d(F, 11,
|
|
3341
|
+
return S(L) ? (se = d(F, 1, Gr(L)), F.braceNest = 0, F.inLinked = !1, se) : y(L, F) || M(L, F) ? (b(L), kn(L, F)) : w(L, F) ? (b(L), d(F, 11, cr(L))) : P(L, F) ? (b(L), Ye === "{" ? Kr(L, F) || se : d(F, 10, ms(L))) : (U === 7 && f(le.INVALID_LINKED_FORMAT, s(), 0), F.braceNest = 0, F.inLinked = !1, fr(L, F));
|
|
3343
3342
|
}
|
|
3344
3343
|
}
|
|
3345
|
-
function
|
|
3344
|
+
function fr(L, F) {
|
|
3346
3345
|
let U = {
|
|
3347
3346
|
type: 13
|
|
3348
3347
|
/* TokenTypes.EOF */
|
|
@@ -3375,11 +3374,11 @@ function By(e, t = {}) {
|
|
|
3375
3374
|
}
|
|
3376
3375
|
function Oi() {
|
|
3377
3376
|
const { currentType: L, offset: F, startLoc: U, endLoc: se } = u;
|
|
3378
|
-
return u.lastType = L, u.lastOffset = F, u.lastStartLoc = U, u.lastEndLoc = se, u.offset = i(), u.startLoc = s(), r.currentChar() ===
|
|
3377
|
+
return u.lastType = L, u.lastOffset = F, u.lastStartLoc = U, u.lastEndLoc = se, u.offset = i(), u.startLoc = s(), r.currentChar() === hr ? d(
|
|
3379
3378
|
u,
|
|
3380
3379
|
13
|
|
3381
3380
|
/* TokenTypes.EOF */
|
|
3382
|
-
) :
|
|
3381
|
+
) : fr(r, u);
|
|
3383
3382
|
}
|
|
3384
3383
|
return {
|
|
3385
3384
|
nextToken: Oi,
|
|
@@ -4779,7 +4778,7 @@ function tg(e, t, n, r, i, s) {
|
|
|
4779
4778
|
}
|
|
4780
4779
|
f = o[d] || Me();
|
|
4781
4780
|
let _ = null, x, v;
|
|
4782
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
4781
|
+
if (process.env.NODE_ENV !== "production" && or && (_ = window.performance.now(), x = "intlify-message-resolve-start", v = "intlify-message-resolve-end", Xt && Xt(x)), (h = u(f, t)) === null && (h = f[t]), process.env.NODE_ENV !== "production" && or) {
|
|
4783
4782
|
const k = window.performance.now(), y = e.__v_emitter;
|
|
4784
4783
|
y && _ && h && y.emit("message-resolve", {
|
|
4785
4784
|
type: "message-resolve",
|
|
@@ -4817,9 +4816,9 @@ function ng(e, t, n, r, i, s) {
|
|
|
4817
4816
|
return d.locale = n, d.key = t, d;
|
|
4818
4817
|
}
|
|
4819
4818
|
let u = null, l, c;
|
|
4820
|
-
process.env.NODE_ENV !== "production" &&
|
|
4819
|
+
process.env.NODE_ENV !== "production" && or && (u = window.performance.now(), l = "intlify-message-compilation-start", c = "intlify-message-compilation-end", Xt && Xt(l));
|
|
4821
4820
|
const f = o(r, l6(e, n, i, r, a, s));
|
|
4822
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
4821
|
+
if (process.env.NODE_ENV !== "production" && or) {
|
|
4823
4822
|
const d = window.performance.now(), h = e.__v_emitter;
|
|
4824
4823
|
h && u && h.emit("message-compilation", {
|
|
4825
4824
|
type: "message-compilation",
|
|
@@ -4832,9 +4831,9 @@ function ng(e, t, n, r, i, s) {
|
|
|
4832
4831
|
}
|
|
4833
4832
|
function u6(e, t, n) {
|
|
4834
4833
|
let r = null, i, s;
|
|
4835
|
-
process.env.NODE_ENV !== "production" &&
|
|
4834
|
+
process.env.NODE_ENV !== "production" && or && (r = window.performance.now(), i = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", Xt && Xt(i));
|
|
4836
4835
|
const o = t(n);
|
|
4837
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
4836
|
+
if (process.env.NODE_ENV !== "production" && or) {
|
|
4838
4837
|
const a = window.performance.now(), u = e.__v_emitter;
|
|
4839
4838
|
u && r && u.emit("message-evaluation", {
|
|
4840
4839
|
type: "message-evaluation",
|
|
@@ -4972,7 +4971,7 @@ const m6 = {
|
|
|
4972
4971
|
[gt.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
4973
4972
|
[gt.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
4974
4973
|
[gt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
4975
|
-
}, xc = /* @__PURE__ */
|
|
4974
|
+
}, xc = /* @__PURE__ */ ur("__translateVNode"), vc = /* @__PURE__ */ ur("__datetimeParts"), kc = /* @__PURE__ */ ur("__numberParts"), wc = /* @__PURE__ */ ur("__enableEmitter"), Cc = /* @__PURE__ */ ur("__disableEmitter"), g6 = ur("__setPluralRules"), rg = /* @__PURE__ */ ur("__injectWithOption"), Ec = /* @__PURE__ */ ur("__dispose");
|
|
4976
4975
|
function oo(e) {
|
|
4977
4976
|
if (!Ae(e))
|
|
4978
4977
|
return e;
|
|
@@ -5053,7 +5052,7 @@ const y6 = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
5053
5052
|
return e && (t = sg(e)[N0]) ? { [N0]: t } : null;
|
|
5054
5053
|
};
|
|
5055
5054
|
function x6(e = {}) {
|
|
5056
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, s =
|
|
5055
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, s = or ? ne : _i;
|
|
5057
5056
|
let o = Je(e.inheritLocale) ? e.inheritLocale : !0;
|
|
5058
5057
|
const a = s(
|
|
5059
5058
|
// prettier-ignore
|
|
@@ -5140,8 +5139,8 @@ function x6(e = {}) {
|
|
|
5140
5139
|
key: Ot,
|
|
5141
5140
|
type: j
|
|
5142
5141
|
})), process.env.NODE_ENV !== "production")) {
|
|
5143
|
-
const { __v_emitter:
|
|
5144
|
-
|
|
5142
|
+
const { __v_emitter: dr } = w;
|
|
5143
|
+
dr && p && dr.emit("fallback", {
|
|
5145
5144
|
type: j,
|
|
5146
5145
|
key: Ot,
|
|
5147
5146
|
to: "global",
|
|
@@ -5196,7 +5195,7 @@ function x6(e = {}) {
|
|
|
5196
5195
|
function vn(...V) {
|
|
5197
5196
|
return E((T) => Reflect.apply(T0, null, [T, ...V]), () => bc(...V), "datetime format", (T) => T[vc](...V), $0, (T) => ee(T) || it(T));
|
|
5198
5197
|
}
|
|
5199
|
-
function
|
|
5198
|
+
function cr(V) {
|
|
5200
5199
|
y = V, w.pluralRules = y;
|
|
5201
5200
|
}
|
|
5202
5201
|
function ms(V, T) {
|
|
@@ -5226,7 +5225,7 @@ function x6(e = {}) {
|
|
|
5226
5225
|
function kn(V) {
|
|
5227
5226
|
return l.value[V] || {};
|
|
5228
5227
|
}
|
|
5229
|
-
function
|
|
5228
|
+
function fr(V, T) {
|
|
5230
5229
|
if (i) {
|
|
5231
5230
|
const j = { [V]: T };
|
|
5232
5231
|
for (const Q in j)
|
|
@@ -5261,7 +5260,7 @@ function x6(e = {}) {
|
|
|
5261
5260
|
function Ze(V, T) {
|
|
5262
5261
|
f.value[V] = dt(f.value[V] || {}, T), w.numberFormats = f.value, M0(w, V, T);
|
|
5263
5262
|
}
|
|
5264
|
-
z0++, t &&
|
|
5263
|
+
z0++, t && or && (Ki(t.locale, (V) => {
|
|
5265
5264
|
o && (a.value = V, w.locale = V, _s(w, a.value, u.value));
|
|
5266
5265
|
}), Ki(t.fallbackLocale, (V) => {
|
|
5267
5266
|
o && (u.value = V, w.fallbackLocale = V, _s(w, a.value, u.value));
|
|
@@ -5327,13 +5326,13 @@ function x6(e = {}) {
|
|
|
5327
5326
|
},
|
|
5328
5327
|
t: Ce,
|
|
5329
5328
|
getLocaleMessage: kn,
|
|
5330
|
-
setLocaleMessage:
|
|
5329
|
+
setLocaleMessage: fr,
|
|
5331
5330
|
mergeLocaleMessage: Oi,
|
|
5332
5331
|
getPostTranslationHandler: W,
|
|
5333
5332
|
setPostTranslationHandler: oe,
|
|
5334
5333
|
getMissingHandler: te,
|
|
5335
5334
|
setMissingHandler: ke,
|
|
5336
|
-
[g6]:
|
|
5335
|
+
[g6]: cr
|
|
5337
5336
|
};
|
|
5338
5337
|
return xe.datetimeFormats = G, xe.numberFormats = ie, xe.rt = $e, xe.te = ms, xe.tm = Kr, xe.d = D, xe.n = We, xe.getDateTimeFormat = L, xe.setDateTimeFormat = F, xe.mergeDateTimeFormat = U, xe.getNumberFormat = se, xe.setNumberFormat = Ye, xe.mergeNumberFormat = Ze, xe[rg] = n, xe[xc] = qt, xe[vc] = vn, xe[kc] = xn, process.env.NODE_ENV !== "production" && (xe[wc] = (V) => {
|
|
5339
5338
|
w.__v_emitter = V;
|
|
@@ -5421,7 +5420,7 @@ dt({
|
|
|
5421
5420
|
type: [String, Object]
|
|
5422
5421
|
}
|
|
5423
5422
|
}, Bf);
|
|
5424
|
-
const w6 = /* @__PURE__ */
|
|
5423
|
+
const w6 = /* @__PURE__ */ ur("global-vue-i18n");
|
|
5425
5424
|
function Ne(e = {}) {
|
|
5426
5425
|
const t = un();
|
|
5427
5426
|
if (t == null)
|
|
@@ -5665,7 +5664,7 @@ const O6 = ["href"], ki = /* @__PURE__ */ q({
|
|
|
5665
5664
|
for (const [r, i] of t)
|
|
5666
5665
|
n[r] = i;
|
|
5667
5666
|
return n;
|
|
5668
|
-
},
|
|
5667
|
+
}, Er = /* @__PURE__ */ pt(L6, [["__scopeId", "data-v-4887da69"]]), va = 3600 * 24;
|
|
5669
5668
|
function Ir(e, t = {}) {
|
|
5670
5669
|
if (!e)
|
|
5671
5670
|
return "";
|
|
@@ -5956,10 +5955,10 @@ var lt;
|
|
|
5956
5955
|
e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
|
|
5957
5956
|
})(lt || (lt = {}));
|
|
5958
5957
|
const X6 = 32;
|
|
5959
|
-
var
|
|
5958
|
+
var Sr;
|
|
5960
5959
|
(function(e) {
|
|
5961
5960
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
5962
|
-
})(
|
|
5961
|
+
})(Sr || (Sr = {}));
|
|
5963
5962
|
function Sc(e) {
|
|
5964
5963
|
return e >= lt.ZERO && e <= lt.NINE;
|
|
5965
5964
|
}
|
|
@@ -5976,13 +5975,13 @@ var at;
|
|
|
5976
5975
|
(function(e) {
|
|
5977
5976
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
5978
5977
|
})(at || (at = {}));
|
|
5979
|
-
var
|
|
5978
|
+
var Cr;
|
|
5980
5979
|
(function(e) {
|
|
5981
5980
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
5982
|
-
})(
|
|
5981
|
+
})(Cr || (Cr = {}));
|
|
5983
5982
|
class t5 {
|
|
5984
5983
|
constructor(t, n, r) {
|
|
5985
|
-
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = at.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode =
|
|
5984
|
+
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = at.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Cr.Strict;
|
|
5986
5985
|
}
|
|
5987
5986
|
/** Resets the instance to make it reusable. */
|
|
5988
5987
|
startEntity(t) {
|
|
@@ -6090,7 +6089,7 @@ class t5 {
|
|
|
6090
6089
|
return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
6091
6090
|
if (t === lt.SEMI)
|
|
6092
6091
|
this.consumed += 1;
|
|
6093
|
-
else if (this.decodeMode ===
|
|
6092
|
+
else if (this.decodeMode === Cr.Strict)
|
|
6094
6093
|
return 0;
|
|
6095
6094
|
return this.emitCodePoint(K6(this.result), this.consumed), this.errors && (t !== lt.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
6096
6095
|
}
|
|
@@ -6105,18 +6104,18 @@ class t5 {
|
|
|
6105
6104
|
*/
|
|
6106
6105
|
stateNamedEntity(t, n) {
|
|
6107
6106
|
const { decodeTree: r } = this;
|
|
6108
|
-
let i = r[this.treeIndex], s = (i &
|
|
6107
|
+
let i = r[this.treeIndex], s = (i & Sr.VALUE_LENGTH) >> 14;
|
|
6109
6108
|
for (; n < t.length; n++, this.excess++) {
|
|
6110
6109
|
const o = t.charCodeAt(n);
|
|
6111
6110
|
if (this.treeIndex = n5(r, i, this.treeIndex + Math.max(1, s), o), this.treeIndex < 0)
|
|
6112
6111
|
return this.result === 0 || // If we are parsing an attribute
|
|
6113
|
-
this.decodeMode ===
|
|
6112
|
+
this.decodeMode === Cr.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
6114
6113
|
(s === 0 || // And there should be no invalid characters.
|
|
6115
6114
|
e5(o)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
6116
|
-
if (i = r[this.treeIndex], s = (i &
|
|
6115
|
+
if (i = r[this.treeIndex], s = (i & Sr.VALUE_LENGTH) >> 14, s !== 0) {
|
|
6117
6116
|
if (o === lt.SEMI)
|
|
6118
6117
|
return this.emitNamedEntityData(this.treeIndex, s, this.consumed + this.excess);
|
|
6119
|
-
this.decodeMode !==
|
|
6118
|
+
this.decodeMode !== Cr.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
6120
6119
|
}
|
|
6121
6120
|
}
|
|
6122
6121
|
return -1;
|
|
@@ -6128,7 +6127,7 @@ class t5 {
|
|
|
6128
6127
|
*/
|
|
6129
6128
|
emitNotTerminatedNamedEntity() {
|
|
6130
6129
|
var t;
|
|
6131
|
-
const { result: n, decodeTree: r } = this, i = (r[n] &
|
|
6130
|
+
const { result: n, decodeTree: r } = this, i = (r[n] & Sr.VALUE_LENGTH) >> 14;
|
|
6132
6131
|
return this.emitNamedEntityData(n, i, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
6133
6132
|
}
|
|
6134
6133
|
/**
|
|
@@ -6142,7 +6141,7 @@ class t5 {
|
|
|
6142
6141
|
*/
|
|
6143
6142
|
emitNamedEntityData(t, n, r) {
|
|
6144
6143
|
const { decodeTree: i } = this;
|
|
6145
|
-
return this.emitCodePoint(n === 1 ? i[t] & ~
|
|
6144
|
+
return this.emitCodePoint(n === 1 ? i[t] & ~Sr.VALUE_LENGTH : i[t + 1], r), n === 3 && this.emitCodePoint(i[t + 2], r), r;
|
|
6146
6145
|
}
|
|
6147
6146
|
/**
|
|
6148
6147
|
* Signal to the parser that the end of the input was reached.
|
|
@@ -6155,7 +6154,7 @@ class t5 {
|
|
|
6155
6154
|
var t;
|
|
6156
6155
|
switch (this.state) {
|
|
6157
6156
|
case at.NamedEntity:
|
|
6158
|
-
return this.result !== 0 && (this.decodeMode !==
|
|
6157
|
+
return this.result !== 0 && (this.decodeMode !== Cr.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
6159
6158
|
// Otherwise, emit a numeric entity if we have one.
|
|
6160
6159
|
case at.NumericDecimal:
|
|
6161
6160
|
return this.emitNumericEntity(0, 2);
|
|
@@ -6191,7 +6190,7 @@ function dg(e) {
|
|
|
6191
6190
|
};
|
|
6192
6191
|
}
|
|
6193
6192
|
function n5(e, t, n, r) {
|
|
6194
|
-
const i = (t &
|
|
6193
|
+
const i = (t & Sr.BRANCH_LENGTH) >> 7, s = t & Sr.JUMP_TABLE;
|
|
6195
6194
|
if (i === 0)
|
|
6196
6195
|
return s !== 0 && r === s ? n : -1;
|
|
6197
6196
|
if (s) {
|
|
@@ -6212,7 +6211,7 @@ function n5(e, t, n, r) {
|
|
|
6212
6211
|
}
|
|
6213
6212
|
const r5 = dg(W6);
|
|
6214
6213
|
dg(Y6);
|
|
6215
|
-
function hg(e, t =
|
|
6214
|
+
function hg(e, t = Cr.Legacy) {
|
|
6216
6215
|
return r5(e, t);
|
|
6217
6216
|
}
|
|
6218
6217
|
function i5(e) {
|
|
@@ -8412,7 +8411,7 @@ const Wi = 2147483647, Dn = 36, Zf = 1, co = 26, J8 = 38, Q8 = 700, wg = 72, Cg
|
|
|
8412
8411
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
8413
8412
|
"invalid-input": "Invalid input"
|
|
8414
8413
|
}, ml = Dn - Zf, Tn = Math.floor, gl = String.fromCharCode;
|
|
8415
|
-
function
|
|
8414
|
+
function xr(e) {
|
|
8416
8415
|
throw new RangeError(rv[e]);
|
|
8417
8416
|
}
|
|
8418
8417
|
function iv(e, t) {
|
|
@@ -8457,21 +8456,21 @@ const sv = (e) => String.fromCodePoint(...e), ov = function(e) {
|
|
|
8457
8456
|
let r = 0, i = Cg, s = wg, o = e.lastIndexOf(Eg);
|
|
8458
8457
|
o < 0 && (o = 0);
|
|
8459
8458
|
for (let a = 0; a < o; ++a)
|
|
8460
|
-
e.charCodeAt(a) >= 128 &&
|
|
8459
|
+
e.charCodeAt(a) >= 128 && xr("not-basic"), t.push(e.charCodeAt(a));
|
|
8461
8460
|
for (let a = o > 0 ? o + 1 : 0; a < n; ) {
|
|
8462
8461
|
const u = r;
|
|
8463
8462
|
for (let c = 1, f = Dn; ; f += Dn) {
|
|
8464
|
-
a >= n &&
|
|
8463
|
+
a >= n && xr("invalid-input");
|
|
8465
8464
|
const d = ov(e.charCodeAt(a++));
|
|
8466
|
-
d >= Dn &&
|
|
8465
|
+
d >= Dn && xr("invalid-input"), d > Tn((Wi - r) / c) && xr("overflow"), r += d * c;
|
|
8467
8466
|
const h = f <= s ? Zf : f >= s + co ? co : f - s;
|
|
8468
8467
|
if (d < h)
|
|
8469
8468
|
break;
|
|
8470
8469
|
const p = Dn - h;
|
|
8471
|
-
c > Tn(Wi / p) &&
|
|
8470
|
+
c > Tn(Wi / p) && xr("overflow"), c *= p;
|
|
8472
8471
|
}
|
|
8473
8472
|
const l = t.length + 1;
|
|
8474
|
-
s = Dg(r - u, l, u == 0), Tn(r / l) > Wi - i &&
|
|
8473
|
+
s = Dg(r - u, l, u == 0), Tn(r / l) > Wi - i && xr("overflow"), i += Tn(r / l), r %= l, t.splice(r++, 0, i);
|
|
8475
8474
|
}
|
|
8476
8475
|
return String.fromCodePoint(...t);
|
|
8477
8476
|
}, Og = function(e) {
|
|
@@ -8488,9 +8487,9 @@ const sv = (e) => String.fromCodePoint(...e), ov = function(e) {
|
|
|
8488
8487
|
for (const c of e)
|
|
8489
8488
|
c >= r && c < u && (u = c);
|
|
8490
8489
|
const l = a + 1;
|
|
8491
|
-
u - r > Tn((Wi - i) / l) &&
|
|
8490
|
+
u - r > Tn((Wi - i) / l) && xr("overflow"), i += (u - r) * l, r = u;
|
|
8492
8491
|
for (const c of e)
|
|
8493
|
-
if (c < r && ++i > Wi &&
|
|
8492
|
+
if (c < r && ++i > Wi && xr("overflow"), c === r) {
|
|
8494
8493
|
let f = i;
|
|
8495
8494
|
for (let d = Dn; ; d += Dn) {
|
|
8496
8495
|
const h = d <= s ? Zf : d >= s + co ? co : d - s;
|
|
@@ -10863,13 +10862,13 @@ function a7(e, t, n) {
|
|
|
10863
10862
|
function Ce(Le) {
|
|
10864
10863
|
return Pn;
|
|
10865
10864
|
function Pn(qt) {
|
|
10866
|
-
const xn = qt !== null && Le[qt], vn = qt !== null && Le.null,
|
|
10865
|
+
const xn = qt !== null && Le[qt], vn = qt !== null && Le.null, cr = [
|
|
10867
10866
|
// To do: add more extension tests.
|
|
10868
10867
|
/* c8 ignore next 2 */
|
|
10869
10868
|
...Array.isArray(xn) ? xn : xn ? [xn] : [],
|
|
10870
10869
|
...Array.isArray(vn) ? vn : vn ? [vn] : []
|
|
10871
10870
|
];
|
|
10872
|
-
return $e(
|
|
10871
|
+
return $e(cr)(qt);
|
|
10873
10872
|
}
|
|
10874
10873
|
}
|
|
10875
10874
|
function $e(Le) {
|
|
@@ -11072,10 +11071,10 @@ function g7(e) {
|
|
|
11072
11071
|
blockQuote: s(vn),
|
|
11073
11072
|
characterEscape: P,
|
|
11074
11073
|
characterReference: P,
|
|
11075
|
-
codeFenced: s(
|
|
11074
|
+
codeFenced: s(cr),
|
|
11076
11075
|
codeFencedFenceInfo: o,
|
|
11077
11076
|
codeFencedFenceMeta: o,
|
|
11078
|
-
codeIndented: s(
|
|
11077
|
+
codeIndented: s(cr, o),
|
|
11079
11078
|
codeText: s(ms, o),
|
|
11080
11079
|
codeTextData: P,
|
|
11081
11080
|
data: P,
|
|
@@ -11085,8 +11084,8 @@ function g7(e) {
|
|
|
11085
11084
|
definitionLabelString: o,
|
|
11086
11085
|
definitionTitleString: o,
|
|
11087
11086
|
emphasis: s(Kr),
|
|
11088
|
-
hardBreakEscape: s(
|
|
11089
|
-
hardBreakTrailing: s(
|
|
11087
|
+
hardBreakEscape: s(fr),
|
|
11088
|
+
hardBreakTrailing: s(fr),
|
|
11090
11089
|
htmlFlow: s(Oi, o),
|
|
11091
11090
|
htmlFlowData: P,
|
|
11092
11091
|
htmlText: s(Oi, o),
|
|
@@ -11197,12 +11196,12 @@ function g7(e) {
|
|
|
11197
11196
|
(ot[1] || _h).call(Q, void 0, ot[0]);
|
|
11198
11197
|
}
|
|
11199
11198
|
for (j.position = {
|
|
11200
|
-
start:
|
|
11199
|
+
start: pr(T.length > 0 ? T[0][1].start : {
|
|
11201
11200
|
line: 1,
|
|
11202
11201
|
column: 1,
|
|
11203
11202
|
offset: 0
|
|
11204
11203
|
}),
|
|
11205
|
-
end:
|
|
11204
|
+
end: pr(T.length > 0 ? T[T.length - 2][1].end : {
|
|
11206
11205
|
line: 1,
|
|
11207
11206
|
column: 1,
|
|
11208
11207
|
offset: 0
|
|
@@ -11212,7 +11211,7 @@ function g7(e) {
|
|
|
11212
11211
|
return j;
|
|
11213
11212
|
}
|
|
11214
11213
|
function i(T, j, Q) {
|
|
11215
|
-
let ce = j - 1, Ee = -1, ot = !1, Ot, cn,
|
|
11214
|
+
let ce = j - 1, Ee = -1, ot = !1, Ot, cn, dr, gs;
|
|
11216
11215
|
for (; ++ce <= Q; ) {
|
|
11217
11216
|
const Wt = T[ce];
|
|
11218
11217
|
switch (Wt[1].type) {
|
|
@@ -11223,7 +11222,7 @@ function g7(e) {
|
|
|
11223
11222
|
break;
|
|
11224
11223
|
}
|
|
11225
11224
|
case "lineEndingBlank": {
|
|
11226
|
-
Wt[0] === "enter" && (Ot && !gs && !Ee && !
|
|
11225
|
+
Wt[0] === "enter" && (Ot && !gs && !Ee && !dr && (dr = ce), gs = void 0);
|
|
11227
11226
|
break;
|
|
11228
11227
|
}
|
|
11229
11228
|
case "linePrefix":
|
|
@@ -11245,7 +11244,7 @@ function g7(e) {
|
|
|
11245
11244
|
cn && (T[cn][1].type = "lineEndingBlank", ot = !0), In[1].type = "lineEnding", cn = Li;
|
|
11246
11245
|
} else if (!(In[1].type === "linePrefix" || In[1].type === "blockQuotePrefix" || In[1].type === "blockQuotePrefixWhitespace" || In[1].type === "blockQuoteMarker" || In[1].type === "listItemIndent")) break;
|
|
11247
11246
|
}
|
|
11248
|
-
|
|
11247
|
+
dr && (!cn || dr < cn) && (Ot._spread = !0), Ot.end = Object.assign({}, cn ? T[cn][1].start : Wt[1].end), T.splice(cn || ce, 0, ["exit", Ot, Wt[2]]), ce++, Q++;
|
|
11249
11248
|
}
|
|
11250
11249
|
if (Wt[1].type === "listItemPrefix") {
|
|
11251
11250
|
const Li = {
|
|
@@ -11255,7 +11254,7 @@ function g7(e) {
|
|
|
11255
11254
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
11256
11255
|
end: void 0
|
|
11257
11256
|
};
|
|
11258
|
-
Ot = Li, T.splice(ce, 0, ["enter", Li, Wt[2]]), ce++, Q++,
|
|
11257
|
+
Ot = Li, T.splice(ce, 0, ["enter", Li, Wt[2]]), ce++, Q++, dr = void 0, gs = !0;
|
|
11259
11258
|
}
|
|
11260
11259
|
}
|
|
11261
11260
|
}
|
|
@@ -11275,7 +11274,7 @@ function g7(e) {
|
|
|
11275
11274
|
}
|
|
11276
11275
|
function a(T, j, Q) {
|
|
11277
11276
|
this.stack[this.stack.length - 1].children.push(T), this.stack.push(T), this.tokenStack.push([j, Q || void 0]), T.position = {
|
|
11278
|
-
start:
|
|
11277
|
+
start: pr(j.start),
|
|
11279
11278
|
// @ts-expect-error: `end` will be patched later.
|
|
11280
11279
|
end: void 0
|
|
11281
11280
|
};
|
|
@@ -11294,7 +11293,7 @@ function g7(e) {
|
|
|
11294
11293
|
start: T.start,
|
|
11295
11294
|
end: T.end
|
|
11296
11295
|
}) + "): it’s not open");
|
|
11297
|
-
Q.position.end =
|
|
11296
|
+
Q.position.end = pr(T.end);
|
|
11298
11297
|
}
|
|
11299
11298
|
function c() {
|
|
11300
11299
|
return Gf(this.stack.pop());
|
|
@@ -11360,20 +11359,20 @@ function g7(e) {
|
|
|
11360
11359
|
const Q = this.stack[this.stack.length - 1].children;
|
|
11361
11360
|
let ce = Q[Q.length - 1];
|
|
11362
11361
|
(!ce || ce.type !== "text") && (ce = xe(), ce.position = {
|
|
11363
|
-
start:
|
|
11362
|
+
start: pr(T.start),
|
|
11364
11363
|
// @ts-expect-error: we’ll add `end` later.
|
|
11365
11364
|
end: void 0
|
|
11366
11365
|
}, Q.push(ce)), this.stack.push(ce);
|
|
11367
11366
|
}
|
|
11368
11367
|
function S(T) {
|
|
11369
11368
|
const j = this.stack.pop();
|
|
11370
|
-
j.value += this.sliceSerialize(T), j.position.end =
|
|
11369
|
+
j.value += this.sliceSerialize(T), j.position.end = pr(T.end);
|
|
11371
11370
|
}
|
|
11372
11371
|
function $(T) {
|
|
11373
11372
|
const j = this.stack[this.stack.length - 1];
|
|
11374
11373
|
if (this.data.atHardBreak) {
|
|
11375
11374
|
const Q = j.children[j.children.length - 1];
|
|
11376
|
-
Q.position.end =
|
|
11375
|
+
Q.position.end = pr(T.end), this.data.atHardBreak = void 0;
|
|
11377
11376
|
return;
|
|
11378
11377
|
}
|
|
11379
11378
|
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(j.type) && (P.call(this, T), S.call(this, T));
|
|
@@ -11453,7 +11452,7 @@ function g7(e) {
|
|
|
11453
11452
|
}
|
|
11454
11453
|
function Pn(T) {
|
|
11455
11454
|
const j = this.stack.pop();
|
|
11456
|
-
j.position.end =
|
|
11455
|
+
j.position.end = pr(T.end);
|
|
11457
11456
|
}
|
|
11458
11457
|
function qt(T) {
|
|
11459
11458
|
S.call(this, T);
|
|
@@ -11471,7 +11470,7 @@ function g7(e) {
|
|
|
11471
11470
|
children: []
|
|
11472
11471
|
};
|
|
11473
11472
|
}
|
|
11474
|
-
function
|
|
11473
|
+
function cr() {
|
|
11475
11474
|
return {
|
|
11476
11475
|
type: "code",
|
|
11477
11476
|
lang: null,
|
|
@@ -11508,7 +11507,7 @@ function g7(e) {
|
|
|
11508
11507
|
children: []
|
|
11509
11508
|
};
|
|
11510
11509
|
}
|
|
11511
|
-
function
|
|
11510
|
+
function fr() {
|
|
11512
11511
|
return {
|
|
11513
11512
|
type: "break"
|
|
11514
11513
|
};
|
|
@@ -11576,7 +11575,7 @@ function g7(e) {
|
|
|
11576
11575
|
};
|
|
11577
11576
|
}
|
|
11578
11577
|
}
|
|
11579
|
-
function
|
|
11578
|
+
function pr(e) {
|
|
11580
11579
|
return {
|
|
11581
11580
|
line: e.line,
|
|
11582
11581
|
column: e.column,
|
|
@@ -14717,7 +14716,7 @@ const Zw = {
|
|
|
14717
14716
|
name: "protocolAutolink",
|
|
14718
14717
|
tokenize: Qw,
|
|
14719
14718
|
previous: y2
|
|
14720
|
-
},
|
|
14719
|
+
}, lr = {
|
|
14721
14720
|
name: "emailAutolink",
|
|
14722
14721
|
tokenize: Xw,
|
|
14723
14722
|
previous: x2
|
|
@@ -14729,15 +14728,15 @@ function Kw() {
|
|
|
14729
14728
|
}
|
|
14730
14729
|
let Jr = 48;
|
|
14731
14730
|
for (; Jr < 123; )
|
|
14732
|
-
Fn[Jr] =
|
|
14733
|
-
Fn[43] =
|
|
14734
|
-
Fn[45] =
|
|
14735
|
-
Fn[46] =
|
|
14736
|
-
Fn[95] =
|
|
14737
|
-
Fn[72] = [
|
|
14738
|
-
Fn[104] = [
|
|
14739
|
-
Fn[87] = [
|
|
14740
|
-
Fn[119] = [
|
|
14731
|
+
Fn[Jr] = lr, Jr++, Jr === 58 ? Jr = 65 : Jr === 91 && (Jr = 97);
|
|
14732
|
+
Fn[43] = lr;
|
|
14733
|
+
Fn[45] = lr;
|
|
14734
|
+
Fn[46] = lr;
|
|
14735
|
+
Fn[95] = lr;
|
|
14736
|
+
Fn[72] = [lr, b2];
|
|
14737
|
+
Fn[104] = [lr, b2];
|
|
14738
|
+
Fn[87] = [lr, g2];
|
|
14739
|
+
Fn[119] = [lr, g2];
|
|
14741
14740
|
function Xw(e, t, n) {
|
|
14742
14741
|
const r = this;
|
|
14743
14742
|
let i, s;
|
|
@@ -15413,12 +15412,12 @@ function AC(e) {
|
|
|
15413
15412
|
i.push(EC(n)), s.push(Ww()), o.push(Yw(n));
|
|
15414
15413
|
}
|
|
15415
15414
|
const DC = {
|
|
15416
|
-
blockquote:
|
|
15415
|
+
blockquote: mr,
|
|
15417
15416
|
break: FC,
|
|
15418
15417
|
code: fn,
|
|
15419
15418
|
definition: fn,
|
|
15420
|
-
delete:
|
|
15421
|
-
emphasis:
|
|
15419
|
+
delete: mr,
|
|
15420
|
+
emphasis: mr,
|
|
15422
15421
|
footnoteReference: fn,
|
|
15423
15422
|
footnoteDefinition: fn,
|
|
15424
15423
|
heading: MC,
|
|
@@ -15426,11 +15425,11 @@ const DC = {
|
|
|
15426
15425
|
image: Ih,
|
|
15427
15426
|
imageReference: Ih,
|
|
15428
15427
|
inlineCode: Rh,
|
|
15429
|
-
list:
|
|
15430
|
-
listItem:
|
|
15431
|
-
link:
|
|
15432
|
-
linkReference:
|
|
15433
|
-
strong:
|
|
15428
|
+
list: mr,
|
|
15429
|
+
listItem: mr,
|
|
15430
|
+
link: mr,
|
|
15431
|
+
linkReference: mr,
|
|
15432
|
+
strong: mr,
|
|
15434
15433
|
table: fn,
|
|
15435
15434
|
tableCell: fn,
|
|
15436
15435
|
text: Rh,
|
|
@@ -15505,7 +15504,7 @@ function Rh(e) {
|
|
|
15505
15504
|
function MC(e) {
|
|
15506
15505
|
return { type: "paragraph", children: e.children };
|
|
15507
15506
|
}
|
|
15508
|
-
function
|
|
15507
|
+
function mr(e) {
|
|
15509
15508
|
return e.children;
|
|
15510
15509
|
}
|
|
15511
15510
|
function FC() {
|
|
@@ -15783,7 +15782,7 @@ const E2 = /* @__PURE__ */ q({
|
|
|
15783
15782
|
e /= 1024;
|
|
15784
15783
|
}
|
|
15785
15784
|
return `${e.toFixed(1)}Y${n}`;
|
|
15786
|
-
},
|
|
15785
|
+
}, Fr = (e, t = 0) => {
|
|
15787
15786
|
const n = (i) => {
|
|
15788
15787
|
const s = i.toFixed(t);
|
|
15789
15788
|
return s.includes(".") ? s.replace(/0+$/, "").replace(/\.$/, "") : s;
|
|
@@ -15828,7 +15827,7 @@ const E2 = /* @__PURE__ */ q({
|
|
|
15828
15827
|
}, tE = {
|
|
15829
15828
|
key: 1,
|
|
15830
15829
|
class: "my-0 text-gray-medium"
|
|
15831
|
-
},
|
|
15830
|
+
}, gr = /* @__PURE__ */ q({
|
|
15832
15831
|
__name: "DatasetQualityItem",
|
|
15833
15832
|
props: {
|
|
15834
15833
|
passed: { type: [Boolean, null] },
|
|
@@ -15862,49 +15861,49 @@ const E2 = /* @__PURE__ */ q({
|
|
|
15862
15861
|
return (r, i) => (O(), R(pe, null, [
|
|
15863
15862
|
C("h5", nE, I(A(t)("Metadata quality:")), 1),
|
|
15864
15863
|
C("ul", rE, [
|
|
15865
|
-
B(
|
|
15864
|
+
B(gr, {
|
|
15866
15865
|
passed: r.quality.dataset_description_quality,
|
|
15867
15866
|
"message-passed": A(t)("Data description filled"),
|
|
15868
15867
|
"message-failed": A(t)("Data description empty"),
|
|
15869
15868
|
class: "fr-my-1w"
|
|
15870
15869
|
}, null, 8, ["passed", "message-passed", "message-failed"]),
|
|
15871
|
-
B(
|
|
15870
|
+
B(gr, {
|
|
15872
15871
|
passed: r.quality.resources_documentation,
|
|
15873
15872
|
"message-passed": A(t)("Files documented"),
|
|
15874
15873
|
"message-failed": A(t)("Files documentation missing"),
|
|
15875
15874
|
class: "fr-my-1w"
|
|
15876
15875
|
}, null, 8, ["passed", "message-passed", "message-failed"]),
|
|
15877
|
-
B(
|
|
15876
|
+
B(gr, {
|
|
15878
15877
|
passed: r.quality.license,
|
|
15879
15878
|
"message-passed": A(t)("License filled"),
|
|
15880
15879
|
"message-failed": A(t)("No license set"),
|
|
15881
15880
|
class: "fr-my-1w"
|
|
15882
15881
|
}, null, 8, ["passed", "message-passed", "message-failed"]),
|
|
15883
|
-
B(
|
|
15882
|
+
B(gr, {
|
|
15884
15883
|
passed: r.quality.update_frequency && !!r.quality.update_fulfilled_in_time,
|
|
15885
15884
|
"message-passed": A(t)("Update frequency followed"),
|
|
15886
15885
|
"message-failed": r.quality.update_frequency ? A(t)("Update frequency not followed") : A(t)("Update frequency not set"),
|
|
15887
15886
|
class: "fr-my-1w"
|
|
15888
15887
|
}, null, 8, ["passed", "message-passed", "message-failed"]),
|
|
15889
|
-
B(
|
|
15888
|
+
B(gr, {
|
|
15890
15889
|
passed: r.quality.has_open_format,
|
|
15891
15890
|
"message-passed": A(t)("File formats are open"),
|
|
15892
15891
|
"message-failed": A(t)("File formats are closed"),
|
|
15893
15892
|
class: "fr-my-1w"
|
|
15894
15893
|
}, null, 8, ["passed", "message-passed", "message-failed"]),
|
|
15895
|
-
B(
|
|
15894
|
+
B(gr, {
|
|
15896
15895
|
passed: r.quality.temporal_coverage,
|
|
15897
15896
|
"message-passed": A(t)("Temporal coverage filled"),
|
|
15898
15897
|
"message-failed": A(t)("Temporal coverage not set"),
|
|
15899
15898
|
class: "fr-my-1w"
|
|
15900
15899
|
}, null, 8, ["passed", "message-passed", "message-failed"]),
|
|
15901
|
-
B(
|
|
15900
|
+
B(gr, {
|
|
15902
15901
|
passed: r.quality.spatial,
|
|
15903
15902
|
"message-passed": A(t)("Spatial coverage filled"),
|
|
15904
15903
|
"message-failed": A(t)("Spatial coverage not set"),
|
|
15905
15904
|
class: "fr-my-1w"
|
|
15906
15905
|
}, null, 8, ["passed", "message-passed", "message-failed"]),
|
|
15907
|
-
B(
|
|
15906
|
+
B(gr, {
|
|
15908
15907
|
passed: r.quality.all_resources_available,
|
|
15909
15908
|
"message-passed": A(t)("All files are available"),
|
|
15910
15909
|
"message-failed": A(t)("Some files are unavailable"),
|
|
@@ -15980,7 +15979,7 @@ function fs(e) {
|
|
|
15980
15979
|
return document;
|
|
15981
15980
|
}
|
|
15982
15981
|
let zc = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
15983
|
-
var rt = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(rt || {}),
|
|
15982
|
+
var rt = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(rt || {}), Ar = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Ar || {}), dE = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(dE || {});
|
|
15984
15983
|
function $u(e = document.body) {
|
|
15985
15984
|
return e == null ? [] : Array.from(e.querySelectorAll(zc)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
15986
15985
|
}
|
|
@@ -16175,12 +16174,12 @@ let ss = /* @__PURE__ */ q({ name: "Hidden", props: { as: { type: [Object, Strin
|
|
|
16175
16174
|
return ln({ ourProps: o, theirProps: s, slot: {}, attrs: n, slots: t, name: "Hidden" });
|
|
16176
16175
|
};
|
|
16177
16176
|
} }), F2 = Symbol("Context");
|
|
16178
|
-
var
|
|
16177
|
+
var ar = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(ar || {});
|
|
16179
16178
|
function P2() {
|
|
16180
16179
|
return ht(F2, null);
|
|
16181
16180
|
}
|
|
16182
16181
|
function I2(e) {
|
|
16183
|
-
|
|
16182
|
+
sr(F2, e);
|
|
16184
16183
|
}
|
|
16185
16184
|
var Ge = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Ge || {});
|
|
16186
16185
|
function kE(e, t, n, r) {
|
|
@@ -16223,7 +16222,7 @@ function CE() {
|
|
|
16223
16222
|
}
|
|
16224
16223
|
let i = { register: n, unregister: r, portals: t };
|
|
16225
16224
|
return [t, /* @__PURE__ */ q({ name: "PortalWrapper", setup(s, { slots: o }) {
|
|
16226
|
-
return
|
|
16225
|
+
return sr(Bh, i), () => {
|
|
16227
16226
|
var a;
|
|
16228
16227
|
return (a = o.default) == null ? void 0 : a.call(o);
|
|
16229
16228
|
};
|
|
@@ -16253,7 +16252,7 @@ let AE = /* @__PURE__ */ q({ name: "Disclosure", props: { as: { type: [Object, S
|
|
|
16253
16252
|
let u = a ? a instanceof HTMLElement ? a : a.value instanceof HTMLElement ? X(a) : X(o.button) : X(o.button);
|
|
16254
16253
|
u == null || u.focus();
|
|
16255
16254
|
} };
|
|
16256
|
-
return
|
|
16255
|
+
return sr(N2, o), I2(H(() => It(r.value, { 0: ar.Open, 1: ar.Closed }))), () => {
|
|
16257
16256
|
let { defaultOpen: a, ...u } = e, l = { open: r.value === 0, close: o.close };
|
|
16258
16257
|
return ln({ theirProps: u, ourProps: {}, slot: l, slots: t, attrs: n, name: "Disclosure" });
|
|
16259
16258
|
};
|
|
@@ -16306,8 +16305,8 @@ let AE = /* @__PURE__ */ q({ name: "Disclosure", props: { as: { type: [Object, S
|
|
|
16306
16305
|
e.id !== null && (i.panelId.value = e.id);
|
|
16307
16306
|
}), Di(() => {
|
|
16308
16307
|
i.panelId.value = null;
|
|
16309
|
-
}), r({ el: i.panel, $el: i.panel }),
|
|
16310
|
-
let s = P2(), o = H(() => s !== null ? (s.value &
|
|
16308
|
+
}), r({ el: i.panel, $el: i.panel }), sr($2, i.panelId);
|
|
16309
|
+
let s = P2(), o = H(() => s !== null ? (s.value & ar.Open) === ar.Open : i.disclosureState.value === 0);
|
|
16311
16310
|
return () => {
|
|
16312
16311
|
var a;
|
|
16313
16312
|
let u = { open: i.disclosureState.value === 0, close: i.close }, { id: l, ...c } = e, f = { id: (a = i.panelId.value) != null ? a : l, ref: i.panel };
|
|
@@ -16351,7 +16350,7 @@ let H2 = /* @__PURE__ */ q({ name: "Popover", inheritAttrs: !1, props: { as: { t
|
|
|
16351
16350
|
let y = k ? k instanceof HTMLElement ? k : k.value instanceof HTMLElement ? X(k) : X(h.button) : X(h.button);
|
|
16352
16351
|
y == null || y.focus();
|
|
16353
16352
|
} };
|
|
16354
|
-
|
|
16353
|
+
sr(z2, h), I2(H(() => It(o.value, { 0: ar.Open, 1: ar.Closed })));
|
|
16355
16354
|
let p = { buttonId: h.buttonId, panelId: h.panelId, close() {
|
|
16356
16355
|
h.closePopover();
|
|
16357
16356
|
} }, m = B2(), b = m == null ? void 0 : m.registerPopover, [g, _] = CE(), x = wE({ mainTreeNodeRef: m == null ? void 0 : m.mainTreeNodeRef, portals: g, defaultContainers: [a, c] });
|
|
@@ -16419,7 +16418,7 @@ let H2 = /* @__PURE__ */ q({ name: "Popover", inheritAttrs: !1, props: { as: { t
|
|
|
16419
16418
|
let k = X(o.panel);
|
|
16420
16419
|
if (!k) return;
|
|
16421
16420
|
function y() {
|
|
16422
|
-
It(x.value, { [Zn.Forwards]: () => Gt(k, rt.First), [Zn.Backwards]: () => Gt(k, rt.Last) }) ===
|
|
16421
|
+
It(x.value, { [Zn.Forwards]: () => Gt(k, rt.First), [Zn.Backwards]: () => Gt(k, rt.Last) }) === Ar.Error && Gt($u().filter((w) => w.dataset.headlessuiFocusGuard !== "true"), It(x.value, { [Zn.Forwards]: rt.Next, [Zn.Backwards]: rt.Previous }), { relativeTo: X(o.button) });
|
|
16423
16422
|
}
|
|
16424
16423
|
y();
|
|
16425
16424
|
}
|
|
@@ -16434,13 +16433,13 @@ let H2 = /* @__PURE__ */ q({ name: "Popover", inheritAttrs: !1, props: { as: { t
|
|
|
16434
16433
|
a.panelId.value = s;
|
|
16435
16434
|
}), Di(() => {
|
|
16436
16435
|
a.panelId.value = null;
|
|
16437
|
-
}),
|
|
16436
|
+
}), sr(V2, a.panelId), Tt(() => {
|
|
16438
16437
|
var _, x;
|
|
16439
16438
|
if (!o || a.popoverState.value !== 0 || !a.panel) return;
|
|
16440
16439
|
let v = (_ = u.value) == null ? void 0 : _.activeElement;
|
|
16441
16440
|
(x = X(a.panel)) != null && x.contains(v) || Gt(X(a.panel), rt.First);
|
|
16442
16441
|
});
|
|
16443
|
-
let f = P2(), d = H(() => f !== null ? (f.value &
|
|
16442
|
+
let f = P2(), d = H(() => f !== null ? (f.value & ar.Open) === ar.Open : a.popoverState.value === 0);
|
|
16444
16443
|
function h(_) {
|
|
16445
16444
|
var x, v;
|
|
16446
16445
|
switch (_.key) {
|
|
@@ -16462,7 +16461,7 @@ let H2 = /* @__PURE__ */ q({ name: "Popover", inheritAttrs: !1, props: { as: { t
|
|
|
16462
16461
|
function x() {
|
|
16463
16462
|
It(m.value, { [Zn.Forwards]: () => {
|
|
16464
16463
|
var v;
|
|
16465
|
-
Gt(_, rt.First) ===
|
|
16464
|
+
Gt(_, rt.First) === Ar.Error && ((v = X(a.afterPanelSentinel)) == null || v.focus());
|
|
16466
16465
|
}, [Zn.Backwards]: () => {
|
|
16467
16466
|
var v;
|
|
16468
16467
|
(v = X(a.button)) == null || v.focus({ preventScroll: !0 });
|
|
@@ -16485,7 +16484,7 @@ let H2 = /* @__PURE__ */ q({ name: "Popover", inheritAttrs: !1, props: { as: { t
|
|
|
16485
16484
|
Gt(P, rt.First, { sorted: !1 });
|
|
16486
16485
|
}, [Zn.Backwards]: () => {
|
|
16487
16486
|
var v;
|
|
16488
|
-
Gt(_, rt.Previous) ===
|
|
16487
|
+
Gt(_, rt.Previous) === Ar.Error && ((v = X(a.button)) == null || v.focus());
|
|
16489
16488
|
} });
|
|
16490
16489
|
}
|
|
16491
16490
|
x();
|
|
@@ -16568,11 +16567,11 @@ let ld = Symbol("TabsSSRContext"), $E = /* @__PURE__ */ q({ name: "TabGroup", em
|
|
|
16568
16567
|
let b = a.value.indexOf(m);
|
|
16569
16568
|
b !== -1 && a.value.splice(b, 1);
|
|
16570
16569
|
} };
|
|
16571
|
-
|
|
16570
|
+
sr(j2, f);
|
|
16572
16571
|
let d = ne({ tabs: [], panels: [] }), h = ne(!1);
|
|
16573
16572
|
At(() => {
|
|
16574
16573
|
h.value = !0;
|
|
16575
|
-
}),
|
|
16574
|
+
}), sr(ld, H(() => h.value ? null : d.value));
|
|
16576
16575
|
let p = H(() => e.selectedIndex);
|
|
16577
16576
|
return At(() => {
|
|
16578
16577
|
Ki([p], () => {
|
|
@@ -16616,7 +16615,7 @@ let ld = Symbol("TabsSSRContext"), $E = /* @__PURE__ */ q({ name: "TabGroup", em
|
|
|
16616
16615
|
function d(_) {
|
|
16617
16616
|
var x;
|
|
16618
16617
|
let v = _();
|
|
16619
|
-
if (v ===
|
|
16618
|
+
if (v === Ar.Success && o.activation.value === "auto") {
|
|
16620
16619
|
let k = (x = fs(a)) == null ? void 0 : x.activeElement, y = o.tabs.value.findIndex((w) => X(w) === k);
|
|
16621
16620
|
y !== -1 && o.setSelectedIndex(y);
|
|
16622
16621
|
}
|
|
@@ -16637,10 +16636,10 @@ let ld = Symbol("TabsSSRContext"), $E = /* @__PURE__ */ q({ name: "TabGroup", em
|
|
|
16637
16636
|
return _.preventDefault(), _.stopPropagation(), d(() => Gt(x, rt.Last));
|
|
16638
16637
|
}
|
|
16639
16638
|
if (d(() => It(o.orientation.value, { vertical() {
|
|
16640
|
-
return _.key === Ge.ArrowUp ? Gt(x, rt.Previous | rt.WrapAround) : _.key === Ge.ArrowDown ? Gt(x, rt.Next | rt.WrapAround) :
|
|
16639
|
+
return _.key === Ge.ArrowUp ? Gt(x, rt.Previous | rt.WrapAround) : _.key === Ge.ArrowDown ? Gt(x, rt.Next | rt.WrapAround) : Ar.Error;
|
|
16641
16640
|
}, horizontal() {
|
|
16642
|
-
return _.key === Ge.ArrowLeft ? Gt(x, rt.Previous | rt.WrapAround) : _.key === Ge.ArrowRight ? Gt(x, rt.Next | rt.WrapAround) :
|
|
16643
|
-
} })) ===
|
|
16641
|
+
return _.key === Ge.ArrowLeft ? Gt(x, rt.Previous | rt.WrapAround) : _.key === Ge.ArrowRight ? Gt(x, rt.Next | rt.WrapAround) : Ar.Error;
|
|
16642
|
+
} })) === Ar.Success) return _.preventDefault();
|
|
16644
16643
|
}
|
|
16645
16644
|
let p = ne(!1);
|
|
16646
16645
|
function m() {
|
|
@@ -17075,7 +17074,7 @@ const sS = ["src", "alt", "width", "height"], Hh = /* @__PURE__ */ q({
|
|
|
17075
17074
|
class: "fr-icon-download-line fr-icon--sm fr-px-1v",
|
|
17076
17075
|
"aria-hidden": "true"
|
|
17077
17076
|
}, null, -1)),
|
|
17078
|
-
K(I(A(
|
|
17077
|
+
K(I(A(Fr)(a.dataset.metrics.resources_downloads)), 1)
|
|
17079
17078
|
], 8, ES),
|
|
17080
17079
|
C("p", {
|
|
17081
17080
|
class: "fr-text--sm fr-my-0",
|
|
@@ -17085,7 +17084,7 @@ const sS = ["src", "alt", "width", "height"], Hh = /* @__PURE__ */ q({
|
|
|
17085
17084
|
class: "fr-icon-star-line fr-icon--sm fr-px-1v",
|
|
17086
17085
|
"aria-hidden": "true"
|
|
17087
17086
|
}, null, -1)),
|
|
17088
|
-
K(I(A(
|
|
17087
|
+
K(I(A(Fr)(a.dataset.metrics.followers)), 1)
|
|
17089
17088
|
], 8, SS),
|
|
17090
17089
|
C("p", {
|
|
17091
17090
|
class: "fr-text--sm fr-my-0",
|
|
@@ -17095,7 +17094,7 @@ const sS = ["src", "alt", "width", "height"], Hh = /* @__PURE__ */ q({
|
|
|
17095
17094
|
class: "fr-icon-line-chart-line fr-icon--sm fr-px-1v",
|
|
17096
17095
|
"aria-hidden": "true"
|
|
17097
17096
|
}, null, -1)),
|
|
17098
|
-
K(I(A(
|
|
17097
|
+
K(I(A(Fr)(a.dataset.metrics.reuses)), 1)
|
|
17099
17098
|
], 8, AS)
|
|
17100
17099
|
])
|
|
17101
17100
|
]),
|
|
@@ -17737,7 +17736,7 @@ const EA = { class: "flex flex-wrap items-center pb-6 mb-6 border-bottom border-
|
|
|
17737
17736
|
C("div", pD, [
|
|
17738
17737
|
C("h3", mD, [
|
|
17739
17738
|
K(I(g.$t("Integrate on your website")) + " ", 1),
|
|
17740
|
-
B(
|
|
17739
|
+
B(Er, {
|
|
17741
17740
|
"hide-label": !0,
|
|
17742
17741
|
label: g.$t("Copy embed"),
|
|
17743
17742
|
"copied-label": g.$t("Embed copied"),
|
|
@@ -17779,7 +17778,7 @@ const EA = { class: "flex flex-wrap items-center pb-6 mb-6 border-bottom border-
|
|
|
17779
17778
|
}), xD = {
|
|
17780
17779
|
key: 0,
|
|
17781
17780
|
class: "text-warning-dark flex flex-wrap items-center m-1"
|
|
17782
|
-
}, vD = { class: "fr-my-0 fr-text--sm" },
|
|
17781
|
+
}, vD = { class: "fr-my-0 fr-text--sm" }, br = /* @__PURE__ */ q({
|
|
17783
17782
|
__name: "DatasetQualityItemWarning",
|
|
17784
17783
|
props: {
|
|
17785
17784
|
qualityItem: { type: Boolean },
|
|
@@ -17824,35 +17823,35 @@ const EA = { class: "flex flex-wrap items-center pb-6 mb-6 border-bottom border-
|
|
|
17824
17823
|
class: "w-100"
|
|
17825
17824
|
}, null, 8, ["score"]),
|
|
17826
17825
|
t.showItemWarnings ? (O(), R("ul", CD, [
|
|
17827
|
-
B(
|
|
17826
|
+
B(br, {
|
|
17828
17827
|
"quality-item": t.quality.dataset_description_quality,
|
|
17829
17828
|
message: t.$t("Data description empty")
|
|
17830
17829
|
}, null, 8, ["quality-item", "message"]),
|
|
17831
|
-
B(
|
|
17830
|
+
B(br, {
|
|
17832
17831
|
"quality-item": t.quality.resources_documentation,
|
|
17833
17832
|
message: t.$t("Files documentation missing")
|
|
17834
17833
|
}, null, 8, ["quality-item", "message"]),
|
|
17835
|
-
B(
|
|
17834
|
+
B(br, {
|
|
17836
17835
|
"quality-item": t.quality.license,
|
|
17837
17836
|
message: t.$t("No license set")
|
|
17838
17837
|
}, null, 8, ["quality-item", "message"]),
|
|
17839
|
-
B(
|
|
17838
|
+
B(br, {
|
|
17840
17839
|
"quality-item": t.quality.update_frequency && t.quality.update_fulfilled_in_time,
|
|
17841
17840
|
message: t.quality.update_frequency ? t.$t("Update frequency not followed") : t.$t("Update frequency not set")
|
|
17842
17841
|
}, null, 8, ["quality-item", "message"]),
|
|
17843
|
-
B(
|
|
17842
|
+
B(br, {
|
|
17844
17843
|
"quality-item": t.quality.has_open_format,
|
|
17845
17844
|
message: t.$t("File formats are closed")
|
|
17846
17845
|
}, null, 8, ["quality-item", "message"]),
|
|
17847
|
-
B(
|
|
17846
|
+
B(br, {
|
|
17848
17847
|
"quality-item": t.quality.temporal_coverage,
|
|
17849
17848
|
message: t.$t("Temporal coverage not set")
|
|
17850
17849
|
}, null, 8, ["quality-item", "message"]),
|
|
17851
|
-
B(
|
|
17850
|
+
B(br, {
|
|
17852
17851
|
"quality-item": t.quality.spatial,
|
|
17853
17852
|
message: t.$t("Spatial coverage not set")
|
|
17854
17853
|
}, null, 8, ["quality-item", "message"]),
|
|
17855
|
-
B(
|
|
17854
|
+
B(br, {
|
|
17856
17855
|
"quality-item": t.quality.all_resources_available,
|
|
17857
17856
|
message: t.$t("Some files are unavailable")
|
|
17858
17857
|
}, null, 8, ["quality-item", "message"])
|
|
@@ -18163,7 +18162,7 @@ var X2 = function(e, t) {
|
|
|
18163
18162
|
return "" + t + e;
|
|
18164
18163
|
}
|
|
18165
18164
|
};
|
|
18166
|
-
},
|
|
18165
|
+
}, _r = Fo("deg"), Yi = Fo("%"), fe = Fo("px"), YD = Fo("vh"), ZD = Fo("vw"), Wh = Re(Re({}, Yi), { parse: function(e) {
|
|
18167
18166
|
return Yi.parse(e) / 100;
|
|
18168
18167
|
}, transform: function(e) {
|
|
18169
18168
|
return Yi.transform(e * 100);
|
|
@@ -18557,17 +18556,17 @@ var Qh = /* @__PURE__ */ Re(/* @__PURE__ */ Re({}, Fe), { transform: Math.round
|
|
|
18557
18556
|
marginRight: fe,
|
|
18558
18557
|
marginBottom: fe,
|
|
18559
18558
|
marginLeft: fe,
|
|
18560
|
-
rotate:
|
|
18561
|
-
rotateX:
|
|
18562
|
-
rotateY:
|
|
18563
|
-
rotateZ:
|
|
18559
|
+
rotate: _r,
|
|
18560
|
+
rotateX: _r,
|
|
18561
|
+
rotateY: _r,
|
|
18562
|
+
rotateZ: _r,
|
|
18564
18563
|
scale: na,
|
|
18565
18564
|
scaleX: na,
|
|
18566
18565
|
scaleY: na,
|
|
18567
18566
|
scaleZ: na,
|
|
18568
|
-
skew:
|
|
18569
|
-
skewX:
|
|
18570
|
-
skewY:
|
|
18567
|
+
skew: _r,
|
|
18568
|
+
skewX: _r,
|
|
18569
|
+
skewY: _r,
|
|
18571
18570
|
distance: fe,
|
|
18572
18571
|
translateX: fe,
|
|
18573
18572
|
translateY: fe,
|
|
@@ -18903,7 +18902,7 @@ var oO = /* @__PURE__ */ function() {
|
|
|
18903
18902
|
});
|
|
18904
18903
|
};
|
|
18905
18904
|
return { getVectorKeys: r, testVectorProps: i };
|
|
18906
|
-
}, hO = [fe, Yi,
|
|
18905
|
+
}, hO = [fe, Yi, _r, YD, ZD], Kc = function(e) {
|
|
18907
18906
|
return hO.find(function(t) {
|
|
18908
18907
|
return t.test(e);
|
|
18909
18908
|
});
|
|
@@ -19597,7 +19596,7 @@ const zn = /* @__PURE__ */ pt(pL, [["render", gL]]), bL = { class: "flex gap-3re
|
|
|
19597
19596
|
B(zn, null, {
|
|
19598
19597
|
default: J(() => [
|
|
19599
19598
|
K(I(A(i)("URL")) + " ", 1),
|
|
19600
|
-
B(
|
|
19599
|
+
B(Er, {
|
|
19601
19600
|
label: o.$t("Copy URL"),
|
|
19602
19601
|
"copied-label": o.$t("URL copied!"),
|
|
19603
19602
|
text: o.resource.url,
|
|
@@ -19626,7 +19625,7 @@ const zn = /* @__PURE__ */ pt(pL, [["render", gL]]), bL = { class: "flex gap-3re
|
|
|
19626
19625
|
B(zn, null, {
|
|
19627
19626
|
default: J(() => [
|
|
19628
19627
|
K(I(A(i)("Stable URL")) + " ", 1),
|
|
19629
|
-
B(
|
|
19628
|
+
B(Er, {
|
|
19630
19629
|
label: o.$t("Copy stable URL"),
|
|
19631
19630
|
"copied-label": o.$t("Stable URL copied!"),
|
|
19632
19631
|
text: o.resource.latest,
|
|
@@ -19655,7 +19654,7 @@ const zn = /* @__PURE__ */ pt(pL, [["render", gL]]), bL = { class: "flex gap-3re
|
|
|
19655
19654
|
B(zn, null, {
|
|
19656
19655
|
default: J(() => [
|
|
19657
19656
|
K(I(A(i)("Identifier")) + " ", 1),
|
|
19658
|
-
B(
|
|
19657
|
+
B(Er, {
|
|
19659
19658
|
label: o.$t("Copy ID"),
|
|
19660
19659
|
"copied-label": o.$t("ID copied!"),
|
|
19661
19660
|
text: o.resource.id,
|
|
@@ -19681,7 +19680,7 @@ const zn = /* @__PURE__ */ pt(pL, [["render", gL]]), bL = { class: "flex gap-3re
|
|
|
19681
19680
|
B(zn, null, {
|
|
19682
19681
|
default: J(() => [
|
|
19683
19682
|
K(I(o.resource.checksum.type) + " ", 1),
|
|
19684
|
-
B(
|
|
19683
|
+
B(Er, {
|
|
19685
19684
|
label: o.$t("Copy checksum"),
|
|
19686
19685
|
"copied-label": o.$t("Checksum copied!"),
|
|
19687
19686
|
text: o.resource.checksum.value,
|
|
@@ -22194,7 +22193,7 @@ const PF = ["y"], IF = ["y"], RF = ["y"], NF = ["y"], $F = ["y"], zF = ["y"], BF
|
|
|
22194
22193
|
canEdit: { type: Boolean, default: !1 }
|
|
22195
22194
|
},
|
|
22196
22195
|
setup(e) {
|
|
22197
|
-
const t = ["ogc:wfs", "ogc:wms", "wfs", "wms"], n = e, r = yt(), i = /* @__PURE__ */ n4(() => import("./Swagger-
|
|
22196
|
+
const t = ["ogc:wfs", "ogc:wms", "wfs", "wms"], n = e, r = yt(), i = /* @__PURE__ */ n4(() => import("./Swagger-DjysB-OI.js")), { t: s } = Ne(), o = H(() => r.tabularApiUrl && n.resource.extras["analysis:parsing:finished_at"] && !n.resource.extras["analysis:parsing:error"] && (r.tabularAllowRemote || n.resource.filetype === "file")), a = H(() => wb(n.resource.format) ? n.resource.format : s("File")), u = H(() => t.includes(n.resource.format)), l = ne(n.expandedOnMount), c = () => {
|
|
22198
22197
|
l.value = !l.value, l.value ? xs(["Open resource", n.resource.id]) : xs(["Close resource", n.resource.id]);
|
|
22199
22198
|
}, f = H(() => {
|
|
22200
22199
|
const y = [];
|
|
@@ -22241,7 +22240,7 @@ const PF = ["y"], IF = ["y"], RF = ["y"], NF = ["y"], $F = ["y"], zF = ["y"], BF
|
|
|
22241
22240
|
w[0] || (w[0] = C("span", { class: "absolute inset-0 z-1" }, null, -1))
|
|
22242
22241
|
], 8, bP)
|
|
22243
22242
|
], 8, gP),
|
|
22244
|
-
B(
|
|
22243
|
+
B(Er, {
|
|
22245
22244
|
label: y.$t("Copy link"),
|
|
22246
22245
|
"copied-label": y.$t("Link copied!"),
|
|
22247
22246
|
text: _.value,
|
|
@@ -22265,7 +22264,7 @@ const PF = ["y"], IF = ["y"], RF = ["y"], NF = ["y"], $F = ["y"], zF = ["y"], BF
|
|
|
22265
22264
|
}, [
|
|
22266
22265
|
w[1] || (w[1] = C("span", { class: "fr-icon-download-line fr-icon--xs fr-mr-1v" }, null, -1)),
|
|
22267
22266
|
C("span", null, [
|
|
22268
|
-
K(I(A(
|
|
22267
|
+
K(I(A(Fr)(y.resource.metrics.views)) + " ", 1),
|
|
22269
22268
|
C("span", CP, I(A(s)("downloads")), 1)
|
|
22270
22269
|
])
|
|
22271
22270
|
], 8, wP)
|
|
@@ -22430,7 +22429,7 @@ const PF = ["y"], IF = ["y"], RF = ["y"], NF = ["y"], $F = ["y"], zF = ["y"], BF
|
|
|
22430
22429
|
])
|
|
22431
22430
|
], 8, GP)
|
|
22432
22431
|
])),
|
|
22433
|
-
B(
|
|
22432
|
+
B(Er, {
|
|
22434
22433
|
label: y.$t("Copy link"),
|
|
22435
22434
|
"copied-label": y.$t("Link copied!"),
|
|
22436
22435
|
text: y.resource.latest,
|
|
@@ -22453,7 +22452,7 @@ const PF = ["y"], IF = ["y"], RF = ["y"], NF = ["y"], $F = ["y"], zF = ["y"], BF
|
|
|
22453
22452
|
])
|
|
22454
22453
|
], 8, QP)
|
|
22455
22454
|
]),
|
|
22456
|
-
B(
|
|
22455
|
+
B(Er, {
|
|
22457
22456
|
label: y.$t("Copy link"),
|
|
22458
22457
|
"copied-label": y.$t("Link copied!"),
|
|
22459
22458
|
text: y.resource.extras["analysis:parsing:parquet_url"],
|
|
@@ -22527,7 +22526,7 @@ const oI = { class: "flex flex-wrap items-center gap-0.5" }, aI = { class: "text
|
|
|
22527
22526
|
"aria-hidden": "true",
|
|
22528
22527
|
class: "size-3.5"
|
|
22529
22528
|
}),
|
|
22530
|
-
K(I(A(
|
|
22529
|
+
K(I(A(Fr)(i.reuse.metrics.views)), 1)
|
|
22531
22530
|
], 8, uI),
|
|
22532
22531
|
C("p", {
|
|
22533
22532
|
class: "text-sm mb-0 flex items-center gap-0.5",
|
|
@@ -22537,7 +22536,7 @@ const oI = { class: "flex flex-wrap items-center gap-0.5" }, aI = { class: "text
|
|
|
22537
22536
|
"aria-hidden": "true",
|
|
22538
22537
|
class: "size-3.5"
|
|
22539
22538
|
}),
|
|
22540
|
-
K(I(A(
|
|
22539
|
+
K(I(A(Fr)(i.reuse.metrics.followers)), 1)
|
|
22541
22540
|
], 8, lI)
|
|
22542
22541
|
]));
|
|
22543
22542
|
}
|
|
@@ -22656,18 +22655,18 @@ const oI = { class: "flex flex-wrap items-center gap-0.5" }, aI = { class: "text
|
|
|
22656
22655
|
function No(e) {
|
|
22657
22656
|
return e + 0.5 | 0;
|
|
22658
22657
|
}
|
|
22659
|
-
const
|
|
22658
|
+
const Dr = (e, t, n) => Math.max(Math.min(e, n), t);
|
|
22660
22659
|
function Ts(e) {
|
|
22661
|
-
return
|
|
22660
|
+
return Dr(No(e * 2.55), 0, 255);
|
|
22662
22661
|
}
|
|
22663
|
-
function
|
|
22664
|
-
return
|
|
22662
|
+
function Pr(e) {
|
|
22663
|
+
return Dr(No(e * 255), 0, 255);
|
|
22665
22664
|
}
|
|
22666
22665
|
function qn(e) {
|
|
22667
|
-
return
|
|
22666
|
+
return Dr(No(e / 2.55) / 100, 0, 1);
|
|
22668
22667
|
}
|
|
22669
22668
|
function kp(e) {
|
|
22670
|
-
return
|
|
22669
|
+
return Dr(No(e * 100), 0, 100);
|
|
22671
22670
|
}
|
|
22672
22671
|
const nn = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, sf = [..."0123456789ABCDEF"], AI = (e) => sf[e & 15], DI = (e) => sf[(e & 240) >> 4] + sf[e & 15], ra = (e) => (e & 240) >> 4 === (e & 15), TI = (e) => ra(e.r) && ra(e.g) && ra(e.b) && ra(e.a);
|
|
22673
22672
|
function OI(e) {
|
|
@@ -22714,7 +22713,7 @@ function Sd(e) {
|
|
|
22714
22713
|
return s !== o && (c = s - o, l = a > 0.5 ? c / (2 - s - o) : c / (s + o), u = RI(n, r, i, c, s), u = u * 60 + 0.5), [u | 0, l || 0, a];
|
|
22715
22714
|
}
|
|
22716
22715
|
function Ad(e, t, n, r) {
|
|
22717
|
-
return (Array.isArray(t) ? e(t[0], t[1], t[2]) : e(t, n, r)).map(
|
|
22716
|
+
return (Array.isArray(t) ? e(t[0], t[1], t[2]) : e(t, n, r)).map(Pr);
|
|
22718
22717
|
}
|
|
22719
22718
|
function Dd(e, t, n) {
|
|
22720
22719
|
return Ad(Kb, e, t, n);
|
|
@@ -22733,7 +22732,7 @@ function zI(e) {
|
|
|
22733
22732
|
let n = 255, r;
|
|
22734
22733
|
if (!t)
|
|
22735
22734
|
return;
|
|
22736
|
-
t[5] !== r && (n = t[6] ? Ts(+t[5]) :
|
|
22735
|
+
t[5] !== r && (n = t[6] ? Ts(+t[5]) : Pr(+t[5]));
|
|
22737
22736
|
const i = Xb(+t[2]), s = +t[3] / 100, o = +t[4] / 100;
|
|
22738
22737
|
return t[1] === "hwb" ? r = NI(i, s, o) : t[1] === "hsv" ? r = $I(i, s, o) : r = Dd(i, s, o), {
|
|
22739
22738
|
r: r[0],
|
|
@@ -22958,9 +22957,9 @@ function qI(e) {
|
|
|
22958
22957
|
if (t) {
|
|
22959
22958
|
if (t[7] !== r) {
|
|
22960
22959
|
const o = +t[7];
|
|
22961
|
-
n = t[8] ? Ts(o) :
|
|
22960
|
+
n = t[8] ? Ts(o) : Dr(o * 255, 0, 255);
|
|
22962
22961
|
}
|
|
22963
|
-
return r = +t[1], i = +t[3], s = +t[5], r = 255 & (t[2] ? Ts(r) :
|
|
22962
|
+
return r = +t[1], i = +t[3], s = +t[5], r = 255 & (t[2] ? Ts(r) : Dr(r, 0, 255)), i = 255 & (t[4] ? Ts(i) : Dr(i, 0, 255)), s = 255 & (t[6] ? Ts(s) : Dr(s, 0, 255)), {
|
|
22964
22963
|
r,
|
|
22965
22964
|
g: i,
|
|
22966
22965
|
b: s,
|
|
@@ -22975,9 +22974,9 @@ const Wl = (e) => e <= 31308e-7 ? e * 12.92 : Math.pow(e, 1 / 2.4) * 1.055 - 0.0
|
|
|
22975
22974
|
function YI(e, t, n) {
|
|
22976
22975
|
const r = Pi(qn(e.r)), i = Pi(qn(e.g)), s = Pi(qn(e.b));
|
|
22977
22976
|
return {
|
|
22978
|
-
r:
|
|
22979
|
-
g:
|
|
22980
|
-
b:
|
|
22977
|
+
r: Pr(Wl(r + n * (Pi(qn(t.r)) - r))),
|
|
22978
|
+
g: Pr(Wl(i + n * (Pi(qn(t.g)) - i))),
|
|
22979
|
+
b: Pr(Wl(s + n * (Pi(qn(t.b)) - s))),
|
|
22981
22980
|
a: e.a + n * (t.a - e.a)
|
|
22982
22981
|
};
|
|
22983
22982
|
}
|
|
@@ -22992,7 +22991,7 @@ function Jb(e, t) {
|
|
|
22992
22991
|
}
|
|
22993
22992
|
function Ep(e) {
|
|
22994
22993
|
var t = { r: 0, g: 0, b: 0, a: 255 };
|
|
22995
|
-
return Array.isArray(e) ? e.length >= 3 && (t = { r: e[0], g: e[1], b: e[2], a: 255 }, e.length > 3 && (t.a =
|
|
22994
|
+
return Array.isArray(e) ? e.length >= 3 && (t = { r: e[0], g: e[1], b: e[2], a: 255 }, e.length > 3 && (t.a = Pr(e[3]))) : (t = Jb(e, { r: 0, g: 0, b: 0, a: 1 }), t.a = Pr(t.a)), t;
|
|
22996
22995
|
}
|
|
22997
22996
|
function ZI(e) {
|
|
22998
22997
|
return e.charAt(0) === "r" ? qI(e) : zI(e);
|
|
@@ -23040,7 +23039,7 @@ class go {
|
|
|
23040
23039
|
return new go(this.rgb);
|
|
23041
23040
|
}
|
|
23042
23041
|
alpha(t) {
|
|
23043
|
-
return this._rgb.a =
|
|
23042
|
+
return this._rgb.a = Pr(t), this;
|
|
23044
23043
|
}
|
|
23045
23044
|
clearer(t) {
|
|
23046
23045
|
const n = this._rgb;
|
|
@@ -23226,14 +23225,14 @@ const _o = (e) => typeof e < "u", Vr = (e) => typeof e == "function", Ap = (e, t
|
|
|
23226
23225
|
function tR(e) {
|
|
23227
23226
|
return e.type === "mouseup" || e.type === "click" || e.type === "contextmenu";
|
|
23228
23227
|
}
|
|
23229
|
-
const He = Math.PI, Ve = 2 * He, nR = Ve + He, au = Number.POSITIVE_INFINITY, rR = He / 180, et = He / 2, Qr = He / 4, Dp = He * 2 / 3,
|
|
23228
|
+
const He = Math.PI, Ve = 2 * He, nR = Ve + He, au = Number.POSITIVE_INFINITY, rR = He / 180, et = He / 2, Qr = He / 4, Dp = He * 2 / 3, Tr = Math.log10, On = Math.sign;
|
|
23230
23229
|
function Ws(e, t, n) {
|
|
23231
23230
|
return Math.abs(e - t) < n;
|
|
23232
23231
|
}
|
|
23233
23232
|
function Tp(e) {
|
|
23234
23233
|
const t = Math.round(e);
|
|
23235
23234
|
e = Ws(e, t, e / 1e3) ? t : e;
|
|
23236
|
-
const n = Math.pow(10, Math.floor(
|
|
23235
|
+
const n = Math.pow(10, Math.floor(Tr(e))), r = e / n;
|
|
23237
23236
|
return (r <= 1 ? 1 : r <= 2 ? 2 : r <= 5 ? 5 : 10) * n;
|
|
23238
23237
|
}
|
|
23239
23238
|
function iR(e) {
|
|
@@ -23603,7 +23602,7 @@ const l3 = {
|
|
|
23603
23602
|
const l = Math.max(Math.abs(n[0].value), Math.abs(n[n.length - 1].value));
|
|
23604
23603
|
(l < 1e-4 || l > 1e15) && (i = "scientific"), s = yR(e, n);
|
|
23605
23604
|
}
|
|
23606
|
-
const o =
|
|
23605
|
+
const o = Tr(Math.abs(s)), a = isNaN(o) ? 1 : Math.max(Math.min(-1 * Math.floor(o), 20), 0), u = {
|
|
23607
23606
|
notation: i,
|
|
23608
23607
|
minimumFractionDigits: a,
|
|
23609
23608
|
maximumFractionDigits: a
|
|
@@ -23613,7 +23612,7 @@ const l3 = {
|
|
|
23613
23612
|
logarithmic(e, t, n) {
|
|
23614
23613
|
if (e === 0)
|
|
23615
23614
|
return "0";
|
|
23616
|
-
const r = n[t].significand || e / Math.pow(10, Math.floor(
|
|
23615
|
+
const r = n[t].significand || e / Math.pow(10, Math.floor(Tr(e)));
|
|
23617
23616
|
return [
|
|
23618
23617
|
1,
|
|
23619
23618
|
2,
|
|
@@ -28954,7 +28953,7 @@ const az = typeof Path2D == "function";
|
|
|
28954
28953
|
function uz(e, t, n, r) {
|
|
28955
28954
|
az && !t.options.segment ? sz(e, t, n, r) : oz(e, t, n, r);
|
|
28956
28955
|
}
|
|
28957
|
-
class
|
|
28956
|
+
class Or extends bn {
|
|
28958
28957
|
constructor(t) {
|
|
28959
28958
|
super(), this.animated = !0, this.options = void 0, this._chart = void 0, this._loop = void 0, this._fullLoop = void 0, this._path = void 0, this._points = void 0, this._segments = void 0, this._decimated = !1, this._pointsUpdated = !1, this._datasetIndex = void 0, t && Object.assign(this, t);
|
|
28960
28959
|
}
|
|
@@ -29022,7 +29021,7 @@ class Tr extends bn {
|
|
|
29022
29021
|
(this.points || []).length && s.borderWidth && (t.save(), uz(t, this, r, i), t.restore()), this.animated && (this._pointsUpdated = !1, this._path = void 0);
|
|
29023
29022
|
}
|
|
29024
29023
|
}
|
|
29025
|
-
Z(
|
|
29024
|
+
Z(Or, "id", "line"), Z(Or, "defaults", {
|
|
29026
29025
|
borderCapStyle: "butt",
|
|
29027
29026
|
borderDash: [],
|
|
29028
29027
|
borderDashOffset: 0,
|
|
@@ -29034,10 +29033,10 @@ Z(Tr, "id", "line"), Z(Tr, "defaults", {
|
|
|
29034
29033
|
spanGaps: !1,
|
|
29035
29034
|
stepped: !1,
|
|
29036
29035
|
tension: 0
|
|
29037
|
-
}), Z(
|
|
29036
|
+
}), Z(Or, "defaultRoutes", {
|
|
29038
29037
|
backgroundColor: "backgroundColor",
|
|
29039
29038
|
borderColor: "borderColor"
|
|
29040
|
-
}), Z(
|
|
29039
|
+
}), Z(Or, "descriptors", {
|
|
29041
29040
|
_scriptable: !0,
|
|
29042
29041
|
_indexable: (t) => t !== "borderDash" && t !== "fill"
|
|
29043
29042
|
});
|
|
@@ -29128,16 +29127,16 @@ function N3(e, t) {
|
|
|
29128
29127
|
bottom: c
|
|
29129
29128
|
};
|
|
29130
29129
|
}
|
|
29131
|
-
function
|
|
29130
|
+
function Lr(e, t, n, r) {
|
|
29132
29131
|
return e ? 0 : ct(t, n, r);
|
|
29133
29132
|
}
|
|
29134
29133
|
function lz(e, t, n) {
|
|
29135
29134
|
const r = e.options.borderWidth, i = e.borderSkipped, s = f3(r);
|
|
29136
29135
|
return {
|
|
29137
|
-
t:
|
|
29138
|
-
r:
|
|
29139
|
-
b:
|
|
29140
|
-
l:
|
|
29136
|
+
t: Lr(i.top, s.top, 0, n),
|
|
29137
|
+
r: Lr(i.right, s.right, 0, t),
|
|
29138
|
+
b: Lr(i.bottom, s.bottom, 0, n),
|
|
29139
|
+
l: Lr(i.left, s.left, 0, t)
|
|
29141
29140
|
};
|
|
29142
29141
|
}
|
|
29143
29142
|
function cz(e, t, n) {
|
|
@@ -29145,10 +29144,10 @@ function cz(e, t, n) {
|
|
|
29145
29144
|
"enableBorderRadius"
|
|
29146
29145
|
]), i = e.options.borderRadius, s = gi(i), o = Math.min(t, n), a = e.borderSkipped, u = r || be(i);
|
|
29147
29146
|
return {
|
|
29148
|
-
topLeft:
|
|
29149
|
-
topRight:
|
|
29150
|
-
bottomLeft:
|
|
29151
|
-
bottomRight:
|
|
29147
|
+
topLeft: Lr(!u || a.top || a.left, s.topLeft, 0, o),
|
|
29148
|
+
topRight: Lr(!u || a.top || a.right, s.topRight, 0, o),
|
|
29149
|
+
bottomLeft: Lr(!u || a.bottom || a.left, s.bottomLeft, 0, o),
|
|
29150
|
+
bottomRight: Lr(!u || a.bottom || a.right, s.bottomRight, 0, o)
|
|
29152
29151
|
};
|
|
29153
29152
|
}
|
|
29154
29153
|
function fz(e) {
|
|
@@ -29242,7 +29241,7 @@ var pz = /* @__PURE__ */ Object.freeze({
|
|
|
29242
29241
|
__proto__: null,
|
|
29243
29242
|
ArcElement: Ms,
|
|
29244
29243
|
BarElement: Ra,
|
|
29245
|
-
LineElement:
|
|
29244
|
+
LineElement: Or,
|
|
29246
29245
|
PointElement: Ia
|
|
29247
29246
|
});
|
|
29248
29247
|
const hf = [
|
|
@@ -29509,7 +29508,7 @@ function k1(e, t, n, r) {
|
|
|
29509
29508
|
}
|
|
29510
29509
|
function V3(e, t) {
|
|
29511
29510
|
let n = [], r = !1;
|
|
29512
|
-
return Ue(e) ? (r = !0, n = e) : n = Az(e, t), n.length ? new
|
|
29511
|
+
return Ue(e) ? (r = !0, n = e) : n = Az(e, t), n.length ? new Or({
|
|
29513
29512
|
points: n,
|
|
29514
29513
|
options: {
|
|
29515
29514
|
tension: 0
|
|
@@ -29580,7 +29579,7 @@ function Pz(e) {
|
|
|
29580
29579
|
for (let c = l.start; c <= l.end; c++)
|
|
29581
29580
|
Rz(i, o[c], a);
|
|
29582
29581
|
}
|
|
29583
|
-
return new
|
|
29582
|
+
return new Or({
|
|
29584
29583
|
points: i,
|
|
29585
29584
|
options: {}
|
|
29586
29585
|
});
|
|
@@ -29762,7 +29761,7 @@ var qz = {
|
|
|
29762
29761
|
const r = (e.data.datasets || []).length, i = [];
|
|
29763
29762
|
let s, o, a, u;
|
|
29764
29763
|
for (o = 0; o < r; ++o)
|
|
29765
|
-
s = e.getDatasetMeta(o), a = s.dataset, u = null, a && a.options && a instanceof
|
|
29764
|
+
s = e.getDatasetMeta(o), a = s.dataset, u = null, a && a.options && a instanceof Or && (u = {
|
|
29766
29765
|
visible: e.isDatasetVisible(o),
|
|
29767
29766
|
index: o,
|
|
29768
29767
|
fill: Tz(a, o, r),
|
|
@@ -30984,7 +30983,7 @@ Z(bf, "id", "linear"), Z(bf, "defaults", {
|
|
|
30984
30983
|
callback: Yu.formatters.numeric
|
|
30985
30984
|
}
|
|
30986
30985
|
});
|
|
30987
|
-
const ko = (e) => Math.floor(
|
|
30986
|
+
const ko = (e) => Math.floor(Tr(e)), ni = (e, t) => Math.pow(10, ko(e) + t);
|
|
30988
30987
|
function R1(e) {
|
|
30989
30988
|
return e / Math.pow(10, ko(e)) === 1;
|
|
30990
30989
|
}
|
|
@@ -31057,10 +31056,10 @@ class _f extends Ti {
|
|
|
31057
31056
|
}
|
|
31058
31057
|
configure() {
|
|
31059
31058
|
const t = this.min;
|
|
31060
|
-
super.configure(), this._startValue =
|
|
31059
|
+
super.configure(), this._startValue = Tr(t), this._valueRange = Tr(this.max) - Tr(t);
|
|
31061
31060
|
}
|
|
31062
31061
|
getPixelForValue(t) {
|
|
31063
|
-
return (t === void 0 || t === 0) && (t = this.min), t === null || isNaN(t) ? NaN : this.getPixelForDecimal(t === this.min ? 0 : (
|
|
31062
|
+
return (t === void 0 || t === 0) && (t = this.min), t === null || isNaN(t) ? NaN : this.getPixelForDecimal(t === this.min ? 0 : (Tr(t) - this._startValue) / this._valueRange);
|
|
31064
31063
|
}
|
|
31065
31064
|
getValueForPixel(t) {
|
|
31066
31065
|
const n = this.getDecimalForPixel(t);
|
|
@@ -31880,7 +31879,7 @@ const PB = {
|
|
|
31880
31879
|
}, null, -1)
|
|
31881
31880
|
])),
|
|
31882
31881
|
_: 1
|
|
31883
|
-
})) : (O(), R("p", jB, I(A(
|
|
31882
|
+
})) : (O(), R("p", jB, I(A(Fr)(l.summary, 2)), 1)),
|
|
31884
31883
|
l.data === null ? (O(), re(A(rf), {
|
|
31885
31884
|
key: 2,
|
|
31886
31885
|
width: 120,
|
|
@@ -31910,7 +31909,7 @@ const PB = {
|
|
|
31910
31909
|
])) : Y("", !0)
|
|
31911
31910
|
]),
|
|
31912
31911
|
a.value && s.value ? (O(), R("p", qB, [
|
|
31913
|
-
C("strong", WB, " + " + I(A(
|
|
31912
|
+
C("strong", WB, " + " + I(A(Fr)(a.value, 2)), 1),
|
|
31914
31913
|
K(" " + I(A(n)(" in ")) + " " + I(A(Ir)(s.value, { dateStyle: void 0, year: "numeric", month: "short", day: void 0 })), 1)
|
|
31915
31914
|
])) : Y("", !0)
|
|
31916
31915
|
], 2));
|
|
@@ -31918,7 +31917,7 @@ const PB = {
|
|
|
31918
31917
|
}), DV = {
|
|
31919
31918
|
async install(e, t) {
|
|
31920
31919
|
if (!t.textClamp) {
|
|
31921
|
-
const n = await import("./text-clamp.esm-
|
|
31920
|
+
const n = await import("./text-clamp.esm-DurZFOvT.js");
|
|
31922
31921
|
t.textClamp = n.default;
|
|
31923
31922
|
}
|
|
31924
31923
|
if (t.i18n) {
|
|
@@ -31932,7 +31931,7 @@ export {
|
|
|
31932
31931
|
RC as $,
|
|
31933
31932
|
S2 as A,
|
|
31934
31933
|
A2 as B,
|
|
31935
|
-
|
|
31934
|
+
Er as C,
|
|
31936
31935
|
JB as D,
|
|
31937
31936
|
rV as E,
|
|
31938
31937
|
$r as F,
|
|
@@ -31973,7 +31972,7 @@ export {
|
|
|
31973
31972
|
CA as ac,
|
|
31974
31973
|
Ru as ad,
|
|
31975
31974
|
wa as ae,
|
|
31976
|
-
|
|
31975
|
+
Fr as af,
|
|
31977
31976
|
xs as ag,
|
|
31978
31977
|
AL as ah,
|
|
31979
31978
|
DL as ai,
|
|
@@ -32005,5 +32004,5 @@ export {
|
|
|
32005
32004
|
Ki as w,
|
|
32006
32005
|
nV as x,
|
|
32007
32006
|
GE as y,
|
|
32008
|
-
|
|
32007
|
+
gr as z
|
|
32009
32008
|
};
|