@datagouv/components-next 1.0.2-dev.190 → 1.0.2-dev.191
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/{Datafair.client-VsEj9A00.js → Datafair.client-fxOwwaND.js} +1 -1
- package/dist/{ImagePreview.client-cv32--L0.js → ImagePreview.client-XSR9THWR.js} +1 -1
- package/dist/{JsonPreview.client-JmyzznjY.js → JsonPreview.client-CU1FWFIy.js} +2 -2
- package/dist/{MapContainer.client-BxGjbFJV.js → MapContainer.client-D0-Dn7jq.js} +2 -2
- package/dist/{PdfPreview.client-CkrjnmJP.js → PdfPreview.client-B7eDgq8y.js} +2 -2
- package/dist/{Pmtiles.client-EAekMgpr.js → Pmtiles.client-CCpvggkZ.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-B0OeAb39.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-BzhNjYoY.js} +1 -1
- package/dist/{XmlPreview.client-WcOMRUAD.js → XmlPreview.client-CyjpNh5i.js} +3 -3
- package/dist/components-next.js +1 -1
- package/dist/{index-DLsJxwiN.js → index-BBnxH-Nj.js} +1 -1
- package/dist/{leaflet-src-D0FPslrZ.js → leaflet-src-Be0Ohp2k.js} +1 -1
- package/dist/{main-HzoTSLAM.js → main-C2kCZkPD.js} +588 -583
- package/dist/{vue3-xml-viewer.common-iq0K0tIG.js → vue3-xml-viewer.common-__BZsi8i.js} +1 -1
- package/package.json +1 -1
- package/src/components/ResourceListItem.vue +36 -29
|
@@ -85,7 +85,7 @@ process.env.NODE_ENV;
|
|
|
85
85
|
function rp() {
|
|
86
86
|
return m2(ol);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function ms(e) {
|
|
89
89
|
return m2(sp);
|
|
90
90
|
}
|
|
91
91
|
function yo(e) {
|
|
@@ -269,7 +269,7 @@ function Vy(...e) {
|
|
|
269
269
|
})), !u && !i && (i = setTimeout(() => r = !0, g)), r = !1, l);
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function N9(e) {
|
|
273
273
|
return Array.isArray(e) ? e : [e];
|
|
274
274
|
}
|
|
275
275
|
function Sy(e) {
|
|
@@ -368,7 +368,7 @@ function B91(e, t = {}) {
|
|
|
368
368
|
throw new Error(
|
|
369
369
|
`useSearchFilter("${e}") must be used inside a <GlobalSearch> component.`
|
|
370
370
|
);
|
|
371
|
-
const { apiParam: r = e, defaultValue: n = void 0, typeKeys: l } = t, a = l ? Array.isArray(l) ? l : [l] : void 0, c =
|
|
371
|
+
const { apiParam: r = e, defaultValue: n = void 0, typeKeys: l } = t, a = l ? Array.isArray(l) ? l : [l] : void 0, c = ms(), u = rp(), h = ue(e, n);
|
|
372
372
|
return J1(() => {
|
|
373
373
|
i.register(e, { apiParam: r, ref: h, defaultValue: n, typeKeys: a });
|
|
374
374
|
}), Q7(() => {
|
|
@@ -381,7 +381,7 @@ function B91(e, t = {}) {
|
|
|
381
381
|
i.unregister(e);
|
|
382
382
|
}), h;
|
|
383
383
|
}
|
|
384
|
-
const
|
|
384
|
+
const X9 = /\{(\w+)\}/g, Ty = /* @__PURE__ */ Object.assign({
|
|
385
385
|
"../../../locales/en.json": () => import("./en-CuSmdvir.js").then((e) => e.default)
|
|
386
386
|
}), By = /^[a-z]{2,3}$/;
|
|
387
387
|
function zo(e) {
|
|
@@ -413,17 +413,17 @@ async function Ay(e) {
|
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
function ky(e, t) {
|
|
416
|
-
return e.replace(
|
|
416
|
+
return e.replace(X9, (i, r) => r in t ? String(t[r]) : i);
|
|
417
417
|
}
|
|
418
418
|
function A91(e) {
|
|
419
|
-
const t = [], i = new RegExp(
|
|
419
|
+
const t = [], i = new RegExp(X9.source, X9.flags);
|
|
420
420
|
let r;
|
|
421
421
|
for (; (r = i.exec(e)) !== null; )
|
|
422
422
|
t.push(r[1]);
|
|
423
423
|
return t;
|
|
424
424
|
}
|
|
425
425
|
function Fy(e) {
|
|
426
|
-
const t = [], i = new RegExp(
|
|
426
|
+
const t = [], i = new RegExp(X9.source, X9.flags);
|
|
427
427
|
let r = 0, n;
|
|
428
428
|
for (; (n = i.exec(e)) !== null; )
|
|
429
429
|
n.index > r && t.push({ text: e.slice(r, n.index) }), t.push({ placeholder: n[1] }), r = i.lastIndex;
|
|
@@ -1234,7 +1234,7 @@ o({ name: "RiArrowDownCircleLine", props: { size: { type: String, default: "24px
|
|
|
1234
1234
|
o({ name: "RiArrowDownFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
1235
1235
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M13 12H20L12 20L4 12H11V4H13V12Z" }));
|
|
1236
1236
|
} });
|
|
1237
|
-
const
|
|
1237
|
+
const ws = o({ name: "RiArrowDownLine", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
1238
1238
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" }));
|
|
1239
1239
|
} });
|
|
1240
1240
|
o({ name: "RiArrowDownSFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
@@ -1360,7 +1360,7 @@ o({ name: "RiArrowUpDownLine", props: { size: { type: String, default: "24px" },
|
|
|
1360
1360
|
o({ name: "RiArrowUpFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
1361
1361
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M13 12V20H11V12H4L12 4L20 12H13Z" }));
|
|
1362
1362
|
} });
|
|
1363
|
-
const
|
|
1363
|
+
const Ls = o({ name: "RiArrowUpLine", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
1364
1364
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" }));
|
|
1365
1365
|
} });
|
|
1366
1366
|
o({ name: "RiArrowUpSFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
@@ -1891,7 +1891,7 @@ const Ro = o({ name: "RiCalendarEventLine", props: { size: { type: String, defau
|
|
|
1891
1891
|
o({ name: "RiCalendarFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
1892
1892
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M2 11H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V11ZM17 3H21C21.5523 3 22 3.44772 22 4V9H2V4C2 3.44772 2.44772 3 3 3H7V1H9V3H15V1H17V3Z" }));
|
|
1893
1893
|
} });
|
|
1894
|
-
const
|
|
1894
|
+
const Q9 = o({ name: "RiCalendarLine", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
1895
1895
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" }));
|
|
1896
1896
|
} });
|
|
1897
1897
|
o({ name: "RiCalendarTodoFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
@@ -3180,7 +3180,7 @@ o({ name: "RiFileCopy2Line", props: { size: { type: String, default: "24px" }, c
|
|
|
3180
3180
|
o({ name: "RiFileCopyFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
3181
3181
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" }));
|
|
3182
3182
|
} });
|
|
3183
|
-
const
|
|
3183
|
+
const J9 = o({ name: "RiFileCopyLine", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
3184
3184
|
return s("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", width: this.size, height: this.size, fill: this.color, class: ["remixicon", this.className] }, s("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" }));
|
|
3185
3185
|
} });
|
|
3186
3186
|
o({ name: "RiFileDamageFill", props: { size: { type: String, default: "24px" }, color: { type: String, default: "currentColor" }, className: { type: String, default: "" } }, render() {
|
|
@@ -10759,7 +10759,7 @@ const SH = ["aria-label"], MH = { class: "fr-pagination__list" }, bH = ["href"],
|
|
|
10759
10759
|
},
|
|
10760
10760
|
emits: ["change"],
|
|
10761
10761
|
setup(e, { emit: t }) {
|
|
10762
|
-
const i = t, r = e, { t: n } = w1(), l =
|
|
10762
|
+
const i = t, r = e, { t: n } = w1(), l = ms(), a = A(() => Math.ceil(r.totalResults / r.pageSize)), c = A(() => xp(r.page, a.value)), u = A(() => VH(c.value, a.value)), h = O2("navRef");
|
|
10763
10763
|
function d(f) {
|
|
10764
10764
|
i("change", f), !(!h.value || !h.value.parentElement) && (h.value.parentElement.style.scrollMarginTop = "100px", h.value.parentElement.scrollIntoView({ behavior: "smooth", block: "start" }));
|
|
10765
10765
|
}
|
|
@@ -10884,7 +10884,7 @@ const SH = ["aria-label"], MH = { class: "fr-pagination__list" }, bH = ["href"],
|
|
|
10884
10884
|
},
|
|
10885
10885
|
async setup(e) {
|
|
10886
10886
|
let t, i;
|
|
10887
|
-
const r = e, n =
|
|
10887
|
+
const r = e, n = ms(), { formatDate: l } = We(), { t: a } = w1(), c = J(parseInt(n.query.page ?? "1", 10)), { data: u, status: h } = ([t, i] = ht(() => ct("/api/1/activity/", {
|
|
10888
10888
|
query: {
|
|
10889
10889
|
related_to: r.id ?? void 0,
|
|
10890
10890
|
user: r.user ?? void 0,
|
|
@@ -11697,7 +11697,7 @@ var vV = /* @__PURE__ */ o({
|
|
|
11697
11697
|
}, _(w(C3)(s1.toast.action) ? s1.toast.action?.label : s1.toast.action), 7)) : U("v-if", !0)
|
|
11698
11698
|
], 64))], 46, xV));
|
|
11699
11699
|
}
|
|
11700
|
-
}), HV = vV,
|
|
11700
|
+
}), HV = vV, xs = (e, t) => {
|
|
11701
11701
|
const i = e.__vccOpts || e;
|
|
11702
11702
|
for (const [r, n] of t) i[r] = n;
|
|
11703
11703
|
return i;
|
|
@@ -11726,7 +11726,7 @@ function MV(e, t) {
|
|
|
11726
11726
|
y2: "18"
|
|
11727
11727
|
}, null, -1)]));
|
|
11728
11728
|
}
|
|
11729
|
-
var bV = /* @__PURE__ */
|
|
11729
|
+
var bV = /* @__PURE__ */ xs(VV, [["render", MV]]);
|
|
11730
11730
|
const zV = ["data-visible"], NV = { class: "sonner-spinner" };
|
|
11731
11731
|
var ZV = /* @__PURE__ */ o({
|
|
11732
11732
|
__name: "Loader",
|
|
@@ -11756,7 +11756,7 @@ function TV(e, t) {
|
|
|
11756
11756
|
"clip-rule": "evenodd"
|
|
11757
11757
|
}, null, -1)]));
|
|
11758
11758
|
}
|
|
11759
|
-
var BV = /* @__PURE__ */
|
|
11759
|
+
var BV = /* @__PURE__ */ xs(_V, [["render", TV]]);
|
|
11760
11760
|
const AV = {}, kV = {
|
|
11761
11761
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11762
11762
|
viewBox: "0 0 20 20",
|
|
@@ -11771,7 +11771,7 @@ function FV(e, t) {
|
|
|
11771
11771
|
"clip-rule": "evenodd"
|
|
11772
11772
|
}, null, -1)]));
|
|
11773
11773
|
}
|
|
11774
|
-
var DV = /* @__PURE__ */
|
|
11774
|
+
var DV = /* @__PURE__ */ xs(AV, [["render", FV]]);
|
|
11775
11775
|
const OV = {}, IV = {
|
|
11776
11776
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11777
11777
|
viewBox: "0 0 24 24",
|
|
@@ -11786,7 +11786,7 @@ function PV(e, t) {
|
|
|
11786
11786
|
"clip-rule": "evenodd"
|
|
11787
11787
|
}, null, -1)]));
|
|
11788
11788
|
}
|
|
11789
|
-
var $V = /* @__PURE__ */
|
|
11789
|
+
var $V = /* @__PURE__ */ xs(OV, [["render", PV]]);
|
|
11790
11790
|
const UV = {}, qV = {
|
|
11791
11791
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11792
11792
|
viewBox: "0 0 20 20",
|
|
@@ -11801,7 +11801,7 @@ function WV(e, t) {
|
|
|
11801
11801
|
"clip-rule": "evenodd"
|
|
11802
11802
|
}, null, -1)]));
|
|
11803
11803
|
}
|
|
11804
|
-
var jV = /* @__PURE__ */
|
|
11804
|
+
var jV = /* @__PURE__ */ xs(UV, [["render", WV]]);
|
|
11805
11805
|
const GV = ["aria-label"], KV = [
|
|
11806
11806
|
"data-sonner-theme",
|
|
11807
11807
|
"dir",
|
|
@@ -12131,7 +12131,7 @@ const JV = /* @__PURE__ */ o({
|
|
|
12131
12131
|
key: 1,
|
|
12132
12132
|
class: c1(["flex items-center gap-1", { "flex-row-reverse": e.reverse }])
|
|
12133
12133
|
}, [
|
|
12134
|
-
(v(), j(a2(e.hideLabel ? w(qv) : w(
|
|
12134
|
+
(v(), j(a2(e.hideLabel ? w(qv) : w(J9)), {
|
|
12135
12135
|
class: "size-4 flex-none inline",
|
|
12136
12136
|
"aria-hidden": "true"
|
|
12137
12137
|
})),
|
|
@@ -12367,7 +12367,7 @@ function Np(e) {
|
|
|
12367
12367
|
function xl(e) {
|
|
12368
12368
|
return ri(e, L7) ? L7 : ri(e, w7) ? w7 : ri(e, Yn) ? Yn : ri(e, Xn) ? Xn : Ll;
|
|
12369
12369
|
}
|
|
12370
|
-
function
|
|
12370
|
+
function es(e) {
|
|
12371
12371
|
return e ? bp(e, oS) && (ri(e, w7) || ri(e, L7)) : !1;
|
|
12372
12372
|
}
|
|
12373
12373
|
function $91(e, t) {
|
|
@@ -12399,7 +12399,7 @@ const Zp = /* @__PURE__ */ o({
|
|
|
12399
12399
|
function dS(e, t, i) {
|
|
12400
12400
|
return o5(e, x7(t, i));
|
|
12401
12401
|
}
|
|
12402
|
-
function
|
|
12402
|
+
function ys(e, t) {
|
|
12403
12403
|
return typeof e == "function" ? e(t) : e;
|
|
12404
12404
|
}
|
|
12405
12405
|
function b4(e) {
|
|
@@ -12548,7 +12548,7 @@ async function xS(e, t) {
|
|
|
12548
12548
|
elementContext: p = "floating",
|
|
12549
12549
|
altBoundary: C = !1,
|
|
12550
12550
|
padding: g = 0
|
|
12551
|
-
} =
|
|
12551
|
+
} = ys(t, e), m = LS(g), L = c[C ? p === "floating" ? "reference" : "floating" : p], y = V7(await l.getClippingRect({
|
|
12552
12552
|
element: (i = await (l.isElement == null ? void 0 : l.isElement(L))) == null || i ? L : L.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(c.floating)),
|
|
12553
12553
|
boundary: h,
|
|
12554
12554
|
rootBoundary: d,
|
|
@@ -12660,7 +12660,7 @@ const VS = function(e) {
|
|
|
12660
12660
|
allowedPlacements: C = Ao,
|
|
12661
12661
|
autoAlignment: g = !0,
|
|
12662
12662
|
...m
|
|
12663
|
-
} =
|
|
12663
|
+
} = ys(e, t), f = p !== void 0 || C === Ao ? HS(p || null, g, C) : C, L = ((i = a.autoPlacement) == null ? void 0 : i.index) || 0, y = f[L];
|
|
12664
12664
|
if (y == null)
|
|
12665
12665
|
return {};
|
|
12666
12666
|
if (c !== y)
|
|
@@ -12730,7 +12730,7 @@ const VS = function(e) {
|
|
|
12730
12730
|
fallbackAxisSideDirection: m = "none",
|
|
12731
12731
|
flipAlignment: f = !0,
|
|
12732
12732
|
...L
|
|
12733
|
-
} =
|
|
12733
|
+
} = ys(e, t);
|
|
12734
12734
|
if ((i = l.arrow) != null && i.alignmentOffset)
|
|
12735
12735
|
return {};
|
|
12736
12736
|
const y = b4(n), H = m4(c), V = b4(c) === c, z = await (u.isRTL == null ? void 0 : u.isRTL(h.floating)), M = C || (V || !f ? [H7(c)] : pS(c)), b = m !== "none";
|
|
@@ -12796,7 +12796,7 @@ async function bS(e, t) {
|
|
|
12796
12796
|
placement: i,
|
|
12797
12797
|
platform: r,
|
|
12798
12798
|
elements: n
|
|
12799
|
-
} = e, l = await (r.isRTL == null ? void 0 : r.isRTL(n.floating)), a = b4(i), c = G0(i), u = m4(i) === "y", h = MS.has(a) ? -1 : 1, d = l && u ? -1 : 1, p =
|
|
12799
|
+
} = e, l = await (r.isRTL == null ? void 0 : r.isRTL(n.floating)), a = b4(i), c = G0(i), u = m4(i) === "y", h = MS.has(a) ? -1 : 1, d = l && u ? -1 : 1, p = ys(t, e);
|
|
12800
12800
|
let {
|
|
12801
12801
|
mainAxis: C,
|
|
12802
12802
|
crossAxis: g,
|
|
@@ -12866,7 +12866,7 @@ const zS = function(e) {
|
|
|
12866
12866
|
}
|
|
12867
12867
|
},
|
|
12868
12868
|
...h
|
|
12869
|
-
} =
|
|
12869
|
+
} = ys(e, t), d = {
|
|
12870
12870
|
x: i,
|
|
12871
12871
|
y: r
|
|
12872
12872
|
}, p = await l.detectOverflow(t, h), C = m4(n), g = Ep(C);
|
|
@@ -12950,7 +12950,7 @@ function vl(e) {
|
|
|
12950
12950
|
}
|
|
12951
12951
|
function RS(e) {
|
|
12952
12952
|
let t = g5(e);
|
|
12953
|
-
for (; R4(t) && !
|
|
12953
|
+
for (; R4(t) && !ts(t); ) {
|
|
12954
12954
|
if (vl(t))
|
|
12955
12955
|
return t;
|
|
12956
12956
|
if (rr(t))
|
|
@@ -12962,7 +12962,7 @@ function RS(e) {
|
|
|
12962
12962
|
function Hl() {
|
|
12963
12963
|
return N8 == null && (N8 = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), N8;
|
|
12964
12964
|
}
|
|
12965
|
-
function
|
|
12965
|
+
function ts(e) {
|
|
12966
12966
|
return /^(html|body|#document)$/.test(z5(e));
|
|
12967
12967
|
}
|
|
12968
12968
|
function y0(e) {
|
|
@@ -12991,17 +12991,17 @@ function g5(e) {
|
|
|
12991
12991
|
}
|
|
12992
12992
|
function Bp(e) {
|
|
12993
12993
|
const t = g5(e);
|
|
12994
|
-
return
|
|
12994
|
+
return ts(t) ? (e.ownerDocument || e).body : R4(t) && sr(t) ? t : Bp(t);
|
|
12995
12995
|
}
|
|
12996
|
-
function
|
|
12996
|
+
function is(e, t, i) {
|
|
12997
12997
|
var r;
|
|
12998
12998
|
t === void 0 && (t = []), i === void 0 && (i = !0);
|
|
12999
12999
|
const n = Bp(e), l = n === ((r = e.ownerDocument) == null ? void 0 : r.body), a = ut(n);
|
|
13000
13000
|
if (l) {
|
|
13001
13001
|
const c = Qn(a);
|
|
13002
|
-
return t.concat(a, a.visualViewport || [], sr(n) ? n : [], c && i ?
|
|
13002
|
+
return t.concat(a, a.visualViewport || [], sr(n) ? n : [], c && i ? is(c) : []);
|
|
13003
13003
|
} else
|
|
13004
|
-
return t.concat(n,
|
|
13004
|
+
return t.concat(n, is(n, [], i));
|
|
13005
13005
|
}
|
|
13006
13006
|
function Qn(e) {
|
|
13007
13007
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
@@ -13171,10 +13171,10 @@ function PS(e, t) {
|
|
|
13171
13171
|
const i = t.get(e);
|
|
13172
13172
|
if (i)
|
|
13173
13173
|
return i;
|
|
13174
|
-
let r =
|
|
13174
|
+
let r = is(e, [], !1).filter((c) => x0(c) && z5(c) !== "body"), n = null;
|
|
13175
13175
|
const l = y0(e).position === "fixed";
|
|
13176
13176
|
let a = l ? g5(e) : e;
|
|
13177
|
-
for (; x0(a) && !
|
|
13177
|
+
for (; x0(a) && !ts(a); ) {
|
|
13178
13178
|
const c = y0(a), u = vl(a), h = n ? n.position : l ? "fixed" : "";
|
|
13179
13179
|
!u && (h === "fixed" || h === "absolute" && c.position === "static") ? r = r.filter((p) => p !== a) : n = c, a = g5(a);
|
|
13180
13180
|
}
|
|
@@ -13247,7 +13247,7 @@ function Dp(e, t) {
|
|
|
13247
13247
|
return i;
|
|
13248
13248
|
if (!R4(e)) {
|
|
13249
13249
|
let n = g5(e);
|
|
13250
|
-
for (; n && !
|
|
13250
|
+
for (; n && !ts(n); ) {
|
|
13251
13251
|
if (x0(n) && !Z8(n))
|
|
13252
13252
|
return n;
|
|
13253
13253
|
n = g5(n);
|
|
@@ -13257,7 +13257,7 @@ function Dp(e, t) {
|
|
|
13257
13257
|
let r = Po(e, t);
|
|
13258
13258
|
for (; r && ZS(r) && Z8(r); )
|
|
13259
13259
|
r = Po(r, t);
|
|
13260
|
-
return r &&
|
|
13260
|
+
return r && ts(r) && Z8(r) && !vl(r) ? i : r || RS(e) || i;
|
|
13261
13261
|
}
|
|
13262
13262
|
const WS = async function(e) {
|
|
13263
13263
|
const t = this.getOffsetParent || Dp, i = this.getDimensions, r = await i(e.floating);
|
|
@@ -13348,7 +13348,7 @@ function e4(e, t, i, r) {
|
|
|
13348
13348
|
elementResize: a = typeof ResizeObserver == "function",
|
|
13349
13349
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
13350
13350
|
animationFrame: u = !1
|
|
13351
|
-
} = r, h = Vl(e), d = n || l ? [...h ?
|
|
13351
|
+
} = r, h = Vl(e), d = n || l ? [...h ? is(h) : [], ...t ? is(t) : []] : [];
|
|
13352
13352
|
d.forEach((y) => {
|
|
13353
13353
|
n && y.addEventListener("scroll", i), l && y.addEventListener("resize", i);
|
|
13354
13354
|
});
|
|
@@ -13374,7 +13374,7 @@ function e4(e, t, i, r) {
|
|
|
13374
13374
|
}), p?.(), (y = g) == null || y.disconnect(), g = null, u && cancelAnimationFrame(m);
|
|
13375
13375
|
};
|
|
13376
13376
|
}
|
|
13377
|
-
const YS = zS, ar = VS,
|
|
13377
|
+
const YS = zS, ar = VS, vs = NS, Hs = SS, XS = (e, t, i) => {
|
|
13378
13378
|
const r = /* @__PURE__ */ new Map(), n = i ?? {}, l = {
|
|
13379
13379
|
...GS,
|
|
13380
13380
|
...n.platform,
|
|
@@ -13550,7 +13550,7 @@ const JS = ["aria-describedby"], eM = ["id"], tM = { class: "drop-shadow bg-whit
|
|
|
13550
13550
|
]),
|
|
13551
13551
|
_: 1
|
|
13552
13552
|
}, 8, ["class"])),
|
|
13553
|
-
w(
|
|
13553
|
+
w(es)(e.organization) ? (v(), j(S7, { key: 1 }, {
|
|
13554
13554
|
tooltip: I(() => [
|
|
13555
13555
|
S("p", rM, _(w(i)("L'identité de ce service public est certifiée par {certifier}", { certifier: w(t).name })), 1)
|
|
13556
13556
|
]),
|
|
@@ -13770,8 +13770,8 @@ function dM() {
|
|
|
13770
13770
|
}
|
|
13771
13771
|
return A8;
|
|
13772
13772
|
}
|
|
13773
|
-
var
|
|
13774
|
-
|
|
13773
|
+
var x9 = { exports: {} };
|
|
13774
|
+
x9.exports;
|
|
13775
13775
|
var Xo;
|
|
13776
13776
|
function pM() {
|
|
13777
13777
|
return Xo || (Xo = 1, (function(e, t) {
|
|
@@ -13861,7 +13861,7 @@ function pM() {
|
|
|
13861
13861
|
return Z ? "Symbol(src)_1." + Z : "";
|
|
13862
13862
|
})(), De = s0.toString, Je = Zt.hasOwnProperty, S0 = Zt.toString, r8 = RegExp(
|
|
13863
13863
|
"^" + De.call(Je).replace(q, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
13864
|
-
),
|
|
13864
|
+
), Ji = Ct ? k1.Buffer : void 0, M0 = k1.Symbol, K = k1.Uint8Array, d1 = Re(Object.getPrototypeOf, Object), E1 = Object.create, Y1 = Zt.propertyIsEnumerable, Y2 = mt.splice, U2 = Object.getOwnPropertySymbols, I1 = Ji ? Ji.isBuffer : void 0, A1 = Re(Object.keys, Object), K1 = P5(k1, "DataView"), q2 = P5(k1, "Map"), W2 = P5(k1, "Promise"), b0 = P5(k1, "Set"), D4 = P5(k1, "WeakMap"), z0 = P5(Object, "create"), n8 = P4(K1), e9 = P4(q2), l8 = P4(W2), a8 = P4(b0), o8 = P4(D4), O4 = M0 ? M0.prototype : void 0, r0 = O4 ? O4.valueOf : void 0, Js = O4 ? O4.toString : void 0;
|
|
13865
13865
|
function N0(Z) {
|
|
13866
13866
|
var O = -1, e1 = Z ? Z.length : 0;
|
|
13867
13867
|
for (this.clear(); ++O < e1; ) {
|
|
@@ -13992,7 +13992,7 @@ function pM() {
|
|
|
13992
13992
|
Je.call(Z, O1) && !(q1 && (O1 == "length" || oo(O1, C1))) && e1.push(O1);
|
|
13993
13993
|
return e1;
|
|
13994
13994
|
}
|
|
13995
|
-
function
|
|
13995
|
+
function t9(Z, O, e1) {
|
|
13996
13996
|
var C1 = Z[O];
|
|
13997
13997
|
(!(Je.call(Z, O) && v8(C1, e1)) || e1 === void 0 && !(O in Z)) && (Z[O] = e1);
|
|
13998
13998
|
}
|
|
@@ -14037,13 +14037,13 @@ function pM() {
|
|
|
14037
14037
|
if (t2.set(Z, v2), !ee)
|
|
14038
14038
|
var Ve = e1 ? Mx(Z) : U5(Z);
|
|
14039
14039
|
return Nt(Ve || Z, function(Oe, Ae) {
|
|
14040
|
-
Ve && (Ae = Oe, Oe = Z[Ae]),
|
|
14040
|
+
Ve && (Ae = Oe, Oe = Z[Ae]), t9(v2, Ae, I4(Oe, O, e1, C1, Ae, Z, t2));
|
|
14041
14041
|
}), v2;
|
|
14042
14042
|
}
|
|
14043
14043
|
function Q1(Z) {
|
|
14044
14044
|
return $5(Z) ? E1(Z) : {};
|
|
14045
14045
|
}
|
|
14046
|
-
function
|
|
14046
|
+
function i9(Z, O) {
|
|
14047
14047
|
O = n3(O, Z) ? [O] : ro(O);
|
|
14048
14048
|
for (var e1 = 0, C1 = O.length; Z != null && e1 < C1; )
|
|
14049
14049
|
Z = Z[l3(O[e1++])];
|
|
@@ -14060,9 +14060,9 @@ function pM() {
|
|
|
14060
14060
|
return Z != null && O in Object(Z);
|
|
14061
14061
|
}
|
|
14062
14062
|
function qt(Z, O, e1, C1, q1) {
|
|
14063
|
-
return Z === O ? !0 : Z == null || O == null || !$5(Z) && !a3(O) ? Z !== Z && O !== O :
|
|
14063
|
+
return Z === O ? !0 : Z == null || O == null || !$5(Z) && !a3(O) ? Z !== Z && O !== O : s9(Z, O, qt, e1, C1, q1);
|
|
14064
14064
|
}
|
|
14065
|
-
function
|
|
14065
|
+
function s9(Z, O, e1, C1, q1, O1) {
|
|
14066
14066
|
var t2 = E0(Z), v2 = E0(O), ee = h, X2 = h;
|
|
14067
14067
|
t2 || (ee = Z0(Z), ee = ee == u ? y : ee), v2 || (X2 = Z0(O), X2 = X2 == u ? y : X2);
|
|
14068
14068
|
var Te = ee == y && !_1(Z), Be = X2 == y && !_1(O), Ve = ee == X2;
|
|
@@ -14077,7 +14077,7 @@ function pM() {
|
|
|
14077
14077
|
}
|
|
14078
14078
|
return Ve ? (O1 || (O1 = new Lt()), Sx(Z, O, e1, C1, q1, O1)) : !1;
|
|
14079
14079
|
}
|
|
14080
|
-
function
|
|
14080
|
+
function r9(Z, O, e1, C1) {
|
|
14081
14081
|
var q1 = e1.length, O1 = q1;
|
|
14082
14082
|
if (Z == null)
|
|
14083
14083
|
return !O1;
|
|
@@ -14123,7 +14123,7 @@ function pM() {
|
|
|
14123
14123
|
function He(Z) {
|
|
14124
14124
|
var O = bx(Z);
|
|
14125
14125
|
return O.length == 1 && O[0][2] ? ho(O[0][0], O[0][1]) : function(e1) {
|
|
14126
|
-
return e1 === Z ||
|
|
14126
|
+
return e1 === Z || r9(e1, Z, O);
|
|
14127
14127
|
};
|
|
14128
14128
|
}
|
|
14129
14129
|
function Wt(Z, O) {
|
|
@@ -14134,7 +14134,7 @@ function pM() {
|
|
|
14134
14134
|
}
|
|
14135
14135
|
function w8(Z) {
|
|
14136
14136
|
return function(O) {
|
|
14137
|
-
return
|
|
14137
|
+
return i9(O, Z);
|
|
14138
14138
|
};
|
|
14139
14139
|
}
|
|
14140
14140
|
function L8(Z) {
|
|
@@ -14191,7 +14191,7 @@ function pM() {
|
|
|
14191
14191
|
e1 || (e1 = {});
|
|
14192
14192
|
for (var q1 = -1, O1 = O.length; ++q1 < O1; ) {
|
|
14193
14193
|
var t2 = O[q1], v2 = void 0;
|
|
14194
|
-
|
|
14194
|
+
t9(e1, t2, v2 === void 0 ? Z[t2] : v2);
|
|
14195
14195
|
}
|
|
14196
14196
|
return e1;
|
|
14197
14197
|
}
|
|
@@ -14322,7 +14322,7 @@ function pM() {
|
|
|
14322
14322
|
switch (C1) {
|
|
14323
14323
|
case n8:
|
|
14324
14324
|
return k;
|
|
14325
|
-
case
|
|
14325
|
+
case e9:
|
|
14326
14326
|
return f;
|
|
14327
14327
|
case l8:
|
|
14328
14328
|
return H;
|
|
@@ -14489,7 +14489,7 @@ function pM() {
|
|
|
14489
14489
|
return Z == null ? "" : L8(Z);
|
|
14490
14490
|
}
|
|
14491
14491
|
function Dx(Z, O, e1) {
|
|
14492
|
-
var C1 = Z == null ? void 0 :
|
|
14492
|
+
var C1 = Z == null ? void 0 : i9(Z, O);
|
|
14493
14493
|
return C1 === void 0 ? e1 : C1;
|
|
14494
14494
|
}
|
|
14495
14495
|
function Ox(Z, O) {
|
|
@@ -14514,7 +14514,7 @@ function pM() {
|
|
|
14514
14514
|
return !1;
|
|
14515
14515
|
}
|
|
14516
14516
|
e.exports = Px;
|
|
14517
|
-
})(
|
|
14517
|
+
})(x9, x9.exports)), x9.exports;
|
|
14518
14518
|
}
|
|
14519
14519
|
var k8, Qo;
|
|
14520
14520
|
function Pp() {
|
|
@@ -14975,7 +14975,7 @@ function FM(e) {
|
|
|
14975
14975
|
throw new TypeError("Expected a string");
|
|
14976
14976
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
14977
14977
|
}
|
|
14978
|
-
const
|
|
14978
|
+
const Vs = (
|
|
14979
14979
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
14980
14980
|
/**
|
|
14981
14981
|
* @type {(
|
|
@@ -15013,7 +15013,7 @@ function DM(e) {
|
|
|
15013
15013
|
const t = [];
|
|
15014
15014
|
let i = -1;
|
|
15015
15015
|
for (; ++i < e.length; )
|
|
15016
|
-
t[i] =
|
|
15016
|
+
t[i] = Vs(e[i]);
|
|
15017
15017
|
return pr(r);
|
|
15018
15018
|
function r(...n) {
|
|
15019
15019
|
let l = -1;
|
|
@@ -15067,7 +15067,7 @@ const Wp = [], UM = !0, Jn = !1, qM = "skip";
|
|
|
15067
15067
|
function jp(e, t, i, r) {
|
|
15068
15068
|
let n;
|
|
15069
15069
|
typeof t == "function" && typeof i != "function" ? (r = i, i = t) : n = t;
|
|
15070
|
-
const l =
|
|
15070
|
+
const l = Vs(n), a = r ? -1 : 1;
|
|
15071
15071
|
c(e, void 0, [])();
|
|
15072
15072
|
function c(u, h, d) {
|
|
15073
15073
|
const p = (
|
|
@@ -15112,7 +15112,7 @@ function WM(e) {
|
|
|
15112
15112
|
return Array.isArray(e) ? e : typeof e == "number" ? [UM, e] : e == null ? Wp : [e];
|
|
15113
15113
|
}
|
|
15114
15114
|
function Gp(e, t, i) {
|
|
15115
|
-
const n =
|
|
15115
|
+
const n = Vs((i || {}).ignore || []), l = jM(t);
|
|
15116
15116
|
let a = -1;
|
|
15117
15117
|
for (; ++a < l.length; )
|
|
15118
15118
|
jp(e, "text", c);
|
|
@@ -15201,7 +15201,7 @@ const ic = (
|
|
|
15201
15201
|
* @returns {UnistNode | undefined}
|
|
15202
15202
|
*/
|
|
15203
15203
|
(function(e, t, i) {
|
|
15204
|
-
const r =
|
|
15204
|
+
const r = Vs(i);
|
|
15205
15205
|
if (!e || !e.type || !e.children)
|
|
15206
15206
|
throw new Error("Expected parent node");
|
|
15207
15207
|
if (typeof t == "number") {
|
|
@@ -25887,7 +25887,7 @@ function mz(e) {
|
|
|
25887
25887
|
function nC(e) {
|
|
25888
25888
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
25889
25889
|
}
|
|
25890
|
-
function
|
|
25890
|
+
function n9(e) {
|
|
25891
25891
|
return E2("(?=", e, ")");
|
|
25892
25892
|
}
|
|
25893
25893
|
function E2(...e) {
|
|
@@ -26399,7 +26399,7 @@ function Sz(e) {
|
|
|
26399
26399
|
] }
|
|
26400
26400
|
}, L1 = {
|
|
26401
26401
|
scope: "keyword",
|
|
26402
|
-
match: E2(/@/, Ke(...Hz),
|
|
26402
|
+
match: E2(/@/, Ke(...Hz), n9(Ke(/\(/, /\s+/)))
|
|
26403
26403
|
}, $ = {
|
|
26404
26404
|
scope: "meta",
|
|
26405
26405
|
match: E2(/@/, u0)
|
|
@@ -26408,7 +26408,7 @@ function Sz(e) {
|
|
|
26408
26408
|
L1,
|
|
26409
26409
|
$
|
|
26410
26410
|
], v1 = {
|
|
26411
|
-
match:
|
|
26411
|
+
match: n9(/\b[A-Z]/),
|
|
26412
26412
|
relevance: 0,
|
|
26413
26413
|
contains: [
|
|
26414
26414
|
{
|
|
@@ -26434,7 +26434,7 @@ function Sz(e) {
|
|
|
26434
26434
|
},
|
|
26435
26435
|
{
|
|
26436
26436
|
// Protocol composition
|
|
26437
|
-
match: E2(/\s+&\s+/,
|
|
26437
|
+
match: E2(/\s+&\s+/, n9(H3)),
|
|
26438
26438
|
relevance: 0
|
|
26439
26439
|
}
|
|
26440
26440
|
]
|
|
@@ -26484,8 +26484,8 @@ function Sz(e) {
|
|
|
26484
26484
|
]
|
|
26485
26485
|
}, s1 = {
|
|
26486
26486
|
begin: Ke(
|
|
26487
|
-
|
|
26488
|
-
|
|
26487
|
+
n9(E2(u0, /\s*:/)),
|
|
26488
|
+
n9(E2(u0, /\s+/, u0, /\s*:/))
|
|
26489
26489
|
),
|
|
26490
26490
|
end: /:/,
|
|
26491
26491
|
relevance: 0,
|
|
@@ -28743,7 +28743,7 @@ function Rz() {
|
|
|
28743
28743
|
super(d1), this.name = "HTMLInjectionError", this.html = E1;
|
|
28744
28744
|
}
|
|
28745
28745
|
}
|
|
28746
|
-
const De = i, Je = r, S0 = /* @__PURE__ */ Symbol("nomatch"), r8 = 7,
|
|
28746
|
+
const De = i, Je = r, S0 = /* @__PURE__ */ Symbol("nomatch"), r8 = 7, Ji = function(K) {
|
|
28747
28747
|
const d1 = /* @__PURE__ */ Object.create(null), E1 = /* @__PURE__ */ Object.create(null), Y1 = [];
|
|
28748
28748
|
let Y2 = !0;
|
|
28749
28749
|
const U2 = "Could not find the language '{}', did you forget to load/include a language module?", I1 = { disableAutodetect: !0, name: "Plain text", contains: [] };
|
|
@@ -28822,7 +28822,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
28822
28822
|
fe.addText(Z2);
|
|
28823
28823
|
return;
|
|
28824
28824
|
}
|
|
28825
|
-
R1 = b0(Q1.subLanguage, Z2, !0,
|
|
28825
|
+
R1 = b0(Q1.subLanguage, Z2, !0, i9[Q1.subLanguage]), i9[Q1.subLanguage] = /** @type {CompiledMode} */
|
|
28826
28826
|
R1._top;
|
|
28827
28827
|
} else
|
|
28828
28828
|
R1 = z0(Z2, Q1.subLanguage.length ? Q1.subLanguage : null);
|
|
@@ -28866,7 +28866,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
28866
28866
|
return s3(R1.parent, P1, r2);
|
|
28867
28867
|
}
|
|
28868
28868
|
function p8(R1) {
|
|
28869
|
-
return Q1.matcher.regexIndex === 0 ? (Z2 += R1[0], 1) : (
|
|
28869
|
+
return Q1.matcher.regexIndex === 0 ? (Z2 += R1[0], 1) : (r9 = !0, 0);
|
|
28870
28870
|
}
|
|
28871
28871
|
function C8(R1) {
|
|
28872
28872
|
const P1 = R1[0], r2 = R1.rule, S2 = new t(r2), He = [r2.__beforeBegin, r2["on:begin"]];
|
|
@@ -28893,7 +28893,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
28893
28893
|
R1.forEach((P1) => fe.openNode(P1));
|
|
28894
28894
|
}
|
|
28895
28895
|
let O5 = {};
|
|
28896
|
-
function
|
|
28896
|
+
function t9(R1, P1) {
|
|
28897
28897
|
const r2 = P1 && P1[0];
|
|
28898
28898
|
if (Z2 += R1, r2 == null)
|
|
28899
28899
|
return ve(), 0;
|
|
@@ -28917,7 +28917,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
28917
28917
|
if (P1.type === "illegal" && r2 === "")
|
|
28918
28918
|
return Z2 += `
|
|
28919
28919
|
`, 1;
|
|
28920
|
-
if (
|
|
28920
|
+
if (s9 > 1e5 && s9 > P1.index * 3)
|
|
28921
28921
|
throw new Error("potential infinite loop, way more iterations than matches");
|
|
28922
28922
|
return Z2 += r2, r2.length;
|
|
28923
28923
|
}
|
|
@@ -28926,21 +28926,21 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
28926
28926
|
throw gt(U2.replace("{}", M1)), new Error('Unknown language: "' + M1 + '"');
|
|
28927
28927
|
const m8 = mt(Ge);
|
|
28928
28928
|
let I4 = "", Q1 = N2 || m8;
|
|
28929
|
-
const
|
|
28929
|
+
const i9 = {}, fe = new A1.__emitter(A1);
|
|
28930
28930
|
f8();
|
|
28931
|
-
let Z2 = "", I5 = 0, qt = 0,
|
|
28931
|
+
let Z2 = "", I5 = 0, qt = 0, s9 = 0, r9 = !1;
|
|
28932
28932
|
try {
|
|
28933
28933
|
if (Ge.__emitTokens)
|
|
28934
28934
|
Ge.__emitTokens($1, fe);
|
|
28935
28935
|
else {
|
|
28936
28936
|
for (Q1.matcher.considerAll(); ; ) {
|
|
28937
|
-
|
|
28937
|
+
s9++, r9 ? r9 = !1 : Q1.matcher.considerAll(), Q1.matcher.lastIndex = qt;
|
|
28938
28938
|
const R1 = Q1.matcher.exec($1);
|
|
28939
28939
|
if (!R1) break;
|
|
28940
|
-
const P1 = $1.substring(qt, R1.index), r2 =
|
|
28940
|
+
const P1 = $1.substring(qt, R1.index), r2 = t9(P1, R1);
|
|
28941
28941
|
qt = R1.index + r2;
|
|
28942
28942
|
}
|
|
28943
|
-
|
|
28943
|
+
t9($1.substring(qt));
|
|
28944
28944
|
}
|
|
28945
28945
|
return fe.finalize(), I4 = fe.toHTML(), {
|
|
28946
28946
|
language: M1,
|
|
@@ -29011,7 +29011,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
29011
29011
|
const N2 = $1 && E1[$1] || X1;
|
|
29012
29012
|
M1.classList.add("hljs"), M1.classList.add(`language-${N2}`);
|
|
29013
29013
|
}
|
|
29014
|
-
function
|
|
29014
|
+
function e9(M1) {
|
|
29015
29015
|
let $1 = null;
|
|
29016
29016
|
const X1 = q2(M1);
|
|
29017
29017
|
if (K1(X1)) return;
|
|
@@ -29057,7 +29057,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
29057
29057
|
O4 || window.addEventListener("DOMContentLoaded", M1, !1), O4 = !0;
|
|
29058
29058
|
return;
|
|
29059
29059
|
}
|
|
29060
|
-
document.querySelectorAll(A1.cssSelector).forEach(
|
|
29060
|
+
document.querySelectorAll(A1.cssSelector).forEach(e9);
|
|
29061
29061
|
}
|
|
29062
29062
|
function Js(M1, $1) {
|
|
29063
29063
|
let X1 = null;
|
|
@@ -29117,13 +29117,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
29117
29117
|
});
|
|
29118
29118
|
}
|
|
29119
29119
|
function d8(M1) {
|
|
29120
|
-
return Y("10.7.0", "highlightBlock will be removed entirely in v12.0"), Y("10.7.0", "Please use highlightElement now."),
|
|
29120
|
+
return Y("10.7.0", "highlightBlock will be removed entirely in v12.0"), Y("10.7.0", "Please use highlightElement now."), e9(M1);
|
|
29121
29121
|
}
|
|
29122
29122
|
Object.assign(K, {
|
|
29123
29123
|
highlight: W2,
|
|
29124
29124
|
highlightAuto: z0,
|
|
29125
29125
|
highlightAll: r0,
|
|
29126
|
-
highlightElement:
|
|
29126
|
+
highlightElement: e9,
|
|
29127
29127
|
// TODO: Remove with v12 API
|
|
29128
29128
|
highlightBlock: d8,
|
|
29129
29129
|
configure: l8,
|
|
@@ -29152,8 +29152,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = M1, N2 = $1), X1
|
|
|
29152
29152
|
for (const M1 in Z1)
|
|
29153
29153
|
typeof Z1[M1] == "object" && e(Z1[M1]);
|
|
29154
29154
|
return Object.assign(K, Z1), K;
|
|
29155
|
-
}, M0 =
|
|
29156
|
-
return M0.newInstance = () =>
|
|
29155
|
+
}, M0 = Ji({});
|
|
29156
|
+
return M0.newInstance = () => Ji({}), I8 = M0, M0.HighlightJS = M0, M0.default = M0, I8;
|
|
29157
29157
|
}
|
|
29158
29158
|
var Tz = /* @__PURE__ */ Rz();
|
|
29159
29159
|
const Bz = /* @__PURE__ */ cr(Tz), pc = {}, Az = "hljs-";
|
|
@@ -29841,7 +29841,7 @@ function sN(e, t, i) {
|
|
|
29841
29841
|
return i(g);
|
|
29842
29842
|
}
|
|
29843
29843
|
}
|
|
29844
|
-
const
|
|
29844
|
+
const Ss = {
|
|
29845
29845
|
partial: !0,
|
|
29846
29846
|
tokenize: rN
|
|
29847
29847
|
};
|
|
@@ -30177,7 +30177,7 @@ class LN {
|
|
|
30177
30177
|
const n = i || 0;
|
|
30178
30178
|
this.setCursor(Math.trunc(t));
|
|
30179
30179
|
const l = this.right.splice(this.right.length - n, Number.POSITIVE_INFINITY);
|
|
30180
|
-
return r &&
|
|
30180
|
+
return r && l9(this.left, r), l.reverse();
|
|
30181
30181
|
}
|
|
30182
30182
|
/**
|
|
30183
30183
|
* Remove and return the highest-numbered item in the array, so
|
|
@@ -30212,7 +30212,7 @@ class LN {
|
|
|
30212
30212
|
* Nothing.
|
|
30213
30213
|
*/
|
|
30214
30214
|
pushMany(t) {
|
|
30215
|
-
this.setCursor(Number.POSITIVE_INFINITY),
|
|
30215
|
+
this.setCursor(Number.POSITIVE_INFINITY), l9(this.left, t);
|
|
30216
30216
|
}
|
|
30217
30217
|
/**
|
|
30218
30218
|
* Inserts a single item to the low-numbered side of the array;
|
|
@@ -30236,7 +30236,7 @@ class LN {
|
|
|
30236
30236
|
* Nothing.
|
|
30237
30237
|
*/
|
|
30238
30238
|
unshiftMany(t) {
|
|
30239
|
-
this.setCursor(0),
|
|
30239
|
+
this.setCursor(0), l9(this.right, t.reverse());
|
|
30240
30240
|
}
|
|
30241
30241
|
/**
|
|
30242
30242
|
* Move the cursor to a specific position in the array. Requires
|
|
@@ -30254,14 +30254,14 @@ class LN {
|
|
|
30254
30254
|
if (!(t === this.left.length || t > this.left.length && this.right.length === 0 || t < 0 && this.left.length === 0))
|
|
30255
30255
|
if (t < this.left.length) {
|
|
30256
30256
|
const i = this.left.splice(t, Number.POSITIVE_INFINITY);
|
|
30257
|
-
|
|
30257
|
+
l9(this.right, i.reverse());
|
|
30258
30258
|
} else {
|
|
30259
30259
|
const i = this.right.splice(this.left.length + this.right.length - t, Number.POSITIVE_INFINITY);
|
|
30260
|
-
|
|
30260
|
+
l9(this.left, i.reverse());
|
|
30261
30261
|
}
|
|
30262
30262
|
}
|
|
30263
30263
|
}
|
|
30264
|
-
function
|
|
30264
|
+
function l9(e, t) {
|
|
30265
30265
|
let i = 0;
|
|
30266
30266
|
if (t.length < 1e4)
|
|
30267
30267
|
e.push(...t);
|
|
@@ -30434,7 +30434,7 @@ function SC(e, t, i, r, n, l) {
|
|
|
30434
30434
|
return C === a || C === 92 ? (e.consume(C), d) : d(C);
|
|
30435
30435
|
}
|
|
30436
30436
|
}
|
|
30437
|
-
function
|
|
30437
|
+
function Z9(e, t) {
|
|
30438
30438
|
let i;
|
|
30439
30439
|
return r;
|
|
30440
30440
|
function r(n) {
|
|
@@ -30471,7 +30471,7 @@ function zN(e, t, i) {
|
|
|
30471
30471
|
return n = Xt(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), g === 58 ? (e.enter("definitionMarker"), e.consume(g), e.exit("definitionMarker"), u) : i(g);
|
|
30472
30472
|
}
|
|
30473
30473
|
function u(g) {
|
|
30474
|
-
return T2(g) ?
|
|
30474
|
+
return T2(g) ? Z9(e, h)(g) : h(g);
|
|
30475
30475
|
}
|
|
30476
30476
|
function h(g) {
|
|
30477
30477
|
return HC(
|
|
@@ -30499,7 +30499,7 @@ function zN(e, t, i) {
|
|
|
30499
30499
|
function NN(e, t, i) {
|
|
30500
30500
|
return r;
|
|
30501
30501
|
function r(c) {
|
|
30502
|
-
return T2(c) ?
|
|
30502
|
+
return T2(c) ? Z9(e, n)(c) : i(c);
|
|
30503
30503
|
}
|
|
30504
30504
|
function n(c) {
|
|
30505
30505
|
return SC(e, l, i, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(c);
|
|
@@ -30762,7 +30762,7 @@ function IN(e, t, i) {
|
|
|
30762
30762
|
function PN(e, t, i) {
|
|
30763
30763
|
return r;
|
|
30764
30764
|
function r(n) {
|
|
30765
|
-
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), e.attempt(
|
|
30765
|
+
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), e.attempt(Ss, t, i);
|
|
30766
30766
|
}
|
|
30767
30767
|
}
|
|
30768
30768
|
const $N = {
|
|
@@ -30960,13 +30960,13 @@ function XN(e, t, i) {
|
|
|
30960
30960
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), n;
|
|
30961
30961
|
}
|
|
30962
30962
|
function n(p) {
|
|
30963
|
-
return T2(p) ?
|
|
30963
|
+
return T2(p) ? Z9(e, l)(p) : l(p);
|
|
30964
30964
|
}
|
|
30965
30965
|
function l(p) {
|
|
30966
30966
|
return p === 41 ? d(p) : HC(e, a, c, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
|
|
30967
30967
|
}
|
|
30968
30968
|
function a(p) {
|
|
30969
|
-
return T2(p) ?
|
|
30969
|
+
return T2(p) ? Z9(e, u)(p) : d(p);
|
|
30970
30970
|
}
|
|
30971
30971
|
function c(p) {
|
|
30972
30972
|
return i(p);
|
|
@@ -30975,7 +30975,7 @@ function XN(e, t, i) {
|
|
|
30975
30975
|
return p === 34 || p === 39 || p === 40 ? SC(e, h, i, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : d(p);
|
|
30976
30976
|
}
|
|
30977
30977
|
function h(p) {
|
|
30978
|
-
return T2(p) ?
|
|
30978
|
+
return T2(p) ? Z9(e, d)(p) : d(p);
|
|
30979
30979
|
}
|
|
30980
30980
|
function d(p) {
|
|
30981
30981
|
return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : i(p);
|
|
@@ -31101,7 +31101,7 @@ function oZ(e, t, i) {
|
|
|
31101
31101
|
}
|
|
31102
31102
|
function h(g) {
|
|
31103
31103
|
return e.enter("listItemMarker"), e.consume(g), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || g, e.check(
|
|
31104
|
-
|
|
31104
|
+
Ss,
|
|
31105
31105
|
// Can’t be empty when interrupting.
|
|
31106
31106
|
r.interrupt ? i : d,
|
|
31107
31107
|
e.attempt(lZ, C, p)
|
|
@@ -31119,7 +31119,7 @@ function oZ(e, t, i) {
|
|
|
31119
31119
|
}
|
|
31120
31120
|
function cZ(e, t, i) {
|
|
31121
31121
|
const r = this;
|
|
31122
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
31122
|
+
return r.containerState._closeFlow = void 0, e.check(Ss, n, l);
|
|
31123
31123
|
function n(c) {
|
|
31124
31124
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, y2(e, t, "listItemIndent", r.containerState.size + 1)(c);
|
|
31125
31125
|
}
|
|
@@ -31207,7 +31207,7 @@ const gZ = {
|
|
|
31207
31207
|
function fZ(e) {
|
|
31208
31208
|
const t = this, i = e.attempt(
|
|
31209
31209
|
// Try to parse a blank line.
|
|
31210
|
-
|
|
31210
|
+
Ss,
|
|
31211
31211
|
r,
|
|
31212
31212
|
// Try to parse initial flow (essentially, only code).
|
|
31213
31213
|
e.attempt(this.parser.constructs.flowInitial, n, y2(e, e.attempt(this.parser.constructs.flow, n, e.attempt(yN, n)), "linePrefix"))
|
|
@@ -31675,7 +31675,7 @@ function FZ(e, t, i) {
|
|
|
31675
31675
|
}
|
|
31676
31676
|
return zl(i) || e;
|
|
31677
31677
|
}
|
|
31678
|
-
function
|
|
31678
|
+
function E9(e) {
|
|
31679
31679
|
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Vc(e.position) : "start" in e || "end" in e ? Vc(e) : "line" in e || "column" in e ? s6(e) : "";
|
|
31680
31680
|
}
|
|
31681
31681
|
function s6(e) {
|
|
@@ -31921,7 +31921,7 @@ function OZ(e) {
|
|
|
31921
31921
|
const N1 = this.stack.pop(), _1 = this.tokenStack.pop();
|
|
31922
31922
|
if (_1)
|
|
31923
31923
|
_1[0].type !== Y.type && (l1 ? l1.call(this, Y, _1[0]) : (_1[1] || Mc).call(this, Y, _1[0]));
|
|
31924
|
-
else throw new Error("Cannot close `" + Y.type + "` (" +
|
|
31924
|
+
else throw new Error("Cannot close `" + Y.type + "` (" + E9({
|
|
31925
31925
|
start: Y.start,
|
|
31926
31926
|
end: Y.end
|
|
31927
31927
|
}) + "): it’s not open");
|
|
@@ -32245,13 +32245,13 @@ function IZ(e, t) {
|
|
|
32245
32245
|
}
|
|
32246
32246
|
}
|
|
32247
32247
|
function Mc(e, t) {
|
|
32248
|
-
throw e ? new Error("Cannot close `" + e.type + "` (" +
|
|
32248
|
+
throw e ? new Error("Cannot close `" + e.type + "` (" + E9({
|
|
32249
32249
|
start: e.start,
|
|
32250
32250
|
end: e.end
|
|
32251
|
-
}) + "): a different token (`" + t.type + "`, " +
|
|
32251
|
+
}) + "): a different token (`" + t.type + "`, " + E9({
|
|
32252
32252
|
start: t.start,
|
|
32253
32253
|
end: t.end
|
|
32254
|
-
}) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " +
|
|
32254
|
+
}) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " + E9({
|
|
32255
32255
|
start: t.start,
|
|
32256
32256
|
end: t.end
|
|
32257
32257
|
}) + ") is still open");
|
|
@@ -32639,7 +32639,7 @@ const pE = {
|
|
|
32639
32639
|
};
|
|
32640
32640
|
function V3() {
|
|
32641
32641
|
}
|
|
32642
|
-
const BC = -1, mr = 0,
|
|
32642
|
+
const BC = -1, mr = 0, _9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, kC = 8, Zc = typeof self == "object" ? self : globalThis, CE = (e, t) => {
|
|
32643
32643
|
const i = (n, l) => (e.set(l, n), n), r = (n) => {
|
|
32644
32644
|
if (e.has(n))
|
|
32645
32645
|
return e.get(n);
|
|
@@ -32648,7 +32648,7 @@ const BC = -1, mr = 0, E9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, k
|
|
|
32648
32648
|
case mr:
|
|
32649
32649
|
case BC:
|
|
32650
32650
|
return i(a, n);
|
|
32651
|
-
case
|
|
32651
|
+
case _9: {
|
|
32652
32652
|
const c = i([], n);
|
|
32653
32653
|
for (const u of a)
|
|
32654
32654
|
c.push(r(u));
|
|
@@ -32696,14 +32696,14 @@ const BC = -1, mr = 0, E9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, k
|
|
|
32696
32696
|
return i(new Zc[l](a), n);
|
|
32697
32697
|
};
|
|
32698
32698
|
return r;
|
|
32699
|
-
}, Ec = (e) => CE(/* @__PURE__ */ new Map(), e)(0), W5 = "", { toString: gE } = {}, { keys: fE } = Object,
|
|
32699
|
+
}, Ec = (e) => CE(/* @__PURE__ */ new Map(), e)(0), W5 = "", { toString: gE } = {}, { keys: fE } = Object, a9 = (e) => {
|
|
32700
32700
|
const t = typeof e;
|
|
32701
32701
|
if (t !== "object" || !e)
|
|
32702
32702
|
return [mr, t];
|
|
32703
32703
|
const i = gE.call(e).slice(8, -1);
|
|
32704
32704
|
switch (i) {
|
|
32705
32705
|
case "Array":
|
|
32706
|
-
return [
|
|
32706
|
+
return [_9, W5];
|
|
32707
32707
|
case "Object":
|
|
32708
32708
|
return [N7, W5];
|
|
32709
32709
|
case "Date":
|
|
@@ -32715,9 +32715,9 @@ const BC = -1, mr = 0, E9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, k
|
|
|
32715
32715
|
case "Set":
|
|
32716
32716
|
return [Tl, W5];
|
|
32717
32717
|
case "DataView":
|
|
32718
|
-
return [
|
|
32718
|
+
return [_9, i];
|
|
32719
32719
|
}
|
|
32720
|
-
return i.includes("Array") ? [
|
|
32720
|
+
return i.includes("Array") ? [_9, i] : i.includes("Error") ? [AC, i] : [N7, i];
|
|
32721
32721
|
}, S3 = ([e, t]) => e === mr && (t === "function" || t === "symbol"), mE = (e, t, i, r) => {
|
|
32722
32722
|
const n = (a, c) => {
|
|
32723
32723
|
const u = r.push(a) - 1;
|
|
@@ -32725,7 +32725,7 @@ const BC = -1, mr = 0, E9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, k
|
|
|
32725
32725
|
}, l = (a) => {
|
|
32726
32726
|
if (i.has(a))
|
|
32727
32727
|
return i.get(a);
|
|
32728
|
-
let [c, u] =
|
|
32728
|
+
let [c, u] = a9(a);
|
|
32729
32729
|
switch (c) {
|
|
32730
32730
|
case mr: {
|
|
32731
32731
|
let d = a;
|
|
@@ -32744,7 +32744,7 @@ const BC = -1, mr = 0, E9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, k
|
|
|
32744
32744
|
}
|
|
32745
32745
|
return n([c, d], a);
|
|
32746
32746
|
}
|
|
32747
|
-
case
|
|
32747
|
+
case _9: {
|
|
32748
32748
|
if (u) {
|
|
32749
32749
|
let C = a;
|
|
32750
32750
|
return u === "DataView" ? C = new Uint8Array(a.buffer) : u === "ArrayBuffer" && (C = new Uint8Array(a)), n([u, [...C]], a);
|
|
@@ -32768,7 +32768,7 @@ const BC = -1, mr = 0, E9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, k
|
|
|
32768
32768
|
return l(a.toJSON());
|
|
32769
32769
|
const d = [], p = n([c, d], a);
|
|
32770
32770
|
for (const C of fE(a))
|
|
32771
|
-
(e || !S3(
|
|
32771
|
+
(e || !S3(a9(a[C]))) && d.push([l(C), l(a[C])]);
|
|
32772
32772
|
return p;
|
|
32773
32773
|
}
|
|
32774
32774
|
case El:
|
|
@@ -32780,13 +32780,13 @@ const BC = -1, mr = 0, E9 = 1, N7 = 2, El = 3, _l = 4, Rl = 5, Tl = 6, AC = 7, k
|
|
|
32780
32780
|
case Rl: {
|
|
32781
32781
|
const d = [], p = n([c, d], a);
|
|
32782
32782
|
for (const [C, g] of a)
|
|
32783
|
-
(e || !(S3(
|
|
32783
|
+
(e || !(S3(a9(C)) || S3(a9(g)))) && d.push([l(C), l(g)]);
|
|
32784
32784
|
return p;
|
|
32785
32785
|
}
|
|
32786
32786
|
case Tl: {
|
|
32787
32787
|
const d = [], p = n([c, d], a);
|
|
32788
32788
|
for (const C of a)
|
|
32789
|
-
(e || !S3(
|
|
32789
|
+
(e || !S3(a9(C))) && d.push(l(C));
|
|
32790
32790
|
return p;
|
|
32791
32791
|
}
|
|
32792
32792
|
}
|
|
@@ -33544,7 +33544,7 @@ function XE(e, t, i, r) {
|
|
|
33544
33544
|
}
|
|
33545
33545
|
const QE = (
|
|
33546
33546
|
/** @type {(node?: unknown) => node is Exclude<PhrasingContent, Html>} */
|
|
33547
|
-
|
|
33547
|
+
Vs([
|
|
33548
33548
|
"break",
|
|
33549
33549
|
"delete",
|
|
33550
33550
|
"emphasis",
|
|
@@ -34018,7 +34018,7 @@ function XC(e) {
|
|
|
34018
34018
|
});
|
|
34019
34019
|
}
|
|
34020
34020
|
}
|
|
34021
|
-
let
|
|
34021
|
+
let Ms = class {
|
|
34022
34022
|
/**
|
|
34023
34023
|
* @param {SchemaType['property']} property
|
|
34024
34024
|
* Property.
|
|
@@ -34033,16 +34033,16 @@ let Ss = class {
|
|
|
34033
34033
|
this.normal = i, this.property = t, r && (this.space = r);
|
|
34034
34034
|
}
|
|
34035
34035
|
};
|
|
34036
|
-
|
|
34037
|
-
|
|
34038
|
-
|
|
34036
|
+
Ms.prototype.normal = {};
|
|
34037
|
+
Ms.prototype.property = {};
|
|
34038
|
+
Ms.prototype.space = void 0;
|
|
34039
34039
|
function QC(e, t) {
|
|
34040
34040
|
const i = {}, r = {};
|
|
34041
34041
|
for (const n of e)
|
|
34042
34042
|
Object.assign(i, n.property), Object.assign(r, n.normal);
|
|
34043
|
-
return new
|
|
34043
|
+
return new Ms(i, r, t);
|
|
34044
34044
|
}
|
|
34045
|
-
function
|
|
34045
|
+
function ss(e) {
|
|
34046
34046
|
return e.toLowerCase();
|
|
34047
34047
|
}
|
|
34048
34048
|
let dt = class {
|
|
@@ -34124,9 +34124,9 @@ function ki(e) {
|
|
|
34124
34124
|
n,
|
|
34125
34125
|
e.space
|
|
34126
34126
|
);
|
|
34127
|
-
e.mustUseProperty && e.mustUseProperty.includes(r) && (l.mustUseProperty = !0), t[r] = l, i[
|
|
34127
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (l.mustUseProperty = !0), t[r] = l, i[ss(r)] = r, i[ss(l.attribute)] = r;
|
|
34128
34128
|
}
|
|
34129
|
-
return new
|
|
34129
|
+
return new Ms(t, i, e.space);
|
|
34130
34130
|
}
|
|
34131
34131
|
const JC = ki({
|
|
34132
34132
|
properties: {
|
|
@@ -35137,7 +35137,7 @@ const M_ = ki({
|
|
|
35137
35137
|
}
|
|
35138
35138
|
}), z_ = /[A-Z]/g, Ic = /-[a-z]/g, N_ = /^data[-\w.:]+$/i;
|
|
35139
35139
|
function Dl(e, t) {
|
|
35140
|
-
const i =
|
|
35140
|
+
const i = ss(t);
|
|
35141
35141
|
let r = t, n = dt;
|
|
35142
35142
|
if (i in e.normal)
|
|
35143
35143
|
return e.property[e.normal[i]];
|
|
@@ -35162,7 +35162,7 @@ function Z_(e) {
|
|
|
35162
35162
|
function E_(e) {
|
|
35163
35163
|
return e.charAt(1).toUpperCase();
|
|
35164
35164
|
}
|
|
35165
|
-
const Lr = QC([JC, M_, ig, sg, rg], "html"),
|
|
35165
|
+
const Lr = QC([JC, M_, ig, sg, rg], "html"), bs = QC([JC, b_, ig, sg, rg], "svg");
|
|
35166
35166
|
function Pc(e) {
|
|
35167
35167
|
const t = [], i = String(e || "");
|
|
35168
35168
|
let r = i.indexOf(","), n = 0, l = !1;
|
|
@@ -35290,7 +35290,7 @@ function qc(e, t, i) {
|
|
|
35290
35290
|
if (typeof i == "string") {
|
|
35291
35291
|
if (e.number && i && !Number.isNaN(Number(i)))
|
|
35292
35292
|
return Number(i);
|
|
35293
|
-
if ((e.boolean || e.overloadedBoolean) && (i === "" ||
|
|
35293
|
+
if ((e.boolean || e.overloadedBoolean) && (i === "" || ss(i) === ss(t)))
|
|
35294
35294
|
return !0;
|
|
35295
35295
|
}
|
|
35296
35296
|
return i;
|
|
@@ -35347,7 +35347,7 @@ const k_ = [
|
|
|
35347
35347
|
"solidColor",
|
|
35348
35348
|
"textArea",
|
|
35349
35349
|
"textPath"
|
|
35350
|
-
], F_ = ag(Lr, "div"), D_ = ag(
|
|
35350
|
+
], F_ = ag(Lr, "div"), D_ = ag(bs, "g", k_);
|
|
35351
35351
|
function O_(e) {
|
|
35352
35352
|
const t = String(e), i = [];
|
|
35353
35353
|
return { toOffset: n, toPoint: r };
|
|
@@ -35401,7 +35401,7 @@ function P_(e, t) {
|
|
|
35401
35401
|
{
|
|
35402
35402
|
file: i.file || void 0,
|
|
35403
35403
|
location: !1,
|
|
35404
|
-
schema: i.space === "svg" ?
|
|
35404
|
+
schema: i.space === "svg" ? bs : Lr,
|
|
35405
35405
|
verbose: i.verbose || !1
|
|
35406
35406
|
},
|
|
35407
35407
|
e
|
|
@@ -35470,7 +35470,7 @@ function cg(e, t) {
|
|
|
35470
35470
|
}
|
|
35471
35471
|
function $_(e, t) {
|
|
35472
35472
|
const i = e.schema;
|
|
35473
|
-
e.schema = t.namespaceURI === s5.svg ?
|
|
35473
|
+
e.schema = t.namespaceURI === s5.svg ? bs : Lr;
|
|
35474
35474
|
let r = -1;
|
|
35475
35475
|
const n = {};
|
|
35476
35476
|
for (; ++r < t.attrs.length; ) {
|
|
@@ -35530,7 +35530,7 @@ function ni(e) {
|
|
|
35530
35530
|
function jc(e) {
|
|
35531
35531
|
return e.line && e.column ? e : void 0;
|
|
35532
35532
|
}
|
|
35533
|
-
let
|
|
35533
|
+
let zs = class {
|
|
35534
35534
|
/**
|
|
35535
35535
|
* @constructor
|
|
35536
35536
|
* @param {Properties} property
|
|
@@ -35541,15 +35541,15 @@ let bs = class {
|
|
|
35541
35541
|
this.property = t, this.normal = i, r && (this.space = r);
|
|
35542
35542
|
}
|
|
35543
35543
|
};
|
|
35544
|
-
|
|
35545
|
-
|
|
35546
|
-
|
|
35544
|
+
zs.prototype.property = {};
|
|
35545
|
+
zs.prototype.normal = {};
|
|
35546
|
+
zs.prototype.space = null;
|
|
35547
35547
|
function ug(e, t) {
|
|
35548
35548
|
const i = {}, r = {};
|
|
35549
35549
|
let n = -1;
|
|
35550
35550
|
for (; ++n < e.length; )
|
|
35551
35551
|
Object.assign(i, e[n].property), Object.assign(r, e[n].normal);
|
|
35552
|
-
return new
|
|
35552
|
+
return new zs(i, r, t);
|
|
35553
35553
|
}
|
|
35554
35554
|
function c6(e) {
|
|
35555
35555
|
return e.toLowerCase();
|
|
@@ -35624,7 +35624,7 @@ function Fi(e) {
|
|
|
35624
35624
|
);
|
|
35625
35625
|
e.mustUseProperty && e.mustUseProperty.includes(r) && (l.mustUseProperty = !0), t[r] = l, i[c6(r)] = r, i[c6(l.attribute)] = r;
|
|
35626
35626
|
}
|
|
35627
|
-
return new
|
|
35627
|
+
return new zs(t, i, e.space);
|
|
35628
35628
|
}
|
|
35629
35629
|
const dg = Fi({
|
|
35630
35630
|
space: "xlink",
|
|
@@ -37479,14 +37479,14 @@ const re = {
|
|
|
37479
37479
|
function bR(e) {
|
|
37480
37480
|
return e >= D.DIGIT_0 && e <= D.DIGIT_9;
|
|
37481
37481
|
}
|
|
37482
|
-
function
|
|
37482
|
+
function y9(e) {
|
|
37483
37483
|
return e >= D.LATIN_CAPITAL_A && e <= D.LATIN_CAPITAL_Z;
|
|
37484
37484
|
}
|
|
37485
37485
|
function zR(e) {
|
|
37486
37486
|
return e >= D.LATIN_SMALL_A && e <= D.LATIN_SMALL_Z;
|
|
37487
37487
|
}
|
|
37488
37488
|
function h4(e) {
|
|
37489
|
-
return zR(e) ||
|
|
37489
|
+
return zR(e) || y9(e);
|
|
37490
37490
|
}
|
|
37491
37491
|
function Yc(e) {
|
|
37492
37492
|
return h4(e) || bR(e);
|
|
@@ -38198,7 +38198,7 @@ class ZR {
|
|
|
38198
38198
|
break;
|
|
38199
38199
|
}
|
|
38200
38200
|
default:
|
|
38201
|
-
i.tagName += String.fromCodePoint(
|
|
38201
|
+
i.tagName += String.fromCodePoint(y9(t) ? M3(t) : t);
|
|
38202
38202
|
}
|
|
38203
38203
|
}
|
|
38204
38204
|
// RCDATA less-than sign state
|
|
@@ -38530,7 +38530,7 @@ class ZR {
|
|
|
38530
38530
|
break;
|
|
38531
38531
|
}
|
|
38532
38532
|
default:
|
|
38533
|
-
this.currentAttr.name += String.fromCodePoint(
|
|
38533
|
+
this.currentAttr.name += String.fromCodePoint(y9(t) ? M3(t) : t);
|
|
38534
38534
|
}
|
|
38535
38535
|
}
|
|
38536
38536
|
// After attribute name state
|
|
@@ -38931,7 +38931,7 @@ class ZR {
|
|
|
38931
38931
|
// Before DOCTYPE name state
|
|
38932
38932
|
//------------------------------------------------------------------
|
|
38933
38933
|
_stateBeforeDoctypeName(t) {
|
|
38934
|
-
if (
|
|
38934
|
+
if (y9(t))
|
|
38935
38935
|
this._createDoctypeToken(String.fromCharCode(M3(t))), this.state = P.DOCTYPE_NAME;
|
|
38936
38936
|
else
|
|
38937
38937
|
switch (t) {
|
|
@@ -38985,7 +38985,7 @@ class ZR {
|
|
|
38985
38985
|
break;
|
|
38986
38986
|
}
|
|
38987
38987
|
default:
|
|
38988
|
-
i.name += String.fromCodePoint(
|
|
38988
|
+
i.name += String.fromCodePoint(y9(t) ? M3(t) : t);
|
|
38989
38989
|
}
|
|
38990
38990
|
}
|
|
38991
38991
|
// After DOCTYPE name state
|
|
@@ -40584,27 +40584,27 @@ let nu = class {
|
|
|
40584
40584
|
}
|
|
40585
40585
|
switch (this.insertionMode) {
|
|
40586
40586
|
case G.INITIAL: {
|
|
40587
|
-
|
|
40587
|
+
o9(this, t);
|
|
40588
40588
|
break;
|
|
40589
40589
|
}
|
|
40590
40590
|
case G.BEFORE_HTML: {
|
|
40591
|
-
|
|
40591
|
+
R9(this, t);
|
|
40592
40592
|
break;
|
|
40593
40593
|
}
|
|
40594
40594
|
case G.BEFORE_HEAD: {
|
|
40595
|
-
|
|
40595
|
+
T9(this, t);
|
|
40596
40596
|
break;
|
|
40597
40597
|
}
|
|
40598
40598
|
case G.IN_HEAD: {
|
|
40599
|
-
|
|
40599
|
+
B9(this, t);
|
|
40600
40600
|
break;
|
|
40601
40601
|
}
|
|
40602
40602
|
case G.IN_HEAD_NO_SCRIPT: {
|
|
40603
|
-
|
|
40603
|
+
A9(this, t);
|
|
40604
40604
|
break;
|
|
40605
40605
|
}
|
|
40606
40606
|
case G.AFTER_HEAD: {
|
|
40607
|
-
|
|
40607
|
+
k9(this, t);
|
|
40608
40608
|
break;
|
|
40609
40609
|
}
|
|
40610
40610
|
case G.IN_BODY:
|
|
@@ -40652,27 +40652,27 @@ let nu = class {
|
|
|
40652
40652
|
}
|
|
40653
40653
|
switch (this.insertionMode) {
|
|
40654
40654
|
case G.INITIAL: {
|
|
40655
|
-
|
|
40655
|
+
o9(this, t);
|
|
40656
40656
|
break;
|
|
40657
40657
|
}
|
|
40658
40658
|
case G.BEFORE_HTML: {
|
|
40659
|
-
|
|
40659
|
+
R9(this, t);
|
|
40660
40660
|
break;
|
|
40661
40661
|
}
|
|
40662
40662
|
case G.BEFORE_HEAD: {
|
|
40663
|
-
|
|
40663
|
+
T9(this, t);
|
|
40664
40664
|
break;
|
|
40665
40665
|
}
|
|
40666
40666
|
case G.IN_HEAD: {
|
|
40667
|
-
|
|
40667
|
+
B9(this, t);
|
|
40668
40668
|
break;
|
|
40669
40669
|
}
|
|
40670
40670
|
case G.IN_HEAD_NO_SCRIPT: {
|
|
40671
|
-
|
|
40671
|
+
A9(this, t);
|
|
40672
40672
|
break;
|
|
40673
40673
|
}
|
|
40674
40674
|
case G.AFTER_HEAD: {
|
|
40675
|
-
|
|
40675
|
+
k9(this, t);
|
|
40676
40676
|
break;
|
|
40677
40677
|
}
|
|
40678
40678
|
case G.TEXT: {
|
|
@@ -40728,7 +40728,7 @@ let nu = class {
|
|
|
40728
40728
|
break;
|
|
40729
40729
|
}
|
|
40730
40730
|
case G.IN_TABLE_TEXT: {
|
|
40731
|
-
|
|
40731
|
+
c9(this, t);
|
|
40732
40732
|
break;
|
|
40733
40733
|
}
|
|
40734
40734
|
case G.AFTER_BODY: {
|
|
@@ -40757,7 +40757,7 @@ let nu = class {
|
|
|
40757
40757
|
break;
|
|
40758
40758
|
}
|
|
40759
40759
|
case G.IN_TABLE_TEXT: {
|
|
40760
|
-
|
|
40760
|
+
c9(this, t);
|
|
40761
40761
|
break;
|
|
40762
40762
|
}
|
|
40763
40763
|
}
|
|
@@ -40784,7 +40784,7 @@ let nu = class {
|
|
|
40784
40784
|
_startTagOutsideForeignContent(t) {
|
|
40785
40785
|
switch (this.insertionMode) {
|
|
40786
40786
|
case G.INITIAL: {
|
|
40787
|
-
|
|
40787
|
+
o9(this, t);
|
|
40788
40788
|
break;
|
|
40789
40789
|
}
|
|
40790
40790
|
case G.BEFORE_HTML: {
|
|
@@ -40816,7 +40816,7 @@ let nu = class {
|
|
|
40816
40816
|
break;
|
|
40817
40817
|
}
|
|
40818
40818
|
case G.IN_TABLE_TEXT: {
|
|
40819
|
-
|
|
40819
|
+
c9(this, t);
|
|
40820
40820
|
break;
|
|
40821
40821
|
}
|
|
40822
40822
|
case G.IN_CAPTION: {
|
|
@@ -40881,7 +40881,7 @@ let nu = class {
|
|
|
40881
40881
|
_endTagOutsideForeignContent(t) {
|
|
40882
40882
|
switch (this.insertionMode) {
|
|
40883
40883
|
case G.INITIAL: {
|
|
40884
|
-
|
|
40884
|
+
o9(this, t);
|
|
40885
40885
|
break;
|
|
40886
40886
|
}
|
|
40887
40887
|
case G.BEFORE_HTML: {
|
|
@@ -40913,11 +40913,11 @@ let nu = class {
|
|
|
40913
40913
|
break;
|
|
40914
40914
|
}
|
|
40915
40915
|
case G.IN_TABLE: {
|
|
40916
|
-
|
|
40916
|
+
rs(this, t);
|
|
40917
40917
|
break;
|
|
40918
40918
|
}
|
|
40919
40919
|
case G.IN_TABLE_TEXT: {
|
|
40920
|
-
|
|
40920
|
+
c9(this, t);
|
|
40921
40921
|
break;
|
|
40922
40922
|
}
|
|
40923
40923
|
case G.IN_CAPTION: {
|
|
@@ -40974,27 +40974,27 @@ let nu = class {
|
|
|
40974
40974
|
onEof(t) {
|
|
40975
40975
|
switch (this.insertionMode) {
|
|
40976
40976
|
case G.INITIAL: {
|
|
40977
|
-
|
|
40977
|
+
o9(this, t);
|
|
40978
40978
|
break;
|
|
40979
40979
|
}
|
|
40980
40980
|
case G.BEFORE_HTML: {
|
|
40981
|
-
|
|
40981
|
+
R9(this, t);
|
|
40982
40982
|
break;
|
|
40983
40983
|
}
|
|
40984
40984
|
case G.BEFORE_HEAD: {
|
|
40985
|
-
|
|
40985
|
+
T9(this, t);
|
|
40986
40986
|
break;
|
|
40987
40987
|
}
|
|
40988
40988
|
case G.IN_HEAD: {
|
|
40989
|
-
|
|
40989
|
+
B9(this, t);
|
|
40990
40990
|
break;
|
|
40991
40991
|
}
|
|
40992
40992
|
case G.IN_HEAD_NO_SCRIPT: {
|
|
40993
|
-
|
|
40993
|
+
A9(this, t);
|
|
40994
40994
|
break;
|
|
40995
40995
|
}
|
|
40996
40996
|
case G.AFTER_HEAD: {
|
|
40997
|
-
|
|
40997
|
+
k9(this, t);
|
|
40998
40998
|
break;
|
|
40999
40999
|
}
|
|
41000
41000
|
case G.IN_BODY:
|
|
@@ -41014,7 +41014,7 @@ let nu = class {
|
|
|
41014
41014
|
break;
|
|
41015
41015
|
}
|
|
41016
41016
|
case G.IN_TABLE_TEXT: {
|
|
41017
|
-
|
|
41017
|
+
c9(this, t);
|
|
41018
41018
|
break;
|
|
41019
41019
|
}
|
|
41020
41020
|
case G.IN_TEMPLATE: {
|
|
@@ -41159,17 +41159,17 @@ function gT(e, t) {
|
|
|
41159
41159
|
const i = t.forceQuirks ? Tt.QUIRKS : qR(t);
|
|
41160
41160
|
UR(t) || e._err(t, a1.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, i), e.insertionMode = G.BEFORE_HTML;
|
|
41161
41161
|
}
|
|
41162
|
-
function
|
|
41162
|
+
function o9(e, t) {
|
|
41163
41163
|
e._err(t, a1.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, Tt.QUIRKS), e.insertionMode = G.BEFORE_HTML, e._processToken(t);
|
|
41164
41164
|
}
|
|
41165
41165
|
function fT(e, t) {
|
|
41166
|
-
t.tagID === x.HTML ? (e._insertElement(t, f1.HTML), e.insertionMode = G.BEFORE_HEAD) :
|
|
41166
|
+
t.tagID === x.HTML ? (e._insertElement(t, f1.HTML), e.insertionMode = G.BEFORE_HEAD) : R9(e, t);
|
|
41167
41167
|
}
|
|
41168
41168
|
function mT(e, t) {
|
|
41169
41169
|
const i = t.tagID;
|
|
41170
|
-
(i === x.HTML || i === x.HEAD || i === x.BODY || i === x.BR) &&
|
|
41170
|
+
(i === x.HTML || i === x.HEAD || i === x.BODY || i === x.BR) && R9(e, t);
|
|
41171
41171
|
}
|
|
41172
|
-
function
|
|
41172
|
+
function R9(e, t) {
|
|
41173
41173
|
e._insertFakeRootElement(), e.insertionMode = G.BEFORE_HEAD, e._processToken(t);
|
|
41174
41174
|
}
|
|
41175
41175
|
function wT(e, t) {
|
|
@@ -41183,14 +41183,14 @@ function wT(e, t) {
|
|
|
41183
41183
|
break;
|
|
41184
41184
|
}
|
|
41185
41185
|
default:
|
|
41186
|
-
|
|
41186
|
+
T9(e, t);
|
|
41187
41187
|
}
|
|
41188
41188
|
}
|
|
41189
41189
|
function LT(e, t) {
|
|
41190
41190
|
const i = t.tagID;
|
|
41191
|
-
i === x.HEAD || i === x.BODY || i === x.HTML || i === x.BR ?
|
|
41191
|
+
i === x.HEAD || i === x.BODY || i === x.HTML || i === x.BR ? T9(e, t) : e._err(t, a1.endTagWithoutMatchingOpenElement);
|
|
41192
41192
|
}
|
|
41193
|
-
function
|
|
41193
|
+
function T9(e, t) {
|
|
41194
41194
|
e._insertFakeElement(i1.HEAD, x.HEAD), e.headElement = e.openElements.current, e.insertionMode = G.IN_HEAD, e._processToken(t);
|
|
41195
41195
|
}
|
|
41196
41196
|
function e0(e, t) {
|
|
@@ -41233,7 +41233,7 @@ function e0(e, t) {
|
|
|
41233
41233
|
break;
|
|
41234
41234
|
}
|
|
41235
41235
|
default:
|
|
41236
|
-
|
|
41236
|
+
B9(e, t);
|
|
41237
41237
|
}
|
|
41238
41238
|
}
|
|
41239
41239
|
function xT(e, t) {
|
|
@@ -41245,7 +41245,7 @@ function xT(e, t) {
|
|
|
41245
41245
|
case x.BODY:
|
|
41246
41246
|
case x.BR:
|
|
41247
41247
|
case x.HTML: {
|
|
41248
|
-
|
|
41248
|
+
B9(e, t);
|
|
41249
41249
|
break;
|
|
41250
41250
|
}
|
|
41251
41251
|
case x.TEMPLATE: {
|
|
@@ -41259,7 +41259,7 @@ function xT(e, t) {
|
|
|
41259
41259
|
function R5(e, t) {
|
|
41260
41260
|
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== x.TEMPLATE && e._err(t, a1.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(x.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, a1.endTagWithoutMatchingOpenElement);
|
|
41261
41261
|
}
|
|
41262
|
-
function
|
|
41262
|
+
function B9(e, t) {
|
|
41263
41263
|
e.openElements.pop(), e.insertionMode = G.AFTER_HEAD, e._processToken(t);
|
|
41264
41264
|
}
|
|
41265
41265
|
function yT(e, t) {
|
|
@@ -41283,7 +41283,7 @@ function yT(e, t) {
|
|
|
41283
41283
|
break;
|
|
41284
41284
|
}
|
|
41285
41285
|
default:
|
|
41286
|
-
|
|
41286
|
+
A9(e, t);
|
|
41287
41287
|
}
|
|
41288
41288
|
}
|
|
41289
41289
|
function vT(e, t) {
|
|
@@ -41293,14 +41293,14 @@ function vT(e, t) {
|
|
|
41293
41293
|
break;
|
|
41294
41294
|
}
|
|
41295
41295
|
case x.BR: {
|
|
41296
|
-
|
|
41296
|
+
A9(e, t);
|
|
41297
41297
|
break;
|
|
41298
41298
|
}
|
|
41299
41299
|
default:
|
|
41300
41300
|
e._err(t, a1.endTagWithoutMatchingOpenElement);
|
|
41301
41301
|
}
|
|
41302
41302
|
}
|
|
41303
|
-
function
|
|
41303
|
+
function A9(e, t) {
|
|
41304
41304
|
const i = t.type === u2.EOF ? a1.openElementsLeftAfterEof : a1.disallowedContentInNoscriptInHead;
|
|
41305
41305
|
e._err(t, i), e.openElements.pop(), e.insertionMode = G.IN_HEAD, e._processToken(t);
|
|
41306
41306
|
}
|
|
@@ -41336,7 +41336,7 @@ function HT(e, t) {
|
|
|
41336
41336
|
break;
|
|
41337
41337
|
}
|
|
41338
41338
|
default:
|
|
41339
|
-
|
|
41339
|
+
k9(e, t);
|
|
41340
41340
|
}
|
|
41341
41341
|
}
|
|
41342
41342
|
function VT(e, t) {
|
|
@@ -41344,7 +41344,7 @@ function VT(e, t) {
|
|
|
41344
41344
|
case x.BODY:
|
|
41345
41345
|
case x.HTML:
|
|
41346
41346
|
case x.BR: {
|
|
41347
|
-
|
|
41347
|
+
k9(e, t);
|
|
41348
41348
|
break;
|
|
41349
41349
|
}
|
|
41350
41350
|
case x.TEMPLATE: {
|
|
@@ -41355,7 +41355,7 @@ function VT(e, t) {
|
|
|
41355
41355
|
e._err(t, a1.endTagWithoutMatchingOpenElement);
|
|
41356
41356
|
}
|
|
41357
41357
|
}
|
|
41358
|
-
function
|
|
41358
|
+
function k9(e, t) {
|
|
41359
41359
|
e._insertFakeElement(i1.BODY, x.BODY), e.insertionMode = G.IN_BODY, xr(e, t);
|
|
41360
41360
|
}
|
|
41361
41361
|
function xr(e, t) {
|
|
@@ -41887,7 +41887,7 @@ function j8(e, t) {
|
|
|
41887
41887
|
}
|
|
41888
41888
|
}
|
|
41889
41889
|
else
|
|
41890
|
-
|
|
41890
|
+
Ns(e, t);
|
|
41891
41891
|
}
|
|
41892
41892
|
function hB(e, t) {
|
|
41893
41893
|
e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, f1.HTML), e.insertionMode = G.IN_CAPTION;
|
|
@@ -41908,7 +41908,7 @@ function fB(e, t) {
|
|
|
41908
41908
|
e.openElements.hasInTableScope(x.TABLE) && (e.openElements.popUntilTagNamePopped(x.TABLE), e._resetInsertionMode(), e._processStartTag(t));
|
|
41909
41909
|
}
|
|
41910
41910
|
function mB(e, t) {
|
|
41911
|
-
Ag(t) ? e._appendElement(t, f1.HTML) :
|
|
41911
|
+
Ag(t) ? e._appendElement(t, f1.HTML) : Ns(e, t), t.ackSelfClosing = !0;
|
|
41912
41912
|
}
|
|
41913
41913
|
function wB(e, t) {
|
|
41914
41914
|
!e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, f1.HTML), e.formElement = e.openElements.current, e.openElements.pop());
|
|
@@ -41958,10 +41958,10 @@ function Vi(e, t) {
|
|
|
41958
41958
|
break;
|
|
41959
41959
|
}
|
|
41960
41960
|
default:
|
|
41961
|
-
|
|
41961
|
+
Ns(e, t);
|
|
41962
41962
|
}
|
|
41963
41963
|
}
|
|
41964
|
-
function
|
|
41964
|
+
function rs(e, t) {
|
|
41965
41965
|
switch (t.tagID) {
|
|
41966
41966
|
case x.TABLE: {
|
|
41967
41967
|
e.openElements.hasInTableScope(x.TABLE) && (e.openElements.popUntilTagNamePopped(x.TABLE), e._resetInsertionMode());
|
|
@@ -41984,10 +41984,10 @@ function ss(e, t) {
|
|
|
41984
41984
|
case x.TR:
|
|
41985
41985
|
break;
|
|
41986
41986
|
default:
|
|
41987
|
-
|
|
41987
|
+
Ns(e, t);
|
|
41988
41988
|
}
|
|
41989
41989
|
}
|
|
41990
|
-
function
|
|
41990
|
+
function Ns(e, t) {
|
|
41991
41991
|
const i = e.fosterParentingEnabled;
|
|
41992
41992
|
e.fosterParentingEnabled = !0, xr(e, t), e.fosterParentingEnabled = i;
|
|
41993
41993
|
}
|
|
@@ -41997,11 +41997,11 @@ function Dg(e, t) {
|
|
|
41997
41997
|
function Og(e, t) {
|
|
41998
41998
|
e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
|
|
41999
41999
|
}
|
|
42000
|
-
function
|
|
42000
|
+
function c9(e, t) {
|
|
42001
42001
|
let i = 0;
|
|
42002
42002
|
if (e.hasNonWhitespacePendingCharacterToken)
|
|
42003
42003
|
for (; i < e.pendingCharacterTokens.length; i++)
|
|
42004
|
-
|
|
42004
|
+
Ns(e, e.pendingCharacterTokens[i]);
|
|
42005
42005
|
else
|
|
42006
42006
|
for (; i < e.pendingCharacterTokens.length; i++)
|
|
42007
42007
|
e._insertCharacters(e.pendingCharacterTokens[i]);
|
|
@@ -42017,7 +42017,7 @@ function xB(e, t) {
|
|
|
42017
42017
|
switch (i) {
|
|
42018
42018
|
case x.CAPTION:
|
|
42019
42019
|
case x.TABLE: {
|
|
42020
|
-
e.openElements.hasInTableScope(x.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(x.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = G.IN_TABLE, i === x.TABLE &&
|
|
42020
|
+
e.openElements.hasInTableScope(x.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(x.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = G.IN_TABLE, i === x.TABLE && rs(e, t));
|
|
42021
42021
|
break;
|
|
42022
42022
|
}
|
|
42023
42023
|
case x.BODY:
|
|
@@ -42106,7 +42106,7 @@ function C6(e, t) {
|
|
|
42106
42106
|
break;
|
|
42107
42107
|
}
|
|
42108
42108
|
case x.TABLE: {
|
|
42109
|
-
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = G.IN_TABLE,
|
|
42109
|
+
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = G.IN_TABLE, rs(e, t));
|
|
42110
42110
|
break;
|
|
42111
42111
|
}
|
|
42112
42112
|
case x.BODY:
|
|
@@ -42119,7 +42119,7 @@ function C6(e, t) {
|
|
|
42119
42119
|
case x.TR:
|
|
42120
42120
|
break;
|
|
42121
42121
|
default:
|
|
42122
|
-
|
|
42122
|
+
rs(e, t);
|
|
42123
42123
|
}
|
|
42124
42124
|
}
|
|
42125
42125
|
function Hr(e, t) {
|
|
@@ -42168,7 +42168,7 @@ function Pg(e, t) {
|
|
|
42168
42168
|
case x.TH:
|
|
42169
42169
|
break;
|
|
42170
42170
|
default:
|
|
42171
|
-
|
|
42171
|
+
rs(e, t);
|
|
42172
42172
|
}
|
|
42173
42173
|
}
|
|
42174
42174
|
function vB(e, t) {
|
|
@@ -42472,7 +42472,7 @@ function $B(e, t) {
|
|
|
42472
42472
|
const i = {
|
|
42473
42473
|
type: u2.CHARACTER,
|
|
42474
42474
|
chars: e.value,
|
|
42475
|
-
location:
|
|
42475
|
+
location: Zs(e)
|
|
42476
42476
|
};
|
|
42477
42477
|
Ii(t, i4(e)), t.parser.currentToken = i, t.parser._processToken(t.parser.currentToken);
|
|
42478
42478
|
}
|
|
@@ -42483,7 +42483,7 @@ function UB(e, t) {
|
|
|
42483
42483
|
forceQuirks: !1,
|
|
42484
42484
|
publicId: "",
|
|
42485
42485
|
systemId: "",
|
|
42486
|
-
location:
|
|
42486
|
+
location: Zs(e)
|
|
42487
42487
|
};
|
|
42488
42488
|
Ii(t, i4(e)), t.parser.currentToken = i, t.parser._processToken(t.parser.currentToken);
|
|
42489
42489
|
}
|
|
@@ -42503,7 +42503,7 @@ function Yg(e, t) {
|
|
|
42503
42503
|
const i = e.value, r = {
|
|
42504
42504
|
type: u2.COMMENT,
|
|
42505
42505
|
data: i,
|
|
42506
|
-
location:
|
|
42506
|
+
location: Zs(e)
|
|
42507
42507
|
};
|
|
42508
42508
|
Ii(t, i4(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
|
|
42509
42509
|
}
|
|
@@ -42569,7 +42569,7 @@ function GB(e, t) {
|
|
|
42569
42569
|
// Always element.
|
|
42570
42570
|
/* c8 ignore next */
|
|
42571
42571
|
attrs: "attrs" in l ? l.attrs : [],
|
|
42572
|
-
location:
|
|
42572
|
+
location: Zs(e)
|
|
42573
42573
|
};
|
|
42574
42574
|
t.parser.currentToken = a, t.parser._processToken(t.parser.currentToken), t.parser.tokenizer.lastStartTagName = i;
|
|
42575
42575
|
}
|
|
@@ -42584,7 +42584,7 @@ function KB(e, t) {
|
|
|
42584
42584
|
selfClosing: !1,
|
|
42585
42585
|
ackSelfClosing: !1,
|
|
42586
42586
|
attrs: [],
|
|
42587
|
-
location:
|
|
42587
|
+
location: Zs(e)
|
|
42588
42588
|
};
|
|
42589
42589
|
t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken), // Current element is closed.
|
|
42590
42590
|
i === t.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
|
|
@@ -42596,7 +42596,7 @@ function YB(e) {
|
|
|
42596
42596
|
const t = e.type === "root" ? e.children[0] : e;
|
|
42597
42597
|
return !!(t && (t.type === "doctype" || t.type === "element" && t.tagName.toLowerCase() === "html"));
|
|
42598
42598
|
}
|
|
42599
|
-
function
|
|
42599
|
+
function Zs(e) {
|
|
42600
42600
|
const t = i4(e) || {
|
|
42601
42601
|
line: void 0,
|
|
42602
42602
|
column: void 0,
|
|
@@ -42852,13 +42852,13 @@ function Qg(e, t) {
|
|
|
42852
42852
|
function eA(e, t) {
|
|
42853
42853
|
if (e.schema.allowComments) {
|
|
42854
42854
|
const i = typeof t.value == "string" ? t.value : "", r = i.indexOf("-->"), l = { type: "comment", value: r < 0 ? i : i.slice(0, r) };
|
|
42855
|
-
return
|
|
42855
|
+
return Es(l, t), l;
|
|
42856
42856
|
}
|
|
42857
42857
|
}
|
|
42858
42858
|
function tA(e, t) {
|
|
42859
42859
|
if (e.schema.allowDoctypes) {
|
|
42860
42860
|
const i = { type: "doctype" };
|
|
42861
|
-
return
|
|
42861
|
+
return Es(i, t), i;
|
|
42862
42862
|
}
|
|
42863
42863
|
}
|
|
42864
42864
|
function iA(e, t) {
|
|
@@ -42884,18 +42884,18 @@ function iA(e, t) {
|
|
|
42884
42884
|
properties: n,
|
|
42885
42885
|
children: r
|
|
42886
42886
|
};
|
|
42887
|
-
return
|
|
42887
|
+
return Es(a, t), a;
|
|
42888
42888
|
}
|
|
42889
42889
|
function sA(e, t) {
|
|
42890
42890
|
const r = { type: "root", children: (
|
|
42891
42891
|
/** @type {Array<RootContent>} */
|
|
42892
42892
|
Jg(e, t.children)
|
|
42893
42893
|
) };
|
|
42894
|
-
return
|
|
42894
|
+
return Es(r, t), r;
|
|
42895
42895
|
}
|
|
42896
42896
|
function rA(e, t) {
|
|
42897
42897
|
const r = { type: "text", value: typeof t.value == "string" ? t.value : "" };
|
|
42898
|
-
return
|
|
42898
|
+
return Es(r, t), r;
|
|
42899
42899
|
}
|
|
42900
42900
|
function Jg(e, t) {
|
|
42901
42901
|
const i = [];
|
|
@@ -42985,7 +42985,7 @@ function aA(e, t, i) {
|
|
|
42985
42985
|
}
|
|
42986
42986
|
return !1;
|
|
42987
42987
|
}
|
|
42988
|
-
function
|
|
42988
|
+
function Es(e, t) {
|
|
42989
42989
|
const i = TC(
|
|
42990
42990
|
// @ts-expect-error: looks like a node.
|
|
42991
42991
|
t
|
|
@@ -43729,7 +43729,7 @@ function lk(e, t, i, r) {
|
|
|
43729
43729
|
let a = n.space === "svg" ? r.settings.closeEmptyElements : r.settings.voids.includes(e.tagName.toLowerCase());
|
|
43730
43730
|
const c = [];
|
|
43731
43731
|
let u;
|
|
43732
|
-
n.space === "html" && e.tagName === "svg" && (r.schema =
|
|
43732
|
+
n.space === "html" && e.tagName === "svg" && (r.schema = bs);
|
|
43733
43733
|
const h = ak(r, e.properties), d = r.all(
|
|
43734
43734
|
n.space === "html" && e.tagName === "template" ? e.content : e
|
|
43735
43735
|
);
|
|
@@ -43837,7 +43837,7 @@ function wk(e, t) {
|
|
|
43837
43837
|
closeSelfClosing: i.closeSelfClosing || !1,
|
|
43838
43838
|
closeEmptyElements: i.closeEmptyElements || !1
|
|
43839
43839
|
},
|
|
43840
|
-
schema: i.space === "svg" ?
|
|
43840
|
+
schema: i.space === "svg" ? bs : Lr,
|
|
43841
43841
|
quote: r,
|
|
43842
43842
|
alternative: n
|
|
43843
43843
|
}.one(
|
|
@@ -44042,7 +44042,7 @@ class pt extends Error {
|
|
|
44042
44042
|
u && (l.place = u.position);
|
|
44043
44043
|
}
|
|
44044
44044
|
const c = l.place && "start" in l.place ? l.place.start : l.place;
|
|
44045
|
-
this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = c ? c.column : void 0, this.fatal = void 0, this.file = "", this.message = n, this.line = c ? c.line : void 0, this.name =
|
|
44045
|
+
this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = c ? c.column : void 0, this.fatal = void 0, this.file = "", this.message = n, this.line = c ? c.line : void 0, this.name = E9(l.place) || "1:1", this.place = l.place || void 0, this.reason = this.message, this.ruleId = l.ruleId || void 0, this.source = l.source || void 0, this.stack = a && l.cause && typeof l.cause.stack == "string" ? l.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
44046
44046
|
}
|
|
44047
44047
|
}
|
|
44048
44048
|
pt.prototype.file = "";
|
|
@@ -44062,7 +44062,7 @@ const d0 = { basename: Mk, dirname: bk, extname: zk, join: Nk, sep: "/" };
|
|
|
44062
44062
|
function Mk(e, t) {
|
|
44063
44063
|
if (t !== void 0 && typeof t != "string")
|
|
44064
44064
|
throw new TypeError('"ext" argument must be a string');
|
|
44065
|
-
|
|
44065
|
+
_s(e);
|
|
44066
44066
|
let i = 0, r = -1, n = e.length, l;
|
|
44067
44067
|
if (t === void 0 || t.length === 0 || t.length > e.length) {
|
|
44068
44068
|
for (; n--; )
|
|
@@ -44088,7 +44088,7 @@ function Mk(e, t) {
|
|
|
44088
44088
|
return i === r ? r = a : r < 0 && (r = e.length), e.slice(i, r);
|
|
44089
44089
|
}
|
|
44090
44090
|
function bk(e) {
|
|
44091
|
-
if (
|
|
44091
|
+
if (_s(e), e.length === 0)
|
|
44092
44092
|
return ".";
|
|
44093
44093
|
let t = -1, i = e.length, r;
|
|
44094
44094
|
for (; --i; )
|
|
@@ -44101,7 +44101,7 @@ function bk(e) {
|
|
|
44101
44101
|
return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
|
|
44102
44102
|
}
|
|
44103
44103
|
function zk(e) {
|
|
44104
|
-
|
|
44104
|
+
_s(e);
|
|
44105
44105
|
let t = e.length, i = -1, r = 0, n = -1, l = 0, a;
|
|
44106
44106
|
for (; t--; ) {
|
|
44107
44107
|
const c = e.codePointAt(t);
|
|
@@ -44121,11 +44121,11 @@ function zk(e) {
|
|
|
44121
44121
|
function Nk(...e) {
|
|
44122
44122
|
let t = -1, i;
|
|
44123
44123
|
for (; ++t < e.length; )
|
|
44124
|
-
|
|
44124
|
+
_s(e[t]), e[t] && (i = i === void 0 ? e[t] : i + "/" + e[t]);
|
|
44125
44125
|
return i === void 0 ? "." : Zk(i);
|
|
44126
44126
|
}
|
|
44127
44127
|
function Zk(e) {
|
|
44128
|
-
|
|
44128
|
+
_s(e);
|
|
44129
44129
|
const t = e.codePointAt(0) === 47;
|
|
44130
44130
|
let i = Ek(e, !t);
|
|
44131
44131
|
return i.length === 0 && !t && (i = "."), i.length > 0 && e.codePointAt(e.length - 1) === 47 && (i += "/"), t ? "/" + i : i;
|
|
@@ -44161,7 +44161,7 @@ function Ek(e, t) {
|
|
|
44161
44161
|
}
|
|
44162
44162
|
return i;
|
|
44163
44163
|
}
|
|
44164
|
-
function
|
|
44164
|
+
function _s(e) {
|
|
44165
44165
|
if (typeof e != "string")
|
|
44166
44166
|
throw new TypeError(
|
|
44167
44167
|
"Path must be a string. Received " + JSON.stringify(e)
|
|
@@ -46039,7 +46039,7 @@ function XF(e, t, i) {
|
|
|
46039
46039
|
}
|
|
46040
46040
|
}
|
|
46041
46041
|
function QF(e, t, i) {
|
|
46042
|
-
return e.check(
|
|
46042
|
+
return e.check(Ss, t, e.attempt(WF, t, i));
|
|
46043
46043
|
}
|
|
46044
46044
|
function JF(e) {
|
|
46045
46045
|
e.exit("gfmFootnoteDefinition");
|
|
@@ -46794,13 +46794,13 @@ const kD = (e, t) => Math.abs(e - t) < 1.01, FD = (e, t, i) => {
|
|
|
46794
46794
|
e.clearTimeout(r), r = e.setTimeout(() => t.apply(this, n), i);
|
|
46795
46795
|
};
|
|
46796
46796
|
};
|
|
46797
|
-
let
|
|
46797
|
+
let u9;
|
|
46798
46798
|
const cn = () => {
|
|
46799
|
-
if (
|
|
46800
|
-
if (typeof navigator > "u") return
|
|
46801
|
-
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return
|
|
46799
|
+
if (u9 !== void 0) return u9;
|
|
46800
|
+
if (typeof navigator > "u") return u9 = !1;
|
|
46801
|
+
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return u9 = !0;
|
|
46802
46802
|
const e = navigator.maxTouchPoints;
|
|
46803
|
-
return
|
|
46803
|
+
return u9 = navigator.platform === "MacIntel" && e !== void 0 && e > 0;
|
|
46804
46804
|
}, _u = (e) => {
|
|
46805
46805
|
const { offsetWidth: t, offsetHeight: i } = e;
|
|
46806
46806
|
return { width: t, height: i };
|
|
@@ -47701,9 +47701,9 @@ let nO = class {
|
|
|
47701
47701
|
detect() {
|
|
47702
47702
|
return typeof window > "u" || typeof document > "u" ? "server" : "client";
|
|
47703
47703
|
}
|
|
47704
|
-
},
|
|
47704
|
+
}, Rs = new nO();
|
|
47705
47705
|
function zt(e) {
|
|
47706
|
-
if (
|
|
47706
|
+
if (Rs.isServer) return null;
|
|
47707
47707
|
if (e instanceof Node) return e.ownerDocument;
|
|
47708
47708
|
if (e != null && e.hasOwnProperty("value")) {
|
|
47709
47709
|
let t = o1(e);
|
|
@@ -47789,12 +47789,12 @@ function bf() {
|
|
|
47789
47789
|
return Mf() || uO();
|
|
47790
47790
|
}
|
|
47791
47791
|
function E3(e, t, i) {
|
|
47792
|
-
|
|
47792
|
+
Rs.isServer || h2((r) => {
|
|
47793
47793
|
document.addEventListener(e, t, i), r(() => document.removeEventListener(e, t, i));
|
|
47794
47794
|
});
|
|
47795
47795
|
}
|
|
47796
47796
|
function zf(e, t, i) {
|
|
47797
|
-
|
|
47797
|
+
Rs.isServer || h2((r) => {
|
|
47798
47798
|
window.addEventListener(e, t, i), r(() => window.removeEventListener(e, t, i));
|
|
47799
47799
|
});
|
|
47800
47800
|
}
|
|
@@ -47829,7 +47829,7 @@ function Bu(e, t) {
|
|
|
47829
47829
|
let i = t ?? "button";
|
|
47830
47830
|
if (typeof i == "string" && i.toLowerCase() === "button") return "button";
|
|
47831
47831
|
}
|
|
47832
|
-
function
|
|
47832
|
+
function Ts(e, t) {
|
|
47833
47833
|
let i = J(Bu(e.value.type, e.value.as));
|
|
47834
47834
|
return J1(() => {
|
|
47835
47835
|
i.value = Bu(e.value.type, e.value.as);
|
|
@@ -47944,7 +47944,7 @@ function pO() {
|
|
|
47944
47944
|
function B4() {
|
|
47945
47945
|
return m2(Rf, null);
|
|
47946
47946
|
}
|
|
47947
|
-
function
|
|
47947
|
+
function Bs(e) {
|
|
47948
47948
|
$2(Rf, e);
|
|
47949
47949
|
}
|
|
47950
47950
|
var W1 = ((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))(W1 || {}), Tf = ((e) => (e[e.Left = 0] = "Left", e[e.Right = 2] = "Right", e))(Tf || {});
|
|
@@ -48165,7 +48165,7 @@ let Ff = /* @__PURE__ */ Symbol("VirtualContext"), xO = o({ name: "VirtualProvid
|
|
|
48165
48165
|
}, isActive(N) {
|
|
48166
48166
|
return p.value === R.calculateIndex(N);
|
|
48167
48167
|
} };
|
|
48168
|
-
zr([a, c, u], () => R.closeCombobox(), A(() => n.value === 0)), $2(kf, R),
|
|
48168
|
+
zr([a, c, u], () => R.closeCombobox(), A(() => n.value === 0)), $2(kf, R), Bs(A(() => f2(n.value, { 0: b2.Open, 1: b2.Closed })));
|
|
48169
48169
|
let k = A(() => {
|
|
48170
48170
|
var N;
|
|
48171
48171
|
return (N = o1(a)) == null ? void 0 : N.closest("form");
|
|
@@ -48234,7 +48234,7 @@ let ku = o({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
|
|
|
48234
48234
|
return;
|
|
48235
48235
|
}
|
|
48236
48236
|
}
|
|
48237
|
-
let h =
|
|
48237
|
+
let h = Ts(A(() => ({ as: e.as, type: t.type })), a.buttonRef);
|
|
48238
48238
|
return () => {
|
|
48239
48239
|
var d, p;
|
|
48240
48240
|
let C = { open: a.comboboxState.value === 0, disabled: a.disabled.value, value: a.value.value }, { ...g } = e, m = { ref: a.buttonRef, id: l, type: h.value, tabindex: "-1", "aria-haspopup": "listbox", "aria-controls": (d = o1(a.optionsRef)) == null ? void 0 : d.id, "aria-expanded": a.comboboxState.value === 0, "aria-labelledby": a.labelRef.value ? [(p = o1(a.labelRef)) == null ? void 0 : p.id, l].join(" ") : void 0, disabled: a.disabled.value === !0 ? !0 : void 0, onKeydown: u, onClick: c };
|
|
@@ -48417,7 +48417,7 @@ let ku = o({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
|
|
|
48417
48417
|
};
|
|
48418
48418
|
} });
|
|
48419
48419
|
function ia(e, t, i, r) {
|
|
48420
|
-
|
|
48420
|
+
Rs.isServer || h2((n) => {
|
|
48421
48421
|
e = e ?? window, e.addEventListener(t, i, r), n(() => e.removeEventListener(t, i, r));
|
|
48422
48422
|
});
|
|
48423
48423
|
}
|
|
@@ -48439,7 +48439,7 @@ function Df(e) {
|
|
|
48439
48439
|
return t;
|
|
48440
48440
|
}
|
|
48441
48441
|
var Of = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(Of || {});
|
|
48442
|
-
let
|
|
48442
|
+
let h9 = Object.assign(o({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: J(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
48443
48443
|
let n = J(null);
|
|
48444
48444
|
r({ el: n, $el: n });
|
|
48445
48445
|
let l = A(() => zt(n)), a = J(!1);
|
|
@@ -48655,7 +48655,7 @@ function BO(e, t, i) {
|
|
|
48655
48655
|
});
|
|
48656
48656
|
}, { immediate: !0 }), n;
|
|
48657
48657
|
}
|
|
48658
|
-
let hn = /* @__PURE__ */ new Map(),
|
|
48658
|
+
let hn = /* @__PURE__ */ new Map(), d9 = /* @__PURE__ */ new Map();
|
|
48659
48659
|
function Fu(e, t = J(!0)) {
|
|
48660
48660
|
h2((i) => {
|
|
48661
48661
|
var r;
|
|
@@ -48665,13 +48665,13 @@ function Fu(e, t = J(!0)) {
|
|
|
48665
48665
|
i(function() {
|
|
48666
48666
|
var a;
|
|
48667
48667
|
if (!n) return;
|
|
48668
|
-
let c = (a =
|
|
48669
|
-
if (c === 1 ?
|
|
48668
|
+
let c = (a = d9.get(n)) != null ? a : 1;
|
|
48669
|
+
if (c === 1 ? d9.delete(n) : d9.set(n, c - 1), c !== 1) return;
|
|
48670
48670
|
let u = hn.get(n);
|
|
48671
48671
|
u && (u["aria-hidden"] === null ? n.removeAttribute("aria-hidden") : n.setAttribute("aria-hidden", u["aria-hidden"]), n.inert = u.inert, hn.delete(n));
|
|
48672
48672
|
});
|
|
48673
|
-
let l = (r =
|
|
48674
|
-
|
|
48673
|
+
let l = (r = d9.get(n)) != null ? r : 0;
|
|
48674
|
+
d9.set(n, l + 1), l === 0 && (hn.set(n, { "aria-hidden": n.getAttribute("aria-hidden"), inert: n.inert }), n.setAttribute("aria-hidden", "true"), n.inert = !0);
|
|
48675
48675
|
});
|
|
48676
48676
|
}
|
|
48677
48677
|
function Pf({ defaultContainers: e = [], portals: t, mainTreeNodeRef: i } = {}) {
|
|
@@ -48820,11 +48820,11 @@ let Gf = /* @__PURE__ */ Symbol("PortalGroupContext"), UO = o({ name: "PortalGro
|
|
|
48820
48820
|
} });
|
|
48821
48821
|
var qO = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(qO || {});
|
|
48822
48822
|
let S6 = /* @__PURE__ */ Symbol("DialogContext");
|
|
48823
|
-
function
|
|
48823
|
+
function As(e) {
|
|
48824
48824
|
let t = m2(S6, null);
|
|
48825
48825
|
if (t === null) {
|
|
48826
48826
|
let i = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
|
|
48827
|
-
throw Error.captureStackTrace && Error.captureStackTrace(i,
|
|
48827
|
+
throw Error.captureStackTrace && Error.captureStackTrace(i, As), i;
|
|
48828
48828
|
}
|
|
48829
48829
|
return t;
|
|
48830
48830
|
}
|
|
@@ -48883,12 +48883,12 @@ let _3 = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", WO = o({ name: "Dialog", inheri
|
|
|
48883
48883
|
q.observe(v1), y1(() => q.disconnect());
|
|
48884
48884
|
}), () => {
|
|
48885
48885
|
let { open: y1, initialFocus: v1, ...q } = e, g1 = { ...i, ref: m, id: c, role: d.value, "aria-modal": L.value === 0 ? !0 : void 0, "aria-labelledby": r1.value, "aria-describedby": t1.value }, T1 = { open: L.value === 0 };
|
|
48886
|
-
return o2(y6, { force: !0 }, () => [o2(Wf, () => o2(UO, { target: m.value }, () => o2(y6, { force: !1 }, () => o2(
|
|
48886
|
+
return o2(y6, { force: !0 }, () => [o2(Wf, () => o2(UO, { target: m.value }, () => o2(y6, { force: !1 }, () => o2(h9, { initialFocus: v1, containers: b, features: y.value ? f2(k.value, { parent: h9.features.RestoreFocus, leaf: h9.features.All & ~h9.features.FocusLock }) : h9.features.None }, () => o2(M, {}, () => C2({ ourProps: g1, theirProps: { ...q, ...i }, slot: T1, attrs: i, slots: r, visible: L.value === 0, features: _e.RenderStrategy | _e.Static, name: "Dialog" })))))), o2(R)]);
|
|
48887
48887
|
};
|
|
48888
48888
|
} });
|
|
48889
48889
|
o({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i }) {
|
|
48890
48890
|
var r;
|
|
48891
|
-
let n = (r = e.id) != null ? r : `headlessui-dialog-overlay-${D2()}`, l =
|
|
48891
|
+
let n = (r = e.id) != null ? r : `headlessui-dialog-overlay-${D2()}`, l = As("DialogOverlay");
|
|
48892
48892
|
function a(c) {
|
|
48893
48893
|
c.target === c.currentTarget && (c.preventDefault(), c.stopPropagation(), l.close());
|
|
48894
48894
|
}
|
|
@@ -48899,7 +48899,7 @@ o({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
|
|
|
48899
48899
|
} });
|
|
48900
48900
|
o({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, inheritAttrs: !1, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
48901
48901
|
var n;
|
|
48902
|
-
let l = (n = e.id) != null ? n : `headlessui-dialog-backdrop-${D2()}`, a =
|
|
48902
|
+
let l = (n = e.id) != null ? n : `headlessui-dialog-backdrop-${D2()}`, a = As("DialogBackdrop"), c = J(null);
|
|
48903
48903
|
return r({ el: c, $el: c }), J1(() => {
|
|
48904
48904
|
if (a.panelRef.value === null) throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
|
|
48905
48905
|
}), () => {
|
|
@@ -48909,7 +48909,7 @@ o({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div
|
|
|
48909
48909
|
} });
|
|
48910
48910
|
let jO = o({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
48911
48911
|
var n;
|
|
48912
|
-
let l = (n = e.id) != null ? n : `headlessui-dialog-panel-${D2()}`, a =
|
|
48912
|
+
let l = (n = e.id) != null ? n : `headlessui-dialog-panel-${D2()}`, a = As("DialogPanel");
|
|
48913
48913
|
r({ el: a.panelRef, $el: a.panelRef });
|
|
48914
48914
|
function c(u) {
|
|
48915
48915
|
u.stopPropagation();
|
|
@@ -48920,7 +48920,7 @@ let jO = o({ name: "DialogPanel", props: { as: { type: [Object, String], default
|
|
|
48920
48920
|
};
|
|
48921
48921
|
} }), GO = o({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i }) {
|
|
48922
48922
|
var r;
|
|
48923
|
-
let n = (r = e.id) != null ? r : `headlessui-dialog-title-${D2()}`, l =
|
|
48923
|
+
let n = (r = e.id) != null ? r : `headlessui-dialog-title-${D2()}`, l = As("DialogTitle");
|
|
48924
48924
|
return J1(() => {
|
|
48925
48925
|
l.setTitleId(n), ie(() => l.setTitleId(null));
|
|
48926
48926
|
}), () => {
|
|
@@ -48952,7 +48952,7 @@ let li = o({ name: "Disclosure", props: { as: { type: [Object, String], default:
|
|
|
48952
48952
|
let u = c ? c instanceof HTMLElement ? c : c.value instanceof HTMLElement ? o1(c) : o1(a.button) : o1(a.button);
|
|
48953
48953
|
u?.focus();
|
|
48954
48954
|
} };
|
|
48955
|
-
return $2(Kf, a),
|
|
48955
|
+
return $2(Kf, a), Bs(A(() => f2(r.value, { 0: b2.Open, 1: b2.Closed }))), () => {
|
|
48956
48956
|
let { defaultOpen: c, ...u } = e, h = { open: r.value === 0, close: a.close };
|
|
48957
48957
|
return C2({ theirProps: u, ourProps: {}, slot: h, slots: t, attrs: i, name: "Disclosure" });
|
|
48958
48958
|
};
|
|
@@ -48967,7 +48967,7 @@ let li = o({ name: "Disclosure", props: { as: { type: [Object, String], default:
|
|
|
48967
48967
|
r({ el: c, $el: c }), a.value || h2(() => {
|
|
48968
48968
|
n.button.value = c.value;
|
|
48969
48969
|
});
|
|
48970
|
-
let u =
|
|
48970
|
+
let u = Ts(A(() => ({ as: e.as, type: t.type })), c);
|
|
48971
48971
|
function h() {
|
|
48972
48972
|
var C;
|
|
48973
48973
|
e.disabled || (a.value ? (n.toggleDisclosure(), (C = o1(n.button)) == null || C.focus()) : n.toggleDisclosure());
|
|
@@ -49054,11 +49054,11 @@ function sI(e) {
|
|
|
49054
49054
|
requestAnimationFrame(() => requestAnimationFrame(e));
|
|
49055
49055
|
}
|
|
49056
49056
|
let Xf = /* @__PURE__ */ Symbol("ListboxContext");
|
|
49057
|
-
function
|
|
49057
|
+
function ks(e) {
|
|
49058
49058
|
let t = m2(Xf, null);
|
|
49059
49059
|
if (t === null) {
|
|
49060
49060
|
let i = new Error(`<${e} /> is missing a parent <Listbox /> component.`);
|
|
49061
|
-
throw Error.captureStackTrace && Error.captureStackTrace(i,
|
|
49061
|
+
throw Error.captureStackTrace && Error.captureStackTrace(i, ks), i;
|
|
49062
49062
|
}
|
|
49063
49063
|
return t;
|
|
49064
49064
|
}
|
|
@@ -49110,7 +49110,7 @@ let rI = o({ name: "Listbox", emits: { "update:modelValue": (e) => !0 }, props:
|
|
|
49110
49110
|
zr([a, c], (V, z) => {
|
|
49111
49111
|
var M;
|
|
49112
49112
|
y.closeListbox(), ea(z, br.Loose) || (V.preventDefault(), (M = o1(a)) == null || M.focus());
|
|
49113
|
-
}, A(() => n.value === 0)), $2(Xf, y),
|
|
49113
|
+
}, A(() => n.value === 0)), $2(Xf, y), Bs(A(() => f2(n.value, { 0: b2.Open, 1: b2.Closed })));
|
|
49114
49114
|
let H = A(() => {
|
|
49115
49115
|
var V;
|
|
49116
49116
|
return (V = o1(a)) == null ? void 0 : V.closest("form");
|
|
@@ -49133,7 +49133,7 @@ let rI = o({ name: "Listbox", emits: { "update:modelValue": (e) => !0 }, props:
|
|
|
49133
49133
|
} });
|
|
49134
49134
|
o({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i }) {
|
|
49135
49135
|
var r;
|
|
49136
|
-
let n = (r = e.id) != null ? r : `headlessui-listbox-label-${D2()}`, l =
|
|
49136
|
+
let n = (r = e.id) != null ? r : `headlessui-listbox-label-${D2()}`, l = ks("ListboxLabel");
|
|
49137
49137
|
function a() {
|
|
49138
49138
|
var c;
|
|
49139
49139
|
(c = o1(l.buttonRef)) == null || c.focus({ preventScroll: !0 });
|
|
@@ -49145,7 +49145,7 @@ o({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label
|
|
|
49145
49145
|
} });
|
|
49146
49146
|
let nI = o({ name: "ListboxButton", props: { as: { type: [Object, String], default: "button" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
49147
49147
|
var n;
|
|
49148
|
-
let l = (n = e.id) != null ? n : `headlessui-listbox-button-${D2()}`, a =
|
|
49148
|
+
let l = (n = e.id) != null ? n : `headlessui-listbox-button-${D2()}`, a = ks("ListboxButton");
|
|
49149
49149
|
r({ el: a.buttonRef, $el: a.buttonRef });
|
|
49150
49150
|
function c(p) {
|
|
49151
49151
|
switch (p.key) {
|
|
@@ -49177,7 +49177,7 @@ let nI = o({ name: "ListboxButton", props: { as: { type: [Object, String], defau
|
|
|
49177
49177
|
return (C = o1(a.optionsRef)) == null ? void 0 : C.focus({ preventScroll: !0 });
|
|
49178
49178
|
})));
|
|
49179
49179
|
}
|
|
49180
|
-
let d =
|
|
49180
|
+
let d = Ts(A(() => ({ as: e.as, type: t.type })), a.buttonRef);
|
|
49181
49181
|
return () => {
|
|
49182
49182
|
var p, C;
|
|
49183
49183
|
let g = { open: a.listboxState.value === 0, disabled: a.disabled.value, value: a.value.value }, { ...m } = e, f = { ref: a.buttonRef, id: l, type: d.value, "aria-haspopup": "listbox", "aria-controls": (p = o1(a.optionsRef)) == null ? void 0 : p.id, "aria-expanded": a.listboxState.value === 0, "aria-labelledby": a.labelRef.value ? [(C = o1(a.labelRef)) == null ? void 0 : C.id, l].join(" ") : void 0, disabled: a.disabled.value === !0 ? !0 : void 0, onKeydown: c, onKeyup: u, onClick: h };
|
|
@@ -49185,7 +49185,7 @@ let nI = o({ name: "ListboxButton", props: { as: { type: [Object, String], defau
|
|
|
49185
49185
|
};
|
|
49186
49186
|
} }), lI = o({ name: "ListboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
49187
49187
|
var n;
|
|
49188
|
-
let l = (n = e.id) != null ? n : `headlessui-listbox-options-${D2()}`, a =
|
|
49188
|
+
let l = (n = e.id) != null ? n : `headlessui-listbox-options-${D2()}`, a = ks("ListboxOptions"), c = J(null);
|
|
49189
49189
|
r({ el: a.optionsRef, $el: a.optionsRef });
|
|
49190
49190
|
function u(p) {
|
|
49191
49191
|
switch (c.value && clearTimeout(c.value), p.key) {
|
|
@@ -49233,7 +49233,7 @@ let nI = o({ name: "ListboxButton", props: { as: { type: [Object, String], defau
|
|
|
49233
49233
|
};
|
|
49234
49234
|
} }), aI = o({ name: "ListboxOption", props: { as: { type: [Object, String], default: "li" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: null } }, setup(e, { slots: t, attrs: i, expose: r }) {
|
|
49235
49235
|
var n;
|
|
49236
|
-
let l = (n = e.id) != null ? n : `headlessui-listbox-option-${D2()}`, a =
|
|
49236
|
+
let l = (n = e.id) != null ? n : `headlessui-listbox-option-${D2()}`, a = ks("ListboxOption"), c = J(null);
|
|
49237
49237
|
r({ el: c, $el: c });
|
|
49238
49238
|
let u = A(() => a.activeOptionIndex.value !== null ? a.options.value[a.activeOptionIndex.value].id === l : !1), h = A(() => f2(a.mode.value, { 0: () => a.compare(me(a.value.value), me(e.value)), 1: () => me(a.value.value).some((V) => a.compare(me(V), me(e.value))) })), d = A(() => f2(a.mode.value, { 1: () => {
|
|
49239
49239
|
var V;
|
|
@@ -49319,7 +49319,7 @@ let Pi = o({ name: "Popover", inheritAttrs: !1, props: { as: { type: [Object, St
|
|
|
49319
49319
|
let b = M ? M instanceof HTMLElement ? M : M.value instanceof HTMLElement ? o1(M) : o1(g.button) : o1(g.button);
|
|
49320
49320
|
b?.focus();
|
|
49321
49321
|
} };
|
|
49322
|
-
$2(Qf, g),
|
|
49322
|
+
$2(Qf, g), Bs(A(() => f2(a.value, { 0: b2.Open, 1: b2.Closed })));
|
|
49323
49323
|
let m = { buttonId: g.buttonId, panelId: g.panelId, close() {
|
|
49324
49324
|
g.closePopover();
|
|
49325
49325
|
} }, f = em(), L = f?.registerPopover, [y, H] = jf(), V = Pf({ mainTreeNodeRef: f?.mainTreeNodeRef, portals: y, defaultContainers: [c, d] });
|
|
@@ -49337,7 +49337,7 @@ let Pi = o({ name: "Popover", inheritAttrs: !1, props: { as: { type: [Object, St
|
|
|
49337
49337
|
let M = { open: a.value === 0, close: g.close };
|
|
49338
49338
|
return o2(h1, [o2(H, {}, () => C2({ theirProps: { ...e, ...i }, ourProps: { ref: l }, slot: M, slots: t, attrs: i, name: "Popover" })), o2(V.MainTreeNode)]);
|
|
49339
49339
|
};
|
|
49340
|
-
} }),
|
|
49340
|
+
} }), Fs = o({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: null } }, inheritAttrs: !1, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
49341
49341
|
var n;
|
|
49342
49342
|
let l = (n = e.id) != null ? n : `headlessui-popover-button-${D2()}`, a = Nr("PopoverButton"), c = A(() => zt(a.button));
|
|
49343
49343
|
r({ el: a.button, $el: a.button }), J1(() => {
|
|
@@ -49349,7 +49349,7 @@ let Pi = o({ name: "Popover", inheritAttrs: !1, props: { as: { type: [Object, St
|
|
|
49349
49349
|
p.value || h2(() => {
|
|
49350
49350
|
a.button.value = o1(C);
|
|
49351
49351
|
});
|
|
49352
|
-
let m =
|
|
49352
|
+
let m = Ts(A(() => ({ as: e.as, type: t.type })), C);
|
|
49353
49353
|
function f(M) {
|
|
49354
49354
|
var b, B, R, k, N;
|
|
49355
49355
|
if (p.value) {
|
|
@@ -49406,7 +49406,7 @@ o({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
|
|
|
49406
49406
|
return C2({ ourProps: { id: n, "aria-hidden": !0, onClick: c }, theirProps: e, slot: u, attrs: t, slots: i, features: _e.RenderStrategy | _e.Static, visible: a.value, name: "PopoverOverlay" });
|
|
49407
49407
|
};
|
|
49408
49408
|
} });
|
|
49409
|
-
let
|
|
49409
|
+
let Ds = o({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, focus: { type: Boolean, default: !1 }, id: { type: String, default: null } }, inheritAttrs: !1, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
49410
49410
|
var n;
|
|
49411
49411
|
let l = (n = e.id) != null ? n : `headlessui-popover-panel-${D2()}`, { focus: a } = e, c = Nr("PopoverPanel"), u = A(() => zt(c.panel)), h = `headlessui-focus-sentinel-before-${D2()}`, d = `headlessui-focus-sentinel-after-${D2()}`;
|
|
49412
49412
|
r({ el: c.panel, $el: c.panel }), J1(() => {
|
|
@@ -49526,11 +49526,11 @@ let uI = o({ props: { onFocus: { type: Function, required: !0 } }, setup(e) {
|
|
|
49526
49526
|
} });
|
|
49527
49527
|
var hI = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(hI || {}), dI = ((e) => (e[e.Less = -1] = "Less", e[e.Equal = 0] = "Equal", e[e.Greater = 1] = "Greater", e))(dI || {});
|
|
49528
49528
|
let im = /* @__PURE__ */ Symbol("TabsContext");
|
|
49529
|
-
function
|
|
49529
|
+
function Os(e) {
|
|
49530
49530
|
let t = m2(im, null);
|
|
49531
49531
|
if (t === null) {
|
|
49532
49532
|
let i = new Error(`<${e} /> is missing a parent <TabGroup /> component.`);
|
|
49533
|
-
throw Error.captureStackTrace && Error.captureStackTrace(i,
|
|
49533
|
+
throw Error.captureStackTrace && Error.captureStackTrace(i, Os), i;
|
|
49534
49534
|
}
|
|
49535
49535
|
return t;
|
|
49536
49536
|
}
|
|
@@ -49601,14 +49601,14 @@ let na = /* @__PURE__ */ Symbol("TabsSSRContext"), pI = o({ name: "TabGroup", em
|
|
|
49601
49601
|
} }), C2({ theirProps: { ...i, ...B5(e, ["selectedIndex", "defaultIndex", "manual", "vertical", "onChange"]) }, ourProps: {}, slot: f, slots: t, attrs: i, name: "TabGroup" })]);
|
|
49602
49602
|
};
|
|
49603
49603
|
} }), CI = o({ name: "TabList", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: i }) {
|
|
49604
|
-
let r =
|
|
49604
|
+
let r = Os("TabList");
|
|
49605
49605
|
return () => {
|
|
49606
49606
|
let n = { selectedIndex: r.selectedIndex.value }, l = { role: "tablist", "aria-orientation": r.orientation.value };
|
|
49607
49607
|
return C2({ ourProps: l, theirProps: e, slot: n, attrs: t, slots: i, name: "TabList" });
|
|
49608
49608
|
};
|
|
49609
49609
|
} }), gI = o({ name: "Tab", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
49610
49610
|
var n;
|
|
49611
|
-
let l = (n = e.id) != null ? n : `headlessui-tabs-tab-${D2()}`, a =
|
|
49611
|
+
let l = (n = e.id) != null ? n : `headlessui-tabs-tab-${D2()}`, a = Os("Tab"), c = J(null);
|
|
49612
49612
|
r({ el: c, $el: c }), J1(() => a.registerTab(c)), ie(() => a.unregisterTab(c));
|
|
49613
49613
|
let u = m2(na), h = A(() => {
|
|
49614
49614
|
if (u.value) {
|
|
@@ -49659,21 +49659,21 @@ let na = /* @__PURE__ */ Symbol("TabsSSRContext"), pI = o({ name: "TabGroup", em
|
|
|
49659
49659
|
function L(H) {
|
|
49660
49660
|
H.preventDefault();
|
|
49661
49661
|
}
|
|
49662
|
-
let y =
|
|
49662
|
+
let y = Ts(A(() => ({ as: e.as, type: t.type })), c);
|
|
49663
49663
|
return () => {
|
|
49664
49664
|
var H, V;
|
|
49665
49665
|
let z = { selected: p.value, disabled: (H = e.disabled) != null ? H : !1 }, { ...M } = e, b = { ref: c, onKeydown: g, onMousedown: L, onClick: f, id: l, role: "tab", type: y.value, "aria-controls": (V = o1(a.panels.value[d.value])) == null ? void 0 : V.id, "aria-selected": p.value, tabIndex: p.value ? 0 : -1, disabled: e.disabled ? !0 : void 0 };
|
|
49666
49666
|
return C2({ ourProps: b, theirProps: M, slot: z, attrs: t, slots: i, name: "Tab" });
|
|
49667
49667
|
};
|
|
49668
49668
|
} }), fI = o({ name: "TabPanels", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: i }) {
|
|
49669
|
-
let r =
|
|
49669
|
+
let r = Os("TabPanels");
|
|
49670
49670
|
return () => {
|
|
49671
49671
|
let n = { selectedIndex: r.selectedIndex.value };
|
|
49672
49672
|
return C2({ theirProps: e, ourProps: {}, slot: n, attrs: i, slots: t, name: "TabPanels" });
|
|
49673
49673
|
};
|
|
49674
49674
|
} }), mI = o({ name: "TabPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: null }, tabIndex: { type: Number, default: 0 } }, setup(e, { attrs: t, slots: i, expose: r }) {
|
|
49675
49675
|
var n;
|
|
49676
|
-
let l = (n = e.id) != null ? n : `headlessui-tabs-panel-${D2()}`, a =
|
|
49676
|
+
let l = (n = e.id) != null ? n : `headlessui-tabs-panel-${D2()}`, a = Os("TabPanel"), c = J(null);
|
|
49677
49677
|
r({ el: c, $el: c }), J1(() => a.registerPanel(c)), ie(() => a.unregisterPanel(c));
|
|
49678
49678
|
let u = m2(na), h = A(() => {
|
|
49679
49679
|
if (u.value) {
|
|
@@ -49812,8 +49812,8 @@ let rm = _e.RenderStrategy, b6 = o({ props: { as: { type: [Object, String], defa
|
|
|
49812
49812
|
j1([C], (Q, n1, t1) => {
|
|
49813
49813
|
W(t1), y.value = !1;
|
|
49814
49814
|
}, { immediate: !0 });
|
|
49815
|
-
}), $2(aa, z),
|
|
49816
|
-
let { appear: Q, show: n1, enter: t1, enterFrom: r1, enterTo: p1, entered: u1, leave: L1, leaveFrom: $, leaveTo: y1, ...v1 } = e, q = { ref: d }, g1 = { ...v1, ...g.value && C.value &&
|
|
49815
|
+
}), $2(aa, z), Bs(A(() => f2(L.value, { visible: b2.Open, hidden: b2.Closed }) | l.value)), () => {
|
|
49816
|
+
let { appear: Q, show: n1, enter: t1, enterFrom: r1, enterTo: p1, entered: u1, leave: L1, leaveFrom: $, leaveTo: y1, ...v1 } = e, q = { ref: d }, g1 = { ...v1, ...g.value && C.value && Rs.isServer ? { class: c1([i.class, v1.class, ...M, ...b]) } : {} };
|
|
49817
49817
|
return C2({ theirProps: g1, ourProps: q, slot: {}, slots: r, attrs: i, features: rm, visible: L.value === "visible", name: "TransitionChild" });
|
|
49818
49818
|
};
|
|
49819
49819
|
} }), VI = b6, oa = o({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: i, slots: r }) {
|
|
@@ -49833,7 +49833,7 @@ let rm = _e.RenderStrategy, b6 = o({ props: { as: { type: [Object, String], defa
|
|
|
49833
49833
|
return C2({ ourProps: { ...p, as: "template" }, theirProps: {}, slot: {}, slots: { ...r, default: () => [o2(VI, { onBeforeEnter: () => t("beforeEnter"), onAfterEnter: () => t("afterEnter"), onBeforeLeave: () => t("beforeLeave"), onAfterLeave: () => t("afterLeave"), ...i, ...p, ...d }, r.default)] }, attrs: {}, features: rm, visible: a.value === "visible", name: "Transition" });
|
|
49834
49834
|
};
|
|
49835
49835
|
} });
|
|
49836
|
-
const
|
|
49836
|
+
const $i = /* @__PURE__ */ o({
|
|
49837
49837
|
__name: "ClientOnly",
|
|
49838
49838
|
setup(e) {
|
|
49839
49839
|
const t = V2();
|
|
@@ -49878,7 +49878,7 @@ const Os = /* @__PURE__ */ o({
|
|
|
49878
49878
|
}, {
|
|
49879
49879
|
default: I(({ open: a, close: c }) => [
|
|
49880
49880
|
T(SI, { value: a }, null, 8, ["value"]),
|
|
49881
|
-
T(w(
|
|
49881
|
+
T(w(Fs), Ze(e.buttonProps, {
|
|
49882
49882
|
class: [
|
|
49883
49883
|
e.buttonClass ?? "border-transparent -outline-offset-2 inline-flex items-center justify-center hover:bg-gray-some",
|
|
49884
49884
|
{ "w-8 h-8 rounded-full bg-transparent": e.styledButton && !e.buttonClass }
|
|
@@ -49894,10 +49894,10 @@ const Os = /* @__PURE__ */ o({
|
|
|
49894
49894
|
]),
|
|
49895
49895
|
_: 3
|
|
49896
49896
|
}, 16, ["class"]),
|
|
49897
|
-
T(
|
|
49897
|
+
T($i, null, {
|
|
49898
49898
|
default: I(() => [
|
|
49899
49899
|
(v(), j(H5, { to: "#tooltips" }, [
|
|
49900
|
-
W0(T(w(
|
|
49900
|
+
W0(T(w(Ds), {
|
|
49901
49901
|
ref: "panel",
|
|
49902
49902
|
class: c1(["drop-shadow bg-white rounded-sm w-96 absolute z-[800]", {
|
|
49903
49903
|
"p-0": e.noMargin,
|
|
@@ -51279,7 +51279,7 @@ function IP(e) {
|
|
|
51279
51279
|
function mm(e, t) {
|
|
51280
51280
|
return `${e.page}${IP(t) ? "/community-resources" : ""}?resource_id=${t.id}`;
|
|
51281
51281
|
}
|
|
51282
|
-
function
|
|
51282
|
+
function Ui(e) {
|
|
51283
51283
|
return e.filesize ? e.filesize : "analysis:content-length" in e.extras ? e.extras["analysis:content-length"] : null;
|
|
51284
51284
|
}
|
|
51285
51285
|
const PP = ["png", "jpg", "jpeg", "jpe", "gif", "webp"];
|
|
@@ -51402,10 +51402,10 @@ function _r(e, t) {
|
|
|
51402
51402
|
return V.extras["analysis:parsing:pmtiles_url"] || V.format === "pmtiles";
|
|
51403
51403
|
}), c = A(() => {
|
|
51404
51404
|
const V = F1(t), z = F1(e);
|
|
51405
|
-
return
|
|
51405
|
+
return es(V.organization) && z.extras.datafairEmbed;
|
|
51406
51406
|
}), u = A(() => {
|
|
51407
51407
|
const V = F1(t), z = F1(e);
|
|
51408
|
-
return
|
|
51408
|
+
return es(V.organization) && z.extras.apidocUrl;
|
|
51409
51409
|
}), h = A(() => fm(F1(e))), d = A(() => h.value === "wms"), p = A(() => wm(F1(e)) === "pmtiles_export"), C = A(() => p.value ? $P(F1(e)) : null), g = A(() => GP(F1(e), i.tabularApiUrl)), m = A(() => XP(F1(e))), f = A(() => {
|
|
51410
51410
|
const z = F1(e).extras["analysis:parsing:ogc_metadata"];
|
|
51411
51411
|
return !z || z.format !== "wfs" ? null : z?.detected_layer?.default_crs ?? null;
|
|
@@ -51452,7 +51452,7 @@ const JP = { class: "fr-pl-0" }, e$ = {
|
|
|
51452
51452
|
const t = e, { t: i } = w1(), r = V2(), { formatRelativeIfRecentDate: n } = We(), { generatedFormats: l, wfsFormats: a, defaultWfsProjection: c } = _r(
|
|
51453
51453
|
() => t.resource,
|
|
51454
51454
|
() => t.dataset
|
|
51455
|
-
), u = A(() =>
|
|
51455
|
+
), u = A(() => Ui(t.resource)), h = A(
|
|
51456
51456
|
() => n(t.resource.extras["analysis:parsing:finished_at"])
|
|
51457
51457
|
);
|
|
51458
51458
|
return (d, p) => (v(), E("dl", JP, [
|
|
@@ -51652,7 +51652,7 @@ const T0 = /* @__PURE__ */ pe(x$, [["render", v$]]), H$ = { class: "flex flex-wr
|
|
|
51652
51652
|
resource: {}
|
|
51653
51653
|
},
|
|
51654
51654
|
setup(e) {
|
|
51655
|
-
const t = e, i = A(() => Object.keys(t.resource.extras).length), r = A(() => Cm(t.resource)), n = A(() =>
|
|
51655
|
+
const t = e, i = A(() => Object.keys(t.resource.extras).length), r = A(() => Cm(t.resource)), n = A(() => Ui(t.resource)), { t: l } = w1(), { formatDate: a } = We();
|
|
51656
51656
|
return (c, u) => (v(), E("div", null, [
|
|
51657
51657
|
S("div", _$, [
|
|
51658
51658
|
S("dl", R$, [
|
|
@@ -52325,7 +52325,7 @@ const MU = { class: "space-y-1 py-6" }, bU = { class: "flex items-center space-x
|
|
|
52325
52325
|
const t = e, i = J(null);
|
|
52326
52326
|
return J1(async () => {
|
|
52327
52327
|
await Promise.resolve({ });
|
|
52328
|
-
const r = await import("./leaflet-src-
|
|
52328
|
+
const r = await import("./leaflet-src-Be0Ohp2k.js").then((a) => a.l);
|
|
52329
52329
|
if (!i.value) return;
|
|
52330
52330
|
const n = r.map(i.value);
|
|
52331
52331
|
r.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
|
@@ -52440,7 +52440,7 @@ function vm(e, t, i) {
|
|
|
52440
52440
|
}
|
|
52441
52441
|
}, { flush: a }), l ? A(() => (d.value = !0, p.value)) : p;
|
|
52442
52442
|
}
|
|
52443
|
-
const
|
|
52443
|
+
const qi = Ly ? window : void 0;
|
|
52444
52444
|
function St(e) {
|
|
52445
52445
|
var t;
|
|
52446
52446
|
const i = F1(e);
|
|
@@ -52448,15 +52448,15 @@ function St(e) {
|
|
|
52448
52448
|
}
|
|
52449
52449
|
function K0(...e) {
|
|
52450
52450
|
const t = (r, n, l, a) => (r.addEventListener(n, l, a), () => r.removeEventListener(n, l, a)), i = A(() => {
|
|
52451
|
-
const r =
|
|
52451
|
+
const r = N9(F1(e[0])).filter((n) => n != null);
|
|
52452
52452
|
return r.every((n) => typeof n != "string") ? r : void 0;
|
|
52453
52453
|
});
|
|
52454
52454
|
return Ny(() => {
|
|
52455
52455
|
var r, n;
|
|
52456
52456
|
return [
|
|
52457
|
-
(r = (n = i.value) === null || n === void 0 ? void 0 : n.map((l) => St(l))) !== null && r !== void 0 ? r : [
|
|
52458
|
-
|
|
52459
|
-
|
|
52457
|
+
(r = (n = i.value) === null || n === void 0 ? void 0 : n.map((l) => St(l))) !== null && r !== void 0 ? r : [qi].filter((l) => l != null),
|
|
52458
|
+
N9(F1(i.value ? e[1] : e[0])),
|
|
52459
|
+
N9(w(i.value ? e[2] : e[1])),
|
|
52460
52460
|
F1(i.value ? e[3] : e[2])
|
|
52461
52461
|
];
|
|
52462
52462
|
}, ([r, n, l, a], c, u) => {
|
|
@@ -52468,7 +52468,7 @@ function K0(...e) {
|
|
|
52468
52468
|
}, { flush: "post" });
|
|
52469
52469
|
}
|
|
52470
52470
|
function RU(e, t, i = {}) {
|
|
52471
|
-
const { window: r =
|
|
52471
|
+
const { window: r = qi, ignore: n = [], capture: l = !0, detectIframe: a = !1, controls: c = !1 } = i;
|
|
52472
52472
|
if (!r) return c ? {
|
|
52473
52473
|
stop: Kt,
|
|
52474
52474
|
cancel: Kt,
|
|
@@ -52546,12 +52546,12 @@ function Hm(e) {
|
|
|
52546
52546
|
return A(() => (t.value, !!e()));
|
|
52547
52547
|
}
|
|
52548
52548
|
function BU(e, t, i = {}) {
|
|
52549
|
-
const { window: r =
|
|
52549
|
+
const { window: r = qi, ...n } = i;
|
|
52550
52550
|
let l;
|
|
52551
52551
|
const a = /* @__PURE__ */ Hm(() => r && "MutationObserver" in r), c = () => {
|
|
52552
52552
|
l && (l.disconnect(), l = void 0);
|
|
52553
52553
|
}, u = j1(A(() => {
|
|
52554
|
-
const p =
|
|
52554
|
+
const p = N9(F1(e)).map(St).filter(xy);
|
|
52555
52555
|
return new Set(p);
|
|
52556
52556
|
}), (p) => {
|
|
52557
52557
|
c(), a.value && p.size && (l = new MutationObserver(t), p.forEach((C) => l.observe(C, n)));
|
|
@@ -52568,7 +52568,7 @@ function BU(e, t, i = {}) {
|
|
|
52568
52568
|
};
|
|
52569
52569
|
}
|
|
52570
52570
|
function AU(e, t, i = {}) {
|
|
52571
|
-
const { window: r =
|
|
52571
|
+
const { window: r = qi, ...n } = i;
|
|
52572
52572
|
let l;
|
|
52573
52573
|
const a = /* @__PURE__ */ Hm(() => r && "ResizeObserver" in r), c = () => {
|
|
52574
52574
|
l && (l.disconnect(), l = void 0);
|
|
@@ -52595,7 +52595,7 @@ function Vm(e, t = {
|
|
|
52595
52595
|
width: 0,
|
|
52596
52596
|
height: 0
|
|
52597
52597
|
}, i = {}) {
|
|
52598
|
-
const { window: r =
|
|
52598
|
+
const { window: r = qi, box: n = "content-box" } = i, l = A(() => {
|
|
52599
52599
|
var p;
|
|
52600
52600
|
return (p = St(e)) === null || p === void 0 || (p = p.namespaceURI) === null || p === void 0 ? void 0 : p.includes("svg");
|
|
52601
52601
|
}), a = At(t.width), c = At(t.height), { stop: u } = AU(e, ([p]) => {
|
|
@@ -52607,7 +52607,7 @@ function Vm(e, t = {
|
|
|
52607
52607
|
a.value = m.width, c.value = m.height;
|
|
52608
52608
|
}
|
|
52609
52609
|
} else if (C) {
|
|
52610
|
-
const g =
|
|
52610
|
+
const g = N9(C);
|
|
52611
52611
|
a.value = g.reduce((m, { inlineSize: f }) => m + f, 0), c.value = g.reduce((m, { blockSize: f }) => m + f, 0);
|
|
52612
52612
|
} else
|
|
52613
52613
|
a.value = p.contentRect.width, c.value = p.contentRect.height;
|
|
@@ -52638,7 +52638,7 @@ function kU(e, t = {}) {
|
|
|
52638
52638
|
}, observe: c = { mutation: !1 }, eventListenerOptions: u = {
|
|
52639
52639
|
capture: !1,
|
|
52640
52640
|
passive: !0
|
|
52641
|
-
}, behavior: h = "auto", window: d =
|
|
52641
|
+
}, behavior: h = "auto", window: d = qi, onError: p = (k) => {
|
|
52642
52642
|
console.error(k);
|
|
52643
52643
|
} } = t, C = typeof c == "boolean" ? { mutation: c } : c, g = At(0), m = At(0), f = A({
|
|
52644
52644
|
get() {
|
|
@@ -53205,7 +53205,7 @@ ha.needsInterpolation = (e, t) => typeof e == "string" || typeof t == "string";
|
|
|
53205
53205
|
const Yu = (e) => 0, Zm = (e, t, i) => {
|
|
53206
53206
|
const r = t - e;
|
|
53207
53207
|
return r === 0 ? 1 : (i - e) / r;
|
|
53208
|
-
}, da = (e, t, i) => -i * e + i * t + e, Em = (e, t) => (i) => Math.max(Math.min(i, t), e),
|
|
53208
|
+
}, da = (e, t, i) => -i * e + i * t + e, Em = (e, t) => (i) => Math.max(Math.min(i, t), e), F9 = (e) => e % 1 ? Number(e.toFixed(5)) : e, A7 = /(-)?([\d]*\.?[\d])+/g, _6 = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, fq = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
|
|
53209
53209
|
function Ps(e) {
|
|
53210
53210
|
return typeof e == "string";
|
|
53211
53211
|
}
|
|
@@ -53219,8 +53219,8 @@ const mq = (e) => ({
|
|
|
53219
53219
|
test: (t) => Ps(t) && t.endsWith(e) && t.split(" ").length === 1,
|
|
53220
53220
|
parse: parseFloat,
|
|
53221
53221
|
transform: (t) => `${t}${e}`
|
|
53222
|
-
}),
|
|
53223
|
-
Object.assign(Object.assign({},
|
|
53222
|
+
}), D9 = mq("%");
|
|
53223
|
+
Object.assign(Object.assign({}, D9), { parse: (e) => D9.parse(e) / 100, transform: (e) => D9.transform(e * 100) });
|
|
53224
53224
|
const pa = (e, t) => (i) => !!(Ps(i) && fq.test(i) && i.startsWith(e) || t && Object.prototype.hasOwnProperty.call(i, t)), Rm = (e, t, i) => (r) => {
|
|
53225
53225
|
if (!Ps(r))
|
|
53226
53226
|
return r;
|
|
@@ -53234,11 +53234,11 @@ const pa = (e, t) => (i) => !!(Ps(i) && fq.test(i) && i.startsWith(e) || t && Ob
|
|
|
53234
53234
|
}, n5 = {
|
|
53235
53235
|
test: pa("hsl", "hue"),
|
|
53236
53236
|
parse: Rm("hue", "saturation", "lightness"),
|
|
53237
|
-
transform: ({ hue: e, saturation: t, lightness: i, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " +
|
|
53237
|
+
transform: ({ hue: e, saturation: t, lightness: i, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + D9.transform(F9(t)) + ", " + D9.transform(F9(i)) + ", " + F9(_m.transform(r)) + ")"
|
|
53238
53238
|
}, wq = Em(0, 255), Cn = Object.assign(Object.assign({}, Rr), { transform: (e) => Math.round(wq(e)) }), x4 = {
|
|
53239
53239
|
test: pa("rgb", "red"),
|
|
53240
53240
|
parse: Rm("red", "green", "blue"),
|
|
53241
|
-
transform: ({ red: e, green: t, blue: i, alpha: r = 1 }) => "rgba(" + Cn.transform(e) + ", " + Cn.transform(t) + ", " + Cn.transform(i) + ", " +
|
|
53241
|
+
transform: ({ red: e, green: t, blue: i, alpha: r = 1 }) => "rgba(" + Cn.transform(e) + ", " + Cn.transform(t) + ", " + Cn.transform(i) + ", " + F9(_m.transform(r)) + ")"
|
|
53242
53242
|
};
|
|
53243
53243
|
function Lq(e) {
|
|
53244
53244
|
let t = "", i = "", r = "", n = "";
|
|
@@ -53279,7 +53279,7 @@ function Fm(e) {
|
|
|
53279
53279
|
return (l) => {
|
|
53280
53280
|
let a = r;
|
|
53281
53281
|
for (let c = 0; c < n; c++)
|
|
53282
|
-
a = a.replace(c < i ? Tm : Bm, c < i ? Tr.transform(l[c]) :
|
|
53282
|
+
a = a.replace(c < i ? Tm : Bm, c < i ? Tr.transform(l[c]) : F9(l[c]));
|
|
53283
53283
|
return a;
|
|
53284
53284
|
};
|
|
53285
53285
|
}
|
|
@@ -53475,8 +53475,8 @@ function $q(e) {
|
|
|
53475
53475
|
return c;
|
|
53476
53476
|
}
|
|
53477
53477
|
const Uq = 40;
|
|
53478
|
-
let T6 = !0,
|
|
53479
|
-
const
|
|
53478
|
+
let T6 = !0, ns = !1, B6 = !1;
|
|
53479
|
+
const O9 = {
|
|
53480
53480
|
delta: 0,
|
|
53481
53481
|
timestamp: 0
|
|
53482
53482
|
}, $s = [
|
|
@@ -53485,15 +53485,15 @@ const D9 = {
|
|
|
53485
53485
|
"preRender",
|
|
53486
53486
|
"render",
|
|
53487
53487
|
"postRender"
|
|
53488
|
-
], Br = $s.reduce((e, t) => (e[t] = $q(() =>
|
|
53488
|
+
], Br = $s.reduce((e, t) => (e[t] = $q(() => ns = !0), e), {}), qq = $s.reduce((e, t) => {
|
|
53489
53489
|
const i = Br[t];
|
|
53490
|
-
return e[t] = (r, n = !1, l = !1) => (
|
|
53490
|
+
return e[t] = (r, n = !1, l = !1) => (ns || Gq(), i.schedule(r, n, l)), e;
|
|
53491
53491
|
}, {}), Wq = $s.reduce((e, t) => (e[t] = Br[t].cancel, e), {});
|
|
53492
|
-
$s.reduce((e, t) => (e[t] = () => Br[t].process(
|
|
53493
|
-
const jq = (e) => Br[e].process(
|
|
53494
|
-
|
|
53492
|
+
$s.reduce((e, t) => (e[t] = () => Br[t].process(O9), e), {});
|
|
53493
|
+
const jq = (e) => Br[e].process(O9), Gm = (e) => {
|
|
53494
|
+
ns = !1, O9.delta = T6 ? Wm : Math.max(Math.min(e - O9.timestamp, Uq), 1), O9.timestamp = e, B6 = !0, $s.forEach(jq), B6 = !1, ns && (T6 = !1, jm(Gm));
|
|
53495
53495
|
}, Gq = () => {
|
|
53496
|
-
|
|
53496
|
+
ns = !0, T6 = !0, B6 || jm(Gm);
|
|
53497
53497
|
};
|
|
53498
53498
|
function Km(e, t, i = 0) {
|
|
53499
53499
|
return e - t - i;
|
|
@@ -53541,14 +53541,14 @@ function ih(e) {
|
|
|
53541
53541
|
}
|
|
53542
53542
|
};
|
|
53543
53543
|
}
|
|
53544
|
-
var
|
|
53545
|
-
return
|
|
53544
|
+
var ls = function() {
|
|
53545
|
+
return ls = Object.assign || function(t) {
|
|
53546
53546
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
53547
53547
|
i = arguments[r];
|
|
53548
53548
|
for (var l in i) Object.prototype.hasOwnProperty.call(i, l) && (t[l] = i[l]);
|
|
53549
53549
|
}
|
|
53550
53550
|
return t;
|
|
53551
|
-
},
|
|
53551
|
+
}, ls.apply(this, arguments);
|
|
53552
53552
|
};
|
|
53553
53553
|
function Ca(e, t) {
|
|
53554
53554
|
var i = {};
|
|
@@ -53587,24 +53587,24 @@ var fn = 0, Ym = typeof window < "u" && window.requestAnimationFrame !== void 0
|
|
|
53587
53587
|
}
|
|
53588
53588
|
};
|
|
53589
53589
|
return u;
|
|
53590
|
-
}, Jq = 40, sh = 1 / 60 * 1e3, l7 = !0,
|
|
53590
|
+
}, Jq = 40, sh = 1 / 60 * 1e3, l7 = !0, as = !1, A6 = !1, v9 = {
|
|
53591
53591
|
delta: 0,
|
|
53592
53592
|
timestamp: 0
|
|
53593
53593
|
}, ga = ["read", "update", "preRender", "render", "postRender"], eW = function(e) {
|
|
53594
|
-
return
|
|
53594
|
+
return as = e;
|
|
53595
53595
|
}, Xm = /* @__PURE__ */ ga.reduce(function(e, t) {
|
|
53596
53596
|
return e[t] = Qq(eW), e;
|
|
53597
53597
|
}, {}), tW = /* @__PURE__ */ ga.reduce(function(e, t) {
|
|
53598
53598
|
var i = Xm[t];
|
|
53599
53599
|
return e[t] = function(r, n, l) {
|
|
53600
|
-
return n === void 0 && (n = !1), l === void 0 && (l = !1),
|
|
53600
|
+
return n === void 0 && (n = !1), l === void 0 && (l = !1), as || sW(), i.schedule(r, n, l), r;
|
|
53601
53601
|
}, e;
|
|
53602
53602
|
}, {}), iW = function(e) {
|
|
53603
|
-
return Xm[e].process(
|
|
53603
|
+
return Xm[e].process(v9);
|
|
53604
53604
|
}, Qm = function(e) {
|
|
53605
|
-
|
|
53605
|
+
as = !1, v9.delta = l7 ? sh : Math.max(Math.min(e - v9.timestamp, Jq), 1), l7 || (sh = v9.delta), v9.timestamp = e, A6 = !0, ga.forEach(iW), A6 = !1, as && (l7 = !1, Ym(Qm));
|
|
53606
53606
|
}, sW = function() {
|
|
53607
|
-
|
|
53607
|
+
as = !0, l7 = !0, A6 || Ym(Qm);
|
|
53608
53608
|
};
|
|
53609
53609
|
var Dt = function() {
|
|
53610
53610
|
return Dt = Object.assign || function(t) {
|
|
@@ -53628,7 +53628,7 @@ var Dt = function() {
|
|
|
53628
53628
|
transform: function(e) {
|
|
53629
53629
|
return e;
|
|
53630
53630
|
}
|
|
53631
|
-
},
|
|
53631
|
+
}, I9 = Dt(Dt({}, Ar), { transform: Jm(0, 1) }), T3 = Dt(Dt({}, Ar), { default: 1 }), fa = function(e) {
|
|
53632
53632
|
return {
|
|
53633
53633
|
test: function(t) {
|
|
53634
53634
|
return typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1;
|
|
@@ -53638,10 +53638,10 @@ var Dt = function() {
|
|
|
53638
53638
|
return "" + t + e;
|
|
53639
53639
|
}
|
|
53640
53640
|
};
|
|
53641
|
-
}, K4 = fa("deg"),
|
|
53642
|
-
return
|
|
53641
|
+
}, K4 = fa("deg"), P9 = fa("%"), l2 = fa("px"), rh = Dt(Dt({}, P9), { parse: function(e) {
|
|
53642
|
+
return P9.parse(e) / 100;
|
|
53643
53643
|
}, transform: function(e) {
|
|
53644
|
-
return
|
|
53644
|
+
return P9.transform(e * 100);
|
|
53645
53645
|
} }), rW = function(e) {
|
|
53646
53646
|
return e.substring(e.indexOf("(") + 1, e.lastIndexOf(")"));
|
|
53647
53647
|
}, nW = Jm(0, 255), k6 = function(e) {
|
|
@@ -53683,7 +53683,7 @@ var o7 = {
|
|
|
53683
53683
|
red: mn.transform(t),
|
|
53684
53684
|
green: mn.transform(i),
|
|
53685
53685
|
blue: mn.transform(r),
|
|
53686
|
-
alpha: a7(
|
|
53686
|
+
alpha: a7(I9.transform(l))
|
|
53687
53687
|
});
|
|
53688
53688
|
}
|
|
53689
53689
|
}, wn = {
|
|
@@ -53695,9 +53695,9 @@ var o7 = {
|
|
|
53695
53695
|
var t = e.hue, i = e.saturation, r = e.lightness, n = e.alpha, l = n === void 0 ? 1 : n;
|
|
53696
53696
|
return oW({
|
|
53697
53697
|
hue: Math.round(t),
|
|
53698
|
-
saturation:
|
|
53699
|
-
lightness:
|
|
53700
|
-
alpha: a7(
|
|
53698
|
+
saturation: P9.transform(a7(i)),
|
|
53699
|
+
lightness: P9.transform(a7(r)),
|
|
53700
|
+
alpha: a7(I9.transform(l))
|
|
53701
53701
|
});
|
|
53702
53702
|
}
|
|
53703
53703
|
}, nh = Dt(Dt({}, o7), { test: function(e) {
|
|
@@ -53787,7 +53787,7 @@ var LW = /* @__PURE__ */ new Set(["originX", "originY", "originZ"]);
|
|
|
53787
53787
|
function xW(e) {
|
|
53788
53788
|
return LW.has(e);
|
|
53789
53789
|
}
|
|
53790
|
-
var lh = /* @__PURE__ */
|
|
53790
|
+
var lh = /* @__PURE__ */ ls(/* @__PURE__ */ ls({}, Ar), { transform: Math.round }), yW = {
|
|
53791
53791
|
color: o0,
|
|
53792
53792
|
backgroundColor: o0,
|
|
53793
53793
|
outlineColor: o0,
|
|
@@ -53847,19 +53847,19 @@ var lh = /* @__PURE__ */ ns(/* @__PURE__ */ ns({}, Ar), { transform: Math.round
|
|
|
53847
53847
|
y: l2,
|
|
53848
53848
|
z: l2,
|
|
53849
53849
|
perspective: l2,
|
|
53850
|
-
opacity:
|
|
53850
|
+
opacity: I9,
|
|
53851
53851
|
originX: rh,
|
|
53852
53852
|
originY: rh,
|
|
53853
53853
|
originZ: l2,
|
|
53854
53854
|
zIndex: lh,
|
|
53855
|
-
fillOpacity:
|
|
53856
|
-
strokeOpacity:
|
|
53855
|
+
fillOpacity: I9,
|
|
53856
|
+
strokeOpacity: I9,
|
|
53857
53857
|
numOctaves: lh
|
|
53858
53858
|
}, ya = function(e) {
|
|
53859
53859
|
return yW[e];
|
|
53860
53860
|
}, vW = function(e, t) {
|
|
53861
53861
|
return t && typeof e == "number" ? t.transform(e) : e;
|
|
53862
|
-
},
|
|
53862
|
+
}, $9 = "scrollLeft", U9 = "scrollTop", lw = /* @__PURE__ */ new Set([$9, U9]), HW = /* @__PURE__ */ new Set([$9, U9, "transform"]), VW = {
|
|
53863
53863
|
x: "translateX",
|
|
53864
53864
|
y: "translateY",
|
|
53865
53865
|
z: "translateZ"
|
|
@@ -53908,7 +53908,7 @@ function zW(e, t, i) {
|
|
|
53908
53908
|
var u = i[c];
|
|
53909
53909
|
u.startsWith("--") && r.style.setProperty(u, e[u]);
|
|
53910
53910
|
}
|
|
53911
|
-
i.indexOf(
|
|
53911
|
+
i.indexOf($9) !== -1 && (r[$9] = e[$9]), i.indexOf(U9) !== -1 && (r[U9] = e[U9]);
|
|
53912
53912
|
}
|
|
53913
53913
|
var NW = /* @__PURE__ */ wa({
|
|
53914
53914
|
onRead: bW,
|
|
@@ -53918,7 +53918,7 @@ var NW = /* @__PURE__ */ wa({
|
|
|
53918
53918
|
function ZW(e, t) {
|
|
53919
53919
|
t === void 0 && (t = {});
|
|
53920
53920
|
var i = t.enableHardwareAcceleration, r = t.allowTransformNone, n = Ca(t, ["enableHardwareAcceleration", "allowTransformNone"]);
|
|
53921
|
-
return NW(
|
|
53921
|
+
return NW(ls({ element: e, buildStyles: va({
|
|
53922
53922
|
enableHardwareAcceleration: i,
|
|
53923
53923
|
allowTransformNone: r
|
|
53924
53924
|
}), preparseOutput: !0 }, n));
|
|
@@ -54528,7 +54528,7 @@ const zj = "data:image/svg+xml,%3csvg%20width='208'%20height='282'%20viewBox='0%
|
|
|
54528
54528
|
}, [
|
|
54529
54529
|
T(x2, {
|
|
54530
54530
|
color: "tertiary",
|
|
54531
|
-
icon: g(z) && u.value && u.value.direction === "asc" ? w(
|
|
54531
|
+
icon: g(z) && u.value && u.value.direction === "asc" ? w(Ls) : w(ws),
|
|
54532
54532
|
"icon-right": "",
|
|
54533
54533
|
size: "xs",
|
|
54534
54534
|
onClick: (b) => L(z)
|
|
@@ -55041,12 +55041,12 @@ const sG = { class: "relative shrink-0" }, rG = ["value"], nG = ["value"], lG =
|
|
|
55041
55041
|
})
|
|
55042
55042
|
]));
|
|
55043
55043
|
}
|
|
55044
|
-
}), $G = /* @__PURE__ */ pe(PG, [["__scopeId", "data-v-9422ea11"]]), Va = /* @__PURE__ */ Symbol.for("yaml.alias"), $6 = /* @__PURE__ */ Symbol.for("yaml.document"), S4 = /* @__PURE__ */ Symbol.for("yaml.map"), ww = /* @__PURE__ */ Symbol.for("yaml.pair"), v0 = /* @__PURE__ */ Symbol.for("yaml.scalar"),
|
|
55044
|
+
}), $G = /* @__PURE__ */ pe(PG, [["__scopeId", "data-v-9422ea11"]]), Va = /* @__PURE__ */ Symbol.for("yaml.alias"), $6 = /* @__PURE__ */ Symbol.for("yaml.document"), S4 = /* @__PURE__ */ Symbol.for("yaml.map"), ww = /* @__PURE__ */ Symbol.for("yaml.pair"), v0 = /* @__PURE__ */ Symbol.for("yaml.scalar"), Wi = /* @__PURE__ */ Symbol.for("yaml.seq"), Ot = /* @__PURE__ */ Symbol.for("yaml.node.type"), ji = (e) => !!e && typeof e == "object" && e[Ot] === Va, Or = (e) => !!e && typeof e == "object" && e[Ot] === $6, js = (e) => !!e && typeof e == "object" && e[Ot] === S4, oe = (e) => !!e && typeof e == "object" && e[Ot] === ww, I2 = (e) => !!e && typeof e == "object" && e[Ot] === v0, Gs = (e) => !!e && typeof e == "object" && e[Ot] === Wi;
|
|
55045
55045
|
function ne(e) {
|
|
55046
55046
|
if (e && typeof e == "object")
|
|
55047
55047
|
switch (e[Ot]) {
|
|
55048
55048
|
case S4:
|
|
55049
|
-
case
|
|
55049
|
+
case Wi:
|
|
55050
55050
|
return !0;
|
|
55051
55051
|
}
|
|
55052
55052
|
return !1;
|
|
@@ -55057,19 +55057,19 @@ function ae(e) {
|
|
|
55057
55057
|
case Va:
|
|
55058
55058
|
case S4:
|
|
55059
55059
|
case v0:
|
|
55060
|
-
case
|
|
55060
|
+
case Wi:
|
|
55061
55061
|
return !0;
|
|
55062
55062
|
}
|
|
55063
55063
|
return !1;
|
|
55064
55064
|
}
|
|
55065
|
-
const Lw = (e) => (I2(e) || ne(e)) && !!e.anchor, e5 = /* @__PURE__ */ Symbol("break visit"), UG = /* @__PURE__ */ Symbol("skip children"),
|
|
55066
|
-
function
|
|
55065
|
+
const Lw = (e) => (I2(e) || ne(e)) && !!e.anchor, e5 = /* @__PURE__ */ Symbol("break visit"), UG = /* @__PURE__ */ Symbol("skip children"), q9 = /* @__PURE__ */ Symbol("remove node");
|
|
55066
|
+
function Gi(e, t) {
|
|
55067
55067
|
const i = qG(t);
|
|
55068
|
-
Or(e) ? ci(null, e.contents, i, Object.freeze([e])) ===
|
|
55068
|
+
Or(e) ? ci(null, e.contents, i, Object.freeze([e])) === q9 && (e.contents = null) : ci(null, e, i, Object.freeze([]));
|
|
55069
55069
|
}
|
|
55070
|
-
|
|
55071
|
-
|
|
55072
|
-
|
|
55070
|
+
Gi.BREAK = e5;
|
|
55071
|
+
Gi.SKIP = UG;
|
|
55072
|
+
Gi.REMOVE = q9;
|
|
55073
55073
|
function ci(e, t, i, r) {
|
|
55074
55074
|
const n = WG(e, t, i, r);
|
|
55075
55075
|
if (ae(n) || oe(n))
|
|
@@ -55084,7 +55084,7 @@ function ci(e, t, i, r) {
|
|
|
55084
55084
|
else {
|
|
55085
55085
|
if (a === e5)
|
|
55086
55086
|
return e5;
|
|
55087
|
-
a ===
|
|
55087
|
+
a === q9 && (t.items.splice(l, 1), l -= 1);
|
|
55088
55088
|
}
|
|
55089
55089
|
}
|
|
55090
55090
|
} else if (oe(t)) {
|
|
@@ -55092,11 +55092,11 @@ function ci(e, t, i, r) {
|
|
|
55092
55092
|
const l = ci("key", t.key, i, r);
|
|
55093
55093
|
if (l === e5)
|
|
55094
55094
|
return e5;
|
|
55095
|
-
l ===
|
|
55095
|
+
l === q9 && (t.key = null);
|
|
55096
55096
|
const a = ci("value", t.value, i, r);
|
|
55097
55097
|
if (a === e5)
|
|
55098
55098
|
return e5;
|
|
55099
|
-
a ===
|
|
55099
|
+
a === q9 && (t.value = null);
|
|
55100
55100
|
}
|
|
55101
55101
|
}
|
|
55102
55102
|
return n;
|
|
@@ -55127,7 +55127,7 @@ function WG(e, t, i, r) {
|
|
|
55127
55127
|
return i.Pair?.(e, t, r);
|
|
55128
55128
|
if (I2(t))
|
|
55129
55129
|
return i.Scalar?.(e, t, r);
|
|
55130
|
-
if (
|
|
55130
|
+
if (ji(t))
|
|
55131
55131
|
return i.Alias?.(e, t, r);
|
|
55132
55132
|
}
|
|
55133
55133
|
function jG(e, t, i) {
|
|
@@ -55139,7 +55139,7 @@ function jG(e, t, i) {
|
|
|
55139
55139
|
else if (Or(r))
|
|
55140
55140
|
r.contents = i;
|
|
55141
55141
|
else {
|
|
55142
|
-
const n =
|
|
55142
|
+
const n = ji(r) ? "alias" : "scalar";
|
|
55143
55143
|
throw new Error(`Cannot replace node with ${n} parent`);
|
|
55144
55144
|
}
|
|
55145
55145
|
}
|
|
@@ -55248,7 +55248,7 @@ class Ye {
|
|
|
55248
55248
|
let n;
|
|
55249
55249
|
if (t && r.length > 0 && ae(t.contents)) {
|
|
55250
55250
|
const l = {};
|
|
55251
|
-
|
|
55251
|
+
Gi(t.contents, (a, c) => {
|
|
55252
55252
|
ae(c) && c.tag && (l[c.tag] = !0);
|
|
55253
55253
|
}), n = Object.keys(l);
|
|
55254
55254
|
} else
|
|
@@ -55270,7 +55270,7 @@ function xw(e) {
|
|
|
55270
55270
|
}
|
|
55271
55271
|
function yw(e) {
|
|
55272
55272
|
const t = /* @__PURE__ */ new Set();
|
|
55273
|
-
return
|
|
55273
|
+
return Gi(e, {
|
|
55274
55274
|
Value(i, r) {
|
|
55275
55275
|
r.anchor && t.add(r.anchor);
|
|
55276
55276
|
}
|
|
@@ -55393,9 +55393,9 @@ class Ma extends Sa {
|
|
|
55393
55393
|
if (i?.maxAliasCount === 0)
|
|
55394
55394
|
throw new ReferenceError("Alias resolution is disabled");
|
|
55395
55395
|
let r;
|
|
55396
|
-
i?.aliasResolveCache ? r = i.aliasResolveCache : (r = [],
|
|
55396
|
+
i?.aliasResolveCache ? r = i.aliasResolveCache : (r = [], Gi(t, {
|
|
55397
55397
|
Node: (l, a) => {
|
|
55398
|
-
(
|
|
55398
|
+
(ji(a) || Lw(a)) && r.push(a);
|
|
55399
55399
|
}
|
|
55400
55400
|
}), i && (i.aliasResolveCache = r));
|
|
55401
55401
|
let n;
|
|
@@ -55439,7 +55439,7 @@ class Ma extends Sa {
|
|
|
55439
55439
|
}
|
|
55440
55440
|
}
|
|
55441
55441
|
function c7(e, t, i) {
|
|
55442
|
-
if (
|
|
55442
|
+
if (ji(t)) {
|
|
55443
55443
|
const r = t.resolve(e), n = i && r && i.get(r);
|
|
55444
55444
|
return n ? n.count * n.aliasCount : 0;
|
|
55445
55445
|
} else if (ne(t)) {
|
|
@@ -55482,7 +55482,7 @@ function QG(e, t, i) {
|
|
|
55482
55482
|
}
|
|
55483
55483
|
return i.find((r) => r.identify?.(e) && !r.format);
|
|
55484
55484
|
}
|
|
55485
|
-
function
|
|
55485
|
+
function os(e, t, i) {
|
|
55486
55486
|
if (Or(e) && (e = e.contents), ae(e))
|
|
55487
55487
|
return e;
|
|
55488
55488
|
if (oe(e)) {
|
|
@@ -55504,7 +55504,7 @@ function as(e, t, i) {
|
|
|
55504
55504
|
const p = new i2(e);
|
|
55505
55505
|
return u && (u.node = p), p;
|
|
55506
55506
|
}
|
|
55507
|
-
h = e instanceof Map ? a[S4] : Symbol.iterator in Object(e) ? a[
|
|
55507
|
+
h = e instanceof Map ? a[S4] : Symbol.iterator in Object(e) ? a[Wi] : a[S4];
|
|
55508
55508
|
}
|
|
55509
55509
|
l && (l(h), delete i.onTagObj);
|
|
55510
55510
|
const d = h?.createNode ? h.createNode(i.schema, e, i) : typeof h?.nodeClass?.from == "function" ? h.nodeClass.from(i.schema, e, i) : new i2(e);
|
|
@@ -55520,7 +55520,7 @@ function D7(e, t, i) {
|
|
|
55520
55520
|
} else
|
|
55521
55521
|
r = /* @__PURE__ */ new Map([[l, r]]);
|
|
55522
55522
|
}
|
|
55523
|
-
return
|
|
55523
|
+
return os(r, void 0, {
|
|
55524
55524
|
aliasDuplicateObjects: !1,
|
|
55525
55525
|
keepUndefined: !1,
|
|
55526
55526
|
onAnchor: () => {
|
|
@@ -55530,7 +55530,7 @@ function D7(e, t, i) {
|
|
|
55530
55530
|
sourceObjects: /* @__PURE__ */ new Map()
|
|
55531
55531
|
});
|
|
55532
55532
|
}
|
|
55533
|
-
const
|
|
55533
|
+
const H9 = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done;
|
|
55534
55534
|
class Vw extends Sa {
|
|
55535
55535
|
constructor(t, i) {
|
|
55536
55536
|
super(t), Object.defineProperty(this, "schema", {
|
|
@@ -55555,7 +55555,7 @@ class Vw extends Sa {
|
|
|
55555
55555
|
* that already exists in the map.
|
|
55556
55556
|
*/
|
|
55557
55557
|
addIn(t, i) {
|
|
55558
|
-
if (
|
|
55558
|
+
if (H9(t))
|
|
55559
55559
|
this.add(i);
|
|
55560
55560
|
else {
|
|
55561
55561
|
const [r, ...n] = t, l = this.get(r, !0);
|
|
@@ -55735,7 +55735,7 @@ function eK(e, t, i) {
|
|
|
55735
55735
|
}
|
|
55736
55736
|
return !0;
|
|
55737
55737
|
}
|
|
55738
|
-
function
|
|
55738
|
+
function W9(e, t) {
|
|
55739
55739
|
const i = JSON.stringify(e);
|
|
55740
55740
|
if (t.options.doubleQuotedAsJSON)
|
|
55741
55741
|
return i;
|
|
@@ -55799,7 +55799,7 @@ function q9(e, t) {
|
|
|
55799
55799
|
function q6(e, t) {
|
|
55800
55800
|
if (t.options.singleQuote === !1 || t.implicitKey && e.includes(`
|
|
55801
55801
|
`) || /[ \t]\n|\n[ \t]/.test(e))
|
|
55802
|
-
return
|
|
55802
|
+
return W9(e, t);
|
|
55803
55803
|
const i = t.indent || ($r(e) ? " " : ""), r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&
|
|
55804
55804
|
${i}`) + "'";
|
|
55805
55805
|
return t.implicitKey ? r : Ir(r, i, Sw, Pr(t, !1));
|
|
@@ -55808,10 +55808,10 @@ function hi(e, t) {
|
|
|
55808
55808
|
const { singleQuote: i } = t.options;
|
|
55809
55809
|
let r;
|
|
55810
55810
|
if (i === !1)
|
|
55811
|
-
r =
|
|
55811
|
+
r = W9;
|
|
55812
55812
|
else {
|
|
55813
55813
|
const n = e.includes('"'), l = e.includes("'");
|
|
55814
|
-
n && !l ? r = q6 : l && !n ? r =
|
|
55814
|
+
n && !l ? r = q6 : l && !n ? r = W9 : r = i ? q6 : W9;
|
|
55815
55815
|
}
|
|
55816
55816
|
return r(e, t);
|
|
55817
55817
|
}
|
|
@@ -55911,7 +55911,7 @@ function ba(e, t, i, r) {
|
|
|
55911
55911
|
case i2.BLOCK_LITERAL:
|
|
55912
55912
|
return n || l ? hi(a.value, t) : h7(a, t, i, r);
|
|
55913
55913
|
case i2.QUOTE_DOUBLE:
|
|
55914
|
-
return
|
|
55914
|
+
return W9(a.value, t);
|
|
55915
55915
|
case i2.QUOTE_SINGLE:
|
|
55916
55916
|
return q6(a.value, t);
|
|
55917
55917
|
case i2.PLAIN:
|
|
@@ -56004,7 +56004,7 @@ function sK(e, t, { anchors: i, doc: r }) {
|
|
|
56004
56004
|
function Si(e, t, i, r) {
|
|
56005
56005
|
if (oe(e))
|
|
56006
56006
|
return e.toString(t, i, r);
|
|
56007
|
-
if (
|
|
56007
|
+
if (ji(e)) {
|
|
56008
56008
|
if (t.doc.directives)
|
|
56009
56009
|
return e.toString(t);
|
|
56010
56010
|
if (t.resolvedAliases?.has(e))
|
|
@@ -56122,7 +56122,7 @@ function vn(e, t, i) {
|
|
|
56122
56122
|
return t;
|
|
56123
56123
|
}
|
|
56124
56124
|
function Nw(e, t) {
|
|
56125
|
-
return e &&
|
|
56125
|
+
return e && ji(t) ? t.resolve(e.doc, e) : t;
|
|
56126
56126
|
}
|
|
56127
56127
|
function Zw(e, t, { key: i, value: r }) {
|
|
56128
56128
|
if (ae(i) && i.addToJSMap)
|
|
@@ -56168,7 +56168,7 @@ function lK(e, t, i) {
|
|
|
56168
56168
|
return JSON.stringify(t);
|
|
56169
56169
|
}
|
|
56170
56170
|
function za(e, t, i) {
|
|
56171
|
-
const r =
|
|
56171
|
+
const r = os(e, void 0, i), n = os(t, void 0, i);
|
|
56172
56172
|
return new Qe(r, n);
|
|
56173
56173
|
}
|
|
56174
56174
|
class Qe {
|
|
@@ -56366,7 +56366,7 @@ class Bt extends Vw {
|
|
|
56366
56366
|
});
|
|
56367
56367
|
}
|
|
56368
56368
|
}
|
|
56369
|
-
const
|
|
56369
|
+
const Ki = {
|
|
56370
56370
|
collection: "map",
|
|
56371
56371
|
default: !0,
|
|
56372
56372
|
nodeClass: Bt,
|
|
@@ -56381,7 +56381,7 @@ class x5 extends Vw {
|
|
|
56381
56381
|
return "tag:yaml.org,2002:seq";
|
|
56382
56382
|
}
|
|
56383
56383
|
constructor(t) {
|
|
56384
|
-
super(
|
|
56384
|
+
super(Wi, t), this.items = [];
|
|
56385
56385
|
}
|
|
56386
56386
|
add(t) {
|
|
56387
56387
|
this.items.push(t);
|
|
@@ -56455,7 +56455,7 @@ class x5 extends Vw {
|
|
|
56455
56455
|
const u = i instanceof Set ? c : String(a++);
|
|
56456
56456
|
c = n.call(i, u, c);
|
|
56457
56457
|
}
|
|
56458
|
-
l.items.push(
|
|
56458
|
+
l.items.push(os(c, void 0, r));
|
|
56459
56459
|
}
|
|
56460
56460
|
}
|
|
56461
56461
|
return l;
|
|
@@ -56465,7 +56465,7 @@ function A3(e) {
|
|
|
56465
56465
|
let t = I2(e) ? e.value : e;
|
|
56466
56466
|
return t && typeof t == "string" && (t = Number(t)), typeof t == "number" && Number.isInteger(t) && t >= 0 ? t : null;
|
|
56467
56467
|
}
|
|
56468
|
-
const
|
|
56468
|
+
const Yi = {
|
|
56469
56469
|
collection: "seq",
|
|
56470
56470
|
default: !0,
|
|
56471
56471
|
nodeClass: x5,
|
|
@@ -56578,8 +56578,8 @@ const Aw = {
|
|
|
56578
56578
|
resolve: (e, t, i) => Za(e, 2, 16, i),
|
|
56579
56579
|
stringify: (e) => Bw(e, 16, "0x")
|
|
56580
56580
|
}, cK = [
|
|
56581
|
-
Gi,
|
|
56582
56581
|
Ki,
|
|
56582
|
+
Yi,
|
|
56583
56583
|
Ur,
|
|
56584
56584
|
qr,
|
|
56585
56585
|
Na,
|
|
@@ -56641,7 +56641,7 @@ const k3 = ({ value: e }) => JSON.stringify(e), uK = [
|
|
|
56641
56641
|
resolve(e, t) {
|
|
56642
56642
|
return t(`Unresolved plain scalar ${JSON.stringify(e)}`), e;
|
|
56643
56643
|
}
|
|
56644
|
-
}, dK = [
|
|
56644
|
+
}, dK = [Ki, Yi].concat(uK, hK), Ea = {
|
|
56645
56645
|
identify: (e) => e instanceof Uint8Array,
|
|
56646
56646
|
// Buffer inherits from Uint8Array
|
|
56647
56647
|
default: !1,
|
|
@@ -57003,8 +57003,8 @@ const qw = {
|
|
|
57003
57003
|
},
|
|
57004
57004
|
stringify: ({ value: e }) => e?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
|
|
57005
57005
|
}, dh = [
|
|
57006
|
-
Gi,
|
|
57007
57006
|
Ki,
|
|
57007
|
+
Yi,
|
|
57008
57008
|
Ur,
|
|
57009
57009
|
qr,
|
|
57010
57010
|
Pw,
|
|
@@ -57026,7 +57026,7 @@ const qw = {
|
|
|
57026
57026
|
Gr
|
|
57027
57027
|
], ph = /* @__PURE__ */ new Map([
|
|
57028
57028
|
["core", cK],
|
|
57029
|
-
["failsafe", [
|
|
57029
|
+
["failsafe", [Ki, Yi, Ur]],
|
|
57030
57030
|
["json", dK],
|
|
57031
57031
|
["yaml11", dh],
|
|
57032
57032
|
["yaml-1.1", dh]
|
|
@@ -57041,12 +57041,12 @@ const qw = {
|
|
|
57041
57041
|
intHex: Fw,
|
|
57042
57042
|
intOct: Aw,
|
|
57043
57043
|
intTime: qw,
|
|
57044
|
-
map:
|
|
57044
|
+
map: Ki,
|
|
57045
57045
|
merge: Y0,
|
|
57046
57046
|
null: qr,
|
|
57047
57047
|
omap: Ra,
|
|
57048
57048
|
pairs: _a,
|
|
57049
|
-
seq:
|
|
57049
|
+
seq: Yi,
|
|
57050
57050
|
set: Ba,
|
|
57051
57051
|
timestamp: Gr
|
|
57052
57052
|
}, xK = {
|
|
@@ -57085,7 +57085,7 @@ function Hn(e, t, i) {
|
|
|
57085
57085
|
const yK = (e, t) => e.key < t.key ? -1 : e.key > t.key ? 1 : 0;
|
|
57086
57086
|
class ka {
|
|
57087
57087
|
constructor({ compat: t, customTags: i, merge: r, resolveKnownTags: n, schema: l, sortMapEntries: a, toStringDefaults: c }) {
|
|
57088
|
-
this.compat = Array.isArray(t) ? Hn(t, "compat") : t ? Hn(null, t) : null, this.name = typeof l == "string" && l || "core", this.knownTags = n ? xK : {}, this.tags = Hn(i, this.name, r), this.toStringOptions = c ?? null, Object.defineProperty(this, S4, { value:
|
|
57088
|
+
this.compat = Array.isArray(t) ? Hn(t, "compat") : t ? Hn(null, t) : null, this.name = typeof l == "string" && l || "core", this.knownTags = n ? xK : {}, this.tags = Hn(i, this.name, r), this.toStringOptions = c ?? null, Object.defineProperty(this, S4, { value: Ki }), Object.defineProperty(this, v0, { value: Ur }), Object.defineProperty(this, Wi, { value: Yi }), this.sortMapEntries = typeof a == "function" ? a : a === !0 ? yK : null;
|
|
57089
57089
|
}
|
|
57090
57090
|
clone() {
|
|
57091
57091
|
const t = Object.create(ka.prototype, Object.getOwnPropertyDescriptors(this));
|
|
@@ -57210,7 +57210,7 @@ let jw = class Gw {
|
|
|
57210
57210
|
replacer: n,
|
|
57211
57211
|
schema: this.schema,
|
|
57212
57212
|
sourceObjects: g
|
|
57213
|
-
}, f =
|
|
57213
|
+
}, f = os(t, d, m);
|
|
57214
57214
|
return c && ne(f) && (f.flow = !0), C(), f;
|
|
57215
57215
|
}
|
|
57216
57216
|
/**
|
|
@@ -57233,7 +57233,7 @@ let jw = class Gw {
|
|
|
57233
57233
|
* @returns `true` if the item was found and removed.
|
|
57234
57234
|
*/
|
|
57235
57235
|
deleteIn(t) {
|
|
57236
|
-
return
|
|
57236
|
+
return H9(t) ? this.contents == null ? !1 : (this.contents = null, !0) : K5(this.contents) ? this.contents.deleteIn(t) : !1;
|
|
57237
57237
|
}
|
|
57238
57238
|
/**
|
|
57239
57239
|
* Returns item at `key`, or `undefined` if not found. By default unwraps
|
|
@@ -57249,7 +57249,7 @@ let jw = class Gw {
|
|
|
57249
57249
|
* `true` (collections are always returned intact).
|
|
57250
57250
|
*/
|
|
57251
57251
|
getIn(t, i) {
|
|
57252
|
-
return
|
|
57252
|
+
return H9(t) ? !i && I2(this.contents) ? this.contents.value : this.contents : ne(this.contents) ? this.contents.getIn(t, i) : void 0;
|
|
57253
57253
|
}
|
|
57254
57254
|
/**
|
|
57255
57255
|
* Checks if the document includes a value with the key `key`.
|
|
@@ -57261,7 +57261,7 @@ let jw = class Gw {
|
|
|
57261
57261
|
* Checks if the document includes a value at `path`.
|
|
57262
57262
|
*/
|
|
57263
57263
|
hasIn(t) {
|
|
57264
|
-
return
|
|
57264
|
+
return H9(t) ? this.contents !== void 0 : ne(this.contents) ? this.contents.hasIn(t) : !1;
|
|
57265
57265
|
}
|
|
57266
57266
|
/**
|
|
57267
57267
|
* Sets a value in this document. For `!!set`, `value` needs to be a
|
|
@@ -57275,7 +57275,7 @@ let jw = class Gw {
|
|
|
57275
57275
|
* boolean to add/remove the item from the set.
|
|
57276
57276
|
*/
|
|
57277
57277
|
setIn(t, i) {
|
|
57278
|
-
|
|
57278
|
+
H9(t) ? this.contents = i : this.contents == null ? this.contents = D7(this.schema, Array.from(t), i) : K5(this.contents) && this.contents.setIn(t, i);
|
|
57279
57279
|
}
|
|
57280
57280
|
/**
|
|
57281
57281
|
* Change the YAML version and schema used by the document.
|
|
@@ -57355,7 +57355,7 @@ class Kw extends Error {
|
|
|
57355
57355
|
super(), this.name = t, this.code = r, this.message = n, this.pos = i;
|
|
57356
57356
|
}
|
|
57357
57357
|
}
|
|
57358
|
-
class
|
|
57358
|
+
class V9 extends Kw {
|
|
57359
57359
|
constructor(t, i, r) {
|
|
57360
57360
|
super("YAMLParseError", t, i, r);
|
|
57361
57361
|
}
|
|
@@ -57442,7 +57442,7 @@ function Mi(e, { flow: t, indicator: i, next: r, offset: n, onError: l, parentIn
|
|
|
57442
57442
|
start: M ?? B
|
|
57443
57443
|
};
|
|
57444
57444
|
}
|
|
57445
|
-
function
|
|
57445
|
+
function cs(e) {
|
|
57446
57446
|
if (!e)
|
|
57447
57447
|
return null;
|
|
57448
57448
|
switch (e.type) {
|
|
@@ -57469,7 +57469,7 @@ function os(e) {
|
|
|
57469
57469
|
if (i.type === "newline")
|
|
57470
57470
|
return !0;
|
|
57471
57471
|
}
|
|
57472
|
-
if (
|
|
57472
|
+
if (cs(t.key) || cs(t.value))
|
|
57473
57473
|
return !0;
|
|
57474
57474
|
}
|
|
57475
57475
|
return !1;
|
|
@@ -57480,7 +57480,7 @@ function os(e) {
|
|
|
57480
57480
|
function j6(e, t, i) {
|
|
57481
57481
|
if (t?.type === "flow-collection") {
|
|
57482
57482
|
const r = t.end[0];
|
|
57483
|
-
r.indent === e && (r.source === "]" || r.source === "}") &&
|
|
57483
|
+
r.indent === e && (r.source === "]" || r.source === "}") && cs(t) && i(r, "BAD_INDENT", "Flow end indicator should be more indented than parent", !0);
|
|
57484
57484
|
}
|
|
57485
57485
|
}
|
|
57486
57486
|
function Yw(e, t, i) {
|
|
@@ -57510,7 +57510,7 @@ function VK({ composeNode: e, composeEmptyNode: t }, i, r, n, l) {
|
|
|
57510
57510
|
` + f.comment : c.comment = f.comment);
|
|
57511
57511
|
continue;
|
|
57512
57512
|
}
|
|
57513
|
-
(f.newlineAfterProp ||
|
|
57513
|
+
(f.newlineAfterProp || cs(C)) && n(C ?? p[p.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
|
|
57514
57514
|
} else f.found?.indent !== r.indent && n(u, "BAD_INDENT", fh);
|
|
57515
57515
|
i.atKey = !0;
|
|
57516
57516
|
const y = f.end, H = C ? e(i, C, f, n) : t(i, y, p, null, f, n);
|
|
@@ -57613,7 +57613,7 @@ function MK({ composeNode: e, composeEmptyNode: t }, i, r, n, l) {
|
|
|
57613
57613
|
` + b.comment : h.comment = b.comment), p = b.end;
|
|
57614
57614
|
continue;
|
|
57615
57615
|
}
|
|
57616
|
-
!a && i.options.strict &&
|
|
57616
|
+
!a && i.options.strict && cs(V) && n(
|
|
57617
57617
|
V,
|
|
57618
57618
|
// checked by containsNewline()
|
|
57619
57619
|
"MULTILINE_IMPLICIT_KEY",
|
|
@@ -58149,7 +58149,7 @@ function $K(e, t, { offset: i, start: r, value: n, end: l }, a) {
|
|
|
58149
58149
|
const p = u.contents.range[2], C = Ys(l, p, !1, a);
|
|
58150
58150
|
return C.comment && (u.comment = C.comment), u.range = [i, p, C.offset], u;
|
|
58151
58151
|
}
|
|
58152
|
-
function
|
|
58152
|
+
function p9(e) {
|
|
58153
58153
|
if (typeof e == "number")
|
|
58154
58154
|
return [e, e + 1];
|
|
58155
58155
|
if (Array.isArray(e))
|
|
@@ -58180,8 +58180,8 @@ function mh(e) {
|
|
|
58180
58180
|
class UK {
|
|
58181
58181
|
constructor(t = {}) {
|
|
58182
58182
|
this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (i, r, n, l) => {
|
|
58183
|
-
const a =
|
|
58184
|
-
l ? this.warnings.push(new HK(a, r, n)) : this.errors.push(new
|
|
58183
|
+
const a = p9(i);
|
|
58184
|
+
l ? this.warnings.push(new HK(a, r, n)) : this.errors.push(new V9(a, r, n));
|
|
58185
58185
|
}, this.directives = new Ye({ version: t.version || "1.2" }), this.options = t;
|
|
58186
58186
|
}
|
|
58187
58187
|
decorate(t, i) {
|
|
@@ -58243,7 +58243,7 @@ ${a}` : r;
|
|
|
58243
58243
|
switch (t.type) {
|
|
58244
58244
|
case "directive":
|
|
58245
58245
|
this.directives.add(t.source, (i, r, n) => {
|
|
58246
|
-
const l =
|
|
58246
|
+
const l = p9(t);
|
|
58247
58247
|
l[0] += i, this.onError(l, "BAD_DIRECTIVE", r, n);
|
|
58248
58248
|
}), this.prelude.push(t.source), this.atDirectives = !0;
|
|
58249
58249
|
break;
|
|
@@ -58260,14 +58260,14 @@ ${a}` : r;
|
|
|
58260
58260
|
this.prelude.push(t.source);
|
|
58261
58261
|
break;
|
|
58262
58262
|
case "error": {
|
|
58263
|
-
const i = t.source ? `${t.message}: ${JSON.stringify(t.source)}` : t.message, r = new
|
|
58263
|
+
const i = t.source ? `${t.message}: ${JSON.stringify(t.source)}` : t.message, r = new V9(p9(t), "UNEXPECTED_TOKEN", i);
|
|
58264
58264
|
this.atDirectives || !this.doc ? this.errors.push(r) : this.doc.errors.push(r);
|
|
58265
58265
|
break;
|
|
58266
58266
|
}
|
|
58267
58267
|
case "doc-end": {
|
|
58268
58268
|
if (!this.doc) {
|
|
58269
58269
|
const r = "Unexpected doc-end without preceding document";
|
|
58270
|
-
this.errors.push(new
|
|
58270
|
+
this.errors.push(new V9(p9(t), "UNEXPECTED_TOKEN", r));
|
|
58271
58271
|
break;
|
|
58272
58272
|
}
|
|
58273
58273
|
this.doc.directives.docEnd = !0;
|
|
@@ -58281,7 +58281,7 @@ ${i.comment}` : i.comment;
|
|
|
58281
58281
|
break;
|
|
58282
58282
|
}
|
|
58283
58283
|
default:
|
|
58284
|
-
this.errors.push(new
|
|
58284
|
+
this.errors.push(new V9(p9(t), "UNEXPECTED_TOKEN", `Unsupported token ${t.type}`));
|
|
58285
58285
|
}
|
|
58286
58286
|
}
|
|
58287
58287
|
/**
|
|
@@ -59480,7 +59480,7 @@ function QK(e, t = {}) {
|
|
|
59480
59480
|
if (!a)
|
|
59481
59481
|
a = c;
|
|
59482
59482
|
else if (a.options.logLevel !== "silent") {
|
|
59483
|
-
a.errors.push(new
|
|
59483
|
+
a.errors.push(new V9(c.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
|
|
59484
59484
|
break;
|
|
59485
59485
|
}
|
|
59486
59486
|
return r && i && (a.errors.forEach(gh(e, i)), a.warnings.forEach(gh(e, i))), a;
|
|
@@ -59796,10 +59796,10 @@ const eY = {
|
|
|
59796
59796
|
canEdit: { type: Boolean, default: !1 }
|
|
59797
59797
|
},
|
|
59798
59798
|
setup(e) {
|
|
59799
|
-
const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, r = V2(), n = nt(() => import("./MapContainer.client-
|
|
59799
|
+
const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, r = V2(), n = nt(() => import("./MapContainer.client-D0-Dn7jq.js")), l = nt(() => import("./Pmtiles.client-CCpvggkZ.js")), a = nt(() => import("./JsonPreview.client-CU1FWFIy.js")), c = nt(() => import("./PdfPreview.client-B7eDgq8y.js")), u = nt(() => import("./XmlPreview.client-CyjpNh5i.js")), h = nt(() => import("./ImagePreview.client-XSR9THWR.js")), d = nt(() => import("./Datafair.client-fxOwwaND.js")), { t: p } = w1(), { formatRelativeIfRecentDate: C } = We(), g = Lm(), m = A(() => {
|
|
59800
59800
|
const v1 = i.resource.format?.toLowerCase();
|
|
59801
59801
|
return v1 === "json" || v1 === "pdf" || v1 === "xml" || z6(v1);
|
|
59802
|
-
}), f = A(() => g(i.resource)), L = A(() => i.resource.extras["analysis:parsing:pmtiles_url"] || i.resource.format === "pmtiles"), y = A(() =>
|
|
59802
|
+
}), f = A(() => g(i.resource)), L = A(() => i.resource.extras["analysis:parsing:pmtiles_url"] || i.resource.format === "pmtiles"), y = A(() => es(i.dataset.organization) && i.resource.extras.datafairEmbed), H = A(() => es(i.dataset.organization) && i.resource.extras.apidocUrl), V = A(() => Er(i.resource.format) ? i.resource.format : p("Fichier")), z = A(() => fm(i.resource)), M = A(() => z.value === "wms"), b = J(i.expandedOnMount), B = () => {
|
|
59803
59803
|
b.value = !b.value, b.value ? ze("Open resource", i.resource.id) : ze("Close resource", i.resource.id);
|
|
59804
59804
|
}, R = A(() => {
|
|
59805
59805
|
const v1 = [];
|
|
@@ -59807,7 +59807,7 @@ const eY = {
|
|
|
59807
59807
|
}), k = (v1) => {
|
|
59808
59808
|
const q = R.value[v1];
|
|
59809
59809
|
q && (ze("View resource tab", i.resource.id, q.label), q.key === "data" && ze("Show preview", i.resource.id), q.key === "data-structure" && ze("Show data structure", i.resource.id));
|
|
59810
|
-
}, N = A(() => i.isCommunityResource ? i.resource : null), F = A(() => N.value ? wl(N.value) : null), W = i.resource.last_modified, Q = i.resource.extras && "check:available" in i.resource.extras, n1 = A(() =>
|
|
59810
|
+
}, N = A(() => i.isCommunityResource ? i.resource : null), F = A(() => N.value ? wl(N.value) : null), W = i.resource.last_modified, Q = i.resource.extras && "check:available" in i.resource.extras, n1 = A(() => Ui(i.resource)), t1 = Q && i.resource.extras["check:available"] === !1, r1 = t1 ? p("Le robot de {certifier} n'a pas pu accéder à ce fichier - Télécharger le fichier en {format}", { certifier: r.name, format: V.value }) : p("Télécharger le fichier en {format}", { format: V.value }), p1 = A(() => mm(i.dataset, i.resource)), u1 = "resource-" + i.resource.id, L1 = "resource-" + i.resource.id + "-header", $ = Cm(i.resource), y1 = A(() => t.includes(i.resource.format));
|
|
59811
59811
|
return (v1, q) => (v(), E("div", {
|
|
59812
59812
|
class: c1(["border border-gray-default overflow-auto", { "fr-pb-4v": b.value }])
|
|
59813
59813
|
}, [
|
|
@@ -59929,7 +59929,7 @@ const eY = {
|
|
|
59929
59929
|
"aria-describedby": w($),
|
|
59930
59930
|
color: "secondary",
|
|
59931
59931
|
size: "xs",
|
|
59932
|
-
icon: w(
|
|
59932
|
+
icon: w(J9)
|
|
59933
59933
|
}, {
|
|
59934
59934
|
default: I(() => [
|
|
59935
59935
|
X(_(w(p)("Copier le lien")), 1)
|
|
@@ -60093,12 +60093,12 @@ const eY = {
|
|
|
60093
60093
|
},
|
|
60094
60094
|
setup(e) {
|
|
60095
60095
|
const t = e, { t: i } = w1(), { formatRelativeIfRecentDate: r } = We(), n = A(() => (t.resource.format ? Er(t.resource.format) : null) ?? Cw), l = A(() => OP(t.resource.format)), a = A(() => {
|
|
60096
|
-
const m =
|
|
60096
|
+
const m = Ui(t.resource);
|
|
60097
60097
|
return m ? C5(m) : null;
|
|
60098
60098
|
}), c = J(!1), u = O2("row"), h = O2("card"), d = A(() => u.value?.$el), { floatingStyles: p } = t4(d, h, {
|
|
60099
60099
|
placement: "right-start",
|
|
60100
60100
|
strategy: "fixed",
|
|
60101
|
-
middleware: [YS(16),
|
|
60101
|
+
middleware: [YS(16), Hs(), vs({ padding: 8 })],
|
|
60102
60102
|
whileElementsMounted: e4
|
|
60103
60103
|
});
|
|
60104
60104
|
function C(m) {
|
|
@@ -60146,37 +60146,42 @@ const eY = {
|
|
|
60146
60146
|
]),
|
|
60147
60147
|
_: 1
|
|
60148
60148
|
}, 16, ["to", "replace", "class"]),
|
|
60149
|
-
(
|
|
60150
|
-
|
|
60151
|
-
|
|
60152
|
-
|
|
60153
|
-
|
|
60154
|
-
|
|
60155
|
-
|
|
60156
|
-
|
|
60157
|
-
|
|
60158
|
-
|
|
60159
|
-
|
|
60160
|
-
|
|
60161
|
-
|
|
60162
|
-
|
|
60163
|
-
|
|
60164
|
-
|
|
60165
|
-
|
|
60166
|
-
|
|
60167
|
-
|
|
60168
|
-
|
|
60169
|
-
|
|
60170
|
-
|
|
60171
|
-
|
|
60172
|
-
|
|
60173
|
-
|
|
60174
|
-
|
|
60175
|
-
|
|
60176
|
-
|
|
60177
|
-
|
|
60178
|
-
|
|
60179
|
-
|
|
60149
|
+
T($i, null, {
|
|
60150
|
+
default: I(() => [
|
|
60151
|
+
(v(), j(H5, { to: "body" }, [
|
|
60152
|
+
c.value ? (v(), E("div", {
|
|
60153
|
+
key: 0,
|
|
60154
|
+
ref_key: "card",
|
|
60155
|
+
ref: h,
|
|
60156
|
+
role: "tooltip",
|
|
60157
|
+
class: "pointer-events-none z-[80] w-max rounded border border-gray-default bg-white p-2 text-left shadow-[0_2px_4px_rgba(0,0,0,0.04),2px_4px_16px_rgba(0,0,0,0.12)]",
|
|
60158
|
+
style: L2(w(p))
|
|
60159
|
+
}, [
|
|
60160
|
+
S("span", iX, _(e.resource.title || w(i)("Fichier sans nom")), 1),
|
|
60161
|
+
S("div", sX, [
|
|
60162
|
+
S("span", null, _(w(i)("mis à jour {date}", { date: w(r)(e.resource.last_modified) })), 1),
|
|
60163
|
+
a.value ? (v(), E(h1, { key: 0 }, [
|
|
60164
|
+
f[2] || (f[2] = S("span", null, "·", -1)),
|
|
60165
|
+
S("span", null, _(a.value), 1)
|
|
60166
|
+
], 64)) : U("", !0),
|
|
60167
|
+
e.resource.format ? (v(), E(h1, { key: 1 }, [
|
|
60168
|
+
f[3] || (f[3] = S("span", null, "·", -1)),
|
|
60169
|
+
S("span", rX, _(e.resource.format), 1)
|
|
60170
|
+
], 64)) : U("", !0),
|
|
60171
|
+
f[4] || (f[4] = S("span", null, "·", -1)),
|
|
60172
|
+
S("span", nX, [
|
|
60173
|
+
T(w(xi), {
|
|
60174
|
+
class: "size-3",
|
|
60175
|
+
"aria-hidden": "true"
|
|
60176
|
+
}),
|
|
60177
|
+
X(" " + _(w(we)(e.resource.metrics.views)), 1)
|
|
60178
|
+
])
|
|
60179
|
+
])
|
|
60180
|
+
], 4)) : U("", !0)
|
|
60181
|
+
]))
|
|
60182
|
+
]),
|
|
60183
|
+
_: 1
|
|
60184
|
+
})
|
|
60180
60185
|
], 64));
|
|
60181
60186
|
}
|
|
60182
60187
|
}), lX = { class: "list-none p-0 m-0 space-y-0.5 max-h-80 overflow-y-auto" }, aX = /* @__PURE__ */ o({
|
|
@@ -60191,7 +60196,7 @@ const eY = {
|
|
|
60191
60196
|
const { t } = w1();
|
|
60192
60197
|
return (i, r) => (v(), j(w(Pi), { class: "relative inline-block" }, {
|
|
60193
60198
|
default: I(({ open: n, close: l }) => [
|
|
60194
|
-
T(w(
|
|
60199
|
+
T(w(Fs), {
|
|
60195
60200
|
class: "inline-flex items-center justify-center size-6 rounded text-gray-plain hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-new-primary",
|
|
60196
60201
|
"aria-label": w(t)("Choisir une autre ressource")
|
|
60197
60202
|
}, {
|
|
@@ -60203,7 +60208,7 @@ const eY = {
|
|
|
60203
60208
|
]),
|
|
60204
60209
|
_: 2
|
|
60205
60210
|
}, 1032, ["aria-label"]),
|
|
60206
|
-
T(w(
|
|
60211
|
+
T(w(Ds), { class: "absolute left-0 top-full z-50 mt-1 w-80 max-h-96 overflow-auto bg-white border border-gray-default rounded shadow-lg p-1" }, {
|
|
60207
60212
|
default: I(() => [
|
|
60208
60213
|
S("ul", lX, [
|
|
60209
60214
|
(v(!0), E(h1, null, D1(e.resources, (a) => (v(), E("li", {
|
|
@@ -60428,9 +60433,9 @@ function aL(e) {
|
|
|
60428
60433
|
number: { icon: iH, label: e("Nombre") },
|
|
60429
60434
|
categorical: { icon: CH, label: e("Catégoriel") },
|
|
60430
60435
|
text: { icon: fH, label: e("Texte") },
|
|
60431
|
-
date: { icon:
|
|
60436
|
+
date: { icon: Q9, label: e("Date") },
|
|
60432
60437
|
boolean: { icon: Uv, label: e("Booléen") },
|
|
60433
|
-
year: { icon:
|
|
60438
|
+
year: { icon: Q9, label: e("Année") }
|
|
60434
60439
|
};
|
|
60435
60440
|
}
|
|
60436
60441
|
function oL(e, t) {
|
|
@@ -60490,8 +60495,8 @@ function HX(e) {
|
|
|
60490
60495
|
money: { icon: cH, label: e("Montant") },
|
|
60491
60496
|
percent: { icon: dH, label: e("Pourcentage") },
|
|
60492
60497
|
// Temporal
|
|
60493
|
-
year: { icon:
|
|
60494
|
-
date_fr: { icon:
|
|
60498
|
+
year: { icon: Q9, label: e("Année") },
|
|
60499
|
+
date_fr: { icon: Q9, label: e("Date") },
|
|
60495
60500
|
jour_de_la_semaine: { icon: Ro, label: e("Jour de la semaine") },
|
|
60496
60501
|
mois_de_lannee: { icon: Ro, label: e("Mois de l'année") },
|
|
60497
60502
|
datetime_naive: { icon: b8, label: e("Date et heure") },
|
|
@@ -60603,7 +60608,7 @@ const ZX = ["aria-label"], EX = { class: "w-full table-fixed text-sm border-coll
|
|
|
60603
60608
|
function BX(e) {
|
|
60604
60609
|
$2(uL, e);
|
|
60605
60610
|
}
|
|
60606
|
-
function
|
|
60611
|
+
function Xi() {
|
|
60607
60612
|
const e = m2(uL);
|
|
60608
60613
|
if (!e)
|
|
60609
60614
|
throw new Error("useTabularContext() must be used inside a <TabularExplorer>");
|
|
@@ -60794,10 +60799,10 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
60794
60799
|
withClear: { type: Boolean }
|
|
60795
60800
|
},
|
|
60796
60801
|
setup(e) {
|
|
60797
|
-
const { t } = w1(), { activeFilters: i, sort: r, removeFilter: n, clearAllFilters: l, getColumnDisplay: a } =
|
|
60802
|
+
const { t } = w1(), { activeFilters: i, sort: r, removeFilter: n, clearAllFilters: l, getColumnDisplay: a } = Xi();
|
|
60798
60803
|
return (c, u) => w(i).length > 0 || w(r) ? (v(), E("div", IX, [
|
|
60799
60804
|
w(r) ? (v(), E("span", PX, [
|
|
60800
|
-
(v(), j(a2(w(r).direction === "asc" ? w(
|
|
60805
|
+
(v(), j(a2(w(r).direction === "asc" ? w(Ls) : w(ws)), {
|
|
60801
60806
|
class: "size-3.5",
|
|
60802
60807
|
"aria-hidden": "true"
|
|
60803
60808
|
})),
|
|
@@ -60863,9 +60868,9 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
60863
60868
|
showAllColumns: a,
|
|
60864
60869
|
hideAllColumns: c,
|
|
60865
60870
|
selectOnlyColumn: u
|
|
60866
|
-
} =
|
|
60871
|
+
} = Xi(), h = O2("columnAnchor"), d = O2("columnPanel"), p = A(() => h.value?.$el), C = A(() => d.value?.$el), { floatingStyles: g } = t4(p, C, {
|
|
60867
60872
|
placement: "bottom-start",
|
|
60868
|
-
middleware: [
|
|
60873
|
+
middleware: [Hs(), vs()],
|
|
60869
60874
|
whileElementsMounted: e4
|
|
60870
60875
|
});
|
|
60871
60876
|
return (m, f) => (v(), j(w(Pi), {
|
|
@@ -60874,7 +60879,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
60874
60879
|
class: "relative"
|
|
60875
60880
|
}, {
|
|
60876
60881
|
default: I(({ open: L }) => [
|
|
60877
|
-
T(w(
|
|
60882
|
+
T(w(Fs), { class: "flex items-center gap-1.5 text-xs text-gray-plain rounded px-2 py-1 hover:bg-gray-50 focus:outline-none" }, {
|
|
60878
60883
|
default: I(() => [
|
|
60879
60884
|
T(w(sH), {
|
|
60880
60885
|
class: "size-3",
|
|
@@ -60889,10 +60894,10 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
60889
60894
|
]),
|
|
60890
60895
|
_: 1
|
|
60891
60896
|
}),
|
|
60892
|
-
T(
|
|
60897
|
+
T($i, null, {
|
|
60893
60898
|
default: I(() => [
|
|
60894
60899
|
(v(), j(H5, { to: "#tooltips" }, [
|
|
60895
|
-
W0(T(w(
|
|
60900
|
+
W0(T(w(Ds), {
|
|
60896
60901
|
ref_key: "columnPanel",
|
|
60897
60902
|
ref: d,
|
|
60898
60903
|
static: "",
|
|
@@ -60963,7 +60968,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
60963
60968
|
}), lQ = /* @__PURE__ */ o({
|
|
60964
60969
|
__name: "TabularMobileFilterButton",
|
|
60965
60970
|
setup(e) {
|
|
60966
|
-
const { t } = w1(), { mobileFilterOpen: i } =
|
|
60971
|
+
const { t } = w1(), { mobileFilterOpen: i } = Xi();
|
|
60967
60972
|
return (r, n) => (v(), j(x2, {
|
|
60968
60973
|
color: "tertiary",
|
|
60969
60974
|
size: "2xs",
|
|
@@ -60983,7 +60988,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
60983
60988
|
}, uQ = /* @__PURE__ */ o({
|
|
60984
60989
|
__name: "TabularRowsInfo",
|
|
60985
60990
|
setup(e) {
|
|
60986
|
-
const { t } = w1(), { tableData: i, totalLines: r, isRefreshing: n } =
|
|
60991
|
+
const { t } = w1(), { tableData: i, totalLines: r, isRefreshing: n } = Xi();
|
|
60987
60992
|
return (l, a) => (v(), E("span", aQ, [
|
|
60988
60993
|
w(n) ? (v(), j(w(gl), {
|
|
60989
60994
|
key: 0,
|
|
@@ -61098,7 +61103,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61098
61103
|
});
|
|
61099
61104
|
const { floatingStyles: a } = t4(l, n, {
|
|
61100
61105
|
placement: "bottom-start",
|
|
61101
|
-
middleware: [
|
|
61106
|
+
middleware: [Hs(), vs()],
|
|
61102
61107
|
whileElementsMounted: e4
|
|
61103
61108
|
}), c = A(() => {
|
|
61104
61109
|
if (!t.value) return "";
|
|
@@ -61134,7 +61139,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61134
61139
|
if (!t.value) return;
|
|
61135
61140
|
const L = f.target.closest("[data-cell]");
|
|
61136
61141
|
L && L === t.value.element || p();
|
|
61137
|
-
}), (f, L) => (v(), j(
|
|
61142
|
+
}), (f, L) => (v(), j($i, null, {
|
|
61138
61143
|
default: I(() => [
|
|
61139
61144
|
(v(), j(H5, { to: "#tooltips" }, [
|
|
61140
61145
|
t.value ? (v(), E("div", {
|
|
@@ -61178,7 +61183,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61178
61183
|
key: 0,
|
|
61179
61184
|
class: "size-4 text-green-500",
|
|
61180
61185
|
"aria-hidden": "true"
|
|
61181
|
-
})) : (v(), j(w(
|
|
61186
|
+
})) : (v(), j(w(J9), {
|
|
61182
61187
|
key: 1,
|
|
61183
61188
|
class: "size-4 text-gray-plain",
|
|
61184
61189
|
"aria-hidden": "true"
|
|
@@ -61224,7 +61229,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61224
61229
|
const t = e, i = _2(e, "sort"), r = _2(e, "filters"), { t: n } = w1(), { formatNumber: l } = cL(), a = J(""), c = A(() => {
|
|
61225
61230
|
switch (t.columnType) {
|
|
61226
61231
|
case "date":
|
|
61227
|
-
return { icon:
|
|
61232
|
+
return { icon: Q9, type: "date", placeholder: "" };
|
|
61228
61233
|
case "number":
|
|
61229
61234
|
case "year":
|
|
61230
61235
|
return { icon: vi, type: "number", placeholder: n("Rechercher...") };
|
|
@@ -61299,7 +61304,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61299
61304
|
T(x2, {
|
|
61300
61305
|
color: i.value?.column === e.column && i.value?.direction === "asc" ? "primary" : "tertiary",
|
|
61301
61306
|
size: "2xs",
|
|
61302
|
-
icon: w(
|
|
61307
|
+
icon: w(Ls),
|
|
61303
61308
|
"keep-margins-even-without-borders": "",
|
|
61304
61309
|
onClick: R[0] || (R[0] = (k) => b("asc"))
|
|
61305
61310
|
}, {
|
|
@@ -61311,7 +61316,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61311
61316
|
T(x2, {
|
|
61312
61317
|
color: i.value?.column === e.column && i.value?.direction === "desc" ? "primary" : "tertiary",
|
|
61313
61318
|
size: "2xs",
|
|
61314
|
-
icon: w(
|
|
61319
|
+
icon: w(ws),
|
|
61315
61320
|
"keep-margins-even-without-borders": "",
|
|
61316
61321
|
onClick: R[1] || (R[1] = (k) => b("desc"))
|
|
61317
61322
|
}, {
|
|
@@ -61519,7 +61524,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61519
61524
|
}
|
|
61520
61525
|
const { floatingStyles: p } = t4(c, u, {
|
|
61521
61526
|
placement: "bottom-start",
|
|
61522
|
-
middleware: [
|
|
61527
|
+
middleware: [Hs(), vs()],
|
|
61523
61528
|
whileElementsMounted: e4
|
|
61524
61529
|
});
|
|
61525
61530
|
return (C, g) => (v(), j(w(Pi), {
|
|
@@ -61527,7 +61532,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61527
61532
|
class: "relative shrink-0"
|
|
61528
61533
|
}, {
|
|
61529
61534
|
default: I(({ open: m }) => [
|
|
61530
|
-
T(w(
|
|
61535
|
+
T(w(Fs), {
|
|
61531
61536
|
class: c1(["flex size-5 items-center justify-center rounded transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-new-primary", m ? "bg-new-primary/10" : "hover:bg-gray-100"])
|
|
61532
61537
|
}, {
|
|
61533
61538
|
default: I(() => [
|
|
@@ -61539,10 +61544,10 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61539
61544
|
]),
|
|
61540
61545
|
_: 2
|
|
61541
61546
|
}, 1032, ["class"]),
|
|
61542
|
-
T(
|
|
61547
|
+
T($i, null, {
|
|
61543
61548
|
default: I(() => [
|
|
61544
61549
|
(v(), j(H5, { to: "#tooltips" }, [
|
|
61545
|
-
W0(T(w(
|
|
61550
|
+
W0(T(w(Ds), {
|
|
61546
61551
|
ref: "panel",
|
|
61547
61552
|
static: "",
|
|
61548
61553
|
class: "bg-white border border-black/10 rounded-lg shadow-md w-64 absolute z-[800]",
|
|
@@ -61622,7 +61627,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61622
61627
|
getColumnDisplay: L,
|
|
61623
61628
|
getNullPercent: y,
|
|
61624
61629
|
getBooleanCounts: H
|
|
61625
|
-
} =
|
|
61630
|
+
} = Xi();
|
|
61626
61631
|
function V(g1) {
|
|
61627
61632
|
return t.rowHref?.href(g1);
|
|
61628
61633
|
}
|
|
@@ -61776,11 +61781,11 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61776
61781
|
class: "truncate text-[12px] font-bold text-gray-title",
|
|
61777
61782
|
title: m1
|
|
61778
61783
|
}, _(m1), 9, gJ),
|
|
61779
|
-
w(h)?.column === m1 && w(h).direction === "asc" ? (v(), j(w(
|
|
61784
|
+
w(h)?.column === m1 && w(h).direction === "asc" ? (v(), j(w(Ls), {
|
|
61780
61785
|
key: 0,
|
|
61781
61786
|
class: "size-3.5 shrink-0 text-new-primary",
|
|
61782
61787
|
"aria-hidden": "true"
|
|
61783
|
-
})) : w(h)?.column === m1 && w(h).direction === "desc" ? (v(), j(w(
|
|
61788
|
+
})) : w(h)?.column === m1 && w(h).direction === "desc" ? (v(), j(w(ws), {
|
|
61784
61789
|
key: 1,
|
|
61785
61790
|
class: "size-3.5 shrink-0 text-new-primary",
|
|
61786
61791
|
"aria-hidden": "true"
|
|
@@ -61963,7 +61968,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
61963
61968
|
getColumnProfile: C,
|
|
61964
61969
|
getNullPercent: g,
|
|
61965
61970
|
getBooleanCounts: m
|
|
61966
|
-
} =
|
|
61971
|
+
} = Xi(), f = J(null);
|
|
61967
61972
|
function L(y) {
|
|
61968
61973
|
f.value = f.value === y ? null : y;
|
|
61969
61974
|
}
|
|
@@ -62027,12 +62032,12 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62027
62032
|
"aria-hidden": "true"
|
|
62028
62033
|
})),
|
|
62029
62034
|
S("span", AJ, _(V), 1),
|
|
62030
|
-
w(l)?.column === V && w(l).direction === "asc" ? (v(), j(w(
|
|
62035
|
+
w(l)?.column === V && w(l).direction === "asc" ? (v(), j(w(Ls), {
|
|
62031
62036
|
key: 0,
|
|
62032
62037
|
class: "size-3 text-new-primary shrink-0",
|
|
62033
62038
|
"aria-hidden": "true"
|
|
62034
62039
|
})) : U("", !0),
|
|
62035
|
-
w(l)?.column === V && w(l).direction === "desc" ? (v(), j(w(
|
|
62040
|
+
w(l)?.column === V && w(l).direction === "desc" ? (v(), j(w(ws), {
|
|
62036
62041
|
key: 1,
|
|
62037
62042
|
class: "size-3 text-new-primary shrink-0",
|
|
62038
62043
|
"aria-hidden": "true"
|
|
@@ -62111,7 +62116,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62111
62116
|
items: [{
|
|
62112
62117
|
url: t.resource.latest,
|
|
62113
62118
|
format: t.resource.format,
|
|
62114
|
-
size:
|
|
62119
|
+
size: Ui(t.resource) ?? void 0
|
|
62115
62120
|
}]
|
|
62116
62121
|
}), r.value.length && y.push({
|
|
62117
62122
|
title: i("Formats générés automatiquement"),
|
|
@@ -62145,7 +62150,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62145
62150
|
}
|
|
62146
62151
|
}, C = O2("anchor"), g = O2("panel"), m = A(() => C.value?.$el), f = A(() => g.value?.$el), { floatingStyles: L } = t4(m, f, {
|
|
62147
62152
|
placement: "bottom-end",
|
|
62148
|
-
middleware: [
|
|
62153
|
+
middleware: [Hs(), vs({ padding: 8 })],
|
|
62149
62154
|
whileElementsMounted: e4
|
|
62150
62155
|
});
|
|
62151
62156
|
return (y, H) => w(a) ? (v(), j(x2, {
|
|
@@ -62185,7 +62190,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62185
62190
|
class: "relative"
|
|
62186
62191
|
}, {
|
|
62187
62192
|
default: I(() => [
|
|
62188
|
-
T(w(
|
|
62193
|
+
T(w(Fs), {
|
|
62189
62194
|
as: x2,
|
|
62190
62195
|
icon: w(xi),
|
|
62191
62196
|
size: "xs",
|
|
@@ -62197,10 +62202,10 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62197
62202
|
]),
|
|
62198
62203
|
_: 1
|
|
62199
62204
|
}, 8, ["icon"]),
|
|
62200
|
-
T(
|
|
62205
|
+
T($i, null, {
|
|
62201
62206
|
default: I(() => [
|
|
62202
62207
|
(v(), j(H5, { to: "#tooltips" }, [
|
|
62203
|
-
T(w(
|
|
62208
|
+
T(w(Ds), {
|
|
62204
62209
|
ref_key: "panel",
|
|
62205
62210
|
ref: g,
|
|
62206
62211
|
class: "absolute z-[800] w-72 overflow-hidden rounded border border-gray-default bg-white shadow-lg",
|
|
@@ -62245,7 +62250,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62245
62250
|
p(), V();
|
|
62246
62251
|
}
|
|
62247
62252
|
}, [
|
|
62248
|
-
T(w(
|
|
62253
|
+
T(w(J9), {
|
|
62249
62254
|
class: "size-4 shrink-0 text-gray-medium",
|
|
62250
62255
|
"aria-hidden": "true"
|
|
62251
62256
|
}),
|
|
@@ -62263,7 +62268,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62263
62268
|
_: 1
|
|
62264
62269
|
}, 512)) : (v(), j(x2, {
|
|
62265
62270
|
key: 1,
|
|
62266
|
-
icon: w(
|
|
62271
|
+
icon: w(J9),
|
|
62267
62272
|
color: "primary",
|
|
62268
62273
|
size: "xs",
|
|
62269
62274
|
onClick: p
|
|
@@ -62289,7 +62294,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62289
62294
|
fullscreen: { type: Boolean }
|
|
62290
62295
|
},
|
|
62291
62296
|
setup(e) {
|
|
62292
|
-
const t = e, { t: i } = w1(), { formatRelativeIfRecentDate: r, formatDate: n } = We(), l = A(() =>
|
|
62297
|
+
const t = e, { t: i } = w1(), { formatRelativeIfRecentDate: r, formatDate: n } = We(), l = A(() => Ui(t.resource)), a = A(() => mm(t.dataset, t.resource));
|
|
62293
62298
|
return (c, u) => (v(), E("header", GJ, [
|
|
62294
62299
|
S("div", KJ, [
|
|
62295
62300
|
T(gw, {
|
|
@@ -62379,20 +62384,20 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62379
62384
|
async setup(e) {
|
|
62380
62385
|
let t, i;
|
|
62381
62386
|
const r = nt(
|
|
62382
|
-
() => import("./JsonPreview.client-
|
|
62387
|
+
() => import("./JsonPreview.client-CU1FWFIy.js")
|
|
62383
62388
|
), n = nt(
|
|
62384
|
-
() => import("./PdfPreview.client-
|
|
62389
|
+
() => import("./PdfPreview.client-B7eDgq8y.js")
|
|
62385
62390
|
), l = nt(
|
|
62386
|
-
() => import("./XmlPreview.client-
|
|
62391
|
+
() => import("./XmlPreview.client-CyjpNh5i.js")
|
|
62387
62392
|
), a = nt(
|
|
62388
|
-
() => import("./ImagePreview.client-
|
|
62393
|
+
() => import("./ImagePreview.client-XSR9THWR.js")
|
|
62389
62394
|
), c = nt(
|
|
62390
|
-
() => import("./Datafair.client-
|
|
62395
|
+
() => import("./Datafair.client-fxOwwaND.js")
|
|
62391
62396
|
), u = nt(
|
|
62392
|
-
() => import("./MapContainer.client-
|
|
62397
|
+
() => import("./MapContainer.client-D0-Dn7jq.js")
|
|
62393
62398
|
), h = nt(
|
|
62394
|
-
() => import("./Pmtiles.client-
|
|
62395
|
-
), d = e, { t: p } = w1(), C = V2(), g =
|
|
62399
|
+
() => import("./Pmtiles.client-CCpvggkZ.js")
|
|
62400
|
+
), d = e, { t: p } = w1(), C = V2(), g = ms(), m = rp(), {
|
|
62396
62401
|
previewKind: f,
|
|
62397
62402
|
hasTabularData: L,
|
|
62398
62403
|
hasPmtiles: y,
|
|
@@ -62733,7 +62738,7 @@ const kX = { class: "flex min-h-0 flex-1 flex-col" }, FX = { class: "text-xs bre
|
|
|
62733
62738
|
},
|
|
62734
62739
|
async setup(e) {
|
|
62735
62740
|
let t, i;
|
|
62736
|
-
const r = e, { t: n } = w1(), l =
|
|
62741
|
+
const r = e, { t: n } = w1(), l = ms(), {
|
|
62737
62742
|
groups: a,
|
|
62738
62743
|
flatResources: c,
|
|
62739
62744
|
hasAnyResources: u,
|
|
@@ -63148,7 +63153,7 @@ function Xs(e) {
|
|
|
63148
63153
|
return e + 0.5 | 0;
|
|
63149
63154
|
}
|
|
63150
63155
|
const y4 = (e, t, i) => Math.max(Math.min(e, i), t);
|
|
63151
|
-
function
|
|
63156
|
+
function S9(e) {
|
|
63152
63157
|
return y4(Xs(e * 2.55), 0, 255);
|
|
63153
63158
|
}
|
|
63154
63159
|
function M4(e) {
|
|
@@ -63224,7 +63229,7 @@ function v21(e) {
|
|
|
63224
63229
|
let i = 255, r;
|
|
63225
63230
|
if (!t)
|
|
63226
63231
|
return;
|
|
63227
|
-
t[5] !== r && (i = t[6] ?
|
|
63232
|
+
t[5] !== r && (i = t[6] ? S9(+t[5]) : M4(+t[5]));
|
|
63228
63233
|
const n = fL(+t[2]), l = +t[3] / 100, a = +t[4] / 100;
|
|
63229
63234
|
return t[1] === "hwb" ? r = x21(n, l, a) : t[1] === "hsv" ? r = y21(n, l, a) : r = Pa(n, l, a), {
|
|
63230
63235
|
r: r[0],
|
|
@@ -63449,9 +63454,9 @@ function z21(e) {
|
|
|
63449
63454
|
if (t) {
|
|
63450
63455
|
if (t[7] !== r) {
|
|
63451
63456
|
const a = +t[7];
|
|
63452
|
-
i = t[8] ?
|
|
63457
|
+
i = t[8] ? S9(a) : y4(a * 255, 0, 255);
|
|
63453
63458
|
}
|
|
63454
|
-
return r = +t[1], n = +t[3], l = +t[5], r = 255 & (t[2] ?
|
|
63459
|
+
return r = +t[1], n = +t[3], l = +t[5], r = 255 & (t[2] ? S9(r) : y4(r, 0, 255)), n = 255 & (t[4] ? S9(n) : y4(n, 0, 255)), l = 255 & (t[6] ? S9(l) : y4(l, 0, 255)), {
|
|
63455
63460
|
r,
|
|
63456
63461
|
g: n,
|
|
63457
63462
|
b: l,
|
|
@@ -63488,9 +63493,9 @@ function Mh(e) {
|
|
|
63488
63493
|
function E21(e) {
|
|
63489
63494
|
return e.charAt(0) === "r" ? z21(e) : v21(e);
|
|
63490
63495
|
}
|
|
63491
|
-
class
|
|
63496
|
+
class us {
|
|
63492
63497
|
constructor(t) {
|
|
63493
|
-
if (t instanceof
|
|
63498
|
+
if (t instanceof us)
|
|
63494
63499
|
return t;
|
|
63495
63500
|
const i = typeof t;
|
|
63496
63501
|
let r;
|
|
@@ -63528,7 +63533,7 @@ class cs {
|
|
|
63528
63533
|
return t && (this._rgb = Z21(this._rgb, t._rgb, i)), this;
|
|
63529
63534
|
}
|
|
63530
63535
|
clone() {
|
|
63531
|
-
return new
|
|
63536
|
+
return new us(this.rgb);
|
|
63532
63537
|
}
|
|
63533
63538
|
alpha(t) {
|
|
63534
63539
|
return this._rgb.a = M4(t), this;
|
|
@@ -63638,9 +63643,9 @@ function T21(e, t, i, r) {
|
|
|
63638
63643
|
if (!LL(e))
|
|
63639
63644
|
return;
|
|
63640
63645
|
const n = t[e], l = i[e];
|
|
63641
|
-
g2(n) && g2(l) ?
|
|
63646
|
+
g2(n) && g2(l) ? hs(n, l, r) : t[e] = U7(l);
|
|
63642
63647
|
}
|
|
63643
|
-
function
|
|
63648
|
+
function hs(e, t, i) {
|
|
63644
63649
|
const r = G2(t) ? t : [
|
|
63645
63650
|
t
|
|
63646
63651
|
], n = r.length;
|
|
@@ -63658,8 +63663,8 @@ function us(e, t, i) {
|
|
|
63658
63663
|
}
|
|
63659
63664
|
return e;
|
|
63660
63665
|
}
|
|
63661
|
-
function
|
|
63662
|
-
return
|
|
63666
|
+
function j9(e, t) {
|
|
63667
|
+
return hs(e, t, {
|
|
63663
63668
|
merger: B21
|
|
63664
63669
|
});
|
|
63665
63670
|
}
|
|
@@ -63667,7 +63672,7 @@ function B21(e, t, i) {
|
|
|
63667
63672
|
if (!LL(e))
|
|
63668
63673
|
return;
|
|
63669
63674
|
const r = t[e], n = i[e];
|
|
63670
|
-
g2(r) && g2(n) ?
|
|
63675
|
+
g2(r) && g2(n) ? j9(r, n) : Object.prototype.hasOwnProperty.call(t, e) || (t[e] = U7(n));
|
|
63671
63676
|
}
|
|
63672
63677
|
const bh = {
|
|
63673
63678
|
// Chart.helpers.core resolveObjectKey should resolve empty key to root object
|
|
@@ -63700,7 +63705,7 @@ function Z4(e, t) {
|
|
|
63700
63705
|
function $a(e) {
|
|
63701
63706
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
63702
63707
|
}
|
|
63703
|
-
const
|
|
63708
|
+
const ds = (e) => typeof e < "u", E4 = (e) => typeof e == "function", zh = (e, t) => {
|
|
63704
63709
|
if (e.size !== t.size)
|
|
63705
63710
|
return !1;
|
|
63706
63711
|
for (const i of e)
|
|
@@ -63712,12 +63717,12 @@ function F21(e) {
|
|
|
63712
63717
|
return e.type === "mouseup" || e.type === "click" || e.type === "contextmenu";
|
|
63713
63718
|
}
|
|
63714
63719
|
const H2 = Math.PI, P2 = 2 * H2, D21 = P2 + H2, q7 = Number.POSITIVE_INFINITY, O21 = H2 / 180, le = H2 / 2, Y4 = H2 / 4, Nh = H2 * 2 / 3, v4 = Math.log10, L0 = Math.sign;
|
|
63715
|
-
function
|
|
63720
|
+
function G9(e, t, i) {
|
|
63716
63721
|
return Math.abs(e - t) < i;
|
|
63717
63722
|
}
|
|
63718
63723
|
function Zh(e) {
|
|
63719
63724
|
const t = Math.round(e);
|
|
63720
|
-
e =
|
|
63725
|
+
e = G9(e, t, e / 1e3) ? t : e;
|
|
63721
63726
|
const i = Math.pow(10, Math.floor(v4(e))), r = e / i;
|
|
63722
63727
|
return (r <= 1 ? 1 : r <= 2 ? 2 : r <= 5 ? 5 : 10) * i;
|
|
63723
63728
|
}
|
|
@@ -63774,7 +63779,7 @@ function U21(e, t) {
|
|
|
63774
63779
|
function Pe(e) {
|
|
63775
63780
|
return (e % P2 + P2) % P2;
|
|
63776
63781
|
}
|
|
63777
|
-
function
|
|
63782
|
+
function ps(e, t, i, r) {
|
|
63778
63783
|
const n = Pe(e), l = Pe(t), a = Pe(i), c = Pe(l - n), u = Pe(a - n), h = Pe(n - l), d = Pe(n - a);
|
|
63779
63784
|
return n === l || n === a || r && l === a || c > u && h < d;
|
|
63780
63785
|
}
|
|
@@ -63925,7 +63930,7 @@ function bL(e) {
|
|
|
63925
63930
|
const l = r.xmin !== t.min || r.xmax !== t.max || r.ymin !== i.min || r.ymax !== i.max;
|
|
63926
63931
|
return Object.assign(r, n), l;
|
|
63927
63932
|
}
|
|
63928
|
-
const U3 = (e) => e === 0 || e === 1, Rh = (e, t, i) => -(Math.pow(2, 10 * (e -= 1)) * Math.sin((e - t) * P2 / i)), Th = (e, t, i) => Math.pow(2, -10 * e) * Math.sin((e - t) * P2 / i) + 1,
|
|
63933
|
+
const U3 = (e) => e === 0 || e === 1, Rh = (e, t, i) => -(Math.pow(2, 10 * (e -= 1)) * Math.sin((e - t) * P2 / i)), Th = (e, t, i) => Math.pow(2, -10 * e) * Math.sin((e - t) * P2 / i) + 1, K9 = {
|
|
63929
63934
|
linear: (e) => e,
|
|
63930
63935
|
easeInQuad: (e) => e * e,
|
|
63931
63936
|
easeOutQuad: (e) => -e * (e - 2),
|
|
@@ -63963,11 +63968,11 @@ const U3 = (e) => e === 0 || e === 1, Rh = (e, t, i) => -(Math.pow(2, 10 * (e -=
|
|
|
63963
63968
|
let t = 1.70158;
|
|
63964
63969
|
return (e /= 0.5) < 1 ? 0.5 * (e * e * (((t *= 1.525) + 1) * e - t)) : 0.5 * ((e -= 2) * e * (((t *= 1.525) + 1) * e + t) + 2);
|
|
63965
63970
|
},
|
|
63966
|
-
easeInBounce: (e) => 1 -
|
|
63971
|
+
easeInBounce: (e) => 1 - K9.easeOutBounce(1 - e),
|
|
63967
63972
|
easeOutBounce(e) {
|
|
63968
63973
|
return e < 1 / 2.75 ? 7.5625 * e * e : e < 2 / 2.75 ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75 : e < 2.5 / 2.75 ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375 : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375;
|
|
63969
63974
|
},
|
|
63970
|
-
easeInOutBounce: (e) => e < 0.5 ?
|
|
63975
|
+
easeInOutBounce: (e) => e < 0.5 ? K9.easeInBounce(e * 2) * 0.5 : K9.easeOutBounce(e * 2 - 1) * 0.5 + 0.5
|
|
63971
63976
|
};
|
|
63972
63977
|
function ja(e) {
|
|
63973
63978
|
if (e && typeof e == "object") {
|
|
@@ -63977,10 +63982,10 @@ function ja(e) {
|
|
|
63977
63982
|
return !1;
|
|
63978
63983
|
}
|
|
63979
63984
|
function Bh(e) {
|
|
63980
|
-
return ja(e) ? e : new
|
|
63985
|
+
return ja(e) ? e : new us(e);
|
|
63981
63986
|
}
|
|
63982
63987
|
function Zn(e) {
|
|
63983
|
-
return ja(e) ? e : new
|
|
63988
|
+
return ja(e) ? e : new us(e).saturate(0.5).darken(0.1).hexString();
|
|
63984
63989
|
}
|
|
63985
63990
|
const X21 = [
|
|
63986
63991
|
"x",
|
|
@@ -64181,7 +64186,7 @@ function se1(e) {
|
|
|
64181
64186
|
});
|
|
64182
64187
|
}
|
|
64183
64188
|
const y5 = /* @__PURE__ */ Object.create(null), X6 = /* @__PURE__ */ Object.create(null);
|
|
64184
|
-
function
|
|
64189
|
+
function Y9(e, t) {
|
|
64185
64190
|
if (!t)
|
|
64186
64191
|
return e;
|
|
64187
64192
|
const i = t.split(".");
|
|
@@ -64192,7 +64197,7 @@ function K9(e, t) {
|
|
|
64192
64197
|
return e;
|
|
64193
64198
|
}
|
|
64194
64199
|
function En(e, t, i) {
|
|
64195
|
-
return typeof t == "string" ?
|
|
64200
|
+
return typeof t == "string" ? hs(Y9(e, t), i) : hs(Y9(e, ""), t);
|
|
64196
64201
|
}
|
|
64197
64202
|
class re1 {
|
|
64198
64203
|
constructor(t, i) {
|
|
@@ -64218,7 +64223,7 @@ class re1 {
|
|
|
64218
64223
|
return En(this, t, i);
|
|
64219
64224
|
}
|
|
64220
64225
|
get(t) {
|
|
64221
|
-
return
|
|
64226
|
+
return Y9(this, t);
|
|
64222
64227
|
}
|
|
64223
64228
|
describe(t, i) {
|
|
64224
64229
|
return En(X6, t, i);
|
|
@@ -64227,7 +64232,7 @@ class re1 {
|
|
|
64227
64232
|
return En(y5, t, i);
|
|
64228
64233
|
}
|
|
64229
64234
|
route(t, i, r, n) {
|
|
64230
|
-
const l =
|
|
64235
|
+
const l = Y9(this, t), a = Y9(this, r), c = "_" + i;
|
|
64231
64236
|
Object.defineProperties(l, {
|
|
64232
64237
|
[c]: {
|
|
64233
64238
|
value: l[i],
|
|
@@ -64400,7 +64405,7 @@ function v5(e, t, i, r, n, l = {}) {
|
|
|
64400
64405
|
h = a[u], l.backdrop && he1(e, l.backdrop), c && (l.strokeColor && (e.strokeStyle = l.strokeColor), p2(l.strokeWidth) || (e.lineWidth = l.strokeWidth), e.strokeText(h, i, r, l.maxWidth)), e.fillText(h, i, r, l.maxWidth), ue1(e, i, r, h, l), r += Number(n.lineHeight);
|
|
64401
64406
|
e.restore();
|
|
64402
64407
|
}
|
|
64403
|
-
function
|
|
64408
|
+
function Cs(e, t) {
|
|
64404
64409
|
const { x: i, y: r, w: n, h: l, radius: a } = t;
|
|
64405
64410
|
e.arc(i + a.topLeft, r + a.topLeft, a.topLeft, 1.5 * H2, H2, !0), e.lineTo(i, r + l - a.bottomLeft), e.arc(i + a.bottomLeft, r + l - a.bottomLeft, a.bottomLeft, H2, le, !0), e.lineTo(i + n - a.bottomRight, r + l), e.arc(i + n - a.bottomRight, r + l - a.bottomRight, a.bottomRight, le, 0, !0), e.lineTo(i + n, r + a.topRight), e.arc(i + n - a.topRight, r + a.topRight, a.topRight, 0, -le, !0), e.lineTo(i + a.topLeft, r);
|
|
64406
64411
|
}
|
|
@@ -64461,7 +64466,7 @@ function Le(e, t) {
|
|
|
64461
64466
|
};
|
|
64462
64467
|
return n.string = ne1(n), n;
|
|
64463
64468
|
}
|
|
64464
|
-
function
|
|
64469
|
+
function M9(e, t, i, r) {
|
|
64465
64470
|
let n, l, a;
|
|
64466
64471
|
for (n = 0, l = e.length; n < l; ++n)
|
|
64467
64472
|
if (a = e[n], a !== void 0 && a !== void 0)
|
|
@@ -64744,7 +64749,7 @@ function ze1(e, t, i) {
|
|
|
64744
64749
|
let n, l, a, c, u, h = Ni(e, 0);
|
|
64745
64750
|
for (let d = 0; d < r - 1; ++d)
|
|
64746
64751
|
if (u = h, h = Ni(e, d + 1), !(!u || !h)) {
|
|
64747
|
-
if (
|
|
64752
|
+
if (G9(t[d], 0, Me1)) {
|
|
64748
64753
|
i[d] = i[d + 1] = 0;
|
|
64749
64754
|
continue;
|
|
64750
64755
|
}
|
|
@@ -64976,7 +64981,7 @@ function FL(e, t) {
|
|
|
64976
64981
|
}
|
|
64977
64982
|
function DL(e) {
|
|
64978
64983
|
return e === "angle" ? {
|
|
64979
|
-
between:
|
|
64984
|
+
between: ps,
|
|
64980
64985
|
compare: U21,
|
|
64981
64986
|
normalize: Pe
|
|
64982
64987
|
} : {
|
|
@@ -65261,18 +65266,18 @@ const qh = "transparent", Qe1 = {
|
|
|
65261
65266
|
class Je1 {
|
|
65262
65267
|
constructor(t, i, r, n) {
|
|
65263
65268
|
const l = i[r];
|
|
65264
|
-
n =
|
|
65269
|
+
n = M9([
|
|
65265
65270
|
t.to,
|
|
65266
65271
|
n,
|
|
65267
65272
|
l,
|
|
65268
65273
|
t.from
|
|
65269
65274
|
]);
|
|
65270
|
-
const a =
|
|
65275
|
+
const a = M9([
|
|
65271
65276
|
t.from,
|
|
65272
65277
|
l,
|
|
65273
65278
|
n
|
|
65274
65279
|
]);
|
|
65275
|
-
this._active = !0, this._fn = t.fn || Qe1[t.type || typeof a], this._easing =
|
|
65280
|
+
this._active = !0, this._fn = t.fn || Qe1[t.type || typeof a], this._easing = K9[t.easing] || K9.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = i, this._prop = r, this._from = a, this._to = n, this._promises = void 0;
|
|
65276
65281
|
}
|
|
65277
65282
|
active() {
|
|
65278
65283
|
return this._active;
|
|
@@ -65281,12 +65286,12 @@ class Je1 {
|
|
|
65281
65286
|
if (this._active) {
|
|
65282
65287
|
this._notify(!1);
|
|
65283
65288
|
const n = this._target[this._prop], l = r - this._start, a = this._duration - l;
|
|
65284
|
-
this._start = r, this._duration = Math.floor(Math.max(a, t.duration)), this._total += l, this._loop = !!t.loop, this._to =
|
|
65289
|
+
this._start = r, this._duration = Math.floor(Math.max(a, t.duration)), this._total += l, this._loop = !!t.loop, this._to = M9([
|
|
65285
65290
|
t.to,
|
|
65286
65291
|
i,
|
|
65287
65292
|
n,
|
|
65288
65293
|
t.from
|
|
65289
|
-
]), this._from =
|
|
65294
|
+
]), this._from = M9([
|
|
65290
65295
|
t.from,
|
|
65291
65296
|
n,
|
|
65292
65297
|
i
|
|
@@ -65538,7 +65543,7 @@ function ct1(e, t, i) {
|
|
|
65538
65543
|
type: "data"
|
|
65539
65544
|
});
|
|
65540
65545
|
}
|
|
65541
|
-
function
|
|
65546
|
+
function C9(e, t) {
|
|
65542
65547
|
const i = e.controller.index, r = e.vScale && e.vScale.axis;
|
|
65543
65548
|
if (r) {
|
|
65544
65549
|
t = t || e._parsed;
|
|
@@ -65566,7 +65571,7 @@ class k4 {
|
|
|
65566
65571
|
this.configure(), this.linkScales(), t._stacked = _n(t.vScale, t), this.addElements(), this.options.fill && !this.chart.isPluginEnabled("filler") && console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options");
|
|
65567
65572
|
}
|
|
65568
65573
|
updateIndex(t) {
|
|
65569
|
-
this.index !== t &&
|
|
65574
|
+
this.index !== t && C9(this._cachedMeta), this.index = t;
|
|
65570
65575
|
}
|
|
65571
65576
|
linkScales() {
|
|
65572
65577
|
const t = this.chart, i = this._cachedMeta, r = this.getDataset(), n = (p, C, g, m) => p === "x" ? C : p === "r" ? m : g, l = i.xAxisID = e2(r.xAxisID, Rn(t, "x")), a = i.yAxisID = e2(r.yAxisID, Rn(t, "y")), c = i.rAxisID = e2(r.rAxisID, Rn(t, "r")), u = i.indexAxis, h = i.iAxisID = n(u, l, a, c), d = i.vAxisID = n(u, a, l, c);
|
|
@@ -65590,7 +65595,7 @@ class k4 {
|
|
|
65590
65595
|
}
|
|
65591
65596
|
_destroy() {
|
|
65592
65597
|
const t = this._cachedMeta;
|
|
65593
|
-
this._data && _h(this._data, this), t._stacked &&
|
|
65598
|
+
this._data && _h(this._data, this), t._stacked && C9(t);
|
|
65594
65599
|
}
|
|
65595
65600
|
_dataCheck() {
|
|
65596
65601
|
const t = this.getDataset(), i = t.data || (t.data = []), r = this._data;
|
|
@@ -65601,7 +65606,7 @@ class k4 {
|
|
|
65601
65606
|
if (r) {
|
|
65602
65607
|
_h(r, this);
|
|
65603
65608
|
const n = this._cachedMeta;
|
|
65604
|
-
|
|
65609
|
+
C9(n), n._parsed = [];
|
|
65605
65610
|
}
|
|
65606
65611
|
i && Object.isExtensible(i) && G21(i, this), this._syncList = [], this._data = i;
|
|
65607
65612
|
}
|
|
@@ -65615,7 +65620,7 @@ class k4 {
|
|
|
65615
65620
|
let n = !1;
|
|
65616
65621
|
this._dataCheck();
|
|
65617
65622
|
const l = i._stacked;
|
|
65618
|
-
i._stacked = _n(i.vScale, i), i.stack !== r.stack && (n = !0,
|
|
65623
|
+
i._stacked = _n(i.vScale, i), i.stack !== r.stack && (n = !0, C9(i), i.stack = r.stack), this._resyncElements(t), (n || l !== i._stacked) && (Kh(this, i._parsed), i._stacked = _n(i.vScale, i));
|
|
65619
65624
|
}
|
|
65620
65625
|
configure() {
|
|
65621
65626
|
const t = this.chart.config, i = t.datasetScopeKeys(this._type), r = t.getOptionScopes(this.getDataset(), i, !0);
|
|
@@ -65762,7 +65767,7 @@ class k4 {
|
|
|
65762
65767
|
return this._resolveElementOptions(this.dataElementType.id, i, t);
|
|
65763
65768
|
}
|
|
65764
65769
|
_resolveElementOptions(t, i = "default", r) {
|
|
65765
|
-
const n = i === "active", l = this._cachedDataOpts, a = t + "-" + i, c = l[a], u = this.enableOptionSharing &&
|
|
65770
|
+
const n = i === "active", l = this._cachedDataOpts, a = t + "-" + i, c = l[a], u = this.enableOptionSharing && ds(r);
|
|
65766
65771
|
if (c)
|
|
65767
65772
|
return Yh(c, u);
|
|
65768
65773
|
const h = this.chart.config, d = h.datasetElementScopeKeys(this._type, t), p = n ? [
|
|
@@ -65854,7 +65859,7 @@ class k4 {
|
|
|
65854
65859
|
const r = this._cachedMeta;
|
|
65855
65860
|
if (this._parsing) {
|
|
65856
65861
|
const n = r._parsed.splice(t, i);
|
|
65857
|
-
r._stacked &&
|
|
65862
|
+
r._stacked && C9(r, n);
|
|
65858
65863
|
}
|
|
65859
65864
|
r.data.splice(t, i);
|
|
65860
65865
|
}
|
|
@@ -65927,7 +65932,7 @@ function dt1(e) {
|
|
|
65927
65932
|
const t = e.iScale, i = ht1(t, e.type);
|
|
65928
65933
|
let r = t._length, n, l, a, c;
|
|
65929
65934
|
const u = () => {
|
|
65930
|
-
a === 32767 || a === -32768 || (
|
|
65935
|
+
a === 32767 || a === -32768 || (ds(c) && (r = Math.min(r, Math.abs(a - c) || r)), c = a);
|
|
65931
65936
|
};
|
|
65932
65937
|
for (n = 0, l = i.length; n < l; ++n)
|
|
65933
65938
|
a = t.getPixelForValue(i[n]), u();
|
|
@@ -66301,7 +66306,7 @@ class vt1 extends k4 {
|
|
|
66301
66306
|
function Ht1(e, t, i) {
|
|
66302
66307
|
let r = 1, n = 1, l = 0, a = 0;
|
|
66303
66308
|
if (t < P2) {
|
|
66304
|
-
const c = e, u = c + t, h = Math.cos(c), d = Math.sin(c), p = Math.cos(u), C = Math.sin(u), g = (V, z, M) =>
|
|
66309
|
+
const c = e, u = c + t, h = Math.cos(c), d = Math.sin(c), p = Math.cos(u), C = Math.sin(u), g = (V, z, M) => ps(V, c, u, !0) ? 1 : Math.max(z, z * i, M, M * i), m = (V, z, M) => ps(V, c, u, !0) ? -1 : Math.min(z, z * i, M, M * i), f = g(0, h, p), L = g(le, d, C), y = m(H2, h, p), H = m(H2 + le, d, C);
|
|
66305
66310
|
r = (f - y) / 2, n = (L - H) / 2, l = -(f + y) / 2, a = -(L + H) / 2;
|
|
66306
66311
|
}
|
|
66307
66312
|
return {
|
|
@@ -66962,7 +66967,7 @@ function _t1(e, t, i, r) {
|
|
|
66962
66967
|
x: t.x,
|
|
66963
66968
|
y: t.y
|
|
66964
66969
|
});
|
|
66965
|
-
|
|
66970
|
+
ps(p, h, d) && n.push({
|
|
66966
66971
|
element: a,
|
|
66967
66972
|
datasetIndex: c,
|
|
66968
66973
|
index: u
|
|
@@ -67062,13 +67067,13 @@ const jL = [
|
|
|
67062
67067
|
"right",
|
|
67063
67068
|
"bottom"
|
|
67064
67069
|
];
|
|
67065
|
-
function
|
|
67070
|
+
function g9(e, t) {
|
|
67066
67071
|
return e.filter((i) => i.pos === t);
|
|
67067
67072
|
}
|
|
67068
67073
|
function td(e, t) {
|
|
67069
67074
|
return e.filter((i) => jL.indexOf(i.pos) === -1 && i.box.axis === t);
|
|
67070
67075
|
}
|
|
67071
|
-
function
|
|
67076
|
+
function f9(e, t) {
|
|
67072
67077
|
return e.sort((i, r) => {
|
|
67073
67078
|
const n = t ? r : i, l = t ? i : r;
|
|
67074
67079
|
return n.weight === l.weight ? n.index - l.index : n.weight - l.weight;
|
|
@@ -67116,12 +67121,12 @@ function kt1(e, t) {
|
|
|
67116
67121
|
return i;
|
|
67117
67122
|
}
|
|
67118
67123
|
function Ft1(e) {
|
|
67119
|
-
const t = Bt1(e), i =
|
|
67124
|
+
const t = Bt1(e), i = f9(t.filter((h) => h.box.fullSize), !0), r = f9(g9(t, "left"), !0), n = f9(g9(t, "right")), l = f9(g9(t, "top"), !0), a = f9(g9(t, "bottom")), c = td(t, "x"), u = td(t, "y");
|
|
67120
67125
|
return {
|
|
67121
67126
|
fullSize: i,
|
|
67122
67127
|
leftAndTop: r.concat(l),
|
|
67123
67128
|
rightAndBottom: n.concat(u).concat(a).concat(c),
|
|
67124
|
-
chartArea:
|
|
67129
|
+
chartArea: g9(t, "chartArea"),
|
|
67125
67130
|
vertical: r.concat(n).concat(u),
|
|
67126
67131
|
horizontal: l.concat(a).concat(c)
|
|
67127
67132
|
};
|
|
@@ -67181,7 +67186,7 @@ function It1(e, t) {
|
|
|
67181
67186
|
"bottom"
|
|
67182
67187
|
]);
|
|
67183
67188
|
}
|
|
67184
|
-
function
|
|
67189
|
+
function b9(e, t, i, r) {
|
|
67185
67190
|
const n = [];
|
|
67186
67191
|
let l, a, c, u, h, d;
|
|
67187
67192
|
for (l = 0, a = e.length, h = 0; l < a; ++l) {
|
|
@@ -67189,7 +67194,7 @@ function M9(e, t, i, r) {
|
|
|
67189
67194
|
const { same: p, other: C } = Dt1(t, i, c, r);
|
|
67190
67195
|
h |= p && n.length, d = d || C, u.fullSize || n.push(c);
|
|
67191
67196
|
}
|
|
67192
|
-
return h &&
|
|
67197
|
+
return h && b9(n, t, i, r) || d;
|
|
67193
67198
|
}
|
|
67194
67199
|
function j3(e, t, i, r, n) {
|
|
67195
67200
|
e.top = i, e.left = t, e.right = t + r, e.bottom = i + n, e.width = r, e.height = n;
|
|
@@ -67204,10 +67209,10 @@ function sd(e, t, i, r) {
|
|
|
67204
67209
|
}, d = c.stackWeight / h.weight || 1;
|
|
67205
67210
|
if (c.horizontal) {
|
|
67206
67211
|
const p = t.w * d, C = h.size || u.height;
|
|
67207
|
-
|
|
67212
|
+
ds(h.start) && (a = h.start), u.fullSize ? j3(u, n.left, a, i.outerWidth - n.right - n.left, C) : j3(u, t.left + h.placed, a, p, C), h.start = a, h.placed += p, a = u.bottom;
|
|
67208
67213
|
} else {
|
|
67209
67214
|
const p = t.h * d, C = h.size || u.width;
|
|
67210
|
-
|
|
67215
|
+
ds(h.start) && (l = h.start), u.fullSize ? j3(u, l, n.top, C, i.outerHeight - n.bottom - n.top) : j3(u, l, t.top + h.placed, C, p), h.start = l, h.placed += p, l = u.right;
|
|
67211
67216
|
}
|
|
67212
67217
|
}
|
|
67213
67218
|
t.x = l, t.y = a;
|
|
@@ -67256,7 +67261,7 @@ var Ue = {
|
|
|
67256
67261
|
x: n.left,
|
|
67257
67262
|
y: n.top
|
|
67258
67263
|
}, n), m = kt1(u.concat(h), p);
|
|
67259
|
-
|
|
67264
|
+
b9(c.fullSize, g, p, m), b9(u, g, p, m), b9(h, g, p, m) && b9(u, g, p, m), Ot1(g), sd(c.leftAndTop, g, p, m), g.x += g.w, g.y += g.h, sd(c.rightAndBottom, g, p, m), e.chartArea = {
|
|
67260
67265
|
left: g.left,
|
|
67261
67266
|
top: g.top,
|
|
67262
67267
|
right: g.left + g.w,
|
|
@@ -67391,19 +67396,19 @@ function Kt1(e, t, i) {
|
|
|
67391
67396
|
subtree: !0
|
|
67392
67397
|
}), n;
|
|
67393
67398
|
}
|
|
67394
|
-
const
|
|
67399
|
+
const gs = /* @__PURE__ */ new Map();
|
|
67395
67400
|
let nd = 0;
|
|
67396
67401
|
function XL() {
|
|
67397
67402
|
const e = window.devicePixelRatio;
|
|
67398
|
-
e !== nd && (nd = e,
|
|
67403
|
+
e !== nd && (nd = e, gs.forEach((t, i) => {
|
|
67399
67404
|
i.currentDevicePixelRatio !== e && t();
|
|
67400
67405
|
}));
|
|
67401
67406
|
}
|
|
67402
67407
|
function Yt1(e, t) {
|
|
67403
|
-
|
|
67408
|
+
gs.size || window.addEventListener("resize", XL), gs.set(e, t);
|
|
67404
67409
|
}
|
|
67405
67410
|
function Xt1(e) {
|
|
67406
|
-
|
|
67411
|
+
gs.delete(e), gs.size || window.removeEventListener("resize", XL);
|
|
67407
67412
|
}
|
|
67408
67413
|
function Qt1(e, t, i) {
|
|
67409
67414
|
const r = e.canvas, n = r && Ja(r);
|
|
@@ -67598,7 +67603,7 @@ function u01(e, t) {
|
|
|
67598
67603
|
}
|
|
67599
67604
|
});
|
|
67600
67605
|
}
|
|
67601
|
-
function
|
|
67606
|
+
function m9(e) {
|
|
67602
67607
|
return e.drawTicks ? e.tickLength : 0;
|
|
67603
67608
|
}
|
|
67604
67609
|
function cd(e, t) {
|
|
@@ -67801,7 +67806,7 @@ class k5 extends r4 {
|
|
|
67801
67806
|
return;
|
|
67802
67807
|
}
|
|
67803
67808
|
const d = this._getLabelSizes(), p = d.widest.width, C = d.highest.height, g = Ee(this.chart.width - p, 0, this.maxWidth);
|
|
67804
|
-
c = t.offset ? this.maxWidth / r : g / (r - 1), p + 6 > c && (c = g / (r - (t.offset ? 0.5 : 1)), u = this.maxHeight -
|
|
67809
|
+
c = t.offset ? this.maxWidth / r : g / (r - 1), p + 6 > c && (c = g / (r - (t.offset ? 0.5 : 1)), u = this.maxHeight - m9(t.grid) - i.padding - cd(t.title, this.chart.options.font), h = Math.sqrt(p * p + C * C), a = Ua(Math.min(Math.asin(Ee((d.highest.height + 6) / c, -1, 1)), Math.asin(Ee(u / h, -1, 1)) - Math.asin(Ee(C / h, -1, 1)))), a = Math.max(n, Math.min(l, a))), this.labelRotation = a;
|
|
67805
67810
|
}
|
|
67806
67811
|
afterCalculateLabelRotation() {
|
|
67807
67812
|
k2(this.options.afterCalculateLabelRotation, [
|
|
@@ -67822,7 +67827,7 @@ class k5 extends r4 {
|
|
|
67822
67827
|
}, { chart: i, options: { ticks: r, title: n, grid: l } } = this, a = this._isVisible(), c = this.isHorizontal();
|
|
67823
67828
|
if (a) {
|
|
67824
67829
|
const u = cd(n, i.options.font);
|
|
67825
|
-
if (c ? (t.width = this.maxWidth, t.height =
|
|
67830
|
+
if (c ? (t.width = this.maxWidth, t.height = m9(l) + u) : (t.height = this.maxHeight, t.width = m9(l) + u), r.display && this.ticks.length) {
|
|
67826
67831
|
const { first: h, last: d, widest: p, highest: C } = this._getLabelSizes(), g = r.padding * 2, m = Yt(this.labelRotation), f = Math.cos(m), L = Math.sin(m);
|
|
67827
67832
|
if (c) {
|
|
67828
67833
|
const y = r.mirror ? 0 : L * p.width + f * C.height;
|
|
@@ -67951,7 +67956,7 @@ class k5 extends r4 {
|
|
|
67951
67956
|
return t !== "auto" ? !!t : this.getMatchingVisibleMetas().length > 0;
|
|
67952
67957
|
}
|
|
67953
67958
|
_computeGridLineItems(t) {
|
|
67954
|
-
const i = this.axis, r = this.chart, n = this.options, { grid: l, position: a, border: c } = n, u = l.offset, h = this.isHorizontal(), p = this.ticks.length + (u ? 1 : 0), C =
|
|
67959
|
+
const i = this.axis, r = this.chart, n = this.options, { grid: l, position: a, border: c } = n, u = l.offset, h = this.isHorizontal(), p = this.ticks.length + (u ? 1 : 0), C = m9(l), g = [], m = c.setContext(this.getContext()), f = m.display ? m.width : 0, L = f / 2, y = function(r1) {
|
|
67955
67960
|
return X4(r, r1, f);
|
|
67956
67961
|
};
|
|
67957
67962
|
let H, V, z, M, b, B, R, k, N, F, W, Q;
|
|
@@ -68005,7 +68010,7 @@ class k5 extends r4 {
|
|
|
68005
68010
|
return this._ticksLength = p, this._borderValue = H, g;
|
|
68006
68011
|
}
|
|
68007
68012
|
_computeLabelItems(t) {
|
|
68008
|
-
const i = this.axis, r = this.options, { position: n, ticks: l } = r, a = this.isHorizontal(), c = this.ticks, { align: u, crossAlign: h, padding: d, mirror: p } = l, C =
|
|
68013
|
+
const i = this.axis, r = this.options, { position: n, ticks: l } = r, a = this.isHorizontal(), c = this.ticks, { align: u, crossAlign: h, padding: d, mirror: p } = l, C = m9(r.grid), g = C + d, m = p ? -d : g, f = -Yt(this.labelRotation), L = [];
|
|
68009
68014
|
let y, H, V, z, M, b, B, R, k, N, F, W, Q = "middle";
|
|
68010
68015
|
if (n === "top")
|
|
68011
68016
|
b = this.bottom - m, B = this._getXAxisLabelAlignment();
|
|
@@ -68285,7 +68290,7 @@ class K3 {
|
|
|
68285
68290
|
}
|
|
68286
68291
|
}
|
|
68287
68292
|
function g01(e, t, i) {
|
|
68288
|
-
const r =
|
|
68293
|
+
const r = hs(/* @__PURE__ */ Object.create(null), [
|
|
68289
68294
|
i ? K2.get(i) : {},
|
|
68290
68295
|
K2.get(t),
|
|
68291
68296
|
e.defaults
|
|
@@ -68522,7 +68527,7 @@ function z01(e, t) {
|
|
|
68522
68527
|
if (c._proxy)
|
|
68523
68528
|
return console.warn(`Ignoring resolver passed as options for scale: ${a}`);
|
|
68524
68529
|
const u = el(a, c, b01(a, e), K2.scales[c.type]), h = S01(u, n), d = i.scales || {};
|
|
68525
|
-
l[a] =
|
|
68530
|
+
l[a] = j9(/* @__PURE__ */ Object.create(null), [
|
|
68526
68531
|
{
|
|
68527
68532
|
axis: u
|
|
68528
68533
|
},
|
|
@@ -68534,7 +68539,7 @@ function z01(e, t) {
|
|
|
68534
68539
|
const c = a.type || e.type, u = a.indexAxis || J6(c, t), d = (y5[c] || {}).scales || {};
|
|
68535
68540
|
Object.keys(d).forEach((p) => {
|
|
68536
68541
|
const C = V01(p, u), g = a[C + "AxisID"] || C;
|
|
68537
|
-
l[g] = l[g] || /* @__PURE__ */ Object.create(null),
|
|
68542
|
+
l[g] = l[g] || /* @__PURE__ */ Object.create(null), j9(l[g], [
|
|
68538
68543
|
{
|
|
68539
68544
|
axis: C
|
|
68540
68545
|
},
|
|
@@ -68544,7 +68549,7 @@ function z01(e, t) {
|
|
|
68544
68549
|
});
|
|
68545
68550
|
}), Object.keys(l).forEach((a) => {
|
|
68546
68551
|
const c = l[a];
|
|
68547
|
-
|
|
68552
|
+
j9(c, [
|
|
68548
68553
|
K2.scales[c.type],
|
|
68549
68554
|
K2.scale
|
|
68550
68555
|
]);
|
|
@@ -68565,7 +68570,7 @@ function Y3(e, t) {
|
|
|
68565
68570
|
let i = dd.get(e);
|
|
68566
68571
|
return i || (i = t(), dd.set(e, i), ex.add(i)), i;
|
|
68567
68572
|
}
|
|
68568
|
-
const
|
|
68573
|
+
const w9 = (e, t, i) => {
|
|
68569
68574
|
const r = Z4(t, i);
|
|
68570
68575
|
r !== void 0 && e.add(r);
|
|
68571
68576
|
};
|
|
@@ -68654,7 +68659,7 @@ class Z01 {
|
|
|
68654
68659
|
return c;
|
|
68655
68660
|
const u = /* @__PURE__ */ new Set();
|
|
68656
68661
|
i.forEach((d) => {
|
|
68657
|
-
t && (u.add(t), d.forEach((p) =>
|
|
68662
|
+
t && (u.add(t), d.forEach((p) => w9(u, t, p))), d.forEach((p) => w9(u, n, p)), d.forEach((p) => w9(u, y5[l] || {}, p)), d.forEach((p) => w9(u, K2, p)), d.forEach((p) => w9(u, X6, p));
|
|
68658
68663
|
});
|
|
68659
68664
|
const h = Array.from(u);
|
|
68660
68665
|
return h.length === 0 && h.push(/* @__PURE__ */ Object.create(null)), ex.has(i) && a.set(i, h), h;
|
|
@@ -69112,7 +69117,7 @@ class io {
|
|
|
69112
69117
|
}
|
|
69113
69118
|
_updateVisibility(t, i, r) {
|
|
69114
69119
|
const n = r ? "show" : "hide", l = this.getDatasetMeta(t), a = l.controller._resolveAnimations(void 0, n);
|
|
69115
|
-
|
|
69120
|
+
ds(i) ? (l.data[i].hidden = !r, this.update()) : (this.setDatasetVisibility(t, r), a.update(l, {
|
|
69116
69121
|
visible: r
|
|
69117
69122
|
}), this.update((c) => c.datasetIndex === t ? n : void 0));
|
|
69118
69123
|
}
|
|
@@ -69404,7 +69409,7 @@ class U01 extends r4 {
|
|
|
69404
69409
|
"innerRadius",
|
|
69405
69410
|
"outerRadius",
|
|
69406
69411
|
"circumference"
|
|
69407
|
-
], r), C = (this.options.spacing + this.options.borderWidth) / 2, g = e2(p, u - c), m =
|
|
69412
|
+
], r), C = (this.options.spacing + this.options.borderWidth) / 2, g = e2(p, u - c), m = ps(l, c, u) && c !== u, f = g >= P2 || m, L = $0(a, h + C, d + C);
|
|
69408
69413
|
return f && L;
|
|
69409
69414
|
}
|
|
69410
69415
|
getCenterPoint(t) {
|
|
@@ -69759,7 +69764,7 @@ class l41 extends r4 {
|
|
|
69759
69764
|
super(), this.options = void 0, this.horizontal = void 0, this.base = void 0, this.width = void 0, this.height = void 0, this.inflateAmount = void 0, t && Object.assign(this, t);
|
|
69760
69765
|
}
|
|
69761
69766
|
draw(t) {
|
|
69762
|
-
const { inflateAmount: i, options: { borderColor: r, backgroundColor: n } } = this, { inner: l, outer: a } = s41(this), c = r41(a.radius) ?
|
|
69767
|
+
const { inflateAmount: i, options: { borderColor: r, backgroundColor: n } } = this, { inner: l, outer: a } = s41(this), c = r41(a.radius) ? Cs : n41;
|
|
69763
69768
|
t.save(), (a.w !== l.w || a.h !== l.h) && (t.beginPath(), c(t, On(a, i, l)), t.clip(), c(t, On(l, -i, a)), t.fillStyle = r, t.fill("evenodd")), t.beginPath(), c(t, On(l, i)), t.fillStyle = n, t.fill(), t.restore();
|
|
69764
69769
|
}
|
|
69765
69770
|
inRange(t, i, r) {
|
|
@@ -69940,7 +69945,7 @@ var w41 = {
|
|
|
69940
69945
|
const r = e.width;
|
|
69941
69946
|
e.data.datasets.forEach((n, l) => {
|
|
69942
69947
|
const { _data: a, indexAxis: c } = n, u = e.getDatasetMeta(l), h = a || n.data;
|
|
69943
|
-
if (
|
|
69948
|
+
if (M9([
|
|
69944
69949
|
c,
|
|
69945
69950
|
e.options.indexAxis
|
|
69946
69951
|
]) === "y" || !u.controller.supportsDecimation)
|
|
@@ -70490,7 +70495,7 @@ class Nd extends r4 {
|
|
|
70490
70495
|
NL(n, N, F, W, a.pointStyleWidth && m);
|
|
70491
70496
|
} else {
|
|
70492
70497
|
const N = B + Math.max((p - f) / 2, 0), F = u.leftForLtr(b, m), W = h5(R.borderRadius);
|
|
70493
|
-
n.beginPath(), Object.values(W).some((Q) => Q !== 0) ?
|
|
70498
|
+
n.beginPath(), Object.values(W).some((Q) => Q !== 0) ? Cs(n, {
|
|
70494
70499
|
x: F,
|
|
70495
70500
|
y: N,
|
|
70496
70501
|
w: m,
|
|
@@ -70815,7 +70820,7 @@ var j41 = {
|
|
|
70815
70820
|
_indexable: !1
|
|
70816
70821
|
}
|
|
70817
70822
|
};
|
|
70818
|
-
const
|
|
70823
|
+
const z9 = {
|
|
70819
70824
|
average(e) {
|
|
70820
70825
|
if (!e.length)
|
|
70821
70826
|
return !1;
|
|
@@ -71009,7 +71014,7 @@ function tt(e, t, i, r) {
|
|
|
71009
71014
|
return typeof n > "u" ? hx[t].call(i, r) : n;
|
|
71010
71015
|
}
|
|
71011
71016
|
class Bd extends r4 {
|
|
71012
|
-
static positioners =
|
|
71017
|
+
static positioners = z9;
|
|
71013
71018
|
constructor(t) {
|
|
71014
71019
|
super(), this.opacity = 0, this._active = [], this._eventPosition = void 0, this._size = void 0, this._cachedAnimations = void 0, this._tooltipItems = [], this.$animations = void 0, this.$context = void 0, this.chart = t.chart, this.options = t.options, this.dataPoints = void 0, this.title = void 0, this.beforeBody = void 0, this.body = void 0, this.afterBody = void 0, this.footer = void 0, this.xAlign = void 0, this.yAlign = void 0, this.x = void 0, this.y = void 0, this.height = void 0, this.width = void 0, this.caretX = void 0, this.caretY = void 0, this.labelColors = void 0, this.labelPointStyles = void 0, this.labelTextColors = void 0;
|
|
71015
71020
|
}
|
|
@@ -71071,7 +71076,7 @@ class Bd extends r4 {
|
|
|
71071
71076
|
opacity: 0
|
|
71072
71077
|
});
|
|
71073
71078
|
else {
|
|
71074
|
-
const c =
|
|
71079
|
+
const c = z9[r.position].call(this, n, this._eventPosition);
|
|
71075
71080
|
a = this._createItems(r), this.title = this.getTitle(a, r), this.beforeBody = this.getBeforeBody(a, r), this.body = this.getBody(a, r), this.afterBody = this.getAfterBody(a, r), this.footer = this.getFooter(a, r);
|
|
71076
71081
|
const u = this._size = Zd(this, r), h = Object.assign({}, c, u), d = Ed(this.chart, r, h), p = _d(r, h, d, this.chart);
|
|
71077
71082
|
this.xAlign = d.xAlign, this.yAlign = d.yAlign, l = {
|
|
@@ -71128,13 +71133,13 @@ class Bd extends r4 {
|
|
|
71128
71133
|
} else {
|
|
71129
71134
|
t.lineWidth = g2(a.borderWidth) ? Math.max(...Object.values(a.borderWidth)) : a.borderWidth || 1, t.strokeStyle = a.borderColor, t.setLineDash(a.borderDash || []), t.lineDashOffset = a.borderDashOffset || 0;
|
|
71130
71135
|
const f = n.leftForLtr(C, h), L = n.leftForLtr(n.xPlus(C, 1), h - 2), y = h5(a.borderRadius);
|
|
71131
|
-
Object.values(y).some((H) => H !== 0) ? (t.beginPath(), t.fillStyle = l.multiKeyBackground,
|
|
71136
|
+
Object.values(y).some((H) => H !== 0) ? (t.beginPath(), t.fillStyle = l.multiKeyBackground, Cs(t, {
|
|
71132
71137
|
x: f,
|
|
71133
71138
|
y: m,
|
|
71134
71139
|
w: h,
|
|
71135
71140
|
h: u,
|
|
71136
71141
|
radius: y
|
|
71137
|
-
}), t.fill(), t.stroke(), t.fillStyle = a.backgroundColor, t.beginPath(),
|
|
71142
|
+
}), t.fill(), t.stroke(), t.fillStyle = a.backgroundColor, t.beginPath(), Cs(t, {
|
|
71138
71143
|
x: L,
|
|
71139
71144
|
y: m + 1,
|
|
71140
71145
|
w: h - 2,
|
|
@@ -71174,7 +71179,7 @@ class Bd extends r4 {
|
|
|
71174
71179
|
_updateAnimationTarget(t) {
|
|
71175
71180
|
const i = this.chart, r = this.$animations, n = r && r.x, l = r && r.y;
|
|
71176
71181
|
if (n || l) {
|
|
71177
|
-
const a =
|
|
71182
|
+
const a = z9[t.position].call(this, this._active, this._eventPosition);
|
|
71178
71183
|
if (!a)
|
|
71179
71184
|
return;
|
|
71180
71185
|
const c = this._size = Zd(this, t), u = Object.assign({}, a, this._size), h = Ed(i, t, u), d = _d(t, u, h, i);
|
|
@@ -71237,14 +71242,14 @@ class Bd extends r4 {
|
|
|
71237
71242
|
return l.reverse && a.reverse(), a;
|
|
71238
71243
|
}
|
|
71239
71244
|
_positionChanged(t, i) {
|
|
71240
|
-
const { caretX: r, caretY: n, options: l } = this, a =
|
|
71245
|
+
const { caretX: r, caretY: n, options: l } = this, a = z9[l.position].call(this, t, i);
|
|
71241
71246
|
return a !== !1 && (r !== a.x || n !== a.y);
|
|
71242
71247
|
}
|
|
71243
71248
|
}
|
|
71244
71249
|
var t51 = {
|
|
71245
71250
|
id: "tooltip",
|
|
71246
71251
|
_element: Bd,
|
|
71247
|
-
positioners:
|
|
71252
|
+
positioners: z9,
|
|
71248
71253
|
afterInit(e, t, i) {
|
|
71249
71254
|
i && (e.tooltip = new Bd({
|
|
71250
71255
|
chart: e,
|
|
@@ -71455,13 +71460,13 @@ function a51(e, t) {
|
|
|
71455
71460
|
value: L
|
|
71456
71461
|
}
|
|
71457
71462
|
];
|
|
71458
|
-
k = Math.ceil(L / M) - Math.floor(f / M), k > m && (M = Zh(k * M / m / g) * g), p2(u) || (b = Math.pow(10, u), M = Math.ceil(M * b) / b), n === "ticks" ? (B = Math.floor(f / M) * M, R = Math.ceil(L / M) * M) : (B = f, R = L), y && H && l && $21((c - a) / l, M / 1e3) ? (k = Math.round(Math.min((c - a) / M, d)), M = (c - a) / k, B = a, R = c) : V ? (B = y ? a : B, R = H ? c : R, k = h - 1, M = (R - B) / k) : (k = (R - B) / M,
|
|
71463
|
+
k = Math.ceil(L / M) - Math.floor(f / M), k > m && (M = Zh(k * M / m / g) * g), p2(u) || (b = Math.pow(10, u), M = Math.ceil(M * b) / b), n === "ticks" ? (B = Math.floor(f / M) * M, R = Math.ceil(L / M) * M) : (B = f, R = L), y && H && l && $21((c - a) / l, M / 1e3) ? (k = Math.round(Math.min((c - a) / M, d)), M = (c - a) / k, B = a, R = c) : V ? (B = y ? a : B, R = H ? c : R, k = h - 1, M = (R - B) / k) : (k = (R - B) / M, G9(k, Math.round(k), M / 1e3) ? k = Math.round(k) : k = Math.ceil(k));
|
|
71459
71464
|
const N = Math.max(Eh(M), Eh(B));
|
|
71460
71465
|
b = Math.pow(10, p2(u) ? N : u), B = Math.round(B * b) / b, R = Math.round(R * b) / b;
|
|
71461
71466
|
let F = 0;
|
|
71462
71467
|
for (y && (C && B !== a ? (i.push({
|
|
71463
71468
|
value: a
|
|
71464
|
-
}), B < a && F++,
|
|
71469
|
+
}), B < a && F++, G9(Math.round((B + F * M) * b) / b, a, kd(a, z, e)) && F++) : B < a && F++); F < k; ++F) {
|
|
71465
71470
|
const W = Math.round((B + F * M) * b) / b;
|
|
71466
71471
|
if (H && W > c)
|
|
71467
71472
|
break;
|
|
@@ -71469,7 +71474,7 @@ function a51(e, t) {
|
|
|
71469
71474
|
value: W
|
|
71470
71475
|
});
|
|
71471
71476
|
}
|
|
71472
|
-
return H && C && R !== c ? i.length &&
|
|
71477
|
+
return H && C && R !== c ? i.length && G9(i[i.length - 1].value, c, kd(c, z, e)) ? i[i.length - 1].value = c : i.push({
|
|
71473
71478
|
value: c
|
|
71474
71479
|
}) : (!H || R === c) && i.push({
|
|
71475
71480
|
value: R
|
|
@@ -71562,9 +71567,9 @@ class o51 extends Y7 {
|
|
|
71562
71567
|
return this._startValue + this.getDecimalForPixel(t) * this._valueRange;
|
|
71563
71568
|
}
|
|
71564
71569
|
}
|
|
71565
|
-
const
|
|
71570
|
+
const fs = (e) => Math.floor(v4(e)), J4 = (e, t) => Math.pow(10, fs(e) + t);
|
|
71566
71571
|
function Fd(e) {
|
|
71567
|
-
return e / Math.pow(10,
|
|
71572
|
+
return e / Math.pow(10, fs(e)) === 1;
|
|
71568
71573
|
}
|
|
71569
71574
|
function Dd(e, t, i) {
|
|
71570
71575
|
const r = Math.pow(10, i), n = Math.floor(e / r);
|
|
@@ -71572,16 +71577,16 @@ function Dd(e, t, i) {
|
|
|
71572
71577
|
}
|
|
71573
71578
|
function c51(e, t) {
|
|
71574
71579
|
const i = t - e;
|
|
71575
|
-
let r =
|
|
71580
|
+
let r = fs(i);
|
|
71576
71581
|
for (; Dd(e, t, r) > 10; )
|
|
71577
71582
|
r++;
|
|
71578
71583
|
for (; Dd(e, t, r) < 10; )
|
|
71579
71584
|
r--;
|
|
71580
|
-
return Math.min(r,
|
|
71585
|
+
return Math.min(r, fs(e));
|
|
71581
71586
|
}
|
|
71582
71587
|
function u51(e, { min: t, max: i }) {
|
|
71583
71588
|
t = Ht(e.min, t);
|
|
71584
|
-
const r = [], n =
|
|
71589
|
+
const r = [], n = fs(t);
|
|
71585
71590
|
let l = c51(t, i), a = l < 0 ? Math.pow(10, Math.abs(l)) : 1;
|
|
71586
71591
|
const c = Math.pow(10, l), u = n > l ? Math.pow(10, n) : 0, h = Math.round((t - u) * a) / a, d = Math.floor((t - u) / c / 10) * c * 10;
|
|
71587
71592
|
let p = Math.floor((h - d) / Math.pow(10, l)), C = Ht(e.min, Math.round((u + d + p * Math.pow(10, l)) * a) / a);
|
|
@@ -71763,7 +71768,7 @@ function y51(e, t, i) {
|
|
|
71763
71768
|
const u = h5(t.borderRadius), h = qe(t.backdropPadding);
|
|
71764
71769
|
e.fillStyle = c;
|
|
71765
71770
|
const d = r - h.left, p = n - h.top, C = l - r + h.width, g = a - n + h.height;
|
|
71766
|
-
Object.values(u).some((m) => m !== 0) ? (e.beginPath(),
|
|
71771
|
+
Object.values(u).some((m) => m !== 0) ? (e.beginPath(), Cs(e, {
|
|
71767
71772
|
x: d,
|
|
71768
71773
|
y: p,
|
|
71769
71774
|
w: C,
|
|
@@ -72114,7 +72119,7 @@ class nl extends k5 {
|
|
|
72114
72119
|
}
|
|
72115
72120
|
init(t, i = {}) {
|
|
72116
72121
|
const r = t.time || (t.time = {}), n = this._adapter = new Nt1._date(t.adapters.date);
|
|
72117
|
-
n.init(i),
|
|
72122
|
+
n.init(i), j9(r.displayFormats, n.formats()), this._parseOpts = {
|
|
72118
72123
|
parser: r.parser,
|
|
72119
72124
|
round: r.round,
|
|
72120
72125
|
isoWeekday: r.isoWeekday
|
|
@@ -72326,7 +72331,7 @@ io.register(...E51);
|
|
|
72326
72331
|
const _51 = ["width", "height"], R51 = {
|
|
72327
72332
|
key: 0,
|
|
72328
72333
|
class: "flex flex-wrap justify-between"
|
|
72329
|
-
}, T51 = { class: "text-[0.625rem] m-0 text-gray-medium" }, B51 = { class: "text-[0.625rem] m-0 text-gray-medium" }, Wd = "#B6CFFB",
|
|
72334
|
+
}, T51 = { class: "text-[0.625rem] m-0 text-gray-medium" }, B51 = { class: "text-[0.625rem] m-0 text-gray-medium" }, Wd = "#B6CFFB", L9 = "#3558A2", A51 = "rgba(53, 88, 162, 0.7)", k51 = "rgba(182, 207, 251, 0.7)", jd = /* @__PURE__ */ o({
|
|
72330
72335
|
__name: "SmallChart",
|
|
72331
72336
|
props: {
|
|
72332
72337
|
data: {},
|
|
@@ -72349,11 +72354,11 @@ const _51 = ["width", "height"], R51 = {
|
|
|
72349
72354
|
barPercentage: 1,
|
|
72350
72355
|
categoryPercentage: 0.9,
|
|
72351
72356
|
// Change the color of the last bar only
|
|
72352
|
-
backgroundColor: c.value.map((m, f) => f === c.value.length - 1 ? t.lastWithLowEmphasis ? k51 :
|
|
72357
|
+
backgroundColor: c.value.map((m, f) => f === c.value.length - 1 ? t.lastWithLowEmphasis ? k51 : L9 : Wd)
|
|
72353
72358
|
} : t.type === "line" ? t.lastWithLowEmphasis ? {
|
|
72354
72359
|
type: "line",
|
|
72355
72360
|
segment: {
|
|
72356
|
-
borderColor: (m) => i(m, A51) ||
|
|
72361
|
+
borderColor: (m) => i(m, A51) || L9,
|
|
72357
72362
|
borderDash: (m) => i(m, [3, 3]) || [6, 0]
|
|
72358
72363
|
}
|
|
72359
72364
|
} : {
|
|
@@ -72379,11 +72384,11 @@ const _51 = ["width", "height"], R51 = {
|
|
|
72379
72384
|
bar: {
|
|
72380
72385
|
backgroundColor: Wd,
|
|
72381
72386
|
borderRadius: 2,
|
|
72382
|
-
hoverBackgroundColor:
|
|
72387
|
+
hoverBackgroundColor: L9
|
|
72383
72388
|
},
|
|
72384
72389
|
line: {
|
|
72385
|
-
backgroundColor:
|
|
72386
|
-
borderColor:
|
|
72390
|
+
backgroundColor: L9,
|
|
72391
|
+
borderColor: L9,
|
|
72387
72392
|
borderJoinStyle: "round",
|
|
72388
72393
|
borderWidth: 3,
|
|
72389
72394
|
tension: 0.35
|
|
@@ -73416,7 +73421,7 @@ const gi1 = ["for", "title"], fi1 = {
|
|
|
73416
73421
|
multiple: !1
|
|
73417
73422
|
}, null, 8, ["modelValue", "options", "loading", "label", "placeholder", "get-option-id", "display-value"]));
|
|
73418
73423
|
}
|
|
73419
|
-
}), Fi1 = { class: "flex items-center gap-1 min-w-0 overflow-hidden" }, Di1 = ["title"], Oi1 = ["title"],
|
|
73424
|
+
}), Fi1 = { class: "flex items-center gap-1 min-w-0 overflow-hidden" }, Di1 = ["title"], Oi1 = ["title"], Qi = /* @__PURE__ */ o({
|
|
73420
73425
|
__name: "FilterButtonGroup",
|
|
73421
73426
|
props: {
|
|
73422
73427
|
modelValue: {},
|
|
@@ -73494,7 +73499,7 @@ const gi1 = ["for", "title"], fi1 = {
|
|
|
73494
73499
|
{ value: "documents", label: r("Documents"), description: "pdf, doc, docx, md, txt, html..." },
|
|
73495
73500
|
{ value: "other", label: r("Autre") }
|
|
73496
73501
|
];
|
|
73497
|
-
return (l, a) => (v(), j(
|
|
73502
|
+
return (l, a) => (v(), j(Qi, {
|
|
73498
73503
|
"model-value": e.modelValue,
|
|
73499
73504
|
options: n,
|
|
73500
73505
|
label: w(r)("Format de données"),
|
|
@@ -73520,7 +73525,7 @@ const gi1 = ["for", "title"], fi1 = {
|
|
|
73520
73525
|
{ value: "open_with_account", label: r("Ouvert avec un compte") },
|
|
73521
73526
|
{ value: "restricted", label: r("Accès restreint") }
|
|
73522
73527
|
];
|
|
73523
|
-
return (l, a) => (v(), j(
|
|
73528
|
+
return (l, a) => (v(), j(Qi, {
|
|
73524
73529
|
"model-value": e.modelValue,
|
|
73525
73530
|
options: n,
|
|
73526
73531
|
label: w(r)("Modalités d'accès"),
|
|
@@ -73546,7 +73551,7 @@ const gi1 = ["for", "title"], fi1 = {
|
|
|
73546
73551
|
{ value: "last_12_months", label: r("Les 12 derniers mois") },
|
|
73547
73552
|
{ value: "last_3_years", label: r("Les 3 dernières années") }
|
|
73548
73553
|
];
|
|
73549
|
-
return (l, a) => (v(), j(
|
|
73554
|
+
return (l, a) => (v(), j(Qi, {
|
|
73550
73555
|
"model-value": e.modelValue,
|
|
73551
73556
|
options: n,
|
|
73552
73557
|
label: w(r)("Date de mise à jour"),
|
|
@@ -73577,7 +73582,7 @@ const gi1 = ["for", "title"], fi1 = {
|
|
|
73577
73582
|
], a = A(
|
|
73578
73583
|
() => i.exclude.length > 0 ? l.filter((c) => !i.exclude.includes(c.value)) : l
|
|
73579
73584
|
);
|
|
73580
|
-
return (c, u) => (v(), j(
|
|
73585
|
+
return (c, u) => (v(), j(Qi, {
|
|
73581
73586
|
"model-value": e.modelValue,
|
|
73582
73587
|
options: a.value,
|
|
73583
73588
|
label: w(n)("Type d'organisation"),
|
|
@@ -73600,7 +73605,7 @@ const gi1 = ["for", "title"], fi1 = {
|
|
|
73600
73605
|
async setup(e, { emit: t }) {
|
|
73601
73606
|
let i, r;
|
|
73602
73607
|
const n = t, { t: l } = w1(), { data: a } = ([i, r] = ht(() => ct("/api/1/datasets/badges/", { lazy: !0 })), i = await i, r(), i), c = A(() => a.value ? Object.entries(a.value).map(([u, h]) => ({ value: u, label: h })) : []);
|
|
73603
|
-
return (u, h) => (v(), j(
|
|
73608
|
+
return (u, h) => (v(), j(Qi, {
|
|
73604
73609
|
"model-value": e.modelValue,
|
|
73605
73610
|
options: c.value,
|
|
73606
73611
|
label: w(l)("Label de donnée"),
|
|
@@ -73631,7 +73636,7 @@ const gi1 = ["for", "title"], fi1 = {
|
|
|
73631
73636
|
{ value: "idea", label: r("Idée") },
|
|
73632
73637
|
{ value: "hardware", label: r("Matériel connecté") }
|
|
73633
73638
|
];
|
|
73634
|
-
return (l, a) => (v(), j(
|
|
73639
|
+
return (l, a) => (v(), j(Qi, {
|
|
73635
73640
|
"model-value": e.modelValue,
|
|
73636
73641
|
options: n,
|
|
73637
73642
|
label: w(r)("Type de réutilisation"),
|
|
@@ -74738,7 +74743,7 @@ export {
|
|
|
74738
74743
|
aX as ax,
|
|
74739
74744
|
Ls1 as ay,
|
|
74740
74745
|
CL as az,
|
|
74741
|
-
|
|
74746
|
+
Ui as b,
|
|
74742
74747
|
rP as b$,
|
|
74743
74748
|
zX as b0,
|
|
74744
74749
|
aL as b1,
|
|
@@ -74768,7 +74773,7 @@ export {
|
|
|
74768
74773
|
IP as bP,
|
|
74769
74774
|
NX as bQ,
|
|
74770
74775
|
z6 as bR,
|
|
74771
|
-
|
|
74776
|
+
es as bS,
|
|
74772
74777
|
Sp as bT,
|
|
74773
74778
|
d7 as bU,
|
|
74774
74779
|
ri as bV,
|